/*-----------------------------------------------------------------------
Template Name      : Prachite - Temple Church And Mosque Website HTML Template
Author             : pus_infotech
Author Portfolio   : https://themeforest.net/user/pus_infotech 
Version            : 1.0.0 
-----------------------------------------------------------------------
CSS TABLE OF CONTENTS
-----------------------------------------------------------------------
- base 
    - variables
    - mixin
    - reset
    - typography
    - forms

- components 
    - accordion
    - breadcrumb
    - buttons
    - offcanvus
    - widget

- theme
    - animations
    - common
    - preloader 
    - spacing
    - theme-class
 
- layout
    -header
        - header
        - meanmenu
    - footer 
        - footer
    - section 
        - about 
        - authentication
        - blog
        - breadcrumb
        - campaigns
        - cart
        - checkout
        - comingsoon
        - contact
        - counter
        - courses
        - cta
        - donate
        - event
        - faq
        - gallery
        - hero
        - how-it-work
        - instagram
        - marquee
        - micon
        - mission
        - page
        - partners
        - prayer
        - pricing
        - product
        - progress
        - services
        - shop
        - team
        - testimonials
        - upcomming-event
        - video
        - why
        - wishlist
        
Main Style file-> assets/css/main.css
-----------------------------------------------------------------------*/
/* Governance page: the template's arched service cards are replaced with
   restrained institutional panels suitable for longer organisational text. */
.governance-page .governance-structure .service-items {
    min-height: 100%;
    margin-bottom: 0;
    padding: 36px;
    overflow: hidden;
    border: 1px solid rgba(15, 52, 45, 0.10);
    border-radius: 18px;
    text-align: left;
}

.governance-page .governance-structure .service-items::before {
    border-radius: 0;
}

.governance-page .governance-structure .service-content {
    position: relative;
    z-index: 2;
    text-align: left;
}

.governance-page .governance-structure .service-content h3 {
    margin: 8px 0 16px;
}

.governance-page .governance-role-list {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.governance-page .governance-role-list li {
    position: relative;
    margin-bottom: 9px;
    padding-left: 24px;
}

.governance-page .governance-role-list li::before {
    content: "\2713";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

@media (max-width: 767px) {
    .governance-page .governance-structure .service-items {
        padding: 26px 22px;
    }
}
/* Research directory: use clear institutional cards instead of the template's
   decorative arch treatment, which clips longer discipline descriptions. */
.research-areas-page .research-area-grid .row.g-4 > [class*="col-"] {
    display: flex;
}

.research-areas-page .research-area-grid .service-items {
    display: flex;
    width: 100%;
    min-height: 295px;
    margin-bottom: 0;
    padding: 34px;
    overflow: hidden;
    border: 1px solid rgba(15, 52, 45, 0.10);
    border-radius: 18px;
    text-align: left;
}

.research-areas-page .research-area-grid .service-items::before {
    border-radius: 0;
}

.research-areas-page .research-area-grid .service-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 1;
    flex-direction: column;
    text-align: left;
}

.research-areas-page .research-area-grid .service-content h2 {
    margin-bottom: 14px;
    font-size: 27px;
}

.research-areas-page .research-area-grid .service-content p {
    margin-bottom: 15px;
}

.research-areas-page .research-area-grid .service-content .read-more-btn {
    align-self: flex-start;
    margin-top: auto;
}

@media (max-width: 767px) {
    .research-areas-page .research-area-grid .service-items {
        min-height: auto;
        padding: 26px 22px;
    }

    .research-areas-page .research-area-grid .service-content h2 {
        font-size: 23px;
    }
}
.journal-page .journal-format-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.journal-page .journal-format-list li {
    position: relative;
    margin-bottom: 9px;
    padding-left: 24px;
}

.journal-page .journal-format-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.journal-page .mission-item {
    border: 1px solid rgba(15, 52, 45, 0.10);
}
.membership-page .membership-form-section {
    background: var(--extra-color);
}

.membership-page .contact-form .form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 600;
}

.membership-page .contact-form input,
.membership-page .contact-form textarea {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid rgba(15, 52, 45, 0.16);
    border-radius: 10px;
    background: var(--white-color);
}

