/**
 * Leo Blog — Mobile-first CSS
 * Charte graphique : Montserrat, #0B0B68 navy, #E5A92E gold
 * Direction : Editorial / magazine — luxury hospitality
 */

/* ========================================
   CSS Variables (design tokens)
   ======================================== */
:root {
    --leo-navy: #0B0B68;
    --leo-navy-dark: #070745;
    --leo-navy-light: #1a1a7a;
    --leo-gold: #E5A92E;
    --leo-gold-hover: #d49a1f;
    --leo-gold-soft: rgba(229, 169, 46, 0.12);
    --leo-text: #3E405B;
    --leo-text-light: #666666;
    --leo-text-muted: #929292;
    --leo-bg: #FFFFFF;
    --leo-bg-light: #F9F9FB;
    --leo-bg-alt: #EBEBEE;
    --leo-bg-warm: #FDFBF7;
    --leo-border: #E0E0E0;
    --leo-border-light: #F0F0F0;
    --leo-error: #e74c3c;
    --leo-success: #2F532E;
    --leo-success-bg: #D4E9D6;
    --leo-radius: 10px;
    --leo-radius-sm: 6px;
    --leo-radius-lg: 16px;
    --leo-shadow: 0 2px 12px rgba(11, 11, 104, 0.06);
    --leo-shadow-hover: 0 12px 32px rgba(11, 11, 104, 0.10);
    --leo-shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(11, 11, 104, 0.05);
    --leo-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --leo-font: 'Montserrat', sans-serif;
}

/* ========================================
   Base / Reset
   ======================================== */
.leo-blog-main {
    font-family: var(--leo-font);
    color: var(--leo-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.leo-blog-main *,
.leo-blog-main *::before,
.leo-blog-main *::after {
    box-sizing: border-box;
}

.leo-blog-container {
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 2vw;
    width: auto;
    position: relative;
}

/* ========================================
   Hero — Blog Listing (editorial style)
   ======================================== */
.leo-blog-hero {
    position: relative;
    background: var(--leo-navy);
    padding: 56px 0 48px;
    text-align: center;
    overflow: hidden;
}

/* Subtle diagonal gold accent line */
.leo-blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--leo-gold) 20%, var(--leo-gold) 80%, transparent 100%);
}

/* Subtle geometric pattern overlay */
.leo-blog-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(229, 169, 46, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.leo-blog-hero .leo-blog-container {
    position: relative;
    z-index: 1;
}

.leo-blog-hero-title {
    font-family: var(--leo-font);
    font-size: 32px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 8px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Gold decorative dash under title */
.leo-blog-hero-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--leo-gold);
    margin: 16px auto 0;
    border-radius: 2px;
}

.leo-blog-hero-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin: 16px auto 0;
    max-width: 520px;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

/* ========================================
   Category Filters (editorial tabs)
   ======================================== */
.leo-blog-filters {
    background: var(--leo-bg);
    border-bottom: 1px solid var(--leo-border);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.95);
}

.leo-blog-filter-pills {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.leo-blog-filter-pills::-webkit-scrollbar {
    display: none;
}

.leo-blog-filter-pill {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 16px 20px;
    font-family: var(--leo-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--leo-text-light);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--leo-transition);
}

.leo-blog-filter-pill:hover {
    color: var(--leo-navy);
    background: transparent;
}

.leo-blog-filter-pill.active {
    color: var(--leo-navy);
    background: transparent;
    border-bottom-color: var(--leo-gold);
    font-weight: 700;
}

/* ========================================
   Layout (mobile: stacked)
   ======================================== */
.leo-blog-content-section {
    padding: 32px 0 48px;
}

.leo-blog-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ========================================
   Blog Grid (listing)
   ======================================== */
.leo-blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* ========================================
   Blog Card (editorial)
   ======================================== */
.leo-blog-card {
    background: var(--leo-bg);
    border-radius: var(--leo-radius);
    overflow: hidden;
    box-shadow: var(--leo-shadow-card);
    border: 1px solid var(--leo-border-light);
    transition: transform var(--leo-transition), box-shadow var(--leo-transition), border-color var(--leo-transition);
}

