﻿/* =========================================================
   DTNBWED – PUBLIC SITE (TOKEN-DRIVEN, CLEAN)
   ========================================================= */

/* =========================
   RESET / BASE
   ========================= */

body {
    margin: 0;
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    color: var(--color-text-primary);
    background-color: var(--bg-section-default);
}
p{
    text-align:justify;
}
a {
    text-decoration: none;
    transition: var(--transition-default);
}

/* =========================
   GLOBAL WIDTH SYSTEM
   ========================= */

.site-topbar-inner {
    max-width: calc(var(--spacing-container-maxwidth) + 200px); /* +100px each side */
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}



.site-nav-inner {
    max-width: var(--spacing-container-maxwidth);
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   TOP BAR
   ========================= */

.site-topbar {
    background-color: var(--bg-topbar);
    border-bottom: var(--border-width-default) solid var(--color-border-light);
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-bold);
    white-space: nowrap;
}

    .site-topbar a {
        color: var(--color-text-secondary);
    }

        .site-topbar a:hover {
            color: var(--color-text-link-hover);
            text-decoration: none;
        }

.site-topbar-left,
.site-topbar-right {
    display: flex;
    align-items: center;
}

    .site-topbar-right > * {
        margin-left: 8px;
    }

.site-topbar .divider {
    margin: 0 8px;
    color: var(--color-border-light);
}

/* =========================
   HEADER / IDENTITY STRIP
   ========================= */

.site-identity-band {
    background-color: var(--bg-header);
    border-bottom: var(--border-width-default) solid var(--color-border-light);
}

.identity-emblem {
    height: 92px;
    margin-right: 4px;
}

.identity-logo {
    height: 102px;
    margin-right: 4px;
}

.identity-text {
    line-height: 1.25;
}

.identity-hi {
    font-family: var(--font-family-hindi);
    font-size: var(--font-size-heading);
    font-weight: var(--font-weight-bold);
}

.identity-goi {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
}

.identity-board-en {
    font-size: var(--font-size-heading);
    font-weight: 800;
    text-transform: uppercase;
}

.identity-logos a {
    margin-left: 0px;
}

.identity-logos img {
    height: 70px;
}

/* =========================
   NAVBAR
   ========================= */

/* =========================================================
   NAVBAR – TOKEN PURE, TEMPLATE MATCHED
   ========================================================= */

.site-navbar {
    background-color: var(--bg-navbar);
    border-bottom: var(--border-width-default) solid var(--color-border-light);
}

.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

    .main-menu > li {
        position: relative;
    }

        /* TOP LEVEL LINKS */
        .main-menu > li > a {
            display: block;
            padding: var(--spacing-nav-item);
            color: var(--color-text-inverse);
            font-weight: var(--font-weight-normal);
        }

            /* HOVER */
            .main-menu > li > a:hover {
                background-color: var(--bg-navbar-hover);
            }

        /* ACTIVE (TOP LEVEL) */
        .main-menu > li.active > a {
            background-color: var(--bg-navbar-active);
            font-weight: var(--font-weight-bold);
        }

/* =========================================================
   SUBMENU
   ========================================================= */

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: var(--bg-navbar-hover);
    z-index: 1000;
}

/* SHOW ON HOVER */
.has-children:hover > .submenu {
    display: block;
}

/* SUBMENU ITEM */
.submenu li {
    border-bottom: var(--border-width-default) solid var(--color-border-light);
}

    .submenu li:last-child {
        border-bottom: none;
    }

    /* SUBMENU LINK */
    .submenu li > a {
        display: block;
        padding: 10px 16px;
        color: var(--color-text-inverse);
        font-size: var(--font-size-small);
    }

        /* SUBMENU HOVER */
        .submenu li > a:hover {
            background-color: var(--bg-navbar-hover);
        }

    /* SUBMENU ACTIVE */
    .submenu li.active > a {
        background-color: var(--bg-navbar-active);
        font-weight: var(--font-weight-bold);
    }

/* KEEP PARENT ACTIVE WHEN CHILD IS ACTIVE */
.main-menu > li.has-children.active > a {
    background-color: var(--bg-navbar.active);
}


/* =========================
   BODY
   ========================= */

.site-body {
    background-color: var(--bg-section-default);
}

/* =========================
   BREADCRUMB
   ========================= */

.site-breadcrumb {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-block-margin);
}

    .site-breadcrumb a {
        color: var(--color-text-link);
    }

        .site-breadcrumb a:hover {
            color: var(--color-text-link-hover);
        }

.breadcrumb-separator {
    margin: 0 6px;
    color: var(--color-border-light);
}

/* =========================
   FOOTER
   ========================= */
.site-header-inner,
.site-body-inner {
    max-width: var(--spacing-container-maxwidth);
    margin: 0 auto;
    padding: var(--spacing-section-padding) var(--spacing-block-margin);
    box-sizing: border-box;
}
/* ================= FOOTER WRAPPER ================= */
.site-footer {
    background-color: var(--bg-footer-bottom);
    color: var(--color-footer-text);
    width: 100%;
    position: relative;
}

    /* thin navigation-colored strip */
    .site-footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;
        /* SAME COLOR AS NAV ACTIVE BAR */
        background-color: var(--bg-footer-top);
        z-index: 2;
    }



