/* ==========================================================
   Alex Stone Adventures
   Canvas Theme, Branding and Responsive Typography

   Load this file AFTER:
   - style.css
   - font-icons.css
   - component CSS
   - page-specific CSS
   ========================================================== */
/* ==========================================================
   Cormorant Variable Font
   ========================================================== */
/* Latin */
@font-face {
    font-family: "Cormorant Variable";
    font-style: italic;
    font-display: swap;
    font-weight: 300 700;
    src: url("https://cdn.jsdelivr.net/fontsource/fonts/cormorant:vf@latest/latin-wght-italic.woff2") format("woff2-variations");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Latin Extended */
@font-face {
    font-family: "Cormorant Variable";
    font-style: italic;
    font-display: swap;
    font-weight: 300 700;
    src: url("https://cdn.jsdelivr.net/fontsource/fonts/cormorant:vf@latest/latin-ext-wght-italic.woff2") format("woff2-variations");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Cyrillic */
@font-face {
    font-family: "Cormorant Variable";
    font-style: italic;
    font-display: swap;
    font-weight: 300 700;
    src: url("https://cdn.jsdelivr.net/fontsource/fonts/cormorant:vf@latest/cyrillic-wght-italic.woff2") format("woff2-variations");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Cyrillic Extended */
@font-face {
    font-family: "Cormorant Variable";
    font-style: italic;
    font-display: swap;
    font-weight: 300 700;
    src: url("https://cdn.jsdelivr.net/fontsource/fonts/cormorant:vf@latest/cyrillic-ext-wght-italic.woff2") format("woff2-variations");
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* Vietnamese */
@font-face {
    font-family: "Cormorant Variable";
    font-style: italic;
    font-display: swap;
    font-weight: 300 700;
    src: url("https://cdn.jsdelivr.net/fontsource/fonts/cormorant:vf@latest/vietnamese-wght-italic.woff2") format("woff2-variations");
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}


/* ==========================================================
   Global Variables
   ========================================================== */

:root {
    /* Alex Stone colour theme */
    --cnvs-themecolor: #ce4218;
    --cnvs-themecolor-rgb: 206, 66, 24;
    /* Canvas font variables */
    --cnvs-body-font: "Cormorant Variable", serif;
    --cnvs-primary-font: "Cormorant Variable", serif;
    --cnvs-secondary-font: "Cormorant Variable", serif;
    /* Main typography */
    --alex-base-font-size: 18px;
    --alex-body-line-height: 1.72;
    /* Component typography */
    --alex-menu-font-size: 1.08rem;
    --alex-submenu-font-size: 1rem;
    --alex-form-font-size: 1rem;
    --alex-button-font-size: 1rem;
    --alex-small-font-size: 0.92rem;
}


/* ==========================================================
   Base Typography
   ========================================================== */

html {
    font-size: var(--alex-base-font-size);
    scroll-behavior: smooth;
}

body {
    font-family: var(--cnvs-body-font) !important;
    font-size: 1rem;
    font-style: italic;
    font-weight: 500;
    line-height: var(--alex-body-line-height);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*
   Do not use a global "*", "span *", or ".card *" font rule.
   Those rules can replace icon fonts and produce empty squares.
*/

#wrapper,
#content,
.content-wrap,
.section,
.container,
.container-fluid,
.page-wrapper,
.page-content,
.admin-shell,
.admin-main,
.admin-content {
    font-family: var(--cnvs-body-font) !important;
}

p,
address,
blockquote,
li,
dt,
dd,
td,
th,
caption {
    font-family: var(--cnvs-body-font);
    font-size: 1rem;
    font-style: italic;
}

p {
    line-height: 1.72;
    margin-bottom: 1rem;
}

a {
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

strong,
b,
.fw-bold,
.fw-semibold {
    font-weight: 650 !important;
}


/* ==========================================================
   Theme Colours
   ========================================================== */

a,
.color,
.text-theme,
.text-color {
    color: var(--cnvs-themecolor);
}

    a:hover,
    a:focus {
        color: #a93413;
    }

.heading-block::after,
.fancy-title::after {
    background-color: var(--cnvs-themecolor);
}

.button,
.btn-primary,
.bg-theme,
.background-theme {
    background-color: var(--cnvs-themecolor);
    border-color: var(--cnvs-themecolor);
}

    .button:hover,
    .button:focus,
    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active {
        color: #fff;
        background-color: #b63815;
        border-color: #b63815;
    }

.border-theme {
    border-color: var(--cnvs-themecolor) !important;
}

::selection {
    color: #fff;
    background-color: var(--cnvs-themecolor);
}


/* ==========================================================
   Headings
   ========================================================== */

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: var(--cnvs-secondary-font) !important;
    font-style: italic !important;
    font-weight: 650;
    line-height: 1.18;
    letter-spacing: -0.015em;
}

h1,
.h1 {
    font-size: 2.75rem;
}

h2,
.h2 {
    font-size: 2.3rem;
}

h3,
.h3 {
    font-size: 1.9rem;
}

h4,
.h4 {
    font-size: 1.58rem;
}

h5,
.h5 {
    font-size: 1.32rem;
}

h6,
.h6 {
    font-size: 1.12rem;
}

.display-1 {
    font-size: clamp(3rem, 7vw, 6rem);
}

.display-2 {
    font-size: clamp(2.8rem, 6vw, 5rem);
}

.display-3 {
    font-size: clamp(2.5rem, 5vw, 4.4rem);
}

.display-4 {
    font-size: clamp(2.3rem, 4.5vw, 3.8rem);
}

.display-5 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.display-6 {
    font-size: clamp(1.8rem, 3.5vw, 2.7rem);
}


/* ==========================================================
   Font Utility Classes
   ========================================================== */

.font-body,
.font-primary,
.font-secondary,
.AlexStone-Font {
    font-family: "Cormorant Variable", serif !important;
    font-style: italic !important;
}

    .font-body p,
    .font-primary p,
    .font-secondary p,
    .AlexStone-Font p,
    .font-body h1,
    .font-body h2,
    .font-body h3,
    .font-body h4,
    .font-body h5,
    .font-body h6,
    .font-primary h1,
    .font-primary h2,
    .font-primary h3,
    .font-primary h4,
    .font-primary h5,
    .font-primary h6,
    .font-secondary h1,
    .font-secondary h2,
    .font-secondary h3,
    .font-secondary h4,
    .font-secondary h5,
    .font-secondary h6,
    .AlexStone-Font h1,
    .AlexStone-Font h2,
    .AlexStone-Font h3,
    .AlexStone-Font h4,
    .AlexStone-Font h5,
    .AlexStone-Font h6 {
        font-family: "Cormorant Variable", serif !important;
        font-style: italic !important;
    }


/* ==========================================================
   Header and Navigation
   ========================================================== */

#header,
#header-wrap,
#primary-menu,
.primary-menu,
.menu-container {
    font-family: "Cormorant Variable", serif !important;
}

    #header .menu-link,
    #primary-menu .menu-link,
    .primary-menu .menu-link,
    .menu-container > .menu-item > .menu-link,
    .menu-title,
    .top-links-item,
    .top-links-item > a {
        font-family: "Cormorant Variable", serif !important;
        font-size: var(--alex-menu-font-size) !important;
        font-style: italic !important;
        font-weight: 650 !important;
        line-height: 1.35 !important;
        letter-spacing: 0.025em;
    }

    .menu-container > .menu-item > .menu-link {
        padding-left: 14px;
        padding-right: 14px;
    }

.menu-item:hover > .menu-link,
.menu-item.current > .menu-link,
.menu-item.active > .menu-link {
    color: var(--cnvs-themecolor) !important;
}

.sub-menu-container .menu-link,
.mega-menu-content .menu-link,
.dropdown-menu .dropdown-item {
    font-family: "Cormorant Variable", serif !important;
    font-size: var(--alex-submenu-font-size) !important;
    font-style: italic !important;
    font-weight: 550 !important;
    line-height: 1.45;
}

.dropdown-menu .dropdown-item {
    padding-top: 0.62rem;
    padding-bottom: 0.62rem;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
    color: #fff;
    background-color: var(--cnvs-themecolor);
}

.header-misc .btn,
.header-misc button {
    font-size: 1rem !important;
}


/* ==========================================================
   Hero and Slider
   ========================================================== */

.slider-caption,
.tp-caption {
    font-family: "Cormorant Variable", serif !important;
    font-style: italic !important;
}

    .slider-caption h1 {
        font-size: 3.5rem;
    }

    .slider-caption h2 {
        font-size: 2.8rem;
    }

    .slider-caption p {
        font-size: 1.15rem;
        line-height: 1.65;
    }


/* ==========================================================
   Page Titles
   ========================================================== */

.page-title,
.heading-block,
.fancy-title {
    font-family: "Cormorant Variable", serif !important;
    font-style: italic !important;
}

    .page-title h1 {
        font-size: 2.65rem;
    }

    .page-title span,
    .page-title .subtitle {
        font-size: 1.08rem;
    }

    .heading-block h2,
    .fancy-title h2 {
        font-size: 2.35rem;
    }


/* ==========================================================
   Blog
   ========================================================== */

.entry-title,
.entry-meta,
.entry-content {
    font-family: "Cormorant Variable", serif !important;
    font-style: italic !important;
}

    .entry-title h1,
    .entry-title h2,
    .entry-title h3,
    .entry-title h4,
    .entry-title h5,
    .entry-title h6 {
        font-weight: 650;
    }

    .entry-title h2 {
        font-size: 2.1rem;
    }

    .entry-content,
    .entry-content p {
        font-size: 1.05rem;
        line-height: 1.75;
    }

    .entry-meta,
    .entry-meta li,
    .entry-meta a {
        font-family: "Cormorant Variable", serif !important;
        font-size: 0.98rem !important;
        font-style: italic !important;
        line-height: 1.5;
    }


/* ==========================================================
   Course Cards
   ========================================================== */

.grid-content,
.block-card-9 {
    font-family: "Cormorant Variable", serif !important;
    font-style: italic !important;
}

    .grid-content h3,
    .grid-content .h2 {
        font-size: 1.85rem !important;
    }

    .grid-content h5,
    .grid-content h6 {
        font-size: 1.05rem !important;
    }

    .grid-content p,
    .block-card-9 p,
    .block-card-9 .small,
    .block-card-9 small {
        font-family: "Cormorant Variable", serif !important;
        font-size: 1rem !important;
        font-style: italic !important;
        line-height: 1.6;
    }

    .block-card-9 .badge {
        font-size: 0.9rem !important;
    }


/* ==========================================================
   Gallery and Album
   ========================================================== */

.block-gallery-9,
.gallery-info,
.portfolio-desc,
.portfolio-single-content {
    font-family: "Cormorant Variable", serif !important;
    font-style: italic !important;
}

    .block-gallery-9 .entry-title h3 {
        font-family: "Cormorant Variable", serif !important;
        font-size: 1.8rem !important;
        font-style: italic !important;
        font-weight: 650 !important;
        line-height: 1.2;
        text-transform: none;
        letter-spacing: 0;
    }

        .block-gallery-9 .entry-title h3 a {
            font-size: inherit !important;
        }

    .block-gallery-9 .entry-meta,
    .block-gallery-9 .entry-meta li,
    .block-gallery-9 .entry-meta a {
        font-family: "Cormorant Variable", serif !important;
        font-size: 0.98rem !important;
        font-style: italic !important;
    }

    .gallery-info,
    .gallery-info p,
    .gallery-info span,
    .gallery-info div {
        font-size: 1rem;
    }

        .gallery-info h4,
        .gallery-info h5,
        .gallery-info strong {
            font-size: 1.2rem;
        }


/* ==========================================================
   Cards
   ========================================================== */

.card,
.card-header,
.card-body,
.card-footer,
.card-title,
.card-text {
    font-family: "Cormorant Variable", serif !important;
}

.card {
    font-size: 1rem;
}

.card-header {
    font-size: 1.05rem;
}

    .card-title,
    .card-header h1,
    .card-header h2,
    .card-header h3,
    .card-header h4,
    .card-header h5,
    .card-header h6 {
        font-style: italic !important;
    }

.card-text,
.card-body p {
    font-family: "Cormorant Variable", serif !important;
    font-size: 1rem;
    font-style: italic;
    line-height: 1.65;
}


/* ==========================================================
   Forms
   ========================================================== */

.form-control,
.form-select,
input,
textarea,
select,
option {
    font-family: "Cormorant Variable", serif !important;
    font-size: var(--alex-form-font-size) !important;
    font-style: italic !important;
    font-weight: 500;
    line-height: 1.45;
}

.form-control,
.form-select {
    min-height: 44px;
}

textarea.form-control {
    min-height: 120px;
}

.form-control::placeholder,
textarea::placeholder,
input::placeholder {
    font-family: "Cormorant Variable", serif;
    font-size: 0.96rem;
    font-style: italic;
    opacity: 0.75;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--cnvs-themecolor);
    box-shadow: 0 0 0 0.2rem rgba(var(--cnvs-themecolor-rgb), 0.2);
}

label,
.form-label {
    font-family: "Cormorant Variable", serif !important;
    font-size: 1rem !important;
    font-style: italic !important;
    font-weight: 650;
    margin-bottom: 0.4rem;
}

.form-text,
.validation-message,
.field-validation-error,
.text-danger {
    font-family: "Cormorant Variable", serif;
    font-size: 0.92rem;
    font-style: italic;
}


/* ==========================================================
   Buttons
   ========================================================== */

.btn,
.button,
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
    font-family: "Cormorant Variable", serif !important;
    font-size: var(--alex-button-font-size) !important;
    font-style: italic !important;
    font-weight: 650;
    line-height: 1.3;
}

.btn {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

.btn-sm,
.button-small {
    font-size: 0.94rem !important;
}

.btn-lg,
.button-large {
    font-size: 1.08rem !important;
}

.btn-primary,
.button {
    color: #fff;
    background-color: var(--cnvs-themecolor);
    border-color: var(--cnvs-themecolor);
}

    .btn-primary:hover,
    .btn-primary:focus,
    .button:hover,
    .button:focus {
        color: #fff;
        background-color: #b63815;
        border-color: #b63815;
    }


/* ==========================================================
   Tables and DataTables
   ========================================================== */

.table,
.table th,
.table td,
.table thead,
.table tbody,
.table tfoot,
.dataTables_wrapper {
    font-family: "Cormorant Variable", serif !important;
    font-style: italic !important;
}

.table {
    font-size: 1rem;
}

    .table th {
        font-size: 1.02rem;
        font-weight: 650;
    }

    .table td {
        font-size: 0.98rem;
        vertical-align: middle;
    }

.dataTables_wrapper label,
.dataTables_wrapper input,
.dataTables_wrapper select,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .page-link {
    font-family: "Cormorant Variable", serif !important;
    font-size: 0.95rem !important;
    font-style: italic !important;
}


/* ==========================================================
   Alerts, Badges and Pagination
   ========================================================== */

.alert,
.badge,
.pagination,
.page-link {
    font-family: "Cormorant Variable", serif !important;
    font-style: italic !important;
}

.alert {
    font-size: 1rem;
}

.badge {
    font-size: 0.9rem !important;
    font-weight: 600;
}

.page-link {
    font-size: 0.95rem !important;
}


/* ==========================================================
   Testimonials
   ========================================================== */

.testimonial,
.owl-carousel {
    font-family: "Cormorant Variable", serif !important;
}

    .testimonial p,
    .owl-carousel .card p {
        font-family: "Cormorant Variable", serif !important;
        font-size: 1rem;
        font-style: italic;
        line-height: 1.65;
    }


/* ==========================================================
   Footer
   ========================================================== */

#footer,
#copyrights {
    font-family: "Cormorant Variable", serif !important;
    font-style: italic !important;
}

    #footer,
    #footer p,
    #footer a,
    #footer li,
    #footer span,
    #footer address,
    #footer small,
    #copyrights,
    #copyrights p,
    #copyrights a,
    #copyrights li,
    #copyrights span,
    #copyrights small {
        font-family: "Cormorant Variable", serif !important;
        font-size: 1rem !important;
        font-style: italic !important;
        font-weight: 500 !important;
        line-height: 1.65 !important;
    }

        #footer a:hover,
        #copyrights a:hover {
            color: var(--cnvs-themecolor);
        }

.footer-widgets-wrap h4,
.footer-widgets-wrap h5,
.footer-widgets-wrap h6 {
    font-family: "Cormorant Variable", serif !important;
    font-size: 1.35rem !important;
    font-style: italic !important;
}

#footer .widget_links li,
#footer .widget_links li a,
#copyrights .copyright-links a {
    font-size: 1rem !important;
}

#footer .text-muted,
#copyrights .text-muted {
    font-size: 0.98rem !important;
}


/* ==========================================================
   Footer Social Icons
   ========================================================== */

#footer .social-icon,
#copyrights .social-icon,
.social-icon {
    width: 44px !important;
    height: 44px !important;
    line-height: 42px !important;
    font-size: 1.1rem !important;
}

    #footer .social-icon i,
    #copyrights .social-icon i,
    .social-icon i {
        width: 100% !important;
        height: 100% !important;
        line-height: 42px !important;
        font-size: 1.1rem !important;
        font-style: normal !important;
    }


/* ==========================================================
   Breadcrumbs
   ========================================================== */

.breadcrumb,
.breadcrumb-item,
.breadcrumb-item a {
    font-family: "Cormorant Variable", serif !important;
    font-size: 0.98rem !important;
    font-style: italic !important;
}


/* ==========================================================
   Small and Muted Text
   ========================================================== */

small,
.small,
.text-small,
.text-smaller {
    font-family: "Cormorant Variable", serif;
    font-size: var(--alex-small-font-size) !important;
    font-style: italic;
}

.text-muted {
    font-family: "Cormorant Variable", serif !important;
    font-style: italic !important;
}


/* ==========================================================
   Administration Layout Typography
   ========================================================== */

.admin-shell,
.admin-sidebar,
.admin-main,
.admin-topbar,
.admin-content {
    font-family: "Cormorant Variable", serif !important;
}

.admin-brand small {
    font-family: "Cormorant Variable", serif !important;
    font-size: 0.95rem !important;
    font-style: italic;
}

.admin-menu-title {
    font-family: "Cormorant Variable", serif !important;
    font-size: 0.82rem !important;
    font-style: italic;
    font-weight: 650;
}

.admin-menu a {
    font-family: "Cormorant Variable", serif !important;
    font-size: 1.05rem !important;
    font-style: italic;
    font-weight: 600;
    line-height: 1.35;
}

.admin-menu i {
    font-size: 1.15rem;
}

.admin-page-title h4 {
    font-size: 1.45rem !important;
}

.admin-page-title span {
    font-family: "Cormorant Variable", serif;
    font-size: 0.95rem !important;
    font-style: italic;
}

.admin-content .card-header h5,
.admin-content .card-header h4,
.admin-content .card-header h3 {
    font-size: 1.3rem !important;
}

.admin-content .card-body,
.admin-content .card-body p {
    font-family: "Cormorant Variable", serif;
    font-size: 1rem;
    font-style: italic;
}

.admin-content .form-control,
.admin-content .form-select {
    font-size: 1rem !important;
}

.admin-content .btn {
    font-size: 0.98rem !important;
}

.admin-content .table {
    font-size: 0.98rem !important;
}

    .admin-content .table th {
        font-size: 1rem !important;
    }

    .admin-content .table td {
        font-size: 0.96rem !important;
    }


/* ==========================================================
   Icon Protection

   Do not assign a font-family here unless necessary.
   font-icons.css, Bootstrap Icons, Unicons and Font Awesome
   should keep their own original font-family declarations.
   ========================================================== */

i,
i::before,
svg {
    font-style: normal !important;
}

/* Unicons */
[class^="uil-"],
[class*=" uil-"],
[class^="uil-"]::before,
[class*=" uil-"]::before {
    font-family: "unicons-line" !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
}

/* Bootstrap Icons */
.bi,
[class^="bi-"],
[class*=" bi-"],
.bi::before,
[class^="bi-"]::before,
[class*=" bi-"]::before {
    font-family: "bootstrap-icons" !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
}

/* Font Awesome Free */
.fa,
.fas,
.fa-solid,
.fa::before,
.fas::before,
.fa-solid::before {
    font-family: "Font Awesome 6 Free" !important;
    font-style: normal !important;
    font-weight: 900 !important;
}

/* Font Awesome Regular */
.far,
.fa-regular,
.far::before,
.fa-regular::before {
    font-family: "Font Awesome 6 Free" !important;
    font-style: normal !important;
    font-weight: 400 !important;
}

/* Font Awesome Brands */
.fab,
.fa-brands,
.fab::before,
.fa-brands::before {
    font-family: "Font Awesome 6 Brands" !important;
    font-style: normal !important;
    font-weight: 400 !important;
}

/*
   Canvas icon classes:
   Do not force a text font onto them.
   Their font family is loaded by font-icons.css.
*/
[class^="icon-"],
[class*=" icon-"],
[class^="icon-"]::before,
[class*=" icon-"]::before {
    font-style: normal !important;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
}

