:root {
    --primary-burgundy: #800020;
    --bg-cream: #FDFBF7;
    --text-dark: #212529;
    --text-gray: #5A5A5A;
    --border-soft: #E9ECEF;
    --font-header: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif
}

body {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.4s ease
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-header);
    letter-spacing: -0.02em
}

.text-muted {
    color: var(--text-gray) !important
}

a {
    text-decoration: none;
    transition: all 0.3s ease
}

* {
    box-sizing: border-box
}

::selection {
    background: var(--primary-burgundy);
    color: #fff
}

.site-layout-magazine {
    overflow-x: hidden
}

.btn-magazine {
    background-color: var(--primary-burgundy);
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-weight: 600;
    transition: transform 0.4s ease, box-shadow 0.4s ease
}

.btn-magazine:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(128, 0, 32, 0.3);
    color: #fff
}

img {
    max-width: 100%;
    height: auto
}

/* ===== header ===== */
.xelv-header {
    background-color: #FDFBF7;
    border-bottom: 1px solid #E9ECEF;
    z-index: 1050;
}

.xelv-header .navbar-brand {
    transition: opacity 0.3s ease;
}

.xelv-header .navbar-brand:hover {
    opacity: 0.8;
}

.xelv-header .js-header-logo {
    max-width: 45px;
    height: auto;
    object-fit: contain;
}

.xelv-header .xelv-brand-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #212529;
    letter-spacing: -0.02em;
    text-transform: capitalize;
}

.xelv-header .nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #212529 !important;
    padding: 1.5rem 1rem !important;
    transition: color 0.3s ease;
    position: relative;
}

.xelv-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 3px;
    background-color: #800020;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.xelv-header .nav-link:hover {
    color: #800020 !important;
}

.xelv-header .nav-link:hover::after {
    transform: scaleX(1);
}

.xelv-header .xelv-cta-btn {
    font-family: 'Inter', sans-serif;
    background-color: #800020;
    color: #FFFFFF !important;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    transition: background-color 0.4s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.xelv-header .xelv-cta-btn:hover {
    background-color: #600018;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.xelv-header .navbar-toggler {
    padding: 0.5rem;
}

.xelv-header .navbar-toggler:focus {
    box-shadow: none;
}

@media (max-width: 991.98px) {
    .xelv-header .navbar-collapse {
        background-color: #FDFBF7;
        padding: 1rem 0 2rem;
    }

    .xelv-header .nav-link {
        padding: 0.75rem 0 !important;
        text-align: center;
        border-bottom: 1px solid #E9ECEF;
    }

    .xelv-header .nav-link::after {
        display: none;
    }

    .xelv-header .d-flex {
        justify-content: center;
        margin-top: 1.5rem;
    }

    .xelv-header .xelv-brand-text {
        font-size: 1.5rem;
    }
}

/* ===== hero ===== */
.hero-editorial .bg-burgundy {
    background-color: #800020;
    color: #FFFFFF;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.hero-editorial .btn-primary-custom {
    background: linear-gradient(135deg, #800020 0%, #a50029 100%);
    border: none;
    color: #FFFFFF;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-editorial .btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(128, 0, 32, 0.4);
    color: #FFFFFF;
}

.hero-editorial .hero-main-slider {
    height: 600px;
    border-radius: 4px;
}

.hero-editorial .hero-slides-wrapper {
    position: relative;
}

.hero-editorial .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.hero-editorial .hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-editorial .hero-slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 10s ease-out;
}

.hero-editorial .hero-slide.active .hero-slide-bg {
    transform: scale(1.1);
}

.hero-editorial .hero-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(33, 37, 41, 0) 0%, rgba(33, 37, 41, 0.4) 40%, rgba(33, 37, 41, 0.95) 100%);
    display: flex;
    align-items: flex-end;
    z-index: 3;
}

.hero-editorial .hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.1;
    max-width: 800px;
    font-size: clamp(1.5rem, 4vw, 3.5rem);
}

.hero-editorial .hero-excerpt {
    font-family: 'Inter', sans-serif;
    color: #E0E0E0;
    max-width: 600px;
    font-size: 1.1rem;
}

.hero-editorial .hero-thumbnails-gallery {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    gap: 12px;
}

.hero-editorial .hero-thumb {
    width: 80px;
    height: 50px;
    background-size: cover;
    background-position: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hero-editorial .hero-thumb.active {
    border-color: #800020;
    box-shadow: 0 0 10px rgba(128, 0, 32, 0.6);
    transform: translateY(-5px);
}

.hero-editorial .hero-side-card {
    min-height: 280px;
    border-radius: 4px;
}

.hero-editorial .side-card-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.hero-editorial .hero-side-card:hover .side-card-bg {
    transform: scale(1.05);
}

.hero-editorial .side-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(33, 37, 41, 0.1) 0%, rgba(33, 37, 41, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-editorial .side-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #800020;
    color: #FFFFFF;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 2px;
}

.hero-editorial .side-dots {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 5px;
}

.hero-editorial .side-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.hero-editorial .side-dots span.active {
    background: #800020;
}

.hero-editorial .side-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0;
}

.hero-editorial .side-title a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-editorial .side-title a:hover {
    color: #E0E0E0 !important;
}