.leo-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--leo-shadow-hover);
    border-color: var(--leo-gold);
}

.leo-blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.leo-blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--leo-bg-alt);
}

.leo-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.leo-blog-card:hover .leo-blog-card-image img {
    transform: scale(1.06);
}

.leo-blog-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--leo-text-muted);
    background: linear-gradient(135deg, var(--leo-bg-light) 0%, var(--leo-bg-alt) 100%);
}

.leo-blog-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-block;
    padding: 5px 14px;
    font-family: var(--leo-font);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--leo-navy);
    background: var(--leo-gold);
    border-radius: 3px;
}

.leo-blog-card-body {
    padding: 22px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.leo-blog-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--leo-text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.leo-blog-card-meta-sep {
    color: var(--leo-border);
}

.leo-blog-card-title {
    font-family: var(--leo-font);
    font-size: 17px;
    font-weight: 700;
    color: var(--leo-navy);
    margin: 0 0 10px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.leo-blog-card-excerpt {
    font-size: 13.5px;
    color: var(--leo-text-light);
    margin: 0 0 16px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.leo-blog-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--leo-gold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: gap var(--leo-transition), color var(--leo-transition);
}

.leo-blog-card:hover .leo-blog-card-readmore {
    color: var(--leo-gold-hover);
    gap: 10px;
}

/* Featured first card — editorial magazine layout */
.leo-blog-grid .leo-blog-card:first-child {
    border-left: 3px solid var(--leo-gold);
}

/* ========================================
   Pagination
   ======================================== */
.leo-blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.leo-blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-family: var(--leo-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--leo-text-light);
    background: transparent;
    border: 1px solid var(--leo-border);
    border-radius: var(--leo-radius-sm);
    text-decoration: none;
    transition: all var(--leo-transition);
}

.leo-blog-pagination .page-numbers:hover {
    background: var(--leo-gold-soft);
    border-color: var(--leo-gold);
    color: var(--leo-navy);
}

.leo-blog-pagination .page-numbers.current {
    background: var(--leo-navy);
    color: #FFFFFF;
    border-color: var(--leo-navy);
}

.leo-blog-pagination .page-numbers.dots {
    border: none;
    background: none;
    color: var(--leo-text-muted);
}

/* ========================================
   Empty State
   ======================================== */
.leo-blog-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--leo-text-muted);
}

.leo-blog-empty svg {
    margin-bottom: 16px;
    opacity: 0.4;
}

.leo-blog-empty h3 {
    font-family: var(--leo-font);
    font-size: 22px;
    font-weight: 700;
    color: var(--leo-navy);
    margin: 0 0 8px;
}

.leo-blog-empty p {
    font-size: 15px;
    margin: 0;
}

/* ========================================
   Sidebar (editorial)
   ======================================== */
.leo-blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.leo-blog-sidebar-block {
    background: var(--leo-bg);
    border: 1px solid var(--leo-border-light);
    border-left: 3px solid var(--leo-gold);
    border-radius: 0 var(--leo-radius-sm) var(--leo-radius-sm) 0;
    padding: 22px 20px;
}

.leo-blog-sidebar-title {
    font-family: var(--leo-font);
    font-size: 12px;
    font-weight: 700;
    color: var(--leo-navy);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--leo-border);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Categories list */
.leo-blog-sidebar-categories {
    list-style: none;
    margin: 0;
    padding: 0;
}

.leo-blog-sidebar-categories li {
    border-bottom: 1px solid var(--leo-bg-alt);
}

.leo-blog-sidebar-categories li:last-child {
    border-bottom: none;
}

.leo-blog-sidebar-categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--leo-text);
    text-decoration: none;
    transition: color var(--leo-transition);
}

.leo-blog-sidebar-categories a:hover,
.leo-blog-sidebar-categories a.active {
    color: var(--leo-gold);
}

