/* 
   Modern UI Enhancements for Aalilai Trust
   Theme: Green, Clean, Classy
*/

/* --- Global & Typography --- */
@import url('https://fonts.googleapis.com/css2?family=Hind+Madurai:wght@300;400;500;600;700&display=swap');

:root {
    --primary-green: #2ecc71;
    --deep-green: #1e8449;
    --dark-overlay: rgba(0, 0, 0, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.header-area {
    position: relative;
    z-index: 10000 !important;
    background: #ffffff !important;
}

#sticker {
    z-index: 10001 !important;
}

/* Global body reset removed to restore original scale */

/* Typography overrides removed to restore original scale */

/* --- Grass/Leaf Divider --- */
.leaf-divider {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    padding-bottom: 5px;
}

.leaf-divider::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-green);
    margin: 10px auto 0;
    border-radius: 2px;
}

.leaf-divider.text-start::after {
    margin: 10px 0 0;
}

.leaf-divider.white-mode {
    color: #fff !important;
}

.leaf-divider.white-mode::after {
    background: #fff;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s var(--transition-smooth) forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
    transition-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
    transition-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
}

/* Scroll Reveal Helper */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Section 1: Modern Hero (Welcome) --- */
/* Hero base styling removed to restore original scale */

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid var(--primary-green);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

/* Hero typography removed to restore original scale */

.btn-modern {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
}

.btn-modern-primary {
    background: var(--primary-green);
    color: #fff;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
}

.btn-modern-primary:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.6);
    color: #fff;
}

.btn-modern-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    margin-left: 15px;
}

.btn-modern-outline:hover {
    background: #fff;
    color: var(--deep-green);
    transform: translateY(-2px);
}

/* --- Section 2: Our Story (About) --- */
.story-section-modern {
    padding: 60px 0;
    background: #f9fbf9;
}

.story-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.story-image-group {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.story-image-group img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.story-image-group:hover img {
    transform: scale(1.05);
}

.story-content h2 {
    font-size: 3rem;
    color: var(--deep-green);
    margin-bottom: 30px;
    position: relative;
}

.story-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-green);
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.story-quote {
    background: #fff;
    padding: 20px;
    border-left: 4px solid var(--primary-green);
    font-style: italic;
    color: #444;
    box-shadow: var(--shadow-soft);
    border-radius: 0 10px 10px 0;
}

/* --- Section 3: Programs (Cards) --- */
.programs-section-modern {
    padding: 60px 0;
    background: #fff;
}

.section-head-modern {
    text-align: center;
    margin-bottom: 70px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-head-modern h2 {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section-head-modern p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.program-card-modern {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.program-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-green);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.program-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.program-card-modern:hover::before {
    transform: scaleX(1);
}

.program-icon {
    width: 80px;
    height: 80px;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--primary-green);
    transition: all 0.4s ease;
}

.program-card-modern:hover .program-icon {
    background: var(--primary-green);
    color: #fff;
    transform: rotateY(180deg);
}

.program-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.program-desc {
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Section 4: Mission & Vision --- */
.mission-section-modern {
    padding: 60px 0;
    background: #fdfdfd;
}

.mission-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.mission-intro h2 {
    font-size: 2.5rem;
    color: var(--deep-green);
    margin-bottom: 20px;
}

.mission-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.mission-card-modern {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: all 0.4s ease;
    border-bottom: 4px solid transparent;
    height: 100%;
}

.mission-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--primary-green);
}

.mission-card-modern i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    display: inline-block;
}

.mission-card-modern h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.mission-card-modern p {
    color: var(--text-muted);
}

/* --- Events & Counters --- */
.event-eco-section,
.event-eco-section-alt {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #e8f5e9 0%, #c8e6c9 50%, #a5d6a7 100%) !important;
    padding: 80px 0;
}

.event-title-primary {
    font-size: 2.5rem;
    color: var(--deep-green);
    margin-bottom: 30px;
    font-weight: 700;
}

/* Seed Animation */
@keyframes leafMove {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }

    50% {
        transform: translateY(15px) rotate(10deg);
        opacity: 1;
    }

    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }
}

