/* ==========================================================================
   VRI Layout — Containers, Page Wrappers, Hero, Content Area
   ========================================================================== */

/* --- Container --- */
.container {
    max-width: var(--vri-container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--vri-gap-xl);
    padding-right: var(--vri-gap-xl);
}

.container-narrow {
    max-width: var(--vri-container-narrow);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--vri-gap-xl);
    padding-right: var(--vri-gap-xl);
}

/* --- Page Wrapper --- */
#page-container {
    position: relative;
    background: var(--vri-color-page-bg);
}

/* River wave texture — Map section (homepage) and Area Guides landing */
.vri-section--map,
.vri-section--waves {
    background-color: var(--vri-sand-50);
    background-image: var(--vri-wave-light);
    background-repeat: repeat;
    background-size: 240px 80px;
}

#et-main-area {
    min-height: 50vh;
}

#main-content {
    position: relative;
}

/* --- Sticky sidebar support --- */
/* CRITICAL: override overflow:hidden on ancestors that break position:sticky */
.vri-listing-wrapper,
.vri-checkout-wrapper,
.vri-listing-content,
.vri-checkout-content {
    overflow: visible !important;
    overflow-x: visible !important;
}

/* Only clip overflow on the gallery (not the whole wrapper) */
@media (max-width: 768px) {
    .vri-listing-wrapper {
        overflow-x: clip !important; /* clip doesn't break sticky, hidden does */
    }
}

/* Ensure sticky works for listing booking card and checkout summary */
.vri-listing-sidebar-sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 24px !important;
}

/* Header is always fixed, so sidebar sticky accounts for it */
.vri-listing-sidebar-sticky {
    top: calc(var(--vri-header-height) + 16px) !important;
}

/* --- Entry Content --- */
.entry-content {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.entry-content > *:first-child {
    margin-top: 0;
}

/* --- Standard Page Template (page.php) --- */
.vri-page__inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 var(--vri-gap-xl);
}
.vri-page__header {
    background-color: var(--vri-sand-100);
    background-image: var(--vri-wave-light);
    background-repeat: repeat;
    background-size: 240px 80px;
    padding: var(--vri-gap-3xl) 0 var(--vri-gap-2xl);
    border-bottom: 1px solid rgba(62, 143, 187, 0.2);
    text-align: center;
}
.vri-page__title {
    font-family: var(--vri-font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--vri-color-primary);
    letter-spacing: -0.02em;
    margin: 0;
}
.vri-page__body {
    padding: var(--vri-gap-3xl) 0 var(--vri-gap-4xl);
    background: #fff;
}

/* Readable prose for legal / long-form pages */
.vri-prose {
    font-size: 16px;
    line-height: 1.75;
    color: #333;
}
.vri-prose h1,
.vri-prose h2,
.vri-prose h3,
.vri-prose h4 {
    font-family: var(--vri-font-heading);
    color: var(--vri-color-primary);
    letter-spacing: -0.01em;
    margin-top: 2em;
    margin-bottom: 0.6em;
    line-height: 1.25;
}
.vri-prose h2 { font-size: 1.6rem; font-weight: 700; }
.vri-prose h3 { font-size: 1.25rem; font-weight: 700; }
.vri-prose h4 { font-size: 1.05rem; font-weight: 700; }
.vri-prose p { margin: 0 0 1.1em; }
.vri-prose a {
    color: var(--vri-color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.vri-prose a:hover { color: var(--vri-color-link-hover); }
.vri-prose ul,
.vri-prose ol {
    margin: 0 0 1.3em;
    padding-left: 1.4em;
}
.vri-prose li { margin-bottom: 0.4em; }
.vri-prose strong { color: var(--vri-color-primary); font-weight: 700; }
.vri-prose blockquote {
    margin: 1.6em 0;
    padding: var(--vri-gap-md) var(--vri-gap-lg);
    border-left: 3px solid var(--vri-color-secondary);
    background: var(--vri-sand-100);
    border-radius: 0 var(--vri-radius-md) var(--vri-radius-md) 0;
    color: #444;
    font-style: italic;
}
.vri-prose hr {
    border: none;
    border-top: 1px solid rgba(62, 143, 187, 0.25);
    margin: 2.5em 0;
}
.vri-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.6em 0;
    font-size: 14px;
}
.vri-prose th,
.vri-prose td {
    padding: 10px 14px;
    border: 1px solid rgba(62, 143, 187, 0.25);
    text-align: left;
    vertical-align: top;
}
.vri-prose th {
    background: var(--vri-sand-100);
    color: var(--vri-color-primary);
    font-weight: 700;
}

/* --- Standard page layout --- */
.vri-content-area {
    display: flex;
    gap: var(--vri-gap-2xl);
    max-width: var(--vri-container-max);
    margin: 0 auto;
    padding: var(--vri-gap-2xl) var(--vri-gap-xl);
}

.vri-content-area .vri-main {
    flex: 1;
    min-width: 0;
}

.vri-content-area .vri-sidebar {
    flex: 0 0 300px;
}

/* --- Full-width layout --- */
.vri-full-width #main-content {
    max-width: 100%;
}