/* Icon locations */
.social-icon i,
.social-icon i::before,
.menu-link i,
.menu-link i::before,
.btn i,
.btn i::before,
.button i,
.button i::before,
.entry-meta i,
.entry-meta i::before,
.breadcrumb i,
.breadcrumb i::before {
    font-style: normal !important;
}


/* ==========================================================
   Tablet
   ========================================================== */

@media (max-width: 991.98px) {
    :root {
        --alex-base-font-size: 17px;
        --alex-menu-font-size: 1.1rem;
        --alex-submenu-font-size: 1.03rem;
    }

    h1,
    .h1 {
        font-size: 2.45rem;
    }

    h2,
    .h2 {
        font-size: 2.05rem;
    }

    h3,
    .h3 {
        font-size: 1.72rem;
    }

    h4,
    .h4 {
        font-size: 1.48rem;
    }

    .slider-caption h1 {
        font-size: 2.9rem;
    }

    .slider-caption h2 {
        font-size: 2.35rem;
    }

    .page-title h1 {
        font-size: 2.3rem;
    }

    #header .menu-link,
    #primary-menu .menu-link,
    .primary-menu .menu-link,
    .menu-container > .menu-item > .menu-link {
        font-size: 1.1rem !important;
    }

    .sub-menu-container .menu-link,
    .mega-menu-content .menu-link {
        font-size: 1.03rem !important;
    }

    .block-gallery-9 .entry-title h3 {
        font-size: 1.65rem !important;
    }

    #footer,
    #footer p,
    #footer a,
    #footer li,
    #footer span,
    #copyrights,
    #copyrights p,
    #copyrights a,
    #copyrights span {
        font-size: 1rem !important;
    }

    .admin-menu a {
        font-size: 1.05rem !important;
    }
}


/* ==========================================================
   Mobile
   ========================================================== */

@media (max-width: 575.98px) {
    :root {
        --alex-base-font-size: 17px;
        --alex-menu-font-size: 1.12rem;
        --alex-submenu-font-size: 1.06rem;
        --alex-form-font-size: 1rem;
        --alex-button-font-size: 1rem;
        --alex-small-font-size: 0.92rem;
    }

    body {
        line-height: 1.62;
    }

    p {
        font-size: 1rem;
        line-height: 1.65;
    }

    h1,
    .h1 {
        font-size: 2.15rem;
    }

    h2,
    .h2 {
        font-size: 1.88rem;
    }

    h3,
    .h3 {
        font-size: 1.62rem;
    }

    h4,
    .h4 {
        font-size: 1.4rem;
    }

    h5,
    .h5 {
        font-size: 1.22rem;
    }

    h6,
    .h6 {
        font-size: 1.08rem;
    }

    .slider-caption h1 {
        font-size: 2.45rem;
    }

    .slider-caption h2 {
        font-size: 2rem;
    }

    .slider-caption p {
        font-size: 1.05rem;
    }

    .page-title h1 {
        font-size: 2rem;
    }

    .grid-content h3,
    .grid-content .h2 {
        font-size: 1.62rem !important;
    }

    .block-gallery-9 .entry-title h3 {
        font-size: 1.5rem !important;
    }

    #header .menu-link,
    #primary-menu .menu-link,
    .primary-menu .menu-link,
    .menu-container > .menu-item > .menu-link {
        font-size: 1.12rem !important;
        line-height: 1.45 !important;
    }

    .sub-menu-container .menu-link,
    .mega-menu-content .menu-link,
    .dropdown-menu .dropdown-item {
        font-size: 1.06rem !important;
    }

    #footer,
    #footer p,
    #footer a,
    #footer li,
    #footer span,
    #footer small,
    #copyrights,
    #copyrights p,
    #copyrights a,
    #copyrights span,
    #copyrights small {
        font-size: 1rem !important;
    }

    .social-icon {
        width: 46px !important;
        height: 46px !important;
        line-height: 44px !important;
    }

        .social-icon i {
            line-height: 44px !important;
            font-size: 1.15rem !important;
        }

    .admin-page-title h4 {
        font-size: 1.3rem !important;
    }

    .admin-menu a {
        font-size: 1.08rem !important;
    }

    .admin-content {
        font-size: 1rem;
    }
}


/* ==========================================================
   Final Canvas Font Overrides
   Keep this section at the end of custom.css
   ========================================================== */

:root {
    --cnvs-body-font: "Cormorant Variable", serif !important;
    --cnvs-primary-font: "Cormorant Variable", serif !important;
    --cnvs-secondary-font: "Cormorant Variable", serif !important;
}

body,
#header,
#header-wrap,
#primary-menu,
.primary-menu,
.menu-container,
#content,
.content-wrap,
#footer,
#copyrights,
.entry,
.entry-title,
.entry-meta,
.entry-content,
.heading-block,
.fancy-title,
.page-title,
.slider-caption,
.grid-content,
.block-gallery-9,
.portfolio-single-content,
.page-wrapper,
.page-content,
.admin-shell,
.admin-sidebar,
.admin-main,
.admin-content {
    font-family: "Cormorant Variable", serif !important;
}

/* ==========================================================
   Blog Listing Page
   ========================================================== */

.blog-page {
    background-color: var(--cnvs-contrast-100);
}

    .blog-page .content-wrap {
        padding-top: 0;
    }


/* ==========================================================
   Blog Hero
   ========================================================== */

.blog-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 440px;
    padding: 7rem 0;
    overflow: hidden;
    background: linear-gradient( 135deg, rgba(7, 10, 13, 0.92), rgba(24, 28, 33, 0.72) ), url("/images/SiteSettings/blog-hero.jpg") center center / cover no-repeat;
}

    .blog-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient( circle at 50% 25%, rgba(var(--cnvs-themecolor-rgb), 0.2), transparent 42% );
        pointer-events: none;
    }

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin-inline: auto;
}

.blog-hero-eyebrow,
.blog-section-eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: #f2a07f;
    font-size: 1rem;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.blog-hero h1 {
    margin-bottom: 1.15rem;
    color: #fff;
    font-size: clamp(3rem, 6vw, 5.4rem);
    line-height: 1.02;
}

.blog-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.83);
    font-size: 1.25rem !important;
    line-height: 1.65 !important;
}


/* ==========================================================
   Blog Page Container
   ========================================================== */

.blog-page-container {
    padding-top: 5rem;
    padding-bottom: 6rem;
}


/* ==========================================================
   Featured Blog Card
   ========================================================== */

.blog-featured-card {
    margin-bottom: 6rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: linear-gradient( 145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015) );
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.24);
}

.blog-featured-image-column {
    min-height: 520px;
}

.blog-featured-image-link {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.blog-featured-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    transition: transform 0.65s ease, filter 0.65s ease;
}

.blog-featured-card:hover .blog-featured-image {
    transform: scale(1.035);
    filter: saturate(1.07);
}

.blog-featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: clamp(2.5rem, 5vw, 5rem);
}

.blog-featured-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.35rem;
    padding: 0.42rem 0.85rem;
    border-radius: 6px;
    color: #151515;
    background: #f5b400;
    font-size: 0.95rem;
    font-weight: 700;
}

.blog-featured-title {
    margin-bottom: 1.35rem;
    font-size: clamp(2.15rem, 3.4vw, 3.45rem);
    line-height: 1.12;
}

    .blog-featured-title a {
        color: var(--cnvs-contrast-1000) !important;
        text-decoration: none;
        transition: color 0.2s ease;
    }

.dark .blog-featured-title a,
[data-bs-theme="dark"] .blog-featured-title a {
    color: #fff !important;
}

.blog-featured-title a:hover {
    color: var(--cnvs-themecolor) !important;
}

.blog-featured-summary {
    margin-bottom: 1.75rem;
    color: var(--cnvs-contrast-600) !important;
    font-size: 1.08rem !important;
    line-height: 1.72 !important;
}

.dark .blog-featured-summary,
[data-bs-theme="dark"] .blog-featured-summary {
    color: rgba(255, 255, 255, 0.76) !important;
}

.blog-featured-meta {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

    .blog-featured-meta li {
        display: flex;
        align-items: center;
        gap: 0.7rem;
        margin: 0;
        color: var(--cnvs-contrast-600);
        font-size: 1rem;
    }

.dark .blog-featured-meta li,
[data-bs-theme="dark"] .blog-featured-meta li {
    color: rgba(255, 255, 255, 0.74);
}

.blog-featured-meta li::before {
    display: none !important;
    content: none !important;
}

.blog-featured-meta i {
    flex: 0 0 22px;
    width: 22px;
    color: var(--cnvs-themecolor);
    font-size: 1.12rem;
}

.blog-featured-button {
    align-self: flex-start;
    margin: 0;
}


/* ==========================================================
   Blog Section Heading
   ========================================================== */

.blog-timeline-section {
    padding-top: 1rem;
}

.blog-section-heading {
    max-width: 760px;
    margin: 0 auto 5rem;
    text-align: center;
}

    .blog-section-heading h2 {
        margin-bottom: 1rem;
        font-size: clamp(2.4rem, 4vw, 3.8rem);
    }

    .blog-section-heading p {
        margin-bottom: 0;
        color: var(--cnvs-contrast-600);
        font-size: 1.08rem !important;
    }

.dark .blog-section-heading p,
[data-bs-theme="dark"] .blog-section-heading p {
    color: rgba(255, 255, 255, 0.7);
}


/* ==========================================================
   Timeline Month Marker
   ========================================================== */

.entry-date-section {
    margin-top: 1rem;
    margin-bottom: 3rem !important;
    text-align: center;
}

    .entry-date-section span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 150px;
        padding: 0.6rem 1.2rem;
        border: 1px solid rgba(var(--cnvs-themecolor-rgb), 0.42);
        border-radius: 999px;
        color: #fff !important;
        background: var(--cnvs-themecolor) !important;
        font-size: 1rem !important;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        box-shadow: 0 10px 28px rgba(var(--cnvs-themecolor-rgb), 0.25);
    }


/* ==========================================================
   Blog Timeline Cards
   ========================================================== */

.blog-timeline-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background: var(--cnvs-contrast-0);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.16);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.dark .blog-timeline-card,
[data-bs-theme="dark"] .blog-timeline-card {
    background: rgba(255, 255, 255, 0.035);
}

.blog-timeline-card:hover {
    transform: translateY(-7px);
    border-color: rgba(var(--cnvs-themecolor-rgb), 0.42);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.26);
}

.blog-timeline-image {
    margin-bottom: 0;
    overflow: hidden;
}

    .blog-timeline-image a {
        display: block;
    }

    .blog-timeline-image img {
        display: block;
        width: 100%;
        height: 300px;
        object-fit: cover;
        transition: transform 0.55s ease;
    }

.blog-timeline-card:hover .blog-timeline-image img {
    transform: scale(1.045);
}

.blog-timeline-card-body {
    padding: 2rem;
}

.blog-timeline-title {
    margin-bottom: 1rem;
}

    .blog-timeline-title h2 {
        margin-bottom: 0;
        font-size: 1.9rem;
        line-height: 1.22;
    }

    .blog-timeline-title a {
        color: var(--cnvs-contrast-1000);
        text-decoration: none;
    }

.dark .blog-timeline-title a,
[data-bs-theme="dark"] .blog-timeline-title a {
    color: #fff;
}

.blog-timeline-title a:hover {
    color: var(--cnvs-themecolor);
}

.blog-timeline-meta {
    margin-bottom: 1.25rem;
}

    .blog-timeline-meta ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.65rem 1.1rem;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .blog-timeline-meta li {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        margin: 0;
        color: var(--cnvs-contrast-600);
        font-size: 0.95rem !important;
    }

.dark .blog-timeline-meta li,
[data-bs-theme="dark"] .blog-timeline-meta li {
    color: rgba(255, 255, 255, 0.67);
}

.blog-timeline-meta li::before {
    display: none !important;
    content: none !important;
}

.blog-timeline-meta i {
    color: var(--cnvs-themecolor);
}

.blog-timeline-content p {
    margin-bottom: 1.35rem;
    color: var(--cnvs-contrast-700);
    font-size: 1.02rem !important;
    line-height: 1.68 !important;
}

.dark .blog-timeline-content p,
[data-bs-theme="dark"] .blog-timeline-content p {
    color: rgba(255, 255, 255, 0.73);
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cnvs-themecolor);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
}

    .blog-read-more i {
        transition: transform 0.2s ease;
    }

    .blog-read-more:hover i {
        transform: translateX(4px);
    }


/* ==========================================================
   Timeline Structure
   ========================================================== */

.blog-page .timeline-border {
    background-color: rgba(255, 255, 255, 0.12);
}

.blog-page .timeline-divider {
    border-color: var(--cnvs-themecolor);
    background: var(--cnvs-themecolor);
}

.blog-page .entry-timeline {
    display: none;
}


/* ==========================================================
   Empty Blog State
   ========================================================== */

.blog-empty-state {
    padding: 5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
}

    .blog-empty-state i {
        display: block;
        margin-bottom: 1rem;
        color: var(--cnvs-themecolor);
        font-size: 4rem;
    }

    .blog-empty-state h3 {
        margin-bottom: 0.75rem;
    }

    .blog-empty-state p {
        margin-bottom: 0;
        color: var(--cnvs-contrast-600);
    }


/* ==========================================================
   Blog Responsive Styles
   ========================================================== */

@media (max-width: 991.98px) {
    .blog-hero {
        min-height: 380px;
        padding: 5.5rem 0;
    }

    .blog-page-container {
        padding-top: 3.5rem;
        padding-bottom: 4.5rem;
    }

    .blog-featured-image-column {
        min-height: auto;
    }

    .blog-featured-image {
        height: 430px;
        min-height: 430px;
    }

    .blog-featured-content {
        padding: 3rem;
    }

    .blog-featured-card {
        margin-bottom: 4.5rem;
    }

    .blog-section-heading {
        margin-bottom: 3.5rem;
    }
}

@media (max-width: 767.98px) {
    .blog-hero {
        min-height: 340px;
        padding: 4.5rem 0;
    }

        .blog-hero p {
            font-size: 1.1rem !important;
        }

    .blog-featured-image {
        height: 340px;
        min-height: 340px;
    }

    .blog-featured-content {
        padding: 2.2rem;
    }

    .blog-featured-title {
        font-size: 2.15rem;
    }

    .blog-timeline-card-body {
        padding: 1.6rem;
    }

    .blog-timeline-image img {
        height: 250px;
    }

    .timeline-border,
    .entry-timeline {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .blog-page-container {
        padding-top: 2.5rem;
        padding-bottom: 3.5rem;
    }

    .blog-hero {
        min-height: 310px;
        padding: 4rem 0;
    }

        .blog-hero h1 {
            font-size: 2.7rem;
        }

    .blog-featured-content {
        padding: 1.6rem;
    }

    .blog-featured-image {
        height: 290px;
        min-height: 290px;
    }

    .blog-featured-meta {
        gap: 0.7rem;
    }

    .blog-timeline-title h2 {
        font-size: 1.65rem;
    }

    .entry-date-section span {
        min-width: 130px;
        font-size: 0.9rem !important;
    }
}

/* ==========================================================
   Featured Blog Title — Final Fix
   Keep at the very end of custom.css
   ========================================================== */

.blog-featured-card .row,
.blog-featured-card [class*="col-"] {
    min-width: 0;
}

.blog-featured-content {
    width: 100%;
    min-width: 0;
    overflow: visible;
}

.blog-featured-title {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 1.4rem !important;
    font-size: clamp(2rem, 3vw, 3.15rem) !important;
    line-height: 1.14 !important;
    letter-spacing: -0.02em !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: initial !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
}

    .blog-featured-title a {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        color: #ffffff !important;
        background: transparent !important;
        font-family: "Cormorant Variable", serif !important;
        font-size: inherit !important;
        font-style: italic !important;
        font-weight: 650 !important;
        line-height: inherit !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: initial !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        text-decoration: none !important;
        box-shadow: none !important;
    }

        .blog-featured-title a:hover,
        .blog-featured-title a:focus {
            color: var(--cnvs-themecolor) !important;
            background: transparent !important;
        }

/* Prevent Canvas entry-title rules from clipping the heading */
.blog-featured-card .entry-title,
.blog-featured-card .entry-title h2,
.blog-featured-card .entry-title a {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: initial !important;
}

/* Slightly smaller title on medium screens */
@media (max-width: 1199.98px) {
    .blog-featured-title {
        font-size: clamp(1.9rem, 2.7vw, 2.7rem) !important;
    }
}

@media (max-width: 767.98px) {
    .blog-featured-title {
        font-size: 2rem !important;
        line-height: 1.18 !important;
    }
}
/* Responsive YouTube */

.video-container {
    position: relative;
    width: 100%;
    margin: 2rem 0;
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 16 / 9;
    box-shadow: 0 12px 35px rgba(0,0,0,.25);
}

    .video-container iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }
/* ==========================================================
   Home Featured Blog Post
   ========================================================== */

.home-featured-post-title {
    display: block;
    color: var(--cnvs-contrast-1000) !important;
    text-decoration: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

    .home-featured-post-title:hover,
    .home-featured-post-title:focus {
        color: var(--cnvs-themecolor) !important;
    }

.home-featured-post-summary {
    color: var(--cnvs-contrast-700);
    font-size: 1.08rem !important;
    line-height: 1.7 !important;
}

.dark .home-featured-post-title,
[data-bs-theme="dark"] .home-featured-post-title {
    color: #fff !important;
}

.dark .home-featured-post-summary,
[data-bs-theme="dark"] .home-featured-post-summary {
    color: rgba(255, 255, 255, 0.76);
}
/* ==========================================================
   Album Page
   ========================================================== */

.album-hero {
    min-height: 590px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.album-hero-summary {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.82);
}

.album-picture {
    position: relative;
    margin-bottom: 30px;
}

    .album-picture > a {
        position: relative;
        display: block;
        overflow: hidden;
        border-radius: 18px;
    }

    .album-picture img {
        display: block;
        width: 100%;
        min-height: 300px;
        object-fit: cover;
        transition: transform 0.45s ease;
    }

    .album-picture:hover img {
        transform: scale(1.055);
    }

.album-picture-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 18px;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.18), transparent 45%, rgba(0, 0, 0, 0.35) );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.album-picture:hover .album-picture-overlay {
    opacity: 1;
}

.album-zoom {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #111;
    background: #fff;
    font-size: 1.15rem;
}

.album-picture-info {
    padding: 15px 5px 0;
}

.album-description {
    color: var(--cnvs-body-color);
    line-height: 1.75;
}

.album-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(127, 127, 127, 0.20);
}

    .album-meta-item:last-child {
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: 0;
    }

.album-meta-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(127, 127, 127, 0.10);
    font-size: 1.15rem;
}

.album-meta-item small {
    display: block;
    color: var(--cnvs-contrast-500);
    margin-bottom: 2px;
}

.related-album {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .related-album:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    }

.related-album-image {
    height: 240px;
    object-fit: cover;
}


/* ==========================================================
   Album Sidebar
   ========================================================== */

.portfolio-single-content {
    position: relative !important;
    min-width: 0;
    overflow: visible !important;
}

.album-sidebar {
    position: sticky;
    top: 100px;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    z-index: 5;
}

    .album-sidebar .card {
        position: relative;
        z-index: 1;
    }

    .album-sidebar.content-sticky,
    .portfolio-single-content .content-sticky {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }


/* ==========================================================
   Album Back to Gallery Button
   The button must be outside .content-sticky in Album.cshtml.
   ========================================================== */

.album-back-area {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    clear: both !important;
    margin: 1.5rem 0 2rem !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    z-index: 9999 !important;
}

.album-back-link {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.55rem !important;
    width: 100% !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0.85rem 1.25rem !important;
    color: #fff !important;
    background-color: var(--cnvs-themecolor) !important;
    border: 2px solid var(--cnvs-themecolor) !important;
    border-radius: 999px !important;
    font-family: "Cormorant Variable", serif !important;
    font-size: 1.08rem !important;
    font-style: italic !important;
    font-weight: 650 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    z-index: 10000 !important;
    box-shadow: 0 12px 30px rgba(var(--cnvs-themecolor-rgb), 0.28) !important;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease !important;
}

    .album-back-link:hover,
    .album-back-link:focus {
        color: #fff !important;
        background-color: #b63815 !important;
        border-color: #b63815 !important;
        transform: translateY(-2px) !important;
    }

    .album-back-link i {
        display: inline-block !important;
        color: #fff !important;
        font-size: 1.2rem !important;
        line-height: 1 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .album-back-link span {
        display: inline-block !important;
        color: #fff !important;
        font-size: inherit !important;
        visibility: visible !important;
        opacity: 1 !important;
    }


/* ==========================================================
   Album Responsive
   ========================================================== */

@media (max-width: 991.98px) {
    .album-hero {
        min-height: 470px;
    }

    .album-sidebar {
        position: relative !important;
        top: auto !important;
        margin-top: 3rem !important;
    }

    .album-back-area {
        margin-top: 1rem !important;
        margin-bottom: 2rem !important;
    }
}

@media (max-width: 575.98px) {
    .album-hero {
        min-height: 420px;
    }

    .album-picture img {
        min-height: 260px;
    }

    .album-back-link {
        min-height: 52px !important;
        font-size: 1.05rem !important;
    }
}
/* ==========================================================
   Courses Listing Page
   ========================================================== */

.courses-page .content-wrap {
    padding-top: 0;
    padding-bottom: 0;
}


/* ==========================================================
   Courses Hero
   ========================================================== */

.courses-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 640px;
    overflow: hidden;
    /*background: url("/images/SiteSettings/Climbing.png") center center / cover no-repeat;*/
}

