:root{
    --color-primary:#656af8;
    --color-primary-light:hsl(242, 91%, 69%, 18%);
    --color-primary-variant:#5854c7;
    --color-red:#da0f3f;
    --color-red-light:hsl(346, 87%, 46%, 15%);
    --color-green:#00c476;
    --color-green-light:hsl(156, 100%, 38%, 15%);
    --color-gray-900:#1e1e66;
    --color-gray-700:#2d2b7c;
    --color-gray-300:rgba(242, 242, 254, 0.3);
    --color-gray-200:rgba(242, 242, 254, 0.7);
    --color-white:#f2f2fe;
    --color-bg:#f5f6fa;

    ---transition: all 300ms ease;

    --container-width-lg: 74%;
    --container-width-md: 88%;
    --form-width: 40%;

    --card-border-radius-1: 0.3rem;
    --card-border-radius-2: 0.5rem;
    --card-border-radius-3: 0.8rem;
    --card-border-radius-4: 2rem;
    --card-border-radius-5: 5rem;
}

/* ==========================================
   CONTACT PAGE (CENTRALIZED)
   ========================================== */

.contact-page {
    --contact-overlay: linear-gradient(120deg, rgba(3, 12, 35, 0.65), rgba(4, 120, 87, 0.45));
    --contact-bg-dark: #0f172a;
    --contact-bg-darker: #0a1024;
    --contact-accent: #10b981;
    --contact-accent-soft: rgba(16, 185, 129, 0.2);
    --contact-text-main: #f8fafc;
    --contact-text-soft: #cbd5e1;
    --contact-panel-shadow: 0 24px 50px rgba(2, 6, 23, 0.28);
    --contact-radius-lg: 1.2rem;
    --contact-radius-md: 0.85rem;
    background: #f8fafc;
}

.contact-page__hero {
    min-height: 44vh;
    display: flex;
    align-items: stretch;
    background-image: url('../images/map-bg (1).jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-page__hero-overlay {
    width: 100%;
    display: grid;
    align-items: center;
    background: var(--contact-overlay);
}

.contact-page__hero-content {
    width: 100%;
    padding: 6.5rem 3rem 4.75rem;
    color: #ffffff;
}

.contact-page__hero-label {
    font-size: 0.78rem;
    letter-spacing: 0.2rem;
    font-weight: 700;
    margin: 0 0 0.8rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.86);
}

