/* =========================================
   AGBOR KINGDOM
   GLOBAL STYLES
========================================= */

:root {
    --royal-primary: #7a1111;
    --royal-dark: #420707;
    --royal-gold: #c9a227;
    --royal-gold-light: #e1c45a;

    --white: #ffffff;
    --black: #111111;
    --text: #252525;
    --muted: #777777;

    --border: #e5e5e5;

    --max-width: 1400px;
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #ffffff;
    color: var(--text);
    line-height: 1.6;
}


button,
input,
textarea,
select {
    font: inherit;
}


button {
    cursor: pointer;
}


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


img {
    display: block;
    max-width: 100%;
}


/* =========================================
   ROYAL TOP BAR
========================================= */

.royal-bar {
    min-height: 115px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    padding: 20px 40px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #faf8f0 50%,
            #ffffff 100%
        );

    border-bottom: 1px solid var(--royal-gold);
}


/* =========================================
   ROYAL SYMBOLS
========================================= */

.royal-symbol {
    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 180px;
}


.royal-symbol-right {
   
justify-content: flex-start;
}
.royal-symbol-left {
    
     justify-content: flex-end;
}



@media (max-width: 700px) {

    .royal-symbol {
        min-width: auto;

        gap: 7px;
    }


    .royal-symbol-image {
        width: 42px;
        height: 42px;
    }


    .royal-symbol-name {
        font-size: 9px;

        letter-spacing: 1px;
    }

}

@media (max-width: 480px) {

    .royal-symbol-name {
        display: none;
    }


    .royal-symbol-image {
        width: 38px;
        height: 38px;
    }

}
/* =========================================
   ROYAL IMAGE
========================================= */

.royal-symbol-image {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 50%;

    border: 2px solid var(--royal-gold);

    background: #eee;
}


.royal-symbol-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================
   ROYAL NAME
========================================= */

.royal-symbol-name {
    color: var(--royal-gold);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}

.kingdom-brand {
    text-align: center;
}


.brand-small {
    display: block;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 3px;

    color: var(--muted);

    margin-bottom: 3px;
}


.kingdom-brand h1 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(25px, 3vw, 42px);

    line-height: 1;

    letter-spacing: 3px;

    color: var(--royal-primary);
}


.brand-subtitle {
    display: block;

    margin-top: 8px;

    font-size: 11px;

    letter-spacing: 2px;

    color: var(--royal-gold);

    text-transform: uppercase;
}


/* =========================================
   MAIN NAVIGATION
========================================= */

.main-navigation {
    position: relative;
    z-index: 1000;

    background: var(--royal-primary);

    color: var(--white);

    border-bottom: 3px solid var(--royal-gold);
}


.nav-container {
    max-width: var(--max-width);

    margin: 0 auto;

    min-height: 56px;

    display: flex;
    align-items: stretch;
    justify-content: center;
}


.nav-link,
.nav-dropdown-button {
    display: flex;
    align-items: center;
    gap: 7px;

    padding: 0 18px;

    border: 0;

    background: transparent;

    color: var(--white);

    font-size: 14px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.nav-link:hover,
.nav-dropdown-button:hover,
.nav-link.active {
    background: var(--royal-dark);
}


.nav-dropdown {
    position: relative;

    display: flex;
    align-items: stretch;
}


.nav-dropdown-button span {
    font-size: 16px;
}


/* =========================================
   DESKTOP DROPDOWN
========================================= */

.dropdown-menu {
    position: absolute;

    top: 100%;
    left: 0;

    min-width: 220px;

    background: var(--white);

    border-top: 3px solid var(--royal-gold);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.15);

    visibility: hidden;
    opacity: 0;

    transform: translateY(8px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}


.nav-dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;

    transform: translateY(0);
}


.dropdown-menu a {
    display: block;

    padding: 12px 16px;

    color: var(--text);

    font-size: 14px;

    border-bottom: 1px solid #eeeeee;
}


.dropdown-menu a:hover {
    background: #faf7ed;

    color: var(--royal-primary);
}


/* =========================================
   MOBILE HEADER
========================================= */

.mobile-header {
    display: none;

    height: 62px;

    align-items: center;
    justify-content: space-between;

    padding: 0 18px;

    background: var(--royal-primary);

    color: var(--white);
}


.mobile-menu-button {
    border: 0;
    background: transparent;

    color: var(--white);

    font-size: 25px;

    line-height: 1;
}


.mobile-brand {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 17px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


.mobile-ada {
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;

    color: var(--royal-gold-light);
}


/* =========================================
   MOBILE SIDE MENU
========================================= */

.mobile-side-menu {
    position: fixed;

    top: 0;
    left: 0;

    width: min(340px, 88vw);
    height: 100vh;

    z-index: 2000;

    background: var(--white);

    box-shadow:
        8px 0 30px rgba(0, 0, 0, 0.2);

    transform: translateX(-105%);

    transition: transform 0.3s ease;

    overflow-y: auto;
}


.mobile-side-menu.open {
    transform: translateX(0);
}


.mobile-menu-overlay {
    position: fixed;

    inset: 0;

    z-index: 1999;

    background: rgba(0, 0, 0, 0.55);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}


.mobile-menu-header {
    min-height: 85px;

    padding: 20px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    background: var(--royal-primary);

    color: var(--white);

    border-bottom: 3px solid var(--royal-gold);
}


.mobile-menu-header span {
    display: block;

    font-size: 9px;

    letter-spacing: 2px;

    opacity: 0.8;
}


.mobile-menu-header strong {
    display: block;

    margin-top: 3px;

    font-family: Georgia, serif;

    font-size: 25px;

    letter-spacing: 2px;
}


.mobile-menu-header button {
    border: 0;

    background: transparent;

    color: var(--white);

    font-size: 32px;

    line-height: 1;
}


.mobile-menu-content {
    padding: 10px 0;
}


.mobile-menu-content > a,
.mobile-menu-content summary {
    display: block;

    padding: 15px 20px;

    color: var(--text);

    font-size: 15px;
    font-weight: 600;

    border-bottom: 1px solid #eeeeee;

    cursor: pointer;
}


.mobile-menu-content > a:hover,
.mobile-menu-content summary:hover {
    color: var(--royal-primary);

    background: #faf7ed;
}


.mobile-menu-content details a {
    display: block;

    padding: 11px 20px 11px 38px;

    color: #555555;

    font-size: 14px;

    background: #fafafa;

    border-bottom: 1px solid #eeeeee;
}


.mobile-menu-content details a:hover {
    color: var(--royal-primary);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .main-navigation {
        display: none;
    }


    .royal-bar {
        display: none;
    }


    .mobile-header {
        display: flex;
    }

}


@media (max-width: 500px) {

    .mobile-brand {
        font-size: 14px;
    }

    .mobile-side-menu {
        width: 88vw;
    }

}


/* =========================================
   HERO WRAPPER
========================================= */

.hero-wrapper {
    display: grid;

    grid-template-columns:
        minmax(0, 3.2fr)
        minmax(280px, 1fr);

    width: 100%;

    min-height: 650px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #0b1c16,
            #122a21
        );
}