/* --- Page template with container --- */
.vri-page-content {
    max-width: var(--vri-container-narrow);
    margin: 0 auto;
    padding: var(--vri-gap-3xl) var(--vri-gap-xl);
}

/* --- WordPress block alignment --- */
.entry-content .alignwide {
    margin-left: calc(-1 * var(--vri-gap-xl));
    margin-right: calc(-1 * var(--vri-gap-xl));
    max-width: calc(100% + var(--vri-gap-xl) * 2);
}

.entry-content .alignfull {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}

/* ==========================================================================
   Hero Section (Front Page)
   ========================================================================== */

.vri-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--vri-color-primary);
}

.vri-hero__video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.vri-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gradient overlay for readability */
.vri-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 107, 157, 0.25) 0%,
        rgba(0, 107, 157, 0.05) 30%,
        rgba(0, 107, 157, 0.1) 60%,
        rgba(0, 107, 157, 0.5) 100%
    );
}

/* Hero Title & Subtitle */
.vri-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 var(--vri-gap-xl);
    margin-bottom: var(--vri-gap-xl);
}

.vri-hero__title {
    font-family: var(--vri-font-heading);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
    line-height: 1.05;
    margin: 0 0 var(--vri-gap-md);
    letter-spacing: -0.03em;
}

.vri-hero__title em {
    font-style: normal;
    font-weight: 300;
    color: var(--vri-color-secondary);
}

.vri-hero__subtitle {
    font-family: var(--vri-font-nav);
    font-size: clamp(0.85rem, 2vw, 1.05rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0;
}

/* Search bar — centered with hero content */
.vri-hero__search {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    padding: 0 var(--vri-gap-xl);
}

/* ==========================================================================
   Welcome Section
   ========================================================================== */

.vri-welcome {
    text-align: left;
    max-width: var(--vri-container-text);
    margin: 0 auto;
}

.vri-welcome__title {
    font-size: var(--vri-h1);
    text-align: center;
    margin-bottom: var(--vri-gap-xl);
    position: relative;
}

.vri-welcome__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--vri-color-secondary);
    border-radius: 2px;
    margin: var(--vri-gap-md) auto 0;
}

.vri-welcome__text p {
    font-size: 16px;
    line-height: 1.85;
    color: #444;
    margin-bottom: 1.2em;
}

.vri-welcome__text p:last-child {
    margin-bottom: 0;
}

.vri-welcome__text strong {
    color: var(--vri-color-primary);
    font-weight: 700;
}

.vri-welcome__eyebrow {
    text-align: center;
    font-family: var(--vri-font-nav);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--vri-color-secondary);
    margin-bottom: var(--vri-gap-md);
}

.vri-welcome__lede {
    text-align: center;
    font-family: var(--vri-font-heading);
    font-size: clamp(1.15rem, 1.9vw, 1.45rem);
    font-weight: 500;
    line-height: 1.5;
    color: var(--vri-color-primary);
    max-width: 720px;
    margin: 0 auto var(--vri-gap-2xl);
}

.vri-welcome__features {
    list-style: none;
    padding: 0;
    margin: var(--vri-gap-2xl) 0 0;
    display: grid;
    /* Viewport-adaptive: 4 cards on desktop, 2-3 on foldable / tablet,
       1 on phones — auto-fill handles the ~720-820 px unfolded range
       that fixed breakpoints used to force into a single column. */
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--vri-gap-md);
}

.vri-welcome__features li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: var(--vri-gap-lg) var(--vri-gap-md);
    background: #fff;
    border: 1.5px solid var(--vri-color-secondary);
    border-radius: var(--vri-radius-md);
    box-shadow: var(--vri-shadow-sm);
    transition: transform var(--vri-duration) var(--vri-ease),
                box-shadow var(--vri-duration) var(--vri-ease),
                border-color var(--vri-duration) var(--vri-ease);
}

