:root {
    --primary: #14243c;
    --secondary: #b08d42;
    --accent: #b91c1c;
    --background: #f5f7fa;
    --text: #263244;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

.container {
    width: 94%;
    max-width: 1320px;
    margin: auto;
}

.top-bar {
    background: var(--primary);
    color: white;
    font-size: 13px;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.social-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.social-links a:hover {
    color: var(--secondary);
}

.main-header {
    background: white;
    padding: 25px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand-logo {
    width: 115px;
    max-height: 115px;
    object-fit: contain;
}

.brand-text h1 {
    font-size: 46px;
    line-height: 1.1;
    color: var(--primary);
    margin: 0 0 5px;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand-text h2 {
    font-size: 20px;
    margin: 0;
    color: var(--primary);
}

.brand-text p {
    color: #64748b;
    margin: 5px 0 0;
}

.navigation {
    background: var(--primary);
    border-bottom: 4px solid var(--secondary);
}

.navigation ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navigation li a {
    display: block;
    color: white;
    padding: 15px 22px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background .2s;
}

.navigation li a:hover {
    background: rgba(255,255,255,.12);
}

.mobile-menu-button {
    display: none;
}

.news-ticker {
    display: flex;
    align-items: center;
    background: white;
    margin: 22px 0;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.news-ticker strong {
    background: var(--accent);
    color: white;
    padding: 12px 20px;
    white-space: nowrap;
}

.news-ticker span {
    padding: 10px 18px;
    font-size: 14px;
}

.hero {
    min-height: 390px;
    padding: 55px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(255,255,255,.09),
            transparent 40%
        ),
        linear-gradient(
            120deg,
            var(--primary),
            #0b1423
        );
    color: white;
    border-radius: 6px;
}

.hero-content {
    max-width: 900px;
}

.hero-label {
    color: var(--secondary);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
}

.hero h2 {
    font-size: clamp(30px, 4vw, 55px);
    line-height: 1.2;
    margin: 18px 0;
}

.hero p {
    font-size: 18px;
    color: #dbe4ef;
    margin-bottom: 30px;
}

.gold-button {
    display: inline-block;
    background: var(--secondary);
    color: #111827;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 4px;
}

.gold-button:hover {
    filter: brightness(1.12);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 35px 0;
}

.section-title {
    color: var(--primary);
    font-size: 25px;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--secondary);
}

.empty-panel {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 35px 25px;
    border-radius: 5px;
    color: #64748b;
}

.sidebar-panel {
    background: white;
    border: 1px solid #e2e8f0;
    margin-bottom: 25px;
    border-radius: 5px;
    overflow: hidden;
}

.sidebar-panel h3 {
    margin: 0;
    background: var(--primary);
    color: white;
    padding: 13px 20px;
    font-size: 18px;
}

.panel-content {
    padding: 22px;
    color: #64748b;
}

.page-section {
    margin: 35px 0;
    scroll-margin-top: 20px;
}

.about-content {
    padding: 30px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    line-height: 1.9;
}

.footer {
    background: var(--primary);
    color: #e2e8f0;
    margin-top: 50px;
    padding-top: 45px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 35px;
}

.footer h3 {
    color: white;
    margin-top: 0;
}

.footer-logo {
    max-width: 110px;
    max-height: 100px;
    object-fit: contain;
}

.footer a {
    display: block;
    margin-bottom: 7px;
}

.footer a:hover {
    color: var(--secondary);
}

.footer p {
    overflow-wrap: anywhere;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.15);
    padding: 20px;
    font-size: 14px;
}

@media (max-width: 768px) {

    .container {
        width: 92%;
    }

    .top-bar-inner {
        flex-wrap: wrap;
    }

    .top-bar {
        font-size: 11px;
    }

    .main-header {
        padding: 18px 0;
    }

    .brand {
        gap: 12px;
    }

    .brand-logo {
        width: 75px;
    }

    .brand-text h1 {
        font-size: 30px;
    }

    .brand-text h2 {
        font-size: 13px;
        line-height: 1.4;
    }

    .brand-text p {
        font-size: 12px;
    }

    .mobile-menu-button {
        display: block;
        background: transparent;
        border: 0;
        color: white;
        font-size: 18px;
        padding: 12px 0;
        cursor: pointer;
    }

    .navigation ul {
        display: none;
        flex-direction: column;
    }

    .navigation ul.open {
        display: flex;
    }

    .navigation li a {
        padding: 12px 0;
    }

    .news-ticker strong {
        font-size: 11px;
        padding: 10px;
    }

    .news-ticker span {
        font-size: 11px;
        padding: 8px;
    }

    .hero {
        padding: 30px 22px;
        min-height: 320px;
    }

    .hero h2 {
        font-size: 30px;
    }

    .hero p {
        font-size: 15px;
    }

    .content-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title {
        font-size: 22px;
    }

    .about-content {
        padding: 20px;
    }
}


/* =====================================
   NEBTRA HOMEPAGE PHOTO SLIDER
===================================== */

.nebtra-slider {
    position: relative;
    display: block;
    width: 100%;
    height: 450px;
    min-width: 0;
    overflow: hidden;
    border-radius: 6px;
    background: var(--primary, #14243c);
    margin: 0 0 30px;
}

.nebtra-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
}

.nebtra-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.nebtra-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.slider-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 60px 80px;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.78),
        rgba(0, 0, 0, 0.35) 60%,
        rgba(0, 0, 0, 0.05)
    );
}