@media (max-width: 991.98px) {
    .hero-editorial .hero-main-slider {
        height: 450px;
    }

    .hero-editorial .hero-thumbnails-gallery {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .hero-editorial .hero-title {
        font-size: 18px !important;
    }

    .hero-editorial .side-title {
        font-size: 16px !important;
    }

    .hero-editorial .hero-main-slider {
        height: 400px;
    }

    .hero-editorial .hero-side-card {
        height: 250px;
    }
}

/* ===== publication-grid ===== */
.xelv-publication-grid {
    background-color: #FDFBF7;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.xelv-publication-grid .xelv-grid-title {
    font-family: 'Playfair Display', serif;
    color: #343A40;
    letter-spacing: -0.01em;
    font-weight: 900;
}

.xelv-publication-grid .bg-accent-burgundy {
    background-color: #800020 !important;
}

.xelv-publication-grid .text-accent-burgundy {
    color: #800020 !important;
}

.xelv-publication-grid .xelv-news-card {
    position: relative;
    background: #fff;
    border: 1px solid #E9ECEF;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-radius: 4px;
    overflow: hidden;
}

.xelv-publication-grid .xelv-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.xelv-publication-grid .xelv-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.xelv-publication-grid .xelv-img-container {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.xelv-publication-grid .xelv-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xelv-publication-grid .xelv-img-container-sm {
    height: 150px;
    overflow: hidden;
}

.xelv-publication-grid .xelv-img-container-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xelv-publication-grid .xelv-img-container-md {
    height: 200px;
    overflow: hidden;
}

.xelv-publication-grid .xelv-img-container-md img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xelv-publication-grid .xelv-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(128, 0, 32, 0) 0%, rgba(33, 37, 41, 0.9) 100%);
}

.xelv-publication-grid h3 {
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
    font-weight: 700;
}

.xelv-publication-grid .xelv-card-body h3 {
    color: #212529;
}

.xelv-publication-grid .xelv-news-card--featured h3 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
}

@media (max-width: 767px) {
    .xelv-publication-grid .xelv-img-container {
        min-height: 300px;
    }

    .xelv-publication-grid .xelv-news-card--featured h3 {
        font-size: 1.25rem;
    }
}

/* ===== latest-materials ===== */
.latest-materials-section {
    background-color: #FDFBF7;
    color: #212529;
    font-family: 'Inter', sans-serif;
}

.latest-materials-section .latest-materials-title {
    font-family: 'Playfair Display', serif;
    color: #800020;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.latest-materials-section .latest-materials-subtitle {
    max-width: 700px;
    color: #5A5A5A;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.latest-materials-section .material-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1px solid #E9ECEF;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.latest-materials-section .material-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(128, 0, 32, 0.1);
}

.latest-materials-section .material-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.latest-materials-section .material-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.latest-materials-section .material-card:hover .material-img {
    transform: scale(1.05);
}

.latest-materials-section .material-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #800020;
    color: #FFFFFF;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 2px;
}

.latest-materials-section .material-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.latest-materials-section .material-meta {
    font-size: 0.85rem;
    color: #800020;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.latest-materials-section .material-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    line-height: 1.3;
    color: #212529;
    margin-bottom: 1rem;
    font-weight: 700;
}

.latest-materials-section .material-excerpt {
    font-size: 0.95rem;
    color: #5A5A5A;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-materials-section .material-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #F1F1F1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.latest-materials-section .material-author {
    font-size: 0.8rem;
    color: #5A5A5A;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.latest-materials-section .btn-read-more {
    color: #800020;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.latest-materials-section .btn-read-more:hover {
    color: #343A40;
}

@media (max-width: 767px) {
    .latest-materials-section .latest-materials-title {
        font-size: 1.5rem;
    }

    .latest-materials-section .material-title {
        font-size: 1.15rem;
    }
}

/* ===== popular-articles ===== */
.popular-articles-block {
    background-color: #FDFBF7;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.popular-articles-block .popular-articles-title {
    font-family: 'Playfair Display', serif;
    color: #800020;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 2.75rem);
}

.popular-articles-block .popular-articles-subtitle {
    color: #5A5A5A;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.popular-articles-block .popular-article-item {
    transition: transform 0.3s ease;
}

.popular-articles-block .popular-article-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(128, 0, 32, 0.15);
    line-height: 1;
    min-width: 60px;
    flex-shrink: 0;
    transition: color 0.4s ease;
}

.popular-articles-block .popular-article-category {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #800020;
    font-weight: 600;
}

.popular-articles-block .popular-article-heading {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    line-height: 1.3;
}

.popular-articles-block .popular-article-link {
    color: #212529;
    text-decoration: none;
    transition: color 0.4s ease;
}

.popular-articles-block .popular-article-link:hover {
    color: #800020;
}

.popular-articles-block .popular-article-meta {
    font-size: 0.9rem;
    color: #5A5A5A;
}

.popular-articles-block .popular-article-item:hover .popular-article-number {
    color: #800020;
}

.popular-articles-block .border-bottom {
    border-bottom-color: #E9ECEF !important;
}

@media (max-width: 767.98px) {
    .popular-articles-block .popular-article-number {
        font-size: 1.75rem;
        min-width: 45px;
    }

    .popular-articles-block .popular-article-heading {
        font-size: 1.15rem;
    }
}

/* ===== category-blocks ===== */
.category-blocks-section {
    background-color: #FDFBF7;
    font-family: 'Inter', sans-serif;
}

.category-blocks-section .category-title {
    font-family: 'Playfair Display', serif;
    color: #212529;
    font-weight: 700;
    position: relative;
}

.category-blocks-section .category-link {
    color: #800020;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.category-blocks-section .category-link:hover {
    color: #343A40;
}

.category-blocks-section .category-card {
    background: #FFFFFF;
    border: 1px solid #E9ECEF;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.category-blocks-section .category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(128, 0, 32, 0.1);
}

.category-blocks-section .category-card-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
}

