/* =====================================
       LEGAL ARTICLES MAIN SECTION
    ===================================== */

.find-legal-articles-section {
    background: #f7f8fa;
    padding: 30px 20px 25px;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #000 !important;
    border-color: #000 !important;
}

.profile_btn{
    margin-bottom: 10px;
}
.profile_btn button{
    background: #E3E8FB;
    font-size: 13px;
    font-weight: bold;
    border: 1px solid #E3E8FB;
    border-radius: 5px;
    margin: 0px 2px;
    margin-bottom: 10px;
}

/* =====================================
   SECTION HEADING
===================================== */

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 18px;
}

.section-heading-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-heading-left h3 {
    margin: 0;
    font-size: 25px;
    font-weight: 700;
    color: #07382d;
}

.section-small-icon {
    width: 42px;
    height: 42px;

    background: #07382d;
    color: #c59a43;

    border-radius: 7px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.advocate-topic-icon img{
    width: 65px;
}

.section-small-icon i {
    font-size: 20px;
}


/* =====================================
   VIEW ALL BUTTON
===================================== */

.view-all-btn {
    text-decoration: none;

    color: #07382d;
    font-size: 16px;
    font-weight: 600;

    border: 1px solid #bfc8c4;
    border-radius: 10px;

    padding: 10px 18px;

    transition: 0.3s;
}

.view-all-btn i {
    margin-left: 10px;
}

.view-all-btn:hover {
    background: #07382d;
    color: #ffffff;
}


/* =====================================
   TOPIC GRID
===================================== */

.advocate-topics-row {
    margin-left: -8px;
    margin-right: -8px;
}

.advocate-topics-row > div {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 16px;
}


/* =====================================
   CUSTOM 5 COLUMN
===================================== */

@media (min-width: 1200px) {

    .col-xl-5-custom {
        width: 20%;
        flex: 0 0 20%;
    }

}


/* =====================================
   LEGAL TOPIC CARD
===================================== */

.advocate-topic-card {
    height: 100%;

    background: #ffffff;

    border: 1px solid #e2e5e5;

    border-radius: 14px;

    text-align: center;

    padding: 22px 15px 16px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.06);

    transition: 0.3s;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.advocate-topic-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}


/* =====================================
   TOPIC ICON
===================================== */

.advocate-topic-icon {
    width: 100px;
    height: 100px;

    border-radius: 50%;

    background: #E3E8FB;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 15px;
}

.advocate-topic-icon i {
    font-size: 55px;
    color: #07382d;
}


/* =====================================
   TOPIC TEXT
===================================== */

.advocate-topic-card h4 {
    font-size: 20px;
    font-weight: 700;

    color: #155B30;

    margin-bottom: 10px;

    line-height: 1.25;
}

.advocate-topic-card p {
    color: #000;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 15px;
    flex-grow: 1;
    font-weight: 600;
}

.advocate-topic-card a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    /* border-top: 1px solid #0e1110; */
    /* padding-top: 15px; */
    text-decoration: none;
    color: #07382d;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid #155B30;
    padding: 5px;
    max-width: 100px;
    border-radius: 10px;
}

.advocate-topic-card a i {
    transition: 0.3s;
}

.advocate-topic-card a:hover i {
    transform: translateX(5px);
}

/* =====================================
   READ MORE
===================================== */

.read-more {
    color: #07382d;

    text-decoration: none;

    font-size: 15px;

    font-weight: 600;
}

.read-more i {
    margin-left: 10px;

    transition: 0.3s;
}

.read-more:hover {
    color: #0b805f;
}

.read-more:hover i {
    transform: translateX(5px);
}


/* =====================================
   MOBILE RESPONSIVE
===================================== */

@media (max-width: 575px) {

    .find-legal-articles-section {
        padding: 20px 8px 30px;
    }
    
    /* Heading */

    .section-heading-left h3 {
        font-size: 20px;
    }

    .section-small-icon {
        width: 35px;
        height: 35px;
    }

    .view-all-btn {
        padding: 7px 10px;
        font-size: 12px;
    }


    /* Mobile Topic Cards */

    .advocate-topics-row {
        margin-left: -3px;
        margin-right: -3px;
    }

    .advocate-topics-row > div {
        padding-left: 3px;
        padding-right: 3px;
        margin-bottom: 6px;
    }

    .advocate-topic-card {
        padding: 15px 8px 12px;
        border-radius: 10px;
    }


    .advocate-topic-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 10px;
    }

    .advocate-topic-icon img{
        width: 42px !important;
    }

    .advocate-topic-icon i {
        font-size: 34px;
    }


    .advocate-topic-card h4 {
        font-size: 16px;
        margin-bottom: 7px;
    }

    .advocate-topic-card p {
        color: #000;
        font-size: 11px;
        line-height: 1.5;
        margin-bottom: 15px;
        flex-grow: 1;
        font-weight: 600;
    }

    .advocate-topic-card a {
        font-size: 12px;
        gap: 6px;
        padding-top: 10px;
    }

    .read-more {
        font-size: 13px;
    }

}

/* =====================================
       LEGAL ARTICLES MAIN SECTION
    ===================================== */

.legal-articles-section {
    background: #f7f8fa;
    padding: 30px 20px 40px;
}


/* =====================================
   MAIN HEADER
===================================== */

.legal-main-header {
    margin-bottom: 20px;
}

/* =====================================
   SECTION HEADING
===================================== */

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 18px;
}