.courses-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(8, 10, 13, 0.94) 0%, rgba(8, 10, 13, 0.79) 42%, rgba(8, 10, 13, 0.34) 75%, rgba(8, 10, 13, 0.17) 100% );
}

.courses-hero-container {
    position: relative;
    z-index: 2;
}

.courses-hero-content {
    max-width: 760px;
    padding: 7rem 0 8rem;
}

.courses-hero-eyebrow,
.courses-section-eyebrow {
    display: inline-block;
    margin-bottom: 0.9rem;
    color: var(--cnvs-themecolor);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.courses-hero h1 {
    max-width: 760px;
    margin-bottom: 1.4rem;
    color: #fff;
    font-size: clamp(3rem, 6vw, 5.6rem);
    line-height: 1.02;
}

.courses-hero p {
    max-width: 680px;
    margin-bottom: 2.3rem;
    color: rgba(255, 255, 255, 0.83);
    font-size: 1.25rem !important;
    line-height: 1.7 !important;
}

.courses-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.courses-primary-button {
    margin: 0;
}

.courses-secondary-button {
    margin: 0;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.75) !important;
    background: rgba(0, 0, 0, 0.18) !important;
}

    .courses-secondary-button:hover,
    .courses-secondary-button:focus {
        color: #111 !important;
        border-color: #fff !important;
        background: #fff !important;
    }

.courses-hero-shape {
    position: absolute;
    right: -10%;
    bottom: -170px;
    left: -10%;
    height: 250px;
    border-radius: 50% 50% 0 0;
    background: var(--cnvs-contrast-100);
}


/* ==========================================================
   Courses Introduction
   ========================================================== */

.courses-introduction {
    padding: 2rem 0 5rem;
    background: var(--cnvs-contrast-100);
}

.courses-section-heading {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

    .courses-section-heading h2 {
        margin-bottom: 1rem;
        font-size: clamp(2.5rem, 4vw, 4rem);
    }

    .courses-section-heading p {
        margin-bottom: 0;
        color: var(--cnvs-contrast-600);
        font-size: 1.1rem !important;
        line-height: 1.72 !important;
    }

.courses-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.courses-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 2rem;
    border: 1px solid rgba(127, 127, 127, 0.15);
    border-radius: 18px;
    background: var(--cnvs-contrast-0);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
}

.courses-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    color: #fff;
    background: var(--cnvs-themecolor);
    font-size: 1.65rem;
}

.courses-benefit-item h3 {
    margin-bottom: 0.45rem;
    font-size: 1.35rem;
}

.courses-benefit-item p {
    margin-bottom: 0;
    color: var(--cnvs-contrast-600);
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
}


/* ==========================================================
   Course Listing
   ========================================================== */

.courses-listing-section {
    padding: 6rem 0;
    background: var(--cnvs-contrast-0);
}

.courses-listing-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

    .courses-listing-header h2 {
        margin-bottom: 0;
        font-size: clamp(2.4rem, 4vw, 3.7rem);
    }

.courses-result-count {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex: 0 0 auto;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(127, 127, 127, 0.18);
    border-radius: 999px;
    color: var(--cnvs-contrast-700);
    background: var(--cnvs-contrast-100);
    font-size: 1rem;
}

    .courses-result-count i {
        color: var(--cnvs-themecolor);
    }


/* ==========================================================
   Modern Course Card
   ========================================================== */

.course-modern-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(127, 127, 127, 0.15);
    border-radius: 22px;
    background: var(--cnvs-contrast-0);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.09);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

    .course-modern-card:hover {
        transform: translateY(-8px);
        border-color: rgba(var(--cnvs-themecolor-rgb), 0.38);
        box-shadow: 0 24px 55px rgba(0, 0, 0, 0.16);
    }

.course-modern-image-wrapper {
    position: relative;
    height: 310px;
    overflow: hidden;
}

.course-modern-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.course-modern-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease, filter 0.65s ease;
}

.course-modern-card:hover .course-modern-image {
    transform: scale(1.06);
    filter: saturate(1.08);
}

.course-modern-image-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.08) 20%, rgba(0, 0, 0, 0.6) 100% );
}

.course-modern-badges {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    z-index: 2;
}

.course-featured-badge,
.course-difficulty-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
}

.course-featured-badge {
    color: #151515;
    background: #f5b400;
}

.course-difficulty-badge {
    color: #fff;
    background: rgba(12, 14, 18, 0.78);
    backdrop-filter: blur(6px);
}

.course-modern-logo {
    position: absolute;
    right: 1.2rem;
    bottom: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    padding: 0.6rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.19);
    z-index: 2;
}

    .course-modern-logo img {
        display: block;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.course-modern-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 2rem;
}

.course-modern-caption {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--cnvs-themecolor);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.course-modern-title {
    margin-bottom: 1rem;
    font-size: 1.9rem;
    line-height: 1.2;
}

    .course-modern-title a {
        color: var(--cnvs-contrast-1000);
        text-decoration: none;
        white-space: normal;
        overflow-wrap: anywhere;
    }

        .course-modern-title a:hover {
            color: var(--cnvs-themecolor);
        }

.course-modern-summary {
    margin-bottom: 1.5rem;
    color: var(--cnvs-contrast-650);
    font-size: 1rem !important;
    line-height: 1.68 !important;
}

.course-modern-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
    margin-bottom: 1.7rem;
}

.course-modern-detail {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--cnvs-contrast-600);
    font-size: 0.95rem;
}

    .course-modern-detail i {
        color: var(--cnvs-themecolor);
        font-size: 1.05rem;
    }

.course-modern-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.2rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(127, 127, 127, 0.16);
}

.course-modern-price {
    min-width: 0;
}

.course-price-label,
.course-price-period {
    display: block;
    color: var(--cnvs-contrast-500);
    font-size: 0.85rem;
}

.course-price-value {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.course-price-amount {
    color: var(--cnvs-contrast-1000);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
}

.course-price-unit {
    color: var(--cnvs-contrast-700);
    font-size: 1rem;
    font-weight: 650;
}

.course-price-contact {
    color: var(--cnvs-contrast-700);
    font-size: 1rem;
    font-weight: 650;
}

.course-modern-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
    color: var(--cnvs-themecolor);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
}

    .course-modern-link i {
        transition: transform 0.2s ease;
    }

    .course-modern-link:hover i {
        transform: translateX(4px);
    }


/* ==========================================================
   Courses Empty State
   ========================================================== */

.courses-empty-state {
    padding: 5rem 2rem;
    border: 1px solid rgba(127, 127, 127, 0.16);
    border-radius: 22px;
    text-align: center;
    background: var(--cnvs-contrast-100);
}

.courses-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    color: #fff;
    background: var(--cnvs-themecolor);
    font-size: 2.8rem;
}

.courses-empty-state h3 {
    margin-bottom: 0.7rem;
}

.courses-empty-state p {
    margin: 0 auto 1.7rem;
    max-width: 540px;
    color: var(--cnvs-contrast-600);
}


/* ==========================================================
   Courses Call to Action
   ========================================================== */

.courses-cta-section {
    padding: 6rem 0;
    background: var(--cnvs-contrast-100);
}

.courses-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: clamp(2.5rem, 5vw, 5rem);
    overflow: hidden;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient( 135deg, rgba(10, 12, 16, 0.96), rgba(31, 35, 42, 0.93) ), url("/images/SiteSettings/Climbing.png") center center / cover no-repeat;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.courses-cta-content {
    max-width: 780px;
}

    .courses-cta-content h2 {
        margin-bottom: 1rem;
        color: #fff;
        font-size: clamp(2.2rem, 4vw, 3.6rem);
    }

    .courses-cta-content p {
        margin-bottom: 0;
        color: rgba(255, 255, 255, 0.78);
        font-size: 1.08rem !important;
        line-height: 1.7 !important;
    }

.courses-cta-action {
    flex: 0 0 auto;
}


/* ==========================================================
   Dark Mode Support
   ========================================================== */

.dark .courses-benefit-item,
[data-bs-theme="dark"] .courses-benefit-item,
.dark .course-modern-card,
[data-bs-theme="dark"] .course-modern-card {
    background: rgba(255, 255, 255, 0.035);
}

.dark .course-modern-title a,
[data-bs-theme="dark"] .course-modern-title a,
.dark .course-price-amount,
[data-bs-theme="dark"] .course-price-amount {
    color: #fff;
}


/* ==========================================================
   Courses Responsive
   ========================================================== */

@media (max-width: 991.98px) {
    .courses-hero {
        min-height: 560px;
    }

    .courses-hero-content {
        padding: 6rem 0 7rem;
    }

    .courses-benefits {
        grid-template-columns: 1fr;
    }

    .courses-listing-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .courses-cta-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .courses-hero {
        min-height: 520px;
    }

    .courses-hero-overlay {
        background: rgba(8, 10, 13, 0.78);
    }

    .courses-hero-content {
        padding: 5rem 0 6.5rem;
    }

    .courses-hero h1 {
        font-size: 3.2rem;
    }

    .courses-hero p {
        font-size: 1.1rem !important;
    }

    .courses-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

        .courses-hero-actions .button {
            display: flex;
            justify-content: center;
            width: 100%;
        }

    .courses-introduction,
    .courses-listing-section,
    .courses-cta-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .course-modern-image-wrapper {
        height: 280px;
    }
}

@media (max-width: 575.98px) {
    .courses-hero {
        min-height: 480px;
    }

        .courses-hero h1 {
            font-size: 2.65rem;
        }

    .courses-benefit-item {
        padding: 1.5rem;
    }

    .courses-benefit-icon {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }

    .course-modern-image-wrapper {
        height: 245px;
    }

    .course-modern-content {
        padding: 1.5rem;
    }

    .course-modern-title {
        font-size: 1.65rem;
    }

    .course-modern-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .course-modern-link {
        justify-content: space-between;
        width: 100%;
    }

    .courses-cta-card {
        padding: 2rem;
    }

    .courses-cta-action,
    .courses-cta-action .button {
        width: 100%;
    }

        .courses-cta-action .button {
            display: flex;
            justify-content: center;
        }
}

/* ==========================================================
   Course Details Page
   ========================================================== */

.course-details-page .content-wrap {
    padding-top: 0;
    padding-bottom: 0;
}


/* ==========================================================
   Course Details Hero
   ========================================================== */

.course-details-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 760px;
    overflow: hidden;
    background: #111;
}

.course-details-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-details-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(5, 7, 10, 0.96) 0%, rgba(5, 7, 10, 0.83) 45%, rgba(5, 7, 10, 0.32) 78%, rgba(5, 7, 10, 0.18) 100% );
}

.course-details-hero-container {
    position: relative;
    z-index: 2;
}

.course-details-hero-content {
    max-width: 840px;
    padding: 8rem 0 10rem;
}

.course-details-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.course-details-featured-badge,
.course-details-difficulty-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.48rem 0.85rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
}

.course-details-featured-badge {
    color: #151515;
    background: #f5b400;
}

.course-details-difficulty-badge {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(7px);
}

.course-details-eyebrow {
    display: inline-block;
    margin-bottom: 0.9rem;
    color: var(--cnvs-themecolor);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.course-details-hero h1 {
    max-width: 820px;
    margin-bottom: 1.4rem;
    color: #fff;
    font-size: clamp(3.1rem, 6vw, 5.8rem);
    line-height: 1.02;
}

.course-details-summary {
    max-width: 720px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.25rem !important;
    line-height: 1.7 !important;
}

.course-details-quick-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.2rem;
}

.course-details-quick-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 145px;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.23);
    backdrop-filter: blur(7px);
}

    .course-details-quick-item i {
        color: var(--cnvs-themecolor);
        font-size: 1.4rem;
    }

    .course-details-quick-item span {
        display: block;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.8rem;
    }

    .course-details-quick-item strong {
        display: block;
        color: #fff;
        font-size: 1rem;
    }

.course-details-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.course-details-primary-button,
.course-details-secondary-button {
    margin: 0;
}

.course-details-secondary-button {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.75) !important;
    background: rgba(0, 0, 0, 0.16) !important;
}

    .course-details-secondary-button:hover,
    .course-details-secondary-button:focus {
        color: #111 !important;
        border-color: #fff !important;
        background: #fff !important;
    }

.course-details-hero-bottom {
    position: absolute;
    right: -10%;
    bottom: -180px;
    left: -10%;
    height: 260px;
    border-radius: 50% 50% 0 0;
    background: var(--cnvs-contrast-100);
}


/* ==========================================================
   Main Course Details
   ========================================================== */

.course-details-main {
    padding: 7rem 0;
    background: var(--cnvs-contrast-100);
}

.course-details-content-card {
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid rgba(127, 127, 127, 0.15);
    border-radius: 24px;
    background: var(--cnvs-contrast-0);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.course-details-section-heading {
    margin-bottom: 2rem;
}

    .course-details-section-heading > span {
        display: block;
        margin-bottom: 0.55rem;
        color: var(--cnvs-themecolor);
        font-size: 0.95rem;
        font-weight: 700;
        letter-spacing: 0.09em;
        text-transform: uppercase;
    }

    .course-details-section-heading h2 {
        margin-bottom: 0;
        font-size: clamp(2.2rem, 4vw, 3.5rem);
    }

.course-details-description,
.course-details-description p,
.course-details-description li {
    color: var(--cnvs-contrast-700);
    font-size: 1.08rem !important;
    line-height: 1.78 !important;
}

    .course-details-description h2,
    .course-details-description h3,
    .course-details-description h4 {
        margin-top: 2rem;
    }

    .course-details-description ul,
    .course-details-description ol {
        padding-left: 1.4rem;
    }

    .course-details-description img {
        max-width: 100%;
        height: auto;
        border-radius: 16px;
    }


/* ==========================================================
   Course Highlights
   ========================================================== */

.course-details-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.course-details-highlight {
    padding: 1.7rem;
    border: 1px solid rgba(127, 127, 127, 0.15);
    border-radius: 18px;
    background: var(--cnvs-contrast-0);
}

.course-details-highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 1rem;
    border-radius: 15px;
    color: #fff;
    background: var(--cnvs-themecolor);
    font-size: 1.5rem;
}

.course-details-highlight h3 {
    margin-bottom: 0.55rem;
    font-size: 1.3rem;
}

.course-details-highlight p {
    margin-bottom: 0;
    color: var(--cnvs-contrast-600);
    font-size: 0.96rem !important;
    line-height: 1.62 !important;
}


/* ==========================================================
   Course Booking Sidebar
   ========================================================== */

.course-details-sidebar {
    position: sticky;
    top: 110px;
}

.course-details-booking-card {
    position: relative;
    padding: 2.2rem;
    overflow: hidden;
    border: 1px solid rgba(127, 127, 127, 0.15);
    border-radius: 24px;
    background: var(--cnvs-contrast-0);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.11);
}

.course-details-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    border-radius: 20px;
    background: rgba(var(--cnvs-themecolor-rgb), 0.1);
}

    .course-details-logo img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.course-booking-label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--cnvs-themecolor);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.course-details-booking-card h3 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.course-booking-price {
    margin-bottom: 1.5rem;
    padding: 1.3rem;
    border-radius: 16px;
    background: var(--cnvs-contrast-100);
}

    .course-booking-price > span {
        display: block;
        color: var(--cnvs-contrast-500);
        font-size: 0.85rem;
    }

    .course-booking-price div {
        display: flex;
        align-items: baseline;
        gap: 0.35rem;
    }

    .course-booking-price strong {
        color: var(--cnvs-contrast-1000);
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .course-booking-price small {
        color: var(--cnvs-contrast-700);
        font-size: 1.05rem;
    }

    .course-booking-price p {
        margin: 0.25rem 0 0;
        color: var(--cnvs-contrast-500);
        font-size: 0.9rem !important;
    }

.course-booking-contact-price {
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    border-radius: 14px;
    color: var(--cnvs-contrast-700);
    background: var(--cnvs-contrast-100);
}

.course-booking-list {
    margin: 0 0 1.7rem;
    padding: 0;
    list-style: none;
}

    .course-booking-list li {
        display: grid;
        grid-template-columns: 26px 1fr auto;
        align-items: center;
        gap: 0.65rem;
        padding: 0.85rem 0;
        border-bottom: 1px solid rgba(127, 127, 127, 0.14);
    }

        .course-booking-list li:last-child {
            border-bottom: 0;
        }

    .course-booking-list i {
        color: var(--cnvs-themecolor);
        font-size: 1.15rem;
    }

    .course-booking-list span {
        color: var(--cnvs-contrast-500);
    }

    .course-booking-list strong {
        color: var(--cnvs-contrast-900);
        text-align: right;
    }

.course-booking-button {
    display: flex !important;
    justify-content: center;
    width: 100%;
    margin: 0 0 1rem !important;
}

.course-back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: var(--cnvs-contrast-600);
    font-size: 1rem;
    font-weight: 650;
    text-decoration: none;
}

    .course-back-link:hover {
        color: var(--cnvs-themecolor);
    }


/* ==========================================================
   Course Pricing Section
   ========================================================== */

.course-pricing-section {
    padding: 7rem 0;
    background: var(--cnvs-contrast-0);
}

.course-pricing-heading {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

    .course-pricing-heading h2 {
        margin-bottom: 1rem;
        font-size: clamp(2.4rem, 4vw, 4rem);
    }

    .course-pricing-heading p {
        margin-bottom: 0;
        color: var(--cnvs-contrast-600);
        font-size: 1.08rem !important;
    }

.course-price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2.2rem;
    border: 1px solid rgba(127, 127, 127, 0.16);
    border-radius: 22px;
    background: var(--cnvs-contrast-0);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

    .course-price-card:hover {
        transform: translateY(-7px);
        border-color: rgba(var(--cnvs-themecolor-rgb), 0.4);
        box-shadow: 0 24px 52px rgba(0, 0, 0, 0.14);
    }

.course-price-card-highlighted {
    border: 2px solid var(--cnvs-themecolor);
}

.course-price-popular {
    position: absolute;
    top: 0;
    right: 1.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: 0 0 9px 9px;
    color: #fff;
    background: var(--cnvs-themecolor);
    font-size: 0.85rem;
    font-weight: 700;
}

.course-price-card-header {
    margin-bottom: 1.5rem;
}

    .course-price-card-header h3 {
        margin-bottom: 1.2rem;
        padding-right: 4rem;
        font-size: 1.7rem;
    }

.course-price-card-value {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

    .course-price-card-value strong {
        color: var(--cnvs-contrast-1000);
        font-size: 3rem;
        line-height: 1;
    }

    .course-price-card-value span {
        color: var(--cnvs-contrast-600);
        font-size: 1.1rem;
        font-weight: 650;
    }

.course-price-card-header p {
    margin: 0.4rem 0 0;
    color: var(--cnvs-contrast-500);
    font-size: 0.92rem !important;
}

.course-price-card-description {
    flex: 1;
    margin-bottom: 1.7rem;
    color: var(--cnvs-contrast-650);
    line-height: 1.65;
}

    .course-price-card-description ul {
        margin: 0;
        padding-left: 1.2rem;
    }

.course-price-card-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    color: #fff !important;
    background: var(--cnvs-themecolor);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
}

    .course-price-card-button i {
        transition: transform 0.2s ease;
    }

    .course-price-card-button:hover {
        color: #fff !important;
        background: #b63815;
    }

        .course-price-card-button:hover i {
            transform: translateX(4px);
        }


/* ==========================================================
   Course Bottom CTA
   ========================================================== */

.course-details-cta {
    padding: 6rem 0;
    background: var(--cnvs-contrast-100);
}

.course-details-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: clamp(2.5rem, 5vw, 5rem);
    border-radius: 25px;
    color: #fff;
    background: linear-gradient( 135deg, rgba(8, 10, 14, 0.96), rgba(34, 38, 45, 0.92) ), url("/images/SiteSettings/Climbing.png") center center / cover no-repeat;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

    .course-details-cta-card > div {
        max-width: 800px;
    }

    .course-details-cta-card h2 {
        margin-bottom: 1rem;
        color: #fff;
        font-size: clamp(2.2rem, 4vw, 3.6rem);
    }

    .course-details-cta-card p {
        margin-bottom: 0;
        color: rgba(255, 255, 255, 0.78);
        font-size: 1.08rem !important;
        line-height: 1.7 !important;
    }


/* ==========================================================
   Course Details Responsive
   ========================================================== */

@media (max-width: 991.98px) {
    .course-details-hero {
        min-height: 680px;
    }

    .course-details-hero-content {
        padding: 7rem 0 9rem;
    }

    .course-details-sidebar {
        position: relative;
        top: auto;
    }

    .course-details-highlights {
        grid-template-columns: 1fr;
    }

    .course-details-cta-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .course-details-hero {
        min-height: 650px;
    }

    .course-details-hero-overlay {
        background: rgba(5, 7, 10, 0.79);
    }

    .course-details-hero-content {
        padding: 6rem 0 8rem;
    }

    .course-details-hero h1 {
        font-size: 3.2rem;
    }

    .course-details-summary {
        font-size: 1.1rem !important;
    }

    .course-details-actions {
        align-items: stretch;
        flex-direction: column;
    }

        .course-details-actions .button {
            display: flex;
            justify-content: center;
            width: 100%;
        }

    .course-details-main,
    .course-pricing-section,
    .course-details-cta {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }
}

@media (max-width: 575.98px) {
    .course-details-hero {
        min-height: 620px;
    }

        .course-details-hero h1 {
            font-size: 2.65rem;
        }

    .course-details-quick-info {
        align-items: stretch;
        flex-direction: column;
    }

    .course-details-quick-item {
        width: 100%;
    }

    .course-details-content-card,
    .course-details-booking-card,
    .course-price-card {
        padding: 1.5rem;
    }

    .course-details-cta-card {
        padding: 2rem;
    }

        .course-details-cta-card .button {
            display: flex;
            justify-content: center;
            width: 100%;
        }
}

/* ==========================================================
   Contact Page
   ========================================================== */

.contact-page .content-wrap {
    padding-top: 0;
    padding-bottom: 0;
}


/* ==========================================================
   Contact Hero
   ========================================================== */

.contact-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 520px;
    overflow: hidden;
    background: url("/images/SiteSettings/ContactUs.jpg") center center / cover no-repeat;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(6, 8, 11, 0.95) 0%, rgba(6, 8, 11, 0.78) 52%, rgba(6, 8, 11, 0.35) 100% );
}

