/* ==========================================================================
   Luxury Villa Group — Blog Styles
   Palette: navy #0f1b2d · gold #c9a84c · cream #f7f5f0
   ========================================================================== */

/* ── Reset for blog area ─────────────────────────────────────────────────── */
.lvg-blog-main {
    background: #f7f5f0;
    min-height: 100vh;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.lvg-blog-hero {
    text-align: center;
    padding: 80px 24px 60px;
    background: #0f1b2d;
    position: relative;
    overflow: hidden;
}
.lvg-blog-hero::after {
    content: '';
    display: block;
    height: 3px;
    background: #c9a84c;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
.lvg-blog-hero__eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c9a84c;
    margin: 0 0 14px;
}
.lvg-blog-hero__title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 300;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin: 0 0 12px;
    line-height: 1.15;
}
.lvg-blog-hero__sub {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
}

/* ── Category filter bar ─────────────────────────────────────────────────── */
.lvg-blog-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 40px 24px 10px;
    background: #f7f5f0;
}
.lvg-blog-filter__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #6b7280;
    padding: 7px 18px;
    border: 1px solid #d5d0c8;
    border-radius: 40px;
    text-decoration: none;
    transition: all .2s ease;
    background: transparent;
}
.lvg-blog-filter__tag:hover {
    color: #0f1b2d;
    border-color: #c9a84c;
    background: rgba(201,168,76,0.07);
}
.lvg-blog-filter__tag--active {
    color: #0f1b2d;
    background: #c9a84c;
    border-color: #c9a84c;
}
.lvg-blog-filter__tag--active:hover {
    background: #b8963e;
    border-color: #b8963e;
}

/* ── Grid ────────────────────────────────────────────────────────────────── */
.lvg-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    max-width: 1320px;
    margin: 50px auto 0;
    padding: 0 40px;
}

/* Featured first post spans full width */
.lvg-post-card--featured {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0;
}
.lvg-post-card--featured .lvg-post-card__img-wrap {
    aspect-ratio: 16/10;
}
.lvg-post-card--featured .lvg-post-card__body {
    padding: 56px 56px 56px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.lvg-post-card--featured .lvg-post-card__title {
    font-size: clamp(20px, 2.2vw, 28px);
}
.lvg-post-card--featured .lvg-post-card__excerpt {
    -webkit-line-clamp: 4;
    max-height: none;
}

/* ── Individual post card ────────────────────────────────────────────────── */
.lvg-post-card {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow .3s ease;
}
.lvg-post-card:hover {
    box-shadow: 0 12px 48px rgba(15,27,45,0.12);
    z-index: 1;
    position: relative;
}

/* Image */
.lvg-post-card__img-wrap {
    display: block;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #e8e4dc;
    flex-shrink: 0;
}
.lvg-post-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .55s cubic-bezier(.25,.46,.45,.94);
}
.lvg-post-card:hover .lvg-post-card__img {
    transform: scale(1.04);
}

/* Placeholder (no featured image) */
.lvg-post-card__img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f1b2d 0%, #1e3352 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lvg-post-card__img-placeholder span {
    font-size: 36px;
    font-weight: 300;
    color: rgba(201,168,76,0.5);
    letter-spacing: 4px;
}

/* Body */
.lvg-post-card__body {
    padding: 28px 30px 34px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Category tag */
.lvg-post-card__cat {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 10px;
    display: block;
}

/* Title */
.lvg-post-card__title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    color: #0f1b2d;
    margin: 0 0 10px;
    letter-spacing: -.2px;
}
.lvg-post-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}
.lvg-post-card__title a:hover {
    color: #c9a84c;
}

/* Date */
.lvg-post-card__date {
    font-size: 11px;
    color: #9ca3af;
    letter-spacing: .5px;
    margin: 0 0 12px;
}

/* Excerpt */
.lvg-post-card__excerpt {
    font-size: 13.5px;
    line-height: 1.65;
    color: #4b5563;
    margin: 0 0 auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-bottom: 20px;
}

/* Read more */
.lvg-post-card__read-more {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #0f1b2d;
    text-decoration: none;
    border-bottom: 1px solid #c9a84c;
    padding-bottom: 2px;
    align-self: flex-start;
    transition: color .2s, border-color .2s;
    margin-top: 20px;
}
.lvg-post-card__read-more:hover {
    color: #c9a84c;
    border-color: transparent;
}