.slider-content {
    color: #fff;
    max-width: 800px;
}

.slider-label {
    display: inline-block;
    color: #e6bd65;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.slider-content h2 {
    color: #fff;
    font-size: clamp(28px, 4vw, 52px);
    line-height: 1.2;
    margin: 0 0 20px;
    font-weight: 800;
}

.slider-content p {
    color: #fff;
    font-size: 18px;
    margin-bottom: 25px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 42px;
    height: 50px;
    border: 0;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 22px;
    cursor: pointer;
}

.slider-arrow:hover {
    background: var(--secondary, #b08d42);
}

.slider-prev {
    left: 15px;
}

.slider-next {
    right: 15px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid white;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
}

.slider-dot.active {
    background: var(--secondary, #b08d42);
    border-color: var(--secondary, #b08d42);
}

.slider-pause {
    position: absolute;
    bottom: 12px;
    right: 15px;
    z-index: 5;
    border: 0;
    border-radius: 4px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {

    .nebtra-slider {
        height: 350px;
    }

    .slider-overlay {
        padding: 35px 45px;
    }

    .slider-content h2 {
        font-size: 28px;
    }

    .slider-content p {
        font-size: 14px;
    }

    .slider-arrow {
        width: 28px;
        height: 38px;
        font-size: 16px;
    }

    .slider-prev {
        left: 5px;
    }

    .slider-next {
        right: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nebtra-slide {
        transition: none;
    }
}


/* NEBTRA NEWS MANAGEMENT FRONTEND */

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    border-bottom: 3px solid var(--secondary);
    margin-bottom: 20px;
}

.section-heading-row .section-title {
    border: 0;
    margin: 0;
}

.view-all-link {
    font-size: 13px;
    font-weight: bold;
    color: var(--primary);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.news-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}

.news-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,.09);
    transform: translateY(-3px);
}

.news-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    font-weight: bold;
    letter-spacing: 2px;
}

.news-card-body {
    padding: 17px;
}

.news-category-label {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 3px;
}

.news-card h3 {
    font-size: 19px;
    line-height: 1.4;
    color: var(--primary);
    margin: 12px 0;
    overflow-wrap: anywhere;
}

.news-card h3 a:hover {
    color: var(--accent);
}

.news-meta {
    font-size: 12px;
    color: #64748b;
}

.news-card p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

.news-read-more {
    color: var(--primary);
    font-size: 13px;
    font-weight: bold;
}

.news-read-more:hover {
    color: var(--accent);
}

.news-grid-full {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.news-category-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0;
}

.news-category-menu a {
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
}

.news-category-menu a:hover {
    background: var(--secondary);
    color: #111827;
}

.news-search {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.news-search input {
    width: 100%;
    min-width: 0;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
}

.news-search button {
    border: 0;
    cursor: pointer;
}

.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 35px 0;
}

.news-article {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.news-breadcrumb {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 25px;
}

.article-headline {
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.3;
    color: var(--primary);
    margin: 15px 0;
    overflow-wrap: anywhere;
}

.article-subtitle {
    font-size: 23px;
    line-height: 1.5;
    color: #475569;
    font-weight: normal;
}

.article-byline {
    font-size: 14px;
    color: #64748b;
    padding: 15px 0;
    margin-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
}

.article-photo {
    margin: 0 0 25px;
}

.article-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.article-photo figcaption {
    background: #f1f5f9;
    padding: 10px 15px;
    font-size: 13px;
    color: #475569;
}

.article-excerpt {
    font-size: 21px;
    font-weight: bold;
    line-height: 1.7;
    color: #334155;
}

.article-body {
    font-size: 18px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.article-body p {
    margin-bottom: 22px;
}

.article-body img {
    max-width: 100%;
    height: auto;
}

.article-body a {
    color: #2563eb;
    text-decoration: underline;
}

.article-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid #e2e8f0;
    padding-top: 25px;
    margin-top: 30px;
}

.article-share a {
    background: var(--primary);
    color: white;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 14px;
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 18px;
    font-size: 14px;
    min-width: 0;
}

.ticker-separator {
    color: var(--secondary);
}

.ticker-track a:hover {
    color: var(--accent);
}

@media (max-width: 1100px) {

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-grid-full {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {

    .news-grid,
    .news-grid-full {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .news-card-body {
        padding: 12px;
    }

    .news-card h3 {
        font-size: 16px;
    }

    .news-card p {
        font-size: 13px;
    }

    .news-article {
        padding: 20px;
    }

    .article-body {
        font-size: 17px;
    }

    .article-subtitle {
        font-size: 19px;
    }

    .article-excerpt {
        font-size: 18px;
    }
}

@media (max-width: 420px) {

    .news-grid,
    .news-grid-full {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   NEBTRA SINGLE NEWS PAGE AND RIGHT SIDEBAR
========================================== */

.single-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 30px;
    width: 100%;
}

.single-news-main {
    min-width: 0;
}

.single-news-layout .news-article {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 35px;
}

.single-news-sidebar {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Sidebar Widgets */

.news-sidebar-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
}

.news-widget-title {
    margin: 0;
    padding: 13px 18px;
    background: var(--primary);
    border-bottom: 3px solid var(--secondary);
    color: #ffffff;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 700;
}

.news-widget-body {
    padding: 15px;
}

/* Latest News */

.sidebar-news-item {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #e2e8f0;
}

.sidebar-news-item:first-child {
    padding-top: 0;
}

.sidebar-news-photo {
    width: 90px;
    height: 70px;
    overflow: hidden;
    border-radius: 4px;
    background: #f1f5f9;
}

.sidebar-news-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sidebar-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
}

.sidebar-news-info {
    min-width: 0;
}

.sidebar-news-info h4 {
    margin: 0 0 6px;
    color: var(--primary);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.sidebar-news-info span {
    font-size: 11px;
    color: #64748b;
}

.sidebar-news-item:hover h4 {
    color: var(--accent);
}

.sidebar-view-all {
    display: block;
    margin-top: 15px;
    padding: 9px 12px;
    text-align: center;
    background: #f1f5f9;
    color: var(--primary);
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
    transition: background .2s, color .2s;
}

.sidebar-view-all:hover {
    background: var(--primary);
    color: #ffffff;
}

/* News Categories */

.sidebar-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 3px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
    color: var(--primary);
}

.sidebar-category-item:last-child {
    border-bottom: 0;
}

.sidebar-category-item:hover {
    color: var(--accent);
}

.category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    padding: 2px 7px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    border-radius: 4px;
}

/* Advertisement */

.sidebar-advertisement {
    width: 100%;
    text-align: center;
}

.advertisement-label {
    margin-bottom: 7px;
    font-size: 10px;
    letter-spacing: 2px;
    color: #64748b;
}

.advertisement-placeholder {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 300 / 250;
    margin: 0 auto;
    background: #e9edf2;
    border: 1px dashed #aab5c3;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.advertisement-placeholder strong {
    font-size: 20px;
    color: var(--primary);
}

.advertisement-placeholder span {
    font-size: 14px;
    color: #64748b;
}

.advertisement-placeholder a {
    display: inline-block;
    margin-top: 5px;
    padding: 7px 18px;
    background: var(--primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
}

.advertisement-placeholder a:hover {
    background: var(--secondary);
    color: #111827;
}

/* Events and Notices */

.sidebar-empty {
    margin: 0;
    padding: 8px 0;
    color: #64748b;
    font-size: 14px;
}

.sidebar-event-item,
.sidebar-notice-item {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
    color: var(--primary);
}

/* Social Media */

.sidebar-social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sidebar-social-links a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 10px;
    border-radius: 4px;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    transition: opacity .2s;
}

.sidebar-social-links a:hover {
    opacity: .85;
}

.social-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    font-size: 17px;
    font-weight: bold;
}

.social-facebook {
    background: #1877f2;
}

.social-youtube {
    background: #d90000;
}

.social-instagram {
    background: linear-gradient(
        45deg,
        #f09433,
        #dc2743,
        #bc1888
    );
}

.social-tiktok {
    background: #111111;
}

.social-linkedin {
    background: #0a66c2;
}

.social-x {
    background: #111111;
}

/* Article Sharing Buttons */

.article-share .share-facebook {
    background: #1877f2;
}

.article-share .share-whatsapp {
    background: #128c4b;
}

.article-share .share-x {
    background: #111111;
}

.share-copy {
    border: 0;
    background: #475569;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 4px;
    cursor: pointer;
}

.share-copy:hover {
    background: var(--primary);
}

/* Article Typography */

.single-news-layout .article-headline {
    font-size: clamp(28px, 3vw, 43px);
    line-height: 1.4;
}

.single-news-layout .article-body {
    font-size: 19px;
    line-height: 1.95;
}

.single-news-layout .article-body figure {
    max-width: 100%;
    margin: 20px 0;
}

.single-news-layout .article-body img {
    max-width: 100%;
    height: auto;
}

/* Tablet Layout */

@media (max-width: 1100px) {

    .single-news-layout {
        grid-template-columns: minmax(0, 1fr) 290px;
        gap: 20px;
    }

    .single-news-layout .news-article {
        padding: 25px;
    }

    .sidebar-news-item {
        grid-template-columns: 75px minmax(0, 1fr);
    }

    .sidebar-news-photo {
        width: 75px;
        height: 65px;
    }
}

/* Mobile Layout */

@media (max-width: 900px) {

    .single-news-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    .single-news-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: 20px;
    }
}

@media (max-width: 600px) {

    .single-news-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .single-news-layout .news-article {
        padding: 18px;
    }

    .single-news-layout .article-headline {
        font-size: 28px;
    }

    .single-news-layout .article-body {
        font-size: 17px;
        line-height: 1.9;
    }

    .sidebar-news-item {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    .sidebar-news-photo {
        width: 100px;
        height: 75px;
    }

    .sidebar-news-info h4 {
        font-size: 16px;
    }

    .article-share {
        gap: 8px;
    }

    .article-share a,
    .article-share button {
        font-size: 12px;
        padding: 8px 12px;
    }
}

/* Single News Page Alignment Fix */

.single-news-container {
    width: 94%;
    max-width: 1320px;
    margin: 30px auto 50px;
    padding: 0;
}

.single-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;
    align-items: start;
    width: 100%;
}

@media (max-width: 1100px) {
    .single-news-layout {
        grid-template-columns: minmax(0, 1fr) 290px;
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .single-news-container {
        width: 92%;
        margin: 20px auto;
    }

    .single-news-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* =====================================
   NEWS LISTING PAGE ALIGNMENT
===================================== */

.news-list-container {
    width: 94%;
    max-width: 1320px;
    margin: 30px auto 50px;
    padding: 0;
}

/* Desktop: Four news cards per row */

.news-list-container .news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    width: 100%;
}

.news-list-container .news-card {
    width: 100%;
    min-width: 0;
    height: 100%;
}

/* Small desktop: Three cards */

@media (max-width: 1200px) {
    .news-list-container .news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Tablet: Two cards */

@media (max-width: 900px) {
    .news-list-container {
        width: 92%;
        margin: 25px auto;
    }

    .news-list-container .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* Mobile: One card */

@media (max-width: 600px) {
    .news-list-container .news-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
}


/* =========================================
   NEBTRA EXECUTIVE COMMITTEE PAGE
========================================= */

.committee-page {
    width: 94%;
    max-width: 1320px;
    margin: 30px auto 50px;
    padding: 0;
}

.committee-banner {
    background: linear-gradient(
        120deg,
        var(--primary),
        #0b1423
    );
    color: #ffffff;
    text-align: center;
    padding: 55px 25px;
    border-radius: 6px;
    border-bottom: 4px solid var(--secondary);
}

.committee-banner-label {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
}

.committee-banner h1 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
    margin: 15px 0;
    font-weight: 800;
}

.committee-banner p {
    color: #e2e8f0;
    font-size: 17px;
    margin: 0;
}

/* Committee Term Navigation */

.committee-year-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 30px 0;
}

.committee-year-button {
    background: #ffffff;
    border: 1px solid #dce3eb;
    color: var(--primary);
    padding: 11px 25px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 700;
    transition: background .2s, color .2s;
}

.committee-year-button:hover,
.committee-year-button.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.committee-year-button.active {
    box-shadow: inset 0 -3px 0 var(--secondary);
}

/* Committee Heading */

.committee-heading {
    text-align: center;
    margin: 35px 0;
}

.committee-heading h2 {
    color: var(--primary);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.4;
    margin: 0;
}

.committee-gold-line {
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: 15px auto 20px;
    border-radius: 3px;
}

.committee-heading p {
    max-width: 850px;
    margin: 15px auto;
    color: #64748b;
    font-size: 16px;
}

/* Group Photograph */

.committee-group-photo {
    margin: 0 0 35px;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.committee-group-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 650px;
    object-fit: contain;
}

/* Member Grid */

.committee-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

.committee-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .04);
    transition: transform .2s, box-shadow .2s;
}

.committee-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .09);
}