.category-blocks-section .category-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-blocks-section .category-card:hover .category-card-img {
    transform: scale(1.1);
}

.category-blocks-section .category-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #800020;
    letter-spacing: 1px;
}

.category-blocks-section .category-card-title {
    font-family: 'Playfair Display', serif;
    color: #212529;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-blocks-section .category-card-meta {
    font-size: 0.85rem;
    color: #5A5A5A;
}

.category-blocks-section .category-btn {
    background-color: #800020;
    border-color: #800020;
    color: #FFFFFF;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    transition: all 0.3s ease;
}

.category-blocks-section .category-btn:hover {
    background-color: #343A40;
    border-color: #343A40;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 767px) {
    .category-blocks-section .category-title {
        font-size: 1.5rem;
    }

    .category-blocks-section .category-card-body {
        padding: 1.5rem !important;
    }
}

/* ===== newsletter ===== */
.newsletter-section {
    background-color: #FDFBF7;
}

.newsletter-wrapper {
    background-color: #FFFFFF;
    border: 1px solid #E9ECEF;
}

.newsletter-image-side {
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.newsletter-content-side {
    background-color: #FFFFFF;
}

.newsletter-title {
    font-family: 'Playfair Display', serif;
    color: #800020;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-description {
    font-family: 'Inter', sans-serif;
    color: #5A5A5A;
    font-size: 1.1rem;
    line-height: 1.6;
}

.newsletter-input {
    background-color: #FDFBF7;
    border: 1px solid #E9ECEF;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    color: #212529;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    border-color: #800020;
}

.newsletter-input::placeholder {
    color: #5A5A5A;
    opacity: 0.7;
}

.newsletter-submit-btn {
    background-color: #800020;
    color: #FFFFFF;
    border-radius: 4px;
    letter-spacing: 0.05em;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(128, 0, 32, 0.1);
}

.newsletter-submit-btn:hover {
    background-color: #600018;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(128, 0, 32, 0.2);
}

.newsletter-privacy-note {
    font-size: 0.85rem;
    color: #5A5A5A;
    line-height: 1.4;
}

.newsletter-privacy-link {
    color: #800020;
    text-decoration: underline;
}

.newsletter-privacy-link:hover {
    color: #600018;
}

.newsletter-section .success-message {
    background-color: #D1E7DD;
    color: #0F5132;
    border: 1px solid #BADBCC;
}

.newsletter-section .error-message {
    background-color: #F8D7DA;
    color: #842029;
    border: 1px solid #F5C2C7;
}

/* ===== footer ===== */
.xelv-footer {
    background-color: #343A40;
    color: #FFFFFF;
    padding-top: 5rem;
    padding-bottom: 2rem;
    font-family: 'Inter', sans-serif;
}

.xelv-footer .footer-logo {
    max-width: 50px;
    height: auto;
}

.xelv-footer .footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #E0E0E0;
    max-width: 320px;
}

.xelv-footer .footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    position: relative;
    padding-bottom: 0.5rem;
}

.xelv-footer .footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #800020;
}

.xelv-footer .footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.xelv-footer .footer-nav li {
    margin-bottom: 0.75rem;
}

.xelv-footer .footer-nav a {
    color: #E0E0E0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.4s ease;
}

.xelv-footer .footer-nav a:hover {
    color: #800020;
}

.xelv-footer .contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.xelv-footer .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #E0E0E0;
}

.xelv-footer .contact-item i {
    color: #800020;
    font-size: 1.1rem;
}

.xelv-footer .contact-item a {
    color: #E0E0E0;
    text-decoration: none;
    transition: color 0.4s ease;
}

.xelv-footer .contact-item a:hover {
    color: #800020;
}

.xelv-footer .footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0;
}

.xelv-footer .copyright {
    font-size: 0.85rem;
    color: #A0A0A0;
}

@media (max-width: 767.98px) {
    .xelv-footer {
        padding-top: 3rem;
        text-align: left;
    }

    .xelv-footer .footer-title {
        margin-top: 1rem;
    }

    .xelv-footer .footer-description {
        max-width: 100%;
    }
}