/* =========================================
   MAIN HERO
========================================= */

.hero-slider {
    position: relative;

    width: 100%;
    height: clamp(520px, 72vh, 720px);

    min-width: 0;

    overflow: hidden;

    background: #111;
}


/* =========================================
   HERO SLIDES
========================================= */

.hero-slides {
    position: relative;

    width: 100%;
    height: 100%;
}


.hero-slide {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    transform: scale(1.03);

    transition:
        opacity 0.9s ease,
        visibility 0.9s ease,
        transform 7s ease;
}


.hero-slide.active {
    opacity: 1;
    visibility: visible;

    z-index: 1;

    transform: scale(1);
}


/* =========================================
   HERO IMAGE
========================================= */

.hero-slide img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1.02);

    transition:
        transform 8s ease;
}


.hero-slide.active img {
    transform: scale(1);
}


/* =========================================
   HERO OVERLAY
========================================= */

.hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.55) 35%,
            rgba(0, 0, 0, 0.22) 70%,
            rgba(0, 0, 0, 0.08) 100%
        );
}


/* =========================================
   HERO CONTENT
========================================= */

.hero-content {
    position: absolute;

    z-index: 4;

    left: clamp(30px, 7vw, 100px);

    bottom: clamp(90px, 15%, 140px);

    width: min(680px, 78%);

    color: var(--white);

    animation:
        heroContentIn 0.9s ease both;
}


.hero-slide:not(.active) .hero-content {
    animation: none;
}


@keyframes heroContentIn {

    from {
        opacity: 0;

        transform:
            translateY(35px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


/* =========================================
   HERO LABEL
========================================= */

.hero-label {
    display: inline-flex;

    align-items: center;

    margin-bottom: 16px;

    padding: 7px 13px;

    border-left:
        4px solid
        var(--royal-gold);

    background:
        rgba(0, 0, 0, 0.38);

    color:
        var(--royal-gold-light);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 3px;

    backdrop-filter:
        blur(5px);

    animation:
        heroLabelIn 0.8s
        0.15s ease both;
}


@keyframes heroLabelIn {

    from {
        opacity: 0;

        transform:
            translateX(-20px);
    }

    to {
        opacity: 1;

        transform:
            translateX(0);
    }

}


/* =========================================
   HERO HEADING
========================================= */

.hero-content h2 {
    margin: 0 0 16px;

    max-width: 680px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(32px, 4.5vw, 64px);

    line-height: 1.08;

    font-weight: 700;

    letter-spacing: -0.5px;

    text-shadow:
        0 4px 18px
        rgba(0, 0, 0, 0.45);
}


/* =========================================
   HERO PARAGRAPH
========================================= */

.hero-content p {
    max-width: 590px;

    margin: 0 0 26px;

    color:
        rgba(255, 255, 255, 0.9);

    font-size:
        clamp(14px, 1.2vw, 17px);

    line-height: 1.7;
}


/* =========================================
   HERO BUTTON
========================================= */

.hero-button {
    position: relative;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    padding: 13px 24px;

    border:
        1px solid
        var(--royal-gold);

    background:
        var(--royal-gold);

    color: #1d1600;

    font-size: 13px;

    font-weight: 800;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}


.hero-button::before {
    content: "";

    position: absolute;

    top: 0;
    left: -110%;

    width: 100%;
    height: 100%;

    background:
        rgba(255, 255, 255, 0.28);

    transform:
        skewX(-20deg);

    transition:
        left 0.5s ease;
}


.hero-button:hover::before {
    left: 110%;
}


.hero-button:hover {
    transform:
        translateY(-3px);

    background:
        transparent;

    color:
        var(--white);

    box-shadow:
        0 10px 25px
        rgba(0, 0, 0, 0.25);
}


/* =========================================
   HERO ARROWS
========================================= */

.hero-arrow {
    position: absolute;

    top: 50%;

    z-index: 10;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 48px;
    height: 48px;

    padding: 0;

    border:
        1px solid
        rgba(255, 255, 255, 0.4);

    border-radius: 50%;

    background:
        rgba(0, 0, 0, 0.32);

    color:
        var(--white);

    font-size: 20px;

    cursor: pointer;

    transform:
        translateY(-50%);

    backdrop-filter:
        blur(6px);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}


.hero-arrow:hover {
    background:
        var(--royal-primary);

    border-color:
        var(--royal-gold);

    transform:
        translateY(-50%)
        scale(1.08);
}


.hero-prev {
    left: 22px;
}


.hero-next {
    right: 22px;
}


/* =========================================
   HERO DOTS
========================================= */

.hero-dots {
    position: absolute;

    z-index: 10;

    left: 50%;

    bottom: 25px;

    display: flex;

    align-items: center;

    gap: 8px;

    transform:
        translateX(-50%);
}


.hero-dot {
    width: 9px;
    height: 9px;

    padding: 0;

    border:
        1px solid
        rgba(255, 255, 255, 0.8);

    border-radius: 50%;

    background: transparent;

    opacity: 0.7;

    cursor: pointer;

    transition:
        width 0.25s ease,
        background 0.25s ease,
        opacity 0.25s ease,
        transform 0.25s ease;
}


.hero-dot:hover {
    transform:
        scale(1.25);

    opacity: 1;
}


.hero-dot.active {
    width: 30px;

    border-radius: 20px;

    background:
        var(--royal-gold);

    border-color:
        var(--royal-gold);

    opacity: 1;
}


/* =========================================
   HERO SIDEBAR
========================================= */

.hero-sidebar {
    display: flex;

    flex-direction: column;

    gap: 18px;

    min-width: 0;

    padding: 20px;

    background:
        linear-gradient(
            180deg,
            #10251d 0%,
            #0b1b15 100%
        );

    border-left:
        1px solid
        rgba(255, 255, 255, 0.08);

    animation:
        sidebarReveal
        0.8s
        0.2s
        ease both;
}


@keyframes sidebarReveal {

    from {
        opacity: 0;

        transform:
            translateX(30px);
    }

    to {
        opacity: 1;

        transform:
            translateX(0);
    }

}


/* =========================================
   SEARCH BAR
========================================= */

.sidebar-search {
    display: flex;

    width: 100%;

    min-width: 0;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.14);

    border-radius: 4px;

    background:
        rgba(255, 255, 255, 0.07);

    box-shadow:
        0 8px 25px
        rgba(0, 0, 0, 0.15);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


.sidebar-search:focus-within {
    border-color:
        var(--royal-gold);

    background:
        rgba(255, 255, 255, 0.1);

    box-shadow:
        0 0 0 3px
        rgba(212, 175, 55, 0.12);
}


.sidebar-search input {
    flex: 1;

    min-width: 0;

    width: 100%;

    padding: 13px 14px;

    border: none;

    outline: none;

    background: transparent;

    color:
        var(--white);

    font-size: 13px;
}


.sidebar-search input::placeholder {
    color:
        rgba(255, 255, 255, 0.55);
}


.sidebar-search button {
    flex: 0 0 48px;

    border: none;

    border-left:
        1px solid
        rgba(255, 255, 255, 0.1);

    background:
        var(--royal-gold);

    color:
        #1d1600;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.sidebar-search button:hover {
    background:
        var(--royal-gold-light);

    transform:
        scale(1.05);
}



/* =========================================
   SEARCH WRAPPER
========================================= */

.sidebar-search-wrapper {
    position: relative;

    width: 100%;

    z-index: 50;
}

/* =========================================
   SEARCH RESULTS
========================================= */
.search-results {
    display: none;

    position: absolute;

    top: calc(100% + 5px);

    left: 0;

    width: 100%;

    max-height: 400px;

    overflow-y: auto;

    background: var(--white);

    border: 1px solid #e2e2e2;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.12);

    z-index: 9999;
}


.search-results.show {
    display: block;
}


.search-message {
    padding: 18px;

    color: #777;

    background: var(--white);

    font-size: 12px;

    text-align: center;
}

/* =========================================
   SEARCH RESULT ITEM
========================================= */
.search-result-item {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 13px;

    background: var(--white);

    border-bottom: 1px solid #eeeeee;

    text-decoration: none;

    transition:
        background 0.2s ease;
}


.search-result-item:hover {
    background: #faf8f1;
}


.search-result-image {
    width: 55px;

    height: 45px;

    flex-shrink: 0;

    overflow: hidden;

    background: #eee;
}


.search-result-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;
}


.search-result-content {
    min-width: 0;

    flex: 1;
}


.search-result-type {
    display: block;

    margin-bottom: 4px;

    color: var(--royal-gold);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.2px;
}


.search-result-title {
    margin: 0;

    color: #292929;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 13px;

    line-height: 1.35;
}

/* =========================================
   NO RESULTS / SEARCH MESSAGE
========================================= */

.search-message {
    padding: 20px 15px;

    background: var(--white);

    color: #777;

    text-align: center;

    font-size: 12px;

    line-height: 1.5;
}


.search-message strong {
    color: var(--royal-primary);
}

/* =========================================
   MOBILE SEARCH RESULTS
========================================= */

@media (max-width: 600px) {

    .search-results {
        max-height: 320px;
    }


    .search-result-item {
        padding: 10px;
    }


    .search-result-image {
        width: 50px;
        height: 45px;
    }


    .search-result-title {
        font-size: 12px;
    }

}


/* =========================================
   SIDEBAR WIDGET
========================================= */

.sidebar-widget {
    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.1);

    background:
        rgba(255, 255, 255, 0.045);

    box-shadow:
        0 15px 35px
        rgba(0, 0, 0, 0.18);

    backdrop-filter:
        blur(8px);
}


/* =========================================
   WIDGET TABS
========================================= */

.widget-tabs {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.1);

        
}