.vri-welcome__features li:hover {
    transform: translateY(-2px);
    border-color: var(--vri-color-primary);
    box-shadow: var(--vri-shadow-md);
}

.vri-welcome__feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--vri-sand-100);
    color: var(--vri-color-primary);
    margin-bottom: 4px;
}
.vri-welcome__feature-icon svg {
    width: 22px;
    height: 22px;
}

.vri-welcome__feature-title {
    font-family: var(--vri-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--vri-color-primary);
    letter-spacing: -0.005em;
    line-height: 1.25;
}

.vri-welcome__feature-body {
    font-size: 12.5px;
    line-height: 1.5;
    color: #555;
}

/* Welcome features: auto-fill above handles all viewport widths. */

/* ==========================================================================
   Inner Page Hero Banner
   ========================================================================== */

.vri-page-hero {
    background: linear-gradient(135deg, var(--vri-color-primary) 0%, #004E73 50%, var(--vri-color-active-nav) 100%);
    padding: var(--vri-gap-4xl) 0 var(--vri-gap-3xl);
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay */
.vri-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
    background-size: 40px 40px;
    z-index: 0;
}

.vri-page-hero .container {
    position: relative;
    z-index: 1;
}

.vri-page-hero__title {
    color: #fff;
    margin-bottom: var(--vri-gap-sm);
    font-size: var(--vri-h1);
}

.vri-page-hero__subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    max-width: 600px;
}

/* ==========================================================================
   Search Results
   ========================================================================== */

.vri-search-result {
    padding: var(--vri-gap-lg) 0;
    border-bottom: 1px solid var(--vri-color-border-light);
    transition: background var(--vri-duration) var(--vri-ease);
}

.vri-search-result:hover {
    background: var(--vri-sand-50);
    margin: 0 calc(-1 * var(--vri-gap-md));
    padding-left: var(--vri-gap-md);
    padding-right: var(--vri-gap-md);
    border-radius: var(--vri-radius-sm);
}

.vri-search-result h2 {
    font-size: var(--vri-h4);
    margin-bottom: var(--vri-gap-xs);
}

.vri-search-result h2 a {
    color: var(--vri-color-primary);
    transition: color var(--vri-duration) var(--vri-ease);
}

.vri-search-result h2 a:hover {
    color: var(--vri-color-active-nav);
}

.entry-summary {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* ==========================================================================
   Welcome / Text Sections in Content
   ========================================================================== */

.entry-content h2 {
    margin-top: var(--vri-gap-2xl);
    margin-bottom: var(--vri-gap-md);
}

.entry-content p {
    line-height: 1.8;
    font-size: 16px;
}

/* ==========================================================================
   Checkout Sidebar Fix
   ========================================================================== */

/* Checkout summary: ensure white background */
.vri-checkout-summary {
    background: #fff !important;
    border-radius: var(--vri-radius-md);
    box-shadow: var(--vri-shadow-md);
}

.vri-checkout-summary-body {
    background: #fff !important;
}

/* Checkout sidebar sticky */
.vri-checkout-sidebar {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 24px !important;
}

.vri-checkout-sidebar {
    top: calc(var(--vri-header-height) + 16px) !important;
}

/* Override overflow on checkout wrapper too */
.vri-checkout-wrapper {
    overflow: visible !important;
}

/* ==========================================================================
   Fixed Header Offset — Push sticky/fixed shortcode elements below header
   ========================================================================== */

/* Results page sticky filter bar and map — must override plugin inline CSS */
div.vri-results-sticky-header {
    top: var(--vri-header-height) !important;
    z-index: 100 !important;
}

div.vri-results-map-section {
    top: var(--vri-header-height) !important;
    height: calc(100vh - var(--vri-header-height)) !important;
}

/* Results wrapper needs top padding for fixed header */
.vri-results-wrapper {
    padding-top: 0 !important;
}

/* Generic: any VRI shortcode wrapper that needs top spacing */
.vri-results-wrapper,
.vri-listing-wrapper,
.vri-checkout-wrapper,
.vri-availability-wrapper,
.vri-reservation-wrapper {
    padding-top: var(--vri-gap-md);
}

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

@media (max-width: 980px) {
    .vri-content-area {
        flex-direction: column;
        padding: var(--vri-gap-xl) var(--vri-gap-md);
    }

    .vri-content-area .vri-sidebar {
        flex: none;
        width: 100%;
    }

    .vri-page-content {
        padding: var(--vri-gap-xl) var(--vri-gap-md);
    }

    .vri-page-hero {
        padding: var(--vri-gap-3xl) 0 var(--vri-gap-2xl);
    }
}

@media (max-width: 767px) {
    .container {
        padding-left: var(--vri-gap-md);
        padding-right: var(--vri-gap-md);
    }

    .vri-page-content {
        padding: var(--vri-gap-lg) var(--vri-gap-md);
    }

    .vri-hero__content {
        padding: 0 var(--vri-gap-md);
    }

    .vri-hero__search {
        padding: 0 var(--vri-gap-md);
    }
}

/* ==========================================================================
   Blog — Archive (home.php) & Single (single.php)
   ========================================================================== */

/* --- Blog archive header --- */
.vri-blog-header {
    background-color: var(--vri-sand-100);
    background-image: var(--vri-wave-light);
    background-repeat: repeat;
    background-size: 240px 80px;
    padding: var(--vri-gap-4xl) 0 var(--vri-gap-3xl);
    text-align: center;
    border-bottom: 1px solid rgba(62, 143, 187, 0.2);
}
.vri-blog-header__eyebrow {
    font-family: var(--vri-font-nav);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--vri-color-secondary);
    margin: 0 0 var(--vri-gap-sm);
}
.vri-blog-header__title {
    font-family: var(--vri-font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--vri-color-primary);
    margin: 0 0 var(--vri-gap-md);
    line-height: 1.1;
}
.vri-blog-header__lede {
    max-width: 640px;
    margin: 0 auto;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.6;
    color: var(--vri-color-primary);
    opacity: 0.85;
}