/* ===== PAGE: privacy ===== */
.policy-wrapper{padding:60px 20px;background-color:#FDFBF7;color:#212529;font-family:'Inter',sans-serif}.policy-inner{max-width:850px;margin:0 auto}.policy-header h1{font-family:'Playfair Display',serif;color:#800020;font-weight:900;letter-spacing:-0.02em;margin-top:0}.policy-header .policy-date{color:#800020;letter-spacing:0.1em}.policy-body h3{font-family:'Playfair Display',serif;font-weight:700;color:#343A40;margin-top:40px;margin-bottom:20px;border-left:4px solid #800020;padding-left:15px}.policy-body p{line-height:1.8;margin-bottom:1.5rem;color:#5A5A5A}.policy-body ul{margin-bottom:1.5rem;padding-left:1.5rem}.policy-body li{margin-bottom:0.8rem;color:#5A5A5A;line-height:1.6}.policy-body strong{color:#212529;font-weight:600}@media(max-width:768px){.policy-wrapper{padding:40px 15px}.policy-header h1{font-size:28px!important}.policy-body h3{font-size:22px!important}.policy-body p,.policy-body li{font-size:15px;line-height:1.6}}

/* ===== PAGE: terms ===== */
#policy-content.policy-content-container { background-color: #FDFBF7; padding: 4rem 1.5rem; color: #212529; font-family: 'Inter', sans-serif; line-height: 1.6; } #policy-content .policy-article { max-width: 850px; margin: 0 auto; background: #ffffff; padding: 3rem; border: 1px solid #E9ECEF; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.02); } #policy-content .policy-title { font-family: 'Playfair Display', serif; font-size: 1.125rem; font-weight: 700; color: #800020; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; } #policy-content .policy-subtitle { font-family: 'Inter', sans-serif; font-size: 1rem; color: #5A5A5A; margin-bottom: 1.5rem; border-bottom: 2px solid #800020; display: inline-block; padding-bottom: 0.5rem; } #policy-content .policy-meta { font-size: 0.85rem; color: #343A40; font-style: italic; margin-bottom: 2rem; } #policy-content .policy-heading { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: #343A40; margin-top: 2rem; margin-bottom: 1rem; position: relative; padding-left: 15px; } #policy-content .policy-heading::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background-color: #800020; } #policy-content p { margin-bottom: 1.25rem; color: #212529; text-align: justify; hyphens: auto; } #policy-content .policy-list { list-style: none; padding-left: 0; margin-bottom: 1.5rem; } #policy-content .policy-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.75rem; } #policy-content .policy-list li::before { content: '\F270'; font-family: 'bootstrap-icons'; position: absolute; left: 0; color: #800020; font-size: 0.9rem; } #policy-content strong { color: #800020; font-weight: 600; } @media (max-width: 768px) { #policy-content.policy-content-container { padding: 2rem 1rem; } #policy-content .policy-article { padding: 1.5rem; border: none; box-shadow: none; } #policy-content .policy-title { font-size: 1.125rem; } #policy-content .policy-heading { font-size: 1rem; } #policy-content .policy-body { font-size: 0.95rem; } }

/* ===== PAGE: disclaimer ===== */
#policy-content {
  font-family: 'Inter', sans-serif;
  color: #212529;
  line-height: 1.6;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  background-color: #FDFBF7;
}

#policy-content .policy-text-section {
  background: #FFFFFF;
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #E9ECEF;
}

#policy-content .policy-heading {
  font-family: 'Playfair Display', serif;
  color: #800020;
  margin-top: 32px;
  margin-bottom: 16px;
  font-weight: 700;
  border-bottom: 1px solid #E9ECEF;
  padding-bottom: 8px;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

#policy-content h2:first-of-type {
  margin-top: 0;
}

#policy-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  text-align: justify;
}

#policy-content .policy-list {
  margin-bottom: 24px;
  padding-left: 20px;
  list-style-type: none;
}

#policy-content .policy-list li {
  position: relative;
  padding-bottom: 12px;
  padding-left: 25px;
}

#policy-content .policy-list li::before {
  content: '\F26E';
  font-family: 'Bootstrap Icons';
  position: absolute;
  left: 0;
  color: #800020;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  #policy-content {
    padding: 20px 15px;
  }
  #policy-content .policy-text-section {
    padding: 25px 20px;
  }
  #policy-content .policy-heading {
    font-size: 1.4rem;
  }
  #policy-content p {
    text-align: left;
    font-size: 0.95rem;
  }
}