.leo-blog-sidebar-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    font-size: 11px;
    font-weight: 700;
    color: var(--leo-text-muted);
    background: var(--leo-bg-alt);
    border-radius: 12px;
    padding: 0 8px;
}

/* Recent posts */
.leo-blog-sidebar-recent {
    list-style: none;
    margin: 0;
    padding: 0;
}

.leo-blog-sidebar-recent li {
    margin-bottom: 12px;
}

.leo-blog-sidebar-recent li:last-child {
    margin-bottom: 0;
}

.leo-blog-sidebar-recent a {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: opacity var(--leo-transition);
}

.leo-blog-sidebar-recent a:hover {
    opacity: 0.8;
}

.leo-blog-sidebar-recent-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: var(--leo-radius-sm);
    overflow: hidden;
    background: var(--leo-bg-alt);
}

.leo-blog-sidebar-recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.leo-blog-sidebar-recent-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
}

.leo-blog-sidebar-recent-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
}

.leo-blog-sidebar-recent-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--leo-navy);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.leo-blog-sidebar-recent-info time {
    font-size: 11px;
    color: var(--leo-text-muted);
}

/* Tags */
.leo-blog-sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.leo-blog-tag-pill {
    display: inline-block;
    padding: 4px 12px;
    font-family: var(--leo-font);
    font-size: 11px;
    font-weight: 600;
    color: var(--leo-text-light);
    background: transparent;
    border: 1px solid var(--leo-border);
    border-radius: 3px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all var(--leo-transition);
}

.leo-blog-tag-pill:hover {
    background: var(--leo-gold-soft);
    color: var(--leo-navy);
    border-color: var(--leo-gold);
}

/* Sidebar share */
.leo-blog-sidebar-share .leo-blog-share-buttons {
    flex-direction: column;
}

.leo-blog-sidebar-share .leo-blog-share-btn {
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    height: auto;
}

.leo-blog-sidebar-share .leo-blog-share-btn span {
    font-size: 13px;
    font-weight: 600;
}

/* ========================================
   Single Post — Hero (editorial)
   ======================================== */
.leo-blog-single-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    background-color: var(--leo-navy-dark);
}

.leo-blog-single-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--leo-gold);
    z-index: 2;
}

.leo-blog-single-hero-overlay {
    width: 100%;
    background: linear-gradient(
        transparent 0%,
        rgba(7, 7, 69, 0.6) 40%,
        rgba(7, 7, 69, 0.92) 75%,
        rgba(7, 7, 69, 0.97) 100%
    );
    padding: 80px 0 40px;
}

.leo-blog-single-hero-badge {
    display: inline-block;
    padding: 5px 16px;
    font-family: var(--leo-font);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--leo-navy);
    background: var(--leo-gold);
    border-radius: 3px;
    margin-bottom: 20px;
}

.leo-blog-single-hero-title {
    font-family: var(--leo-font);
    font-size: 28px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 20px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.leo-blog-single-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.leo-blog-single-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.leo-blog-single-hero-meta svg {
    opacity: 0.5;
}

/* ========================================
   Breadcrumb
   ======================================== */
.leo-blog-breadcrumb {
    background: var(--leo-bg-warm);
    border-bottom: 1px solid var(--leo-border-light);
    padding: 10px 0;
}

.leo-blog-breadcrumb .leo-blog-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    overflow-x: auto;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.leo-blog-breadcrumb a {
    color: var(--leo-text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--leo-transition);
}

.leo-blog-breadcrumb a:hover {
    color: var(--leo-gold);
}

.leo-blog-breadcrumb-sep {
    color: var(--leo-border);
    font-size: 10px;
}

.leo-blog-breadcrumb-current {
    color: var(--leo-navy);
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========================================
   Article Content (the_content())
   ======================================== */
.leo-blog-article {
    min-width: 0;
}

.leo-blog-article-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--leo-text);
}

.leo-blog-article-content h1,
.leo-blog-article-content h2,
.leo-blog-article-content h3,
.leo-blog-article-content h4,
.leo-blog-article-content h5,
.leo-blog-article-content h6 {
    font-family: var(--leo-font);
    color: var(--leo-navy);
    margin-top: 2em;
    margin-bottom: 0.6em;
    line-height: 1.3;
}