.tab-btn {
    position: relative;

    min-width: 0;

    padding: 13px 5px;

    border: none;

    background: transparent;

    color:
        rgba(255, 255, 255, 0.55);

    font-size: 10px;

    font-weight: 700;

    white-space: nowrap;

    cursor: pointer;

    transition:
        color 0.25s ease,
        background 0.25s ease;
}


.tab-btn::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 0;
    height: 2px;

    background:
        var(--royal-gold);

    transform:
        translateX(-50%);

    transition:
        width 0.3s ease;
}


.tab-btn:hover {
    color:
        var(--white);

    background:
        rgba(255, 255, 255, 0.04);
}


.tab-btn.active {
    color:
        var(--royal-gold-light);
}

.tab-btn.active::after {
    content: "";

    position: absolute;

    left: 15%;

    right: 15%;

    bottom: -1px;

    height: 2px;

    background: var(--royal-gold);
}




/* =========================================
   POSTS
========================================= */

.widget-posts {
    display: flex;

    flex-direction: column;
}


.post-item {
    display: grid;

    grid-template-columns: 80px minmax(0, 1fr);

    gap: 12px;

    min-width: 0;

    padding: 14px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.08);

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}


.post-item:last-child {
    border-bottom: none;
}


.post-item:hover {
    background:
        rgba(255, 255, 255, 0.055);

    transform:
        translateX(4px);
}

.post-number {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 32px;
    height: 32px;

    flex-shrink: 0;

    background: var(--royal-primary);

    color: var(--royal-gold-light);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 12px;

    font-weight: 700;
}

.post-item img {
    width: 80px;
    height: 70px;

    display: block;

    object-fit: cover;

    border-radius: 3px;

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}


.post-item:hover img {
    transform:
        scale(1.06);

    filter:
        brightness(1.1);
}


.post-info {
    min-width: 0;
}


.post-badge {
    display: block;

    margin-bottom: 5px;

    color:
        var(--royal-gold);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.2px;

    line-height: 1.3;
}


.post-info h4 {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.92);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 13px;

    line-height: 1.4;

    font-weight: 600;

    overflow-wrap: anywhere;
}

.post-info p {
    margin-top: 6px;

    color: #888;

    font-size: 10px;

    line-height: 1.45;

    display: -webkit-box;

    -webkit-line-clamp: 2;
    line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;
}

/* =========================================
   LOADING / EMPTY STATES
========================================= */

.widget-loading,
.widget-message {
    padding: 30px 15px;

    text-align: center;

    color: #888;

    font-size: 11px;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .hero-wrapper {
        grid-template-columns:
            minmax(0, 2.4fr)
            minmax(260px, 1fr);
    }


    .hero-sidebar {
        padding: 15px;
    }


    .post-item {
        grid-template-columns:
            65px minmax(0, 1fr);

        gap: 9px;

        padding: 11px;
    }


    .post-item img {
        width: 65px;
        height: 62px;
    }


    .post-info h4 {
        font-size: 12px;
    }


    .hero-content {
        left: 5%;

        width: 82%;
    }

}


/* =========================================
   TABLET / SMALL LAPTOP
========================================= */

@media (max-width: 850px) {

    .hero-wrapper {
        display: block;

        min-height: 0;
    }


    .hero-slider {
        height: 600px;
    }


    .hero-sidebar {
        display: grid;

        grid-template-columns:
            minmax(220px, 0.8fr)
            minmax(0, 1.5fr);

        align-items: start;

        border-left: none;

        border-top:
            1px solid
            rgba(255, 255, 255, 0.08);
    }


    .sidebar-search {
        grid-column: 1;
    }


    .sidebar-widget {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .hero-wrapper {
        display: block;
    }


    .hero-slider {
        height: 560px;
    }


    .hero-slide img {
        object-position: center center;
    }


    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.18) 0%,
                rgba(0, 0, 0, 0.48) 45%,
                rgba(0, 0, 0, 0.82) 100%
            );
    }


    .hero-content {
        left: 20px;

        right: 20px;

        bottom: 75px;

        width: auto;
    }


    .hero-content h2 {
        font-size:
            clamp(28px, 9vw, 42px);

        line-height: 1.1;
    }


    .hero-content p {
        font-size: 14px;

        line-height: 1.6;
    }


    .hero-label {
        font-size: 9px;

        letter-spacing: 2px;

        padding: 6px 10px;
    }


    .hero-button {
        padding:
            11px 18px;

        font-size: 12px;
    }


    .hero-arrow {
        width: 40px;
        height: 40px;

        font-size: 17px;
    }


    .hero-prev {
        left: 10px;
    }


    .hero-next {
        right: 10px;
    }


    .hero-dots {
        bottom: 20px;
    }


    /* Sidebar */

    .hero-sidebar {
        display: flex;

        padding: 15px;

        gap: 14px;
    }


    .sidebar-search {
        width: 100%;
    }


    .sidebar-widget {
        width: 100%;
    }


    .post-item {
        grid-template-columns:
            75px minmax(0, 1fr);

        padding: 13px;
    }


    .post-item img {
        width: 75px;
        height: 68px;
    }


    .post-info h4 {
        font-size: 13px;
    }


    .tab-btn {
        font-size: 9px;

        padding:
            12px 3px;
    }

}