/* --- Blog archive grid --- */
.vri-section--blog {
    padding: var(--vri-gap-3xl) 0 var(--vri-gap-4xl);
    background: #fff;
}
.vri-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: var(--vri-gap-2xl) var(--vri-gap-xl);
}
.vri-blog-grid--related {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--vri-gap-xl);
    margin-top: var(--vri-gap-lg);
}
.vri-blog-card {
    background: #fff;
    border-radius: var(--vri-radius-lg);
    overflow: hidden;
    border: 1px solid var(--vri-color-border-light);
    transition: transform var(--vri-duration) var(--vri-ease),
                box-shadow var(--vri-duration) var(--vri-ease),
                border-color var(--vri-duration) var(--vri-ease);
}
.vri-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--vri-shadow-lg);
    border-color: var(--vri-color-secondary);
}
.vri-blog-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.vri-blog-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--vri-sand-100);
}
.vri-blog-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--vri-ease);
}
.vri-blog-card:hover .vri-blog-card__img {
    transform: scale(1.04);
}
.vri-blog-card__img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--vri-sand-100), var(--vri-sand-300));
    color: var(--vri-color-primary);
    opacity: 0.5;
}
.vri-blog-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: var(--vri-gap-lg) var(--vri-gap-lg) var(--vri-gap-xl);
    flex: 1;
}
.vri-blog-card__cat {
    font-family: var(--vri-font-nav);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--vri-color-secondary);
}
.vri-blog-card__title {
    font-family: var(--vri-font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--vri-color-primary);
    margin: 0;
}
.vri-blog-card__excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}
.vri-blog-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #888;
    margin-top: auto;
}
.vri-blog-card__sep { opacity: 0.5; }
.vri-blog-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--vri-font-nav);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--vri-color-primary);
    margin-top: 4px;
    transition: gap var(--vri-duration) var(--vri-ease);
}
.vri-blog-card:hover .vri-blog-card__cta { gap: 10px; }

/* --- Pagination --- */
.vri-blog-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: var(--vri-gap-3xl);
}
.vri-blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--vri-color-border);
    border-radius: var(--vri-radius-full);
    color: var(--vri-color-primary);
    text-decoration: none;
    font-family: var(--vri-font-nav);
    font-size: 13px;
    font-weight: 600;
    background: #fff;
    transition: all var(--vri-duration) var(--vri-ease);
}
.vri-blog-pagination .page-numbers:hover,
.vri-blog-pagination .page-numbers.current {
    background: var(--vri-color-primary);
    border-color: var(--vri-color-primary);
    color: #fff;
}