/* ================= FOOTER INNER (CENTERED) ================= */
.site-footer-inner {
    padding-top: calc(var(--spacing-section-padding) + 8px);
    max-width: var(--spacing-container-maxwidth);
    margin: 0 auto;
    padding: 48px var(--spacing-block-margin);
    box-sizing: border-box;
}


/* ================= FOOTER GRID ================= */
.footer-menus {
    display: grid;
    grid-template-columns: 40% 20% 20% 20%;
    gap: 32px;
}

/* ================= FOOTER COLUMNS ================= */
.footer-column {
    box-sizing: border-box;
}

    /* ABOUT COLUMN */
    .footer-column.about-column p {
        font-size: var(--font-size-small);
        line-height: 1.6;
        margin-bottom: 12px;
    }

    /* HEADINGS */
    .footer-column h4 {
        margin-bottom: 12px;
        font-size: var(--font-size-heading);
        color: var(--color-footer-heading, #fff);
    }

/* LINKS */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 6px;
    }

.footer-link {
    color: var(--color-footer-link);
    text-decoration: none;
}

    .footer-link:hover {
        color: var(--color-footer-link-hover);
        text-decoration: underline;
    }

/* ================= COPYRIGHT ================= */
.site-footer-copy {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: var(--font-size-small);
    text-align: center;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .footer-menus {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-menus {
        grid-template-columns: 1fr;
    }
}




/* =========================
   OCCASION NAVBAR FLOAT
   ========================= */

.navbar-wrapper {
    position: relative;
}

.occasion-navbar-wrapper {
    position: absolute;
    right: 16px;
    bottom: -18px;
    pointer-events: none;
    z-index: 20;
}

.occasion-navbar-icon {
    height: 36px;
    animation: occasion-float 3.5s ease-in-out infinite;
}

@keyframes occasion-float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0);
    }
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 768px) {

    .site-topbar-inner,
    .site-header-inner,
    .site-nav-inner,
    .site-body-inner,
    .site-footer-inner {
        padding-left: 12px;
        padding-right: 12px;
    }

    .site-header-inner {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-block-margin);
    }

    .main-menu {
        flex-wrap: wrap;
    }
}

/* =========================
   LANGUAGE SWITCH
   ========================= */

.lang-switch {
    font-weight: var(--font-weight-bold);
    color: var(--color-text-link);
}

    .lang-switch:hover {
        color: var(--color-text-link-hover);
        text-decoration: underline;
    }
/* =========================================================
   HOME PAGE – SCROLLING BANNER
   ========================================================= */

.home-banner {
    background-color: var(--bg-section-default);
    overflow: hidden;
}

.home-banner-inner {
    max-width: 100%;
    margin: 0 auto;
}

.home-banner-track {
    display: flex;
    animation: banner-scroll 30s linear infinite;
}

.home-banner-slide {
    min-width: 100%;
    position: relative;
}

    .home-banner-slide img {
        width: 100%;
        height: auto;
        display: block;
    }

/* Smooth infinite scroll */
@keyframes banner-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}
/* ===========================
   HERO SLIDER – CIRCULAR
   =========================== */

.hero-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #000;
}

.hero-track {
    display: flex;
    height: 100%;
    transition: transform 0.9s ease-in-out;
}

.hero-slide {
    min-width: 100%;
    height: 100%;
}

    .hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* CONTROLS */
.hero-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    font-size: 30px;
    padding: 10px 14px;
    cursor: pointer;
    opacity: 0;
    transition: opacity .3s;
    z-index: 5;
}

.hero-wrapper:hover .hero-btn {
    opacity: 1;
}

/* LEFT / RIGHT */
.hero-btn.left {
    left: 15px;
}

.hero-btn.right {
    right: 15px;
}

/* PAUSE – RIGHT SIDE */
.hero-btn.pause {
    top: auto;
    bottom: 20px;
    right: 20px;
    font-size: 18px;
    padding: 8px 12px;
}
/* ================= QUICK LINKS BAR ================= */


.quick-links-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: var(--bg-footer-bottom);
    border-top: var(--border-width-default) solid var(--color-border-light);
    padding: 18px 10px;
}

/* ================= QUICK LINK ================= */

.quick-link {
    position: relative;
    text-align: center;
    text-decoration: none;
    color: var(--color-text-inverse);
}

    /* ================= ICON ================= */

    .quick-link i {
        display: block;
        font-size: 48px;
        margin-bottom: 6px;
        color: var(--color-text-inverse);
        transition: transform 0.25s ease-in-out;
    }

    .quick-link:hover i {
        transform: scale(1.0417); /* ~ +2px visual increase */
    }

    /* ================= TEXT ================= */

    .quick-link span {
        display: block;
        font-size: var(--font-size-base);
        line-height: 1.2;
        font-weight: 500;
        color: var(--color-text-inverse);
        transition: font-weight 0.15s ease-in-out;
    }

    .quick-link:hover span {
        font-weight: 600;
    }

    /* ================= NEW BADGE ================= */

    .quick-link .badge-new {
        position: absolute;
        top: -6px;
        right: -10px;
        font-size: 10px;
        font-weight: 700;
        padding: 2px 6px;
        border-radius: 10px;
        background: var(--color-accent);
        color: var(--color-text-inverse);
        line-height: 1;
    }