.membership-page .contact-form textarea {
    resize: vertical;
}

.membership-page .membership-attachment-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    background: var(--white-color);
}

.membership-page .membership-attachment-note i {
    margin-top: 4px;
    color: var(--primary-color);
    font-size: 22px;
}

.membership-page .membership-email-link {
    overflow-wrap: anywhere;
    color: var(--primary-color);
    font-size: 21px;
    font-weight: 700;
}
.membership-page .membership-download-card {
    display: flex;
    gap: 24px;
    align-items: center;
    padding: 30px;
    border: 1px solid rgba(15, 52, 45, 0.14);
    border-radius: 16px;
    background: var(--white-color);
}

.membership-page .membership-download-icon {
    display: flex;
    flex: 0 0 76px;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 14px;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 36px;
}

.membership-page .membership-submission-steps {
    margin: 0;
    padding-left: 22px;
}

.membership-page .membership-submission-steps li {
    margin-bottom: 9px;
    padding-left: 4px;
}

@media (max-width: 575px) {
    .membership-page .membership-download-card {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px;
    }
}

/* Engaging static branch landing-page template */
.branch-simple-hero .breadcrumb-wapper {
    min-height: 0;
}

.branch-simple-hero .breadcrumb-content {
    max-width: 1100px;
    text-align: center;
}

.branch-simple-hero .breadcrumb-title h1 {
    font-size: clamp(50px, 7vw, 92px);
}

.branch-simple-hero .breadcrumb {
    justify-content: center;
}

.branch-landing .section-title > p {
    max-width: 760px;
}

.branch-intro-section {
    padding: 105px 0 70px;
    background: #fff;
}

.branch-intro-section .section-title h4 {
    margin: 18px 0 25px;
    color: #496159;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.55;
}

.branch-intro-section p {
    color: #53635d;
    font-size: 16px;
    line-height: 1.82;
}

.branch-equation {
    display: grid;
    gap: 7px;
    margin-top: 28px;
    padding: 23px 26px;
    border-left: 4px solid #ff4b0a;
    border-radius: 0 14px 14px 0;
    background: #fff2eb;
}

.branch-equation span {
    color: #d73d06;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.branch-equation strong {
    color: #152e26;
    font-size: 19px;
    line-height: 1.55;
}

.branch-start-card {
    position: relative;
    overflow: hidden;
    padding: clamp(30px, 4vw, 46px);
    border-radius: 28px;
    background: #102f25;
    box-shadow: 0 24px 70px rgba(14, 48, 37, .22);
}

.branch-start-card::after {
    position: absolute;
    right: -65px;
    bottom: -75px;
    width: 190px;
    height: 190px;
    border: 35px solid rgba(255,255,255,.04);
    border-radius: 50%;
    content: "";
}

.branch-start-card__eyebrow {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: #ff8a58;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.branch-start-card h2 {
    margin: 13px 0 17px;
    color: #fff;
    font-size: clamp(28px, 3.2vw, 40px);
}

.branch-start-card p,
.branch-start-card li {
    color: rgba(255,255,255,.78);
}

.branch-start-card ul {
    margin: 22px 0 28px;
    padding: 0;
    list-style: none;
}

.branch-start-card li {
    display: flex;
    gap: 10px;
    margin-bottom: 11px;
}

.branch-start-card li i {
    margin-top: 5px;
    color: #ff6b2c;
}

.branch-card-email {
    display: flex;
    gap: 9px;
    align-items: center;
    margin-top: 20px;
    color: #fff;
    font-weight: 700;
}

.branch-stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    margin-top: 72px;
    overflow: hidden;
    border: 1px solid #e0e7e4;
    border-radius: 18px;
    background: #f8faf9;
}

.branch-stat {
    padding: 25px 20px;
    text-align: center;
}

.branch-stat + .branch-stat {
    border-left: 1px solid #e0e7e4;
}

.branch-stat strong {
    display: block;
    color: #123d2f;
    font-size: 31px;
}