/* =========================================
   VERY SMALL PHONES
========================================= */

@media (max-width: 380px) {

    .hero-slider {
        height: 520px;
    }


    .hero-content {
        left: 16px;
        right: 16px;
    }


    .hero-content h2 {
        font-size: 28px;
    }


    .hero-content p {
        font-size: 13px;
    }


    .post-item {
        grid-template-columns:
            62px minmax(0, 1fr);

        gap: 9px;
    }


    .post-item img {
        width: 62px;
        height: 60px;
    }


    .post-info h4 {
        font-size: 12px;
    }

}


/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    .hero-slide,
    .hero-slide img,
    .hero-content,
    .hero-label,
    .hero-button,
    .hero-arrow,
    .hero-dot,
    .hero-sidebar,
    .post-item,
    .post-item img {
        animation: none !important;

        transition: none !important;
    }

}


/* =========================================
   HOMEPAGE INTRODUCTION
========================================= */

.homepage-content {
    padding: 80px 20px;
}


.homepage-container {
    max-width: var(--max-width);

    margin: 0 auto;
}


.homepage-introduction {
    max-width: 800px;
}


.section-label {
    display: block;

    margin-bottom: 10px;

    color: var(--royal-primary);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 3px;
}


.homepage-introduction h2 {
    margin-bottom: 15px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(28px, 4vw, 42px);

    color: var(--royal-primary);
}


.homepage-introduction p {
    color: #666;

    font-size: 17px;
}


/* =========================================
   HERO RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .hero-slider {
        height: 650px;

        min-height: 0;
    }


    .hero-content {
        left: 7%;

        bottom: 15%;

        width: 78%;
    }


    .hero-content h2 {
        font-size: clamp(30px, 6vw, 48px);
    }


    .hero-arrow {
        width: 42px;
        height: 42px;

        font-size: 18px;
    }


    .hero-prev {
        left: 15px;
    }


    .hero-next {
        right: 15px;
    }

}


@media (max-width: 600px) {

    .hero-slider {
        height: 620px;
    }


    .hero-overlay {
        background:
            linear-gradient(
                to top,
                rgba(0, 0, 0, 0.85) 0%,
                rgba(0, 0, 0, 0.5) 55%,
                rgba(0, 0, 0, 0.1) 100%
            );
    }


    .hero-content {
        left: 22px;

        right: 22px;

        bottom: 75px;

        width: auto;
    }


    .hero-content h2 {
        font-size: 32px;

        line-height: 1.15;
    }


    .hero-content p {
        font-size: 14px;

        line-height: 1.6;
    }


    .hero-button {
        padding: 10px 18px;

        font-size: 13px;
    }


    .hero-arrow {
        width: 36px;
        height: 36px;

        font-size: 16px;
    }


    .hero-prev {
        left: 10px;
    }


    .hero-next {
        right: 10px;
    }


    .hero-dots {
        bottom: 25px;
    }

}

/* =========================================
   SECTION CONTAINER
========================================= */

.section-container {
    width: min(
        var(--max-width),
        calc(100% - 40px)
    );

    margin: 0 auto;
}


/* =========================================
   SECTION HEADING
========================================= */

.section-heading {
    max-width: 720px;

    margin-bottom: 45px;
}


.section-heading-left {
    margin-bottom: 0;
}


.section-heading h2 {
    margin-bottom: 12px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    color: var(--royal-primary);

    font-size: clamp(30px, 4vw, 46px);

    line-height: 1.15;
}


.section-heading p {
    color: #6d6d6d;

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================
   WELCOME SECTION
========================================= */

.welcome-section {
    padding: 100px 0;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #faf8f2 100%
        );
}


.welcome-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(350px, 0.7fr);

    gap: 70px;

    align-items: stretch;
}


/* =========================================
   WELCOME CONTENT
========================================= */

.welcome-content {
    align-self: center;

    max-width: 720px;
}


.content-eyebrow {
    display: block;

    margin-bottom: 10px;

    color: var(--royal-gold);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;
}


.welcome-content h3,
.royal-message-content h3 {
    margin-bottom: 20px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    color: var(--royal-primary);

    font-size: clamp(27px, 3vw, 38px);

    line-height: 1.2;
}


.welcome-content p {
    margin-bottom: 18px;

    color: #5f5f5f;

    font-size: 16px;

    line-height: 1.85;
}


/* =========================================
   OUTLINE BUTTON
========================================= */

.outline-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-top: 10px;

    padding: 12px 22px;

    border: 1px solid var(--royal-primary);

    color: var(--royal-primary);

    font-size: 14px;

    font-weight: 700;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.outline-button:hover {
    background: var(--royal-primary);

    color: var(--white);
}


/* =========================================
   ROYAL MESSAGE CARD
========================================= */

.royal-message-card {
    background: var(--white);

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.08);

    border: 1px solid #eee;

    overflow: hidden;
}


.royal-message-image {
    position: relative;

    height: 300px;

    overflow: hidden;
}


.royal-message-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}


.royal-message-card:hover
.royal-message-image img {
    transform: scale(1.04);
}


.royal-image-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.7),
            transparent 65%
        );
}


.royal-card-label {
    position: absolute;

    left: 20px;
    bottom: 20px;

    padding: 7px 12px;

    background: var(--royal-gold);

    color: #201800;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;
}


.royal-message-content {
    padding: 28px;
}


.royal-message-content h3 {
    font-size: 28px;
}


.royal-message-content p {
    margin-bottom: 20px;

    color: #666;

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================
   TEXT BUTTON
========================================= */

.text-button {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--royal-primary);

    font-size: 13px;

    font-weight: 700;

    transition: gap 0.2s ease;
}


.text-button:hover {
    gap: 13px;
}


.text-button span {
    font-size: 18px;
}


/* =========================================
   NEWS SECTION
========================================= */

.news-section {
    padding: 100px 0;

    background: #ffffff;
}


.news-heading-row {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 30px;

    margin-bottom: 45px;
}