/* NEW badge */
.badge-new {
    position: absolute;
    top: -6px;
    right: -14px;
    background: var(--color-accent);
    color: var(--color-text-inverse);
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    padding: 2px 6px;
    border-radius: var(--border-radius-default);
}
/* ===========================
   ICON PICKER – ADMIN
   =========================== */

.icon-picker {
    background: var(--bg-card);
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
    gap: 10px;
}

.icon-choice {
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-default);
    padding: 10px;
    text-align: center;
    cursor: pointer;
    background: var(--bg-card);
}

    .icon-choice i {
        font-size: 22px;
        color: var(--color-primary);
    }

    .icon-choice input {
        display: none;
    }

    .icon-choice:hover {
        border-color: var(--color-text-link-hover);
    }

    .icon-choice input:checked + i {
        color: var(--color-accent);
    }

.menu-tree li {
    cursor: grab;
}

    .menu-tree li:active {
        cursor: grabbing;
    }

/* ================= LEFT CONTEXT MENU ================= */
/* ================================
   PAGE LAYOUT
   ================================ */

.page-layout {
    display: grid;
    grid-template-columns: 280px 1fr; /* fixed, consistent width */
    gap: 28px;
    margin-top: 18px;
    align-items: start; /* critical: prevent stretch */
}

/* ================================
   LEFT SIDEBAR WRAPPER
   ================================ */

.page-sidebar {
    align-self: start;
}

/* ================================
   LEFT CONTEXT MENU CONTAINER
   ================================ */

/* ======================================================
   LEFT CONTEXT MENU (TOKEN DRIVEN)
   ====================================================== */

.left-context-menu {
    background: var(--bg-navbar);
    border: var(--border-width-default) solid var(--color-border-light);
    margin-top: 20px;
}

/* list */
.left-context-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* item */
.left-context-menu-item {
    height: 46px;
    display: flex;
}

    /* divider */
    .left-context-menu-item + .left-context-menu-item {
        border-top: 2px dotted var(--color-border-light);
    }

/* link */
.left-context-menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0 14px;
    color: var(--color-text-inverse);
    text-decoration: none;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    transition: var(--transition-default);
}

    /* icon */
    .left-context-menu-link i {
        min-width: 18px;
        text-align: center;
        font-size: 14px;
        opacity: 0.85;
    }

    /* -------------------------------
   HOVER
-------------------------------- */
    .left-context-menu-link:hover {
        background: var(--bg-navbar-hover);
        color: var(--color-text-inverse);
    }

/* -------------------------------
   ACTIVE ITEM (ONLY ONE)
-------------------------------- */
.left-context-menu-item.active .left-context-menu-link {
    background: var(--bg-navbar-active);
    color: var(--color-text-inverse);
    font-weight: var(--font-weight-bold);
}

/* -------------------------------
   PARENT ITEM (LABEL ONLY)
-------------------------------- */
.left-context-menu-item.parent .left-context-menu-link {
    font-weight: var(--font-weight-bold);
}

    /* parent hover should NOT look active */
    .left-context-menu-item.parent .left-context-menu-link:hover {
        background: var(--bg-navbar-hover);
    }



/* ================================
   PAGE CONTENT
   ================================ */

.page-content {
    background: var(--bg-section-default);
    padding: 8px 4px;
}

    .home-about p,
    .news-text p,
    .page-content p {
        text-align: justify;
    }
/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 768px) {
    .page-layout {
        grid-template-columns: 1fr;
    }

    .page-sidebar {
        margin-bottom: 20px;
    }
}
/* ===============================
   LEADERSHIP BOARD – THEMED
   =============================== */

.leadership-board {
    padding: 2.75rem 0;
    background: var(--bg-section-default);
}

.leadership-board-inner {
    max-width: var(--spacing-container-maxwidth);
    margin: 0 auto;
    padding: 0 1rem;
}

/* GRID */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

/* CARD */
.leader-card {
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .leader-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.14);
    }

/* PHOTO */
.leader-photo {
    height: 260px;
    background: #f2f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .leader-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* SUBTLE OVERLAY */
    .leader-photo::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to bottom, rgba(0,0,0,0) 55%, rgba(0,0,0,0.25) );
        opacity: 0;
        transition: opacity 0.25s ease;
    }


/* INFO BAND */
.leader-info {
    background: var(--bg-navbar-active);
    padding: 0.85rem 0.75rem;
    text-align: center;
    transition: background 0.25s ease, color 0.25s ease;
}

/* NAME */
.leader-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-inverse);
    margin-bottom: 3px;
}

/* DESIGNATION */
.leader-designation {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    line-height: 1.25;
}

/* HOVER – ACTIVE NAV COLOR */
.leader-card:hover .leader-info {
    background: var(--bg-navbar);
}
/* ===============================
   IMAGE GLOW ON HOVER (SUBTLE)
   =============================== */