.branch-stat span {
    color: #66766f;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.branch-why-section,
.branch-projects-section,
.branch-collaboration-section {
    padding: 100px 0;
    background: #f4f7f5;
}

.branch-why-section .section-title > p,
.branch-projects-section .section-title > p {
    margin-right: auto;
    margin-left: auto;
}

.branch-reason-card {
    padding: 30px;
    border: 1px solid #e0e7e4;
    border-radius: 18px;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}

.branch-reason-card:hover,
.branch-topic-card:hover,
.branch-collab-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(18, 61, 47, .1);
}

.branch-card-icon {
    display: grid;
    width: 54px;
    height: 54px;
    border-radius: 15px;
    background: #eaf5f0;
    color: #087a55;
    font-size: 22px;
    place-items: center;
}

.branch-reason-card h3 {
    margin: 20px 0 12px;
    font-size: 22px;
}

.branch-reason-card p,
.branch-topic-card p,
.branch-collab-card p {
    margin: 0;
    color: #64736d;
    line-height: 1.7;
}

.branch-topics-section {
    padding: 105px 0;
    background: #fff;
}

.branch-topic-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 24px;
}

.branch-topic-card {
    padding: 30px;
    border: 1px solid #dfe7e3;
    border-radius: 20px;
    background: linear-gradient(145deg,#fff 70%,#f2f8f5);
    transition: transform .25s ease, box-shadow .25s ease;
}

.branch-topic-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.branch-topic-card__top span {
    color: #ff4b0a;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .08em;
}

.branch-topic-card__top i {
    color: #087a55;
    font-size: 28px;
}

.branch-topic-card h3 {
    margin-bottom: 12px;
    font-size: 25px;
}

.branch-topic-card__evidence {
    display: grid;
    gap: 3px;
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid #e0e7e4;
}

.branch-topic-card__evidence strong {
    color: #173c30;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.branch-topic-card__evidence span {
    color: #60716a;
    font-size: 14px;
}

.branch-meeting-banner {
    padding: 0 0 100px;
    background: #fff;
}

.branch-meeting-banner__inner {
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 38px 44px;
    border-radius: 24px;
    background: #ff4b0a;
    box-shadow: 0 24px 60px rgba(255,75,10,.23);
}

.branch-meeting-banner__icon {
    display: grid;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: 28px;
    place-items: center;
}

.branch-meeting-banner__inner span,
.branch-meeting-banner__inner h2,
.branch-meeting-banner__inner p,
.branch-meeting-banner__inner a {
    color: #fff;
}

.branch-meeting-banner__inner h2 {
    margin: 4px 0 7px;
    font-size: 30px;
}

.branch-meeting-banner__inner p {
    margin: 0;
    opacity: .86;
}

.branch-meeting-banner__actions {
    display: grid;
    gap: 12px;
    text-align: center;
}

.branch-meeting-banner__actions .theme-button {
    background: #102f25;
}

.branch-project-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px;
}

.branch-project-card {
    display: flex;
    flex-direction: column;
    padding: 34px 30px;
    border: 1px solid #dde6e2;
    border-radius: 22px;
    background: #fff;
}

.branch-project-card.is-featured {
    border-color: #ff9d77;
    box-shadow: 0 24px 60px rgba(255,75,10,.11);
}

.branch-project-card__head {
    display: flex;
    gap: 15px;
    align-items: center;
}

.branch-project-card__head span {
    color: #87928e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.branch-project-card__head h3 {
    margin: 2px 0 0;
    font-size: 28px;
}

.branch-project-card__focus {
    min-height: 54px;
    margin: 22px 0;
    color: #556861;
}

.branch-project-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.branch-project-card li {
    display: flex;
    gap: 10px;
    margin-bottom: 13px;
    color: #40544c;
    font-size: 14px;
    line-height: 1.55;
}

.branch-project-card li i {
    margin-top: 5px;
    color: #0a8b61;
}

.branch-project-card__outcome {
    margin-top: auto;
    padding-top: 21px;
    border-top: 1px solid #e2e9e6;
}

.branch-project-card__outcome strong {
    color: #ff4b0a;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.branch-project-card__outcome p {
    margin: 7px 0 0;
    color: #66756f;
    font-size: 14px;
}

.branch-workflow-section {
    padding: 100px 0;
    background: #102f25;
}

.branch-workflow-section .section-title h2,
.branch-workflow-section .section-title .sub-title {
    color: #fff;
}