/* Member Photographs */

.committee-member-photo {
    width: 100%;
    aspect-ratio: 5 / 4;
    background: #e8edf2;
    overflow: hidden;
    border-bottom: 4px solid var(--secondary);
}

.committee-member-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.committee-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #a1adba;
}

/* Member Information */

.committee-member-details {
    padding: 22px 18px;
    text-align: center;
}

.committee-member-details h3 {
    font-size: 22px;
    color: var(--primary);
    margin: 0 0 7px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.committee-designation {
    color: #8a6928;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.committee-tv-channel {
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
    margin: 6px 0;
}

.committee-profession {
    color: #64748b;
    font-size: 13px;
    margin: 5px 0;
}

.committee-biography {
    border-top: 1px solid #e2e8f0;
    padding-top: 12px;
    margin-top: 15px;
}

.committee-biography summary {
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    color: var(--primary);
}

.committee-biography p {
    font-size: 14px;
    text-align: left;
    color: #64748b;
}

.committee-member-social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.committee-member-social a {
    background: var(--primary);
    color: #ffffff;
    font-size: 12px;
    padding: 6px 14px;
    margin-top: 12px;
    border-radius: 4px;
}

.committee-member-social a:hover {
    background: var(--secondary);
    color: #111827;
}

.committee-empty {
    grid-column: 1 / -1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 40px 25px;
    text-align: center;
    color: #64748b;
}

/* Tablet */

@media (max-width: 900px) {

    .committee-page {
        width: 92%;
        margin: 25px auto;
    }

    .committee-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .committee-banner {
        padding: 40px 20px;
    }
}

/* Mobile */

@media (max-width: 600px) {

    .committee-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 380px;
        gap: 20px;
    }

    .committee-banner h1 {
        font-size: 29px;
    }

    .committee-banner p {
        font-size: 14px;
    }

    .committee-year-button {
        padding: 9px 16px;
        font-size: 13px;
    }

    .committee-member-details h3 {
        font-size: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .committee-card {
        transition: none;
    }

    .committee-card:hover {
        transform: none;
    }
}

/* =========================================
   EXECUTIVE AND ADVISORY COMMITTEE TABS
========================================= */

.committee-type-navigation {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    max-width: 750px;
    margin: 30px auto;
    background: #ffffff;
    border: 1px solid #dce3eb;
    border-radius: 6px;
    overflow: hidden;
}

.committee-type-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 17px 22px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--primary);
    background: #ffffff;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.committee-type-button + .committee-type-button {
    border-left: 1px solid #dce3eb;
}