.view-all-link {
    flex-shrink: 0;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding-bottom: 7px;

    border-bottom: 1px solid var(--royal-primary);

    color: var(--royal-primary);

    font-size: 13px;

    font-weight: 700;
}


.view-all-link span {
    font-size: 18px;
}


/* =========================================
   NEWS GRID
========================================= */

.news-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}


/* =========================================
   NEWS CARD
========================================= */

.news-card {
    overflow: hidden;

    background: var(--white);

    border: 1px solid #e9e9e9;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.news-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.1);
}


/* =========================================
   NEWS IMAGE
========================================= */

.news-image {
    position: relative;

    display: block;

    height: 245px;

    overflow: hidden;

    background: #eee;
}


.news-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}


.news-card:hover .news-image img {
    transform: scale(1.05);
}


.news-category {
    position: absolute;

    top: 15px;
    left: 15px;

    padding: 6px 10px;

    background: var(--royal-primary);

    color: var(--white);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.5px;
}


/* =========================================
   NEWS CONTENT
========================================= */

.news-card-content {
    padding: 25px;
}


.news-card-content time {
    display: block;

    margin-bottom: 10px;

    color: #999;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 0.5px;
}


.news-card-content h3 {
    margin-bottom: 12px;

    color: #222;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 22px;

    line-height: 1.3;
}


.news-card-content p {
    margin-bottom: 20px;

    color: #707070;

    font-size: 14px;

    line-height: 1.65;
}


.news-read-more {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--royal-primary);

    font-size: 12px;

    font-weight: 700;
}


.news-read-more span {
    font-size: 17px;

    transition: transform 0.2s ease;
}


.news-read-more:hover span {
    transform: translateX(4px);
}

/* =========================================
   WELCOME / NEWS RESPONSIVE
========================================= */

@media (max-width: 1000px) {

    .welcome-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .welcome-content {
        max-width: 800px;
    }


    .royal-message-card {
        max-width: 600px;
    }


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

}


@media (max-width: 700px) {

    .section-container {
        width: min(
            var(--max-width),
            calc(100% - 30px)
        );
    }


    .welcome-section,
    .news-section {
        padding: 70px 0;
    }


    .section-heading {
        margin-bottom: 30px;
    }


    .news-heading-row {
        display: block;

        margin-bottom: 30px;
    }


    .section-heading-left {
        margin-bottom: 20px;
    }


    .news-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .news-image {
        height: 230px;
    }


    .royal-message-image {
        height: 260px;
    }

}
/* =========================================
   EVENTS SECTION
========================================= */

.events-section {
    padding: 100px 0;

    background:
        linear-gradient(
            135deg,
            #faf8f1 0%,
            #ffffff 100%
        );

    border-top: 1px solid #eee;
}


/* =========================================
   EVENTS HEADING
========================================= */

.events-heading-row {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 45px;
}


.events-heading-row .section-heading {
    max-width: 650px;
}


.events-heading-row .section-heading p {
    max-width: 600px;
}


.view-all-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    flex-shrink: 0;

    color: var(--royal-primary);

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;
}


.view-all-link span {
    font-size: 18px;

    transition:
        transform 0.2s ease;
}


.view-all-link:hover span {
    transform: translateX(5px);
}

/* =========================================
   EVENTS GRID
========================================= */

.events-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;

    width: 100%;
}


/* =========================================
   EVENT CARD
========================================= */

.event-card {
    display: grid;

    grid-template-columns: 82px minmax(0, 1fr);

    min-width: 0;

    overflow: hidden;

    background: var(--white);

    border: 1px solid #e5e5e5;

    border-radius: 2px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.event-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(0, 0, 0, 0.08);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.09);
}

/* =========================================
   HOMEPAGE EVENT CARD
========================================= */

.homepage-event-card {
    display: flex;

    width: 100%;

    text-decoration: none;

    color: inherit;

    cursor: pointer;

    position: relative;

    z-index: 2;

    pointer-events: auto;
}


.homepage-event-card:hover {
    text-decoration: none;
}


.homepage-event-card h3,
.homepage-event-card p,
.homepage-event-card span {
    pointer-events: none;
}
/* =========================================
   EVENT DATE
========================================= */

.event-date {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    min-width: 0;

    padding: 18px 8px;

    background: var(--royal-primary);

    color: var(--white);

    text-align: center;
}


.event-month {
    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.8px;

    color: var(--royal-gold-light);
}


.event-day {
    margin: 4px 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 36px;

    line-height: 1;

    font-weight: 700;
}


.event-year {
    font-size: 10px;

    opacity: 0.75;
}


/* =========================================
   EVENT DETAILS
========================================= */

.event-details {
    min-width: 0;

    padding: 22px;
}


.event-type {
    display: block;

    width: fit-content;

    max-width: 100%;

    margin-bottom: 8px;

    overflow: hidden;

    color: var(--royal-gold);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.6px;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.event-details h3 {
    margin: 0 0 10px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    color: #252525;

    font-size: 19px;

    line-height: 1.3;

    overflow-wrap: anywhere;
}


.event-details p {
    margin: 0 0 18px;

    color: #707070;

    font-size: 13px;

    line-height: 1.65;

    overflow-wrap: anywhere;
}


/* =========================================
   EVENT META
========================================= */

.event-meta {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 8px 14px;

    color: #888;

    font-size: 11px;

    line-height: 1.5;
}


.event-meta span {
    display: inline-flex;

    align-items: center;

    min-width: 0;

    overflow-wrap: anywhere;
}


/* =========================================
   EVENTS EMPTY / ERROR MESSAGE
========================================= */

.events-message {
    grid-column: 1 / -1;

    padding: 40px 20px;

    border: 1px solid #e5e5e5;

    background: var(--white);

    color: #777;

    text-align: center;

    font-size: 14px;
}

/* =========================================
   EVENTS TABLET
========================================= */

@media (max-width: 1000px) {

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

        gap: 20px;
    }


    .event-card {
        grid-template-columns:
            78px minmax(0, 1fr);
    }


    .event-details {
        padding: 20px;
    }


    .event-details h3 {
        font-size: 18px;
    }

}

/* =========================================
   EVENTS MOBILE
========================================= */

@media (max-width: 700px) {

    .events-section {
        padding: 70px 0;
    }


    .events-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    .event-card {
        grid-template-columns:
            76px minmax(0, 1fr);

        width: 100%;
    }


    .event-date {
        padding: 18px 6px;
    }


    .event-day {
        font-size: 32px;
    }


    .event-details {
        padding: 18px;
    }


    .event-details h3 {
        font-size: 18px;

        line-height: 1.35;
    }


    .event-details p {
        font-size: 13px;

        line-height: 1.6;
    }


    .event-meta {
        gap: 6px 12px;

        font-size: 10px;
    }

}