.branch-workflow {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    background: rgba(255,255,255,.12);
}

.branch-workflow > div {
    padding: 30px 24px;
    background: #163a2f;
}

.branch-workflow span {
    color: #ff7640;
    font-weight: 900;
}

.branch-workflow h3 {
    margin: 15px 0 10px;
    color: #fff;
    font-size: 22px;
}

.branch-workflow p {
    margin: 0;
    color: rgba(255,255,255,.68);
    font-size: 14px;
    line-height: 1.65;
}

.branch-publications-section {
    padding: 105px 0;
    background: #fff;
}

.branch-publications-copy {
    position: sticky;
    top: 25px;
}

.branch-reading-note,
.branch-mini-contact {
    display: flex;
    gap: 15px;
    margin: 28px 0;
    padding: 20px;
    border-radius: 16px;
    background: #f0f7f4;
}

.branch-reading-note > i,
.branch-mini-contact > i {
    color: #087a55;
    font-size: 25px;
}

.branch-reading-note p,
.branch-mini-contact p {
    margin: 5px 0 0;
    color: #607069;
    font-size: 14px;
}

.branch-publication-accordion .accordion-item,
.branch-faq-accordion .accordion-item {
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #dfe7e3;
    border-radius: 16px;
}

.branch-publication-accordion .accordion-button,
.branch-faq-accordion .accordion-button {
    gap: 15px;
    padding: 23px 24px;
    background: #fff;
    color: #15382d;
    box-shadow: none;
}

.branch-publication-accordion .accordion-button:not(.collapsed),
.branch-faq-accordion .accordion-button:not(.collapsed) {
    background: #eef7f3;
    color: #0b6f50;
}

.branch-publication-accordion .accordion-button > span:last-child {
    display: grid;
    gap: 5px;
}

.branch-publication-accordion small {
    color: #7b8983;
    font-size: 13px;
    font-weight: 500;
}

.branch-publication-number {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #fff0ea;
    color: #e8480e;
    font-weight: 900;
    place-items: center;
}

.branch-publication-accordion .accordion-body,
.branch-faq-accordion .accordion-body {
    padding: 24px;
    color: #52645d;
}

.branch-publication-use {
    display: flex;
    gap: 12px;
    margin: 18px 0;
    padding: 14px 16px;
    border-left: 3px solid #ff4b0a;
    background: #fff7f3;
    font-size: 14px;
}

.branch-publication-use i {
    margin-top: 3px;
    color: #ff4b0a;
}

.branch-text-link {
    color: #087a55;
    font-weight: 800;
}

.branch-collab-card {
    padding: 32px;
    border-radius: 19px;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}

.branch-collab-card > i {
    color: #ff4b0a;
    font-size: 30px;
}

.branch-collab-card h3 {
    margin: 21px 0 10px;
    font-size: 22px;
}

.branch-faq-section {
    padding: 105px 0;
    background: #fff;
}

.branch-mini-contact a {
    color: #e3470d;
    font-weight: 800;
}

.branch-final-cta {
    padding: 105px 0;
    background: linear-gradient(115deg,#0d2b22,#14513f);
}

.branch-final-cta__inner {
    max-width: 970px;
    margin: auto;
    text-align: center;
}

.branch-final-cta__inner > span {
    color: #ff7841;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.branch-final-cta h2 {
    margin: 12px 0 18px;
    color: #fff;
    font-size: clamp(36px,5vw,62px);
}

.branch-final-cta p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255,255,255,.76);
    font-size: 18px;
}

.branch-final-cta__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 34px 0 21px;
}

.branch-final-cta small {
    color: rgba(255,255,255,.55);
}

@media (max-width: 1199px) {
    .branch-project-grid {
        grid-template-columns: 1fr;
    }

    .branch-project-card__focus {
        min-height: 0;
    }
}

@media (max-width: 991px) {
    .branch-stats,
    .branch-workflow {
        grid-template-columns: repeat(2,1fr);
    }

    .branch-stat:nth-child(3) {
        border-top: 1px solid #e0e7e4;
        border-left: 0;
    }

    .branch-stat:nth-child(4) {
        border-top: 1px solid #e0e7e4;
    }

    .branch-topic-grid {
        grid-template-columns: 1fr;
    }

    .branch-meeting-banner__inner {
        grid-template-columns: auto 1fr;
    }

    .branch-meeting-banner__actions {
        grid-column: 1/-1;
        justify-items: start;
        text-align: left;
    }

    .branch-publications-copy {
        position: static;
    }
}