.section-heading-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-heading-left h3 {
    margin: 0;
    font-size: 25px;
    font-weight: 700;
    color: #07382d;
}

.section-small-icon {
    width: 42px;
    height: 42px;

    background: #07382d;
    color: #c59a43;

    border-radius: 7px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.section-small-icon i {
    font-size: 20px;
}


/* =====================================
   VIEW ALL BUTTON
===================================== */

.view-all-btn {
    text-decoration: none;

    color: #07382d;
    font-size: 16px;
    font-weight: 600;

    border: 1px solid #bfc8c4;
    border-radius: 10px;

    padding: 10px 18px;

    transition: 0.3s;
}

.view-all-btn i {
    margin-left: 10px;
}

.view-all-btn:hover {
    background: #07382d;
    color: #ffffff;
}

/* =====================================
   CUSTOM 5 COLUMN
===================================== */

@media (min-width: 1200px) {

    .col-xl-5-custom {
        width: 20%;
        flex: 0 0 20%;
    }

}

/* =====================================
   TOPIC ICON
===================================== */

.topic-icon {
    width: 100px;
    height: 100px;

    border-radius: 50%;

    background: #f0f3f2;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 15px;
}

.topic-icon i {
    font-size: 55px;
    color: #07382d;
}

/* =====================================
   FEATURED ARTICLES
===================================== */

.featured-heading {
    margin-top: 28px;
}

.featured-star {
    color: #c59a43;
    font-size: 30px;
}

.view-all-articles {
    color: #07382d;

    text-decoration: none;

    font-size: 16px;

    font-weight: 600;
}

.view-all-articles i {
    margin-left: 8px;
}


/* =====================================
   FEATURED ARTICLE CARD
===================================== */

.featured-articles-row {
    margin-left: -10px;
    margin-right: -10px;
}

.featured-articles-row > div {
    padding-left: 10px;
    padding-right: 10px;

    margin-bottom: 20px;
}

.featured-article-card {
    background: #ffffff;

    border-radius: 12px;

    overflow: hidden;

    border: 1px solid #e2e5e5;

    box-shadow: 0 4px 12px rgba(0,0,0,0.06);

    height: 100%;

    transition: 0.3s;
}

.featured-article-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}


/* =====================================
   ARTICLE IMAGE
===================================== */

.article-image {
    position: relative;

    height: 170px;

    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.4s;
}

.featured-article-card:hover .article-image img {
    transform: scale(1.08);
}


/* =====================================
   ARTICLE CATEGORY
===================================== */

.article-category {
    position: absolute;

    left: 12px;
    bottom: 10px;

    background: #07634e;

    color: #ffffff;

    padding: 5px 12px;

    border-radius: 5px;

    font-size: 12px;

    font-weight: 600;
}


/* =====================================
   ARTICLE CONTENT
===================================== */

.article-content {
    padding: 17px 15px;
}

.article-content h4 {
    font-size: 18px;

    line-height: 1.45;

    font-weight: 700;

    color: #1d2825;

    min-height: 80px;

    margin-bottom: 15px;
}


/* =====================================
   ARTICLE META
===================================== */

.article-meta {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 18px;

    color: #69736f;

    font-size: 12px;
}

.article-meta i {
    margin-right: 4px;
}


/* =====================================
   READ MORE
===================================== */

.read-more {
    color: #07382d;

    text-decoration: none;

    font-size: 15px;

    font-weight: 600;
}

.read-more i {
    margin-left: 10px;

    transition: 0.3s;
}

.read-more:hover {
    color: #0b805f;
}

.read-more:hover i {
    transform: translateX(5px);
}


/* =====================================
   MOBILE RESPONSIVE
===================================== */

@media (max-width: 575px) {

    .legal-articles-section {
        padding: 20px 8px 30px;
    }

    /* Heading */

    .section-heading-left h3 {
        font-size: 20px;
    }

    .section-small-icon {
        width: 35px;
        height: 35px;
    }

    .view-all-btn {
        padding: 7px 10px;
        font-size: 12px;
    }

    .topic-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 10px;
    }

    .topic-icon i {
        font-size: 34px;
    }

    /* Featured Header */

    .featured-star {
        font-size: 22px;
    }

    .view-all-articles {
        font-size: 12px;
    }


    /* Featured Article */

    .featured-articles-row > div {
        padding-left: 5px;
        padding-right: 5px;
    }

    .article-image {
        height: 130px;
    }

    .article-content {
        padding: 12px 10px;
    }

    .article-content h4 {
        font-size: 15px;
        min-height: auto;
        margin-bottom: 12px;
    }

    .article-meta {
        font-size: 10px;
        gap: 5px;
        flex-wrap: wrap;
    }

    .read-more {
        font-size: 13px;
    }

}

/* Video Thumbnail */
.video-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.video-thumb img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.4s ease;
}

/* Overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* YouTube Icon */
.youtube-icon {
    width: 60px;
    height: 60px;
    background: #ff0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.7);
    transition: all 0.3s ease;
}

.youtube-icon i {
    color: #fff;
    font-size: 28px;
    margin-left: 4px;
}

/* Hover Effect */
.video-thumb:hover .video-overlay {
    opacity: 1;
    visibility: visible;
}

.video-thumb:hover .youtube-icon {
    transform: scale(1);
}

/* Image Zoom */
.video-thumb:hover img {
    transform: scale(1.05);
}