/* Prevent horizontal scrollbar from AOS transforms, 100vw panels, and decorative offsets.
   Prefer clip over hidden so position:sticky (e.g. about nav) keeps working. */
html,
body {
    overflow-x: clip;
    max-width: 100%;
}

.about-section {
    overflow-x: clip;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-bottom: 2rem;
}

.about-image-wrapper img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.about-image-wrapper .about-accent-card {
    position: absolute;
    left: auto;
    right: 0.85rem;
    bottom: 0.85rem;
    z-index: 2;
    max-width: 55%;
    padding: 0.55rem 0.8rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    background: #1B3A5C;
    color: #fff;
}

.about-image-wrapper .about-accent-card span {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.1rem;
}

.about-image-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-image-stack img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1rem;
    object-fit: cover;
}

.about-image-stack__primary img {
    min-height: 240px;
    max-height: 320px;
    object-fit: cover;
}

.about-image-stack__secondary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.about-image-stack__secondary img {
    min-height: 160px;
    max-height: 200px;
}

@media (max-width: 575.98px) {
    .about-image-stack__secondary {
        grid-template-columns: 1fr;
    }
}

/* About page — clearly separated sections */
.about-page-section {
    position: relative;
}

.about-page-section.bg-isle-light {
    background: #F7F8FA;
}

.about-page-section:not(.bg-isle-light) {
    background: #fff;
}

.about-page-section + .about-page-section {
    border-top: 1px solid #E5E7EB;
}

/* O' Light — ISLE prayer (left content, right image) */
.o-light-section {
    background: #fff;
}

.o-light-section__title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-style: italic;
    font-weight: 700;
    color: #C0392B;
    margin: 0;
}

.o-light-stanza {
    margin-bottom: 1.75rem;
}

.o-light-stanza:last-of-type {
    margin-bottom: 1.25rem;
}

.o-light-stanza__lead {
    font-size: 1.125rem;
    font-style: italic;
    font-weight: 600;
    color: #C0392B;
    margin: 0 0 0.65rem;
}

.o-light-stanza__lines p {
    margin: 0 0 0.35rem;
    padding-left: 1.75rem;
    color: #2C3E50;
    font-size: 1rem;
    line-height: 1.65;
}

.o-light-stanza__lines p:last-child {
    margin-bottom: 0;
}

.o-light-section__closing {
    font-size: 1.125rem;
    font-style: italic;
    font-weight: 600;
    color: #C0392B;
}

.o-light-section__figure img {
    display: block;
    box-shadow: 0 12px 40px rgba(20, 45, 71, 0.12);
}

@media (max-width: 575.98px) {
    .o-light-stanza__lines p {
        padding-left: 1.25rem;
        font-size: 0.9375rem;
    }
}

/* Home hero — carousel with overlay content */
.hero-section.hero-section--home {
    background: #142D47;
    min-height: clamp(560px, 92vh, 920px);
    display: block;
    overflow: hidden;
}

.hero-section--home .hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-section--home .hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    will-change: opacity, transform;
}

.hero-section--home .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(105deg, rgba(10, 28, 48, 0.92) 0%, rgba(10, 28, 48, 0.72) 42%, rgba(10, 28, 48, 0.35) 100%),
        linear-gradient(to top, rgba(10, 28, 48, 0.85) 0%, transparent 45%);
}

.hero-section--home .hero-content {
    position: relative;
    z-index: 2;
    padding: clamp(6.5rem, 14vh, 9rem) 0 clamp(5rem, 10vh, 7rem);
}

.hero-section--home .min-vh-hero {
    min-height: clamp(420px, 68vh, 720px);
}

.hero-section--home .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.95rem;
    margin-bottom: 1.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
}

.hero-section--home .hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-section--home .hero-title .title-line {
    display: block;
    overflow: hidden;
}

.hero-section--home .hero-title .title-line span {
    display: inline-block;
}

.hero-section--home .title-line--accent span {
    background: linear-gradient(90deg, #f5d061 0%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-section--home .hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-section--home .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-section--home .btn-hero-primary {
    background: #fff;
    color: #142D47;
    font-weight: 700;
    padding: 1rem 2.25rem;
    border-radius: 999px;
    font-size: 1rem;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-section--home .btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    color: #142D47;
}

.hero-section--home .btn-hero-outline {
    background: transparent;
    color: #fff;
    font-weight: 600;
    padding: 1rem 2.25rem;
    border-radius: 999px;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-section--home .btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

.hero-section--home .hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.hero-section--home .hero-highlight {
    display: flex;
    flex-direction: column;
    min-width: 120px;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
}

.hero-section--home .hero-highlight strong {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.hero-section--home .hero-highlight span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.15rem;
}

.hero-section--home .hero-dots {
    position: absolute;
    left: 50%;
    bottom: 4.5rem;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 0.55rem;
}

.hero-section--home .hero-dot {
    width: 2.25rem;
    height: 0.22rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    overflow: hidden;
    position: relative;
}

.hero-section--home .hero-dot::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    background: #fff;
    border-radius: inherit;
}

.hero-section--home .hero-dot--1::after { animation: heroDotFill 18s infinite; }
.hero-section--home .hero-dot--2::after { animation: heroDotFill 18s infinite 6s; }
.hero-section--home .hero-dot--3::after { animation: heroDotFill 18s infinite 12s; }

.hero-section--home .hero-slide--1 { animation: heroShow1 18s infinite; }
.hero-section--home .hero-slide--2 { animation: heroShow2 18s infinite; }
.hero-section--home .hero-slide--3 { animation: heroShow3 18s infinite; }

.hero-section--home .hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
    text-decoration: none;
    font-size: 0.813rem;
    text-align: center;
    animation: bounce-down 2s infinite;
}