.contact-hero-container {
    position: relative;
    z-index: 2;
}

.contact-hero-content {
    max-width: 790px;
    padding: 7rem 0 9rem;
}

.contact-hero-eyebrow,
.contact-section-eyebrow {
    display: inline-block;
    margin-bottom: 0.8rem;
    color: var(--cnvs-themecolor);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.contact-hero h1 {
    margin-bottom: 1.25rem;
    color: #fff;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.03;
}

.contact-hero p {
    max-width: 700px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.22rem !important;
    line-height: 1.7 !important;
}

.contact-hero-bottom {
    position: absolute;
    right: -10%;
    bottom: -170px;
    left: -10%;
    height: 240px;
    border-radius: 50% 50% 0 0;
    background: var(--cnvs-contrast-100);
}


/* ==========================================================
   Contact Main Section
   ========================================================== */

.contact-main-section {
    padding: 2rem 0;
    background: var(--cnvs-contrast-100);
}

.contact-status-message {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 2rem;
    border: 0;
    border-radius: 14px;
    font-size: 1rem;
}

    .contact-status-message i {
        font-size: 1.35rem;
    }


/* ==========================================================
   Contact Information Card
   ========================================================== */

.contact-info-card,
.contact-form-card {
    height: 100%;
    padding: clamp(2rem, 4vw, 3.5rem);
    border: 1px solid rgba(127, 127, 127, 0.15);
    border-radius: 24px;
    background: var(--cnvs-contrast-0);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.09);
}

    .contact-info-card h2,
    .contact-form-heading h2 {
        margin-bottom: 1rem;
        font-size: clamp(2.2rem, 4vw, 3.25rem);
    }

.contact-info-introduction,
.contact-form-heading p {
    color: var(--cnvs-contrast-600);
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
}

.contact-information-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 2rem;
}

.contact-information-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(127, 127, 127, 0.14);
    border-radius: 15px;
    color: inherit;
    background: var(--cnvs-contrast-100);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

a.contact-information-item:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--cnvs-themecolor-rgb), 0.38);
}

.contact-information-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: #fff;
    background: var(--cnvs-themecolor);
    font-size: 1.25rem;
}

.contact-information-content {
    min-width: 0;
}

    .contact-information-content small {
        display: block;
        margin-bottom: 0.15rem;
        color: var(--cnvs-contrast-500);
        font-size: 0.85rem !important;
    }

    .contact-information-content strong {
        display: block;
        color: var(--cnvs-contrast-900);
        font-size: 1rem;
        overflow-wrap: anywhere;
    }

.contact-social-section {
    margin-top: 2.3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(127, 127, 127, 0.16);
}

    .contact-social-section h3 {
        margin-bottom: 0.45rem;
        font-size: 1.45rem;
    }

    .contact-social-section p {
        color: var(--cnvs-contrast-600);
        font-size: 0.96rem !important;
    }

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


/* ==========================================================
   Contact Form
   ========================================================== */

.contact-form-heading {
    margin-bottom: 2rem;
}

.contact-enquiry-context {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(var(--cnvs-themecolor-rgb), 0.22);
    border-radius: 15px;
    background: rgba(var(--cnvs-themecolor-rgb), 0.07);
}

.contact-enquiry-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    color: #fff;
    background: var(--cnvs-themecolor);
    font-size: 1.35rem;
}

.contact-enquiry-context small,
.contact-enquiry-context strong,
.contact-enquiry-context span {
    display: block;
}

.contact-enquiry-context small {
    color: var(--cnvs-contrast-500);
    font-size: 0.82rem !important;
}

.contact-enquiry-context strong {
    color: var(--cnvs-contrast-900);
    font-size: 1.08rem;
}

.contact-enquiry-context span {
    color: var(--cnvs-contrast-600);
    font-size: 0.92rem;
}

.contact-modern-form .form-control {
    min-height: 52px;
    border-color: rgba(127, 127, 127, 0.2);
    border-radius: 13px;
    background: var(--cnvs-contrast-100);
}

.contact-modern-form textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

.contact-modern-form .form-control:focus {
    background: var(--cnvs-contrast-0);
}

.contact-readonly-field {
    position: relative;
}

    .contact-readonly-field i {
        position: absolute;
        top: 50%;
        left: 1rem;
        z-index: 2;
        color: var(--cnvs-themecolor);
        font-size: 1.1rem;
        transform: translateY(-50%);
    }

    .contact-readonly-field .form-control {
        padding-left: 2.8rem;
        color: var(--cnvs-contrast-600);
    }

.contact-submit-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 56px;
    padding: 0.85rem 1.25rem;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: var(--cnvs-themecolor);
    font-family: "Cormorant Variable", serif;
    font-size: 1.08rem;
    font-style: italic;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

    .contact-submit-button:hover,
    .contact-submit-button:focus {
        color: #fff;
        background: #b63815;
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(var(--cnvs-themecolor-rgb), 0.27);
    }

    .contact-submit-button i {
        font-size: 1.3rem;
    }


/* ==========================================================
   Contact Bottom Privacy Section
   ========================================================== */

.contact-bottom-section {
    padding: 0 0 6rem;
    background: var(--cnvs-contrast-100);
}

.contact-bottom-card {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 2rem;
    border: 1px solid rgba(var(--cnvs-themecolor-rgb), 0.18);
    border-radius: 20px;
    background: var(--cnvs-contrast-0);
}

.contact-bottom-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 65px;
    width: 65px;
    height: 65px;
    border-radius: 18px;
    color: #fff;
    background: var(--cnvs-themecolor);
    font-size: 1.8rem;
}

.contact-bottom-card h2 {
    margin-bottom: 0.3rem;
    font-size: 1.6rem;
}

.contact-bottom-card p {
    margin-bottom: 0;
    color: var(--cnvs-contrast-600);
    font-size: 0.98rem !important;
}


/* ==========================================================
   Contact Responsive
   ========================================================== */

@media (max-width: 991.98px) {
    .contact-hero {
        min-height: 470px;
    }

    .contact-hero-content {
        padding: 6rem 0 8rem;
    }

    .contact-main-section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

@media (max-width: 767.98px) {
    .contact-hero {
        min-height: 430px;
    }

    .contact-hero-overlay {
        background: rgba(6, 8, 11, 0.78);
    }

    .contact-hero h1 {
        font-size: 3rem;
    }

    .contact-hero p {
        font-size: 1.08rem !important;
    }

    .contact-main-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 2rem;
    }
}

@media (max-width: 575.98px) {
    .contact-hero {
        min-height: 400px;
    }

        .contact-hero h1 {
            font-size: 2.55rem;
        }

    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
    }

    .contact-bottom-card {
        align-items: flex-start;
    }

    .contact-bottom-icon {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
        font-size: 1.5rem;
    }

    .contact-bottom-card h2 {
        font-size: 1.35rem;
    }
}
/* ==========================================================
   Modern Gallery Page
   ========================================================== */

.gallery-page .content-wrap {
    padding-top: 0;
    padding-bottom: 0;
}


/* ==========================================================
   Gallery Hero
   ========================================================== */

.gallery-modern-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 620px;
    overflow: hidden;
    background: url("/images/SiteSettings/Gallery.jpg") center center / cover no-repeat;
}

.gallery-modern-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(5, 7, 10, 0.95) 0%, rgba(5, 7, 10, 0.79) 50%, rgba(5, 7, 10, 0.32) 100% );
}

.gallery-modern-hero-container {
    position: relative;
    z-index: 2;
}

.gallery-modern-hero-content {
    max-width: 800px;
    padding: 8rem 0 10rem;
}

.gallery-modern-eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: var(--cnvs-themecolor);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gallery-modern-hero h1 {
    margin-bottom: 1.3rem;
    color: #fff;
    font-size: clamp(3rem, 6vw, 5.7rem);
    line-height: 1.02;
}

.gallery-modern-hero p {
    max-width: 720px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.22rem !important;
    line-height: 1.7 !important;
}

.gallery-modern-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.gallery-modern-stat {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 170px;
    padding: 0.85rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(8px);
}

    .gallery-modern-stat i {
        color: var(--cnvs-themecolor);
        font-size: 1.55rem;
    }

    .gallery-modern-stat strong {
        display: block;
        color: #fff;
        font-size: 1.25rem;
        line-height: 1.1;
    }

    .gallery-modern-stat span {
        display: block;
        color: rgba(255, 255, 255, 0.66);
        font-size: 0.88rem;
    }

.gallery-modern-hero-bottom {
    position: absolute;
    right: -10%;
    bottom: -180px;
    left: -10%;
    height: 260px;
    border-radius: 50% 50% 0 0;
    background: var(--cnvs-contrast-100);
}


/* ==========================================================
   Gallery Introduction
   ========================================================== */

.gallery-modern-introduction {
    padding: 2rem 0 3rem;
    background: var(--cnvs-contrast-100);
}

.gallery-modern-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

    .gallery-modern-heading > div:first-child {
        max-width: 760px;
    }

    .gallery-modern-heading h2 {
        margin-bottom: 1rem;
        font-size: clamp(2.5rem, 4vw, 4rem);
    }

    .gallery-modern-heading p {
        margin-bottom: 0;
        color: var(--cnvs-contrast-600);
        font-size: 1.08rem !important;
        line-height: 1.7 !important;
    }

.gallery-modern-count {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex: 0 0 auto;
    padding: 0.7rem 1.05rem;
    border: 1px solid rgba(127, 127, 127, 0.17);
    border-radius: 999px;
    color: var(--cnvs-contrast-700);
    background: var(--cnvs-contrast-0);
    font-size: 1rem;
}

    .gallery-modern-count i {
        color: var(--cnvs-themecolor);
    }


/* ==========================================================
   Gallery Listing
   ========================================================== */

.gallery-modern-listing {
    padding: 3rem 0 7rem;
    background: var(--cnvs-contrast-100);
}

.gallery-modern-card {
    height: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: #111;
    box-shadow: 0 15px 42px rgba(0, 0, 0, 0.16);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .gallery-modern-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 58px rgba(0, 0, 0, 0.25);
    }

.gallery-modern-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.gallery-modern-image-wrapper {
    position: relative;
    height: 520px;
    overflow: hidden;
}

.gallery-modern-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease, filter 0.65s ease;
}

.gallery-modern-card:hover .gallery-modern-image {
    transform: scale(1.06);
    filter: saturate(1.08);
}

.gallery-modern-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.08) 15%, rgba(0, 0, 0, 0.18) 40%, rgba(0, 0, 0, 0.92) 100% );
}

.gallery-modern-card-badges {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    z-index: 2;
}

.gallery-modern-featured,
.gallery-modern-private {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
}

.gallery-modern-featured {
    color: #151515;
    background: #f5b400;
}

.gallery-modern-private {
    color: #fff;
    background: rgba(10, 12, 16, 0.8);
    backdrop-filter: blur(7px);
}

.gallery-modern-card-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 2rem;
    z-index: 2;
}

.gallery-modern-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    margin-bottom: 1rem;
}

    .gallery-modern-meta span {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        color: rgba(255, 255, 255, 0.72);
        font-size: 0.9rem;
    }

    .gallery-modern-meta i {
        color: var(--cnvs-themecolor);
    }

.gallery-modern-card-content h3 {
    margin-bottom: 1.15rem;
    color: #fff;
    font-size: 2rem;
    line-height: 1.18;
    overflow-wrap: anywhere;
}

.gallery-modern-open {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

    .gallery-modern-open i {
        color: var(--cnvs-themecolor);
        transition: transform 0.2s ease;
    }

.gallery-modern-card:hover .gallery-modern-open i {
    transform: translateX(5px);
}


/* ==========================================================
   Gallery Empty State
   ========================================================== */

.gallery-modern-empty {
    padding: 5rem 2rem;
    border: 1px solid rgba(127, 127, 127, 0.16);
    border-radius: 24px;
    text-align: center;
    background: var(--cnvs-contrast-0);
}

.gallery-modern-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 95px;
    height: 95px;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    color: #fff;
    background: var(--cnvs-themecolor);
    font-size: 3rem;
}

.gallery-modern-empty h3 {
    margin-bottom: 0.8rem;
}

.gallery-modern-empty p {
    max-width: 560px;
    margin: 0 auto 1.7rem;
    color: var(--cnvs-contrast-600);
}


/* ==========================================================
   Gallery CTA
   ========================================================== */

.gallery-modern-cta {
    padding: 6rem 0;
    background: var(--cnvs-contrast-0);
}

.gallery-modern-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: clamp(2.5rem, 5vw, 5rem);
    border-radius: 26px;
    color: #fff;
    background: linear-gradient( 135deg, rgba(7, 9, 13, 0.96), rgba(32, 36, 43, 0.91) ), url("/images/SiteSettings/Gallery.jpg") center center / cover no-repeat;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.gallery-modern-cta-content {
    max-width: 780px;
}

.gallery-modern-cta-card h2 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.gallery-modern-cta-card p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem !important;
    line-height: 1.7 !important;
}

.gallery-modern-cta-actions {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 0.8rem;
}

.gallery-modern-cta-secondary {
    margin: 0;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.75) !important;
    background: rgba(0, 0, 0, 0.18) !important;
}

    .gallery-modern-cta-secondary:hover,
    .gallery-modern-cta-secondary:focus {
        color: #111 !important;
        border-color: #fff !important;
        background: #fff !important;
    }


/* ==========================================================
   Gallery Responsive
   ========================================================== */

@media (max-width: 991.98px) {
    .gallery-modern-hero {
        min-height: 560px;
    }

    .gallery-modern-hero-content {
        padding: 7rem 0 9rem;
    }

    .gallery-modern-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .gallery-modern-cta-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .gallery-modern-cta-actions {
        flex-direction: row;
    }
}

@media (max-width: 767.98px) {
    .gallery-modern-hero {
        min-height: 510px;
    }

    .gallery-modern-hero-overlay {
        background: rgba(5, 7, 10, 0.79);
    }

    .gallery-modern-hero-content {
        padding: 6rem 0 8rem;
    }

    .gallery-modern-hero h1 {
        font-size: 3.1rem;
    }

    .gallery-modern-hero p {
        font-size: 1.08rem !important;
    }

    .gallery-modern-introduction {
        padding-top: 5rem;
    }

    .gallery-modern-listing,
    .gallery-modern-cta {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .gallery-modern-image-wrapper {
        height: 470px;
    }
}

@media (max-width: 575.98px) {
    .gallery-modern-hero {
        min-height: 480px;
    }

        .gallery-modern-hero h1 {
            font-size: 2.7rem;
        }

    .gallery-modern-stats {
        align-items: stretch;
        flex-direction: column;
    }

    .gallery-modern-stat {
        width: 100%;
    }

    .gallery-modern-image-wrapper {
        height: 420px;
    }

    .gallery-modern-card-content {
        padding: 1.5rem;
    }

        .gallery-modern-card-content h3 {
            font-size: 1.7rem;
        }

    .gallery-modern-cta-card {
        padding: 2rem;
    }

    .gallery-modern-cta-actions {
        width: 100%;
        flex-direction: column;
    }

        .gallery-modern-cta-actions .button {
            display: flex;
            justify-content: center;
            width: 100%;
        }
}

/* ==========================================================
   Modern About Page
   ========================================================== */

.about-modern-page .content-wrap {
    padding-top: 0;
    padding-bottom: 0;
}


/* ==========================================================
   About Hero
   ========================================================== */

.about-modern-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 720px;
    overflow: hidden;
    background: #111;
}

.about-modern-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-modern-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(5, 7, 10, 0.96) 0%, rgba(5, 7, 10, 0.81) 48%, rgba(5, 7, 10, 0.28) 100% );
}

.about-modern-hero-container {
    position: relative;
    z-index: 2;
}

.about-modern-hero-content {
    max-width: 820px;
    padding: 8rem 0 10rem;
}

.about-modern-eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: var(--cnvs-themecolor);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.about-modern-hero h1 {
    max-width: 800px;
    margin-bottom: 1.35rem;
    color: #fff;
    font-size: clamp(3.1rem, 6vw, 5.8rem);
    line-height: 1.02;
}

.about-modern-hero p {
    max-width: 700px;
    margin-bottom: 2.2rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.24rem !important;
    line-height: 1.7 !important;
}

.about-modern-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.about-modern-secondary-button {
    margin: 0;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.75) !important;
    background: rgba(0, 0, 0, 0.18) !important;
}

    .about-modern-secondary-button:hover,
    .about-modern-secondary-button:focus {
        color: #111 !important;
        border-color: #fff !important;
        background: #fff !important;
    }

.about-modern-hero-bottom {
    position: absolute;
    right: -10%;
    bottom: -180px;
    left: -10%;
    height: 260px;
    border-radius: 50% 50% 0 0;
    background: var(--cnvs-contrast-100);
}


/* ==========================================================
   About Story
   ========================================================== */

.about-modern-story {
    padding: 2rem 0;
    background: var(--cnvs-contrast-100);
}

.about-modern-story-heading {
    margin-bottom: 2rem;
}

    .about-modern-story-heading h2 {
        margin-bottom: 0;
        font-size: clamp(2.4rem, 4vw, 4rem);
    }

.about-modern-description,
.about-modern-description p,
.about-modern-description li {
    color: var(--cnvs-contrast-700);
    font-size: 1.08rem !important;
    line-height: 1.78 !important;
}

    .about-modern-description h2,
    .about-modern-description h3,
    .about-modern-description h4 {
        margin-top: 2rem;
    }

    .about-modern-description img {
        max-width: 100%;
        height: auto;
        border-radius: 16px;
    }


/* ==========================================================
   About Featured Gallery
   ========================================================== */

.about-modern-featured-gallery {
    display: grid;
    gap: 1rem;
}

.about-modern-main-image {
    position: relative;
    display: block;
    height: 520px;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
}

    .about-modern-main-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .about-modern-main-image:hover img {
        transform: scale(1.045);
    }

.about-modern-image-action {
    position: absolute;
    right: 1.4rem;
    bottom: 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #111;
    background: #fff;
    font-size: 1.35rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.about-modern-thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.about-modern-thumbnail {
    display: block;
    height: 125px;
    overflow: hidden;
    border-radius: 15px;
}

    .about-modern-thumbnail img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease, filter 0.4s ease;
    }

    .about-modern-thumbnail:hover img {
        transform: scale(1.07);
        filter: saturate(1.08);
    }

.about-modern-placeholder {
    padding: 5rem 2rem;
    border: 1px solid rgba(127, 127, 127, 0.16);
    border-radius: 24px;
    text-align: center;
    background: var(--cnvs-contrast-0);
}

    .about-modern-placeholder i {
        display: block;
        margin-bottom: 1.2rem;
        color: var(--cnvs-themecolor);
        font-size: 4rem;
    }

    .about-modern-placeholder p {
        margin-bottom: 0;
        color: var(--cnvs-contrast-600);
    }


/* ==========================================================
   About Values
   ========================================================== */

.about-modern-values {
    padding: 7rem 0;
    background: var(--cnvs-contrast-0);
}