.committee-type-button:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.committee-type-button.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: inset 0 -4px 0 var(--secondary);
}

.committee-type-button:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: -4px;
}

.committee-type-navigation
+ .committee-year-navigation {
    margin-top: 20px;
    margin-bottom: 30px;
}

/* Tablet */

@media (max-width: 900px) {

    .committee-type-navigation {
        max-width: 100%;
        margin: 25px auto;
    }

    .committee-type-button {
        font-size: 15px;
        padding: 15px;
    }

}

/* Mobile */

@media (max-width: 600px) {

    .committee-type-navigation {
        margin: 20px auto;
    }

    .committee-type-button {
        font-size: 13px;
        padding: 13px 8px;
        min-height: 60px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .committee-type-button {
        transition: none;
    }

}

/* Homepage Leadership Section */

.leadership-home-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.leadership-home-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--secondary);
    border-radius: 6px;
    padding: 30px;
}

.leadership-home-card h3 {
    color: var(--primary);
    font-size: 24px;
    margin: 0 0 12px;
}

.leadership-home-card p {
    color: #64748b;
    margin-bottom: 20px;
}

.leadership-home-card a {
    display: inline-block;
    background: var(--primary);
    color: #ffffff;
    padding: 11px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.leadership-home-card a:hover {
    background: var(--secondary);
    color: #111827;
}

@media (max-width: 768px) {

    .leadership-home-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .leadership-home-card {
        padding: 22px;
    }

}

/* =========================================
   NEBTRA EVENTS MANAGEMENT FRONTEND
========================================= */

.events-page {
    width: 94%;
    max-width: 1320px;
    margin: 30px auto 50px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.events-grid .empty-panel {
    grid-column: 1 / -1;
}

.event-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s;
}

.event-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,.09);
}