.hero-section--home .hero-scroll-indicator:hover {
    color: #fff;
}

.hero-section--home .hero-scroll-indicator i {
    display: block;
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

@keyframes heroShow1 {
    0%, 22% { opacity: 1; transform: scale(1); }
    25%, 100% { opacity: 0; transform: scale(1.06); }
}

@keyframes heroShow2 {
    0%, 30% { opacity: 0; transform: scale(1.04); }
    33%, 57% { opacity: 1; transform: scale(1); }
    60%, 100% { opacity: 0; transform: scale(1.06); }
}

@keyframes heroShow3 {
    0%, 60% { opacity: 0; transform: scale(1.04); }
    63%, 87% { opacity: 1; transform: scale(1); }
    90%, 100% { opacity: 0; transform: scale(1.06); }
}

@keyframes heroDotFill {
    0% { width: 0; }
    11%, 27% { width: 100%; }
    30%, 100% { width: 0; }
}

@media (max-width: 575.98px) {
    .hero-section--home .hero-highlights {
        gap: 0.65rem;
    }

    .hero-section--home .hero-highlight {
        min-width: calc(50% - 0.35rem);
        flex: 1 1 calc(50% - 0.35rem);
    }

    .hero-section--home .hero-dots {
        bottom: 3.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-section--home .hero-slide,
    .hero-section--home .hero-dot::after {
        animation: none !important;
    }

    .hero-section--home .hero-slide--1 {
        opacity: 1;
    }
}

/* Floating pill navbar (reference style) */
.isle-navbar {
    position: fixed;
    top: 1rem;
    left: 0;
    right: 0;
    z-index: 1060;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transition: top 0.3s ease;
}

.isle-navbar.scrolled {
    top: 0.65rem;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 1rem;
}

.isle-navbar .isle-nav-shell {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: min(1140px, 100%);
    min-height: 68px;
    padding: 0.5rem 0.55rem 0.5rem 0.65rem;
    background: #142D47;
    border-radius: 999px;
    box-shadow: 0 12px 40px rgba(20, 45, 71, 0.28);
}

.isle-navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    text-decoration: none;
    background: transparent;
    width: auto;
    height: auto;
    border-radius: 0;
    overflow: visible;
}

.isle-navbar .navbar-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
    flex-shrink: 0;
}

.isle-navbar .navbar-brand img {
    height: 34px !important;
    width: 34px;
    object-fit: contain;
}

.isle-navbar.scrolled .navbar-brand img {
    height: 34px !important;
}

.isle-navbar .navbar-brand-copy {
    display: inline-block !important;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    color: #ffffff !important;
    line-height: 1;
    opacity: 1 !important;
    visibility: visible !important;
}

.isle-navbar .brand-text,
.isle-navbar .brand-name,
.isle-navbar .brand-tagline {
    display: none !important;
}

.isle-navbar .navbar-collapse {
    display: flex !important;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.isle-navbar .navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.15rem;
    margin: 0 auto;
}

.isle-navbar .nav-link {
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.88) !important;
    padding: 0.55rem 0.95rem !important;
    position: relative;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.isle-navbar .nav-link::after {
    content: '';
    position: absolute;
    left: 0.95rem;
    right: 0.95rem;
    bottom: 0.25rem;
    height: 2px;
    background: #C9A227;
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.isle-navbar .nav-link:hover,
.isle-navbar .nav-link.active {
    color: #fff !important;
}

.isle-navbar .nav-link:hover::after,
.isle-navbar .nav-link.active::after {
    transform: scaleX(1);
}

.isle-navbar .dropdown-menu {
    border: none;
    border-radius: 1rem;
    padding: 0.45rem;
    margin-top: 0.75rem !important;
    background: #fff;
    box-shadow: 0 16px 40px rgba(20, 45, 71, 0.18);
    min-width: 11.5rem;
}

.isle-navbar .dropdown-item {
    font-size: 0.875rem;
    font-weight: 500;
    color: #2C3E50;
    border-radius: 0.65rem;
    padding: 0.55rem 0.85rem;
}

.isle-navbar .dropdown-item:hover,
.isle-navbar .dropdown-item:focus {
    background: #EDF2F7;
    color: #1B3A5C;
}

.isle-navbar .navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    border: none;
}