/* ── Pagination ──────────────────────────────────────────────────────────── */
.lvg-blog-pagination {
    max-width: 1320px;
    margin: 60px auto 80px;
    padding: 0 40px;
}
.lvg-blog-pagination .page-numbers {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.lvg-blog-pagination .page-numbers li a,
.lvg-blog-pagination .page-numbers li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    color: #0f1b2d;
    border: 1px solid #d5d0c8;
    text-decoration: none;
    transition: all .2s;
    background: #fff;
}
.lvg-blog-pagination .page-numbers li a:hover {
    border-color: #c9a84c;
    color: #c9a84c;
    background: rgba(201,168,76,0.06);
}
.lvg-blog-pagination .page-numbers li .current {
    background: #0f1b2d;
    border-color: #0f1b2d;
    color: #fff;
}

/* ── Empty state ─────────────────────────────────────────────────────────── */
.lvg-blog-empty {
    text-align: center;
    padding: 100px 24px;
    color: #9ca3af;
    font-size: 15px;
}

/* ══════════════════════════════════════════════════════════════════════════
   SINGLE POST — Luxury redesign
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Outer wrapper ────────────────────────────────────────────────────────── */
.lvg-single-wrap {
    background: #f7f5f0;
    min-height: 100vh;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.lvg-single-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.lvg-single-hero--has-image {
    background-image: var(--hero-img);
    background-size: cover;
    background-position: center;
}
.lvg-single-hero--no-image {
    background: #0f1b2d;
    min-height: 360px;
}
.lvg-single-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 17, 30, 0.88) 0%,
        rgba(10, 17, 30, 0.45) 55%,
        rgba(10, 17, 30, 0.15) 100%
    );
}
.lvg-single-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 40px 64px;
}
.lvg-single-hero__cat {
    display: inline-block;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #c9a84c;
    text-decoration: none;
    border: 1px solid rgba(201,168,76,0.45);
    padding: 5px 14px;
    border-radius: 40px;
    margin-bottom: 20px;
    transition: background .2s, border-color .2s;
}
.lvg-single-hero__cat:hover {
    background: rgba(201,168,76,0.15);
    border-color: #c9a84c;
}
.lvg-single-hero__title {
    font-size: clamp(26px, 3.8vw, 46px);
    font-weight: 300;
    color: #ffffff;
    line-height: 1.18;
    letter-spacing: -0.5px;
    margin: 0 0 20px;
    max-width: 780px;
}
.lvg-single-hero__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.lvg-single-hero__sep {
    color: rgba(201,168,76,0.6);
}
.lvg-single-hero__line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #c9a84c;
    z-index: 3;
}

/* ── Body wrapper ─────────────────────────────────────────────────────────── */
.lvg-single-body {
    max-width: 780px;
    margin: 0 auto;
    padding: 64px 40px 80px;
}