/* --- Empty state --- */
.vri-blog-empty {
    text-align: center;
    padding: var(--vri-gap-4xl) var(--vri-gap-xl);
    color: var(--vri-color-primary);
}
.vri-blog-empty h2 {
    font-family: var(--vri-font-heading);
    color: var(--vri-color-primary);
    margin: 0 0 var(--vri-gap-sm);
}

/* ==========================================================================
   Single Post
   ========================================================================== */
.vri-post { background: #fff; }
.vri-post__header {
    background-color: var(--vri-sand-100);
    background-image: var(--vri-wave-light);
    background-repeat: repeat;
    background-size: 240px 80px;
    padding: var(--vri-gap-3xl) 0 var(--vri-gap-2xl);
    text-align: center;
    border-bottom: 1px solid rgba(62, 143, 187, 0.2);
}
.vri-post__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--vri-font-nav);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--vri-color-primary);
    text-decoration: none;
    opacity: 0.75;
    margin-bottom: var(--vri-gap-lg);
    transition: opacity var(--vri-duration) var(--vri-ease);
}
.vri-post__back:hover { opacity: 1; }
.vri-post__meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--vri-font-nav);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--vri-color-primary);
    opacity: 0.8;
    margin-bottom: var(--vri-gap-md);
    flex-wrap: wrap;
    justify-content: center;
}
.vri-post__cat {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--vri-color-secondary);
    font-weight: 700;
}
.vri-post__dot { opacity: 0.4; }
.vri-post__title {
    font-family: var(--vri-font-heading);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--vri-color-primary);
    margin: 0 0 var(--vri-gap-md);
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}
.vri-post__lede {
    font-family: var(--vri-font-heading);
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    font-weight: 500;
    line-height: 1.55;
    color: var(--vri-color-primary);
    opacity: 0.85;
    max-width: 720px;
    margin: 0 auto;
}
.vri-post__feature {
    background: #fff;
    padding: 0 0 var(--vri-gap-2xl);
    margin-top: calc(-1 * var(--vri-gap-2xl));
    position: relative;
    z-index: 1;
}
.vri-post__feature-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: cover;
    border-radius: var(--vri-radius-lg);
    box-shadow: var(--vri-shadow-lg);
}
.vri-post__body {
    padding: var(--vri-gap-2xl) 0 var(--vri-gap-4xl);
}
.vri-post__content {
    max-width: 720px;
    margin: 0 auto;
}
.vri-post__content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--vri-radius-md);
    margin: 1.8em 0;
}
.vri-post__tags {
    max-width: 720px;
    margin: var(--vri-gap-2xl) auto 0;
    padding-top: var(--vri-gap-lg);
    border-top: 1px solid var(--vri-color-border-light);
    font-size: 13px;
    color: #666;
}
.vri-post__tags-label {
    font-family: var(--vri-font-nav);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--vri-color-primary);
    margin-right: 6px;
}
.vri-post__tags a {
    color: var(--vri-color-primary);
    text-decoration: none;
    margin-right: 6px;
}
.vri-post__tags a:hover { text-decoration: underline; }
.vri-post__share {
    max-width: 720px;
    margin: var(--vri-gap-2xl) auto 0;
    padding: var(--vri-gap-lg);
    background: var(--vri-sand-100);
    border-radius: var(--vri-radius-md);
    text-align: center;
}
.vri-post__share-label {
    display: block;
    font-family: var(--vri-font-nav);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--vri-color-primary);
    margin-bottom: var(--vri-gap-sm);
}
.vri-post__share-row {
    display: inline-flex;
    gap: 10px;
}
.vri-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: var(--vri-color-primary);
    border: 1px solid var(--vri-color-border-light);
    text-decoration: none;
    font-size: 18px;
    transition: all var(--vri-duration) var(--vri-ease);
}
.vri-share-btn:hover {
    background: var(--vri-color-primary);
    color: #fff;
    border-color: var(--vri-color-primary);
    transform: translateY(-2px);
}
.vri-post__related {
    background: var(--vri-sand-50);
    padding: var(--vri-gap-3xl) 0 var(--vri-gap-4xl);
    border-top: 1px solid var(--vri-color-border-light);
}
.vri-post__related-title {
    font-family: var(--vri-font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--vri-color-primary);
    text-align: center;
    margin: 0 0 var(--vri-gap-xl);
    letter-spacing: -0.01em;
}

/* --- Blog responsive --- */
@media (max-width: 900px) {
    .vri-blog-grid { gap: var(--vri-gap-xl); }
    /* auto-fill above handles narrow widths */
}