/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 420px) {

    .event-card {
        grid-template-columns:
            64px minmax(0, 1fr);
    }


    .event-date {
        padding: 15px 4px;
    }


    .event-month {
        font-size: 9px;

        letter-spacing: 1.2px;
    }


    .event-day {
        font-size: 28px;
    }


    .event-year {
        font-size: 9px;
    }


    .event-details {
        padding: 15px;
    }


    .event-details h3 {
        font-size: 16px;
    }


    .event-details p {
        font-size: 12px;
    }

}

/* =========================================
   HOMEPAGE EVENTS LOADING
========================================= */

.homepage-events-loading {
    grid-column: 1 / -1;

    min-height: 180px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 12px;

    color: #777;
}


.events-spinner {
    width: 30px;
    height: 30px;

    border: 3px solid rgba(0, 0, 0, 0.12);

    border-top-color: var(--royal-gold);

    border-radius: 50%;

    animation:
        eventsSpin 0.8s linear infinite;
}


@keyframes eventsSpin {

    to {
        transform: rotate(360deg);
    }

}


.homepage-events-message {
    grid-column: 1 / -1;

    padding: 45px 20px;

    text-align: center;

    color: #777;
}
/* =========================================
   GALLERY SECTION
========================================= */

.gallery-section {
    padding: 100px 0;

    background: #ffffff;
}


.gallery-heading-row {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 45px;
}



/* =========================================
   KINGDOM ANNOUNCEMENT MARQUEE
========================================= */

.kingdom-marquee {
    position: relative;

    display: flex;

    align-items: center;

    width: 100%;

    min-height: 46px;

    background: var(--royal-primary);

    color: var(--white);

    overflow: hidden;

    border-top: 1px solid
        rgba(255, 255, 255, 0.08);

    border-bottom: 1px solid
        rgba(255, 255, 255, 0.08);
}


/* =========================================
   MARQUEE LABEL
========================================= */

.marquee-label {
    position: relative;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 9px;

    flex-shrink: 0;

    height: 46px;

    padding: 0 22px;

    background: var(--royal-gold);

    color: #1e1700;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.8px;
}


.marquee-label-icon {
    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 13px;
}


/* =========================================
   MARQUEE WINDOW
========================================= */

.marquee-window {
    position: relative;

    flex: 1;

    overflow: hidden;

    height: 46px;

    display: flex;

    align-items: center;
}


/*
    Fade the edges slightly so the text
    enters and leaves smoothly.
*/

.marquee-window::before,
.marquee-window::after {
    content: "";

    position: absolute;

    top: 0;

    z-index: 3;

    width: 60px;

    height: 100%;

    pointer-events: none;
}


.marquee-window::before {
    left: 0;

    background:
        linear-gradient(
            to right,
            var(--royal-primary),
            transparent
        );
}


.marquee-window::after {
    right: 0;

    background:
        linear-gradient(
            to left,
            var(--royal-primary),
            transparent
        );
}


/* =========================================
   MARQUEE TRACK
========================================= */

.marquee-track {
    display: flex;

    align-items: center;

    width: max-content;

    height: 100%;

    animation:
        kingdomMarquee
        35s
        linear
        infinite;
}


/* =========================================
   MARQUEE ITEMS
========================================= */

.marquee-item {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;

    margin-right: 70px;

    color: rgba(255, 255, 255, 0.92);

    font-size: 12px;

    white-space: nowrap;

    transition:
        color 0.2s ease;
}


.marquee-item:hover {
    color: var(--royal-gold-light);
}


.marquee-dot {
    width: 5px;

    height: 5px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--royal-gold);
}


/* =========================================
   MARQUEE ANIMATION
========================================= */