.leo-blog-article-content h2 { font-size: 26px; font-weight: 700; }
.leo-blog-article-content h3 { font-size: 22px; font-weight: 700; }
.leo-blog-article-content h4 { font-size: 18px; font-weight: 700; }

.leo-blog-article-content p {
    margin: 0 0 1.2em;
}

.leo-blog-article-content a {
    color: var(--leo-gold);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--leo-transition);
}

.leo-blog-article-content a:hover {
    color: var(--leo-gold-hover);
}

.leo-blog-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--leo-radius-sm);
    margin: 1.5em 0;
}

.leo-blog-article-content blockquote {
    margin: 2em 0;
    padding: 24px 28px;
    border-left: 3px solid var(--leo-gold);
    background: var(--leo-bg-warm);
    border-radius: 0 var(--leo-radius-sm) var(--leo-radius-sm) 0;
    font-style: italic;
    color: var(--leo-navy);
    position: relative;
}

.leo-blog-article-content blockquote::before {
    content: '\201C';
    position: absolute;
    top: -8px;
    left: 16px;
    font-size: 48px;
    font-weight: 800;
    color: var(--leo-gold);
    opacity: 0.3;
    line-height: 1;
    font-style: normal;
}

.leo-blog-article-content blockquote p:last-child {
    margin-bottom: 0;
}

.leo-blog-article-content ul,
.leo-blog-article-content ol {
    margin: 0 0 1.2em;
    padding-left: 1.5em;
}

.leo-blog-article-content li {
    margin-bottom: 0.4em;
}

.leo-blog-article-content pre,
.leo-blog-article-content code {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    background: var(--leo-bg-light);
    border-radius: 4px;
}

.leo-blog-article-content code {
    padding: 2px 6px;
}

.leo-blog-article-content pre {
    padding: 16px;
    overflow-x: auto;
    border: 1px solid var(--leo-border);
}

.leo-blog-article-content pre code {
    padding: 0;
    background: none;
}

.leo-blog-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 14px;
}

.leo-blog-article-content th,
.leo-blog-article-content td {
    padding: 10px 12px;
    border: 1px solid var(--leo-border);
    text-align: left;
}

.leo-blog-article-content th {
    background: var(--leo-navy);
    color: #FFFFFF;
    font-weight: 600;
}

.leo-blog-article-content figure {
    margin: 1.5em 0;
}

.leo-blog-article-content figcaption {
    font-size: 13px;
    color: var(--leo-text-muted);
    text-align: center;
    margin-top: 8px;
}

/* ========================================
   Article Tags
   ======================================== */
.leo-blog-article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 24px 0;
    border-top: 1px solid var(--leo-border);
    margin-top: 32px;
}

.leo-blog-article-tags-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--leo-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ========================================
   Social Share (editorial)
   ======================================== */
.leo-blog-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid var(--leo-border);
    flex-wrap: wrap;
}

.leo-blog-share-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--leo-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.leo-blog-share-buttons {
    display: flex;
    gap: 8px;
}

.leo-blog-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--leo-radius-sm);
    text-decoration: none;
    transition: all var(--leo-transition);
}

.leo-blog-share-btn svg {
    flex-shrink: 0;
}

.leo-blog-share-linkedin {
    background: var(--leo-bg-light);
    color: #0A66C2;
    border: 1px solid var(--leo-border);
}

.leo-blog-share-linkedin:hover {
    background: #0A66C2;
    color: #FFFFFF;
    border-color: #0A66C2;
}

.leo-blog-share-facebook {
    background: var(--leo-bg-light);
    color: #1877F2;
    border: 1px solid var(--leo-border);
}

.leo-blog-share-facebook:hover {
    background: #1877F2;
    color: #FFFFFF;
    border-color: #1877F2;
}

.leo-blog-share-twitter {
    background: var(--leo-bg-light);
    color: #14171A;
    border: 1px solid var(--leo-border);
}