.about-modern-section-heading {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

    .about-modern-section-heading h2 {
        margin-bottom: 1rem;
        font-size: clamp(2.4rem, 4vw, 4rem);
    }

    .about-modern-section-heading p {
        margin-bottom: 0;
        color: var(--cnvs-contrast-600);
        font-size: 1.08rem !important;
        line-height: 1.7 !important;
    }

.about-modern-value-card {
    height: 100%;
    padding: 2.2rem;
    border: 1px solid rgba(127, 127, 127, 0.15);
    border-radius: 22px;
    background: var(--cnvs-contrast-0);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

    .about-modern-value-card:hover {
        transform: translateY(-7px);
        border-color: rgba(var(--cnvs-themecolor-rgb), 0.38);
        box-shadow: 0 24px 52px rgba(0, 0, 0, 0.13);
    }

.about-modern-value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 1.35rem;
    border-radius: 17px;
    color: #fff;
    background: var(--cnvs-themecolor);
    font-size: 1.7rem;
}

.about-modern-value-card h3 {
    margin-bottom: 0.7rem;
    font-size: 1.5rem;
}

.about-modern-value-card p {
    margin-bottom: 0;
    color: var(--cnvs-contrast-600);
    font-size: 1rem !important;
    line-height: 1.65 !important;
}


/* ==========================================================
   About Additional Gallery
   ========================================================== */

.about-modern-gallery-section {
    padding: 7rem 0;
    background: var(--cnvs-contrast-100);
}

.about-modern-gallery-item {
    position: relative;
    display: block;
    height: 330px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.12);
}

    .about-modern-gallery-item img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease, filter 0.5s ease;
    }

    .about-modern-gallery-item span {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        background: rgba(0, 0, 0, 0.28);
        font-size: 2rem;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .about-modern-gallery-item:hover img {
        transform: scale(1.06);
        filter: saturate(1.08);
    }

    .about-modern-gallery-item:hover span {
        opacity: 1;
    }


/* ==========================================================
   About CTA
   ========================================================== */

.about-modern-cta {
    padding: 6rem 0;
    background: var(--cnvs-contrast-100);
}

.about-modern-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: clamp(2.5rem, 5vw, 5rem);
    border-radius: 26px;
    color: #fff;
    background: linear-gradient( 135deg, rgba(6, 8, 12, 0.96), rgba(31, 35, 42, 0.91) ), url("/images/SiteSettings/Climbing.png") center center / cover no-repeat;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

    .about-modern-cta-card > div:first-child {
        max-width: 780px;
    }

    .about-modern-cta-card h2 {
        margin-bottom: 1rem;
        color: #fff;
        font-size: clamp(2.2rem, 4vw, 3.6rem);
    }

    .about-modern-cta-card p {
        margin-bottom: 0;
        color: rgba(255, 255, 255, 0.78);
        font-size: 1.08rem !important;
        line-height: 1.7 !important;
    }

.about-modern-cta-actions {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 0.8rem;
}


/* ==========================================================
   About Responsive
   ========================================================== */

@media (max-width: 991.98px) {
    .about-modern-hero {
        min-height: 650px;
    }

    .about-modern-hero-content {
        padding: 7rem 0 9rem;
    }

    .about-modern-main-image {
        height: 450px;
    }

    .about-modern-cta-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .about-modern-cta-actions {
        flex-direction: row;
    }
}

@media (max-width: 767.98px) {
    .about-modern-hero {
        min-height: 590px;
    }

    .about-modern-hero-overlay {
        background: rgba(5, 7, 10, 0.79);
    }

    .about-modern-hero-content {
        padding: 6rem 0 8rem;
    }

    .about-modern-hero h1 {
        font-size: 3.1rem;
    }

    .about-modern-hero p {
        font-size: 1.08rem !important;
    }

    .about-modern-actions {
        align-items: stretch;
        flex-direction: column;
    }

        .about-modern-actions .button {
            display: flex;
            justify-content: center;
            width: 100%;
        }

    .about-modern-story,
    .about-modern-values,
    .about-modern-gallery-section,
    .about-modern-cta {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .about-modern-main-image {
        height: 390px;
    }

    .about-modern-thumbnail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-modern-thumbnail {
        height: 140px;
    }
}

@media (max-width: 575.98px) {
    .about-modern-hero {
        min-height: 560px;
    }

        .about-modern-hero h1 {
            font-size: 2.65rem;
        }

    .about-modern-main-image {
        height: 330px;
    }

    .about-modern-gallery-item {
        height: 280px;
    }

    .about-modern-value-card {
        padding: 1.6rem;
    }

    .about-modern-cta-card {
        padding: 2rem;
    }

    .about-modern-cta-actions {
        width: 100%;
        flex-direction: column;
    }

        .about-modern-cta-actions .button {
            display: flex;
            justify-content: center;
            width: 100%;
        }
}
/* ==========================================================
   Canvas Lightbox Fix
   ========================================================== */

.mfp-bg {
    z-index: 99998 !important;
}

.mfp-wrap {
    z-index: 99999 !important;
}

.mfp-container,
.mfp-content {
    z-index: 100000 !important;
}

.mfp-close {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    color: #fff !important;
    background: rgba(0, 0, 0, 0.75) !important;
    border-radius: 50% !important;
    font-size: 34px !important;
    line-height: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
    cursor: pointer !important;
    z-index: 100001 !important;
}

    .mfp-close:hover,
    .mfp-close:focus {
        color: #fff !important;
        background: var(--cnvs-themecolor) !important;
    }

.mfp-arrow {
    z-index: 100001 !important;
}

.mfp-figure::after {
    background: transparent !important;
    box-shadow: none !important;
}

.mfp-img {
    max-width: 95vw !important;
    max-height: 90vh !important;
    object-fit: contain !important;
}

body.mfp-zoom-out-cur {
    overflow: hidden !important;
}

@media (max-width: 575.98px) {
    .mfp-close {
        top: 12px !important;
        right: 12px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 30px !important;
    }

    .mfp-img {
        max-width: 96vw !important;
        max-height: 84vh !important;
    }
}
/* ==========================================================
   Modern Blog Post Page
   ========================================================== */

.post-modern-page .content-wrap {
    padding-top: 0;
    padding-bottom: 0;
}


/* ==========================================================
   Post Hero
   ========================================================== */

.post-modern-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 760px;
    overflow: hidden;
    background: #111;
}

.post-modern-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-modern-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(4, 6, 9, 0.97) 0%, rgba(4, 6, 9, 0.84) 48%, rgba(4, 6, 9, 0.31) 100% );
}

.post-modern-hero-container {
    position: relative;
    z-index: 2;
}

.post-modern-hero-content {
    max-width: 930px;
    padding: 3rem 0 10rem;
}

.post-modern-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    padding: 0.48rem 0.85rem;
    border-radius: 999px;
    color: #171717;
    background: #f5b400;
    font-size: 0.92rem;
    font-weight: 700;
}

.post-modern-eyebrow {
    display: block;
    margin-bottom: 0.9rem;
    color: var(--cnvs-themecolor);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.post-modern-hero h1 {
    max-width: 920px;
    margin-bottom: 1.45rem;
    color: #fff;
    font-size: clamp(3rem, 5.8vw, 5.6rem);
    line-height: 1.04;
    overflow-wrap: anywhere;
}

.post-modern-summary {
    max-width: 780px;
    margin-bottom: 2.2rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.22rem !important;
    line-height: 1.72 !important;
}

.post-modern-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.post-modern-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 155px;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(8px);
}

    .post-modern-meta-item i {
        color: var(--cnvs-themecolor);
        font-size: 1.4rem;
    }

    .post-modern-meta-item span {
        display: block;
        color: rgba(255, 255, 255, 0.58);
        font-size: 0.78rem;
    }

    .post-modern-meta-item strong {
        display: block;
        color: #fff;
        font-size: 0.96rem;
    }

.post-modern-hero-bottom {
    position: absolute;
    right: -10%;
    bottom: -180px;
    left: -10%;
    height: 260px;
    border-radius: 50% 50% 0 0;
    background: var(--cnvs-contrast-100);
}


/* ==========================================================
   Post Main Content
   ========================================================== */

.post-modern-main {
    padding: 2rem 0;
    background: var(--cnvs-contrast-100);
}

.post-modern-article {
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid rgba(127, 127, 127, 0.15);
    border-radius: 25px;
    background: var(--cnvs-contrast-0);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.09);
}

.post-modern-content,
.post-modern-content p,
.post-modern-content li {
    color: var(--cnvs-contrast-750);
    font-size: 1.1rem !important;
    line-height: 1.82 !important;
}

    .post-modern-content p {
        margin-bottom: 1.45rem;
    }

    .post-modern-content h2 {
        margin-top: 2.7rem;
        margin-bottom: 1.2rem;
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .post-modern-content h3 {
        margin-top: 2.2rem;
        margin-bottom: 1rem;
        font-size: clamp(1.7rem, 3vw, 2.35rem);
    }

    .post-modern-content h4 {
        margin-top: 1.8rem;
        margin-bottom: 0.85rem;
    }

    .post-modern-content ul,
    .post-modern-content ol {
        margin-bottom: 1.5rem;
        padding-left: 1.6rem;
    }

    .post-modern-content blockquote {
        margin: 2rem 0;
        padding: 1.5rem 1.7rem;
        border-left: 5px solid var(--cnvs-themecolor);
        border-radius: 0 15px 15px 0;
        background: var(--cnvs-contrast-100);
    }

    .post-modern-content img {
        display: block;
        max-width: 100%;
        height: auto;
        margin: 2rem auto;
        border-radius: 18px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.14);
    }

    .post-modern-content iframe {
        max-width: 100%;
    }


/* ==========================================================
   Post Video
   ========================================================== */

.post-modern-video-section {
    margin-top: 3.5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(127, 127, 127, 0.16);
}

.post-modern-section-heading {
    margin-bottom: 1.5rem;
}

    .post-modern-section-heading span {
        display: block;
        margin-bottom: 0.4rem;
        color: var(--cnvs-themecolor);
        font-size: 0.9rem;
        font-weight: 700;
        letter-spacing: 0.09em;
        text-transform: uppercase;
    }

    .post-modern-section-heading h2 {
        margin-bottom: 0;
        font-size: clamp(2rem, 4vw, 3rem);
    }

.post-modern-video-section .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 20px;
    background: #000;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

    .post-modern-video-section .video-container iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }


/* ==========================================================
   Post Tags
   ========================================================== */

.post-modern-tags {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(127, 127, 127, 0.16);
}

.post-modern-tags-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    color: var(--cnvs-contrast-700);
    font-size: 1rem;
    font-weight: 700;
}

    .post-modern-tags-label i {
        color: var(--cnvs-themecolor);
    }

.post-modern-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.post-modern-tag {
    display: inline-flex;
    padding: 0.48rem 0.8rem;
    border: 1px solid rgba(127, 127, 127, 0.17);
    border-radius: 999px;
    color: var(--cnvs-contrast-700);
    background: var(--cnvs-contrast-100);
    font-size: 0.92rem;
}


/* ==========================================================
   Social Sharing
   ========================================================== */

.post-modern-share-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
    padding: 2rem;
    border: 1px solid rgba(127, 127, 127, 0.15);
    border-radius: 20px;
    background: var(--cnvs-contrast-0);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.07);
}

.post-modern-share-label {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--cnvs-themecolor);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.post-modern-share-card h3 {
    margin-bottom: 0;
    font-size: 1.45rem;
}

.post-modern-share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.post-modern-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff !important;
    font-size: 1.05rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .post-modern-share-button:hover,
    .post-modern-share-button:focus {
        color: #fff !important;
        transform: translateY(-3px);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
    }

.post-share-facebook {
    background: #1877f2;
}

.post-share-x {
    background: #111;
}

.post-share-whatsapp {
    background: #25d366;
}

.post-share-email {
    background: #687078;
}

.post-share-copy {
    background: var(--cnvs-themecolor);
}

.post-share-copied {
    background: #198754;
}


/* ==========================================================
   Author Card
   ========================================================== */

.post-modern-author-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 2rem;
    border: 1px solid rgba(127, 127, 127, 0.15);
    border-radius: 21px;
    background: var(--cnvs-contrast-0);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.07);
}

.post-modern-author-image {
    flex: 0 0 110px;
    width: 110px;
    height: 110px;
    overflow: hidden;
    border-radius: 50%;
    border: 4px solid rgba(var(--cnvs-themecolor-rgb), 0.18);
}

    .post-modern-author-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.post-modern-author-content > span {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--cnvs-themecolor);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-modern-author-content h3 {
    margin-bottom: 0.55rem;
    font-size: 1.7rem;
}

.post-modern-author-content p {
    margin-bottom: 0.6rem;
    color: var(--cnvs-contrast-600);
    font-size: 0.98rem !important;
    line-height: 1.65 !important;
}

.post-modern-author-content a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--cnvs-themecolor);
    font-weight: 700;
}


/* ==========================================================
   Previous and Next Navigation
   ========================================================== */

.post-modern-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.post-modern-navigation-column {
    min-width: 0;
}

.post-modern-navigation-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    height: 100%;
    min-height: 120px;
    padding: 1.4rem;
    border: 1px solid rgba(127, 127, 127, 0.15);
    border-radius: 18px;
    color: var(--cnvs-contrast-850);
    background: var(--cnvs-contrast-0);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

    .post-modern-navigation-link:hover {
        color: var(--cnvs-contrast-1000);
        transform: translateY(-3px);
        border-color: rgba(var(--cnvs-themecolor-rgb), 0.35);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
    }

    .post-modern-navigation-link > i {
        flex: 0 0 auto;
        color: var(--cnvs-themecolor);
        font-size: 2rem;
    }

    .post-modern-navigation-link span {
        min-width: 0;
    }

    .post-modern-navigation-link small {
        display: block;
        margin-bottom: 0.3rem;
        color: var(--cnvs-contrast-500);
        font-size: 0.78rem !important;
        text-transform: uppercase;
    }

    .post-modern-navigation-link strong {
        display: block;
        font-size: 1rem;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

.post-modern-navigation-next {
    justify-content: flex-end;
    text-align: right;
}

.post-modern-back-area {
    margin-top: 2rem;
    text-align: center;
}

.post-modern-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 50px;
    padding: 0.75rem 1.4rem;
    border: 2px solid var(--cnvs-themecolor);
    border-radius: 999px;
    color: var(--cnvs-themecolor);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
}

    .post-modern-back-link:hover {
        color: #fff;
        background: var(--cnvs-themecolor);
    }


/* ==========================================================
   Post Sidebar
   ========================================================== */

.post-modern-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.post-modern-sidebar-card {
    padding: 2rem;
    border: 1px solid rgba(127, 127, 127, 0.15);
    border-radius: 22px;
    background: var(--cnvs-contrast-0);
    box-shadow: 0 15px 42px rgba(0, 0, 0, 0.08);
}

.post-modern-sidebar-label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--cnvs-themecolor);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-modern-sidebar-card h3 {
    margin-bottom: 1.4rem;
    font-size: 1.8rem;
}

.post-modern-detail-list {
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
}

    .post-modern-detail-list li {
        display: grid;
        grid-template-columns: 25px 1fr auto;
        align-items: center;
        gap: 0.6rem;
        padding: 0.85rem 0;
        border-bottom: 1px solid rgba(127, 127, 127, 0.14);
    }

        .post-modern-detail-list li:last-child {
            border-bottom: 0;
        }

    .post-modern-detail-list i {
        color: var(--cnvs-themecolor);
        font-size: 1.15rem;
    }

    .post-modern-detail-list span {
        color: var(--cnvs-contrast-500);
    }

    .post-modern-detail-list strong {
        color: var(--cnvs-contrast-900);
        text-align: right;
    }

.post-modern-sidebar-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    color: #fff !important;
    background: var(--cnvs-themecolor);
    font-weight: 700;
    text-decoration: none;
}

    .post-modern-sidebar-button:hover {
        color: #fff !important;
        background: #b63815;
    }

.post-modern-sidebar-contact {
    text-align: center;
}

.post-modern-sidebar-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin-bottom: 1.2rem;
    border-radius: 20px;
    color: #fff;
    background: var(--cnvs-themecolor);
    font-size: 2rem;
}

.post-modern-sidebar-contact p {
    margin-bottom: 1.4rem;
    color: var(--cnvs-contrast-600);
    font-size: 0.98rem !important;
    line-height: 1.65 !important;
}


/* ==========================================================
   Post Responsive
   ========================================================== */

@media (max-width: 991.98px) {
    .post-modern-hero {
        min-height: 680px;
    }

    .post-modern-hero-content {
        padding: 7rem 0 9rem;
    }

    .post-modern-sidebar {
        position: relative;
        top: auto;
    }
}

@media (max-width: 767.98px) {
    .post-modern-hero {
        min-height: 650px;
    }

    .post-modern-hero-overlay {
        background: rgba(4, 6, 9, 0.81);
    }

    .post-modern-hero-content {
        padding: 6rem 0 8rem;
    }

    .post-modern-hero h1 {
        font-size: 3rem;
    }

    .post-modern-summary {
        font-size: 1.08rem !important;
    }

    .post-modern-main {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .post-modern-share-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .post-modern-navigation {
        grid-template-columns: 1fr;
    }

    .post-modern-navigation-next {
        text-align: left;
        justify-content: flex-start;
    }

        .post-modern-navigation-next span {
            order: 2;
        }

        .post-modern-navigation-next i {
            order: 1;
            transform: rotate(180deg);
        }
}

@media (max-width: 575.98px) {
    .post-modern-hero {
        min-height: 620px;
    }

        .post-modern-hero h1 {
            font-size: 2.55rem;
        }

    .post-modern-meta {
        align-items: stretch;
        flex-direction: column;
    }

    .post-modern-meta-item {
        width: 100%;
    }

    .post-modern-article,
    .post-modern-sidebar-card {
        padding: 1.5rem;
    }

    .post-modern-author-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .post-modern-author-image {
        width: 90px;
        height: 90px;
        flex-basis: 90px;
    }

    .post-modern-share-links {
        width: 100%;
    }
}
/* ==========================================================
   Homepage Featured Blog Post
   ========================================================== */

.home-featured-post {
    min-height: 760px;
}

    .home-featured-post .post-modern-hero-content {
        max-width: 980px;
    }

.home-featured-post-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.2rem;
}

.home-featured-post-secondary {
    margin: 0;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.75) !important;
    background: rgba(0, 0, 0, 0.18) !important;
}

    .home-featured-post-secondary:hover,
    .home-featured-post-secondary:focus {
        color: #111 !important;
        border-color: #fff !important;
        background: #fff !important;
    }

@media (max-width: 767.98px) {
    .home-featured-post {
        min-height: 700px;
    }

    .home-featured-post-actions {
        align-items: stretch;
        flex-direction: column;
    }

        .home-featured-post-actions .button {
            display: flex;
            justify-content: center;
            width: 100%;
        }
}

@media (max-width: 575.98px) {
    .home-featured-post {
        min-height: 680px;
    }
}

/* ==========================================================
   Homepage Full-Image About Section
   ========================================================== */

.home-about-fullscreen {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 900px;
    overflow: hidden;
    background: #111;
}

.home-about-fullscreen-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 8s ease, filter 1s ease;
}

.home-about-fullscreen:hover .home-about-fullscreen-image {
    transform: scale(1.035);
}

.home-about-fullscreen-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(4, 6, 9, 0.96) 0%, rgba(4, 6, 9, 0.84) 38%, rgba(4, 6, 9, 0.48) 65%, rgba(4, 6, 9, 0.18) 100% );
}

.home-about-fullscreen-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.home-about-fullscreen-content {
    max-width: 850px;
    padding: 9rem 0 11rem;
}

.home-about-fullscreen-eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--cnvs-themecolor);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.home-about-fullscreen h2 {
    max-width: 830px;
    margin-bottom: 1.6rem;
    color: #fff;
    font-size: clamp(3.2rem, 6vw, 6rem);
    line-height: 1.02;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.home-about-fullscreen-content > p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem !important;
    line-height: 1.78 !important;
}

.home-about-fullscreen-lead {
    color: rgba(255, 255, 255, 0.94) !important;
    font-size: 1.27rem !important;
    font-weight: 600;
}

.home-about-fullscreen-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.4rem;
}

.home-about-fullscreen-feature {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(9px);
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

    .home-about-fullscreen-feature:hover {
        transform: translateY(-4px);
        border-color: rgba(var(--cnvs-themecolor-rgb), 0.65);
        background: rgba(0, 0, 0, 0.42);
    }

    .home-about-fullscreen-feature > i {
        flex: 0 0 auto;
        color: var(--cnvs-themecolor);
        font-size: 1.8rem;
    }

    .home-about-fullscreen-feature strong,
    .home-about-fullscreen-feature span {
        display: block;
    }

    .home-about-fullscreen-feature strong {
        color: #fff;
        font-size: 1rem;
    }

    .home-about-fullscreen-feature span {
        margin-top: 0.12rem;
        color: rgba(255, 255, 255, 0.62);
        font-size: 0.82rem;
        line-height: 1.35;
    }

.home-about-fullscreen-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

.home-about-fullscreen-secondary {
    margin: 0;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.72) !important;
    background: rgba(0, 0, 0, 0.18) !important;
}

    .home-about-fullscreen-secondary:hover,
    .home-about-fullscreen-secondary:focus {
        color: #111 !important;
        border-color: #fff !important;
        background: #fff !important;
    }

.home-about-fullscreen-bottom {
    position: absolute;
    right: -10%;
    bottom: -180px;
    left: -10%;
    height: 260px;
    border-radius: 50% 50% 0 0;
    background: var(--cnvs-contrast-100);
}


/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 991.98px) {
    .home-about-fullscreen {
        min-height: 820px;
    }

    .home-about-fullscreen-content {
        padding: 8rem 0 10rem;
    }

    .home-about-fullscreen-features {
        grid-template-columns: 1fr;
        max-width: 620px;
    }
}