.isle-navbar .nav-action-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    padding: 0.35rem 0.5rem;
    transition: color 0.2s ease;
}

.isle-navbar .nav-action-link:hover,
.isle-navbar .nav-action-link.active {
    color: #fff;
}

.isle-navbar .btn-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff !important;
    color: #142D47 !important;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    border: none !important;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.2;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.isle-navbar .btn-nav-cta:hover {
    background: #F7F8FA !important;
    color: #142D47 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.isle-navbar .navbar-toggler {
    display: none;
    border: none;
    width: 38px;
    height: 38px;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    padding: 0;
}

.isle-navbar .navbar-toggler:focus {
    box-shadow: none;
}

.isle-navbar .navbar-toggler-icon {
    display: none;
}

.isle-navbar .navbar-toggler-bars {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 16px;
}

.isle-navbar .navbar-toggler-bars span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.isle-navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-bars span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.isle-navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-bars span:nth-child(2) {
    opacity: 0;
}

.isle-navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-bars span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 991.98px) {
    .isle-navbar {
        top: 0.75rem;
        padding: 0 0.85rem;
        justify-content: stretch;
    }

    .isle-navbar .isle-nav-shell {
        width: 100%;
        min-height: 64px;
        padding: 0.45rem 0.55rem 0.45rem 0.55rem;
        border-radius: 1.35rem;
        flex-wrap: wrap;
        gap: 0;
        justify-content: space-between;
    }

    .isle-navbar .navbar-brand {
        justify-content: flex-start;
    }

    .isle-navbar .navbar-brand-mark {
        width: 54px;
        height: 54px;
    }

    .isle-navbar .navbar-brand img {
        height: 40px !important;
        width: 40px;
    }

    .isle-navbar .navbar-brand-copy {
        display: inline-block !important;
        font-size: 1.25rem !important;
        color: #ffffff !important;
        letter-spacing: 0.06em;
    }

    /* Beat app.css: .isle-navbar .navbar-collapse .nav-link { color:#2C3E50!important } */
    .isle-navbar .navbar-collapse .nav-link,
    .isle-navbar .navbar-collapse .nav-link:link,
    .isle-navbar .navbar-collapse .nav-link:visited,
    .isle-navbar .navbar-collapse .nav-link:hover,
    .isle-navbar .navbar-collapse .nav-link:focus,
    .isle-navbar .navbar-collapse .nav-link.active,
    .isle-navbar .navbar-collapse .nav-link.dropdown-toggle {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        opacity: 1 !important;
        padding: 0.8rem 0.85rem !important;
        font-size: 1rem !important;
        border-radius: 0.75rem;
    }

    .isle-navbar .navbar-collapse .nav-link:hover,
    .isle-navbar .navbar-collapse .nav-link.active {
        background: rgba(255, 255, 255, 0.12);
    }

    .isle-navbar .navbar-collapse .dropdown-item,
    .isle-navbar .navbar-collapse .dropdown-item:hover,
    .isle-navbar .navbar-collapse .dropdown-item:focus {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }

    .isle-navbar .navbar-collapse .nav-action-link,
    .isle-navbar .navbar-collapse .nav-action-link:hover {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }

    .isle-navbar .navbar-toggler {
        display: inline-flex !important;
        width: 44px;
        height: 44px;
        margin-left: auto;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.14);
    }

    .isle-navbar .navbar-collapse {
        display: none !important;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.35rem;
        margin-top: 0.55rem !important;
        padding: 0.75rem 0.35rem 0.45rem !important;
        border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .isle-navbar .navbar-collapse.show {
        display: flex !important;
    }

    .isle-navbar .navbar-nav {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin: 0;
        gap: 0.1rem;
    }

    .isle-navbar .nav-link::after {
        display: none;
    }

    .isle-navbar .dropdown-menu {
        position: static !important;
        transform: none !important;
        float: none;
        width: 100%;
        margin: 0.15rem 0 0.35rem !important;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.06);
        border-radius: 0.85rem;
    }

    .isle-navbar .dropdown-item {
        color: #ffffff !important;
        padding: 0.7rem 0.95rem;
        opacity: 1 !important;
    }

    .isle-navbar .dropdown-item:hover,
    .isle-navbar .dropdown-item:focus {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff !important;
    }

    .isle-navbar .navbar-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-top: 0.35rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        gap: 0.55rem;
    }

    .isle-navbar .navbar-collapse .nav-action-link {
        text-align: center;
        padding: 0.65rem;
        font-size: 0.95rem;
    }

    .isle-navbar .btn-nav-cta {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    body {
        padding-bottom: 6.5rem;
    }
}