.event-card-image {
    display: block;
    position: relative;
    aspect-ratio: 16 / 11;
    background: #eef1f5;
    overflow: hidden;
}

.event-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.event-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    min-width: 65px;
    padding: 10px;
    text-align: center;
    background: var(--primary);
    color: #ffffff;
    border-bottom: 4px solid var(--secondary);
    border-radius: 4px;
}

.event-date-badge strong {
    display: block;
    font-size: 28px;
    line-height: 1.2;
}

.event-date-badge span {
    font-size: 12px;
    font-weight: bold;
}

.event-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.event-card-body h3 {
    color: var(--primary);
    font-size: 22px;
    line-height: 1.4;
    margin: 12px 0;
    overflow-wrap: anywhere;
}

.event-card-body h3 a:hover {
    color: var(--accent);
}

.event-card-body > p {
    font-size: 14px;
    color: #64748b;
}

.event-card-body .news-category-label {
    align-self: flex-start;
}

.event-card-meta {
    font-size: 14px;
    color: #475569;
}

.event-card-meta p {
    margin: 5px 0;
}

.event-details-button {
    display: block;
    background: var(--primary);
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    padding: 11px 16px;
    border-radius: 4px;
    margin-top: auto;
}

.event-details-button:hover {
    background: var(--secondary);
    color: #111827;
}