@keyframes kingdomMarquee {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* =========================================
   MARQUEE CONTROL
========================================= */

.marquee-control {
    position: relative;

    z-index: 5;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 46px;

    height: 46px;

    flex-shrink: 0;

    border: none;

    border-left: 1px solid
        rgba(255, 255, 255, 0.12);

    background: var(--royal-primary);

    color: var(--white);

    font-size: 10px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.marquee-control:hover {
    background: rgba(255, 255, 255, 0.08);

    color: var(--royal-gold-light);
}


/* =========================================
   MOBILE MARQUEE
========================================= */

@media (max-width: 600px) {

    .kingdom-marquee {
        min-height: 42px;
    }


    .marquee-label {
        height: 42px;

        padding: 0 14px;

        font-size: 9px;

        letter-spacing: 1.2px;
    }


    .marquee-window {
        height: 42px;
    }


    .marquee-item {
        font-size: 11px;

        margin-right: 50px;
    }


    .marquee-control {
        width: 40px;

        height: 42px;
    }

}

/* =========================================
   NEWS LOADING
========================================= */

.news-loading {
    grid-column: 1 / -1;

    padding: 50px 20px;

    text-align: center;

    color: #888;

    font-size: 13px;
}

/* =========================================
   SINGLE NEWS PAGE
========================================= */

.single-news-page {
    padding: 90px 20px 110px;

    background:
        linear-gradient(
            135deg,
            #faf8f1 0%,
            #ffffff 100%
        );
}


.single-news-container {
    width: min(100%, 1050px);

    margin: 0 auto;
}


/* =========================================
   LOADING
========================================= */

.single-news-loading {
    padding: 100px 20px;

    text-align: center;

    color: #777;

    font-size: 14px;
}


/* =========================================
   ARTICLE HEADER
========================================= */

.single-news-header {
    max-width: 850px;

    margin: 0 auto 40px;

    text-align: center;
}


.single-news-category {
    display: inline-block;

    margin-bottom: 15px;

    color: var(--royal-gold);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;
}


.single-news-header h1 {
    margin: 0 0 20px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    color: #252525;

    font-size: clamp(
        32px,
        5vw,
        58px
    );

    line-height: 1.1;
}


.single-news-meta {
    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    color: #888;

    font-size: 12px;
}


/* =========================================
   FEATURED IMAGE
========================================= */

.single-news-image {
    width: 100%;

    max-height: 600px;

    overflow: hidden;

    margin-bottom: 50px;

    background: #eee;
}


.single-news-image img {
    display: block;

    width: 100%;

    max-height: 600px;

    object-fit: cover;
}


/* =========================================
   ARTICLE BODY
========================================= */

.single-news-body {
    width: min(100%, 780px);

    margin: 0 auto;

    color: #444;

    font-size: 17px;

    line-height: 1.9;

    white-space: pre-line;
}


.single-news-body::first-letter {
    font-size: 2em;
}


/* =========================================
   BACK LINK
========================================= */

.single-news-back {
    width: min(100%, 780px);

    margin: 55px auto 0;

    padding-top: 25px;

    border-top: 1px solid #e5e5e5;
}


.single-news-back a {
    color: var(--royal-primary);

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;
}


.single-news-back a:hover {
    color: var(--royal-gold);
}


/* =========================================
   ARTICLE ERROR
========================================= */

.single-news-error {
    padding: 100px 20px;

    text-align: center;
}


.single-news-error h2 {
    margin-bottom: 15px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 32px;

    color: #252525;
}


.single-news-error p {
    margin-bottom: 25px;

    color: #777;
}


.single-news-error a {
    display: inline-flex;

    padding: 12px 20px;

    background: var(--royal-primary);

    color: var(--white);

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;
}

/* =========================================
   NEWS ARCHIVE
========================================= */

.news-archive-section {
    padding: 100px 0;

    background:
        linear-gradient(
            135deg,
            #faf8f1 0%,
            #ffffff 100%
        );
}


.news-archive-heading {
    max-width: 750px;

    margin-bottom: 45px;
}


.news-archive-heading h1 {
    margin: 10px 0 15px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(
        38px,
        5vw,
        60px
    );

    line-height: 1.1;

    color: #252525;
}


.news-archive-heading p {
    color: #777;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================
   FILTER BAR
========================================= */

.news-filter-bar {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    margin-bottom: 45px;

    padding: 18px;

    background: var(--white);

    border: 1px solid #e5e5e5;
}


.news-filter-search {
    display: flex;

    width: min(
        100%,
        360px
    );
}


.news-filter-search input {
    width: 100%;

    min-width: 0;

    padding: 13px 15px;

    border: 1px solid #ddd;

    outline: none;

    font-size: 13px;
}


.news-filter-search input:focus {
    border-color: var(--royal-gold);
}


.news-filter-search button {
    width: 48px;

    border: none;

    background: var(--royal-primary);

    color: var(--white);

    cursor: pointer;
}


.news-category-filter {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;
}


.news-filter-button {
    padding: 9px 15px;

    border: 1px solid #ddd;

    background: #fff;

    color: #666;

    font-size: 11px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.news-filter-button:hover,
.news-filter-button.active {
    background: var(--royal-primary);

    border-color: var(--royal-primary);

    color: var(--white);
}


/* =========================================
   FEATURED NEWS
========================================= */

.featured-news {
    margin-bottom: 50px;
}


.featured-news-card {
    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(0, 1fr);

    min-height: 400px;

    background: var(--royal-primary);

    overflow: hidden;
}


.featured-news-image {
    display: block;

    min-height: 400px;

    overflow: hidden;
}


.featured-news-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}


.featured-news-card:hover
.featured-news-image img {
    transform: scale(1.04);
}


.featured-news-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 55px;

    color: var(--white);
}


.featured-news-content
.section-label {
    color: var(--royal-gold-light);
}


.featured-news-category {
    margin: 15px 0 10px;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

    color: var(--royal-gold);
}


.featured-news-content h2 {
    margin-bottom: 12px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(
        28px,
        4vw,
        46px
    );

    line-height: 1.15;
}


.featured-news-content time {
    margin-bottom: 20px;

    color: rgba(
        255,
        255,
        255,
        0.6
    );

    font-size: 11px;
}


.featured-news-content p {
    margin-bottom: 25px;

    color: rgba(
        255,
        255,
        255,
        0.8
    );

    line-height: 1.7;
}


/* =========================================
   ARCHIVE GRID
========================================= */

.news-archive-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 25px;
}


/* =========================================
   LOAD MORE
========================================= */

.news-load-more-wrapper {
    display: flex;

    justify-content: center;

    margin-top: 45px;
}


.news-load-more {
    padding: 13px 25px;

    border: 1px solid
        var(--royal-primary);

    background: var(--royal-primary);

    color: var(--white);

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.news-load-more:hover {
    background: var(--royal-gold);

    border-color: var(--royal-gold);

    color: #1d1600;

    transform: translateY(-2px);
}

@media (max-width: 900px) {

    .news-filter-bar {
        align-items: stretch;

        flex-direction: column;
    }


    .news-filter-search {
        width: 100%;
    }


    .featured-news-card {
        grid-template-columns: 1fr;
    }


    .featured-news-image {
        min-height: 300px;
    }


    .featured-news-content {
        padding: 35px 25px;
    }


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

}


@media (max-width: 600px) {

    .news-archive-section {
        padding: 70px 0;
    }


    .news-category-filter {
        width: 100%;
    }


    .news-filter-button {
        flex: 1;
    }


    .featured-news-image {
        min-height: 230px;
    }


    .featured-news-content {
        padding: 30px 20px;
    }


    .news-archive-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================
   HOMEPAGE GALLERY GRID
========================================= */

.gallery-section {
    padding: 80px 0;
    background: #f8f7f3;
}


/* -----------------------------------------
   GALLERY GRID
----------------------------------------- */

.gallery-section .gallery-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    grid-template-rows:
        190px 190px;

    gap: 14px;

    width: 100%;

    max-width: 1200px;

    margin: 35px auto 0;
}


/* -----------------------------------------
   GALLERY ITEMS
----------------------------------------- */

.gallery-section .gallery-item {
    position: relative;

    display: block;

    overflow: hidden;

    min-width: 0;

    border-radius: 4px;

    background: #111;

    text-decoration: none;
}


/* First image becomes the large feature */

.gallery-section .gallery-item.gallery-large {
    grid-row: 1 / 3;
}


/* -----------------------------------------
   IMAGES
----------------------------------------- */

.gallery-section .gallery-item img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}


/* -----------------------------------------
   HOVER
----------------------------------------- */

.gallery-section .gallery-item:hover img {
    transform: scale(1.06);

    filter: brightness(0.78);
}


/* -----------------------------------------
   OVERLAY
----------------------------------------- */

.gallery-section .gallery-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 20px;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.78),
            rgba(0, 0, 0, 0.05) 65%
        );

    color: #fff;

    transition:
        background 0.3s ease;
}


.gallery-section .gallery-item:hover .gallery-overlay {
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.88),
            rgba(0, 0, 0, 0.12) 70%
        );
}


/* -----------------------------------------
   CATEGORY
----------------------------------------- */

.gallery-section .gallery-overlay span {
    margin-bottom: 5px;

    color: var(--royal-gold);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;
}


/* -----------------------------------------
   TITLE
----------------------------------------- */

.gallery-section .gallery-overlay h3 {
    margin: 0;

    color: #fff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;

    line-height: 1.25;
}


/* Larger feature title */

.gallery-section
.gallery-item.gallery-large
.gallery-overlay h3 {

    font-size: 24px;
}


/* -----------------------------------------
   PLACEHOLDER
----------------------------------------- */

.gallery-image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #222;

    color: var(--royal-gold);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;
}


/* -----------------------------------------
   LOADING
----------------------------------------- */

.homepage-gallery-loading {
    grid-column: 1 / -1;

    min-height: 250px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 12px;
}


/* -----------------------------------------
   EMPTY / ERROR MESSAGE
----------------------------------------- */