/* Floating mobile bottom nav */
.isle-bottom-nav {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.15rem;
    min-height: 68px;
    padding: 0.45rem 0.7rem;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 10px 36px rgba(20, 45, 71, 0.18);
}

.isle-bottom-nav__item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-width: 0;
    padding: 0.25rem 0.2rem;
    text-decoration: none;
    color: #6B7280;
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1.1;
    transition: color 0.2s ease;
}

.isle-bottom-nav__item i {
    font-size: 1.2rem;
    line-height: 1;
}

.isle-bottom-nav__item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.isle-bottom-nav__item.is-active {
    color: #0D7377;
}

.isle-bottom-nav__center {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 0.15rem;
    text-decoration: none;
}

.isle-bottom-nav__plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0D7377;
    color: #fff;
    font-size: 1.4rem;
    box-shadow: 0 8px 18px rgba(13, 115, 119, 0.35);
    transition: transform 0.2s ease, background 0.2s ease;
}

.isle-bottom-nav__center:hover .isle-bottom-nav__plus,
.isle-bottom-nav__center:focus .isle-bottom-nav__plus {
    background: #0a5c5f;
    transform: translateY(-1px);
    color: #fff;
}

@media (min-width: 992px) {
    .isle-bottom-nav {
        display: none !important;
    }
}






/* Align card buttons on one row across equal-height cards */
.isle-card {
    display: flex;
    flex-direction: column;
}

.isle-card .card-text {
    flex-grow: 1;
}

.isle-card > .btn,
.isle-card > a.btn {
    margin-top: auto;
    align-self: center;
}

/* Quick links strip after hero */
.quick-links-section {
    position: relative;
    background: #fff;
    padding: 3.5rem 0;
    overflow: hidden;
}

.quick-links-section .quick-links-deco {
    position: absolute;
    width: 120px;
    height: 28px;
    background: #0D7377;
    transform: skewX(-28deg);
    z-index: 0;
    pointer-events: none;
}

.quick-links-section .quick-links-deco--tr {
    top: 1.25rem;
    right: -0.5rem;
}

.quick-links-section .quick-links-deco--bl {
    bottom: 1.25rem;
    left: -0.5rem;
}

.quick-links-section .container {
    position: relative;
    z-index: 1;
}

.quick-links-section .quick-link-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    min-height: 140px;
    padding: 1.75rem 1.25rem;
    background: #fff;
    border: 2px solid #0D7377;
    border-radius: 1.25rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.quick-links-section .quick-link-card h3 {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0D7377;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.quick-links-section .quick-link-card p {
    margin: 0;
    font-size: 0.875rem;
    color: #2C3E50;
    line-height: 1.5;
}

.quick-links-section .quick-link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(13, 115, 119, 0.15);
    background: rgba(13, 115, 119, 0.04);
}

@media (max-width: 575.98px) {
    .quick-links-section {
        padding: 2.5rem 0;
    }

    .quick-links-section .quick-link-card {
        min-height: 120px;
    }
}

/* Page hero with photo background (Programs header) */
.page-hero {
    position: relative;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    z-index: 0;
}

.page-hero-content {
    z-index: 2;
}

.page-hero-row {
    padding-top: 100px;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        105deg,
        rgba(20, 45, 71, 0.88) 0%,
        rgba(20, 45, 71, 0.72) 50%,
        rgba(20, 45, 71, 0.45) 100%
    );
}

.page-hero-breadcrumb .breadcrumb-item,
.page-hero-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.875rem;
}

.page-hero-breadcrumb .breadcrumb-item a:hover {
    color: #fff;
}

.page-hero-breadcrumb .breadcrumb-item.active {
    color: #fff;
}

.page-hero-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.45);
}

.page-hero .hero-title--compact {
    font-size: clamp(2rem, 4vw, 3rem);
}

.page-hero-meta {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    flex-wrap: wrap;
}

/* Event detail — keep photos in normal flow (no footer overlap) */
main {
    position: relative;
    z-index: 1;
    display: block;
    overflow: visible;
}

.isle-footer {
    position: relative;
    z-index: 2;
    clear: both;
    isolation: isolate;
    overflow: hidden;
    padding: 5rem 0 0;
    color: rgba(255, 255, 255, 0.85);
}

.isle-footer-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('/images/footer-bg.jpg') center bottom / cover no-repeat;
}

.isle-footer-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(20, 45, 71, 0.7);
}

.isle-footer-content {
    position: relative;
    z-index: 2;
}

.isle-footer .footer-contact-item i {
    color: #fff;
}

.contact-social {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.contact-social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #EDF2F7;
    color: #1B3A5C;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-social-link:hover {
    background: #1B3A5C;
    color: #fff;
}

/* Legal / CMS prose pages */
.prose h3 {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #142D47;
    margin: 2rem 0 0.75rem;
}