.leo-blog-share-twitter:hover {
    background: #14171A;
    color: #FFFFFF;
    border-color: #14171A;
}

/* ========================================
   Author Box (editorial)
   ======================================== */
.leo-blog-author-box {
    display: flex;
    gap: 18px;
    padding: 24px;
    margin: 28px 0;
    background: var(--leo-bg-warm);
    border-radius: var(--leo-radius);
    border: 1px solid var(--leo-border-light);
    border-left: 3px solid var(--leo-navy);
}

.leo-blog-author-avatar {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--leo-gold);
}

.leo-blog-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.leo-blog-author-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--leo-gold);
}

.leo-blog-author-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--leo-navy);
    letter-spacing: -0.01em;
}

.leo-blog-author-bio {
    font-size: 13px;
    color: var(--leo-text-light);
    margin: 4px 0 0;
    line-height: 1.5;
}

/* ========================================
   Related Posts (editorial)
   ======================================== */
.leo-blog-related {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid var(--leo-border);
}

.leo-blog-related-title {
    font-family: var(--leo-font);
    font-size: 12px;
    font-weight: 700;
    color: var(--leo-navy);
    margin: 0 0 24px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--leo-border);
}

.leo-blog-related-title::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 3px;
    background: var(--leo-gold);
    margin-right: 10px;
    vertical-align: middle;
    border-radius: 2px;
}

.leo-blog-related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.leo-blog-related-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--leo-bg);
    border-radius: var(--leo-radius);
    overflow: hidden;
    box-shadow: var(--leo-shadow-card);
    border: 1px solid var(--leo-border-light);
    transition: transform var(--leo-transition), box-shadow var(--leo-transition), border-color var(--leo-transition);
}

.leo-blog-related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--leo-shadow-hover);
    border-color: var(--leo-gold);
}

.leo-blog-related-card-image {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: var(--leo-bg-alt);
}

.leo-blog-related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.leo-blog-related-card-body {
    padding: 16px;
}

.leo-blog-related-card-body time {
    font-size: 12px;
    color: var(--leo-text-muted);
    font-weight: 500;
}

.leo-blog-related-card-body h4 {
    font-family: var(--leo-font);
    font-size: 15px;
    font-weight: 700;
    color: var(--leo-navy);
    margin: 6px 0 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   Comments
   ======================================== */
.leo-blog-comments {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--leo-border);
}

.leo-blog-comments-title {
    font-family: var(--leo-font);
    font-size: 18px;
    font-weight: 700;
    color: var(--leo-navy);
    margin: 32px 0 24px;
    letter-spacing: -0.01em;
}

/* Comment notice */
.leo-blog-comment-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--leo-success-bg);
    color: var(--leo-success);
    border-radius: var(--leo-radius-sm);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

/* Comment form */
.leo-blog-comments .comment-respond {
    background: var(--leo-bg-light);
    border: 1px solid var(--leo-border);
    border-radius: var(--leo-radius);
    padding: 24px;
    margin-bottom: 24px;
}

.leo-blog-comments .comment-reply-title {
    font-family: var(--leo-font);
    font-size: 18px;
    font-weight: 700;
    color: var(--leo-navy);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.leo-blog-comments .comment-reply-title small a {
    font-size: 13px;
    font-weight: 500;
    color: var(--leo-text-muted);
    margin-left: 8px;
}

.leo-blog-comment-notes {
    font-size: 13px;
    color: var(--leo-text-muted);
    margin: 0 0 16px;
    font-style: italic;
}

.leo-blog-comment-field {
    margin-bottom: 16px;
}

.leo-blog-comment-field label {
    display: block;
    font-family: var(--leo-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--leo-navy);
    margin-bottom: 6px;
}

.leo-blog-comment-field .required {
    color: var(--leo-error);
}

.leo-blog-comment-field input,
.leo-blog-comment-field textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--leo-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--leo-text);
    background: var(--leo-bg);
    border: 2px solid var(--leo-border);
    border-radius: var(--leo-radius-sm);
    outline: none;
    transition: border-color var(--leo-transition);
}