/* ── Article content ──────────────────────────────────────────────────────── */
.lvg-single-content {
    font-size: 16.5px;
    line-height: 1.85;
    color: #2a2a2a;
}
.lvg-single-content p {
    margin: 0 0 24px;
    color: #3a3a3a;
}
.lvg-single-content h2 {
    font-size: 22px;
    font-weight: 600;
    color: #0f1b2d;
    margin: 52px 0 18px;
    letter-spacing: -.25px;
    padding-top: 8px;
    border-top: 1px solid rgba(201,168,76,0.25);
}
.lvg-single-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0f1b2d;
    margin: 36px 0 14px;
    letter-spacing: -.15px;
}
.lvg-single-content ul,
.lvg-single-content ol {
    padding-left: 0;
    margin: 0 0 24px;
    list-style: none;
}
.lvg-single-content ul li,
.lvg-single-content ol li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    color: #3a3a3a;
    font-size: 16px;
    line-height: 1.75;
}
.lvg-single-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    background: #c9a84c;
    border-radius: 50%;
}
.lvg-single-content ol {
    counter-reset: lvg-ol;
}
.lvg-single-content ol li {
    counter-increment: lvg-ol;
}
.lvg-single-content ol li::before {
    content: counter(lvg-ol);
    position: absolute;
    left: 0;
    top: 0;
    color: #c9a84c;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.75;
}
.lvg-single-content strong {
    color: #0f1b2d;
    font-weight: 600;
}
.lvg-single-content em {
    color: #555;
    font-style: italic;
}
.lvg-single-content blockquote {
    margin: 36px 0;
    padding: 28px 32px;
    background: #ffffff;
    border-left: 3px solid #c9a84c;
    box-shadow: 0 2px 20px rgba(15,27,45,0.07);
    border-radius: 0 4px 4px 0;
}
.lvg-single-content blockquote p {
    font-size: 18px;
    font-weight: 300;
    color: #0f1b2d;
    font-style: italic;
    line-height: 1.7;
    margin: 0;
}
.lvg-single-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 32px auto;
    border-radius: 2px;
}
.lvg-single-content a {
    color: #0f1b2d;
    border-bottom: 1px solid #c9a84c;
    text-decoration: none;
    transition: color .2s;
}
.lvg-single-content a:hover {
    color: #c9a84c;
}
/* Hide default WP comment form on single posts */
.lvg-single-wrap .comments-area {
    display: none;
}

/* ── Back link ────────────────────────────────────────────────────────────── */
.lvg-single-back {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid #e0dcd5;
}
.lvg-single-back__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #0f1b2d;
    text-decoration: none;
    transition: color .2s, gap .2s;
}
.lvg-single-back__link:hover {
    color: #c9a84c;
    gap: 12px;
}
.lvg-single-back__arrow {
    display: inline-block;
    transition: transform .2s;
}
.lvg-single-back__link:hover .lvg-single-back__arrow {
    transform: translateX(-4px);
}

/* ── Related posts section ────────────────────────────────────────────────── */
.lvg-single-related {
    background: #0f1b2d;
    padding: 72px 0 80px;
}
.lvg-single-related__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.lvg-single-related__eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c9a84c;
    margin: 0 0 10px;
}
.lvg-single-related__heading {
    font-size: 28px;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: -.3px;
    margin: 0 0 40px;
}
.lvg-single-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}
.lvg-single-related__card {
    background: #fff;
    overflow: hidden;
    transition: box-shadow .3s;
}
.lvg-single-related__card:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}
.lvg-single-related__img-wrap {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #1e3352;
}
.lvg-single-related__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}
.lvg-single-related__card:hover .lvg-single-related__img {
    transform: scale(1.04);
}
.lvg-single-related__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f1b2d 0%, #1e3352 100%);
}
.lvg-single-related__placeholder span {
    font-size: 28px;
    font-weight: 300;
    color: rgba(201,168,76,0.5);
    letter-spacing: 3px;
}
.lvg-single-related__body {
    padding: 22px 24px 26px;
}
.lvg-single-related__cat {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 8px;
}
.lvg-single-related__title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #0f1b2d;
    margin: 0 0 8px;
    letter-spacing: -.1px;
}
.lvg-single-related__title a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}
.lvg-single-related__title a:hover {
    color: #c9a84c;
}
.lvg-single-related__date {
    font-size: 10.5px;
    color: #9ca3af;
    letter-spacing: .5px;
    margin: 0;
}

/* ── Single responsive ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .lvg-single-hero {
        min-height: 380px;
    }
    .lvg-single-hero__inner {
        padding: 0 20px 48px;
    }
    .lvg-single-body {
        padding: 40px 20px 60px;
    }
    .lvg-single-related__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .lvg-single-related__inner {
        padding: 0 20px;
    }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .lvg-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 24px;
    }
    .lvg-post-card--featured {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .lvg-blog-hero {
        padding: 60px 20px 50px;
    }
    .lvg-blog-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 16px;
        margin-top: 32px;
    }
    .lvg-post-card--featured {
        grid-template-columns: 1fr;
    }
    .lvg-post-card--featured .lvg-post-card__img-wrap {
        aspect-ratio: 4/3;
    }
    .lvg-post-card--featured .lvg-post-card__body {
        padding: 28px 24px 32px;
    }
    .lvg-blog-pagination {
        padding: 0 20px;
    }
}