@media (max-width: 575px) {
    .branch-simple-hero .breadcrumb-wapper {
        min-height: 0;
    }

    .branch-simple-hero .breadcrumb-title h1 {
        font-size: 48px;
    }

    .branch-intro-section,
    .branch-why-section,
    .branch-topics-section,
    .branch-projects-section,
    .branch-workflow-section,
    .branch-publications-section,
    .branch-collaboration-section,
    .branch-faq-section,
    .branch-final-cta {
        padding: 70px 0;
    }

    .branch-stats,
    .branch-workflow {
        grid-template-columns: 1fr;
    }

    .branch-stat + .branch-stat {
        border-top: 1px solid #e0e7e4;
        border-left: 0;
    }

    .branch-meeting-banner__inner {
        grid-template-columns: 1fr;
        padding: 30px 24px;
    }

    .branch-meeting-banner__actions {
        grid-column: auto;
    }

    .branch-final-cta__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .branch-final-cta__actions .theme-button {
        justify-content: center;
    }
}

/* Full static engineering-branch research pages */
.branch-hero .breadcrumb-wapper {
    min-height: 430px;
}

.branch-hero .breadcrumb-content {
    max-width: 980px;
}

.branch-hero__eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.branch-hero__summary {
    max-width: 900px;
    margin: 20px 0 26px;
    color: rgba(255, 255, 255, .9);
    font-size: 18px;
    line-height: 1.75;
}

.branch-hero__lead {
    max-width: 900px;
    margin: 16px 0 0;
    color: #fff;
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 700;
    line-height: 1.4;
}

.branch-article-section {
    padding: 90px 0 110px;
    background: #f6f8f7;
}

.branch-article-layout {
    display: grid;
    grid-template-columns: minmax(245px, 300px) minmax(0, 1fr);
    gap: 42px;
    align-items: start;
}

.branch-article-sidebar {
    position: sticky;
    top: 24px;
}

.branch-toc {
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 26px;
    border: 1px solid #dce5e1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(15, 55, 43, .08);
}