.prose p,
.prose li {
    color: #64748B;
    line-height: 1.75;
}

.prose ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.prose a {
    color: #1B3A5C;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.prose a:hover {
    color: #142D47;
}

.prose figure {
    margin: 1.5rem 0;
}

.prose figcaption {
    font-size: 0.875rem;
    color: #64748B;
}

.prose table {
    font-size: 0.9375rem;
}

.prose table th,
.prose table td {
    vertical-align: middle;
}

.event-featured-photo,
.event-photo-gallery {
    position: relative;
    z-index: 0;
    max-width: 100%;
    overflow: hidden;
}

.event-featured-photo {
    margin: 0 0 1.5rem;
}

.event-featured-photo img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    border-radius: 1rem;
    vertical-align: middle;
}

.event-photo-gallery .row {
    margin-left: 0;
    margin-right: 0;
}

.event-photo-gallery a {
    display: block;
    overflow: hidden;
    border-radius: 1rem;
    background: #EDF2F7;
}

.event-photo-gallery img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    transform: none !important;
}

/* Footer logo — show real logo colors (no white invert) */
.footer-logo {
    height: 96px !important;
    width: auto !important;
    margin-bottom: 1.25rem;
    display: block;
    filter: none !important;
    opacity: 1 !important;
}

.isle-footer .footer-brand img {
    height: 96px !important;
    width: auto !important;
}

/* Footer links — clear white on hover */
.isle-footer .footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

.isle-footer .footer-links a:hover,
.isle-footer .footer-links a:focus-visible {
    color: #fff !important;
}

.isle-footer .footer-bottom a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
}

.isle-footer .footer-bottom a:hover,
.isle-footer .footer-bottom a:focus-visible {
    color: #fff !important;
}

.isle-footer .footer-credit {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8125rem;
    text-align: center;
}

.isle-footer .footer-credit a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.isle-footer .footer-contact-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.isle-footer .footer-contact-item a:hover,
.isle-footer .footer-contact-item a:focus-visible {
    color: #fff !important;
}

/* Proper India map (Leaflet) + pins */
.centres-section {
    background: #fff;
}

.centres-section .centres-map-wrap {
    height: 100%;
    min-height: 520px;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid #E5E7EB;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    background: #F7F8FA;
}

.centres-section .centres-leaflet-map {
    width: 100%;
    height: 520px;
    z-index: 1;
    background: #e8eef4;
}

.centres-section .centres-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.centres-section .centres-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2C3E50;
}

.centres-section .centres-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.centres-section .centres-legend-dot--state {
    background: #1B3A5C;
}

.centres-section .centres-legend-dot--local {
    background: #C9A227;
}

.centres-section .centres-panel {
    padding: 1.75rem;
    border-radius: 1.5rem;
    border: 1px solid #E5E7EB;
    background: #F7F8FA;
    position: relative;
    overflow: hidden;
}

.centres-section .centres-panel::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #1B3A5C;
}

.centres-section .centres-panel--local::before {
    background: #C9A227;
}

.centres-section .centres-panel-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.centres-section .centres-panel-header h3 {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #2C3E50;
    margin: 0 0 0.15rem;
}

.centres-section .centres-panel-header span {
    font-size: 0.813rem;
    color: #6B7280;
}

.centres-section .centres-panel-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    background: #EDF2F7;
    color: #1B3A5C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.centres-section .centres-panel--local .centres-panel-icon {
    background: #F5EDD6;
    color: #A6861F;
}

.centres-section .centres-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.centres-section .centres-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.9rem;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 999px;
    color: #1B3A5C;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.25s ease;
}

.centres-section .centres-chip:hover,
.centres-section .centres-chip.is-active {
    border-color: #1B3A5C;
    background: #1B3A5C;
    color: #fff;
}

.centres-section .centres-panel--local .centres-chip:hover,
.centres-section .centres-panel--local .centres-chip.is-active {
    border-color: #C9A227;
    background: #C9A227;
    color: #fff;
}

.isle-map-pin {
    background: transparent !important;
    border: none !important;
}

.isle-map-pin .isle-map-pin-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 0.95rem;
}

.isle-map-pin .isle-map-pin-inner i {
    transform: rotate(45deg);
}

@media (max-width: 991.98px) {
    .centres-section .centres-map-wrap,
    .centres-section .centres-leaflet-map {
        min-height: 360px;
        height: 360px;
    }
}