.leaf-move {
    animation: leafMove 3s infinite ease-in-out;
    transform-origin: center;
}

.seed-counter {
    background: #eaf7ee;
    /* Light Green */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: inline-block;
    min-width: 250px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin: 10px 0;
}

.panai-counter {
    background: #fff3e0;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: inline-block;
    min-width: 250px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin: 10px 0;
}

#seedCount,
#panaiCount,
.count-number {
    font-size: 2rem !important;
    font-weight: 800;
    color: var(--primary-green);
    font-family: 'Hind Madurai', sans-serif;
    line-height: 1.1;
    margin: 5px 0;
    display: block;
}

.single-counter h4,
.seed-counter h4,
.panai-counter h4 {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.single-counter {
    text-align: center;
    padding: 30px;
}

/* Event Gallery */
.event-gallery-title {
    font-size: 1.75rem;
    color: var(--deep-green);
    margin-bottom: 30px;
    margin-top: 50px;
    font-weight: 600;
}

.event-gallery img {
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.event-gallery img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .hero-heading {
        font-size: 2.5rem;
    }

    .story-wrapper {
        flex-direction: column;
    }

    .story-content {
        text-align: left;
    }

    .program-card-modern {
        margin-bottom: 30px;
    }
}

/* --- Trust Members Page --- */
.trust-members-showcase {
    position: relative;
    overflow: hidden;
    padding-top: 58px;
    padding-bottom: 74px;
    background: linear-gradient(180deg, #f9fcf5 0%, #eef5e8 100%);
}

.trust-members-showcase::before,
.trust-members-showcase::after {
    content: none;
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(8px);
}

.trust-members-showcase::before {
    width: 240px;
    height: 240px;
    top: 90px;
    left: -90px;
    background: radial-gradient(circle, rgba(123, 180, 44, 0.14) 0%, transparent 72%);
}

.trust-members-showcase::after {
    width: 280px;
    height: 280px;
    right: -120px;
    bottom: 40px;
    background: radial-gradient(circle, rgba(245, 200, 82, 0.14) 0%, transparent 72%);
}

.trust-members-shell,
.trust-members-preview-shell {
    position: relative;
    z-index: 1;
}

.trust-members-shell {
    max-width: 1320px;
    margin: 0 auto;
}

.trust-members-hero {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.trust-members-copy {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trust-members-kicker,
.trust-members-preview-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    border-radius: 999px;
    background: #f4f7ed;
    border: 1px solid rgba(133, 160, 86, 0.22);
    color: #6c8426;
    font-family: 'Hind Madurai', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.trust-members-kicker::before,
.trust-members-preview-kicker::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d6b347;
    box-shadow: 0 0 0 6px rgba(214, 179, 71, 0.12);
}

.trust-members-title,
.trust-members-preview-title {
    display: block !important;
    width: 100%;
    margin: 18px 0 14px;
    color: #1d3317;
    font-family: 'Hind Madurai', sans-serif;
    font-size: clamp(2.05rem, 3.8vw, 3.05rem);
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.trust-members-intro,
.trust-members-preview-text {
    width: 100%;
    margin: 0 auto;
    max-width: 660px;
    color: #66735d;
    font-size: 0.98rem;
    line-height: 1.78;
}

.trust-members-tabs-wrap {
    margin: 30px auto 10px;
    display: flex;
    justify-content: center;
}

.trust-members-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 1000px;
}

.trust-members-tab {
    appearance: none;
    border: 1px solid rgba(116, 136, 88, 0.22);
    background: #ffffff;
    color: #48603b;
    padding: 12px 20px;
    border-radius: 999px;
    font-family: 'Hind Madurai', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: none;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.trust-members-tab:hover,
.trust-members-tab.is-active {
    background: #2f5b25;
    border-color: #2f5b25;
    color: #ffffff;
    transform: translateY(-1px);
}

.trust-members-row--directory {
    padding-top: 24px;
}

.trust-members-row {
    --bs-gutter-x: 1.6rem;
    --bs-gutter-y: 1.8rem;
    padding-top: 14px;
}

.trust-members-row--about {
    padding-top: 18px;
}

.trust-member-col,
.trust-member-col--about {
    display: flex;
    justify-content: center;
}

.trust-member-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    padding: 18px;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 244, 0.98) 100%);
    border: 1px solid rgba(118, 172, 39, 0.14);
    box-shadow: 0 20px 48px rgba(30, 61, 14, 0.08);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.42s ease, border-color 0.42s ease;
}

.trust-member-card::before {
    content: "";
    position: absolute;
    top: -52px;
    right: -46px;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(147, 205, 58, 0.18) 0%, rgba(147, 205, 58, 0.04) 56%, transparent 74%);
    pointer-events: none;
}