/* ===== PAGE: cookies ===== */
.policy-content-container { max-width: 800px; margin: 0 auto; padding: 2rem 1.25rem; background-color: #FDFBF7; color: #212529; font-family: 'Inter', sans-serif; } #policy-content h1 { font-family: 'Playfair Display', serif; font-size: 1.125rem; color: #800020; font-weight: 700; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.2; } #policy-content .lead-text { font-size: 1.15rem; color: #5A5A5A; margin-bottom: 2.5rem; font-style: italic; line-height: 1.6; } #policy-content h2 { font-family: 'Playfair Display', serif; font-size: 1rem; color: #343A40; margin-top: 2.5rem; margin-bottom: 1rem; border-bottom: 1px solid #E9ECEF; padding-bottom: 0.5rem; font-weight: 700; line-height: 1.3; } #policy-content p { font-size: 1rem; line-height: 1.7; color: #5A5A5A; margin-bottom: 1.25rem; text-align: justify; hyphens: auto; } #policy-content ul { list-style: none; padding-left: 0; margin-bottom: 1.5rem; } #policy-content ul li { position: relative; padding-left: 1.75rem; margin-bottom: 0.75rem; font-size: 1rem; line-height: 1.6; color: #5A5A5A; } #policy-content ul li::before { content: '\F26A'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 0; color: #800020; font-size: 1rem; } #policy-content strong { color: #212529; font-weight: 600; } @media (min-width: 768px) { .policy-content-container { padding: 4rem 2rem; } #policy-content h1 { font-size: 2.5rem; } #policy-content h2 { font-size: 1.75rem; } #policy-content p { font-size: 1.1rem; } }

/* ===== PAGE: new-books ===== */
.xelv-new-books .xelv-main-title { font-family: 'Playfair Display', serif; color: #800020; }.xelv-new-books .xelv-main-subtitle { font-family: 'Inter', sans-serif; line-height: 1.6; }.xelv-new-books .xelv-article-card { transition: transform 0.4s ease, box-shadow 0.4s ease; border-radius: 0; overflow: hidden; background-color: #FFFFFF; }.xelv-new-books .xelv-article-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }.xelv-new-books .xelv-title-link { font-family: 'Playfair Display', serif; transition: color 0.3s ease; }.xelv-new-books .xelv-title-link:hover { color: #800020; }.xelv-new-books .xelv-btn-primary { background-color: #800020; color: #FFFFFF; border-radius: 0; padding: 12px 24px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; transition: all 0.4s ease; border: none; }.xelv-new-books .xelv-btn-primary:hover { background-color: #5d0017; color: #FFFFFF; transform: scale(1.02); }.xelv-new-books .xelv-btn-burgundy { background-color: #800020; color: #FFFFFF; border-radius: 0; padding: 12px 30px; font-weight: 600; border: none; transition: background-color 0.3s ease; }.xelv-new-books .xelv-btn-burgundy:hover { background-color: #a00028; }.xelv-new-books .xelv-img-wrapper img { transition: transform 0.6s ease; }.xelv-new-books .xelv-article-card:hover .xelv-img-wrapper img { transform: scale(1.08); }.xelv-new-books .form-control:focus { box-shadow: none; border: 2px solid #800020; }.xelv-new-books h2 { font-family: 'Playfair Display', serif; color: #212529; }

/* ===== PAGE: authors ===== */
.authors-page-wrapper {
  background-color: #FDFBF7;
  font-family: 'Inter', sans-serif;
  color: #212529;
}

.authors-page-wrapper .category-hero-section {
  background-color: #FDFBF7;
  border-bottom: 1px solid #E9ECEF;
}

.authors-page-wrapper .category-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #800020;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
}

.authors-page-wrapper .category-divider {
  width: 60px;
  height: 4px;
  background-color: #800020;
}

.authors-page-wrapper .section-heading {
  font-family: 'Playfair Display', serif;
  color: #343A40;
  letter-spacing: 1px;
  border-left: 5px solid #800020;
  padding-left: 15px;
}

.authors-page-wrapper .author-card {
  background: #FFFFFF;
  border: 1px solid #E9ECEF;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 4px;
}

.authors-page-wrapper .author-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.authors-page-wrapper .card-img-container {
  height: 240px;
}

.authors-page-wrapper .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.authors-page-wrapper .author-card:hover .card-img-top {
  transform: scale(1.05);
}

.authors-page-wrapper .badge-category {
  background-color: #800020;
  color: #FFFFFF;
  padding: 6px 14px;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 2;
}

.authors-page-wrapper .card-meta {
  font-size: 0.85rem;
  color: #5A5A5A;
}

.authors-page-wrapper .card-title {
  font-family: 'Playfair Display', serif;
  line-height: 1.3;
  color: #212529;
}

.authors-page-wrapper .btn-burgundy {
  background-color: #800020;
  border: none;
  padding: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.authors-page-wrapper .btn-burgundy:hover {
  background-color: #600018;
  box-shadow: 0 4px 12px rgba(128, 0, 32, 0.3);
}

.authors-page-wrapper .newsletter-card {
  background: linear-gradient(135deg, #800020 0%, #343A40 100%);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(128, 0, 32, 0.2);
}

.authors-page-wrapper .newsletter-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #FFFFFF;
}

.authors-page-wrapper .form-control {
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  border-radius: 4px 0 0 4px !important;
}

.authors-page-wrapper .newsletter-form .btn {
  border-radius: 0 4px 4px 0 !important;
  color: #800020;
  font-weight: 700;
}

.authors-page-wrapper .breadcrumb-item a {
  color: #5A5A5A;
}

.authors-page-wrapper .breadcrumb-item.active {
  color: #800020;
  font-weight: 600;
}

@media (max-width: 768px) {
  .authors-page-wrapper .category-title {
    font-size: 1.8rem;
  }
  .authors-page-wrapper .card-img-container {
    height: 200px;
  }
  .authors-page-wrapper .newsletter-form .input-group {
    flex-direction: column;
  }
  .authors-page-wrapper .newsletter-form .input-group > * {
    width: 100% !important;
    border-radius: 4px !important;
    margin-bottom: 10px;
  }
}

/* ===== PAGE: events ===== */
.xelv-events-wrapper {
  background-color: #FDFBF7;
  font-family: 'Inter', sans-serif;
  color: #212529;
}

.xelv-hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #800020;
  letter-spacing: -0.02em;
}

.xelv-hero-subtitle {
  font-size: 1.25rem;
  color: #5A5A5A;
  line-height: 1.6;
}

.xelv-divider {
  width: 60px;
  height: 4px;
  background-color: #800020;
}

.xelv-section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #212529;
  position: relative;
  padding-bottom: 10px;
}

.xelv-event-card {
  background: transparent;
  transition: transform 0.4s ease;
}

.xelv-card-img-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
}

.xelv-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.xelv-event-card:hover img {
  transform: scale(1.05);
}

.xelv-card-overlay {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
}