.leader-photo img {
    transition: filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

/* Soft internal glow */
.leader-card:hover .leader-photo img {
    filter: brightness(1.05);
    box-shadow: 0 0 0 6px rgba(255,255,255,0.9) inset, 0 0 22px rgba(13,73,130,0.35); /* bg-navbar-active tone */
    transform: scale(1.015);
}


/* MOBILE */
@media (max-width: 576px) {
    .leader-photo {
        height: 220px;
    }
}

/* ================= THEMED HEADER ================= */

.themed-header {
    background: var(--bg-navbar-active);
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 6px 6px 0 0;
}

    .themed-header h3 {
        color: #ffffff;
        font-size: var(--font-size-heading);
    }

    .themed-header .view-all {
        color: #ffffff;
        font-size: var(--font-size-small);
    }

        .themed-header .view-all:hover {
            text-decoration: underline;
        }

/* ================= NEWS LIST ================= */

. /* ===============================
   NEWS – BASE (SHARED)
   =============================== */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border-muted);
    align-items: flex-start;
}

    .news-item:last-child {
        border-bottom: none;
    }

.news-thumb {
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
    background: var(--bg-section-alt);
}

    .news-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
/* ===============================
   HOME PAGE – NEWS
   =============================== */

.home-news .news-thumb {
    width: 110px;
    height: 80px;
}

.home-news .news-title {
    font-weight: 600;
    color: var(--color-primary);
}

.home-news .news-summary {
    margin-top: 6px;
    color: var(--color-text-muted);
}

.badge-new-inline {
    background: var(--color-danger);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 6px;
}
/* ===============================
   NEWS LISTING PAGE
   =============================== */

.news-listing-page .news-item {
    gap: 20px;
}

.news-listing-page .news-thumb {
    width: 220px;
    height: 150px;
}

.news-listing-page .news-title-text {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    color: var(--color-primary);
}

.news-listing-page .news-meta {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.news-listing-page .news-excerpt {
    margin-top: 8px;
    color: var(--color-text-secondary);
}

.news-badge-new {
    background: var(--color-accent);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 6px;
}


/* ================= TEXT ================= */

.news-text {
    flex: 1;
}


.news-date {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.news-text p {
    margin: 4px 0 0;
    font-size: var(--font-size-small);
    color: var(--color-text-secondary);
}

/* ================= BADGE ================= */
.has-new-badge {
    position: relative;
}


.topbar-new {
    display: inline-block;
    margin-left: 6px;
    background: var(--bg-navbar-active);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
}

/* ================= HOME INFO STRIP LAYOUT ================= */
/* ================= HOME INFO STRIP ================= */

.home-info-strip {
    padding: 2rem 0;
}

.info-strip-grid.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .info-strip-grid.two-column {
        grid-template-columns: 1fr;
    }
}

/* ================= CARD HEADER ================= */

.info-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ================= NEWS ================= */

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-border-muted);
}

    .news-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