/* Homepage Upcoming Events */

.home-event-item {
    display: grid;
    grid-template-columns: 65px minmax(0, 1fr);
    gap: 15px;
    align-items: start;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

.home-event-item:first-child {
    padding-top: 0;
}

.home-event-date {
    background: var(--primary);
    color: #ffffff;
    text-align: center;
    padding: 9px 5px;
    border-bottom: 3px solid var(--secondary);
    border-radius: 4px;
}

.home-event-date strong {
    display: block;
    font-size: 27px;
    line-height: 1.2;
}

.home-event-date span {
    font-size: 11px;
    font-weight: bold;
}

.home-event-info h4 {
    color: var(--primary);
    font-size: 16px;
    line-height: 1.4;
    margin: 0 0 6px;
    overflow-wrap: anywhere;
}

.home-event-info p {
    color: #64748b;
    font-size: 12px;
    margin: 3px 0;
}

.home-event-item:hover h4 {
    color: var(--accent);
}

/* Individual Event Page */

.event-single {
    max-width: 1050px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 35px;
}

.event-information-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    background: #f1f5f9;
    border-left: 4px solid var(--secondary);
    padding: 25px;
    margin: 25px 0;
}

.event-information-grid strong {
    color: var(--primary);
    font-size: 14px;
}

.event-information-grid p {
    margin: 5px 0 0;
    overflow-wrap: anywhere;
}

.event-single-photo {
    margin: 25px 0;
    text-align: center;
    background: #f5f7fa;
}

.event-single-photo img {
    display: block;
    width: 100%;
    max-height: 800px;
    object-fit: contain;
    margin: auto;
}

.event-back-link {
    border-top: 1px solid #e2e8f0;
    margin-top: 30px;
    padding-top: 25px;
}

/* Tablet */

@media (max-width: 900px) {

    .events-page {
        width: 92%;
        margin: 25px auto;
    }

    .events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

}

/* Mobile */

@media (max-width: 600px) {

    .events-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .event-single {
        padding: 18px;
    }

    .event-information-grid {
        grid-template-columns: minmax(0, 1fr);
        padding: 18px;
        gap: 12px;
    }

    .event-card-body h3 {
        font-size: 20px;
    }

}

/* =========================================
   NEBTRA NOTICES MANAGEMENT
========================================= */

.notices-page {
    width: 94%;
    max-width: 1320px;
    margin: 30px auto 50px;
}

.notices-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.notice-card {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: start;
    gap: 25px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--secondary);
    border-radius: 6px;
    padding: 25px;
}

.notice-date-box {
    background: var(--primary);
    color: #ffffff;
    text-align: center;
    padding: 15px 8px;
    border-radius: 5px;
    border-bottom: 4px solid var(--secondary);
}

.notice-date-box strong {
    display: block;
    font-size: 36px;
    line-height: 1.2;
}

.notice-date-box span {
    font-size: 13px;
    font-weight: bold;
}

.notice-card-content {
    min-width: 0;
}

.notice-card-content h2 {
    color: var(--primary);
    font-size: 24px;
    line-height: 1.4;
    margin: 10px 0;
    overflow-wrap: anywhere;
}

.notice-card-content h2 a:hover {
    color: var(--accent);
}

.notice-card-content p {
    color: #64748b;
    font-size: 15px;
}

.notice-labels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.notice-priority,
.notice-pinned {
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 3px;
}

.notice-urgent {
    background: #fee2e2;
    color: #b91c1c;
}

.notice-important {
    background: #fef3c7;
    color: #92400e;
}

.notice-pinned {
    background: #e2e8f0;
    color: var(--primary);
}