.xelv-card-overlay .badge {
  background-color: #800020 !important;
  padding: 8px 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.xelv-card-heading {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.3;
}

.xelv-card-heading a {
  color: #212529;
  transition: color 0.3s ease;
}

.xelv-card-heading a:hover {
  color: #800020;
}

.xelv-card-excerpt {
  color: #5A5A5A;
  font-size: 1.05rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.xelv-btn-primary {
  background-color: #800020;
  color: #FFFFFF !important;
  border: none;
  padding: 10px 25px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.xelv-btn-primary:hover {
  background-color: #5a0016;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(128, 0, 32, 0.3);
}

.xelv-newsletter-box {
  background-color: #800020;
  border-radius: 12px;
  z-index: 1;
}

.xelv-newsletter-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 90% 10%, rgba(255,255,255,0.05) 0%, transparent 40%);
  z-index: -1;
}

.xelv-input {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #FFFFFF !important;
}

.xelv-input::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

.xelv-input:focus {
  background: rgba(255, 255, 255, 0.15) !important;
  box-shadow: none;
  border-color: #FFFFFF !important;
}

.xelv-search-box .form-control {
  padding: 12px;
  border-radius: 4px;
}

.xelv-search-box .input-group-text {
  color: #800020;
}

@media (max-width: 768px) {
  .xelv-hero-title {
    font-size: 2rem;
  }
  .xelv-card-heading {
    font-size: 1.25rem;
  }
}

/* ===== PAGE: adaptations ===== */
.adaptations-hero { background-color: #FDFBF7; position: relative; overflow: hidden; }
.adaptations-hero__title { font-family: 'Playfair Display', serif; color: #800020; margin-bottom: 1.5rem; }
.adaptations-hero__subtitle { font-family: 'Inter', sans-serif; color: #5A5A5A; line-height: 1.8; }
.adaptations-hero__divider { width: 80px; height: 3px; background-color: #800020; margin-top: 2rem; }

.adaptations-list__heading { font-family: 'Playfair Display', serif; color: #343A40; border-left: 5px solid #800020; padding-left: 1rem; }
.adaptations-card { border: none; transition: transform 0.4s ease, box-shadow 0.4s ease; background-color: #FFFFFF; border-radius: 4px; overflow: hidden; }
.adaptations-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important; }
.adaptations-card__img-wrapper { position: relative; height: 240px; overflow: hidden; }
.adaptations-card__img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.adaptations-card:hover .adaptations-card__img-wrapper img { transform: scale(1.05); }
.adaptations-card__badge { position: absolute; top: 1rem; left: 1rem; background-color: #800020; color: #FFFFFF; padding: 0.5rem 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; border-radius: 0; }
.adaptations-card__title { font-family: 'Playfair Display', serif; color: #212529; font-weight: 700; margin-bottom: 1rem; line-height: 1.3; }
.adaptations-card__excerpt { font-family: 'Inter', sans-serif; color: #5A5A5A; font-size: 0.95rem; line-height: 1.6; }
.adaptations-card__btn { background-color: #800020; border: none; border-radius: 0; padding: 0.8rem 1.5rem; transition: background-color 0.3s ease; color: #FFFFFF; }
.adaptations-card__btn:hover { background-color: #343A40; color: #FFFFFF; }

.adaptations-newsletter__inner { background: linear-gradient(135deg, #800020 0%, #343A40 100%); position: relative; }
.adaptations-newsletter__inner h2 { font-family: 'Playfair Display', serif; }
.adaptations-newsletter__form .input-group { border-radius: 4px; overflow: hidden; }
.adaptations-newsletter__form .form-control { border: none; padding-left: 1.5rem; font-family: 'Inter', sans-serif; }
.adaptations-newsletter__form .btn-accent { background-color: #FFFFFF; color: #800020; border: none; padding: 0 2rem; }
.adaptations-newsletter__form .btn-accent:hover { background-color: #E9ECEF; }

@media (max-width: 767.98px) {
  .adaptations-hero__title { font-size: 2rem; }
  .adaptations-hero__subtitle { font-size: 1rem; }
  .adaptations-list__heading { font-size: 1.5rem; }
}

/* ===== PAGE: about-contact ===== */
.about-contact-section { background-color: #FDFBF7; font-family: 'Inter', sans-serif; overflow: hidden; } .about-contact-section__heading { font-family: 'Playfair Display', serif; color: #800020; font-weight: 700; } .about-contact-section__text { color: #5A5A5A; line-height: 1.8; font-size: 1.1rem; } .about-contact-section__info-card { background: #FFFFFF; transition: transform 0.4s ease, shadow 0.4s ease; border: 1px solid #E9ECEF !important; } .about-contact-section__info-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(128, 0, 32, 0.1) !important; } .about-contact-section__icon { color: #800020; } .about-contact-section__info-card a { color: #212529; transition: color 0.3s; } .about-contact-section__info-card a:hover { color: #800020; } .about-contact-section__form-container { border-top: 5px solid #800020; } .about-contact-section h2 { font-family: 'Playfair Display', serif; color: #343A40; } .about-contact-section__submit-btn { background: #800020 !important; border: none; color: #FFFFFF; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: background 0.4s ease, transform 0.2s; } .about-contact-section__submit-btn:hover { background: #600018 !important; transform: scale(1.02); } .about-contact-section .form-label { color: #5A5A5A !important; } .about-contact-section .form-control { background-color: #f8f9fa !important; border: 1px solid #ced4da !important; } .about-contact-section .form-control:focus { border-color: #800020 !important; box-shadow: inset 0 0 0 1px #800020 !important; } @media (max-width: 767.98px) { .about-contact-section h2 { font-size: 16px !important; } .about-contact-section h3 { font-size: 14px !important; } .about-contact-section__text { font-size: 0.95rem; } .about-contact-section__submit-btn { width: 100%; } }

.comment-card {
    background-color: #FDFBF7;
    border-radius: 4px;
    transition: transform 0.4s ease;
}

/* Comment form visibility fix (works with or without MDB JS) */
.comment-form-wrapper {
    border: 1px solid #E9ECEF;
}

.comment-form-wrapper .form-outline {
    display: flex;
    flex-direction: column-reverse;
}

.comment-form-wrapper .form-notch {
    display: none !important;
}

.comment-form-wrapper .form-label {
    position: static !important;
    transform: none !important;
    margin: 0 0 0.4rem 0 !important;
    padding: 0 !important;
    color: #343A40 !important;
    font-weight: 600;
    max-width: none;
}

.comment-form-wrapper .form-control {
    background-color: #FFFFFF !important;
    border: 1px solid #ced4da !important;
    border-radius: 4px !important;
    padding: 0.7rem 1rem !important;
    color: #212529 !important;
}

.comment-form-wrapper .form-control:focus {
    border-color: #800020 !important;
    box-shadow: 0 0 0 0.15rem rgba(128, 0, 32, 0.15) !important;
}

/* Contact form floating-label fix (works with or without MDB JS) */
.about-contact-section .form-outline {
    display: flex;
    flex-direction: column-reverse;
}

.about-contact-section .form-notch {
    display: none !important;
}

.about-contact-section .form-label {
    position: static !important;
    transform: none !important;
    margin: 0 0 0.4rem 0 !important;
    padding: 0 !important;
    color: #5A5A5A !important;
    font-weight: 600;
    max-width: none;
}

.about-contact-section .form-control {
    padding: 0.7rem 1rem !important;
}

.avatar-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    font-family: 'Inter', sans-serif;
}

.bg-burgundy {
    background-color: #800020;
}

.author-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.comment-content p {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    font-size: 1.05rem;
}

.text-accent-burgundy {
    color: #800020;
}

.hover-scale:hover {
    transform: scale(1.05);
    color: #800020 !important;
}

.text-secondary-light {
    color: #5A5A5A;
}

.text-dark-gray {
    color: #343A40;
}

.reply-card {
    background-color: rgba(233, 236, 239, 0.4);
    border-radius: 0 4px 4px 0;
    margin-left: 20px;
}

.border-burgundy {
    border-color: #800020 !important;
}

.avatar-circle-sm {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

.bg-dark-gray {
    background-color: #343A40;
}

.author-name-sm {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1rem;
}

.comment-content p.small {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: #212529;
}

.hover-scale {
    transition: all 0.2s ease;
}


/* ===== PAGE TEMPLATE: new-books-list ===== */
.xelv-detail-template {
    background-color: #FDFBF7;
}

.detail-hero {
    height: 500px;
    overflow: hidden;
}

.detail-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    filter: brightness(0.7);
}

.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(33, 37, 41, 0) 0%, rgba(33, 37, 41, 0.4) 40%, rgba(33, 37, 41, 0.9) 100%);
    z-index: 2;
}

.detail-page-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: #FFFFFF;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.meta-item {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
}

.text-burgundy-light {
    color: #a50029 !important;
}

.article-body {
    border-radius: 4px;
    line-height: 1.8;
    font-family: 'Inter', sans-serif;
}

.article-intro {
    border-left: 5px solid #800020;
    padding-left: 1.5rem;
    font-style: italic;
}

.article-main-text h2,
.article-main-text h3 {
    font-family: 'Playfair Display', serif;
    color: #212529;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.text-dark-gray {
    color: #343A40;
}

.text-accent-burgundy {
    color: #800020;
}

.bg-burgundy {
    background-color: #800020 !important;
}

.border-burgundy {
    border-color: #800020 !important;
}

.avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.avatar-circle-sm {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.widget-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    border-bottom: 2px solid #E9ECEF;
    padding-bottom: 0.5rem;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #800020;
}

.text-hover-burgundy:hover {
    color: #800020 !important;
}

.hover-scale {
    transition: transform 0.2s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.placeholder-white-50::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

@media (max-width: 767.98px) {
    .detail-hero {
        height: 350px;
    }

    .article-body {
        padding: 1.5rem !important;
    }

    .avatar-wrapper {
        display: none;
    }
}

/* ===== PAGE TEMPLATE: authors-list ===== */
.xelv-header {
    background-color: #FDFBF7;
    border-bottom: 1px solid #E9ECEF;
    z-index: 1050;
}

.xelv-header .navbar-brand {
    transition: opacity 0.3s ease;
}

.xelv-header .js-header-logo {
    max-width: 45px;
    height: auto;
    object-fit: contain;
}

.xelv-header .xelv-brand-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #212529;
    letter-spacing: -0.02em;
}

.xelv-header .nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #212529 !important;
    padding: 1.5rem 1rem !important;
    position: relative;
}

.xelv-header .nav-link:hover {
    color: #800020 !important;
}

.xelv-header .xelv-cta-btn {
    font-family: 'Inter', sans-serif;
    background-color: #800020;
    color: #FFFFFF !important;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.xelv-detail-template .bg-burgundy {
    background-color: #800020;
}

.xelv-detail-template .text-burgundy {
    color: #800020;
}

.xelv-detail-template .text-dark-gray {
    color: #343A40;
}

.xelv-detail-template .text-secondary-light {
    color: #5A5A5A;
}

.xelv-detail-template .text-light-gray {
    color: #E0E0E0;
}

.xelv-detail-template .detail-hero {
    background-size: cover;
    background-position: center;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.xelv-detail-template .detail-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(33, 37, 41, 0.3) 0%, rgba(33, 37, 41, 0.8) 100%);
    z-index: 1;
}

.xelv-detail-template .detail-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    line-height: 1.2;
}

.xelv-detail-template .xelv-article-body {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #212529;
}

.xelv-detail-template .xelv-article-body h2,
.xelv-detail-template .xelv-article-body h3 {
    font-family: 'Playfair Display', serif;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: #343A40;
}

.xelv-detail-template .xelv-article-body p {
    margin-bottom: 1.5rem;
}

.xelv-detail-template .author-bio-box {
    background-color: #FDFBF7;
    border: 1px solid #E9ECEF;
}

.xelv-detail-template .sidebar-card {
    background-color: #FFFFFF;
    border: 1px solid #E9ECEF;
    border-radius: 4px;
}

.xelv-detail-template .sidebar-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.3rem;
    border-left: 4px solid #800020;
    padding-left: 15px;
}

.xelv-detail-template .avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.xelv-footer {
    background-color: #343A40;
    color: #FFFFFF;
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.xelv-footer .footer-logo {
    max-width: 50px;
}

.xelv-footer .footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.xelv-footer .footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #800020;
}

.xelv-footer .footer-nav {
    list-style: none;
    padding: 0;
}

.xelv-footer .footer-nav a {
    color: #E0E0E0;
    text-decoration: none;
    transition: color 0.4s ease;
}

.xelv-footer .footer-nav a:hover {
    color: #800020;
}

@media (max-width: 767.98px) {
    .xelv-detail-template .detail-title {
        font-size: 18px !important;
    }

    .xelv-detail-template .detail-subtitle {
        font-size: 16px !important;
    }

    .xelv-detail-template .xelv-article-body h2 {
        font-size: 16px !important;
    }

    .xelv-detail-template .xelv-article-body h3 {
        font-size: 14px !important;
    }

    .xelv-detail-template .detail-hero {
        min-height: 300px;
        padding: 0 15px;
    }

    .xelv-detail-template .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* ===== PAGE TEMPLATE: events-list ===== */
.xelv-event-detail {
    background-color: #FDFBF7;
    font-family: 'Inter', sans-serif;
}

.xelv-article-body {
    color: #212529;
    line-height: 1.8;
}

.xelv-article-body h1,
.xelv-article-body h2,
.xelv-article-body h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #212529;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.xelv-article-body p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.bg-burgundy {
    background-color: #800020 !important;
    color: #FFFFFF !important;
}

.text-accent-burgundy {
    color: #800020 !important;
}

.btn-burgundy-outline {
    border: 1px solid #800020;
    color: #800020;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-burgundy-outline:hover {
    background-color: #800020;
    color: #FFFFFF;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #800020 0%, #a50029 100%);
    border: none;
    color: #FFFFFF !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(128, 0, 32, 0.4);
}


.xelv-sidebar .widget-title {
    font-family: 'Playfair Display', serif;
    border-left: 4px solid #800020;
    padding-left: 1rem;
}

.xelv-sidebar .author-avatar {
    background: #800020;
}


.comment-card {
    transition: transform 0.3s ease;
}

.comment-card:hover {
    transform: translateX(5px);
}

.avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.avatar-circle-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.hover-scale {
    transition: transform 0.2s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.star-rating i {
    cursor: pointer;
    font-size: 1.25rem;
    color: #ddd;
    transition: color 0.2s;
}

.star-rating i.active {
    color: #800020;
}

@media (max-width: 767.98px) {
    .xelv-article-body p {
        font-size: 1rem;
        hyphens: auto;
    }

    .main-comment-container .avatar-wrapper {
        display: none;
    }

    .ms-3 {
        margin-left: 0 !important;
    }
}

/* ===== PAGE TEMPLATE: adaptations-list ===== */
.xelv-header {
    background-color: #FDFBF7;
    border-bottom: 1px solid #E9ECEF;
    z-index: 1050;
}

.xelv-header .xelv-brand-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #212529;
}

.xelv-header .nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #212529 !important;
    padding: 1.5rem 1rem !important;
}

.xelv-header .xelv-cta-btn {
    background-color: #800020;
    color: #FFFFFF !important;
}

.xelv-adaptation-detail .detail-hero {
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    position: relative;
}

.xelv-adaptation-detail .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.xelv-adaptation-detail .detail-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    line-height: 1.1;
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.xelv-adaptation-detail .bg-burgundy {
    background-color: #800020 !important;
}

.xelv-adaptation-detail .bg-cream {
    background-color: #FDFBF7;
}

.xelv-adaptation-detail .article-body {
    border-radius: 4px;
    line-height: 1.8;
    color: #343A40;
}

.xelv-adaptation-detail .section-subtitle {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    border-left: 4px solid #800020;
    padding-left: 1rem;
}

.xelv-adaptation-detail .rich-text-content h2,
.xelv-adaptation-detail .rich-text-content h3 {
    font-family: 'Playfair Display', serif;
    margin: 1.5rem 0 1rem;
    color: #212529;
}

.xelv-adaptation-detail .rich-text-content p {
    margin-bottom: 1.5rem;
}

.xelv-adaptation-detail .hover-scale {
    transition: transform 0.4s ease;
    cursor: pointer;
}

.xelv-adaptation-detail .hover-scale:hover {
    transform: scale(1.03);
}

.xelv-adaptation-detail .sidebar-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #212529;
}

.xelv-adaptation-detail .related-img-wrapper img {
    object-fit: cover;
    border-radius: 4px;
}

.xelv-adaptation-detail .btn-burgundy {
    background-color: #800020;
    color: #fff;
    border: none;
}

.xelv-adaptation-detail .btn-burgundy:hover {
    background-color: #600018;
    color: #fff;
}

.xelv-adaptation-detail .avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.xelv-adaptation-detail .avatar-circle-sm {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.xelv-adaptation-detail .text-accent-burgundy {
    color: #800020;
}

.xelv-adaptation-detail .border-burgundy {
    border-color: #800020 !important;
}

.xelv-adaptation-detail .newsletter-sidebar .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.xelv-footer {
    background-color: #343A40;
    color: #FFFFFF;
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.xelv-footer .footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.xelv-footer .footer-nav {
    list-style: none;
    padding: 0;
}

.xelv-footer .footer-nav a {
    color: #E0E0E0;
    text-decoration: none;
    transition: color 0.4s ease;
}

.xelv-footer .footer-nav a:hover {
    color: #800020;
}

@media (max-width: 767.98px) {
    .xelv-adaptation-detail .detail-hero {
        min-height: 300px;
    }

    .xelv-adaptation-detail .article-body {
        padding: 1.5rem !important;
    }

    .xelv-adaptation-detail .detail-title {
        font-size: 24px;
    }
}