.news-thumb img {
    width: 110px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.news-text {
    flex: 1;
}

.news-title {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

    .news-title:hover {
        color: var(--color-primary-dark);
        text-decoration: underline;
    }

.news-summary {
    margin-top: 0.5rem;
    color: var(--color-text-muted);
}

/* NEW badge */

.badge-new-inline {
    background: #d32f2f;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: middle;
    margin-right: 6px;
}

/* Read more inline */

.read-more-inline {
    margin-left: 6px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

/* ================= NOTICES ================= */
/* ===============================
   NOTICE – HOME STRIP (ENHANCED)
   =============================== */

.notice-item.enhanced {
    padding: 12px 10px;
    border-bottom: 1px solid var(--color-border-muted);
    gap: 12px;
}

.notice-left {
    gap: 10px;
    flex: 1;
}

.notice-icon {
    font-size: 1.3rem;
    color: var(--color-accent);
    margin-top: 2px;
}

.notice-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.notice-title-text {
    line-height: 1.4;
}

.notice-meta {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.notice-meta-item {
    white-space: nowrap;
}

.notice-meta-sep {
    opacity: 0.5;
}

.notice-right {
    display: flex;
    align-items: center;
}

.notice-download-icon {
    font-size: 1.4rem;
    color: var(--color-danger, #c0392b);
    text-decoration: none;
}

    .notice-download-icon:hover {
        opacity: 0.85;
    }
.notice-filter-bar .form-control,
.notice-filter-bar .form-select {
    min-height: 38px;
}

.notice-filter-bar .btn-filter,
.notice-filter-bar .btn-clear {
    height: 44px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    font-size: var(--font-size-base);
    background: var(--bg-navbar-active);
    color: var(--color-text-inverse);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.notice-filter-bar .btn-clear {
    background: #bfc3c7; /* or var(--bg-section-alt) */
    color: #052e57; /* or var(--color-text-primary) */
}



.notice-table th,
.notice-table td {
    vertical-align: middle;
}

.notice-table th {
    background: var(--color-bg-muted, #f8f9fa);
    font-weight: 600;
}

.notice-table-wrapper {
    border: 1px solid var(--color-border-muted);
    border-radius: 6px;
    overflow: hidden;
}
.badge-new-inline {
    background: var(--color-accent);
    color: var(--color-on-accent);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}


.info-card-header.themed-header {
    min-height: 40px; /* same visual height */
    padding: 0 1rem; /* horizontal consistency */
    display: flex;
    align-items: center; /* vertical centering */
    justify-content: space-between;
}

.info-card-header h3 {
    margin: 0;
    font-size: 1.05rem; /* optional but stabilizes height */
    line-height: 1.2;
}

.info-card-header i {
    font-size: 1rem;
    vertical-align: middle;
}

.info-card-header .view-all {
    font-size: 0.9rem;
    white-space: nowrap;
}

/* =========================================================
   FIX: Pages without left context menu (News, etc.)
   ========================================================= */

/* When there is NO sidebar rendered */
.page-layout:has(> .page-content):not(:has(> .page-sidebar)) {
    grid-template-columns: 1fr;
}

.news-list {
    max-width: 100%;
}
/* =========================================================
   NEWS LIST – PUBLIC (TOKEN DRIVEN)
   ========================================================= */

.news-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.news-thumb {
    width: 120px;
    height: 90px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
    background: var(--bg-section-alt);
}

    .news-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.news-body {
    flex: 1;
}

/* HEADER ROW */
.news-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

/* TITLE (NO LINK) */
.news-title-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
}

/* NEW BADGE – SMALL */
.news-badge-new {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 6px;
    background: var(--color-accent);
    color: var(--color-text-inverse);
    border-radius: 4px;
}

/* DATE */
.news-date-inline {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* EXCERPT */
.news-excerpt {
    margin: 6px 0 8px;
    font-size: var(--font-size-small);
    color: var(--color-text-secondary);
    text-align: justify;
}

/* READ MORE */
.news-read-more {
    font-weight: 600;
    color: var(--color-primary);
}

    .news-read-more:hover {
        text-decoration: underline;
    }

/* =========================================================
   FILTER BAR
   ========================================================= */

/* ================= NEWS FILTER BAR ================= */

.news-filters-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 12px;
    width: 100%;
    margin-bottom: 24px;
    align-items: stretch;
}

    /* INPUT FIELDS */
    .news-filters-grid input[type="text"],
    .news-filters-grid input[type="date"] {
        width: 100%;
        height: 44px;
        padding: 8px 12px;
        border: 1px solid var(--color-border-light);
        border-radius: 6px;
        font-size: var(--font-size-base);
        font-family: inherit;
        background: #ffffff;
        box-sizing: border-box;
    }

    /* FILTER BUTTON */
    .news-filters-grid .btn-filter {
        width: 100%;
        height: 44px;
        border-radius: 6px;
        border: none;
        font-weight: 600;
        font-size: var(--font-size-base);
        background: var(--bg-navbar-active);
        color: var(--color-text-inverse);
        cursor: pointer;
    }

        .news-filters-grid .btn-filter:hover {
            background: var(--bg-navbar);
        }

    /* CLEAR BUTTON */
    .news-filters-grid .btn-clear {
        width: 100%;
        height: 44px;
        border-radius: 6px;
        border: 1px solid var(--color-border-light);
        background: transparent;
        color: var(--color-text-primary);
        font-weight: 600;
        font-size: var(--font-size-base);
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }

        .news-filters-grid .btn-clear:hover {
            background: var(--bg-section-alt);
        }

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
    .news-filters-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= NEWS META ================= */

.news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.news-date {
    font-size: var(--font-size-small);
    color: var(--color-text-muted);
}

@media (max-width: 768px) {

    .news-listing-page .news-item {
        flex-direction: column;
    }

    .news-listing-page .news-thumb {
        width: 100%;
        height: 200px;
    }
}
/* ===============================
   NEWS DATE BADGE
   =============================== */

.news-date-badge {
    background: rgba(13, 73, 130, 0.08); /* derived from bg-navbar-active */
    color: var(--color-primary);
    border: none;
}


.news-details-layout {
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 28px;
}

/* HERO */
/* ===========================
   NEWS DETAILS – HERO
   =========================== */

.news-hero {
    position: relative;
    width: 65%;
    height: 420px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 24px;
    background: #000;
}

    .news-hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block; /* removes white gap */
    }

/* Dark gradient overlay */
.news-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background: linear-gradient( to top, rgba(0,0,0,0.75), rgba(0,0,0,0.15), rgba(0,0,0,0) );
    color: #fff;
}

/* Title */
.news-hero-title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 8px 0;
    color: #ffffff;
}

/* Date badge */
.news-hero-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
}

/* ===========================
   LAYOUT FIX
   =========================== */

.news-details-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.news-details-main {
    flex: 0 0 65%;
}

.news-details-sidebar {
    flex: 0 0 35%;
}

/* =========================================================
   NEWS DETAILS PAGE – LAYOUT FIX
   ========================================================= */

.news-details-layout {
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 32px;
    align-items: start;
    margin-top: 24px;
}

/* ================= MAIN CONTENT ================= */

.news-main {
    width: 100%;
}

/* HERO IMAGE */
.news-hero {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

    .news-hero img {
        width: 100%;
        height: 420px;
        object-fit: cover;
        display: block;
    }

/* OVERLAY */
.news-hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    background: linear-gradient( to top, rgba(0,0,0,0.75), rgba(0,0,0,0.35), rgba(0,0,0,0) );
    color: #ffffff;
}

.news-hero-title {
    margin: 0 0 6px 0;
    font-size: 1.6rem;
    line-height: 1.25;
    font-weight: 700;
}

.news-hero-date {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* CONTENT */
.news-content {
    font-size: var(--font-size-base);
    line-height: 1.7;
    margin-top: 16px;
}

/* ================= SIDEBAR ================= */

.news-sidebar {
    width: 100%;
}

    .news-sidebar h4 {
        margin-bottom: 14px;
        font-size: 1.2rem;
    }

/* SIDEBAR LIST */
/* ===============================
   SIDEBAR – LATEST NEWS (TOKEN DRIVEN)
   =============================== */

.sidebar-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .sidebar-news-list li {
        display: flex;
        gap: 12px;
        padding: 12px 0;
        border-bottom: 1px solid var(--color-border-light);
        text-align: justify;
    }

        .sidebar-news-list li:last-child {
            border-bottom: none;
        }

    /* Thumbnail */
    .sidebar-news-list img {
        width: 64px;
        height: 48px;
        object-fit: cover;
        border-radius: 4px;
        flex-shrink: 0;
        background: var(--bg-section-alt);
    }

    /* Text wrapper */
    .sidebar-news-list li > div {
        flex: 1;
    }

    /* Title */
    .sidebar-news-list a {
        display: block;
        font-size: var(--font-size-base);
        font-weight: 600;
        color: var(--color-text-link);
        line-height: 1.35;
        margin-bottom: 4px;
        text-decoration: none;
    }

        .sidebar-news-list a:hover {
            color: var(--color-text-link-hover);
            text-decoration: underline;
        }

    /* Date */
    .sidebar-news-list .news-date-badge,
    .sidebar-news-list small {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: var(--font-size-small);
        color: var(--color-text-muted);
        margin-bottom: 4px;
    }

        .sidebar-news-list .news-date-badge i {
            font-size: 0.75rem;
            color: var(--color-text-muted);
        }

    /* Excerpt */
    .sidebar-news-list p {
        margin: 0;
        font-size: var(--font-size-small);
        color: var(--color-text-secondary);
        line-height: 1.4;
    }


.sidebar-news-text a {
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 4px;
}

.sidebar-news-text p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* ================= OLDER NEWS ================= */

.older-news {
    margin-top: 48px;
}

.older-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.older-news-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.older-news-card a {
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
    .news-details-layout {
        grid-template-columns: 1fr;
    }

    .news-hero img {
        height: 320px;
    }
}

/* =========================
   NEWS DATE BADGE
   ========================= */

.news-date-badge,
.news-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-size-small);
    margin-top: 6px;
}

    .news-date-badge i,
    .news-date i {
        font-size: 0.85rem;
        color: var(--color-primary);
    }
/* =========================
   NEWS SIDEBAR
   ========================= */

.news-sidebar h4 {
    font-size: var(--font-size-heading);
    margin-bottom: 12px;
    color: var(--color-primary);
}

.sidebar-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .sidebar-news-list li {
        display: flex;
        gap: 10px;
        padding: 10px 0;
        border-bottom: 1px dotted var(--color-border-light);
    }

    .sidebar-news-list img {
        width: 64px;
        height: 48px;
        object-fit: cover;
        border-radius: 6px;
    }

    .sidebar-news-list a {
        font-weight: 600;
        color: var(--color-primary);
        display: block;
    }

        .sidebar-news-list a:hover {
            text-decoration: underline;
        }

    .sidebar-news-list p {
        font-size: var(--font-size-small);
        color: var(--color-text-muted);
        margin: 4px 0 0;
    }
/* =========================
   NEWS HERO
   ========================= */

.news-hero {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

    .news-hero img {
        width: 100%;
        height: auto;
        display: block;
    }

.news-hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 22px;
    background: linear-gradient( to top, rgba(0,0,0,0.65), rgba(0,0,0,0.05) );
}

    .news-hero-overlay h1 {
        margin: 0 0 6px;
        color: #ffffff;
        font-size: 1.6rem;
        line-height: 1.25;
    }

.news-hero-date {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
}
/* =========================
   OLDER NEWS
   ========================= */
/* ===============================
   OLDER NEWS – SAME AS SIDEBAR
   =============================== */

.older-news {
    margin-top: 48px;
}

.older-news-title {
    font-size: var(--font-size-heading);
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-primary);
}