.contact-page__hero-title {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.contact-page__hero-subtitle {
    margin: 1rem 0 0;
    max-width: 42rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.75;
    font-size: 1rem;
}

.contact-page__content {
    width: min(92%, 1240px);
    margin: -3.75rem auto 5rem;
    display: grid;
    grid-template-columns: 1fr 1.28fr;
    border-radius: var(--contact-radius-lg);
    overflow: hidden;
    box-shadow: var(--contact-panel-shadow);
    background: #ffffff;
}

.contact-card {
    background: #fff;
    color: #000;
    border: 3px solid #10b981;
    border-radius: 1.5rem;
}

.contact-card__inner {
    padding: 2.4rem 2.1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-card__label,
.contact-card__group-label {
    font-size: 0.75rem;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
    color: #6b7280;
    margin: 0;
    font-weight: 600;
}

.contact-card__title {
    margin: 0.8rem 0 0;
    font-size: clamp(1.7rem, 3.8vw, 2.35rem);
    line-height: 1.2;
    color: #fff;
}

.contact-card__divider {
    margin: 1.3rem 0 1.45rem;
    width: 68px;
    height: 3px;
    border-radius: 999px;
    background: #10b981;
}

.contact-card__group {
    margin-bottom: 1.2rem;
}

.contact-card__text {
    margin: 0.45rem 0 0;
    line-height: 1.72;
    color: #4b5563;
    font-size: 0.96rem;
}

.contact-card__link {
    color: #10b981;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-card__link:hover,
.contact-card__link:focus-visible {
    color: #059669;
    border-color: #059669;
}

.contact-card__link--email {
    word-break: break-word;
}

.contact-card__socials {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding-top: 1.3rem;
}

.contact-card__social-link {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    border: 1px solid #10b981;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    text-decoration: none;
    background: transparent;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.contact-card__social-link:hover,
.contact-card__social-link:focus-visible {
    transform: translateY(-2px);
    background: #10b981;
    color: #fff;
    border-color: #10b981;
}

.contact-map {
    min-height: 32rem;
    background: #dbeafe;
}

.contact-map__iframe {
    width: 100%;
    height: 100%;
    min-height: 32rem;
    border: 0;
}

[data-contact-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

[data-contact-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .contact-page__content {
        grid-template-columns: 1fr;
        margin-top: -2.6rem;
    }

    .contact-map,
    .contact-map__iframe {
        min-height: 22rem;
    }
}

@media (max-width: 680px) {
    .contact-page__hero-content {
        padding-top: 5.8rem;
        padding-bottom: 3.8rem;
    }

    .contact-card__inner {
        padding: 1.65rem 1.15rem;
    }

    .contact-card__grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .contact-page__content {
        width: min(95%, 1240px);
        border-radius: var(--contact-radius-md);
        margin-bottom: 4rem;
    }
}

/* ==========================================
   ANNUAL REPORT PAGE (CENTRALIZED)
   ========================================== */

.annual-page {
    --annual-primary: #0f766e;
    --annual-primary-dark: #115e59;
    --annual-surface: #ffffff;
    --annual-muted: #64748b;
    --annual-text: #0f172a;
    --annual-border: #e2e8f0;
    --annual-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    --annual-radius: 1rem;
    background: #f8fafc;
    padding-bottom: 4rem;
}

.annual-page__hero {
    background: linear-gradient(120deg, rgba(15, 118, 110, 0.94), rgba(17, 94, 89, 0.94)),
        url('../images/map-bg (1).jpeg') center/cover no-repeat;
    color: #ffffff;
}

.annual-page__hero-content {
    padding: 6.4rem 0 3.8rem;
}

.annual-page__label {
    margin: 0;
    letter-spacing: 0.16rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(240, 253, 250, 0.9);
}

.annual-page__title {
    margin: 0.75rem 0 0;
    font-size: clamp(1.85rem, 4.6vw, 2.9rem);
    line-height: 1.15;
    max-width: 820px;
}

.annual-page__meta {
    margin: 0.95rem 0 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    color: rgba(236, 253, 245, 0.94);
    font-size: 0.94rem;
}

.annual-page__separator {
    opacity: 0.8;
}

.annual-page__viewer {
    margin-top: -2.2rem;
}

.annual-viewer-card {
    border-radius: var(--annual-radius);
    overflow: hidden;
    background: var(--annual-surface);
    box-shadow: var(--annual-shadow);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.annual-viewer-card__iframe {
    width: 100%;
    min-height: 76vh;
    border: 0;
    background: #eef2ff;
}

.annual-empty-state {
    border: 1px dashed var(--annual-border);
    border-radius: var(--annual-radius);
    background: #ffffff;
    min-height: 250px;
    display: grid;
    place-content: center;
    text-align: center;
    color: var(--annual-muted);
    gap: 0.5rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.annual-empty-state i {
    font-size: 2.1rem;
    color: var(--annual-primary);
}

.annual-page__related {
    margin-top: 2rem;
}

.annual-page__related-title {
    margin: 0 0 0.95rem;
    color: var(--annual-text);
    font-size: 1.2rem;
}

.annual-page__related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.annual-related-card {
    text-decoration: none;
    color: var(--annual-text);
    border: 1px solid var(--annual-border);
    border-radius: 0.75rem;
    background: #ffffff;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.annual-related-card:hover,
.annual-related-card:focus-visible {
    border-color: rgba(15, 118, 110, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(15, 118, 110, 0.12);
}

.annual-related-card__title {
    font-size: 0.93rem;
    line-height: 1.4;
}

.annual-page__actions {
    margin-top: 2rem;
}

.annual-page__back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    background: var(--annual-primary);
    color: #ffffff;
    padding: 0.72rem 1.1rem;
    border-radius: 999px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.annual-page__back-btn:hover,
.annual-page__back-btn:focus-visible {
    background: var(--annual-primary-dark);
    transform: translateY(-1px);
}

[data-annual-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

[data-annual-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .annual-viewer-card__iframe {
        min-height: 68vh;
    }

    .annual-page__related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .annual-page__hero-content {
        padding-top: 5.8rem;
        padding-bottom: 3.1rem;
    }

    .annual-page__related-grid {
        grid-template-columns: 1fr;
    }

    .annual-viewer-card__iframe {
        min-height: 56vh;
    }
}

    /* ==========================================
       BLOG PAGE REFINEMENTS (PROFESSIONAL)
       ========================================== */

    .blog-page {
        background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    }

    .blog-header--hero {
        background-image: linear-gradient(135deg, rgba(5, 150, 105, 0.35), rgba(17, 24, 39, 0.62)),
            url('../images/1771864302310437493_474723541349763_7715238629656000271_n-1.jpeg');
    }

    .blog-title {
        font-size: clamp(2.1rem, 5.2vw, 4rem);
        line-height: 1.06;
    }

    .blog-subtitle {
        max-width: 58ch;
    }

    .blog-stats-container {
        width: min(98%, 1450px);
    }

    .blog-contributors-list {
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 #f1f5f9;
    }

    .blog-search-input {
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .blog-search-input:focus {
        border-color: #22c55e;
        box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
    }

    .blog-search-indicator {
        border: 1px solid #e2e8f0;
    }

    .blog-clear-filter-btn {
        text-decoration: none;
    }

    .blog-card {
        padding: 0;
    }

    .blog-card-link {
        display: block;
        text-decoration: none;
        color: inherit;
        padding: 1rem;
    }

    .blog-card-title {
        text-wrap: balance;
    }

    .blog-pagination-wrapper {
        background: transparent;
        padding-top: 1rem;
        padding-bottom: 3.4rem;
    }

    @media screen and (max-width: 900px) {
        .blog-stats-container {
            grid-template-columns: 1fr;
            gap: 1.5rem;
            padding: 1.25rem;
        }

        .blog-sidebar {
            width: 100%;
        }
    }

    /* ==========================================
       MIGRATION PAGE (UTILITY)
       ========================================== */

    .migration-page {
        min-height: 100vh;
        margin: 0;
        display: grid;
        place-items: center;
        background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
        padding: 1.25rem;
    }

    .migration-card {
        width: min(94%, 760px);
        background: #ffffff;
        border-radius: 1rem;
        padding: 1.5rem;
        box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
        border: 1px solid #e2e8f0;
    }

    .migration-card__label {
        margin: 0;
        color: #047857;
        text-transform: uppercase;
        letter-spacing: 0.08rem;
        font-size: 0.75rem;
        font-weight: 700;
    }

    .migration-card__title {
        margin: 0.5rem 0 1rem;
        font-size: clamp(1.4rem, 3vw, 2rem);
        color: #0f172a;
    }

    .migration-card__message {
        border-radius: 0.75rem;
        padding: 0.9rem 1rem;
        border: 1px solid #e2e8f0;
    }

    .migration-card__message--success {
        background: #ecfdf5;
        border-color: #6ee7b7;
        color: #065f46;
    }

    .migration-card__message--error {
        background: #fef2f2;
        border-color: #fca5a5;
        color: #991b1b;
    }

    .migration-card__message--info {
        background: #eff6ff;
        border-color: #93c5fd;
        color: #1e3a8a;
    }

    .migration-card__list {
        margin: 0.55rem 0 0;
        padding-left: 1rem;
    }

    .migration-card__hint {
        margin: 1rem 0 0;
        color: #475569;
    }

    .migration-card__actions {
        margin-top: 1rem;
        display: flex;
        flex-wrap: wrap;
        gap: 0.55rem;
    }

    .migration-card__section-title {
        margin: 1rem 0 0.55rem;
        color: #0f172a;
        font-size: 1.1rem;
    }

    .migration-card__help-list {
        margin: 0;
        padding-left: 1rem;
        color: #334155;
        display: grid;
        gap: 0.35rem;
    }

    /* ==========================================
       CATEGORY POSTS PAGE REFINEMENTS
       ========================================== */

    .category-page {
        background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
        padding-bottom: 2rem;
    }

    .category-page__header {
        width: min(92%, 1320px);
        margin: 6.25rem auto 0;
        text-align: left;
    }

    .category-page__title {
        margin: 0;
        color: #0f172a;
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        text-transform: capitalize;
    }

    .category-page__posts {
        margin-top: 1.5rem;
    }

    .category-page__post-card {
        border: 1px solid #e2e8f0;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    }

    .category-page__post-card .post__title a {
        color: #0f172a;
    }

    .category-post__body-link {
        color: #475569;
        text-decoration: none;
    }

    .category-post__body-link:hover,
    .category-post__body-link:focus-visible {
        color: #0f766e;
    }

    .category-page__empty-state {
        width: min(92%, 1320px);
        margin: 1.5rem auto 0;
    }

    .category-page__nav {
        margin-top: 1.25rem;
    }

    @media (max-width: 768px) {
        .category-page__header {
            margin-top: 5.8rem;
        }
    }
/* General */
*{
   margin: 0;
   padding: 0;
   outline: 0;
   border: 0;
   appearance: 0;
   list-style: none;
   text-decoration: none;
   box-sizing: border-box;
}

body{
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: #1f2937;
    overflow-x: hidden;
    background: #fff;
    font-size: 0.95rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container{
    width: var(--container-width-lg);
    max-width: 1800px;
    margin-inline: auto;
    /* Or margin: 0 auto; */
}

section{
    margin-top: 3rem;
    width: 100vw;
}

.section__extra-margin {
    margin-top: 7rem;
}

h1, h2, h3, h4, h5 {
    color: var(--color-white);
    line-height: 1.3;
}

h1{
    font-size: 3rem;
    margin: 1rem 0;
}

h2{
    font-size: 1.7rem;
    margin: 1rem 0;
}

h3{
    font-size: 1.1rem;
    margin: 0.8rem 0 0.5rem;
}

h4{
    font-size: 1rem;
}

a{
    color: var(--color-white);
    transition: var(---transition);
}

img{
    display: block;
    width: 100%;
    object-fit: cover;
}

/* Nav */
nav{
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    width: 100vw;
    height: 4.5rem;
    position: fixed;
    top: 0;
    z-index: 10;
}

/* Green nav for non-home pages */
body.nav-green nav {
    background: #00755e;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Default: all nav links white always */
nav .nav__logo,
nav .nav__items a {
    color: #fff !important;
}

/* Active page underline indicator */
nav .nav__items a.nav__active {
    color: #fff !important;
    text-decoration: underline !important;
    text-underline-offset: 5px;
    text-decoration-thickness: 2.5px !important;
}

body.nav-green nav .nav__logo,
body.nav-green nav .nav__items a {
    color: #fff;
}

nav.scrolled{
    background: #00755e;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

nav.scrolled .nav__logo,
nav.scrolled .nav__items a {
    color: #fff;
}

nav button{
    display: none;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.6rem 1.2rem;
    border-radius: var(--card-border-radius-2);
    cursor: pointer;
    transition: var(---transition);
    font-size: 1.3rem;
    border: none;
}

nav button:hover{
    background: var(--color-primary-variant);
    box-shadow: 0 4px 12px rgba(101, 106, 248, 0.4);
}

.nav__container{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding: 0 2rem;
}

.avatar{
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 0.3rem solid var(--color-bg);
}

.nav__logo{
    font-weight: 600;
    font-size: 1.2rem;
}

.nav__items a {
    font-weight: 600;
}

.nav__items{
    display: flex;
    align-items: center;
    gap: 4rem;
}

.nav__profile {
    position: relative;
    cursor: pointer;
}

.nav__profile ul{
    position: absolute;
    top: 140%;
    right: 0%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 3rem 3rem rgba(0, 0, 0, 0.4);
    visibility: hidden;
    opacity: 0;
    transition: var(---transition);
}

/* Show nav ul when nav profile is hovered */
.nav__profile:hover > ul {
    visibility: visible;
    opacity: 1;
}

.nav__profile ul li a{
    padding: 1rem;
    background: var(--color-gray-900);
    display: block;
    width: 100%;
}

.nav__profile ul li:last-child a{
    background: var(--color-red);
    color: var(--color-bg);
}

/* Category Button */
.category__button{
    background: var(--color-primary-light);
    color: var(--color-primary);
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border-radius: var(--card-border-radius-3);
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    border: 2px solid var(--color-primary);
    transition: var(---transition);
    box-shadow: 0 2px 8px rgba(101, 106, 248, 0.2);
}

.category__button:hover{
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(101, 106, 248, 0.4);
    transform: translateY(-2px);
}

/* General Post */
.post {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.4s ease;
    cursor: pointer;
    height: 320px;
}

.post:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.post__image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.post__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.post:hover .post__bg-image {
    transform: scale(1.03);
}

.post__info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    padding: 2.5rem 1.5rem 0.75rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
    z-index: 2;
    transition: height 0.8s ease, background 0.8s ease, padding 0.8s ease;
}

.post:hover .post__info-overlay {
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.97) 0%, rgba(0, 0, 0, 0.85) 60%, rgba(0, 0, 0, 0.4) 100%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.post__card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.post__card-title a {
    color: #fff;
    text-decoration: none;
}

.post__author-simple {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0;
}

.post__date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: all 0.6s ease;
}

.post:hover .post__date {
    opacity: 1;
    max-height: 50px;
    transform: translateY(0);
}

.post__date i {
    font-size: 1rem;
}

.post__description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: all 0.7s ease 0.1s;
    margin-bottom: 0;
    margin-top: 0;
}

.post:hover .post__description {
    opacity: 1;
    max-height: 150px;
    margin-bottom: 1rem;
    transform: translateY(0);
}

.post__read-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.5s ease 0.2s;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(10px);
    backdrop-filter: blur(10px);
}

.post:hover .post__read-btn {
    opacity: 1;
    max-height: 60px;
    overflow: visible;
    transform: translateY(0);
}

.post__read-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Legacy author styles - kept for other pages */
.post__author {
    display: flex;
    gap: 1rem;
    margin-top: 0;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s ease;
}

.post:hover .post__author {
    opacity: 1;
    transform: translateY(0);
}

.post__author-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    overflow: hidden;
}

.post__author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-author-name {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

/* Legacy styles - keeping for compatibility */
.post__thumbnail{
    background: #f3f4f6;
    border-radius: 1.5rem 1.5rem 0 0;
    overflow: hidden;
    margin-bottom: 0;
    width: 100%;
    height: 280px;
    position: relative;
}

.post__thumbnail:hover {
    transform: none;
    box-shadow: none;
}

.post__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.post__thumbnail:hover img {
    transform: scale(1.08);
}

.post__info {
    padding: 1.5rem;
}

.post__title a {
    color: #111827;
    text-decoration: none;
}

.post__title a:hover {
    color: #111827;
}

.post__title {
    color: #111827;
}

.post:hover .post__thumbnail img {
    filter: saturate(0);
    transition: filter 500ms ease;
}

/* Featured */
.featured{
    margin-top: 8rem;
}

.feature__container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.featured .post__thumbnail{
    height: fit-content;
}

.featured .post__info {
    padding: 0.4rem 0;
}

.featured .post__title {
    margin-top: 0;
    margin-bottom: 1rem;
}

.featured .post__title a {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.25;
}

.featured .post__body {
    color: #374151;
    margin: 0;
}

.featured .post__author {
    opacity: 1;
    transform: translateY(0);
    margin-top: 1rem;
    margin-bottom: 0;
}

.featured .post__author-info .post-author-name,
.featured .post__author-info h5 {
    color: #111827;
}

.featured .post__author-info small {
    color: #475569;
}

/* Posts */
.posts__container{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 280px));
    gap: 2rem;
    margin-bottom: 3rem;
    justify-content: center;
}

/* Category Buttons */
.category__buttons{
    padding: 4rem 0;
    border-top: 2px solid var(--color-gray-900);
    border-bottom: 2px solid var(--color-gray-900);
}

.category__buttons-container{
    width: fit-content;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* Footer */
footer{
    background: var(--color-gray-900);
    padding: 1rem 0 0;
    box-shadow: inset 0 1.5rem 1.5rem rgba(0, 0, 0, 0.2);
}

.footer__socials{
    margin-inline: auto;
    width: fit-content;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer__socials a{
    background: #656af8;
    border-radius: 50%;
    width: 2.3rem;
    height: 2.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.footer__socials a:hover{
    background: #5854c7;
    color: #fff;
}

.footer__container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 0.75rem 0 1rem;
}

footer h4{
    color: #ffffff;
    margin-bottom: 0.6rem;
    font-weight: 700;
    font-size: 1rem;
}

footer ul li{
    padding: 0.4rem 0;
}

footer ul a {
    opacity: 0.9;
    color: #e5e7eb;
}

footer ul a:hover {
    letter-spacing: 0.2rem;
    opacity: 1;
}

.footer__copyright {
    text-align: center;
    padding: 0.75rem 0;
    border-top: 2px solid var(--color-bg);
    margin-top: 0.75rem;
}

/* ===== CONTACT PAGE ===== */

/* Hero */
.contact-hero {
    height: 62vh;
    min-height: 380px;
    background: url('../images/1771863307Cadiz-Wetlands2.jpeg') center center / cover no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.1) 100%);
    display: flex;
    align-items: flex-end;
    width: 100%;
}

.contact-hero-content {
    padding: 3.5rem 5%;
    max-width: 700px;
}

.contact-hero-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: #74c69d;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.contact-hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    font-style: italic;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 0.75rem;
}

.contact-hero-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    max-width: 480px;
    line-height: 1.7;
}

/* Info Cards */
.contact-cards-section {
    background: #000;
    padding: 3rem 0;
    border-bottom: 1px solid #e5e7eb;
}


.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.contact-card {
    background: #000;
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    border: 1px solid #333;
    transition: box-shadow 300ms ease, transform 300ms ease;
}

.contact-card:hover {
    box-shadow: 0 8px 28px rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.contact-card-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 0.6rem;
}

.contact-card p {
    font-size: 0.92rem;
    color: #fff;
    line-height: 1.65;
    margin-bottom: 0.15rem;
}

.contact-card-hours {
    font-size: 0.8rem;
    color: #d1d5db;
    margin-top: 0.4rem;
    display: block;
}

.contact-card-socials {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.contact-card-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #d1d5db;
    color: #374151;
    border-radius: 50%;
    font-size: 0.95rem;
    transition: all 250ms ease;
}

.contact-card-socials a:hover {
    background: #1a3c2e;
    border-color: #1a3c2e;
    color: #fff;
}

/* Split section */
.contact-split-section {
    display: grid;
    grid-template-columns: 2fr 3fr;
    min-height: 540px;
}

/* Left dark panel */
.contact-info-panel {
    background: url('../images/map-bg (1).jpeg') center / cover no-repeat;
    display: flex;
    align-items: center;
    padding: 4.5rem 4rem;
    position: relative;
    overflow: hidden;
}

.contact-info-panel::before {
    content: none;
}

.contact-panel-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

.contact-panel-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #111827;
    text-transform: uppercase;
}

.contact-panel-title {
    font-size: 3rem;
    font-weight: 900;
    font-style: italic;
    color: #111827;
    line-height: 1.1;
    margin: 0;
}

.contact-panel-divider {
    width: 48px;
    height: 3px;
    background: #111827;
    border-radius: 2px;
}

.contact-detail-block {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-detail-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #374151;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.contact-detail-text {
    font-size: 0.97rem;
    color: #111827;
    line-height: 1.65;
}

.contact-detail-muted {
    color: #374151;
    font-size: 0.88rem;
}

.contact-detail-email {
    font-size: 0.88rem;
    color: #374151;
}

.contact-detail-row {
    display: flex;
    gap: 3rem;
}

.contact-panel-socials {
    display: flex;
    gap: 0.6rem;
    padding-top: 0.5rem;
    border-top: 1px solid #d1d5db;
}

.contact-panel-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #9ca3af;
    color: #111827;
    border-radius: 50%;
    font-size: 1rem;
    transition: background 250ms ease, color 250ms ease, border-color 250ms ease;
}

.contact-panel-socials a:hover {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

/* Right map panel */
.contact-map-panel {
    position: relative;
}

.contact-map-iframe {
    width: 100%;
    height: 100%;
    min-height: 540px;
    border: none;
    display: block;
}

@media (max-width: 900px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 2.6rem;
    }
    .contact-split-section {
        grid-template-columns: 1fr;
    }
    .contact-info-panel {
        padding: 3rem 2rem;
    }
    .contact-map-iframe {
        min-height: 380px;
        height: 380px;
    }
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== END CONTACT PAGE ===== */

/* Search */
.search__bar {
    margin-top: 7rem;
}

/* Blog / Our Work page — search bar sits below hero, no giant top margin */
.our-work-page .search__bar {
    margin-top: 0;
}

.search__bar-container {
    position: relative;
    width: 30rem;
    background: oklch(59.6% 0.145 163.225);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    padding: 0.6rem 1rem;
    border-radius: var(--card-border-radius-2);
    color: var(--color-gray-300);
}

.search__bar-container > div {
    width: 100%;
    display: flex;
    align-items: center;
}

.search__bar input {
    background: #fff;
    border: 2px solid #00c476;
    margin-left: 0.7rem;
    padding: 0.5rem 0;
    width: 100%;
}

.search__bar input::placeholder {
    color: var(--color-gray-300);
}

/* Button */

.btn {
    display: inline-block;
    width: fit-content;
    padding: 0.8rem 1.8rem;
    background-color: var(--color-primary);
    border-radius: var(--card-border-radius-3);
    cursor: pointer;
    transition: var(---transition);
    color: var(--color-white);
    font-weight: 600;
    border: 2px solid var(--color-primary);
    box-shadow: 0 2px 8px rgba(101, 106, 248, 0.2);
    text-transform: capitalize;
}

.btn.sm{
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn.danger{
    background: var(--color-red);
    border-color: var(--color-red);
    box-shadow: 0 2px 8px rgba(218, 15, 63, 0.2);
}

.btn:hover {
    background: var(--color-white);
    color: var(--color-bg);
    box-shadow: 0 6px 16px rgba(101, 106, 248, 0.4);
    transform: translateY(-2px);
}

.btn.danger:hover {
    background: var(--color-red);
    color: var(--color-white);
    box-shadow: 0 6px 16px rgba(218, 15, 63, 0.4);
}

/* Single Post */
.singlepost {
    padding-top: 6.5rem;
    margin-top: 0 !important;
    padding-bottom: 3rem;
    background: #0f172a;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.singlepost--scenic-bg::before {
    content: "";
    position: absolute;
    inset: -18px;
    background-image: url('../images/1771864302310437493_474723541349763_7715238629656000271_n-1.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px) brightness(0.62);
    transform: scale(1.06);
    z-index: 0;
}

.singlepost__bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.28);
    z-index: 0;
}

.singlepost__container {
    width: min(980px, 94vw);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.985);
    padding: 2.2rem 2rem 2.8rem;
    color: #111827;
    position: relative;
    z-index: 1;
    border-radius: 14px;
    box-shadow: 0 16px 44px rgba(2, 6, 23, 0.2);
}

.singlepost__intro {
    max-width: 760px;
    margin: 0 auto;
}

.singlepost__media {
    margin-top: 1.2rem;
}

.singlepost__content {
    min-width: 0;
}

.singlepost__container h2,
.singlepost__container h3,
.singlepost__container h4,
.singlepost__container h5 {
    color: #000000 !important;
}

.singlepost__container p {
    color: #000000 !important;
}

.singlepost__thumbnail {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.singlepost__thumbnail img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.singlepost__container p{
    margin-top: 1rem;
    line-height: 1.7;
}

/* Override author styles for single post page */
.singlepost .post__author {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.singlepost .post__author h5,
.singlepost .post__author-info h5 {
    color: #000000 !important;
}

.singlepost .post__author small,
.singlepost .post__author-info small {
    color: #1f2937 !important;
}

.singlepost__title {
    color: #000 !important;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.16;
    letter-spacing: -0.015em;
    margin: 0 0 0.8rem;
}

.singlepost__author-name {
    color: #000 !important;
}

.singlepost__meta-time {
    color: #1f2937 !important;
}

.singlepost__body {
    color: #111827;
    margin: 2rem auto 0;
    line-height: 1.85;
    font-size: 1.08rem;
    max-width: 68ch;
    font-family: Georgia, 'Times New Roman', serif;
}

.singlepost__body img {
    width: 100%;
    max-width: 100%;
    height: auto;
    float: none !important;
    border-radius: 10px;
    margin: 1.2rem 0;
    object-fit: cover;
}

.singlepost__body p,
.singlepost__body h1,
.singlepost__body h2,
.singlepost__body h3,
.singlepost__body h4,
.singlepost__body h5,
.singlepost__body h6,
.singlepost__body ul,
.singlepost__body ol,
.singlepost__body blockquote,
.singlepost__body table {
    clear: both;
}

.singlepost__status-card {
    margin: 1rem 0 0;
    padding: 0.65rem 0.8rem;
    border-radius: 10px;
    display: inline-flex;
    max-width: 100%;
    border: 1.5px solid currentColor;
    color: #334155;
    background: rgba(148, 163, 184, 0.12);
}

.singlepost__status-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.singlepost__status-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.singlepost__status-content {
    line-height: 1.2;
}

.singlepost__status-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0;
    color: inherit !important;
}

.singlepost__status-meta {
    color: #6b7280 !important;
    font-size: 0.75rem;
    margin: 0.15rem 0 0;
}

.singlepost__status-card.is-extinct {
    color: #111827;
    background: rgba(17, 24, 39, 0.12);
}

.singlepost__status-card.is-critical {
    color: #8b0000;
    background: rgba(139, 0, 0, 0.12);
}

.singlepost__status-card.is-endangered {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.12);
}

.singlepost__status-card.is-vulnerable {
    color: #f97316;
    background: rgba(249, 115, 22, 0.12);
}

.singlepost__status-card.is-near-threatened {
    color: #ca8a04;
    background: rgba(234, 179, 8, 0.14);
}

.singlepost__status-card.is-least-concern {
    color: #16a34a;
    background: rgba(22, 163, 74, 0.12);
}

.singlepost .post__author {
    margin: 0;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.singlepost .post__author-avatar {
    width: 2.2rem;
    height: 2.2rem;
}

.singlepost__author-name {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.singlepost__meta-time {
    font-size: 0.82rem;
}

/* Category Posts */
.category__title {
    height: 15rem;
    margin-top: 4.5rem;
    background: var(--color-gray-900);
    display: grid;
    place-items: center;
}

.category-post__body-link {
    color: inherit;
    text-decoration: none;
}

/* ==========================================
   SEARCH AJAX STYLES
   ========================================== */

/* Search Results Grid */
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Search Post Card */
.search-post-card {
    background: #fff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    padding: 1rem;
}

.search-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Search Post Image Container */
.search-post-image {
    height: 280px;
    overflow: hidden;
    background: #f3f4f6;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.search-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.search-post-card:hover .search-post-image img {
    transform: scale(1.1);
}

/* Search Post Content */
.search-post-content {
    padding: 0 0.5rem;
}

.search-post-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    text-align: center;
}

/* Search Post Category Badge */
.search-post-category-wrapper {
    text-align: center;
}

.search-post-category-badge {
    display: inline-block;
    background: #2d7a5f;
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Search Empty State */
.search-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 1.5rem;
}

.search-empty-icon {
    font-size: 4rem;
    color: #e5e7eb;
    margin-bottom: 1rem;
}

.search-empty-title {
    color: #64748b;
    font-weight: 600;
}

.search-empty-text {
    color: #94a3b8;
}

/* Empty Pages */
.empty__page{
    height: 70vh;
    display: grid;
    place-content: center;
}

/* ==========================================
   SIGNIN/SIGNUP PAGE STYLES
   ========================================== */

/* Body override for auth pages */
.auth-page-body {
    margin: 0;
    padding: 0;
    background: none;
}

/* Full screen background section */
.form__section--fullscreen {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.form__section--signin {
    background-image: url('../images/480270165_1058632709625507_7231902211367780972_n.jpeg');
}

/* Dark overlay for background image */
.form__section-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
}

/* Form container with gradient border */
.form__section-container--gradient-border {
    position: relative;
    z-index: 1;
    background: #059669;
    border: 4px solid transparent;
    background-image: linear-gradient(#059669, #059669),
                      linear-gradient(135deg, #7cb342 0%, #26a69a 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Form heading with bottom border */
.form__section-container h2.form-heading-bordered {
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

/* White inputs for auth forms */
.form__section-container input.form-input-white {
    background: #fff;
    color: #000;
    border: none;
}

.form__section-container input.form-input-white::placeholder {
    color: #000;
    opacity: 1;
}

/* General Form */
.form__section {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 6rem 0 3rem;
    margin-top: 0 !important;
    position: relative;
    background-color: #000;
}

.form__section-container {
    width: 70%;
    background: rgba(5, 150, 105, 0.95);
    padding: 3rem;
    border-radius: var(--card-border-radius-3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

/* Wider variant for auth cards that need extra horizontal room */
.form__section-container--wide {
    width: 40%;
}

.form__section-container h2 {
    margin-bottom: 2rem;
    text-align: center;
    color: var(--color-white);
}

.alert__message {
    padding: 1rem 1.4rem;
    margin-bottom: 1.5rem;
    border-radius: var(--card-border-radius-2);
    border-left: 4px solid;
    font-weight: 500;
}

.alert__message.error {
    background: var(--color-red-light);
    color: var(--color-red);
    border-left-color: var(--color-red);
}

.alert__message.success{
    background: #14532d;
    color: #ecfdf5;
    border-left-color: #166534;
}

.alert__message.lg{
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form__section-container form .btn {
    align-self: center;
    padding: 0.65rem 1.35rem;
}

.form__control {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form__control label {
    font-weight: 600;
    color: var(--color-white);
    font-size: 0.95rem;
}

.form__control.inline {
    flex-direction: row;
    align-items: center;
}

.form__section-container input,
.form__section-container textarea,
.form__section-container select {
    background-color: #fff;
    border: 2px solid #fff;
    color: #000;
}

.form__section-container input::placeholder,
.form__section-container textarea::placeholder {
    color: #000;
    opacity: 1;
}

input, textarea, select{
    padding: 0.9rem 1.4rem;
    background-color: #fff;
    border: 2px solid var(--color-gray-700);
    border-radius: var(--card-border-radius-2);
    resize: none;
    color: #1f2937;
    transition: var(---transition);
    font-family: inherit;
}

input::placeholder, textarea::placeholder {
    color: #9ca3af;
}

input:focus, textarea:focus, select:focus {
    background-color: #fff;
    color: #1f2937;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(101, 106, 248, 0.1);
    outline: none;
}

.form__section small {
    margin-top: 1.5rem;
    display: block;
    text-align: center;
    color: var(--color-gray-200);
}

.form__section small a{
    color: var(--color-primary);
    font-weight: 600;
    transition: var(---transition);
}

.form__section small a:hover {
    text-decoration: underline;
    color: var(--color-primary-variant);
}

/* Dashboard */
.dashboard{
    padding-top: 6rem;
    margin-top: 0 !important;
    min-height: 100vh;
    position: relative;
}

.dashboard__container {
    display: grid;
    grid-template-columns: 11rem auto;
    gap: 0.5rem;
    background: rgb(5, 150, 105);
    padding: 1rem;
    margin-bottom: 2rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 0.8rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.dashboard aside a {
    background-color: #047857;
    display: flex;
    gap: 0.6rem;
    align-items: center;
    padding: 0.9rem 1rem;
    color: #ffffff;
}

.dashboard aside ul li:not(:last-child) a{
    border-bottom: 1px solid #059669;
}

.dashboard aside a:hover{
    background: #3b82f6;
    color: #ffffff;
}

.dashboard aside a.active{
    background-color: #3b82f6;
    color: #ffffff;
}

.dashboard main {
    margin-left: 1.5rem;
    overflow-x: auto;
    min-width: 0;
}

.dashboard main h2{
    margin: 0 0 2rem 0;
    line-height: 1;
    color: #fff;
}

.dashboard main table {
    width: 100%;
    text-align: left;
}

.dashboard main table th,
.dashboard main table td {
    white-space: nowrap;
}

.dashboard main table th {
    background: #047857;
    padding: 0.6rem 0.5rem;
    color: #fff;
    font-size: 0.85rem;
}

.dashboard main table td {
    padding: 0.6rem 0.5rem;
    border-bottom: 1px solid var(--color-gray-200);
    font-size: 0.75rem;
    background-color: #ffffff;
    color: #1f2937;
}

.dashboard main table tr:hover td{
    background-color: #3b82f6;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dashboard main table tr:hover td a{
    color: #ffffff;
}

.dashboard main table .btn.sm {
    padding: 0.4rem 0.7rem;
    font-size: 0.75rem;
    white-space: nowrap;
}

/* HERO IMAGE SECTION */
.hero-image-section img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  display: block;
}

/* FOUNDATION SECTION */
.foundation-section {
  background: #fff;
  padding: 3rem 0;
}
.foundation-section .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
  justify-content: space-between;
}
.foundation-section h4 {
  color: #10b981;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  text-transform: uppercase;
}
.foundation-section h2 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 2rem;
  line-height: 1.1;
  color: #111827;
  text-align: left;
  letter-spacing: -1px;
}
.foundation-section p {
  font-size: 1.15rem;
  color: #475569;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.foundation-section .container > div:first-child {
  flex: 1 1 420px;
  min-width: 340px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}
.foundation-section .mission-vision {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
}
.foundation-section .mission-vision-row {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}
.foundation-section .mission-vision-icon {
  background: #d1fae5;
  padding: 0.9rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
}
.foundation-section .mission-vision-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.foundation-section .mission-vision-title {
  font-weight: 800;
  font-size: 1.25rem;
  color: #111827;
}
.foundation-section .mission-vision-desc {
  color: #475569;
  font-size: 1.05rem;
}
.foundation-section .container > div:last-child {
  flex: 1 1 600px;
  min-width: 340px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  justify-content: end;
}
.foundation-section .foundation-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 2px 12px #e5e7eb;
  padding: 1.2rem 1.2rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  height: 100%;
  min-height: 150px;
  justify-content: flex-start;
  border: 1.5px solid #f1f5f9;
  transition: box-shadow 0.2s;
}
.foundation-section .foundation-card:hover {
  box-shadow: 0 6px 24px #e5e7eb;
}
.foundation-section .foundation-card-icon {
  color: #10b981;
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}
.foundation-section .foundation-card-title {
  font-weight: 800;
  font-size: 1rem;
  color: #111827;
}
.foundation-section .foundation-card-desc {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.5;
}
@media (max-width: 1100px) {
  .foundation-section .container {
    flex-direction: column;
    gap: 3rem;
  }
  .foundation-section .container > div:last-child {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
}
@media (max-width: 800px) {
  .foundation-section .container > div:last-child {
    grid-template-columns: 1fr;
  }
}

/* Media Queries Medium Devices*/
@media screen and (max-width: 1024px){
    /* General */
    .container {
        width: var(--container-width-md);
    }

    /* Single Post */
    .singlepost__container {
        width: min(96vw, 940px);
        padding: 1.6rem 1.35rem 2rem;
    }

    .singlepost__intro {
        max-width: 100%;
    }

    .singlepost__media {
        margin-top: 1rem;
    }

    .singlepost__thumbnail img {
        aspect-ratio: 16 / 10;
    }

    .singlepost__body {
        max-width: 100%;
        font-size: 1rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    h5 {
        font-size: 0.8rem;
    }

    /* Nav */
    nav button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        min-width: 44px;
        padding: 0.5rem;
        font-size: 1.5rem;
        background: transparent;
        color: var(--color-white);
        cursor: pointer;
        border: none;
        z-index: 1001;
    }

    nav button#open__nav-btn {
        display: inline-flex;
    }

    nav button#close__nav-btn{
        display: none;
    }

    .nav__container{
        position: relative;
    }

    .nav__items{
        position: absolute;
        flex-direction: column;
        top: 100%;
        right: 0;
        width: 12rem;
        align-items: flex-start;
        justify-content: center;
        gap: 0;
        display: none;
        z-index: 9999;
        pointer-events: auto;
    }

    /* Show mobile menu when open */
    .nav__items.is-open {
        display: flex !important;
    }

    .nav__items li {
        width: 100%;
        height: 4.5rem;
        display: flex;
        align-items: center;
        box-shadow: -2rem 3rem 7rem rgba(0, 0, 0, 0.7);
        border-top: 1px solid var(--color-bg);
        animation: animateDropdown 1s 0s ease forwards;
        opacity: 1;
        transform-origin: top;
        pointer-events: auto;
    }

    .nav__items li:nth-child(2){
        animation-delay: 200ms;
    }
    .nav__items li:nth-child(3){
        animation-delay: 400ms;
    }
    .nav__items li:nth-child(4){
        animation-delay: 500ms;
    }
    .nav__items li:nth-child(5){
        animation-delay: 600ms;
    }

    /* Nav Dropdown Animation */
    @keyframes animateDropdown {
        0% {
            transform: rotateX(90deg);
        }

        100% {
            transform: rotateX(0deg);
            opacity: 1;
        }
    }

    .nav__items li a{
        border-radius: 0;
        width: 100%;
        height: 100%;
        background: var(--color-gray-900);
        padding: 0 2rem;
        display: flex;
        align-items: center;
        pointer-events: auto;
        cursor: pointer;
        text-decoration: none;
    }

    .nav__items li a:hover {
        background: var(--color-primary);
    }

    .nav__profile {
        background: var(--color-gray-900);
    }

    .nav__profile ul {
        top: 100%;
        width: 100%;
    }

    .nav__profile .avatar {
        margin-left: 2rem;
        border: 0;
    }

    .feature__container{
        gap: 3rem;
    }

    .posts__container{
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer__container{
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    /* Blog */
    .search__bar-container{
        width: 60%;
    }

    /* General Form */
    .form__section-container{
        padding: 3rem;
    }

    /* Dashboard */
    .dashboard__container{
        grid-template-columns: 4.3rem auto;
        padding: 0;
        background: transparent;
    }

    .dashboard aside h5 {
        display: none;
    }

    .dashboard main table thead{
        display: none;
    }

    .dashboard main table tr{
        display: flex;
        flex-direction: column;
    }

    .dashboard main table tr:nth-child(even){
        background: var(--color-gray-900);
    }

    .dashboard main table tr:hover td {
        background: transparent;
    }

}

/* Media Queries Small Devices*/
@media screen and (max-width: 600px){

    section{
        margin-top: 2rem;
    }

    h1{
        font-size: 2rem;
    }

    .featured{
        margin-top: 6rem;
    }

    .feature__container {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .featured .post__title a {
        font-size: 1.45rem;
    }

    .posts__container{
        grid-template-columns: 1fr;
    }

    .category__buttons-container{
        grid-template-columns: 1fr 1fr;
    }

    .footer__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    /* Blog */
    .search__bar-container{
        width: var(--container-width-md);
    }

    /* Single Post */
    .singlepost__container{
        background: rgba(255, 255, 255, 0.95) !important;
        padding: 1rem !important;
        width: 92% !important;
        border-radius: 10px;
    }

    .singlepost {
        padding-top: 6rem;
        padding-bottom: 2rem;
    }

    .singlepost__title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .singlepost__body {
        margin-top: 1.4rem;
        font-size: 0.95rem;
        line-height: 1.78;
    }

    .singlepost__thumbnail img {
        aspect-ratio: 4 / 3;
    }

    /* General Form */
    .form__section-container{
        padding: 0;
    }

    /* Dashboard */
    .dashboard{
        margin-top: 5rem;
    }

    .dashboard__container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .dashboard main {
        margin: 0;
    }

    .dashboard main h2 {
        margin-top: 1rem;
    }

    .dashboard aside {
        position: fixed;
        box-shadow: 2rem 0 4rem rgba(0, 0, 0, 0.4);
        left: -100%;
        height: 100vh;
        transition: var(---transition);
        background: var(--color-primary);
    }

    .dashboard .sidebar__toggle{
        display: inline-block;
        background: var(--color-primary-variant);
        color: var(--color-white);
        position: fixed;
        right: 0;
        bottom: 4rem;
        z-index: 1;
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 50% 0 0 50%;
        font-size: 1.3rem;
        cursor: pointer;
        box-shadow: -1rem 0 2rem rgba(0, 0, 0, 0.4);
    }

    .dashboard aside a h5{
        display: inline-block;
    }

    #hide__sidebar-btn{
        display: none;
    }
}

/* Mission Section */
.mission-section .container > div {
  text-align: center;
}
.mission-section .container > div > div:first-child {
  font-weight: 800;
  font-size: 2.5rem;
  color: #111827;
}
.mission-section .container > div > div:last-child {
  color: #475569;
  font-size: 1.5rem;
}
/* Facebook Feed Section */
.facebook-feed-section {
    background: #fff;
    padding: 4rem 0;
}

.facebook-feed-section h2 {
    color: #1f2937;
}

/* Responsive Facebook Feed */
@media screen and (max-width: 992px) {
    .facebook-feed-section .container > div {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .facebook-feed-section .fb-page {
        max-width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .facebook-feed-section {
        padding: 2rem 0;
    }
    
    .facebook-feed-section h2 {
        font-size: 1.8rem !important;
    }
    
    .facebook-feed-section .container > div > div > div {
        padding: 1rem !important;
    }
}

/* blog page heading */
.posts-heading {
    text-align: center;
    padding: 2.5rem 0 1.5rem;
    grid-column: 1 / -1;
}

.posts-heading h2 {
    color: #111827;
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
}

.posts-heading p {
    color: #6b7280;
    font-size: 1rem;
    margin-top: 0.6rem;
}

.posts-label {
    color: #10b981;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.post__body a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================
   INDEX PAGE STYLES
   ========================================== */

/* Hero Video Section */
.hero-video-section {
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.hero-video-wrapper {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.18);
    border: 1.5px solid rgba(16, 185, 129, 0.7);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    padding: 0.5rem 1.8rem;
    border-radius: 2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.hero-title-white {
    color: #fff;
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1.0;
    margin: 0 0 0rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-title-green {
    color: #10b981;
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1.0;
    margin: 0 0 2.5rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* Mission Section */
.mission-section {
    background: #fff;
    padding: 1rem 0 3rem;
}

.mission-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-container--reverse .mission-text-block {
    order: 2;
}

.mission-container--reverse .mission-image {
    order: 1;
}

.mission-image {
    width: 100%;
}

.mission-image--home-lower {
    margin-top: 4rem;
}

.mission-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 0.5rem;
    display: block;
}

.mission-text-block {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mission-text-block--center .mission-item {
    align-items: center;
    text-align: center;
}

.mission-text-block--center .mission-text {
    max-width: 700px;
    margin-inline: auto;
}

.mission-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mission-content {
    text-align: left;
}

.mission-title {
    font-weight: 800;
    font-size: 2.5rem;
    color: #4a7c9e;
    font-style: italic;
}

.mission-text {
    color: #374151;
    font-size: 1.05rem;
    line-height: 1.7;
}

.mission-text--normal {
    font-weight: 400;
}

.mission-text--justify {
    text-align: justify;
    text-justify: inter-word;
    font-size: 0.95rem;
    line-height: 1.95;
    letter-spacing: 0.01em;
    word-spacing: 0.06em;
    hyphens: auto;
}

/* Decorative Divider */
.decorative-divider {
    background: #fff;
    padding: 0;
}

.divider-container {
    max-width: 1200px;
    margin: auto;
}

.gradient-line {
    height: 3px;
    background: linear-gradient(90deg, transparent, #7cb342 20%, #26a69a 80%, transparent);
    border-radius: 2px;
}

.gradient-line-full {
    height: 5px;
    background: linear-gradient(90deg, #5a9e2f 0%, #1a8a7a 100%);
    border-radius: 2px;
    margin-top: 0.5rem;
}

/* Foundation Section */
.foundation-section {
    background: #fff;
    padding: 1.5rem 0 0.5rem;
}

.foundation-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}

.foundation-left {
    flex: 1 1 350px;
    min-width: 320px;
}

.foundation-heading {
    color: #10b981;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.foundation-subheading {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.foundation-description {
    font-size: 1.15rem;
    color: #475569;
    margin-bottom: 2.5rem;
}

.foundation-grid {
    flex: 2 1 600px;
    min-width: 320px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.foundation-card {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 2px 12px #e5e7eb;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.foundation-card-image {
    width: 140px;
    height: 140px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.foundation-card-title {
    font-weight: 700;
    font-size: 1.15rem;
}

.foundation-card-subtitle {
    color: #475569;
}

/* Featured Post Section */
.featured-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(2, 6, 23, 0.15);
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.55);
    padding: 1.2rem 1.5rem;
    z-index: 2;
}

.featured-overlay-text {
    color: #fff;
    font-weight: 800;
    font-size: 1.3rem;
    margin: 0;
    line-height: 1.4;
    text-align: center;
}

/* Posts Section */
.posts {
    background: #fff;
    padding: 2rem 0;
}

.posts-header {
    margin-bottom: 1.5rem;
}

.posts-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.posts-title {
    font-size: 3.5rem;
    font-weight: 400;
    color: #111827;
    margin: 0;
}

.posts-title-italic {
    color: #a8a29e;
    font-style: italic;
}

.posts-archive-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #111827;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.posts-archive-link:hover {
    gap: 1rem;
}

.posts-archive-icon {
    font-size: 1.2rem;
}

.post-author-name {
    color: #000;
}

/* Divider with spacing */
.decorative-divider-spaced {
    background: #fff;
    padding: 1rem 0;
}

/* Annual Reports Section */
.annual-reports-section {
    background: #ffffff;
    padding: 1rem 0;
    width: 100%;
}

.annual-reports-container {
    max-width: 1200px;
    margin: 0 auto;
}

.annual-reports-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.annual-reports-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.annual-reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.annual-report-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.4s ease;
    cursor: pointer;
    height: 400px;
}

.annual-report-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.annual-report-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.annual-report-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.annual-report-card:hover .annual-report-bg-image {
    transform: scale(1.03);
}

.annual-report-year-overlay {
    position: absolute;
    top: 50%;
    left: 2rem;
    transform: translateY(-50%);
    z-index: 2;
    display: none;
}

.annual-report-year-text {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: -2px;
}

.annual-report-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    padding: 2.5rem 1rem 0.75rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
    z-index: 2;
    transition: background 0.8s ease, padding 0.8s ease;
}

.annual-report-card:hover .annual-report-info-overlay {
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.97) 0%, rgba(0, 0, 0, 0.85) 60%, rgba(0, 0, 0, 0.4) 100%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.annual-report-info-overlay.annual-report-simple {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
}

.annual-report-card:hover .annual-report-date {
    justify-content: flex-start;
}

.annual-report-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
    text-align: left;
    opacity: 1;
}

.annual-report-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-align: left;
    margin-bottom: 0;
    opacity: 1;
}

.annual-report-date i {
    font-size: 0.9rem;
}

.annual-report-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    text-align: left;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.6;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: all 0.7s ease;
}

.annual-report-card:hover .annual-report-description {
    opacity: 1;
    max-height: 200px;
    margin-bottom: 1rem;
    transform: translateY(0);
}

.annual-report-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.5s ease;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(10px);
    backdrop-filter: blur(10px);
}

.annual-report-card:hover .annual-report-btn {
    opacity: 1;
    max-height: 60px;
    overflow: visible;
    transform: translateY(0);
}

.annual-report-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.annual-report-authors {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
    margin-top: 1rem;
    margin-bottom: 0;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.annual-report-card:hover .annual-report-authors {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   ANNUAL REPORT VIEWER PAGE
   ========================================== */

.report-viewer-section {
    background: #f9fafb;
    min-height: 100vh;
    padding: 6rem 0 3rem;
}

.report-viewer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.report-header {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.report-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.report-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #6b7280;
    font-size: 1rem;
}

.report-author {
    font-weight: 500;
}

.report-separator {
    color: #d1d5db;
}

.report-date {
    color: #6b7280;
}

/* PDF Viewer */
.pdf-viewer-wrapper {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.pdf-viewer-iframe {
    width: 100%;
    height: 90vh;
    min-height: 900px;
    border: none;
    display: block;
}

.pdf-fallback {
    padding: 2rem;
    text-align: center;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.pdf-fallback p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-primary);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: var(--color-primary-variant);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Report Navigation */
.report-navigation {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.report-navigation h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

.report-year-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.report-year-card {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.report-year-card:hover {
    background: #fff;
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.report-year-card.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.report-year-number {
    font-size: 2rem;
    font-weight: 900;
    color: #111827;
    margin-bottom: 0.5rem;
}

.report-year-card.active .report-year-number {
    color: #fff;
}

.report-year-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
}

.report-year-card.active .report-year-title {
    color: rgba(255, 255, 255, 0.9);
}

/* Back Button */
.report-back-btn-wrapper {
    text-align: center;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: var(--color-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--color-primary);
}

.btn-back:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Facebook Feed Section */
.facebook-section {
    background: #fff;
    padding: 1rem 0 4rem 0;
    width: 100%;
}

.facebook-container {
    max-width: 1200px;
    margin: auto;
}

.facebook-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    align-items: stretch;
}

.facebook-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.facebook-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 500px;
}

.facebook-frame-wrapper {
    background: #fff;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex: 1;
    height: 650px;
    width: 100%;
    max-width: 500px;
    margin-inline: auto;
}

.facebook-frame-scrollable {
    background: #fff;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex: 1;
    height: 650px;
    overflow-y: auto;
    width: 100%;
    max-width: 500px;
    margin-inline: auto;
}

.facebook-iframe {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    overflow: hidden;
    display: block;
    background: transparent;
    width: 100% !important;
}

/* ==========================================
   ABOUT PAGE STYLES
   ========================================== */

/* About Section */
.about-section {
    width: 100%;
    padding: 6rem 0 1rem;
    background: #fff;
    margin-top: 4.5rem;
}

.about-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.about-image-wrapper {
    flex: 1 1 380px;
    min-width: 300px;
}

.about-image {
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
    object-fit: cover;
    max-height: 520px;
}

.about-text-wrapper {
    flex: 1 1 380px;
    min-width: 300px;
}

.about-label {
    color: #059669;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.about-heading {
    color: #111827;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.about-paragraph {
    color: #374151;
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 1rem;
}

.about-paragraph:last-child {
    margin-bottom: 0;
}

.endangered-showcase-section {
    background: #ffffff;
    padding: 2.5rem 0 1.2rem;
}

.endangered-showcase-card {
    max-width: 1360px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1.05fr 1.35fr;
    overflow: hidden;
}

.endangered-showcase-media {
    position: relative;
    min-height: 420px;
    background: #d9d9d9;
}

.endangered-showcase-media-main,
.endangered-showcase-media-overlay,
.endangered-showcase-media-strip {
    position: absolute;
    overflow: hidden;
}

.endangered-showcase-media-overlay,
.endangered-showcase-media-strip {
    display: none;
}

.endangered-showcase-media-main {
    inset: 0;
}

.endangered-showcase-media-overlay {
    right: 0;
    top: 0;
    width: 58%;
    height: 56%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 32% 100%);
}

.endangered-showcase-media-strip {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 36%;
    clip-path: polygon(0 35%, 64% 0, 100% 0, 100% 100%, 0 100%);
}

.endangered-showcase-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.endangered-showcase-content {
    padding: 4.2rem 4.4rem;
}

.endangered-showcase-label {
    margin: 0 0 1.6rem;
    display: inline-block;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #4b7d1b;
    background: #dfe9c8;
    padding: 0.38rem 0.72rem;
}

.endangered-showcase-title {
    margin: 0 0 1.5rem;
    color: #232323;
    font-size: clamp(2.2rem, 3vw, 4rem);
    line-height: 1.2;
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 400;
}

.endangered-showcase-text {
    margin: 0 0 2.2rem;
    color: #5a5a5a;
    font-size: 1.05rem;
    line-height: 1.9;
    max-width: 65ch;
}

.endangered-showcase-link {
    display: inline-block;
    color: #1f2937;
    font-weight: 700;
    letter-spacing: 0.16em;
    font-size: 1.15rem;
    border-bottom: 1px solid #bfc5cd;
    padding-bottom: 0.45rem;
}

@media screen and (max-width: 992px) {
    .endangered-showcase-card {
        grid-template-columns: 1fr;
    }

    .endangered-showcase-media {
        min-height: 340px;
    }

    .endangered-showcase-content {
        padding: 2rem 1.4rem 2.3rem;
    }

    .endangered-showcase-text {
        max-width: none;
    }
}

.focus-area-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.focus-area-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.focus-area-image-link {
    display: block;
}

.focus-area-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.focus-area-content {
    padding: 1rem;
}

.focus-area-title {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    line-height: 1.35;
}

.focus-area-title a {
    color: #1f2937;
}

.focus-area-description {
    color: #4b5563;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media screen and (max-width: 992px) {
    .focus-area-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .focus-area-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   BLOG PAGE STYLES
   ========================================== */

/* Blog Header Section */
.blog-header {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 6rem 2rem 10rem 2rem;
    border-radius: 0 0 50% 50% / 0 0 4% 4%;
    margin-top: -2rem;
}

.blog-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 0 0 50% 50% / 0 0 4% 4%;
    z-index: 1;
}

.blog-header-content {
    max-width: 100%;
    padding: 0 2rem;
    margin: auto;
    position: relative;
    z-index: 2;
}

.blog-location-badge {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    padding: 0.6rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
}

.blog-location-icon {
    color: #fff;
    font-size: 1rem;
}

.blog-location-text {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
}

.blog-title {
    color: #fff;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.blog-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* Stats & Search Section */
.blog-stats-section {
    background: #fff;
    padding: 0;
    margin-top: -4.5rem;
    position: relative;
    z-index: 2;
}

.blog-stats-container {
    max-width: 100%;
    padding: 2rem;
    margin: auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: start;
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 240px;
}

.blog-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.blog-stat-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.blog-stat-number {
    color: #2d7a5f;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.blog-stat-label {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

.blog-contributors-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.blog-contributors-title {
    color: #1f2937;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.blog-contributors-list {
    --visible-contributors: 6;
    --contributor-item-height: 2.55rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-height: calc((var(--visible-contributors) * var(--contributor-item-height)) + ((var(--visible-contributors) - 1) * 0.85rem));
    overflow-y: auto;
    padding-right: 0.25rem;
}

.blog-contributor-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: var(--contributor-item-height);
    /* Button styles */
    background: transparent;
    border: none;
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    text-align: left;
}

.blog-contributor-item:hover {
    background: #f0fdf4;
    transform: translateX(4px);
}

.blog-contributor-item:focus {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

.blog-contributor-item:active {
    transform: translateX(2px);
}

.blog-contributor-item.active-contributor {
    background: #dcfce7;
    border-left: 3px solid #10b981;
}

.blog-contributor-item.active-contributor .blog-contributor-name {
    color: #059669;
}

.blog-contributor-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.blog-contributor-icon {
    color: #64748b;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.blog-contributor-name {
    color: #1f2937;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-contributor-count {
    background: #d1fae5;
    color: #065f46;
    padding: 0.3rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Priority Species Section */
.blog-species-section {
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 1.5rem;
}

.blog-species-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.blog-species-section--combined {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blog-species-section--combined .blog-species-header + .blog-species-header {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.blog-species-heading {
    color: #1f2937;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.blog-view-priority-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.2);
    white-space: nowrap;
}

.blog-view-priority-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.blog-view-priority-btn:focus {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

.blog-view-priority-btn:active {
    transform: translateY(0);
}

.blog-view-priority-btn.active-priority {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.25);
}

.blog-view-priority-btn.active-priority:hover {
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

.blog-view-priority-btn.active-priority:focus {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

.blog-view-priority-btn i {
    font-size: 1rem;
}

.blog-status-options {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.blog-status-options.is-open {
    display: flex;
}

.blog-status-option {
    background: #f0fdf4;
    color: #047857;
    border: 1px solid #d1fae5;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.blog-status-option:hover {
    background: #dcfce7;
    border-color: #86efac;
}

.blog-status-option.active-status {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border-color: #059669;
}

.blog-status-select {
    width: 100%;
    background: #f0fdf4;
    color: #047857;
    border: 1px solid #d1fae5;
    padding: 0.55rem 0.8rem;
    border-radius: 0.55rem;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.blog-status-select:focus {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

.blog-status-select--critical {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fca5a5;
}

.blog-status-select--critical:focus {
    outline-color: #dc2626;
}

.blog-status-select--endangered {
    background: #ffedd5;
    color: #9a3412;
    border-color: #fdba74;
}

.blog-status-select--endangered:focus {
    outline-color: #ea580c;
}

.blog-status-select--near_threatened {
    background: #fef9c3;
    color: #854d0e;
    border-color: #fde047;
}

.blog-status-select--near_threatened:focus {
    outline-color: #ca8a04;
}

.blog-status-select--least_concern {
    background: #dcfce7;
    color: #166534;
    border-color: #86efac;
}

.blog-status-select--least_concern:focus {
    outline-color: #16a34a;
}

.blog-species-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-species-button {
    background: #f0fdf4;
    color: #047857;
    border: 1px solid #d1fae5;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}

.blog-species-button:hover {
    background: #dcfce7;
    border-color: #86efac;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.15);
}

.blog-species-button:focus {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

.blog-species-button:active {
    transform: translateY(0);
}

.blog-species-button.active-species {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border-color: #059669;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.blog-species-button.active-species::before {
    content: '✓ ';
    font-weight: bold;
}

/* Old species grid styles - kept for legacy */
.blog-species-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
}

.blog-species-card-item {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #f3f4f6;
    position: relative;
    /* Button resets */
    font-family: inherit;
    font-size: inherit;
    text-align: left;
    padding: 0;
    width: 100%;
    display: block;
}

.blog-species-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.blog-species-card-item:focus {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

.blog-species-card-item:active {
    transform: translateY(-2px);
}

.blog-species-card-item.active-species {
    border: 2px solid #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    transform: translateY(-2px);
}

.blog-species-card-item.active-species::after {
    content: '✓';
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #10b981;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.blog-species-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f3f4f6;
}

.blog-species-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-species-card-item:hover .blog-species-card-image img {
    transform: scale(1.05);
}

.blog-species-card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.blog-species-card-title {
    color: #1f2937;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    min-height: 2.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-species-card-badge {
    display: none;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    text-transform: capitalize;
}

/* Old Priority Species Card styles (legacy) */
.blog-species-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 1.5rem;
}

.blog-species-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.blog-species-toggle:hover {
    opacity: 0.7;
}

.blog-species-toggle:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 0.25rem;
}

.blog-species-title {
    color: #1f2937;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
}

.blog-species-toggle-icon {
    color: #64748b;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.blog-species-toggle-icon.rotated {
    transform: rotate(180deg);
}

.blog-species-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-height: 350px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.25rem;
    margin-top: 1rem;
    transition: opacity 0.3s ease;
}

.blog-species-list::-webkit-scrollbar {
    width: 4px;
}

.blog-species-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.blog-species-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.blog-species-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.blog-species-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.blog-species-item:hover {
    background-color: #f9fafb;
}

.blog-species-image {
    width: 45px;
    height: 45px;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
    background: #f3f4f6;
}

.blog-species-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-species-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
}

.blog-species-name {
    color: #1f2937;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.blog-species-category {
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 500;
}

/* Content Area */
.blog-content-area {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 1rem;
}

.blog-search-wrapper {
    position: relative;
}

.blog-search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.2rem;
    pointer-events: none;
    z-index: 1;
}

.blog-search-input {
    width: 100%;
    border: 1px solid #d1d5db;
    outline: none;
    font-size: 1rem;
    background: #fff;
    color: #1f2937;
    font-family: inherit;
    border-radius: 12px;
    padding: 1rem 1.25rem 1rem 3rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.blog-search-indicator {
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-search-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.blog-search-label-icon {
    color: #2d7a5f;
    font-size: 1.2rem;
}

.blog-search-label-text {
    color: #1f2937;
    font-weight: 600;
}

.blog-search-term {
    color: #2d7a5f;
}

.blog-search-count {
    color: #64748b;
    font-size: 0.9rem;
}

.blog-search-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.blog-clear-filter-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.2);
}

.blog-clear-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.blog-clear-filter-btn i {
    font-size: 1rem;
}

.blog-cards-container {
    transition: opacity 0.3s ease;
}

.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: #fff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    padding: 0.12rem;
    border: 3px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(135deg, #7cb342 0%, #26a69a 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.blog-card-image-wrapper {
    height: 280px;
    overflow: hidden;
    background: #f3f4f6;
    border-radius: 1rem;
    margin-bottom: 0.05rem;
}

@media (max-width: 992px) {
    .blog-card-image-wrapper {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .blog-card-image-wrapper {
        height: 210px;
    }
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image {
    transform: scale(1.1);
}

.blog-card-content {
    padding: 0 0.15rem;
}

.blog-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-align: center;
}

.blog-card-badge-wrapper {
    text-align: center;
}

.blog-card-badge {
    display: inline-block;
    background: #2d7a5f;
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 1.5rem;
}

.blog-empty-icon {
    font-size: 4rem;
    color: #e5e7eb;
    margin-bottom: 1rem;
}

.blog-empty-title {
    color: #64748b;
    font-weight: 600;
}

.blog-empty-text {
    color: #94a3b8;
}

/* Pagination Wrapper - Full Width Bottom (Standalone Section) */
.blog-pagination-wrapper {
    width: 100%;
    background: #fff;
    padding: 1rem 2rem 2rem;
    display: flex;
    justify-content: center;
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: 1 !important;
    margin: 0;
}

.blog-pagination-wrapper.is-hidden {
    display: none;
}

/* Home Team Section */
.home-team-section {
    margin-top: 0;
    padding: 3.8rem 0 4.2rem;
    background: #ececec;
    width: 100%;
}

.about-team-section {
    background: #ffffff;
}

.home-team-section.about-team-section {
    background: #ffffff !important;
}

.home-team-container {
    text-align: center;
    width: min(94%, 1280px);
}

.home-team-heading {
    color: #4f7482;
    font-size: clamp(2.6rem, 4.2vw, 4rem);
    letter-spacing: 0.05em;
    margin: 0 0 2.2rem;
    font-family: 'Oswald', 'Montserrat', sans-serif;
    font-weight: 400;
}

.home-team-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(175px, 1fr));
    column-gap: 1.8rem;
    row-gap: 1rem;
    align-items: start;
}

.home-team-card {
    text-align: center;
}

.home-team-photo-wrap {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 0.95rem;
    border: 2px solid rgba(80, 118, 132, 0.12);
}

.home-team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-team-name {
    margin: 0;
    color: #111827;
    font-size: 2.25rem;
    line-height: 1.08;
    font-family: 'Oswald', 'Montserrat', sans-serif;
    letter-spacing: 0.005em;
    font-weight: 400;
}

.home-team-role {
    margin: 0.15rem 0 0;
    color: #69717d;
    font-size: 0.95rem;
    line-height: 1.15;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.home-team-action {
    margin-top: 1.85rem;
}

.home-team-btn {
    display: inline-block;
    background: #4b7484;
    color: #fff;
    border-radius: 0.12rem;
    padding: 0.55rem 1.6rem;
    font-size: 1.2rem;
    font-family: 'Oswald', 'Montserrat', sans-serif;
    letter-spacing: 0.03em;
    font-weight: 500;
    transition: transform 180ms ease, background-color 180ms ease;
}

.home-team-btn:hover {
    background: #3e6270;
    transform: translateY(-2px);
}

.home-scroll-chat-wrap {
    position: fixed;
    right: 0.45rem;
    bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 1300;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.home-scroll-chat-wrap.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.home-scroll-chat-btn {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: none;
    background: #38a662;
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.home-scroll-chat-icon {
    font-size: 1.7rem;
    line-height: 1;
    position: absolute;
    transition: opacity 180ms ease, transform 180ms ease;
}

.home-scroll-chat-icon--close {
    opacity: 0;
    transform: scale(0.75);
}

.home-scroll-chat-wrap.is-open .home-scroll-chat-icon--chat {
    opacity: 0;
    transform: scale(0.75);
}

.home-scroll-chat-wrap.is-open .home-scroll-chat-icon--close {
    opacity: 1;
    transform: scale(1);
}

/* ==========================================
   HOME PAGE CALENDAR REFINEMENTS
   ========================================== */

.posts-title-wrapper--reverse {
    flex-direction: row-reverse;
}

.home-calendar-section {
    background: #f9fafb;
    padding: 1.5rem 0;
}

.home-calendar-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.home-calendar-header {
    text-align: center;
    margin-bottom: 1rem;
}

.home-calendar-label {
    color: #10b981;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.3rem;
    font-size: 0.8rem;
}

.home-calendar-title {
    color: #1f2937;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.home-calendar-description {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

.home-calendar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.home-calendar-card,
.home-activity-card {
    background: #fff;
    padding: 1.2rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.home-calendar-month-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.home-calendar-month {
    color: #059669;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.home-calendar-nav {
    display: flex;
    gap: 0.5rem;
}

.home-calendar-nav-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #059669;
    padding: 0;
}

.home-calendar-weekdays,
.home-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.home-calendar-weekdays {
    margin-bottom: 0.5rem;
}

.home-calendar-weekdays div {
    text-align: center;
    font-weight: 600;
    color: #6b7280;
    font-size: 0.75rem;
}

.home-calendar-day {
    text-align: center;
    padding: 0.35rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.8rem;
    border-radius: 4px;
    color: #1f2937;
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease;
}

.home-calendar-day:hover {
    background: #f3f4f6;
}

.home-calendar-day.has-activity {
    text-decoration: underline;
    text-decoration-color: #059669;
}

.home-calendar-day.is-today {
    border-radius: 50%;
    background: #1e40af;
    color: #fff;
}

.home-calendar-day.is-selected {
    background: #059669;
    color: #fff;
}

.home-calendar-note-wrap {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.home-calendar-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #4b5563;
}

.home-calendar-note i {
    color: #059669;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.home-calendar-note p {
    margin: 0;
}

.home-calendar-note strong {
    color: #1f2937;
}

.home-activity-card {
    text-align: center;
}

.home-activity-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.home-activity-icon-wrap {
    width: 2.2rem;
    height: 2.2rem;
    background: #059669;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-activity-icon-wrap i {
    color: #fff;
    font-size: 1.1rem;
}

.home-activity-heading {
    text-align: left;
}

.home-activity-heading h3 {
    color: #1f2937;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.home-activity-heading p {
    color: #9ca3af;
    margin: 0;
    font-size: 0.8rem;
}

.home-activity-content {
    padding: 1.5rem 1rem;
}

.home-activity-content > i {
    font-size: 2rem;
    color: #e5e7eb;
    margin-bottom: 0.5rem;
}

.home-activity-content > p {
    color: #b4bcc5;
    font-size: 0.95rem;
    margin: 0.5rem 0;
}

.home-activity-content > a {
    color: #059669;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.home-activity-list {
    padding: 1rem 0;
}

.home-activity-item {
    background: #f0fdf4;
    border-left: 4px solid #059669;
    border-radius: 0.5rem;
    padding: 1rem 1.2rem;
    margin-bottom: 0.75rem;
    text-align: left;
}

.home-activity-item__title {
    color: #065f46;
    display: block;
    margin-bottom: 0.3rem;
}

.home-activity-item__description {
    color: #4b5563;
    font-size: 0.95rem;
}

.home-activity-empty {
    padding: 3rem 2rem;
    text-align: center;
}

.home-activity-empty i {
    font-size: 3rem;
    color: #e5e7eb;
    margin-bottom: 1rem;
}

.home-activity-empty p {
    color: #b4bcc5;
    font-size: 1.1rem;
    margin: 1rem 0;
}

/* ==========================================
   SEARCH PAGE REFINEMENTS
   ========================================== */

.search-page-banner-wrap {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
}

.search-page-banner {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin-inline: auto;
}

.search-page-results .post__author {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .home-calendar-grid {
        grid-template-columns: 1fr;
    }
}

.home-scroll-chat-panel {
    width: min(92vw, 360px);
    border-radius: 1rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
    margin-bottom: 0.8rem;
    transform-origin: bottom right;
    transform: scale(0.92);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.home-scroll-chat-view--form {
    display: none;
}

.home-scroll-chat-view--live {
    display: none;
    height: 560px;
}

.home-scroll-chat-wrap.is-form .home-scroll-chat-view--welcome {
    display: none;
}

.home-scroll-chat-wrap.is-form .home-scroll-chat-view--form {
    display: block;
}

.home-scroll-chat-wrap.is-live .home-scroll-chat-view--welcome,
.home-scroll-chat-wrap.is-live .home-scroll-chat-view--form {
    display: none;
}

.home-scroll-chat-wrap.is-live .home-scroll-chat-view--live {
    display: flex;
    flex-direction: column;
}

.home-scroll-chat-wrap.is-open .home-scroll-chat-panel {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.home-scroll-chat-panel-top {
    background: linear-gradient(145deg, #2fbe66 0%, #2ea760 100%);
    color: #ffffff;
    padding: 1.2rem;
}

.home-scroll-chat-panel-top h4 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
}

.home-scroll-chat-panel-top p {
    margin: 0.45rem 0 0;
    font-size: 1.1rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.95);
}

.home-scroll-chat-panel-btn {
    margin: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #d5dbe5;
    border-radius: 0.9rem;
    padding: 0.95rem 1.05rem;
    color: #111827;
    font-weight: 600;
    font-size: 1.1rem;
    background: #ffffff;
}

.home-scroll-chat-panel-btn i {
    color: #2fa75f;
    font-size: 1.45rem;
}

.home-scroll-chat-panel-btn:hover {
    background: #f7fafc;
}

.home-scroll-chat-form-head {
    background: #ffffff;
    color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e6ebf3;
    padding: 0.95rem 1rem;
}

.home-scroll-chat-back {
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 1.4rem;
    cursor: pointer;
}

.home-scroll-chat-form-title {
    flex: 1;
    margin-left: 0.35rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
}

.home-scroll-chat-form-menu {
    color: #64748b;
    font-size: 1.1rem;
}

.home-scroll-chat-form-card {
    background: #ffffff;
    margin: 0.9rem;
    border-radius: 0.9rem;
    border: 1px solid #e6ebf3;
    padding: 1.05rem;
}

.home-scroll-chat-brand-row {
    margin-bottom: 0.7rem;
}

.home-scroll-chat-brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.home-scroll-chat-form-card h5 {
    margin: 0 0 0.85rem;
    color: #031c46;
}

/* ==========================================
   LOGIN MODAL (AUTH MODAL)
   ========================================== */
.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-modal.is-open {
    display: flex;
    opacity: 1;
}

.auth-modal__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
    backdrop-filter: blur(2px);
}

.auth-modal__dialog {
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    max-width: 450px;
    width: 90%;
    margin: auto;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.8);
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-modal__close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border: 1px solid #d1d5db;
    font-size: 1.8rem;
    color: #374151;
    cursor: pointer;
    padding: 0;
    width: 2.2rem;
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.auth-modal__close:hover {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    color: #111827;
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.auth-modal h3 {
    margin: 0 0 1.75rem;
    font-size: 1.75rem;
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #0f172a 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-modal__alert {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.auth-modal__alert::before {
    content: '';
    width: 4px;
    height: 100%;
    border-radius: 2px;
    flex-shrink: 0;
    margin-top: 2px;
}

.auth-modal__alert--error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #7f1d1d;
    border: 1px solid #fecaca;
}

.auth-modal__alert--error::before {
    background: #da0f3f;
}

.auth-modal__alert--success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dbeafe 100%);
    color: #164e63;
    border: 1px solid #86efac;
}

.auth-modal__alert--success::before {
    background: #00c476;
}

.auth-modal__form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.auth-modal__form label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    display: block;
    letter-spacing: 0.3px;
}

.auth-modal__form input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #ffffff;
}

.auth-modal__password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-modal__password-wrapper input {
    padding-right: 2.75rem;
}

.auth-modal__password-toggle {
    position: absolute;
    right: 0.875rem;
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    transition: all 0.2s ease;
    padding: 0;
    z-index: 10;
}

.auth-modal__password-toggle:hover {
    color: #0f172a;
}

.auth-modal__form input::placeholder {
    color: #9ca3af;
}

.auth-modal__form input:focus {
    outline: none;
    border-color: #656af8;
    background: #f8f9ff;
    box-shadow: 0 0 0 4px rgba(101, 106, 248, 0.15);
}

.auth-modal__submit {
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #656af8 0%, #5854c7 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(101, 106, 248, 0.3);
    margin-top: 0.5rem;
}

.auth-modal__submit:hover {
    background: linear-gradient(135deg, #5854c7 0%, #4a46b0 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(101, 106, 248, 0.4);
}

.auth-modal__submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(101, 106, 248, 0.3);
}

.auth-modal__meta {
    text-align: center;
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

.auth-modal__meta a {
    color: #656af8;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
}

.auth-modal__meta a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #656af8;
    transition: width 0.3s ease;
}

.auth-modal__meta a:hover {
    color: #5854c7;
}

.auth-modal__meta a:hover::after {
    width: 100%;
}

/* Responsive auth modal */
@media (max-width: 768px) {
    .auth-modal__dialog {
        max-width: 95%;
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }

    .auth-modal h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .auth-modal__close {
        width: 2rem;
        height: 2rem;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .auth-modal__dialog {
        max-width: 100%;
        padding: 1.5rem 1.25rem;
        border-radius: 12px;
        margin: 0 1rem;
    }

    .auth-modal h3 {
        font-size: 1.25rem;
    }

    .auth-modal__form {
        gap: 1rem;
    }

    .auth-modal__submit {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

.home-scroll-chat-form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.home-scroll-chat-form input[type="email"],
.home-scroll-chat-form input[type="text"],
.home-scroll-chat-form input[type="tel"] {
    border: 1px solid #d2dae8;
    border-radius: 0.75rem;
    padding: 0.75rem 0.9rem;
    font-size: 1.4rem;
    color: #0f1e3a;
}

.home-scroll-chat-form input::placeholder {
    color: #8491a8;
}

.home-scroll-chat-check {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.15rem;
    color: #0f1e3a;
}

.home-scroll-chat-send {
    margin-top: 0.3rem;
    border: none;
    background: #40c33f;
    color: #ffffff;
    border-radius: 0.75rem;
    padding: 0.72rem 1rem;
    font-size: 1.45rem;
    font-weight: 700;
    cursor: pointer;
}

.home-scroll-chat-send:hover {
    background: #34ae33;
}

.home-scroll-chat-live-body {
    background: #f7f8fa;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 0.8rem 0.35rem 0.8rem 0.8rem;
    overflow: hidden;
    touch-action: pan-y;
}

.home-scroll-chat-message-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex: 1;
    min-height: 0;
    justify-content: flex-start;
    overflow-y: auto !important;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    padding-right: 0.35rem;
}

.home-scroll-chat-bubble {
    background: #eceff3;
    color: #03153a;
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    max-width: 88%;
    font-size: 1.3rem;
    line-height: 1.35;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media screen and (max-width: 600px) {
    .home-scroll-chat-view--live {
        height: 470px;
    }
}

.home-scroll-chat-bubble--bot {
    align-self: flex-start;
}

.home-scroll-chat-bubble--user {
    align-self: flex-end;
    background: #40c33f;
    color: #ffffff;
}

.home-scroll-chat-bubble--error {
    background: #fff1f2;
    color: #9f1239;
    border: 1px solid #fecdd3;
}

.home-scroll-chat-receipt {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: -0.3rem;
    color: #7e8798;
    font-size: 1.15rem;
    padding-right: 0.25rem;
}

.home-scroll-chat-receipt-check {
    width: 0.7rem;
    height: 0.38rem;
    border-left: 2px solid #7e8798;
    border-bottom: 2px solid #7e8798;
    transform: rotate(-45deg);
    display: inline-block;
    margin-top: -0.08rem;
}

.home-scroll-chat-receipt-label {
    letter-spacing: 0.02em;
}

.home-scroll-chat-live-input-row {
    border-top: 1px solid #dde3ec;
    background: #ffffff;
    padding: 0.7rem 0.35rem 0.7rem 0.8rem;
    display: flex;
    align-items: flex-end;
    gap: 0.6rem;
}

.home-scroll-chat-live-input-row textarea {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1.2rem;
    color: #0f1e3a;
    line-height: 1.35;
    min-height: 2.2rem;
    max-height: 8.6rem;
    resize: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    padding: 0.35rem 0;
}

.home-scroll-chat-live-input-row textarea::placeholder {
    color: #8794aa;
    font-size: 1.2rem;
}

.home-scroll-chat-live-input-row button {
    border: none;
    background: transparent;
    color: #a9b3c5;
    font-size: 1.8rem;
    cursor: pointer;
}

.home-scroll-chat-live-send-text {
    background: transparent !important;
    color: #40c33f !important;
    font-size: 2rem !important;
    font-weight: 600;
    border-radius: 0;
    padding: 0.2rem 0.15rem;
    line-height: 1;
    flex-shrink: 0;
    align-self: flex-end;
}

.home-scroll-chat-live-send-text:hover {
    background: transparent !important;
    color: #34ae33 !important;
}

.home-scroll-chat-live-footer {
    text-align: right;
    background: #ffffff;
    color: #6b7892;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    padding: 0 0.9rem 0.7rem;
}

.home-team-expanded {
    margin-top: 2.8rem;
    animation: homeTeamReveal 260ms ease;
}

.home-team-expanded-title {
    margin: 0.9rem 0 2rem;
    color: #111827;
    font-family: 'Oswald', 'Montserrat', sans-serif;
    font-size: clamp(2rem, 3.2vw, 3.4rem);
    font-weight: 400;
}

.home-team-section--page {
    margin-top: 4.5rem;
    min-height: calc(100vh - 4.5rem);
}

.home-team-section--page .home-team-expanded-title {
    margin-bottom: 2.4rem;
}

.team-lab-section {
    margin-top: 2.6rem;
    padding-top: 1.9rem;
    width: 100%;
}

.team-lab-top-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
}

.team-lab-top-row .team-lab-group + .team-lab-group {
    margin-top: 1.35rem;
}

.team-lab-bottom-row {
    margin-top: 1.4rem;
}

.team-lab-group {
    text-align: center;
}

.team-lab-group--wide {
    max-width: 820px;
    margin: 0 auto;
}

.team-lab-title {
    margin: 1.1rem 0 0.75rem;
    color: #7b2a12;
    font-family: 'Oswald', 'Montserrat', sans-serif;
    font-size: clamp(1.55rem, 2.3vw, 2.45rem);
    letter-spacing: 0.06em;
    font-weight: 600;
}

.team-lab-grid {
    display: grid;
    gap: 1.7rem 1.2rem;
    justify-items: center;
    justify-content: center;
}

.team-lab-grid--advisers {
    grid-template-columns: repeat(3, minmax(140px, 190px));
}

.team-lab-grid--fellows {
    grid-template-columns: repeat(4, minmax(140px, 190px));
}

.team-lab-grid--technicians {
    grid-template-columns: repeat(4, minmax(140px, 190px));
}

.team-lab-card {
    text-align: center;
    max-width: 190px;
}

.team-lab-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 0.95rem;
    box-sizing: border-box;
    border: 2px solid rgba(80, 118, 132, 0.12);
}

.team-lab-photo--adviser {
    border: 2px solid rgba(80, 118, 132, 0.12);
}

.team-lab-photo--fellow {
    border: 2px solid rgba(80, 118, 132, 0.12);
}

.team-lab-name {
    margin: 0;
    color: #111827;
    font-size: 2.25rem;
    line-height: 1.08;
    font-family: 'Oswald', 'Montserrat', sans-serif;
    letter-spacing: 0.005em;
    font-weight: 400;
}

.team-lab-role {
    margin: 0.15rem 0 0;
    color: #69717d;
    font-size: 0.95rem;
    line-height: 1.15;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.home-team-grid--expanded {
    row-gap: 2rem;
}

@keyframes homeTeamReveal {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 1280px) {
    .home-team-grid {
        grid-template-columns: repeat(3, minmax(170px, 1fr));
        row-gap: 1.6rem;
    }
}

@media screen and (max-width: 760px) {
    .home-team-section {
        padding: 3rem 0 3.3rem;
    }

    .home-team-heading {
        font-size: 2.85rem;
        margin-bottom: 1.5rem;
    }

    .home-team-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
        gap: 1.35rem;
    }

    .home-team-photo-wrap {
        width: 128px;
        height: 128px;
    }

    .home-team-name {
        font-size: 1.95rem;
    }

    .home-team-role {
        font-size: 0.9rem;
    }

    .home-team-btn {
        font-size: 1.1rem;
    }

    .home-scroll-chat-wrap {
        right: 0.45rem;
        bottom: 0.9rem;
    }

    .home-scroll-chat-btn {
        width: 56px;
        height: 56px;
    }

    .home-scroll-chat-icon {
        font-size: 1.5rem;
    }

    .home-scroll-chat-panel {
        width: min(92vw, 320px);
    }

    .home-scroll-chat-panel-top h4 {
        font-size: 1.7rem;
    }

    .home-scroll-chat-panel-top p {
        font-size: 1rem;
    }

    .home-scroll-chat-form-card h5 {
        font-size: 1.65rem;
    }

    .home-scroll-chat-form input[type="email"],
    .home-scroll-chat-form input[type="text"],
    .home-scroll-chat-form input[type="tel"] {
        font-size: 1.2rem;
    }

    .home-scroll-chat-send {
        font-size: 1.3rem;
    }

    .home-scroll-chat-live-body {
        min-height: 360px;
    }

    .home-scroll-chat-bubble {
        font-size: 1.35rem;
    }

    .home-scroll-chat-live-input-row input {
        font-size: 1.25rem;
    }

    .home-scroll-chat-live-send-text {
        font-size: 1.05rem !important;
        padding: 0.45rem 0.75rem;
    }

    .home-team-expanded {
        margin-top: 2.2rem;
    }

    .home-team-expanded-title {
        margin-bottom: 1.35rem;
    }

    .team-lab-section {
        margin-top: 2.2rem;
        padding-top: 1.6rem;
    }

    .team-lab-top-row {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }

    .team-lab-grid--advisers,
    .team-lab-grid--fellows,
    .team-lab-grid--technicians {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }

    .team-lab-photo {
        width: 128px;
        height: 128px;
    }

    .team-lab-name {
        font-size: 1.95rem;
    }

    .team-lab-role {
        font-size: 0.9rem;
    }

    .team-lab-bottom-row {
        margin-top: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .home-team-grid {
        grid-template-columns: 1fr;
        max-width: 260px;
        margin: 0 auto;
    }

    .team-lab-grid--advisers,
    .team-lab-grid--fellows,
    .team-lab-grid--technicians {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    position: static !important;
    max-width: 1400px;
}

.blog-pagination-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #64748b;
    transition: all 0.2s;
}

.blog-pagination-btn:hover {
    background: #f8fafc;
}

.blog-pagination-btn-disabled {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
}

.blog-pagination-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-pagination-number.active {
    background: #2d7a5f;
    border: 1px solid #2d7a5f;
    color: #fff;
    font-weight: 700;
}

.blog-pagination-number:not(.active) {
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #64748b;
    font-weight: 500;
}

.blog-pagination-number:not(.active):hover {
    background: #f8fafc;
}

.blog-pagination-dots {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

/* Species Modal */
.species-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.species-modal.active {
    opacity: 1;
}

.species-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.species-modal-content {
    position: relative;
    background: #fff;
    border-radius: 1.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    z-index: 10000;
}

.species-modal.active .species-modal-content {
    transform: scale(1);
}

.species-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.species-modal-close:hover {
    background: #fff;
    transform: rotate(90deg);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.species-modal-close i {
    font-size: 1.5rem;
    color: #374151;
}

.species-modal-image {
    width: 100%;
    height: 300px;
    border-radius: 1.5rem 1.5rem 0 0;
    overflow: hidden;
    background: #f3f4f6;
}

.species-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.species-modal-body {
    padding: 2rem;
}

.species-modal-category-badge {
    margin-bottom: 0.75rem;
}

.species-modal-category-badge span {
    display: inline-block;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: #fff;
    padding: 0.375rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.species-modal-title {
    color: #1f2937;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.species-modal-description {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.species-modal-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(34, 197, 94, 0.2);
}

.species-modal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(34, 197, 94, 0.3);
}

.species-modal-button i {
    font-size: 1.2rem;
}

/* Make species items clickable with cursor pointer */
.blog-species-item {
    cursor: pointer;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .species-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .species-modal-image {
        height: 200px;
    }
    
    .species-modal-body {
        padding: 1.5rem;
    }
    
    .species-modal-title {
        font-size: 1.5rem;
    }
    
    .species-modal-close {
        width: 36px;
        height: 36px;
    }
    
    .species-modal-close i {
        font-size: 1.25rem;
    }
    
    /* Responsive Species Grid */
    .blog-species-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }
    
    .blog-species-card-image {
        height: 180px;
    }
    
    .blog-species-card-content {
        padding: 1rem;
    }
    
    .blog-species-card-title {
        font-size: 0.9rem;
        min-height: 2.5rem;
    }
    
    .blog-species-card-badge {
        display: none;
        font-size: 0.8rem;
        padding: 0.4rem 0.85rem;
    }
    
    /* Responsive Species Buttons */
    .blog-species-header {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
    }
    
    .blog-species-heading {
        font-size: 0.95rem;
    }
    
    .blog-view-priority-btn {
        padding: 0.45rem 0.85rem;
        font-size: 0.75rem;
        gap: 0.3rem;
    }
    
    .blog-view-priority-btn i {
        font-size: 0.9rem;
    }
    
    .blog-species-buttons {
        gap: 0.4rem;
    }
    
    .blog-species-button {
        padding: 0.45rem 0.85rem;
        font-size: 0.75rem;
    }
    
    .blog-search-indicator {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .blog-search-meta {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .blog-clear-filter-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Responsive Annual Reports */
    .annual-reports-title {
        font-size: 2rem;
    }
    
    .annual-reports-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .annual-reports-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .annual-report-card {
        height: 400px;
    }
    
    .annual-report-year-text {
        font-size: 4rem;
    }
    
    .annual-report-label {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .annual-report-year-overlay {
        top: 1.5rem;
        left: 1.5rem;
    }
    
    .annual-report-info-overlay {
        padding: 1.5rem;
    }
    
    .annual-report-card-title {
        font-size: 1.25rem;
    }
    
    .annual-report-date {
        font-size: 0.85rem;
    }
    
    .annual-report-description {
        font-size: 0.85rem;
        margin-top: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .annual-report-btn {
        font-size: 0.85rem;
        padding: 0.6rem 1.25rem;
    }
    
    .annual-report-authors {
        font-size: 0.8rem;
    }
}

/* Focus Area Form Page */
.form__section--focus-area {
    background-image: url('../images/1771864302310437493_474723541349763_7715238629656000271_n-1.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

/* ==========================================
   SITE FOOTER (Redesigned)
   ========================================== */

.site-footer {
    position: relative;
    background-color: #0f172a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 3.5rem 2rem 1.5rem;
    color: #f8fafc;
    overflow: hidden;
}

.site-footer__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.88) 100%);
    z-index: 1;
}

.footer__socials {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.footer__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    background: linear-gradient(135deg, #656af8 0%, #5854c7 100%);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(101, 106, 248, 0.3);
}

.footer__socials a:hover {
    background: linear-gradient(135deg, #5854c7 0%, #4a46b0 100%);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(101, 106, 248, 0.5);
    color: #ffffff;
}

.site-footer__container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.footer__container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(248, 250, 252, 0.15);
    flex-wrap: nowrap;
}

.site-footer__container article {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.site-footer__container h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 0.75rem;
}

.site-footer__container h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #656af8 0%, #5854c7 100%);
}

.site-footer__container p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #cbd5e1;
    margin: 0 0 0.75rem;
}

.site-footer__container i {
    color: #656af8;
    margin-right: 0.5rem;
    width: 18px;
    text-align: center;
}

.site-footer__subline {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.site-footer__container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__container li {
    margin-bottom: 0.75rem;
}

.site-footer__container a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.site-footer__container a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #656af8;
    transition: width 0.3s ease;
}

.site-footer__container a:hover {
    color: #f8fafc;
}

.site-footer__container a:hover::before {
    width: 100%;
}

.site-footer__copyright {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(248, 250, 252, 0.1);
    font-size: 0.9rem;
    color: #94a3b8;
}

.site-footer__copyright small {
    display: block;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer__container {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .site-footer__container h4 {
        font-size: 0.95rem;
    }

    .site-footer__container p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 2.5rem 1.5rem 1rem;
    }

    .footer__container {
        flex-wrap: wrap;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .site-footer__container article {
        text-align: center;
        flex: 1 1 calc(50% - 0.75rem);
    }

    .site-footer__container h4 {
        text-align: center;
        font-size: 1rem;
    }

    .site-footer__container h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .site-footer__container i {
        margin-right: 0.25rem;
    }

    .site-footer__subline {
        margin-left: 0;
    }

    .footer__socials {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .footer__socials a {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 2rem 1rem 0.75rem;
    }

    .footer__container {
        flex-wrap: wrap;
        flex-direction: column;
        gap: 1.5rem;
    }

    .site-footer__container article {
        flex: 1 1 100%;
    }

    .site-footer__container h4 {
        font-size: 0.95rem;
    }

    .site-footer__container p {
        font-size: 0.9rem;
    }

    .footer__socials {
        gap: 0.75rem;
    }

    .footer__socials a {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.9rem;
    }
}

/* Form input optimization for mobile (tap targets) */
@media (max-width: 479px) {
    /* Ensure 48px minimum tap targets for form inputs */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="phone"],
    input[type="tel"],
    input[type="number"],
    input[type="date"],
    textarea,
    select {
        min-height: 44px;
        padding: 0.75rem 0.875rem;
        font-size: 1rem;
    }

    label {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    /* Contact form specific */
    .contact-form-group {
        margin-bottom: 1rem;
    }

    /* Container padding for very small screens */
    .container {
        width: min(95%, 1240px);
        margin-left: auto;
        margin-right: auto;
        padding: 0 0.75rem;
    }

    section {
        margin-top: 1.5rem;
        width: 100vw;
    }

    /* Button sizing for mobile */
    button,
    input[type="submit"],
    .btn {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    /* Reduce heading sizes further for very small screens */
    h1 {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }

    h2 {
        font-size: clamp(1.2rem, 3.5vw, 1.7rem);
    }

    h3 {
        font-size: clamp(1rem, 3vw, 1.1rem);
    }

    /* Mobile navigation menu optimization for <480px */
    nav button {
        min-height: 48px;
        min-width: 48px;
        padding: 0.5rem;
        z-index: 1001;
    }

    .nav__items {
        width: 100%;
        right: 0;
        left: 0;
        z-index: 1000;
    }

    .nav__items li {
        height: 3.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav__items li a {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .nav__profile {
        display: none;
    }
}