.notice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.notice-read-button,
.notice-pdf-button {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    color: #ffffff;
}

.notice-read-button {
    background: var(--primary);
}

.notice-pdf-button {
    background: #b91c1c;
}

.notice-read-button:hover,
.notice-pdf-button:hover {
    opacity: .85;
}

/* Homepage Notice Board */

.home-notice-item {
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
}

.home-notice-item:first-child {
    padding-top: 0;
}

.home-notice-item h4 {
    color: var(--primary);
    font-size: 17px;
    line-height: 1.4;
    margin: 8px 0 5px;
    overflow-wrap: anywhere;
}

.home-notice-item h4 a:hover {
    color: var(--accent);
}

.home-notice-date {
    font-size: 12px;
    color: #64748b;
}

.home-notice-item p {
    font-size: 13px;
    line-height: 1.6;
    margin: 8px 0;
}

.home-notice-pdf {
    color: #b91c1c;
    font-size: 12px;
    font-weight: bold;
}

/* Individual Notice Page */

.notice-single {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.notice-download-panel {
    margin: 30px 0;
    padding: 25px;
    background: #f1f5f9;
    border-left: 4px solid var(--secondary);
    border-radius: 4px;
}

.notice-download-panel h3 {
    color: var(--primary);
    margin: 0 0 10px;
}

.notice-download-panel p {
    color: #64748b;
}

/* Mobile Responsive */

@media (max-width: 600px) {

    .notices-page {
        width: 92%;
        margin: 25px auto;
    }

    .notice-card {
        grid-template-columns: 60px minmax(0, 1fr);
        gap: 15px;
        padding: 15px;
    }

    .notice-date-box strong {
        font-size: 26px;
    }

    .notice-date-box span {
        font-size: 10px;
    }

    .notice-card-content h2 {
        font-size: 19px;
    }

    .notice-single {
        padding: 20px;
    }

    .notice-download-panel {
        padding: 18px;
    }

}

/* ========================================
   NEBTRA PHOTO AND VIDEO GALLERY
======================================== */

.gallery-page {
    width: 94%;
    max-width: 1320px;
    margin: 30px auto 50px;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
}

.gallery-tabs a {
    padding: 12px 28px;
    border: 1px solid #ddd;
    background: #fff;
    color: var(--primary, #163b2c);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
}

.gallery-tabs a.active,
.gallery-tabs a:hover {
    background: var(--primary, #163b2c);
    border-color: var(--primary, #163b2c);
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.gallery-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow .25s;
}

.gallery-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, .10);
}

.gallery-card-image,
.gallery-photo-button {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eee;
}

.gallery-photo-button {
    padding: 0;
    border: 0;
    cursor: zoom-in;
}

.gallery-card-image img,
.gallery-photo-button img,
.gallery-video-play img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .3s;
}

.gallery-card-image:hover img,
.gallery-photo-button:hover img {
    transform: scale(1.04);
}

.gallery-photo-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, .75);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
}

.gallery-card-body {
    padding: 20px;
    flex: 1;
}

.gallery-card-body small {
    color: #777;
    font-size: 13px;
}

.gallery-card-body h2 {
    font-size: 21px;
    line-height: 1.4;
    margin: 10px 0;
    color: var(--primary, #163b2c);
}

.gallery-card-body h2 a {
    color: inherit;
    text-decoration: none;
}

.gallery-card-body p {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    margin: 10px 0;
    overflow-wrap: anywhere;
}

.gallery-button {
    display: inline-block;
    background: var(--primary, #163b2c);
    color: #fff;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 12px;
}

.gallery-button:hover {
    opacity: .9;
    color: #fff;
}

.gallery-description {
    background: #fff;
    border-left: 4px solid #b08d42;
    padding: 20px;
    margin-bottom: 25px;
    line-height: 1.8;
    white-space: pre-line;
}

.gallery-empty {
    grid-column: 1 / -1;
    padding: 50px 20px;
    text-align: center;
    background: #fff;
    color: #777;
    border: 1px solid #ddd;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: #163b2c;
    color: #fff;
    font-weight: 600;
}

.gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    font-size: 14px;
}

.gallery-pagination a {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #fff;
    color: #163b2c;
    text-decoration: none;
}

.gallery-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
}

.gallery-video-play {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    cursor: pointer;
}

.gallery-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #d00000;
    color: #fff;
    padding: 14px 25px;
    font-size: 25px;
    border-radius: 12px;
}

.gallery-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Full-screen photograph viewer */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 55px 65px;
    border: 0;
    background: #111;
    color: #fff;
    box-sizing: border-box;
}

.gallery-lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.gallery-lightbox::backdrop {
    background: rgba(0, 0, 0, .95);
}