/* Centres page */
.centres-page .centre-info-card-img {
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.centres-page .centre-info-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.centres-page .centre-event-thumb {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 1;
    background: #EDF2F7;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.centres-page .centre-event-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.centres-page .centre-event-thumb:hover img {
    transform: scale(1.06);
}

.centres-page .centre-event-thumb-meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem;
    background: linear-gradient(transparent, rgba(20, 45, 71, 0.85));
    color: #fff;
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.centres-page .centre-event-thumb-meta strong {
    font-size: 0.85rem;
}

.centres-page .centres-chip {
    text-decoration: none;
}

/* MoUs section — before Upcoming Events */
.mou-section {
    background: #F5EDD6;
    overflow-x: clip;
}

.mou-section .mou-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(20, 45, 71, 0.12);
    aspect-ratio: 4 / 5;
    background: #EDF2F7;
}

.mou-section .mou-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.mou-section .mou-heading {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-weight: 800;
    color: #142D47;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.mou-section .mou-tagline {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1B3A5C;
    margin-bottom: 1.5rem;
}

.mou-section .mou-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 8px 28px rgba(20, 45, 71, 0.08);
}

.mou-section .mou-card-title {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0D7377;
    margin-bottom: 0.85rem;
    line-height: 1.35;
}

.mou-section .mou-card-text {
    color: #2C3E50;
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (max-width: 991.98px) {
    .mou-section .mou-image {
        aspect-ratio: 16 / 10;
        max-height: 320px;
    }
}

/* Affiliations — National & International */
.affiliations-section .affiliations-tagline {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1B3A5C;
    margin-top: -0.5rem;
}

.affiliations-section .affiliation-card {
    border: 1px solid #E5E7EB;
}

.affiliations-section .affiliation-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 72px;
    margin-bottom: 1.25rem;
}

.affiliations-section .affiliation-logo img {
    max-height: 64px;
    max-width: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.affiliations-section .affiliation-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.5rem;
    padding: 0.65rem 1rem;
    border-radius: 0.75rem;
    background: #EDF2F7;
    color: #1B3A5C;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}

.affiliations-section .affiliation-org {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6B7280;
    margin-bottom: 0.75rem;
}

.affiliations-section .affiliation-card-title {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0D7377;
    margin-bottom: 0.85rem;
    line-height: 1.4;
}

.affiliations-section--intl .affiliation-mark {
    background: #F5EDD6;
    color: #142D47;
}

/* Milestones — horizontal scroll timeline */
.achievements-horizontal {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.5rem 0 1.25rem;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(27, 58, 92, 0.35) transparent;
}

.achievements-horizontal::-webkit-scrollbar {
    height: 6px;
}

.achievements-horizontal::-webkit-scrollbar-thumb {
    background: rgba(27, 58, 92, 0.35);
    border-radius: 999px;
}

.achievements-horizontal-inner {
    display: inline-block;
    min-width: 100%;
    padding: 0 max(1.25rem, calc((100vw - 1140px) / 2));
}

.milestones-h {
    position: relative;
    display: flex;
    align-items: stretch;
    width: max-content;
    min-width: 100%;
    height: 420px;
    padding: 0 0.75rem;
    gap: 0;
}

.milestones-h__line {
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    top: 50%;
    height: 2px;
    background: #E5E7EB;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
}

.milestones-h__item {
    position: relative;
    flex: 0 0 250px;
    width: 250px;
    height: 100%;
    z-index: 1;
}

.milestones-h__dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #1B3A5C;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #1B3A5C;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.milestones-h__year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 800;
    font-size: 0.8125rem;
    color: #1B3A5C;
    background: #EDF2F7;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    white-space: nowrap;
    z-index: 2;
    line-height: 1.4;
}

.milestones-h__card {
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    background: #fff;
    border-radius: 0.75rem;
    padding: 1rem 1rem;
    box-shadow: 0 6px 20px rgba(20, 45, 71, 0.08);
    border: 1px solid #EDF2F7;
    text-align: left;
    z-index: 2;
}

.milestones-h__title {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    color: #142D47;
    margin: 0 0 0.45rem;
    line-height: 1.35;
}

.milestones-h__desc {
    margin: 0;
    color: #6B7280;
    font-size: 0.8125rem;
    line-height: 1.55;
}

.milestones-h__item.is-top .milestones-h__card {
    bottom: calc(50% + 2.65rem);
}

.milestones-h__item.is-top .milestones-h__year {
    bottom: calc(50% + 0.65rem);
}

.milestones-h__item.is-bottom .milestones-h__year {
    top: calc(50% + 0.65rem);
}

.milestones-h__item.is-bottom .milestones-h__card {
    top: calc(50% + 2.65rem);
}

@media (max-width: 767.98px) {
    .milestones-h {
        height: 400px;
        padding: 0 0.5rem;
    }

    .milestones-h__item {
        flex: 0 0 220px;
        width: 220px;
    }

    .milestones-h__card {
        left: 0.45rem;
        right: 0.45rem;
        padding: 0.85rem 0.9rem;
    }

    .milestones-h__title {
        font-size: 0.875rem;
    }

    .milestones-h__desc {
        font-size: 0.78rem;
    }
}