/* Vertical list */
.older-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Single item */
.older-news-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border-light);
}

    .older-news-item:last-child {
        border-bottom: none;
    }

/* Thumbnail */
.older-news-thumb {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: var(--bg-section-alt);
}

/* Text block */
.older-news-content {
    flex: 1;
}

/* Title */
.older-news-link {
    display: block;
    font-weight: 600;
    font-size: var(--font-size-base);
    color: var(--color-primary);
    line-height: 1.35;
    margin-bottom: 4px;
}

    .older-news-link:hover {
        text-decoration: underline;
    }

/* Date */
.older-news-date {
    font-size: var(--font-size-small);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

/* Excerpt */
.older-news-excerpt {
    font-size: var(--font-size-small);
    color: var(--color-text-default);
    margin: 0;
}
/* ===============================
   OLDER NEWS – HORIZONTAL GRID
   =============================== */

.older-news {
    margin-top: 48px;
}

/* ===============================
   OLDER NEWS – FINAL POLISH
   =============================== */

/* HEADER + NAV */
.older-news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.older-news-nav {
    display: flex;
    gap: 12px;
}

    .older-news-nav button {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        border: none;
        background: var(--bg-navbar-active);
        color: var(--color-text-inverse);
        font-size: 22px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .older-news-nav button:hover {
            background: var(--bg-navbar-hover);
        }

/* GRID */
.older-news-wrapper {
    position: relative;
    overflow: hidden;
}

.older-news-grid {
    display: flex;
    gap: 20px;
    scroll-behavior: smooth;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
}

    .older-news-grid::-webkit-scrollbar {
        display: none;
    }

.older-news-card {
    flex: 0 0 calc(33.333% - 14px);
    scroll-snap-align: start;
}

.news-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 32px 0;
}

    .news-pagination a {
        padding: 6px 12px;
        border-radius: 4px;
        background: var(--bg-section-alt);
        color: var(--color-primary);
        font-weight: 600;
    }

        .news-pagination a.active {
            background: var(--bg-navbar-active);
            color: var(--color-text-inverse);
        }
/* ===============================
   NEWS LISTING PAGE – OVERRIDES
   =============================== */

.news-listing-page .news-list {
    display: block;
}

.news-listing-page .news-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.news-listing-page .news-thumb {
    flex: 0 0 180px;
}

    .news-listing-page .news-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 6px;
    }