.branch-toc__label,
.branch-article__intro > span,
.branch-page-cta__inner > div > span {
    display: block;
    color: var(--theme-color, #198754);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.branch-toc summary {
    margin: 8px 0 14px;
    color: #142e25;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.branch-toc ol {
    margin: 0;
    padding: 0 0 0 20px;
}

.branch-toc li {
    margin: 0 0 9px;
    color: #6a7772;
    font-size: 13px;
    line-height: 1.45;
}

.branch-toc a {
    color: #41554d;
}

.branch-toc a:hover {
    color: var(--theme-color, #198754);
}

.branch-toc__cta {
    width: 100%;
    margin-top: 18px;
    justify-content: center;
}

.branch-article {
    min-width: 0;
    padding: clamp(26px, 4vw, 60px);
    border: 1px solid #dce5e1;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 65px rgba(15, 55, 43, .07);
}

.branch-article__intro {
    margin-bottom: 42px;
    padding: 24px 26px;
    border-left: 4px solid var(--theme-color, #198754);
    border-radius: 0 14px 14px 0;
    background: #eef6f2;
}

.branch-article__intro p {
    margin: 8px 0 0;
    color: #2f493f;
    font-size: 16px;
}

.branch-article h2,
.branch-article h3,
.branch-article h4 {
    position: relative;
    scroll-margin-top: 28px;
    color: #142e25;
}

.branch-article h2 {
    margin: 62px 0 20px;
    padding-top: 28px;
    border-top: 1px solid #e4ebe8;
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.22;
}

.branch-article h2:first-of-type {
    margin-top: 0;
}

.branch-article h3 {
    margin: 36px 0 14px;
    font-size: clamp(22px, 2.2vw, 29px);
    line-height: 1.3;
}

.branch-article h4 {
    margin: 26px 0 10px;
    font-size: 19px;
}

.branch-heading-link {
    margin-left: 10px;
    color: transparent;
    font-size: .62em;
    vertical-align: middle;
}

.branch-article h2:hover .branch-heading-link,
.branch-article h3:hover .branch-heading-link,
.branch-article h4:hover .branch-heading-link,
.branch-heading-link:focus {
    color: var(--theme-color, #198754);
}

.branch-article p,
.branch-article li {
    color: #44564f;
    font-size: 16px;
    line-height: 1.82;
}

.branch-article p {
    margin: 0 0 17px;
}

.branch-article ul,
.branch-article ol {
    margin: 0 0 24px;
    padding-left: 25px;
}

.branch-article li {
    margin-bottom: 8px;
}

.branch-article strong {
    color: #163c30;
}

.branch-article a:not(.branch-heading-link) {
    color: #087a55;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.branch-article hr {
    margin: 46px 0;
    border-color: #dce5e1;
    opacity: 1;
}

.branch-page-cta {
    padding: 78px 0;
    background: #102f25;
}

.branch-page-cta__inner {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.branch-page-cta__inner h2 {
    max-width: 800px;
    margin: 8px 0 10px;
    color: #fff;
}

.branch-page-cta__inner p {
    margin: 0;
    color: rgba(255, 255, 255, .75);
}

@media (max-width: 991px) {
    .branch-article-layout {
        grid-template-columns: 1fr;
    }

    .branch-article-sidebar {
        position: static;
    }

    .branch-toc {
        max-height: none;
    }

    .branch-toc details:not([open]) ol {
        display: none;
    }

    .branch-page-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    .branch-hero .breadcrumb-wapper {
        min-height: 500px;
    }

    .branch-hero__summary,
    .branch-article p,
    .branch-article li {
        font-size: 15px;
    }

    .branch-article-section {
        padding: 55px 0 70px;
    }

    .branch-article {
        padding: 24px 20px;
        border-radius: 16px;
    }
}
.membership-page .membership-mentoring-section .mission-item {
    border: 1px solid rgba(15, 52, 45, 0.10);
}

/* Engineering branch directory */
.branch-family-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.branch-family-card {
    display: block;
    padding: 28px;
    border: 1px solid rgba(15, 52, 45, 0.12);
    border-radius: 14px;
    background: var(--white-color);
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.branch-family-card:hover,
.branch-family-card.is-active {
    border-color: var(--primary-color);
    box-shadow: 0 14px 34px rgba(15, 52, 45, 0.10);
    transform: translateY(-3px);
}

.branch-family-card h3 {
    margin: 7px 0 10px;
    color: var(--primary-color);
}

.branch-family-card p {
    margin: 0;
}

.branch-family-count {
    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.branch-list-section {
    background: var(--extra-color);
}

.branch-directory-toolbar {
    display: flex;
    gap: 30px;
    align-items: end;
    justify-content: space-between;
}

.branch-directory-toolbar > div {
    max-width: 760px;
}

.branch-search {
    display: flex;
    min-width: min(100%, 390px);
    align-items: center;
    padding: 0 18px;
    border: 1px solid rgba(15, 52, 45, 0.16);
    border-radius: 10px;
    background: var(--white-color);
}

.branch-search input {
    width: 100%;
    padding: 15px 12px;
    border: 0;
    outline: 0;
    background: transparent;
}

.branch-results-meta {
    display: flex;
    justify-content: space-between;
    margin: 28px 0 16px;
}

.branch-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.branch-list-item {
    display: flex;
    min-height: 66px;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border: 1px solid rgba(15, 52, 45, 0.10);
    border-radius: 10px;
    background: var(--white-color);
    color: var(--primary-color);
    font-weight: 600;
}

.branch-list-item:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.branch-list-item i {
    flex: 0 0 auto;
}

.branch-empty {
    grid-column: 1 / -1;
    padding: 30px;
    border-radius: 10px;
    background: var(--white-color);
    text-align: center;
}

@media (max-width: 991px) {
    .branch-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .branch-directory-toolbar {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    .branch-family-grid,
    .branch-list-grid {
        grid-template-columns: 1fr;
    }

    .branch-family-card {
        padding: 22px;
    }
}