.homepage-gallery-message {
    grid-column: 1 / -1;

    padding: 50px 20px;

    text-align: center;

    color: #777;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .gallery-section .gallery-grid {
        grid-template-columns:
            1.5fr 1fr;

        grid-template-rows:
            190px 190px 190px;
    }


    .gallery-section
    .gallery-item.gallery-large {

        grid-row: 1 / 3;
    }


    .gallery-section
    .gallery-item:nth-child(4) {

        grid-column: 1 / 2;
    }


    .gallery-section
    .gallery-item:nth-child(5) {

        grid-column: 2 / 3;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .gallery-section {
        padding: 60px 0;
    }


    .gallery-section .gallery-grid {

        grid-template-columns: 1fr 1fr;

        grid-template-rows:
            180px
            140px
            140px;

        gap: 10px;

        margin-top: 25px;
    }


    .gallery-section
    .gallery-item.gallery-large {

        grid-column: 1 / 3;

        grid-row: auto;
    }


    .gallery-section
    .gallery-overlay {

        padding: 14px;
    }


    .gallery-section
    .gallery-overlay h3 {

        font-size: 14px;
    }


    .gallery-section
    .gallery-item.gallery-large
    .gallery-overlay h3 {

        font-size: 19px;
    }


    .gallery-section
    .gallery-overlay span {

        font-size: 9px;

        letter-spacing: 1.5px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .gallery-section .gallery-grid {

        grid-template-columns: 1fr;

        grid-template-rows:
            190px
            150px
            150px
            150px
            150px;
    }


    .gallery-section
    .gallery-item.gallery-large {

        grid-column: auto;
    }

}
/* =========================================================
   NEWS ARTICLE — SOCIAL SHARING
   Scoped ONLY to .single-news-share
   ========================================================= */

.single-news-share {
    width: 100%;
    margin: 50px 0 20px;
    padding: 30px;
    box-sizing: border-box;

    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 18px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.06);
}


/* =========================================================
   SHARE HEADING
   ========================================================= */

.single-news-share .single-news-share-heading {
    margin-bottom: 24px;
}

.single-news-share .single-news-share-label {
    display: inline-block;

    margin-bottom: 7px;

    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;

    letter-spacing: 1.8px;
    text-transform: uppercase;

    color: #8a6a2f;
}

.single-news-share .single-news-share-heading h3 {
    margin: 0;

    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;

    color: #252525;
}


/* =========================================================
   SHARE BUTTON CONTAINER
   ========================================================= */

.single-news-share .single-news-share-buttons {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;

    width: 100%;
}


/* =========================================================
   ALL SHARE BUTTONS
   ========================================================= */

.single-news-share .single-news-share-button {
    appearance: none;
    -webkit-appearance: none;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 52px;
    width: 100%;

    padding: 12px 15px;

    border: 1px solid transparent;
    border-radius: 12px;

    background: #f7f7f7;

    color: #333333;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    line-height: 1;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}


/* =========================================================
   BUTTON HOVER / FOCUS
   ========================================================= */

.single-news-share .single-news-share-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 7px 18px rgba(0, 0, 0, 0.10);
}

.single-news-share .single-news-share-button:active {
    transform: translateY(0);

    box-shadow:
        0 3px 8px rgba(0, 0, 0, 0.08);
}

.single-news-share .single-news-share-button:focus-visible {
    outline: 3px solid rgba(138, 106, 47, 0.25);
    outline-offset: 2px;
}


/* =========================================================
   SHARE ICON
   ========================================================= */

.single-news-share .share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 27px;
    height: 27px;

    flex: 0 0 27px;

    border-radius: 50%;

    font-size: 15px;
    font-weight: 800;

    line-height: 1;
}


/* =========================================================
   WHATSAPP
   ========================================================= */

.single-news-share .single-news-share-button.whatsapp {
    color: #167c45;
    background: #f0faf4;
    border-color: #d6efdf;
}

.single-news-share .single-news-share-button.whatsapp
.share-icon {
    background: #25d366;
    color: #ffffff;
}

.single-news-share .single-news-share-button.whatsapp:hover {
    background: #e5f8ed;
    border-color: #bfe5ce;
}


/* =========================================================
   FACEBOOK
   ========================================================= */

.single-news-share .single-news-share-button.facebook {
    color: #2457a6;
    background: #f1f5fc;
    border-color: #dbe5f7;
}

.single-news-share .single-news-share-button.facebook
.share-icon {
    background: #1877f2;
    color: #ffffff;

    font-family: Arial, sans-serif;
    font-size: 17px;
}

.single-news-share .single-news-share-button.facebook:hover {
    background: #e8f0fc;
    border-color: #c7d8f2;
}


/* =========================================================
   X / TWITTER
   ========================================================= */

.single-news-share .single-news-share-button.twitter {
    color: #111111;
    background: #f5f5f5;
    border-color: #dddddd;
}

.single-news-share .single-news-share-button.twitter
.share-icon {
    background: #111111;
    color: #ffffff;

    font-size: 13px;
}

.single-news-share .single-news-share-button.twitter:hover {
    background: #ebebeb;
    border-color: #cccccc;
}


/* =========================================================
   COPY LINK
   ========================================================= */

.single-news-share .single-news-share-button.copy {
    color: #765a28;
    background: #fbf8f1;
    border-color: #eadfca;
}

.single-news-share .single-news-share-button.copy
.share-icon {
    background: #8a6a2f;
    color: #ffffff;

    font-size: 16px;
}

.single-news-share .single-news-share-button.copy:hover {
    background: #f6f0e3;
    border-color: #dcccae;
}


/* =========================================================
   SHARE COUNT
   ========================================================= */

.single-news-share .single-news-share-count {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 5px;

    margin-top: 22px;
    padding-top: 18px;

    border-top: 1px solid #eeeeee;

    color: #777777;

    font-size: 13px;
    font-weight: 500;
}

.single-news-share .single-news-share-count strong {
    color: #333333;

    font-size: 14px;
    font-weight: 800;
}


/* =========================================================
   COPY SUCCESS STATE
   ========================================================= */

.single-news-share .single-news-share-button.copy.is-copied {
    color: #167c45;
    background: #f0faf4;
    border-color: #cfe9d9;
}

.single-news-share .single-news-share-button.copy.is-copied
.share-icon {
    background: #25a866;
}


/* =========================================================
   DISABLED STATE
   ========================================================= */

.single-news-share .single-news-share-button:disabled {
    opacity: 0.65;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 800px) {

    .single-news-share {
        margin-top: 40px;
        padding: 24px;
        border-radius: 16px;
    }

    .single-news-share .single-news-share-buttons {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .single-news-share {
        margin-top: 35px;
        padding: 20px 16px;

        border-radius: 14px;
    }

    .single-news-share .single-news-share-heading {
        margin-bottom: 20px;
    }

    .single-news-share .single-news-share-heading h3 {
        font-size: 20px;
    }

    .single-news-share .single-news-share-buttons {
        grid-template-columns: 1fr;

        gap: 9px;
    }

    .single-news-share .single-news-share-button {
        justify-content: flex-start;

        min-height: 50px;

        padding: 11px 14px;
    }

    .single-news-share .share-icon {
        width: 29px;
        height: 29px;
        flex-basis: 29px;
    }

}


/* =========================================================
   VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 360px) {

    .single-news-share {
        padding: 18px 13px;
    }

    .single-news-share .single-news-share-label {
        font-size: 10px;
        letter-spacing: 1.4px;
    }

    .single-news-share .single-news-share-heading h3 {
        font-size: 18px;
    }

}