/* MyBirthDayTree - site styles that sit on top of Tailwind */

::selection { background: #b9dfba; color: #0c2111; }

body.menu-open { overflow: hidden; }

:focus-visible { outline: 2px solid #f2792b; outline-offset: 3px; border-radius: 6px; }

/* ---------- header ---------- */
#site-header.is-scrolled { box-shadow: 0 10px 40px -12px rgba(12, 33, 17, 0.18); }
#site-header.is-scrolled #site-logo { height: 2.75rem; }

.nav-link {
    position: relative;
    padding: 0.5rem 0.7rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1b3d21;
    white-space: nowrap;
    border-radius: 9999px;
    transition: color .25s ease, background-color .25s ease;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.1rem;
    width: 1.25rem;
    height: 3px;
    border-radius: 9999px;
    background: #f2792b;
    transform: translateX(-50%) scaleX(0);
    transition: transform .3s ease;
}
.nav-link:hover { color: #2f7536; background: #f1f8f1; }
.nav-link.active { color: #2f7536; }
.nav-link.active::after { transform: translateX(-50%) scaleX(1); }

@media (min-width: 1280px) {
    .nav-link { padding: 0.5rem 0.95rem; font-size: 0.9375rem; }
}

/* ---------- mobile menu ---------- */
#mobile-menu { visibility: hidden; transition: transform .3s ease-out, visibility 0s linear .3s; }
#mobile-menu.is-open { transform: translateX(0); visibility: visible; transition-delay: 0s; box-shadow: -24px 0 60px -12px rgba(12, 33, 17, .35); }
#mobile-menu-overlay.is-open { opacity: 1; pointer-events: auto; }

.mobile-link {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.8rem 0.9rem;
    border-radius: 1rem;
    font-weight: 600;
    color: #1b3d21;
    opacity: 0;
    transform: translateX(18px);
    transition: background-color .2s ease, color .2s ease, opacity .35s ease, transform .35s ease;
}
.mobile-link i {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    background: #f1f8f1;
    color: #2f7536;
    font-size: 0.875rem;
    transition: background-color .2s ease, color .2s ease;
}
.mobile-link:hover { background: #f1f8f1; }
.mobile-link.active { background: #2f7536; color: #fff; }
.mobile-link.active i { background: rgba(255, 255, 255, .18); color: #fff; }
#mobile-menu.is-open .mobile-link { opacity: 1; transform: none; }
#mobile-menu.is-open .mobile-link:nth-child(1) { transition-delay: .06s; }
#mobile-menu.is-open .mobile-link:nth-child(2) { transition-delay: .10s; }
#mobile-menu.is-open .mobile-link:nth-child(3) { transition-delay: .14s; }
#mobile-menu.is-open .mobile-link:nth-child(4) { transition-delay: .18s; }
#mobile-menu.is-open .mobile-link:nth-child(5) { transition-delay: .22s; }
#mobile-menu.is-open .mobile-link:nth-child(6) { transition-delay: .26s; }
#mobile-menu.is-open .mobile-link:nth-child(7) { transition-delay: .30s; }

/* ---------- footer ---------- */
#footer {
    background-image:
            radial-gradient(60rem 30rem at 0% 0%, rgba(63, 145, 70, .22), transparent 60%),
            radial-gradient(40rem 24rem at 100% 100%, rgba(242, 121, 43, .10), transparent 60%);
}

.footer-heading {
    position: relative;
    padding-bottom: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fff;
}
.footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2rem;
    height: 3px;
    border-radius: 9999px;
    background: #f2792b;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    color: rgba(220, 239, 220, .8);
    transition: color .25s ease, transform .25s ease;
}
.footer-link::before {
    content: "";
    width: 0;
    height: 2px;
    margin-right: 0;
    border-radius: 9999px;
    background: #f2792b;
    transition: width .25s ease, margin-right .25s ease;
}
.footer-link:hover { color: #fff; }
.footer-link:hover::before { width: 0.875rem; margin-right: 0.5rem; }

.footer-social {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, .15);
    color: #fff;
    transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.footer-social:hover { background: #f2792b; border-color: #f2792b; transform: translateY(-3px); }

.footer-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, .07);
    color: #fb8a3c;
}

/* content managed from the dashboard (FOOTER page) */
.footer-prose, .footer-prose p { font-size: 0.9rem; line-height: 1.75; color: rgba(220, 239, 220, .8); }
.footer-prose p + p { margin-top: 0.75rem; }
.footer-prose a { color: #fff; text-decoration: underline; }

/* ---------- back to top ---------- */
#back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- alert modal ---------- */
#alert-modal .alert-modal-panel { animation: mbt-pop .35s cubic-bezier(.2, .9, .3, 1.3) both; }
#alert-modal .alert-modal-backdrop { animation: mbt-fade .3s ease both; }
@keyframes mbt-pop { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes mbt-fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   Shared building blocks (used by the pages)
   ===================================================================== */
.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #2f7536;
}
.section-eyebrow::before {
    content: "";
    flex-shrink: 0;
    width: 2rem;
    height: 2px;
    border-radius: 9999px;
    background: #f2792b;
}

.section-title {
    font-family: Fraunces, ui-serif, Georgia, serif;
    font-size: clamp(1.875rem, 1.2rem + 2.6vw, 3.25rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: #0c2111;
    text-wrap: balance;
}

.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    transition: background-color .3s ease, color .3s ease, transform .3s ease, border-color .3s ease;
}
.btn-primary { background: #275d2d; color: #fff; }
.btn-primary:hover { background: #1b3d21; transform: translateY(-2px); }
.btn-outline { border: 1.5px solid rgba(27, 61, 33, .2); color: #1b3d21; }
.btn-outline:hover { background: #275d2d; border-color: #275d2d; color: #fff; transform: translateY(-2px); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #275d2d;
    border-bottom: 2px solid #f2792b;
    padding-bottom: 0.2rem;
    transition: color .25s ease, gap .25s ease;
}
.link-arrow:hover, .group:hover .link-arrow { color: #f2792b; gap: 0.8rem; }

/* content written in the dashboard editor */
.cms-prose { line-height: 1.8; color: #475569; }
.cms-prose > * + * { margin-top: 0.9rem; }
.cms-prose h1, .cms-prose h2, .cms-prose h3, .cms-prose h4 {
    margin-top: 1.9rem;
    font-family: Fraunces, ui-serif, Georgia, serif;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    color: #0c2111;
}
.cms-prose h3 strong, .cms-prose h2 strong { font-weight: inherit; }
.cms-prose strong { font-weight: 700; color: #1b3d21; }
.cms-prose a { color: #2f7536; text-decoration: underline; text-underline-offset: 3px; }
.cms-prose ul { list-style: disc; padding-left: 1.25rem; }
.cms-prose ol { list-style: decimal; padding-left: 1.25rem; }
.cms-prose img { border-radius: 1rem; }
.cms-prose p:empty { display: none; }
.cms-prose-light, .cms-prose-light p { color: rgba(220, 239, 220, .85); }
.cms-prose-light strong, .cms-prose-light h3 { color: #fff; }

/* ---------- forms ---------- */
.form-card {
    padding: 1.5rem;
    border-radius: 1.75rem;
    background: #fff;
    border: 1px solid rgba(27, 61, 33, .06);
    box-shadow: 0 10px 40px -12px rgba(12, 33, 17, 0.18);
}
@media (min-width: 640px) { .form-card { padding: 2.5rem; } }

.form-label { display: block; margin-bottom: 0.4rem; font-size: 0.875rem; font-weight: 600; color: #1b3d21; }
.form-input, .form-file, .human-code {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 0.875rem;
    border: 1.5px solid #dbe3dc;
    background: #f8faf8;
    font-size: 1rem;
    color: #1e293b;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.form-input::placeholder { color: #94a3b8; }
.form-input:focus, .form-file:focus { outline: none; border-color: #3f9146; background: #fff; box-shadow: 0 0 0 4px rgba(63, 145, 70, .15); }
.form-input.is-invalid { border-color: #dc2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, .12); }
textarea.form-input { resize: vertical; min-height: 3.25rem; }
select.form-input {
    appearance: none;
    padding-right: 2.75rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%231b3d21'%3E%3Cpath d='M5.3 7.3a1 1 0 0 1 1.4 0L10 10.6l3.3-3.3a1 1 0 1 1 1.4 1.4l-4 4a1 1 0 0 1-1.4 0l-4-4a1 1 0 0 1 0-1.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 1.1rem;
}
.form-file { padding: 0.55rem; font-size: 0.875rem; color: #475569; cursor: pointer; }
.form-file::file-selector-button {
    margin-right: 0.9rem;
    padding: 0.55rem 1rem;
    border: 0;
    border-radius: 0.625rem;
    background: #275d2d;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}
.human-code {
    width: 7.5rem;
    flex-shrink: 0;
    text-align: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: #1b3d21;
    background: repeating-linear-gradient(135deg, #dcefdc, #dcefdc 6px, #f1f8f1 6px, #f1f8f1 12px);
    border-style: dashed;
    border-color: #8cc78f;
    user-select: none;
    cursor: default;
}
.human-code:focus { outline: none; }

/* ---------- contact details ---------- */
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid rgba(27, 61, 33, .06);
    color: #1b3d21;
    font-weight: 600;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
a.contact-item:hover { transform: translateX(4px); border-color: rgba(47, 117, 54, .35); box-shadow: 0 10px 40px -12px rgba(12, 33, 17, 0.18); }
.contact-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.875rem;
    background: #f1f8f1;
    color: #2f7536;
}
.contact-label { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #64748b; }

/* ---------- FAQ accordion ---------- */
.faq-item { border-radius: 1.25rem; background: #fff; border: 1px solid rgba(27, 61, 33, .1); transition: border-color .25s ease, box-shadow .25s ease; }
.faq-item.is-open { border-color: rgba(47, 117, 54, .35); box-shadow: 0 10px 40px -12px rgba(12, 33, 17, 0.18); }
.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.15rem 1.25rem;
    text-align: left;
    font-family: Fraunces, ui-serif, Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.35;
    color: #0c2111;
}
.faq-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: #f1f8f1;
    color: #2f7536;
    font-size: 0.8rem;
    transition: transform .3s ease, background-color .3s ease, color .3s ease;
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: #f2792b; color: #fff; }
.faq-answer { padding: 0 1.25rem 1.25rem; line-height: 1.8; color: #475569; }
@media (min-width: 640px) { .faq-toggle { padding: 1.35rem 1.75rem; font-size: 1.2rem; } .faq-answer { padding: 0 1.75rem 1.5rem; } }

/* ---------- list cards (jobs, documents) and help cards ---------- */
.list-card {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    border-radius: 1.75rem;
    background: #fff;
    border: 1px solid rgba(27, 61, 33, .06);
    box-shadow: 0 10px 40px -12px rgba(12, 33, 17, 0.18);
    transition: transform .3s ease, border-color .3s ease;
}
.list-card:hover { transform: translateY(-6px); border-color: rgba(47, 117, 54, .35); }
.list-card p { margin-bottom: 1.5rem; }
.list-card-icon {
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1.1rem;
    background: #f1f8f1;
    color: #2f7536;
    font-size: 1.35rem;
    transition: background-color .3s ease, color .3s ease;
}
.list-card:hover .list-card-icon { background: #275d2d; color: #fff; }

.help-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 1.5rem;
    background: #fff;
    border: 1px solid rgba(27, 61, 33, .06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.help-card:hover { transform: translateY(-3px); border-color: rgba(47, 117, 54, .35); box-shadow: 0 10px 40px -12px rgba(12, 33, 17, 0.18); }
.help-icon { display: grid; place-items: center; flex-shrink: 0; width: 3.25rem; height: 3.25rem; border-radius: 1rem; background: #f1f8f1; color: #2f7536; font-size: 1.15rem; }
.help-title { display: block; font-family: Fraunces, ui-serif, Georgia, serif; font-size: 1.15rem; font-weight: 600; color: #0c2111; }
.help-text { display: block; margin-top: 0.15rem; font-size: 0.9rem; color: #64748b; }
.help-arrow { margin-left: auto; color: #f2792b; transition: transform .25s ease; }
.help-card:hover .help-arrow { transform: translateX(4px); }

/* ---------- articles and details pages ---------- */
.cms-article { font-size: 1.0625rem; }
.cms-article > * + * { margin-top: 1.25rem; }
.cms-article hr { margin: 2rem 0; border-color: #e2e8f0; }
.cms-article blockquote { padding-left: 1.25rem; border-left: 4px solid #f2792b; font-style: italic; color: #1b3d21; }
.cms-article table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.cms-article th, .cms-article td { padding: 0.6rem 0.75rem; border: 1px solid #e2e8f0; text-align: left; }
.cms-article img, .cms-article iframe { max-width: 100%; height: auto; }
.cms-article { overflow-wrap: anywhere; }

.share-link {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: #f1f8f1;
    color: #1b3d21;
    transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.share-link:hover { background: #275d2d; color: #fff; transform: translateY(-3px); }

.side-card { padding: 1.75rem; border-radius: 1.75rem; background: #f1f8f1; border: 1px solid rgba(27, 61, 33, .06); }
.side-card-title { font-family: Fraunces, ui-serif, Georgia, serif; font-size: 1.35rem; font-weight: 600; color: #0c2111; }

.gallery-swiper { position: relative; }
.gallery-swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) { display: none; }
.gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-top: -1.375rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, .92);
    color: #1b3d21;
    box-shadow: 0 6px 20px -6px rgba(12, 33, 17, .4);
    transition: background-color .25s ease, color .25s ease;
}
.gallery-nav:hover { background: #275d2d; color: #fff; }
.gallery-prev { left: 1rem; }
.gallery-next { right: 1rem; }
.gallery-pagination { position: absolute; left: 0; right: 0; bottom: 1rem !important; z-index: 5; display: flex; justify-content: center; gap: 0.4rem; }
.gallery-pagination .swiper-pagination-bullet { width: 0.5rem; height: 0.5rem; margin: 0 !important; background: #fff; opacity: .6; transition: width .3s ease, opacity .3s ease; border-radius: 9999px; }
.gallery-pagination .swiper-pagination-bullet-active { width: 1.75rem; opacity: 1; background: #f2792b; }

/* ---------- staff login ---------- */
.login-brand {
    background-image:
            radial-gradient(46rem 30rem at 0% 0%, rgba(63, 145, 70, .38), transparent 60%),
            radial-gradient(34rem 24rem at 100% 100%, rgba(242, 121, 43, .18), transparent 60%);
}
.login-point {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, .08);
    color: #fb8a3c;
}

.page-header {
    background-image:
            radial-gradient(48rem 26rem at 0% 0%, rgba(63, 145, 70, .32), transparent 60%),
            radial-gradient(36rem 22rem at 100% 100%, rgba(242, 121, 43, .14), transparent 60%);
}

/* =====================================================================
   Home page
   ===================================================================== */
.hero-swiper .swiper-slide .hero-img { transform: scale(1.12); transition: transform 8s ease-out; }
.hero-swiper .swiper-slide-active .hero-img { transform: scale(1); }
.hero-swiper .hero-copy > * { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.hero-swiper .swiper-slide-active .hero-copy > * { opacity: 1; transform: none; }
.hero-swiper .swiper-slide-active .hero-copy > *:nth-child(1) { transition-delay: .25s; }
.hero-swiper .swiper-slide-active .hero-copy > *:nth-child(2) { transition-delay: .4s; }
.hero-swiper .swiper-slide-active .hero-copy > *:nth-child(3) { transition-delay: .55s; }
.hero-swiper .swiper-slide-active .hero-copy > *:nth-child(4) { transition-delay: .7s; }
/* before the slider script starts, show the first slide only */
.hero-swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) { display: none; }
.hero-swiper:not(.swiper-initialized) .hero-copy > * { opacity: 1; transform: none; }
.hero-swiper:not(.swiper-initialized) .hero-img { transform: none; }

.hero-pagination .swiper-pagination-bullet {
    width: 0.625rem;
    height: 0.375rem;
    margin: 0 !important;
    border-radius: 9999px;
    background: rgba(255, 255, 255, .45);
    opacity: 1;
    transition: width .4s ease, background-color .4s ease;
}
.hero-pagination .swiper-pagination-bullet-active { width: 2.75rem; background: #f2792b; }

.impact-section {
    background-image:
            radial-gradient(50rem 28rem at 100% 0%, rgba(63, 145, 70, .28), transparent 60%),
            radial-gradient(36rem 22rem at 0% 100%, rgba(242, 121, 43, .12), transparent 60%);
}
.stat-tile {
    position: relative;
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(6px);
    transition: transform .3s ease, background-color .3s ease, border-color .3s ease;
}
.stat-tile:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .09); border-color: rgba(242, 121, 43, .5); }
.stat-icon {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1.25rem;
    border-radius: 0.875rem;
    background: rgba(242, 121, 43, .15);
    color: #fb8a3c;
}
.stat-body { font-size: 0.9rem; font-weight: 500; color: rgba(220, 239, 220, .85); }
.stat-body .counter, .stat-number {
    font-family: Fraunces, ui-serif, Georgia, serif;
    font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem);
    font-weight: 600;
    line-height: 1;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.stat-label { margin-top: 0.6rem; font-size: 0.9rem; font-weight: 500; color: rgba(220, 239, 220, .85); }
@media (min-width: 640px) { .stat-tile { padding: 2rem; } }

.quote-card {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border-radius: 2rem;
    background: #fff;
    box-shadow: 0 10px 40px -12px rgba(12, 33, 17, 0.18);
}
.quote-card::after {
    content: "\201D";
    position: absolute;
    right: 1.5rem;
    bottom: -4.5rem;
    font-family: Fraunces, ui-serif, Georgia, serif;
    font-size: 14rem;
    line-height: 1;
    color: rgba(47, 117, 54, .08);
    pointer-events: none;
}
.quote-card-dark { background: linear-gradient(135deg, #275d2d, #0c2111); }
.quote-card-dark::after { color: rgba(255, 255, 255, .07); }
@media (min-width: 640px) { .quote-card { padding: 3rem; } }

.play-pulse { box-shadow: 0 0 0 0 rgba(242, 121, 43, .6); animation: mbt-pulse 2s infinite; }
@keyframes mbt-pulse { 70% { box-shadow: 0 0 0 14px rgba(242, 121, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 121, 43, 0); } }

.team-social {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: #fff;
    color: #1b3d21;
    font-size: 0.8rem;
    transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.team-social:hover { background: #f2792b; color: #fff; transform: translateY(-3px); }

.partner-card {
    position: relative;
    height: 8rem;
    border-radius: 1.5rem;
    background: #fff;
    border: 1px solid rgba(27, 61, 33, .08);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.partner-card:hover { transform: translateY(-4px); border-color: rgba(47, 117, 54, .35); box-shadow: 0 10px 40px -12px rgba(12, 33, 17, 0.18); }
.partner-card img { position: absolute; inset: 1.1rem; width: calc(100% - 2.2rem); height: calc(100% - 2.2rem); object-fit: contain; }
.partner-swiper { padding: 0.5rem 0 1rem; }
/* before the slider script starts, lay the logos out in a simple wrapping grid */
.partner-swiper:not(.swiper-initialized) .swiper-wrapper { display: flex; flex-wrap: wrap; gap: 1rem; }
.partner-swiper:not(.swiper-initialized) .swiper-slide { width: 10rem; }
@media (max-width: 639px) { .team-social { width: 1.875rem; height: 1.875rem; font-size: 0.7rem; } }