@media (max-width: 767.98px) {
    .home-about-fullscreen {
        min-height: 780px;
    }

    .home-about-fullscreen-overlay {
        background: rgba(4, 6, 9, 0.76);
    }

    .home-about-fullscreen-content {
        padding: 7rem 0 9rem;
    }

    .home-about-fullscreen h2 {
        font-size: 3.4rem;
    }

    .home-about-fullscreen-lead {
        font-size: 1.12rem !important;
    }

    .home-about-fullscreen-actions {
        align-items: stretch;
        flex-direction: column;
    }

        .home-about-fullscreen-actions .button {
            display: flex;
            justify-content: center;
            width: 100%;
        }
}

@media (max-width: 575.98px) {
    .home-about-fullscreen {
        min-height: 760px;
    }

    .home-about-fullscreen-image {
        object-position: 58% center;
    }

    .home-about-fullscreen-content {
        padding: 6rem 0 8.5rem;
    }

    .home-about-fullscreen h2 {
        font-size: 2.8rem;
    }

    .home-about-fullscreen-content > p {
        font-size: 1rem !important;
    }

    .home-about-fullscreen-feature {
        padding: 0.9rem;
    }
}

/* ==========================================================
   Homepage Fullscreen Courses Section
   ========================================================== */

.home-courses-fullscreen {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding: 3rem 0 11rem;
    background: #111;
}

.home-courses-fullscreen-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.03);
}

.home-courses-fullscreen-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, rgba(4, 6, 9, 0.94) 0%, rgba(4, 6, 9, 0.82) 35%, rgba(4, 6, 9, 0.88) 100% );
}

.home-courses-fullscreen-container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-right: clamp(1rem, 4vw, 4rem);
    padding-left: clamp(1rem, 4vw, 4rem);
}

.home-courses-fullscreen-header {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.home-courses-fullscreen-eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: var(--cnvs-themecolor);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-courses-fullscreen-header h2 {
    margin-bottom: 1.2rem;
    color: #fff;
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.05;
}

.home-courses-fullscreen-header p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.15rem !important;
    line-height: 1.72 !important;
}

.home-courses-fullscreen-grid {
    max-width: 1700px;
    margin-right: auto;
    margin-left: auto;
}

.home-course-fullscreen-card {
    position: relative;
    min-height: 680px;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 26px;
    background: #111;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

    .home-course-fullscreen-card:hover {
        transform: translateY(-10px);
        border-color: rgba(var(--cnvs-themecolor-rgb), 0.62);
        box-shadow: 0 34px 75px rgba(0, 0, 0, 0.42);
    }

.home-course-fullscreen-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, filter 0.7s ease;
}

.home-course-fullscreen-card:hover .home-course-fullscreen-card-image {
    transform: scale(1.06);
    filter: saturate(1.08);
}

.home-course-fullscreen-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.24) 38%, rgba(0, 0, 0, 0.92) 100% );
}

.home-course-fullscreen-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 680px;
    height: 100%;
    padding: 2rem;
}

.home-course-fullscreen-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.home-course-fullscreen-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    padding: 0.65rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

    .home-course-fullscreen-logo img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.home-course-fullscreen-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.home-course-fullscreen-featured,
.home-course-fullscreen-difficulty {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
}

.home-course-fullscreen-featured {
    color: #151515;
    background: #f5b400;
}

.home-course-fullscreen-difficulty {
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(7px);
}

.home-course-fullscreen-card-bottom {
    width: 100%;
}

.home-course-fullscreen-caption {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--cnvs-themecolor);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.home-course-fullscreen-card h3 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: clamp(1.4rem, 2.4vw, 2.2rem);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.home-course-fullscreen-card-bottom > p {
    margin-bottom: 1.4rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem !important;
    line-height: 1.65 !important;
}

.home-course-fullscreen-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    margin-bottom: 1.5rem;
}

    .home-course-fullscreen-details span {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        color: rgba(255, 255, 255, 0.78);
        font-size: 0.92rem;
    }

    .home-course-fullscreen-details i {
        color: var(--cnvs-themecolor);
    }

.home-course-fullscreen-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.2rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.home-course-fullscreen-price small {
    display: block;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.82rem;
}

.home-course-fullscreen-price div {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.home-course-fullscreen-price strong {
    color: #fff;
    font-size: 2rem;
    line-height: 1.05;
}

.home-course-fullscreen-price div span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 1rem;
    font-weight: 650;
}

.home-course-fullscreen-contact-price {
    color: #fff;
    font-size: 1rem !important;
}

.home-course-fullscreen-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
}

    .home-course-fullscreen-link i {
        color: var(--cnvs-themecolor);
        transition: transform 0.2s ease;
    }

    .home-course-fullscreen-link:hover {
        color: #fff;
    }

        .home-course-fullscreen-link:hover i {
            transform: translateX(5px);
        }

.home-courses-fullscreen-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 4rem;
}

.home-courses-fullscreen-secondary {
    margin: 0;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.72) !important;
    background: rgba(0, 0, 0, 0.2) !important;
}

    .home-courses-fullscreen-secondary:hover,
    .home-courses-fullscreen-secondary:focus {
        color: #111 !important;
        border-color: #fff !important;
        background: #fff !important;
    }

.home-courses-fullscreen-bottom {
    position: absolute;
    right: -10%;
    bottom: -180px;
    left: -10%;
    height: 260px;
    border-radius: 50% 50% 0 0;
    background: var(--cnvs-contrast-100);
}


/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 1199.98px) {
    .home-course-fullscreen-card {
        min-height: 620px;
    }

    .home-course-fullscreen-card-content {
        min-height: 620px;
    }
}

@media (max-width: 991.98px) {
    .home-courses-fullscreen {
        padding-top: 7rem;
        padding-bottom: 10rem;
    }

    .home-course-fullscreen-card {
        min-height: 610px;
    }

    .home-course-fullscreen-card-content {
        min-height: 610px;
    }
}

@media (max-width: 767.98px) {
    .home-courses-fullscreen {
        padding-top: 6rem;
        padding-bottom: 9rem;
    }

    .home-courses-fullscreen-header h2 {
        font-size: 3.1rem;
    }

    .home-courses-fullscreen-header p {
        font-size: 1.05rem !important;
    }

    .home-course-fullscreen-card {
        min-height: 580px;
    }

    .home-course-fullscreen-card-content {
        min-height: 580px;
    }

    .home-courses-fullscreen-actions {
        align-items: stretch;
        flex-direction: column;
    }

        .home-courses-fullscreen-actions .button {
            display: flex;
            justify-content: center;
            width: 100%;
        }
}

@media (max-width: 575.98px) {
    .home-courses-fullscreen {
        padding-top: 5rem;
        padding-bottom: 8.5rem;
    }

    .home-courses-fullscreen-header h2 {
        font-size: 2.65rem;
    }

    .home-course-fullscreen-card {
        min-height: 550px;
    }

    .home-course-fullscreen-card-content {
        min-height: 550px;
        padding: 1.5rem;
    }

    .home-course-fullscreen-card h3 {
        font-size: 2rem;
    }

    .home-course-fullscreen-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-course-fullscreen-link {
        justify-content: space-between;
        width: 100%;
    }
}
/* ==========================================================
   Testimonials Section
   ========================================================== */

.home-testimonials-section {
    position: relative;
    min-height: 760px;
    margin: 0;
    padding: 3rem 0 10rem;
    overflow: hidden;
    background: #111;
    isolation: isolate;
}

.home-testimonials-background {
    position: absolute !important;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

.home-testimonials-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient( 180deg, rgba(4, 6, 9, 0.64) 0%, rgba(4, 6, 9, 0.72) 55%, rgba(4, 6, 9, 0.92) 100% );
}

.home-testimonials-container {
    position: relative;
    z-index: 2;
}

.home-testimonials-section h2 {
    color: #fff;
}


/* ==========================================================
   Universal Bottom Divider
   ========================================================== */

.section-divider-bottom {
    position: absolute;
    right: -7%;
    bottom: -1px;
    left: -7%;
    z-index: 4;
    height: 85px;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: var(--cnvs-contrast-100);
    pointer-events: none;
}


/* ==========================================================
   Featured Blog After Testimonials
   ========================================================== */

.home-featured-post-after-testimonials {
    position: relative;
    z-index: 1;
    margin: 0;
}

.home-featured-post {
    overflow: hidden;
}


/* ==========================================================
   Testimonial Card
   ========================================================== */

.home-testimonial-card {
    position: relative;
    min-height: 340px;
    padding: 2rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    background: rgba(24, 28, 32, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

.home-testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.4rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.home-testimonial-avatar {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    object-fit: cover;
}

.home-testimonial-header h3 {
    margin-bottom: 0.2rem;
    color: #fff;
    font-size: 1.25rem;
}

.home-testimonial-header span {
    color: rgba(255, 255, 255, 0.65);
}

.home-testimonial-message {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.05rem;
    line-height: 1.75;
}

.home-testimonial-quote {
    position: absolute;
    right: 1.2rem;
    bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.06);
    font-size: 6rem;
}

.home-testimonials-action {
    position: relative;
    z-index: 6;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}


/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 767.98px) {
    .home-testimonials-section {
        min-height: 650px;
        padding: 5rem 0 8rem;
    }

    .section-divider-bottom {
        right: -14%;
        left: -14%;
        height: 55px;
    }

    .home-testimonial-card {
        min-height: 300px;
        padding: 1.5rem;
    }
}

/* ==========================================================
   Modern Administration Dashboard
   ========================================================== */
.admin-dashboard {
    --admin-panel-bg: rgba(8, 28, 55, 0.94);
    --admin-panel-soft: rgba(255, 255, 255, 0.055);
    --admin-border: rgba(255, 255, 255, 0.12);
    --admin-text: rgba(255, 255, 255, 0.96);
    --admin-muted: rgba(255, 255, 255, 0.66);
    color: var(--admin-text);
}

    .admin-dashboard .page-content {
        padding-bottom: 4rem;
    }

    .admin-dashboard a {
        text-decoration: none;
    }

.admin-dashboard-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    padding: clamp(1.75rem, 4vw, 3rem);
    border: 1px solid var(--admin-border);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(13,110,253,.25), rgba(111,66,193,.22), rgba(8,28,55,.96));
    box-shadow: 0 20px 50px rgba(0,0,0,.26);
}

    .admin-dashboard-hero::after {
        content: "";
        position: absolute;
        top: -150px;
        right: -100px;
        width: 380px;
        height: 380px;
        border-radius: 50%;
        background: rgba(255,255,255,.05);
    }

.admin-dashboard-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.admin-dashboard-eyebrow,
.admin-panel-eyebrow {
    display: block;
    margin-bottom: .35rem;
    color: #72a8ff;
    font-size: .78rem !important;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.admin-dashboard-hero h1 {
    margin-bottom: .55rem;
    color: #fff !important;
    font-size: clamp(2rem,4vw,3.4rem) !important;
}

.admin-dashboard-hero p {
    max-width: 700px;
    margin-bottom: 0;
    color: var(--admin-muted) !important;
}

.admin-dashboard-hero-meta {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    min-width: 260px;
    padding: 1.25rem;
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    background: rgba(0,0,0,.17);
    backdrop-filter: blur(8px);
}

    .admin-dashboard-hero-meta span,
    .admin-dashboard-hero-meta strong {
        display: block;
    }

    .admin-dashboard-hero-meta span {
        color: var(--admin-muted);
        font-size: .78rem !important;
    }

    .admin-dashboard-hero-meta strong {
        color: #fff;
        font-size: .96rem;
    }

.admin-alert-grid,
.admin-stat-grid,
.admin-moderation-grid,
.admin-quick-action-grid {
    display: grid;
    gap: 1rem;
}

.admin-alert-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    margin-bottom: 1.5rem;
}

.admin-stat-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
    margin-bottom: 1.5rem;
}

.admin-moderation-grid,
.admin-quick-action-grid {
    grid-template-columns: repeat(6,minmax(0,1fr));
}

.admin-alert-card,
.admin-stat-card,
.admin-moderation-card,
.admin-quick-action {
    border: 1px solid var(--admin-border);
    color: #fff !important;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

    .admin-alert-card:hover,
    .admin-stat-card:hover,
    .admin-moderation-card:hover,
    .admin-quick-action:hover {
        transform: translateY(-4px);
        color: #fff !important;
    }

.admin-alert-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-radius: 16px;
}

.admin-alert-warning {
    background: rgba(255,193,7,.16);
}

.admin-alert-info {
    background: rgba(13,202,240,.14);
}

.admin-alert-danger {
    background: rgba(220,53,69,.17);
}

.admin-alert-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255,255,255,.11);
    font-size: 1.5rem;
}

.admin-alert-card strong,
.admin-alert-card span {
    display: block;
}

.admin-alert-card span {
    color: var(--admin-muted);
    font-size: .82rem !important;
}

.admin-alert-arrow {
    margin-left: auto;
    font-size: 1.5rem;
}

.admin-stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 130px;
    padding: 1.3rem;
    border-radius: 18px;
    background: var(--admin-panel-bg);
    box-shadow: 0 12px 35px rgba(0,0,0,.2);
}

.admin-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 17px;
    color: #fff;
    font-size: 1.8rem;
}

.admin-stat-icon-primary {
    background: rgba(13,110,253,.85);
}

.admin-stat-icon-info {
    background: rgba(13,202,240,.78);
}

.admin-stat-icon-success {
    background: rgba(25,135,84,.88);
}

.admin-stat-icon-warning {
    background: rgba(255,193,7,.88);
    color: #17202a;
}

.admin-stat-icon-purple {
    background: rgba(111,66,193,.88);
}

.admin-stat-icon-danger {
    background: rgba(220,53,69,.85);
}

.admin-stat-icon-teal {
    background: rgba(32,201,151,.8);
}

.admin-stat-icon-dark {
    background: rgba(108,117,125,.88);
}

.admin-stat-content span,
.admin-stat-content strong,
.admin-stat-content small {
    display: block;
}

.admin-stat-content span {
    color: var(--admin-muted);
    font-size: .85rem !important;
}

.admin-stat-content strong {
    margin: .12rem 0;
    color: #fff;
    font-size: 2rem;
    line-height: 1.15;
}

.admin-stat-content small {
    color: var(--admin-muted);
    line-height: 1.35;
}

.admin-panel {
    overflow: hidden;
    padding: 1.5rem;
    border: 1px solid var(--admin-border);
    border-radius: 20px;
    background: var(--admin-panel-bg);
    box-shadow: 0 14px 40px rgba(0,0,0,.22);
}

.admin-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid var(--admin-border);
}

    .admin-panel-header h2 {
        margin-bottom: 0;
        color: #fff !important;
        font-size: 1.45rem !important;
    }

.admin-panel-link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    flex: 0 0 auto;
    color: #72a8ff !important;
    font-size: .88rem !important;
    font-weight: 700;
}

    .admin-panel-link:hover {
        color: #fff !important;
    }

.admin-chart-container {
    position: relative;
    height: 340px;
}

.admin-chart-container-small {
    height: 310px;
}

.admin-chart-summary {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: .75rem;
    margin-top: 1.2rem;
}

    .admin-chart-summary > div {
        padding: .9rem;
        border: 1px solid var(--admin-border);
        border-radius: 13px;
        background: var(--admin-panel-soft);
    }

    .admin-chart-summary span,
    .admin-chart-summary strong {
        display: block;
    }

    .admin-chart-summary span {
        color: var(--admin-muted);
        font-size: .75rem !important;
    }

    .admin-chart-summary strong {
        color: #fff;
        font-size: 1.3rem;
    }

.admin-performance-list,
.admin-comment-list,
.admin-activity-feed,
.admin-user-list,
.admin-message-list,
.admin-blog-list {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.admin-performance-item,
.admin-comment-item,
.admin-activity-item,
.admin-user-item,
.admin-message-item,
.admin-blog-item {
    border: 1px solid var(--admin-border);
    border-radius: 15px;
    background: var(--admin-panel-soft);
}

.admin-performance-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.admin-performance-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    color: #72a8ff;
    background: rgba(13,110,253,.13);
    font-size: 1.35rem;
}

.admin-performance-item span,
.admin-performance-item strong {
    display: block;
}

.admin-performance-item span {
    color: var(--admin-muted);
    font-size: .82rem !important;
}

.admin-performance-item strong {
    color: #fff;
    font-size: 1.2rem;
}

.admin-full-width-link,
.admin-create-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 1.25rem;
    padding: .85rem 1rem;
    border-radius: 13px;
    color: #fff !important;
    background: rgba(13,110,253,.85);
    font-weight: 700;
}

.admin-avatar {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.admin-comment-item,
.admin-activity-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
}

.admin-comment-content,
.admin-activity-content,
.admin-message-content,
.admin-user-details {
    flex: 1;
    min-width: 0;
}

.admin-comment-heading,
.admin-message-heading,
.admin-activity-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

    .admin-comment-heading h3,
    .admin-message-heading h3,
    .admin-user-details h3,
    .admin-blog-item h3 {
        margin-bottom: .15rem;
        color: #fff !important;
        font-size: 1rem !important;
    }

    .admin-comment-heading span,
    .admin-message-heading span,
    .admin-comment-content small,
    .admin-activity-heading span {
        color: var(--admin-muted);
        font-size: .78rem !important;
    }

.admin-comment-content p,
.admin-activity-content p {
    margin: .45rem 0;
    color: rgba(255,255,255,.82) !important;
}

.admin-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    padding: .35rem .55rem;
    border-radius: 999px;
    color: #171717;
    background: #f5b400;
    font-size: .8rem;
    font-weight: 700;
}

.admin-activity-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
}

    .admin-activity-status.is-success {
        background: rgba(25,135,84,.85);
    }

    .admin-activity-status.is-failed {
        background: rgba(220,53,69,.88);
    }

.admin-activity-content small {
    color: var(--admin-muted);
}

.admin-report-table {
    margin-bottom: 0;
    color: #fff;
}

    .admin-report-table th {
        color: var(--admin-muted) !important;
        border-color: var(--admin-border);
        font-size: .78rem !important;
        text-transform: uppercase;
    }

    .admin-report-table td {
        color: rgba(255,255,255,.84) !important;
        border-color: var(--admin-border);
    }

.admin-page-url {
    max-width: 460px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-table-count {
    display: inline-flex;
    min-width: 44px;
    justify-content: center;
    padding: .3rem .55rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(13,110,253,.65);
    font-weight: 700;
}

.admin-user-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .9rem;
}

.admin-user-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

    .admin-user-metrics span {
        color: var(--admin-muted);
        font-size: .78rem !important;
    }

.admin-user-last-seen {
    text-align: right;
}

    .admin-user-last-seen span,
    .admin-user-last-seen strong {
        display: block;
    }

    .admin-user-last-seen span {
        color: var(--admin-muted);
        font-size: .72rem !important;
    }

    .admin-user-last-seen strong {
        color: #fff;
        font-size: .82rem;
    }

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

.admin-security-card {
    padding: 1.25rem;
    border: 1px solid var(--admin-border);
    border-radius: 16px;
}

    .admin-security-card i,
    .admin-security-card span,
    .admin-security-card strong,
    .admin-security-card small {
        display: block;
    }

    .admin-security-card i {
        margin-bottom: 1rem;
        font-size: 2rem;
    }

    .admin-security-card span {
        color: var(--admin-muted);
        font-size: .8rem !important;
    }

    .admin-security-card strong {
        margin: .2rem 0;
        color: #fff;
        font-size: 2.2rem;
    }

    .admin-security-card small {
        color: var(--admin-muted);
    }

.admin-security-success {
    background: rgba(25,135,84,.14);
}

    .admin-security-success i {
        color: #4cd787;
    }

.admin-security-danger {
    background: rgba(220,53,69,.14);
}

    .admin-security-danger i {
        color: #ff6b79;
    }

.admin-message-item,
.admin-blog-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: #fff !important;
}

    .admin-message-item:hover,
    .admin-blog-item:hover {
        background: rgba(255,255,255,.09);
        color: #fff !important;
    }

.admin-message-content > strong {
    display: block;
    color: #fff;
}

.admin-message-content p {
    margin: .35rem 0 0;
    color: var(--admin-muted) !important;
}

.admin-message-status {
    flex: 0 0 auto;
    padding: .3rem .55rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
}

    .admin-message-status.is-seen {
        color: #79e4a5;
        background: rgba(25,135,84,.18);
    }

    .admin-message-status.is-unread {
        color: #ff8793;
        background: rgba(220,53,69,.18);
    }

.admin-blog-item > img {
    flex: 0 0 100px;
    width: 100px;
    height: 78px;
    border-radius: 12px;
    object-fit: cover;
}

.admin-blog-item span {
    color: var(--admin-muted);
    font-size: .76rem !important;
}

.admin-blog-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    margin-top: .55rem;
}

.admin-moderation-card,
.admin-quick-action {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 135px;
    padding: 1rem;
    border-radius: 16px;
    background: var(--admin-panel-soft);
    text-align: center;
}

    .admin-moderation-card i,
    .admin-quick-action i {
        margin-bottom: .65rem;
        color: #72a8ff;
        font-size: 2rem;
    }

    .admin-moderation-card span {
        color: var(--admin-muted);
        font-size: .8rem !important;
    }

    .admin-moderation-card strong {
        color: #fff;
        font-size: 1.8rem;
    }

    .admin-quick-action span {
        font-weight: 700;
    }