.trust-member-card::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 24px;
    border: 1px solid rgba(118, 172, 39, 0.07);
    pointer-events: none;
}

.trust-member-card--about {
    padding: 16px;
}

.trust-member-card:hover {
    transform: translateY(-10px);
    border-color: rgba(118, 172, 39, 0.26);
    box-shadow: 0 28px 58px rgba(30, 61, 14, 0.12);
}

.trust-member-frame {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.trust-member-visual {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 1 / 1.12;
    margin: 0;
    border-radius: 26px;
    background: linear-gradient(180deg, #edf3e7 0%, #e5eadc 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 14px 28px rgba(33, 69, 18, 0.08);
    overflow: hidden;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.42s ease;
}

.trust-member-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 34%);
    pointer-events: none;
}

.trust-member-card--about .trust-member-visual {
    aspect-ratio: 1 / 1.14;
    border-radius: 24px;
}

.trust-member-avatar {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(244, 247, 240, 0.98) 0%, rgba(230, 236, 221, 0.98) 100%);
}

.trust-member-avatar::before,
.trust-member-avatar::after {
    content: none;
}

.trust-member-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    transition: transform 0.7s ease;
}

.trust-member-card:hover .trust-member-visual {
    transform: translateY(-4px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 18px 34px rgba(33, 69, 18, 0.12);
}

.trust-member-card:hover .trust-member-image {
    transform: scale(1.05);
}

.trust-member-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    padding: 4px 10px 10px;
    text-align: center;
}

.trust-member-type-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(123, 180, 44, 0.12);
    border: 1px solid rgba(118, 172, 39, 0.18);
    color: #557f16;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trust-member-body--minimal {
    justify-content: center;
    padding-bottom: 6px;
}

.trust-members-count-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    border-radius: 999px;
    background: rgba(123, 180, 44, 0.12);
    color: #5f8d15;
    font-weight: 700;
    text-transform: uppercase;
}