.news-listing-page .news-body {
    flex: 1;
}

.news-listing-page .news-title-text {
    font-size: var(--font-size-lg);
    line-height: 1.35;
}

.news-listing-page .news-excerpt {
    margin-top: 6px;
    color: var(--color-text-muted);
}


/* IMAGE */
.older-news-image {
    position: relative;
    height: 220px;
    border-radius: 14px;
    overflow: hidden;
}

    .older-news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* DARK OVERLAY – STRONGER */
.older-news-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 16px 16px;
    background: linear-gradient( to top, rgba(0,0,0,0.92), rgba(0,0,0,0.72), rgba(0,0,0,0.45), rgba(0,0,0,0.15) );
}


    .older-news-overlay a {
        display: block;
        font-weight: 600;
        font-size: 15px;
        line-height: 1.35;
        color: #ffffff;
        text-decoration: none;
    }

        .older-news-overlay a:hover {
            text-decoration: underline;
        }

.older-news-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 12px;
    color: rgba(255,255,255,0.9);
}

/* EXCERPT – FIXED HEIGHT FOR UNIFORMITY */
.older-news-excerpt {
    margin-top: 12px;
    font-size: var(--font-size-small);
    color: var(--color-text-secondary);
    line-height: 1.45;
    min-height: 64px; /* KEY: equal row height */
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .older-news-track {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .older-news-track {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   NOTICES & CIRCULARS – LISTING PAGE (TOKEN DRIVEN)
   ========================================================= */
/* =========================================================
   NOTICES & CIRCULARS – VIEW-ALIGNED STYLES
   ========================================================= */

/* ===============================
   FILTER BAR
   =============================== */

.filter-bar {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 12px;
    width: 100%;
    margin-bottom: 24px;
    align-items: stretch;
}

    .filter-bar input[type="text"],
    .filter-bar select {
        width: 100%;
        height: 44px;
        padding: 8px 12px;
        border: 1px solid var(--color-border-light);
        border-radius: 6px;
        font-size: var(--font-size-base);
        background: #ffffff;
    }

    .filter-bar button {
        height: 44px;
        border-radius: 6px;
        font-weight: 600;
    }

/* Responsive */
@media (max-width: 768px) {
    .filter-bar {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   NOTICE LIST
   =============================== */

.notice-list-page {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Single row */
.notice-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 6px;
    border-bottom: 1px solid var(--color-border-light);
}

    .notice-row:last-child {
        border-bottom: none;
    }

/* ===============================
   LEFT INFO
   =============================== */

.notice-info {
    flex: 1;
}

/* Title */
.notice-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 4px;
    line-height: 1.35;
}

/* Meta */
.notice-meta {
    font-size: var(--font-size-small);
    color: var(--color-text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* ===============================
   NEW BADGE
   =============================== */

.badge-new-inline {
    display: inline-block;
    padding: 2px 6px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    background: #ff9800;
    color: #ffffff;
    margin-bottom: 4px;
}

/* ===============================
   DOWNLOAD ICON
   =============================== */

.notice-download {
    flex-shrink: 0;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: var(--bg-section-alt);
    color: var(--color-danger);
}

    .notice-download:hover {
        background: var(--bg-navbar-hover);
        text-decoration: none;
    }

/* ===============================
   MOBILE
   =============================== */

@media (max-width: 768px) {
    .notice-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .notice-download {
        margin-top: 8px;
    }
}
/* ===============================
   NOTICE TABLE – GOV STYLE
   =============================== */

.notice-subtitle {
    margin-bottom: 16px;
    font-size: var(--font-size-small);
    color: var(--color-text-muted);
}

.notice-table-wrapper {
    overflow-x: auto;
    background: #fff;
    border-radius: 6px;
    border: 1px solid var(--color-border-light);
}

.notice-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-base);
}

    .notice-table thead th {
        background: var(--bg-navbar-active);
        color: var(--color-text-inverse);
        padding: 10px 12px;
        text-align: left;
        font-weight: 600;
        border-right: 1px solid rgba(255,255,255,0.15);
    }

        .notice-table thead th:last-child {
            border-right: none;
        }

    .notice-table tbody td {
        padding: 10px 12px;
        border-bottom: 1px solid var(--color-border-light);
        vertical-align: top;
    }

    .notice-table tbody tr:nth-child(even) {
        background: var(--bg-section-alt);
    }

    .notice-table tbody tr:hover {
        background: rgba(13, 73, 130, 0.06);
    }

.notice-subject {
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.45;
}

/* PDF ICON */
.pdf-link {
    font-size: 1.25rem;
    color: #c62828;
    text-decoration: none;
}

    .pdf-link:hover {
        color: #a51f1f;
    }

/* NEW BADGE */
.badge-new-inline {
    background: #ff9800;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 4px;
}

/* ALIGNMENT HELPERS */
.text-center {
    text-align: center;
}
/* ===============================
   HERO / HOME BANNER
   =============================== */

.hero-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Track that moves horizontally */
.hero-track {
    display: flex;
    transition: transform 0.9s ease-in-out;
    will-change: transform;
}

/* Each slide */
.hero-slide {
    width: 100vw; /* 🔑 exactly one viewport */
    height: 500px;
    flex-shrink: 0; /* 🔑 prevents collapse */
    background-size: cover;
    background-position: center;
    position: relative;
}

/* ===============================
   TEXT OVERLAY (ONLY AROUND TEXT)
   =============================== */

.hero-caption {
    position: absolute;
    bottom: 18%;
    left: 8%;
    max-width: 55%;
    z-index: 2;
}
/* ===============================
   CAPTION ANIMATION (FROM RIGHT)
   =============================== */

.hero-caption {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

    .hero-caption.caption-in {
        opacity: 1;
        transform: translateX(0);
    }

.hero-text-bg {
    background: rgba(0, 0, 0, 0.40); /* lighter + more transparent */
    padding: 20px 24px;
    border-radius: 6px;
}

    /* Heading */
    .hero-text-bg h2 {
        margin: 0 0 10px 0;
        color: #ffffff;
        font-size: 2.4rem;
        font-weight: 700;
        line-height: 1.25;
    }

    /* Description */
    .hero-text-bg p {
        margin: 0;
        color: #f1f1f1;
        font-size: 1.1rem;
        line-height: 1.5;
    }

/* ===============================
   CONTROLS
   =============================== */

.hero-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #ffffff;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 5;
    transition: background 0.2s ease-in-out;
}

    .hero-btn:hover {
        background: rgba(0, 0, 0, 0.7);
    }

    .hero-btn.left {
        left: 12px;
    }

    .hero-btn.right {
        right: 12px;
    }

/* ===============================
   RESPONSIVE ADJUSTMENTS
   =============================== */

@media (max-width: 992px) {
    .hero-slide {
        height: 420px;
    }

    .hero-caption {
        max-width: 70%;
        left: 6%;
        bottom: 15%;
    }

    .hero-text-bg h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-slide {
        height: 340px;
    }

    .hero-caption {
        max-width: 85%;
        left: 5%;
        bottom: 12%;
    }

    .hero-text-bg {
        padding: 16px 18px;
    }

        .hero-text-bg h2 {
            font-size: 1.6rem;
        }

        .hero-text-bg p {
            font-size: 1rem;
        }

    .hero-btn {
        font-size: 1.6rem;
        padding: 8px 12px;
    }
}
/* =========================
   PUBLIC PAGE CONTENT
   ========================= */

.public-page img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Optional: spacing */
.public-page img {
    margin: 1rem auto;
}
.contact-marker-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,.3);
    font-size: 18px;
}

.contact-map-legend {
    background: #fff;
    padding: 10px 12px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    font-size: 14px;
}

    .contact-map-legend i {
        margin-right: 6px;
    }
/* Tooltip container override */
.contact-hover-tooltip {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Hover card */
.contact-hover-card {
    width: 260px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,.25);
    font-size: 13px;
}

/* Photo section */
.contact-hover-photo {
    height: 140px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Dark overlay title */
.contact-hover-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 8px 10px;
    background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
    color: #fff;
}

    .contact-hover-title .name-primary {
        font-weight: 700;
        font-size: 14px;
    }

    .contact-hover-title .name-secondary {
        font-size: 12px;
        opacity: .9;
    }

/* Body */
.contact-hover-body {
    padding: 10px;
    line-height: 1.4;
}

    .contact-hover-body strong {
        margin-right: 4px;
    }

.contact-lightbox {
    width: 260px;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    font-size: 13px;
}

.contact-lightbox-photo {
    height: 140px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.contact-lightbox-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 8px;
    background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
    color: #fff;
}

    .contact-lightbox-title .name-primary {
        font-weight: 600;
        font-size: 14px;
    }

    .contact-lightbox-title .name-secondary {
        font-size: 11px;
        opacity: .85;
    }

.contact-lightbox-body {
    padding: 10px;
}

.contact-lightbox-popup .leaflet-popup-content {
    margin: 0;
}
.contact-lightbox-popup {
    pointer-events: auto;
}

    .contact-lightbox-popup .leaflet-popup-content-wrapper {
        pointer-events: auto;
    }