.admin-empty-state {
    padding: 3rem 1.5rem;
    text-align: center;
}

    .admin-empty-state > i {
        display: block;
        margin-bottom: .75rem;
        color: #72a8ff;
        font-size: 3rem;
    }

    .admin-empty-state h3 {
        margin-bottom: .35rem;
        color: #fff !important;
    }

    .admin-empty-state p {
        margin-bottom: 0;
        color: var(--admin-muted) !important;
    }

@media (max-width: 1399.98px) {
    .admin-stat-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

    .admin-moderation-grid,
    .admin-quick-action-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
}

@media (max-width: 991.98px) {
    .admin-dashboard-hero-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-dashboard-hero-meta {
        width: 100%;
        min-width: 0;
    }

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

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

@media (max-width: 767.98px) {
    .admin-alert-grid,
    .admin-stat-grid,
    .admin-security-grid {
        grid-template-columns: 1fr;
    }

    .admin-moderation-grid,
    .admin-quick-action-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .admin-panel-header {
        flex-direction: column;
    }

    .admin-user-last-seen {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .admin-dashboard-hero,
    .admin-panel {
        padding: 1.2rem;
        border-radius: 16px;
    }

    .admin-stat-grid,
    .admin-moderation-grid,
    .admin-quick-action-grid {
        grid-template-columns: 1fr;
    }

    .admin-chart-summary {
        grid-template-columns: 1fr;
    }

    .admin-chart-container {
        height: 300px;
    }

    .admin-comment-item,
    .admin-blog-item {
        align-items: flex-start;
        flex-direction: column;
    }

        .admin-blog-item > img {
            width: 100%;
            height: 180px;
            flex-basis: auto;
        }
}
/* ==========================================================
   Admin Blog Comment Moderation
   ========================================================== */

.admin-moderation-card.is-active {
    border-color: rgba(114, 168, 255, 0.8);
    background: rgba(13, 110, 253, 0.2);
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.12);
}

.admin-comment-review-text {
    padding: 1.2rem;
    border: 1px solid var(--admin-border);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.18);
    font-size: 1rem;
    line-height: 1.7;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.admin-comment-stars {
    display: flex;
    gap: 0.2rem;
    color: #f5b400;
    font-size: 1.2rem;
}

.admin-comment-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.admin-comment-modal {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(8, 28, 55, 0.98);
}

    .admin-comment-modal .modal-header,
    .admin-comment-modal .modal-footer {
        border-color: rgba(255, 255, 255, 0.12);
    }

    .admin-comment-modal .modal-title {
        color: #fff;
    }

    .admin-comment-modal .form-control {
        color: #fff;
        border-color: rgba(255, 255, 255, 0.18);
        background: rgba(255, 255, 255, 0.07);
    }

        .admin-comment-modal .form-control:focus {
            color: #fff;
            border-color: #72a8ff;
            background: rgba(255, 255, 255, 0.1);
            box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.18);
        }

        .admin-comment-modal .form-control::placeholder {
            color: rgba(255, 255, 255, 0.45);
        }

@media (max-width: 575.98px) {
    .admin-comment-actions {
        align-items: stretch;
        flex-direction: column;
    }

        .admin-comment-actions form,
        .admin-comment-actions .btn {
            width: 100%;
        }
}
/* ==========================================================
   Modern Blog Listing Page
   ========================================================== */

.blog-modern-page .content-wrap {
    padding: 0;
}


/* ==========================================================
   Blog Hero
   ========================================================== */

.blog-modern-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 720px;
    overflow: hidden;
    background: #111;
}

.blog-modern-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-modern-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(4, 6, 9, 0.96) 0%, rgba(4, 6, 9, 0.8) 46%, rgba(4, 6, 9, 0.3) 100% );
}

.blog-modern-hero-container {
    position: relative;
    z-index: 2;
}

.blog-modern-hero-content {
    max-width: 850px;
    padding: 8rem 0 10rem;
}

.blog-modern-eyebrow {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--cnvs-themecolor);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.blog-modern-hero h1 {
    max-width: 900px;
    margin-bottom: 1.4rem;
    color: #fff;
    font-size: clamp(3.4rem, 6vw, 6rem);
    line-height: 1.03;
}

.blog-modern-hero-content > p {
    max-width: 720px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.25rem !important;
    line-height: 1.75 !important;
}

.blog-modern-hero-actions,
.blog-modern-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.3rem;
}

.blog-modern-secondary-button {
    margin: 0;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.72) !important;
    background: rgba(0, 0, 0, 0.18) !important;
}

    .blog-modern-secondary-button:hover,
    .blog-modern-secondary-button:focus {
        color: #111 !important;
        border-color: #fff !important;
        background: #fff !important;
    }


/* ==========================================================
   Featured Article
   ========================================================== */

.blog-modern-featured-section {
    padding: 2rem 0 4rem;
    background: var(--cnvs-contrast-100);
}

.blog-modern-featured-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(127, 127, 127, 0.15);
    border-radius: 28px;
    background: var(--cnvs-contrast-0);
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.14);
}

.blog-modern-featured-image {
    position: relative;
    display: block;
    min-height: 590px;
    overflow: hidden;
}

    .blog-modern-featured-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.7s ease;
    }

.blog-modern-featured-card:hover
.blog-modern-featured-image img {
    transform: scale(1.045);
}

.blog-modern-featured-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    color: #151515;
    background: #f5b400;
    font-size: 0.9rem;
    font-weight: 700;
}

.blog-modern-featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4rem);
}

.blog-modern-category {
    display: block;
    margin-bottom: 0.7rem;
    color: var(--cnvs-themecolor);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.blog-modern-featured-content h2 {
    margin-bottom: 1.2rem;
    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 1.08;
}

    .blog-modern-featured-content h2 a {
        color: var(--cnvs-contrast-950);
        text-decoration: none;
    }

        .blog-modern-featured-content h2 a:hover {
            color: var(--cnvs-themecolor);
        }

.blog-modern-featured-summary {
    margin-bottom: 1.5rem;
    color: var(--cnvs-contrast-650);
    font-size: 1.08rem !important;
    line-height: 1.75 !important;
}

.blog-modern-featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.2rem;
    margin-bottom: 2rem;
}

    .blog-modern-featured-meta span {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        color: var(--cnvs-contrast-550);
        font-size: 0.9rem;
    }

    .blog-modern-featured-meta i {
        color: var(--cnvs-themecolor);
    }

.blog-modern-read-button,
.blog-modern-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 52px;
    padding: 0.8rem 1.1rem;
    border-radius: 13px;
    color: #fff !important;
    background: var(--cnvs-themecolor);
    font-weight: 700;
    text-decoration: none;
}

.blog-modern-read-button {
    align-self: flex-start;
    min-width: 230px;
}

    .blog-modern-read-button:hover,
    .blog-modern-card-link:hover {
        color: #fff !important;
        background: #b63815;
    }

    .blog-modern-read-button i,
    .blog-modern-card-link i {
        transition: transform 0.2s ease;
    }

    .blog-modern-read-button:hover i,
    .blog-modern-card-link:hover i {
        transform: translateX(5px);
    }


/* ==========================================================
   Articles Section
   ========================================================== */

.blog-modern-articles {
    padding: 5rem 0 7rem;
    background: var(--cnvs-contrast-100);
}

.blog-modern-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

    .blog-modern-section-header h2 {
        margin-bottom: 0;
        font-size: clamp(2.6rem, 5vw, 4.5rem);
        line-height: 1.08;
    }

.blog-modern-article-count {
    flex: 0 0 auto;
    min-width: 170px;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(127, 127, 127, 0.15);
    border-radius: 16px;
    background: var(--cnvs-contrast-0);
    text-align: center;
}

    .blog-modern-article-count strong,
    .blog-modern-article-count span {
        display: block;
    }

    .blog-modern-article-count strong {
        color: var(--cnvs-themecolor);
        font-size: 2rem;
    }

    .blog-modern-article-count span {
        color: var(--cnvs-contrast-500);
        font-size: 0.82rem;
    }


/* ==========================================================
   Article Cards
   ========================================================== */

.blog-modern-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(127, 127, 127, 0.15);
    border-radius: 22px;
    background: var(--cnvs-contrast-0);
    box-shadow: 0 15px 42px rgba(0, 0, 0, 0.09);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    .blog-modern-card:hover {
        transform: translateY(-8px);
        border-color: rgba(var(--cnvs-themecolor-rgb), 0.38);
        box-shadow: 0 25px 58px rgba(0, 0, 0, 0.16);
    }

.blog-modern-card-image {
    position: relative;
    display: block;
    height: 310px;
    overflow: hidden;
}

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

.blog-modern-card:hover
.blog-modern-card-image img {
    transform: scale(1.06);
}

.blog-modern-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, transparent 55%, rgba(0, 0, 0, 0.35) 100% );
}

.blog-modern-card-featured {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    color: #151515;
    background: #f5b400;
    font-size: 0.8rem;
    font-weight: 700;
}

.blog-modern-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.6rem;
}

.blog-modern-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
    margin-bottom: 0.9rem;
}

    .blog-modern-card-meta span {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        color: var(--cnvs-contrast-500);
        font-size: 0.82rem;
    }

    .blog-modern-card-meta i {
        color: var(--cnvs-themecolor);
    }

.blog-modern-card h3 {
    margin-bottom: 0.9rem;
    font-size: clamp(1.55rem, 2.5vw, 2rem);
    line-height: 1.2;
}

    .blog-modern-card h3 a {
        color: var(--cnvs-contrast-900);
        text-decoration: none;
    }

        .blog-modern-card h3 a:hover {
            color: var(--cnvs-themecolor);
        }

.blog-modern-card-body > p {
    flex: 1;
    margin-bottom: 1.4rem;
    color: var(--cnvs-contrast-600);
    font-size: 0.98rem !important;
    line-height: 1.68 !important;
}

.blog-modern-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(127, 127, 127, 0.14);
}

.blog-modern-author {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.blog-modern-author-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: #fff;
    background: var(--cnvs-themecolor);
}

.blog-modern-author small,
.blog-modern-author strong {
    display: block;
}

.blog-modern-author small {
    color: var(--cnvs-contrast-500);
    font-size: 0.72rem;
}

.blog-modern-author strong {
    color: var(--cnvs-contrast-850);
    font-size: 0.88rem;
}

.blog-modern-card-stats {
    display: flex;
    gap: 0.7rem;
}

    .blog-modern-card-stats span {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        color: var(--cnvs-contrast-500);
        font-size: 0.8rem;
    }

    .blog-modern-card-stats i {
        color: var(--cnvs-themecolor);
    }

.blog-modern-card-link {
    width: 100%;
}


/* ==========================================================
   Empty State
   ========================================================== */

.blog-modern-empty {
    padding: 5rem 2rem;
    border: 1px dashed rgba(127, 127, 127, 0.25);
    border-radius: 22px;
    background: var(--cnvs-contrast-0);
    text-align: center;
}

    .blog-modern-empty > i {
        display: block;
        margin-bottom: 1rem;
        color: var(--cnvs-themecolor);
        font-size: 4rem;
    }

    .blog-modern-empty h3 {
        margin-bottom: 0.5rem;
    }

    .blog-modern-empty p {
        margin-bottom: 0;
        color: var(--cnvs-contrast-500);
    }


/* ==========================================================
   Blog Call to Action
   ========================================================== */

.blog-modern-cta {
    padding: 6rem 0;
    background: linear-gradient( 135deg, rgba(4, 6, 9, 0.96), rgba(22, 27, 33, 0.96) );
}

.blog-modern-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

    .blog-modern-cta-inner > div:first-child {
        max-width: 760px;
    }

.blog-modern-cta h2 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.1;
}

.blog-modern-cta p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.08rem !important;
    line-height: 1.7 !important;
}


/* ==========================================================
   Blog Responsive
   ========================================================== */

@media (max-width: 1199.98px) {
    .blog-modern-featured-card {
        grid-template-columns: 1fr 1fr;
    }

    .blog-modern-featured-image {
        min-height: 520px;
    }
}

@media (max-width: 991.98px) {
    .blog-modern-hero {
        min-height: 650px;
    }

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

    .blog-modern-featured-image {
        min-height: 450px;
    }

    .blog-modern-section-header,
    .blog-modern-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .blog-modern-hero {
        min-height: 620px;
    }

    .blog-modern-hero-overlay {
        background: rgba(4, 6, 9, 0.78);
    }

    .blog-modern-hero-content {
        padding: 6rem 0 8rem;
    }

    .blog-modern-hero h1 {
        font-size: 3.5rem;
    }

    .blog-modern-hero-actions,
    .blog-modern-cta-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

        .blog-modern-hero-actions .button,
        .blog-modern-cta-actions .button {
            display: flex;
            justify-content: center;
            width: 100%;
        }

    .blog-modern-featured-section {
        padding-top: 5rem;
    }

    .blog-modern-featured-image {
        min-height: 380px;
    }

    .blog-modern-article-count {
        width: 100%;
    }

    .blog-modern-card-image {
        height: 280px;
    }
}

@media (max-width: 575.98px) {
    .blog-modern-hero h1 {
        font-size: 2.85rem;
    }

    .blog-modern-hero-content > p {
        font-size: 1.08rem !important;
    }

    .blog-modern-featured-content {
        padding: 1.5rem;
    }

        .blog-modern-featured-content h2 {
            font-size: 2.25rem;
        }

    .blog-modern-featured-image {
        min-height: 320px;
    }

    .blog-modern-articles {
        padding-top: 4rem;
        padding-bottom: 5rem;
    }

    .blog-modern-section-header h2 {
        font-size: 2.7rem;
    }

    .blog-modern-card-image {
        height: 250px;
    }

    .blog-modern-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .blog-modern-card-stats {
        width: 100%;
    }

    .blog-modern-cta {
        padding: 4.5rem 0;
    }
}

/* ==========================================================
   Modern User Profile
   ========================================================== */

.profile-modern-page .content-wrap {
    padding: 0;
}

.profile-modern-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 560px;
    overflow: hidden;
    background: #111;
}

.profile-modern-hero-background {
    position: absolute;
    inset: 0;
    background: url("/images/SiteSettings/Climbing.png") center center / cover no-repeat;
}

.profile-modern-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(4, 6, 9, 0.96) 0%, rgba(4, 6, 9, 0.78) 55%, rgba(4, 6, 9, 0.38) 100% );
}

.profile-modern-hero-container {
    position: relative;
    z-index: 2;
    padding-top: 7rem;
    padding-bottom: 9rem;
}

.profile-modern-identity {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 950px;
}

.profile-modern-avatar-wrapper {
    position: relative;
    flex: 0 0 auto;
}

.profile-modern-avatar {
    width: 170px;
    height: 170px;
    border: 5px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.42);
}

.profile-modern-online-indicator {
    position: absolute;
    right: 10px;
    bottom: 15px;
    width: 28px;
    height: 28px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #25c870;
}

.profile-modern-eyebrow {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--cnvs-themecolor);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.profile-modern-identity-content h1 {
    margin-bottom: 0.8rem;
    color: #fff;
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 1.05;
}

.profile-modern-identity-content > p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.15rem !important;
    line-height: 1.7 !important;
}

.profile-modern-identity-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.4rem;
    margin-top: 1.3rem;
}

    .profile-modern-identity-meta span {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        color: rgba(255, 255, 255, 0.84);
    }

    .profile-modern-identity-meta i {
        color: var(--cnvs-themecolor);
    }

.profile-modern-main {
    padding: 5rem 0 7rem;
    background: var(--cnvs-contrast-100);
}

.profile-modern-alert {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
    border: 0;
    border-radius: 15px;
}


/* ==========================================================
   Profile Statistics
   ========================================================== */

.profile-modern-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.profile-modern-stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 115px;
    padding: 1.25rem;
    border: 1px solid rgba(127, 127, 127, 0.15);
    border-radius: 18px;
    background: var(--cnvs-contrast-0);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
}

    .profile-modern-stat-card > i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 54px;
        width: 54px;
        height: 54px;
        border-radius: 15px;
        color: #fff;
        background: var(--cnvs-themecolor);
        font-size: 1.6rem;
    }

    .profile-modern-stat-card span,
    .profile-modern-stat-card strong {
        display: block;
    }

    .profile-modern-stat-card span {
        color: var(--cnvs-contrast-500);
        font-size: 0.82rem;
    }

    .profile-modern-stat-card strong {
        color: var(--cnvs-contrast-900);
        font-size: 1.7rem;
    }


/* ==========================================================
   Shared Profile Cards
   ========================================================== */

.profile-modern-card {
    height: 100%;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid rgba(127, 127, 127, 0.15);
    border-radius: 22px;
    background: var(--cnvs-contrast-0);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.1);
}

.profile-modern-card-header,
.profile-modern-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.3rem;
    border-bottom: 1px solid rgba(127, 127, 127, 0.15);
}

    .profile-modern-card-header h2,
    .profile-modern-section-header h2 {
        margin-bottom: 0;
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .profile-modern-card-header > i {
        color: var(--cnvs-themecolor);
        font-size: 2.4rem;
    }


/* ==========================================================
   Profile Sidebar
   ========================================================== */

.profile-modern-summary-card {
    text-align: center;
}

.profile-modern-sidebar-avatar {
    width: 130px;
    height: 130px;
    margin-bottom: 1.2rem;
    border: 4px solid rgba(var(--cnvs-themecolor-rgb), 0.2);
    border-radius: 50%;
    object-fit: cover;
}

.profile-modern-summary-card h2 {
    margin-bottom: 0.25rem;
    font-size: 2rem;
}

.profile-modern-summary-card > p {
    color: var(--cnvs-contrast-500);
    overflow-wrap: anywhere;
}

.profile-modern-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    color: var(--cnvs-themecolor);
    background: rgba(var(--cnvs-themecolor-rgb), 0.1);
    font-weight: 700;
}

.profile-modern-summary-list {
    margin-bottom: 1.5rem;
    text-align: left;
}

    .profile-modern-summary-list > div {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.85rem 0;
        border-bottom: 1px solid rgba(127, 127, 127, 0.13);
    }

    .profile-modern-summary-list span {
        color: var(--cnvs-contrast-500);
    }

    .profile-modern-summary-list strong {
        color: var(--cnvs-contrast-850);
        text-align: right;
    }

.profile-modern-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profile-modern-outline-button,
.profile-modern-logout-button,
.profile-modern-cancel-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 48px;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(127, 127, 127, 0.25);
    border-radius: 12px;
    color: var(--cnvs-contrast-850);
    background: transparent;
    font-weight: 700;
    text-decoration: none;
}

    .profile-modern-outline-button:hover,
    .profile-modern-cancel-button:hover {
        color: #fff;
        border-color: var(--cnvs-themecolor);
        background: var(--cnvs-themecolor);
    }

.profile-modern-logout-button {
    color: #d9363e;
    border-color: rgba(217, 54, 62, 0.3);
}

    .profile-modern-logout-button:hover {
        color: #fff;
        border-color: #d9363e;
        background: #d9363e;
    }


/* ==========================================================
   Profile Form
   ========================================================== */

.profile-modern-form .form-label {
    color: var(--cnvs-contrast-800);
    font-weight: 700;
}

.profile-modern-form .form-control {
    min-height: 52px;
    border-color: rgba(127, 127, 127, 0.23);
    border-radius: 12px;
    background: var(--cnvs-contrast-100);
}

    .profile-modern-form .form-control:focus {
        border-color: var(--cnvs-themecolor);
        box-shadow: 0 0 0 0.2rem rgba(var(--cnvs-themecolor-rgb), 0.15);
    }

    .profile-modern-form .form-control[readonly] {
        opacity: 0.75;
        cursor: not-allowed;
    }

.profile-modern-image-upload {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.3rem;
    border: 1px dashed rgba(127, 127, 127, 0.28);
    border-radius: 16px;
    background: var(--cnvs-contrast-100);
}

    .profile-modern-image-upload img {
        flex: 0 0 105px;
        width: 105px;
        height: 105px;
        border-radius: 18px;
        object-fit: cover;
    }

    .profile-modern-image-upload > div {
        flex: 1;
    }

    .profile-modern-image-upload small,
    .profile-modern-field-note {
        display: block;
        margin-top: 0.45rem;
        color: var(--cnvs-contrast-500);
    }

.profile-modern-form-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(127, 127, 127, 0.15);
}

.profile-modern-cancel-button {
    width: auto;
}


/* ==========================================================
   Profile Messages
   ========================================================== */

.profile-modern-messages {
    margin-top: 3rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid rgba(127, 127, 127, 0.15);
    border-radius: 22px;
    background: var(--cnvs-contrast-0);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.1);
}

.profile-modern-section-header p {
    max-width: 700px;
    margin-bottom: 0;
    color: var(--cnvs-contrast-500);
}

.profile-modern-message-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-modern-message-card {
    padding: 1.5rem;
    border: 1px solid rgba(127, 127, 127, 0.15);
    border-radius: 18px;
    background: var(--cnvs-contrast-100);
}