/* Membership benefits — full grid (no pin / half-cut scroll) */
.membership-scroll-section,
.membership-scroll-wrapper {
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    height: auto !important;
    min-height: 0 !important;
}

.membership-section .membership-tier-card {
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    padding-top: 1.75rem;
}

.membership-section .membership-tier-card--popular {
    border: 2px solid #1B3A5C;
}

.membership-section .membership-tier-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1B3A5C;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    white-space: nowrap;
}

.membership-section .membership-tier-amount {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1B3A5C;
    line-height: 1;
}

.membership-section .membership-tier-features li {
    color: #4b5563;
    font-size: 0.9375rem;
}

.membership-section .membership-tier-features .bi-check-circle-fill {
    color: #1B3A5C;
}

.membership-section .membership-benefit-card {
    height: 100%;
    background: #fff;
}

.membership-section .membership-benefit-card .card-icon {
    width: 56px;
    height: 56px;
    border-radius: 0.75rem;
    background: linear-gradient(145deg, #DCEBFF 0%, #BFD9FF 100%);
    color: #1A6FE8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 14px rgba(26, 111, 232, 0.18);
}

.membership-section .membership-benefit-card .card-title {
    color: #164E9B;
}

/* Life membership procedure tables */
.membership-table {
    font-size: 0.875rem;
}

.membership-table thead th {
    background: #1B3A5C;
    color: #fff;
    vertical-align: middle;
    white-space: nowrap;
}

.membership-table td,
.membership-table th {
    vertical-align: top;
}

.life-membership-steps {
    padding-left: 1.25rem;
    color: #64748B;
    line-height: 1.75;
}

.life-membership-steps li + li {
    margin-top: 0.75rem;
}

.life-membership-bank li + li {
    margin-top: 0.35rem;
}

.life-membership-procedure address {
    font-style: normal;
    color: #64748B;
    line-height: 1.75;
}

.membership-section .membership-benefit-card:hover .card-icon {
    background: linear-gradient(145deg, #1A6FE8 0%, #0B57C7 100%);
    color: #fff;
    box-shadow: 0 8px 22px rgba(26, 111, 232, 0.4);
}




/* Hide legacy About page sub-nav */
.about-section-nav { display: none !important; }

/* Committee member cards — larger centered portraits */
.committee-card {
    text-align: center !important;
    padding: 1.75rem 1.5rem 1.5rem !important;
    display: flex !important;
    flex-direction: column;
}

.committee-card .committee-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.committee-card .committee-card-media {
    margin-bottom: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 0.5rem;
    background: #EDF2F7;
    border-radius: 0.5rem;
}

.committee-card .committee-card-head {
    display: block;
    margin-bottom: 0;
}

.committee-card .committee-photo {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 220px;
    border-radius: 0.35rem;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
    flex-shrink: 0;
    background: transparent;
    box-shadow: none;
}

.committee-card .leadership-avatar {
    width: 160px !important;
    height: 160px !important;
    border-radius: 0.5rem;
    margin: 0 auto;
    background: linear-gradient(145deg, #1B3A5C, #2F6B9A);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.committee-card .card-title {
    margin-bottom: 0.35rem;
    font-size: 1.125rem;
}

.committee-card .committee-role {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1B3A5C;
    line-height: 1.4;
    margin-bottom: 0.85rem;
    min-height: 2.5em;
}

.committee-card .card-text {
    text-align: left;
    line-height: 1.55;
    margin-bottom: 0;
}

.committee-card .committee-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: auto;
    padding-top: 1rem;
    margin-bottom: 0;
}

.committee-card .committee-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #EDF2F7;
    color: #1B3A5C;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.committee-card .committee-social-link:hover {
    background: #1B3A5C;
    color: #fff;
    transform: translateY(-1px);
}

.committee-card .committee-social-link--linkedin:hover {
    background: #0A66C2;
    color: #fff;
}

/* Page preloader — ISLE logo */
body.preloader-active {
    overflow: hidden;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    width: 96px;
    height: 96px;
    object-fit: contain;
    animation: preloader-pulse 1.4s ease-in-out infinite;
}

@keyframes preloader-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.82;
    }
}

/* Testimonials — 4-column auto-scrolling grid */
.testimonials-section .testimonials-swiper {
    overflow: hidden;
    padding: 0.25rem 0 0.5rem;
}

.testimonials-section .testimonials-swiper .swiper-wrapper {
    align-items: stretch;
}

.testimonials-section .testimonials-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.testimonials-section .testimonial-card {
    width: 100%;
    min-height: 320px;
    text-align: center;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.35rem 1.5rem;
}

.testimonials-section .testimonial-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 3px solid rgba(27, 58, 92, 0.15);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1B3A5C;
    font-size: 2rem;
    overflow: hidden;
}

.testimonials-section .testimonial-avatar-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonials-section .testimonial-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 140px;
    margin-bottom: 1rem;
}