.leo-blog-comment-field input:focus,
.leo-blog-comment-field textarea:focus {
    border-color: var(--leo-gold);
}

.leo-blog-comment-field textarea {
    resize: vertical;
    min-height: 120px;
}

.leo-blog-comment-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--leo-font);
    font-size: 12px;
    font-weight: 700;
    color: var(--leo-navy);
    background: var(--leo-gold);
    border: none;
    border-radius: var(--leo-radius-sm);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all var(--leo-transition);
}

.leo-blog-comment-submit:hover {
    background: var(--leo-gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(229, 169, 46, 0.25);
}

/* Comment list */
.leo-blog-comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.leo-blog-comment {
    margin-bottom: 0;
}

.leo-blog-comment-body {
    padding: 20px 0;
    border-bottom: 1px solid var(--leo-bg-alt);
}

.leo-blog-comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.leo-blog-comment-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.leo-blog-comment-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.leo-blog-comment-author {
    font-size: 14px;
    font-weight: 700;
    color: var(--leo-navy);
}

.leo-blog-comment-meta time {
    font-size: 12px;
    color: var(--leo-text-muted);
}

.leo-blog-comment-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--leo-text);
}

.leo-blog-comment-text p {
    margin: 0 0 0.8em;
}

.leo-blog-comment-text p:last-child {
    margin-bottom: 0;
}

.leo-blog-comment-moderation {
    font-size: 13px;
    font-style: italic;
    color: var(--leo-gold);
    margin: 8px 0 0;
}

.leo-blog-comment-actions {
    margin-top: 8px;
}

.leo-blog-comment-reply a {
    font-size: 12px;
    font-weight: 600;
    color: var(--leo-gold);
    text-decoration: none;
}

.leo-blog-comment-reply a:hover {
    color: var(--leo-gold-hover);
    text-decoration: underline;
}

/* Nested comments */
.leo-blog-comment-list .children {
    list-style: none;
    margin: 0;
    padding-left: 24px;
    border-left: 2px solid var(--leo-bg-alt);
}

/* ========================================
   Tablet (768px+)
   ======================================== */
@media (min-width: 768px) {

    .leo-blog-hero {
        padding: 64px 0 56px;
    }

    .leo-blog-hero-title {
        font-size: 40px;
    }

    .leo-blog-hero-title::after {
        width: 56px;
        margin-top: 20px;
    }

    .leo-blog-hero-subtitle {
        font-size: 15px;
    }

    .leo-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Featured first card spans full width */
    .leo-blog-grid .leo-blog-card:first-child {
        grid-column: 1 / -1;
    }

    .leo-blog-grid .leo-blog-card:first-child .leo-blog-card-link {
        flex-direction: row;
    }

    .leo-blog-grid .leo-blog-card:first-child .leo-blog-card-image {
        width: 55%;
        height: auto;
        min-height: 280px;
        flex-shrink: 0;
    }

    .leo-blog-grid .leo-blog-card:first-child .leo-blog-card-body {
        padding: 28px;
    }

    .leo-blog-grid .leo-blog-card:first-child .leo-blog-card-title {
        font-size: 22px;
        -webkit-line-clamp: 3;
    }

    .leo-blog-grid .leo-blog-card:first-child .leo-blog-card-excerpt {
        -webkit-line-clamp: 4;
        font-size: 14px;
    }

    .leo-blog-layout {
        flex-direction: row;
        gap: 36px;
    }

    .leo-blog-grid-wrapper,
    .leo-blog-article {
        flex: 1;
        min-width: 0;
    }

    .leo-blog-sidebar {
        width: 280px;
        flex-shrink: 0;
    }

    .leo-blog-single-hero {
        min-height: 380px;
    }

    .leo-blog-single-hero-title {
        font-size: 36px;
    }

    .leo-blog-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .leo-blog-comment-list .children {
        padding-left: 48px;
    }
}

/* ========================================
   Desktop (1024px+)
   ======================================== */