.gallery-lightbox img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.gallery-close,
.gallery-prev,
.gallery-next {
    position: absolute;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    border: 0;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 28px;
    border-radius: 4px;
    z-index: 2;
}

.gallery-close {
    top: 12px;
    right: 18px;
}

.gallery-prev {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-next {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

#galleryFullCaption {
    padding: 15px;
    text-align: center;
    font-size: 15px;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

}

@media (max-width: 600px) {

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-tabs a {
        padding: 10px 18px;
        font-size: 14px;
    }

    .gallery-card-body {
        padding: 16px;
    }

    .gallery-card-body h2 {
        font-size: 19px;
    }

    .gallery-lightbox {
        padding: 45px 35px;
    }

    .gallery-prev,
    .gallery-next {
        padding: 8px;
        font-size: 20px;
    }

}

/* ========================================
   HOMEPAGE PHOTO AND VIDEO GALLERY
======================================== */

.home-gallery-section {
    width: 94%;
    max-width: 1320px;
    margin: 40px auto;
}

.home-gallery-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 3px solid var(--secondary, #b08d42);
    margin-bottom: 22px;
    padding-bottom: 12px;
}

.home-gallery-heading h2 {
    font-size: 27px;
    color: var(--primary, #163b2c);
    margin: 0;
    font-weight: 700;
}

.home-gallery-heading a {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary, #163b2c);
    text-decoration: none;
}

.home-gallery-heading a:hover {
    color: var(--secondary, #b08d42);
}

.home-video-thumbnail {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
}

.home-video-thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .3s ease;
}

.home-video-thumbnail:hover img {
    transform: scale(1.04);
}

.home-gallery-section .gallery-card-image {
    aspect-ratio: 16 / 10;
}

.home-gallery-section .gallery-card-body h2 {
    font-size: 19px;
}

@media (max-width: 600px) {

    .home-gallery-section {
        margin: 25px auto;
    }

    .home-gallery-heading h2 {
        font-size: 21px;
    }

    .home-gallery-heading a {
        font-size: 12px;
    }

}

/* ========================================
   NEBTRA WEBSITE CONTENT PAGES
======================================== */

.website-page {
    width: 94%;
    max-width: 1320px;
    margin: 30px auto 50px;
}

.website-page-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

.website-page-breadcrumb a {
    color: var(--primary, #163b2c);
    text-decoration: none;
}

.website-page-content {
    max-width: 1100px;
    margin: 30px auto;
    padding: 40px;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    box-sizing: border-box;
}

.website-page-intro {
    font-size: 20px;
    line-height: 1.7;
    font-weight: 500;
    color: var(--primary, #163b2c);
    background: #f7f8f7;
    border-left: 4px solid var(--secondary, #b08d42);
    padding: 20px 25px;
    margin-bottom: 30px;
}

.website-page-image {
    margin-bottom: 30px;
    text-align: center;
}

.website-page-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 650px;
    object-fit: contain;
    border-radius: 4px;
}

.website-page-text {
    font-size: 17px;
    line-height: 1.9;
    color: #333;
    overflow-wrap: anywhere;
}

.website-page-text h1,
.website-page-text h2,
.website-page-text h3,
.website-page-text h4 {
    color: var(--primary, #163b2c);
    line-height: 1.4;
    margin: 28px 0 15px;
}

.website-page-text h2 {
    font-size: 26px;
}

.website-page-text h3 {
    font-size: 22px;
}

.website-page-text p {
    margin: 0 0 20px;
}

.website-page-text ul,
.website-page-text ol {
    padding-left: 30px;
    margin: 15px 0 25px;
}

.website-page-text li {
    margin-bottom: 10px;
}

.website-page-text blockquote {
    margin: 25px 0;
    padding: 20px;
    background: #f5f5f5;
    border-left: 4px solid var(--secondary, #b08d42);
    font-style: italic;
}

.website-page-text a {
    color: var(--primary, #163b2c);
    text-decoration: underline;
}

.website-page-text img {
    max-width: 100%;
    height: auto;
}

.website-page-bottom {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #ddd;
}

.website-page-back {
    display: inline-block;
    background: var(--primary, #163b2c);
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 600px) {

    .website-page {
        margin: 20px auto 30px;
    }

    .website-page-content {
        padding: 20px;
        margin: 20px auto;
    }

    .website-page-intro {
        font-size: 17px;
        padding: 15px;
    }

    .website-page-text {
        font-size: 16px;
        line-height: 1.8;
    }

    .website-page-text h2 {
        font-size: 22px;
    }

    .website-page-text h3 {
        font-size: 19px;
    }

}