.profile-modern-message-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.3rem;
}

    .profile-modern-message-heading h3 {
        margin: 0.45rem 0 0;
        font-size: 1.45rem;
    }

    .profile-modern-message-heading time {
        color: var(--cnvs-contrast-500);
        font-size: 0.85rem;
    }

.profile-modern-message-status {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

    .profile-modern-message-status.is-replied {
        color: #198754;
        background: rgba(25, 135, 84, 0.11);
    }

    .profile-modern-message-status.is-pending {
        color: #b78200;
        background: rgba(245, 180, 0, 0.13);
    }

.profile-modern-message-bubble {
    max-width: 84%;
    margin-top: 0.85rem;
    padding: 1rem 1.2rem;
    border-radius: 16px;
}

    .profile-modern-message-bubble span {
        display: block;
        margin-bottom: 0.35rem;
        font-weight: 700;
    }

    .profile-modern-message-bubble p {
        margin-bottom: 0;
        white-space: pre-line;
        overflow-wrap: anywhere;
    }

    .profile-modern-message-bubble small {
        display: block;
        margin-top: 0.5rem;
        opacity: 0.75;
    }

    .profile-modern-message-bubble.is-customer {
        margin-left: auto;
        color: #fff;
        border-bottom-right-radius: 4px;
        background: var(--cnvs-themecolor);
    }

    .profile-modern-message-bubble.is-support {
        margin-right: auto;
        color: var(--cnvs-contrast-850);
        border: 1px solid rgba(127, 127, 127, 0.16);
        border-bottom-left-radius: 4px;
        background: var(--cnvs-contrast-0);
    }

.profile-modern-empty {
    padding: 4rem 1.5rem;
    text-align: center;
}

    .profile-modern-empty > i {
        display: block;
        margin-bottom: 0.8rem;
        color: var(--cnvs-themecolor);
        font-size: 4rem;
    }

    .profile-modern-empty h3 {
        margin-bottom: 0.4rem;
    }

    .profile-modern-empty p {
        color: var(--cnvs-contrast-500);
    }


/* ==========================================================
   Responsive Profile
   ========================================================== */

@media (max-width: 1199.98px) {
    .profile-modern-sidebar {
        margin-bottom: 0;
    }
}

@media (max-width: 991.98px) {
    .profile-modern-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-modern-identity {
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .profile-modern-hero {
        min-height: 620px;
    }

    .profile-modern-hero-overlay {
        background: rgba(4, 6, 9, 0.8);
    }

    .profile-modern-identity {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

    .profile-modern-identity-meta {
        justify-content: center;
    }

    .profile-modern-card-header,
    .profile-modern-section-header,
    .profile-modern-form-actions {
        align-items: stretch;
        flex-direction: column;
    }

        .profile-modern-form-actions .button,
        .profile-modern-cancel-button,
        .profile-modern-section-header .button {
            display: flex;
            justify-content: center;
            width: 100%;
        }

    .profile-modern-message-heading {
        flex-direction: column;
    }

    .profile-modern-message-bubble {
        max-width: 94%;
    }
}

@media (max-width: 575.98px) {
    .profile-modern-main {
        padding-top: 4rem;
        padding-bottom: 5rem;
    }

    .profile-modern-avatar {
        width: 140px;
        height: 140px;
    }

    .profile-modern-stat-grid {
        grid-template-columns: 1fr;
    }

    .profile-modern-card,
    .profile-modern-messages {
        padding: 1.25rem;
        border-radius: 17px;
    }

    .profile-modern-image-upload {
        align-items: flex-start;
        flex-direction: column;
    }

        .profile-modern-image-upload img {
            width: 100%;
            height: 220px;
            flex-basis: auto;
        }

    .profile-modern-message-card {
        padding: 1.2rem;
    }

    .profile-modern-message-bubble {
        max-width: 100%;
    }
}
/* ==========================================================
   HERO CLIMBING WEATHER WIDGET
   Exact styles for Weather ViewComponent
   ========================================================== */
/* Hero becomes the positioning boundary */
#slider {
    position: relative;
    overflow: hidden;
}

/* Position the weather card on the hero */
.hero-weather-widget {
    position: absolute;
    right: clamp(30px, 3.5vw, 65px);
    bottom: clamp(260px, 30vh, 360px);
    z-index: 1000;
    width: 315px;
    max-width: calc(100vw - 32px);
    margin: 0;
    padding: 0;
    pointer-events: auto;
    animation: heroWeatherEnter 0.75s ease-out both;
}

    /* Make the ViewComponent fill only this wrapper */
    .hero-weather-widget > .climbing-weather-widget {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }


/* ==========================================================
   Main weather card
   ========================================================== */

.climbing-weather-widget {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 14px 16px;
    overflow: hidden;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9px;
    background: linear-gradient( 145deg, rgba(15, 21, 25, 0.91), rgba(8, 13, 17, 0.87) );
    -webkit-backdrop-filter: blur(13px);
    backdrop-filter: blur(13px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    box-sizing: border-box;
}

    /* Very subtle green glow */
    .climbing-weather-widget::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient( circle at top right, rgba(215, 255, 63, 0.07), transparent 43% );
        pointer-events: none;
    }


/* ==========================================================
   Header
   ========================================================== */

.climbing-weather-header {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
    margin: 0 0 10px;
    padding: 0 0 9px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

    .climbing-weather-header > div {
        min-width: 0;
    }

.climbing-weather-location {
    display: block;
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    white-space: nowrap;
}

.climbing-weather-header small {
    display: block;
    margin: 3px 0 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.72rem;
    line-height: 1.2;
}

.climbing-weather-header > strong {
    display: block;
    flex: none;
    margin: 0;
    padding: 0;
    color: #d7ff3f;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
    font-size: 0.88rem;
    font-style: normal !important;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.02em;
    white-space: nowrap;
}


/* ==========================================================
   Weather values
   ========================================================== */

.climbing-weather-values {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    width: 100%;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.climbing-weather-value {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 4px 2px;
    text-align: center;
}

    .climbing-weather-value i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 0;
        margin: 0 0 5px;
        padding: 0;
        color: #d7ff3f;
        font-size: 1.35rem;
        line-height: 1;
    }

    .climbing-weather-value strong {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        color: #fff;
        font-size: 1rem;
        font-weight: 650;
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .climbing-weather-value span {
        display: block;
        width: 100%;
        margin: 4px 0 0;
        padding: 0;
        color: rgba(255, 255, 255, 0.43);
        font-size: 0.63rem;
        line-height: 1.05;
        letter-spacing: 0.055em;
        text-transform: uppercase;
        white-space: nowrap;
    }


/* ==========================================================
   Unavailable state
   ========================================================== */

.climbing-weather-unavailable {
    min-height: 0;
}

.climbing-weather-error {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 5px 0;
    color: rgba(255, 255, 255, 0.7);
}

    .climbing-weather-error i {
        flex: 0 0 auto;
        color: #d7ff3f;
        font-size: 1.5rem;
    }

    .climbing-weather-error span {
        margin: 0;
        font-size: 0.85rem;
        line-height: 1.35;
    }


/* ==========================================================
   Entry animation
   ========================================================== */

@keyframes heroWeatherEnter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================================
   Large desktop
   ========================================================== */

@media (min-width: 1600px) {
    .hero-weather-widget {
        right: 65px;
        bottom: 340px;
        width: 315px;
    }
}


/* ==========================================================
   Normal desktop
   ========================================================== */

@media (min-width: 1200px) and (max-width: 1599.98px) {
    .hero-weather-widget {
        right: 45px;
        bottom: 280px;
        width: 310px;
    }
}


/* ==========================================================
   Laptop
   ========================================================== */

@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-weather-widget {
        right: 30px;
        bottom: 190px;
        width: 300px;
    }

    .climbing-weather-widget {
        padding: 12px 14px;
    }
}


/* ==========================================================
   Short desktop screens
   ========================================================== */

@media (min-width: 992px) and (max-height: 850px) {
    .hero-weather-widget {
        bottom: 145px;
    }
}

@media (min-width: 992px) and (max-height: 700px) {
    .hero-weather-widget {
        bottom: 85px;
    }
}


/* ==========================================================
   Tablet
   ========================================================== */

@media (min-width: 576px) and (max-width: 991.98px) {
    .hero-weather-widget {
        right: 22px;
        bottom: 125px;
        width: 300px;
        max-width: calc(100vw - 44px);
    }

    .climbing-weather-widget {
        padding: 12px 13px;
    }
}


/* ==========================================================
   Mobile
   ========================================================== */

@media (max-width: 575.98px) {
    .hero-weather-widget {
        right: 14px;
        bottom: 75px;
        width: 290px;
        max-width: calc(100vw - 28px);
    }

    .climbing-weather-widget {
        width: 100%;
        padding: 11px 12px;
        border-radius: 8px;
    }

    /* Keep header horizontal */
    .climbing-weather-header {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 7px;
        margin-bottom: 8px;
        padding-bottom: 8px;
    }

    .climbing-weather-location {
        font-size: 0.72rem;
    }

    .climbing-weather-header small {
        font-size: 0.67rem;
    }

    .climbing-weather-header > strong {
        font-size: 0.8rem;
    }

    .climbing-weather-values {
        gap: 2px;
    }

    .climbing-weather-value {
        padding: 3px 1px;
    }

        .climbing-weather-value i {
            margin-bottom: 4px;
            font-size: 1.2rem;
        }

        .climbing-weather-value strong {
            font-size: 0.88rem;
        }

        .climbing-weather-value span {
            font-size: 0.54rem;
        }
}


/* ==========================================================
   Accessibility
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
    .hero-weather-widget {
        animation: none;
    }
}

/* ==========================================================
   Administration Table Action Buttons
   Alex Stone Adventures
   Place this block at the END of custom.css
   ========================================================== */


/* ----------------------------------------------------------
   Action container
   ---------------------------------------------------------- */

.admin-table-actions {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 0.45rem;
    min-width: max-content;
    white-space: nowrap;
}


/* ----------------------------------------------------------
   Base action button
   ---------------------------------------------------------- */

.admin-action-btn {
    position: relative;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0 !important;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    font-size: 18px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    cursor: pointer;
    overflow: visible;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

    .admin-action-btn:hover {
        transform: translateY(-2px);
    }

    .admin-action-btn:active {
        transform: translateY(0);
    }

    .admin-action-btn:focus {
        outline: none;
    }

    .admin-action-btn:focus-visible {
        outline: 2px solid rgba(255, 255, 255, 0.8);
        outline-offset: 3px;
    }


    /* ----------------------------------------------------------
   Important Boxicons fix
   Prevent the global Cormorant font from replacing icons
   ---------------------------------------------------------- */

    .admin-action-btn .bx,
    .admin-action-btn i.bx,
    .admin-table-actions .bx,
    .admin-table-actions i.bx {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        font-family: "boxicons" !important;
        font-style: normal !important;
        font-weight: normal !important;
        font-variant: normal !important;
        font-size: 18px !important;
        line-height: 1 !important;
        text-rendering: auto !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        speak: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }


/* ----------------------------------------------------------
   Edit button
   ---------------------------------------------------------- */

.admin-action-edit {
    color: #ffc107 !important;
    background-color: rgba(255, 193, 7, 0.08) !important;
    border-color: #ffc107 !important;
}

    .admin-action-edit .bx {
        color: #ffc107 !important;
    }

    .admin-action-edit:hover,
    .admin-action-edit:focus {
        color: #171717 !important;
        background-color: #ffc107 !important;
        border-color: #ffc107 !important;
        box-shadow: 0 6px 16px rgba(255, 193, 7, 0.32);
    }

        .admin-action-edit:hover .bx,
        .admin-action-edit:focus .bx {
            color: #171717 !important;
        }


/* ----------------------------------------------------------
   Details button
   ---------------------------------------------------------- */

.admin-action-details {
    color: #35c5f0 !important;
    background-color: rgba(53, 197, 240, 0.08) !important;
    border-color: #35c5f0 !important;
}

    .admin-action-details .bx {
        color: #35c5f0 !important;
    }

    .admin-action-details:hover,
    .admin-action-details:focus {
        color: #ffffff !important;
        background-color: #25a9d6 !important;
        border-color: #25a9d6 !important;
        box-shadow: 0 6px 16px rgba(53, 197, 240, 0.32);
    }

        .admin-action-details:hover .bx,
        .admin-action-details:focus .bx {
            color: #ffffff !important;
        }


/* ----------------------------------------------------------
   Delete button
   ---------------------------------------------------------- */

.admin-action-delete {
    color: #ef4455 !important;
    background-color: rgba(239, 68, 85, 0.08) !important;
    border-color: #ef4455 !important;
}

    .admin-action-delete .bx {
        color: #ef4455 !important;
    }

    .admin-action-delete:hover,
    .admin-action-delete:focus {
        color: #ffffff !important;
        background-color: #dc3545 !important;
        border-color: #dc3545 !important;
        box-shadow: 0 6px 16px rgba(239, 68, 85, 0.32);
    }

        .admin-action-delete:hover .bx,
        .admin-action-delete:focus .bx {
            color: #ffffff !important;
        }


/* ----------------------------------------------------------
   Related records button
   Prices, pictures, comments, child records
   ---------------------------------------------------------- */

.admin-action-related {
    color: #ffffff !important;
    background-color: #d94d27 !important;
    border-color: #d94d27 !important;
}

    .admin-action-related .bx {
        color: #ffffff !important;
    }

    .admin-action-related:hover,
    .admin-action-related:focus {
        color: #ffffff !important;
        background-color: #bd3e1e !important;
        border-color: #bd3e1e !important;
        box-shadow: 0 6px 16px rgba(217, 77, 39, 0.34);
    }

        .admin-action-related:hover .bx,
        .admin-action-related:focus .bx {
            color: #ffffff !important;
        }


/* ----------------------------------------------------------
   Approve button
   ---------------------------------------------------------- */

.admin-action-approve {
    color: #28c76f !important;
    background-color: rgba(40, 199, 111, 0.08) !important;
    border-color: #28c76f !important;
}

    .admin-action-approve .bx {
        color: #28c76f !important;
    }

    .admin-action-approve:hover,
    .admin-action-approve:focus {
        color: #ffffff !important;
        background-color: #28a95f !important;
        border-color: #28a95f !important;
        box-shadow: 0 6px 16px rgba(40, 199, 111, 0.3);
    }

        .admin-action-approve:hover .bx,
        .admin-action-approve:focus .bx {
            color: #ffffff !important;
        }


/* ----------------------------------------------------------
   Reject button
   ---------------------------------------------------------- */

.admin-action-reject {
    color: #ff6b6b !important;
    background-color: rgba(255, 107, 107, 0.08) !important;
    border-color: #ff6b6b !important;
}

    .admin-action-reject .bx {
        color: #ff6b6b !important;
    }

    .admin-action-reject:hover,
    .admin-action-reject:focus {
        color: #ffffff !important;
        background-color: #e55353 !important;
        border-color: #e55353 !important;
        box-shadow: 0 6px 16px rgba(255, 107, 107, 0.3);
    }

        .admin-action-reject:hover .bx,
        .admin-action-reject:focus .bx {
            color: #ffffff !important;
        }


/* ----------------------------------------------------------
   Reply button
   ---------------------------------------------------------- */

.admin-action-reply {
    color: #6ec8ff !important;
    background-color: rgba(110, 200, 255, 0.08) !important;
    border-color: #6ec8ff !important;
}

    .admin-action-reply .bx {
        color: #6ec8ff !important;
    }

    .admin-action-reply:hover,
    .admin-action-reply:focus {
        color: #ffffff !important;
        background-color: #3ba7e1 !important;
        border-color: #3ba7e1 !important;
        box-shadow: 0 6px 16px rgba(110, 200, 255, 0.3);
    }

        .admin-action-reply:hover .bx,
        .admin-action-reply:focus .bx {
            color: #ffffff !important;
        }


/* ----------------------------------------------------------
   Status toggle button
   ---------------------------------------------------------- */

.admin-action-status {
    color: #9b8cff !important;
    background-color: rgba(155, 140, 255, 0.08) !important;
    border-color: #9b8cff !important;
}

    .admin-action-status .bx {
        color: #9b8cff !important;
    }

    .admin-action-status:hover,
    .admin-action-status:focus {
        color: #ffffff !important;
        background-color: #7565df !important;
        border-color: #7565df !important;
        box-shadow: 0 6px 16px rgba(155, 140, 255, 0.3);
    }

        .admin-action-status:hover .bx,
        .admin-action-status:focus .bx {
            color: #ffffff !important;
        }


/* ----------------------------------------------------------
   Download button
   ---------------------------------------------------------- */

.admin-action-download {
    color: #20c997 !important;
    background-color: rgba(32, 201, 151, 0.08) !important;
    border-color: #20c997 !important;
}

    .admin-action-download .bx {
        color: #20c997 !important;
    }

    .admin-action-download:hover,
    .admin-action-download:focus {
        color: #ffffff !important;
        background-color: #169f79 !important;
        border-color: #169f79 !important;
        box-shadow: 0 6px 16px rgba(32, 201, 151, 0.3);
    }

        .admin-action-download:hover .bx,
        .admin-action-download:focus .bx {
            color: #ffffff !important;
        }


/* ----------------------------------------------------------
   Child-record count badge
   ---------------------------------------------------------- */

.admin-action-count {
    position: absolute;
    top: -9px;
    right: -8px;
    z-index: 10;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    color: #ffffff !important;
    background-color: #dc3545 !important;
    border: 2px solid #202329;
    border-radius: 999px;
    font-family: Arial, sans-serif !important;
    font-size: 11px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}


/* ----------------------------------------------------------
   DataTable action cell
   ---------------------------------------------------------- */

table.dataTable td.admin-actions-cell,
.table td.admin-actions-cell {
    vertical-align: middle !important;
    overflow: visible !important;
}

table.dataTable td:last-child,
.table td:last-child {
    overflow: visible;
}


/* ----------------------------------------------------------
   Prevent global button/font rules from breaking action icons
   ---------------------------------------------------------- */

body .admin-action-btn,
body .admin-action-btn span,
body .admin-action-btn i,
body .admin-action-btn .bx {
    font-size: 18px !important;
}

body .admin-action-count {
    font-size: 11px !important;
}


/* ----------------------------------------------------------
   Mobile adjustments
   ---------------------------------------------------------- */

@media (max-width: 767.98px) {

    .admin-table-actions {
        gap: 0.35rem;
    }

    .admin-action-btn {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
    }

        .admin-action-btn .bx,
        .admin-action-btn i.bx {
            font-size: 17px !important;
        }

    .admin-action-count {
        top: -8px;
        right: -7px;
        min-width: 18px;
        height: 18px;
        font-size: 10px !important;
    }
}
/* ==========================================================
   Administration Rich-Text Preview
   Fix white description/content boxes on all Details pages
   ========================================================== */

.admin-richtext-preview {
    min-height: 180px;
    padding: 1.5rem;
    color: #e6e9ef !important;
    background: rgba(255, 255, 255, 0.025) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 0.75rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

    .admin-richtext-preview,
    .admin-richtext-preview p,
    .admin-richtext-preview span,
    .admin-richtext-preview div,
    .admin-richtext-preview li,
    .admin-richtext-preview td,
    .admin-richtext-preview th,
    .admin-richtext-preview label {
        color: #e6e9ef !important;
    }

        .admin-richtext-preview h1,
        .admin-richtext-preview h2,
        .admin-richtext-preview h3,
        .admin-richtext-preview h4,
        .admin-richtext-preview h5,
        .admin-richtext-preview h6 {
            margin-top: 1.25rem;
            margin-bottom: 0.75rem;
            color: #ffffff !important;
        }

            .admin-richtext-preview p:first-child,
            .admin-richtext-preview h1:first-child,
            .admin-richtext-preview h2:first-child,
            .admin-richtext-preview h3:first-child {
                margin-top: 0;
            }

        .admin-richtext-preview p:last-child {
            margin-bottom: 0;
        }

        .admin-richtext-preview a {
            color: #65c7ff !important;
            text-decoration: underline;
        }

        .admin-richtext-preview strong,
        .admin-richtext-preview b {
            color: #ffffff !important;
        }

        .admin-richtext-preview blockquote {
            margin: 1.25rem 0;
            padding: 1rem 1.25rem;
            color: #f3f4f6 !important;
            background: rgba(255, 255, 255, 0.045);
            border-left: 4px solid #ffc107;
            border-radius: 0.4rem;
        }

        .admin-richtext-preview ul,
        .admin-richtext-preview ol {
            padding-left: 1.5rem;
        }

        .admin-richtext-preview img,
        .admin-richtext-preview video,
        .admin-richtext-preview iframe {
            display: block;
            max-width: 100%;
            height: auto;
            margin: 1rem auto;
            border-radius: 0.6rem;
        }

        .admin-richtext-preview table {
            width: 100%;
            margin: 1rem 0;
            color: #e6e9ef !important;
            border-collapse: collapse;
        }

        .admin-richtext-preview th,
        .admin-richtext-preview td {
            padding: 0.7rem;
            border: 1px solid rgba(255, 255, 255, 0.15);
        }

        .admin-richtext-preview hr {
            border-color: rgba(255, 255, 255, 0.15);
        }