@media (min-width: 1024px) {

    .leo-blog-hero {
        padding: 80px 0 68px;
    }

    .leo-blog-hero-title {
        font-size: 44px;
    }

    .leo-blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Featured first card: full-width on 3-col grid */
    .leo-blog-grid .leo-blog-card:first-child .leo-blog-card-image {
        min-height: 320px;
    }

    .leo-blog-grid .leo-blog-card:first-child .leo-blog-card-body {
        padding: 36px;
        justify-content: center;
    }

    .leo-blog-grid .leo-blog-card:first-child .leo-blog-card-title {
        font-size: 26px;
    }

    .leo-blog-layout {
        gap: 44px;
    }

    .leo-blog-sidebar {
        width: 300px;
    }

    .leo-blog-single-hero {
        min-height: 440px;
    }

    .leo-blog-single-hero-title {
        font-size: 42px;
        max-width: 800px;
    }

    .leo-blog-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .leo-blog-card-image {
        height: 200px;
    }
}

/* ========================================
   Large Desktop (1200px+)
   ======================================== */
@media (min-width: 1200px) {

    .leo-blog-hero-title {
        font-size: 48px;
    }

    .leo-blog-sidebar {
        width: 300px;
    }
}

/* ========================================
   Wide Desktop (1440px+)
   ======================================== */
@media (min-width: 1440px) {

    .leo-blog-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Featured first card: 2 colonnes sur 4 */
    .leo-blog-grid .leo-blog-card:first-child {
        grid-column: span 2;
    }

    .leo-blog-grid .leo-blog-card:first-child .leo-blog-card-image {
        width: 100%;
        min-height: 240px;
    }

    .leo-blog-grid .leo-blog-card:first-child .leo-blog-card-link {
        flex-direction: column;
    }

    .leo-blog-grid .leo-blog-card:first-child .leo-blog-card-body {
        padding: 24px;
    }

    .leo-blog-grid .leo-blog-card:first-child .leo-blog-card-title {
        font-size: 22px;
    }

    .leo-blog-sidebar {
        width: 320px;
    }

    .leo-blog-layout {
        gap: 48px;
    }

    .leo-blog-related-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   Ultrawide (1920px+)
   ======================================== */
@media (min-width: 1920px) {

    .leo-blog-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 28px;
    }

    .leo-blog-sidebar {
        width: 340px;
    }

    .leo-blog-layout {
        gap: 56px;
    }

    .leo-blog-card-image {
        height: 220px;
    }

    .leo-blog-related-grid {
        grid-template-columns: repeat(4, 1fr);
    }

}

/* ========================================
   4K / Super Ultrawide (2560px+)
   ======================================== */
@media (min-width: 2560px) {

    .leo-blog-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 32px;
    }

    .leo-blog-grid .leo-blog-card:first-child {
        grid-column: span 3;
    }

    .leo-blog-grid .leo-blog-card:first-child .leo-blog-card-link {
        flex-direction: row;
    }

    .leo-blog-grid .leo-blog-card:first-child .leo-blog-card-image {
        width: 50%;
        min-height: 300px;
    }

    .leo-blog-grid .leo-blog-card:first-child .leo-blog-card-title {
        font-size: 26px;
    }

    .leo-blog-card-image {
        height: 240px;
    }

    .leo-blog-sidebar {
        width: 380px;
    }

    .leo-blog-related-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ========================================
   Lisibilité : textes longs toujours contraints
   ======================================== */
.leo-blog-single-hero-meta {
    max-width: 800px;
}

/* ========================================
   Print
   ======================================== */
@media print {
    .leo-blog-sidebar,
    .leo-blog-filters,
    .leo-blog-share,
    .leo-blog-comments,
    .leo-blog-related,
    .leo-blog-breadcrumb {
        display: none !important;
    }

    .leo-blog-layout {
        flex-direction: column;
    }

    .leo-blog-article-content {
        font-size: 12pt;
    }

    .leo-blog-single-hero {
        min-height: auto;
        background-image: none !important;
        background: var(--leo-navy);
    }

    .leo-blog-single-hero-overlay {
        padding: 20px 0;
    }
}