.trust-members-count-pill {
    padding: 10px 16px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.trust-member-name {
    margin: 0;
    color: #1d2d14;
    font-family: 'Hind Madurai', sans-serif;
    font-size: clamp(1.44rem, 1.2rem + 0.62vw, 1.86rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.trust-member-designation {
    margin: 0;
    max-width: 24ch;
    color: #5f6e56;
    font-size: 1.02rem;
    line-height: 1.5;
    font-weight: 600;
}

.trust-member-occupation {
    margin: 2px auto 0;
    max-width: 28ch;
    color: #7b8571;
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 600;
}

.trust-member-meta {
    margin: 4px auto 0;
    max-width: 30ch;
    color: #728068;
    font-size: 0.94rem;
    line-height: 1.72;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trust-members-pagination .pagination {
    gap: 8px;
    flex-wrap: wrap;
}

.trust-members-pagination .page-item .page-link {
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(118, 172, 39, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.96);
    color: #355127;
    font-weight: 700;
    box-shadow: 0 10px 18px rgba(29, 58, 14, 0.06);
}

.trust-members-pagination .page-item.active .page-link,
.trust-members-pagination .page-item .page-link:hover {
    background: linear-gradient(135deg, #7abf1e 0%, #5d960a 100%);
    border-color: transparent;
    color: #ffffff;
}

.trust-members-preview-shell {
    margin-top: 16px;
    padding: 40px 36px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(249, 253, 247, 0.98) 0%, rgba(238, 247, 233, 0.96) 100%);
    border: 1px solid rgba(118, 172, 39, 0.12);
    box-shadow: 0 24px 48px rgba(29, 60, 13, 0.08);
}

.trust-members-preview-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.trust-members-preview-copy {
    flex: 1 1 560px;
    max-width: 780px;
}

.trust-members-preview-title {
    font-size: clamp(1.95rem, 3vw, 2.65rem);
}

.trust-members-preview-text {
    max-width: 720px;
}

.trust-members-preview-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.trust-members-preview-button {
    min-width: 190px;
}

.trust-members-empty {
    width: 100%;
}

@media (max-width: 1199px) {
    .trust-members-row {
        --bs-gutter-x: 1.35rem;
    }

    .trust-member-card {
        padding: 16px;
    }

    .trust-member-visual {
        aspect-ratio: 1 / 1.14;
    }

    .trust-member-card--about .trust-member-visual {
        aspect-ratio: 1 / 1.16;
    }

    .trust-member-name {
        font-size: clamp(1.34rem, 1.12rem + 0.56vw, 1.72rem);
    }
}

@media (max-width: 991px) {
    .trust-members-showcase {
        padding-top: 52px;
        padding-bottom: 62px;
    }

    .trust-members-row {
        --bs-gutter-x: 1.2rem;
        --bs-gutter-y: 1.45rem;
    }

    .trust-members-preview-shell {
        padding: 30px 24px;
    }

    .trust-members-preview-head {
        justify-content: center;
        text-align: center;
        margin-bottom: 4px;
    }

    .trust-members-preview-copy {
        flex-basis: 100%;
    }

    .trust-members-preview-actions {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .trust-members-showcase {
        padding-top: 44px;
        padding-bottom: 48px;
    }

    .trust-members-title,
    .trust-members-preview-title {
        font-size: clamp(1.9rem, 7vw, 2.5rem);
    }

    .trust-members-intro,
    .trust-members-preview-text {
        font-size: 0.94rem;
        line-height: 1.72;
    }

    .trust-members-tabs-wrap {
        margin: 24px auto 6px;
    }

    .trust-members-tabs {
        gap: 10px;
    }

    .trust-members-tab {
        padding: 10px 16px;
        font-size: 0.82rem;
    }

    .trust-members-row {
        --bs-gutter-y: 1.3rem;
        padding-top: 16px;
    }

    .trust-member-card {
        padding: 14px;
        border-radius: 24px;
        max-width: 520px;
    }

    .trust-member-card--about {
        padding: 14px;
    }

    .trust-member-visual {
        border-radius: 22px;
    }

    .trust-member-card--about .trust-member-visual {
        border-radius: 20px;
    }

    .trust-member-body {
        gap: 7px;
        padding: 2px 8px 8px;
    }

    .trust-member-name {
        font-size: 1.24rem;
    }

    .trust-member-designation {
        font-size: 0.94rem;
    }

    .trust-member-occupation {
        font-size: 0.86rem;
    }

    .trust-member-meta {
        font-size: 0.88rem;
        max-width: 32ch;
    }

    .trust-members-preview-shell {
        padding: 24px 18px;
        border-radius: 26px;
    }

    .trust-members-preview-actions {
        gap: 10px;
    }
}

@media (max-width: 479px) {
    .trust-members-kicker,
    .trust-members-preview-kicker {
        font-size: 0.72rem;
        letter-spacing: 0.1em;
    }

    .trust-member-card {
        padding: 12px;
        border-radius: 22px;
    }

    .trust-member-visual {
        border-radius: 18px;
    }

    .trust-member-card--about .trust-member-visual {
        border-radius: 18px;
    }

    .trust-member-name {
        font-size: 1.14rem;
    }

    .trust-member-designation {
        font-size: 0.9rem;
    }

    .trust-member-occupation {
        font-size: 0.84rem;
    }

    .trust-member-meta {
        font-size: 0.84rem;
        max-width: 100%;
    }

    .trust-members-preview-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .trust-members-tabs {
        width: 100%;
    }

    .trust-members-tab {
        width: 100%;
    }

    .trust-members-count-pill,
    .trust-members-preview-button {
        width: 100%;
    }
}

.py-80 { padding-top: 80px; padding-bottom: 80px; }
.mt-50 { margin-top: 50px; }
.mb-50 { margin-bottom: 50px; }