.testimonials-section .testimonial-quote-icon {
    font-size: 1.75rem;
    color: rgba(27, 58, 92, 0.22);
    line-height: 1;
    margin-bottom: 0.65rem;
}

.testimonials-section .testimonial-quote {
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 0;
    font-style: italic;
}

.testimonials-section .testimonial-quote::before {
    display: none !important;
    content: none !important;
}

.testimonials-section .testimonial-footer {
    margin-top: auto;
    padding-top: 0.25rem;
}

.testimonials-section .testimonial-name {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonials-section .testimonial-designation {
    font-size: 0.8125rem;
    color: #64748B;
    margin-bottom: 0;
}

/* Events — homepage section */
.events-home {
    background: #fff;
}

.events-home__intro-actions {
    margin-top: 1rem;
}

.events-home__featured {
    max-width: 820px;
    margin: 0 auto 2rem;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(20, 45, 71, 0.1);
    border: 1px solid #EDF2F7;
    background: #fff;
}

.events-home__featured-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.75rem;
    background: #1B3A5C;
    color: #fff;
}

.events-home__featured-date {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.events-home__featured-day {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
}

.events-home__featured-month {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.95;
}

.events-home__featured-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: #fff;
    color: #1B3A5C;
    font-size: 0.8125rem;
    font-weight: 700;
    white-space: nowrap;
}

.events-home__featured-body {
    padding: 2rem 2rem 2.25rem;
    text-align: center;
}

.events-home__featured-title {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #142D47;
    margin: 0 0 0.85rem;
    line-height: 1.35;
}

.events-home__featured-excerpt {
    color: #64748B;
    font-size: 1rem;
    line-height: 1.65;
    margin: 0 auto 1rem;
    max-width: 620px;
}

.events-home__featured-meta {
    color: #64748B;
    font-size: 0.875rem;
    margin: 0 0 1.25rem;
}

.events-home__featured-meta i {
    color: #1B3A5C;
    margin-right: 0.25rem;
}

.events-home__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto 2rem;
}

.events-home__card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid #EDF2F7;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(20, 45, 71, 0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    min-height: 140px;
}

.events-home__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(20, 45, 71, 0.1);
    color: inherit;
}

.events-home__card-date {
    flex-shrink: 0;
    width: 72px;
    background: #1B3A5C;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.5rem;
}

.events-home__card-day {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.events-home__card-month {
    margin-top: 0.2rem;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.events-home__card-body {
    padding: 1rem 1rem 1rem 0.85rem;
    min-width: 0;
}

.events-home__card-title {
    font-weight: 700;
    font-size: 0.9375rem;
    color: #142D47;
    margin: 0 0 0.35rem;
    line-height: 1.35;
}

.events-home__card-excerpt {
    margin: 0;
    color: #64748B;
    font-size: 0.8125rem;
    line-height: 1.5;
}

.events-home__card-meta {
    margin: 0.45rem 0 0;
    color: #94A3B8;
    font-size: 0.75rem;
}

.events-home__card-meta i {
    color: #1B3A5C;
    margin-right: 0.2rem;
}

.events-home__empty {
    max-width: 520px;
    margin: 0 auto 2rem;
    text-align: center;
    padding: 2.5rem 1.5rem;
    border: 1px dashed #CBD5E1;
    border-radius: 1rem;
    background: #F8FAFC;
}

.events-home__footer {
    margin-top: 0.5rem;
}

@media (max-width: 991.98px) {
    .events-home__grid {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
}

@media (max-width: 575.98px) {
    .events-home__featured-head {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem 1.35rem;
    }

    .events-home__featured-body {
        padding: 1.5rem 1.35rem 1.75rem;
    }

    .events-home__featured-title {
        font-size: 1.25rem;
    }

    .events-home__featured-day {
        font-size: 2.25rem;
    }
}

/* Notices */
.notice-card {
    overflow: hidden;
    padding: 0;
    border: 1px solid #E5E7EB;
}

.notice-card__image-link {
    display: block;
    overflow: hidden;
    background: #F7F8FA;
}

.notice-card__image {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.35s ease;
}

.notice-card:hover .notice-card__image {
    transform: scale(1.03);
}

.notice-card__body {
    padding: 1.25rem 1.35rem 1.5rem;
}

.notice-card__date {
    display: block;
    color: #64748B;
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
}

.notice-card__title {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.65rem;
}

.notice-card__title a {
    color: #142D47;
    text-decoration: none;
}

.notice-card__title a:hover {
    color: #1B3A5C;
}

.notice-card__excerpt {
    color: #64748B;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0 0 1rem;
}

.notice-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #1B3A5C;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
}

.notice-card__link:hover {
    color: #142D47;
}

.notice-show__figure {
    border: 1px solid #E5E7EB;
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 30px rgba(20, 45, 71, 0.08);
}

.notice-show__image {
    display: block;
}
