/* ==========================================================================
   Visit Pietrelcina - Fresh Design
   ========================================================================== */

/* ---------- Variables ---------- */
:root {
    --vp-bg: #ffffff;
    --vp-text: #333;
    --vp-accent: #B8926A;
    --vp-secondary: #5B7B6F;
    --vp-heading: #1A1A2E;
    --vp-muted: #888;
    --vp-border: rgba(0,0,0,0.06);
    --vp-radius: 4px;
}

/* ---------- Hard Reset on GeneratePress Bloat ---------- */
.separate-containers .inside-article,
.separate-containers .comments-area,
.separate-containers .page-header,
.separate-containers .paging-navigation,
.one-container .site-content,
.inside-page-header,
.site-main .wp-block-group__inner-container {
    padding: 0 !important;
}

.separate-containers .widget,
.separate-containers .site-main > *,
.separate-containers .page-header,
.widget-area .main-navigation {
    margin-bottom: 0 !important;
}

.separate-containers .site-main {
    margin: 0 !important;
}

.inside-top-bar,
.inside-header {
    padding: 0 !important;
}

.footer-widgets {
    padding: 0 !important;
}

.one-container .sidebar .widget {
    padding: 0 !important;
}

/* Kill all the excess GeneratePress spacing */
.site-footer { margin-top: 0 !important; }
.site-content { padding-top: 0 !important; }

/* ---------- Body ---------- */
body {
    background: var(--vp-bg) !important;
    color: var(--vp-text) !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    line-height: 1.65 !important;
    -webkit-font-smoothing: antialiased;
    margin: 0 !important;
    padding: 0 !important;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6, .entry-title, .main-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    color: var(--vp-heading) !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    margin-top: 0 !important;
}

h1 { font-size: 2.2rem !important; margin-bottom: 0.6em !important; }
h2 { font-size: 1.6rem !important; margin-bottom: 0.5em !important; }
h3 { font-size: 1.25rem !important; margin-top: 2.5rem !important; margin-bottom: 0.4em !important; }

.entry-content h2 {
    margin-top: 2.5rem !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.entry-content h2::after { display: none; }

@media (max-width: 768px) {
    h1 { font-size: 1.7rem !important; }
    h2 { font-size: 1.35rem !important; }
}

a {
    color: var(--vp-accent) !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}
a:hover { color: var(--vp-secondary) !important; }

p {
    margin-bottom: 1.1em;
    font-size: 0.95rem;
}

blockquote {
    border-left: 3px solid var(--vp-accent) !important;
    padding: 0.8em 1.2em !important;
    margin: 1.5em 0 !important;
    background: #faf8f5 !important;
    border-radius: 0 var(--vp-radius) var(--vp-radius) 0 !important;
    font-style: italic;
    color: #555 !important;
}

/* ---------- Hero (Homepage) ---------- */
.home .site-header {
    display: block !important;
    background: url('hero-pietrelcina.jpg') center 40% / cover no-repeat !important;
    position: relative !important;
    height: 55vh !important;
    min-height: 320px !important;
    max-height: 500px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.home .site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.05) 0%,
        rgba(0,0,0,0.45) 100%
    );
}

.home .site-header .inside-header {
    position: relative;
    z-index: 2;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    height: 100% !important;
    padding: 0 2rem 2.5rem !important;
    max-width: 1100px;
    margin: 0 auto;
}

.home .site-header .site-logo,
.home .site-header .site-branding { display: none !important; }

.home .site-header .main-title a {
    color: #fff !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 3rem !important;
    font-weight: 500 !important;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3) !important;
}

@media (max-width: 768px) {
    .home .site-header {
        height: 40vh !important;
        min-height: 240px !important;
    }
    .home .site-header .inside-header { padding: 0 1.2rem 1.5rem !important; }
    .home .site-header .main-title a { font-size: 2rem !important; }
}

/* Non-homepage: no header banner, just nav */
body:not(.home) .site-header { display: none !important; }
body:not(.home) .generate-page-header,
body:not(.home) .page-header-image,
body:not(.home) .page-header-image-single { display: none !important; }

/* ---------- Navigation ---------- */
.main-navigation {
    background: #fff !important;
    box-shadow: 0 1px 0 var(--vp-border) !important;
    border-bottom: none !important;
    padding-top: 0.4rem !important;
}

.main-navigation .inside-navigation {
    max-width: 1100px;
    margin: 0 auto;
}

.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.main-navigation .mobile-bar-items a {
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: #555 !important;
    padding: 0.3rem 1rem !important;
    line-height: 44px !important;
    transition: color 0.2s !important;
}

/* Dropdown arrow spacing */
.main-navigation .main-nav ul li .dropdown-menu-toggle {
    padding-right: 0.3rem !important;
    padding-left: 0.15rem !important;
}

.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.sfHover > a {
    color: var(--vp-accent) !important;
    background: transparent !important;
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a {
    color: var(--vp-heading) !important;
    background: transparent !important;
    font-weight: 500 !important;
    border-bottom: none !important;
}

/* Dropdowns */
.main-navigation .main-nav ul ul {
    background: #fff !important;
    border: 1px solid var(--vp-border) !important;
    border-radius: var(--vp-radius) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08) !important;
    padding: 0.3rem 0 !important;
}

.main-navigation .main-nav ul ul li a {
    font-size: 0.78rem !important;
    line-height: 1.5 !important;
    padding: 0.4rem 1rem !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: #444 !important;
}

.main-navigation .main-nav ul ul li:hover > a {
    background: #f8f8f8 !important;
    color: var(--vp-accent) !important;
}

/* Mobile nav */
.mobile-header-navigation {
    background: #fff !important;
    box-shadow: 0 1px 0 var(--vp-border) !important;
}

.mobile-header-navigation .main-title a {
    color: var(--vp-heading) !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-weight: 500 !important;
    font-size: 1.3rem !important;
}

button.menu-toggle {
    color: #555 !important;
    background: transparent !important;
}

.slideout-navigation { background: #fff !important; }
.slideout-navigation .main-nav ul li a {
    color: var(--vp-heading) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    border-bottom: 1px solid #f0f0f0 !important;
    padding: 0.8rem 1.2rem !important;
}

/* ---------- Homepage Quick Links ---------- */
.vp-quicklinks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2.5rem 0;
}
.vp-quicklink {
    display: block;
    background: #faf8f5;
    border: 1px solid #e8e2da;
    border-radius: var(--vp-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    text-decoration: none !important;
    transition: box-shadow 0.2s, transform 0.2s;
}
.vp-quicklink:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.vp-quicklink h2 {
    margin: 0 0 0.5rem 0 !important;
    font-size: 1.3rem !important;
    color: var(--vp-heading) !important;
}
.vp-quicklink p {
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}
.vp-quicklink .vp-quicklink-btn {
    display: inline-block;
    background: var(--vp-accent);
    color: #fff !important;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
}
.vp-quicklink:hover .vp-quicklink-btn {
    background: var(--vp-secondary);
}
@media (max-width: 600px) {
    .vp-quicklinks {
        grid-template-columns: 1fr;
    }
}

/* ---------- Content ---------- */
.site.grid-container {
    max-width: 100% !important;
    padding: 0 !important;
}

.content-area {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 2rem 1.5rem !important;
}

.inside-article {
    background: transparent !important;
    padding: 0 !important;
}

.entry-content {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
}

@media (max-width: 768px) {
    .content-area { padding: 1.2rem 1rem !important; }
}

/* ---------- Images ---------- */
.entry-content img {
    border-radius: var(--vp-radius) !important;
    box-shadow: none !important;
    max-width: 100% !important;
    height: auto !important;
}

/* Restaurant page: uniform image sizing + text alignment */
.page-id-101 .entry-content img[style*="float"] {
    height: 200px !important;
    width: 280px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
}
.page-id-101 .entry-content div[style*="overflow"] h3 {
    margin-top: 0.15rem !important;
    margin-bottom: 0.35em !important;
}
.page-id-101 .entry-content div[style*="overflow"] p {
    margin-bottom: 0.5em !important;
}
.page-id-101 .entry-content > h2 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.5rem !important;
    font-weight: 500 !important;
    color: var(--vp-heading) !important;
    margin-bottom: 0.3em !important;
}
.page-id-101 .entry-content > h2 + p {
    margin-bottom: 2.5rem !important;
    padding-bottom: 1.5rem !important;
    border-bottom: 1px solid #eee !important;
}
/* Restaurant entries: card-like spacing */
.page-id-101 .entry-content div[style*="overflow"] {
    padding-bottom: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    border-bottom: 1px solid #f0f0f0 !important;
}
.page-id-101 .entry-content div[style*="overflow"]:last-of-type {
    border-bottom: none !important;
}

/* ---------- Video Embeds ---------- */
.embed-youtube,
.wp-block-embed__wrapper {
    border-radius: var(--vp-radius) !important;
    overflow: hidden !important;
    margin: 1.5rem 0 !important;
    max-width: 100% !important;
    box-shadow: none !important;
}

.embed-youtube iframe,
.wp-block-embed__wrapper iframe {
    max-width: 100% !important;
}

/* ---------- Buttons ---------- */
.entry-content button,
input[type="button"],
input[type="submit"],
a.button,
a.wp-block-button__link {
    background: var(--vp-heading) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 3px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    font-size: 0.82rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    padding: 0.65em 1.6em !important;
    transition: background 0.2s !important;
    box-shadow: none !important;
}

.entry-content button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
a.button:hover,
a.wp-block-button__link:hover {
    background: var(--vp-accent) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid #eee !important;
    margin-top: 2rem !important;
}

.site-info {
    background: var(--vp-heading) !important;
    color: rgba(255,255,255,0.6) !important;
    padding: 1.5rem 1rem !important;
    font-size: 0.8rem !important;
    text-align: center !important;
}

.site-info a { color: rgba(255,255,255,0.8) !important; }
.site-info a:hover { color: #fff !important; }

.footer-widgets {
    background: #fafafa !important;
    padding: 2rem 1.5rem !important;
    border-top: 1px solid #eee !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

.footer-widgets .widget-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    color: var(--vp-heading) !important;
    font-size: 1rem !important;
}

/* ---------- Widgets ---------- */
.sidebar .widget,
.footer-widgets .widget {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.widget-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 0.95rem !important;
    color: var(--vp-heading) !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

/* ---------- Meta ---------- */
.entry-meta {
    color: var(--vp-muted) !important;
    font-size: 0.8rem !important;
}

/* ---------- Back to Top ---------- */
a.generate-back-to-top {
    background: var(--vp-heading) !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 14px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    opacity: 0.7 !important;
}

a.generate-back-to-top:hover {
    opacity: 1 !important;
    background: var(--vp-accent) !important;
}

/* ---------- Forms ---------- */
input[type="text"],
input[type="email"],
input[type="search"],
textarea,
select {
    border: 1px solid #ddd !important;
    border-radius: 3px !important;
    padding: 0.5em 0.8em !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
}

input:focus, textarea:focus {
    border-color: var(--vp-accent) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* ---------- Pagination ---------- */
.paging-navigation a,
.page-numbers {
    font-size: 0.82rem !important;
    padding: 0.3em 0.7em !important;
}

.page-numbers.current {
    background: var(--vp-heading) !important;
    color: #fff !important;
}

/* ---------- Church / Mass Times Sections ---------- */
.vp-church-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.vp-church-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.vp-church-section h2 {
    margin-top: 0 !important;
    margin-bottom: 0.8rem !important;
}

.vp-church-section h3 {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: var(--vp-secondary) !important;
    margin-top: 1.2rem !important;
    margin-bottom: 0.3rem !important;
}

.vp-church-img {
    float: right;
    margin: 0 0 1rem 1.5rem;
    max-width: 280px;
}

.vp-church-img img {
    width: 100%;
    height: auto;
    border-radius: var(--vp-radius);
}

.vp-church-img figcaption {
    font-size: 0.78rem;
    color: var(--vp-muted);
    text-align: center;
    margin-top: 0.3rem;
    font-style: italic;
}

.vp-mass-list {
    list-style: none;
    padding: 0;
    margin: 0.3rem 0 0.8rem;
}

.vp-mass-list li {
    padding: 0.2rem 0;
    font-size: 0.92rem;
}

.vp-mass-list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--vp-accent);
    margin-right: 0.6rem;
    vertical-align: middle;
}

.vp-contact {
    font-size: 0.88rem;
    color: #666;
}

.vp-address {
    font-size: 0.88rem;
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

.vp-ext-link {
    display: block;
    max-width: 300px;
    text-align: center;
}

.vp-ext-link img {
    width: 100%;
    height: auto;
    border-radius: var(--vp-radius);
    transition: opacity 0.2s;
}

.vp-ext-link:hover img {
    opacity: 0.85;
}

.vp-ext-link span {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
}

@media (max-width: 600px) {
    .vp-church-img {
        float: none;
        margin: 0 0 1rem 0;
        max-width: 100%;
    }
}

/* ---------- Blog Listing — Card Grid ---------- */

/* Single article pages — default stacked styling */
.site-main > article {
    padding-bottom: 2rem !important;
    margin-bottom: 2rem !important;
    border-bottom: 1px solid #eee !important;
}
.site-main > article:last-of-type {
    border-bottom: none !important;
}

/* Post title */
.site-main > article .entry-title {
    font-size: 1.4rem !important;
    margin-bottom: 0.4rem !important;
}
.site-main > article .entry-title a {
    color: var(--vp-heading) !important;
    transition: color 0.2s !important;
}
.site-main > article .entry-title a:hover {
    color: var(--vp-accent) !important;
}

/* Single page entry content */
.site-main > article > .inside-article > .entry-content {
    font-size: 0.95rem;
    line-height: 1.7;
    max-height: none !important;
}
.site-main > article > .inside-article > .entry-content p {
    margin-bottom: 0.6em !important;
}

/* Entry meta (categories/tags) */
.site-main > article .entry-meta {
    margin-top: 0.8rem !important;
    padding-top: 0.6rem !important;
    font-size: 0.75rem !important;
    color: var(--vp-muted) !important;
}
.site-main > article .entry-meta .cat-links a,
.site-main > article .entry-meta .tags-links a {
    display: inline-block;
    background: #f3f0ec !important;
    color: var(--vp-accent) !important;
    padding: 0.15em 0.5em !important;
    border-radius: 3px !important;
    font-size: 0.72rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    margin-right: 0.3em;
}
.site-main > article .entry-meta .cat-links a:hover,
.site-main > article .entry-meta .tags-links a:hover {
    background: var(--vp-accent) !important;
    color: #fff !important;
}
.site-main > article .entry-meta .screen-reader-text {
    display: none;
}

/* ---- Blog listing & category pages: full-width + card grid ---- */
.blog .content-area,
.archive .content-area,
.category .content-area {
    width: 100% !important;
    max-width: 100% !important;
}
.blog #right-sidebar,
.archive #right-sidebar,
.category #right-sidebar {
    display: none !important;
}
/* Active category in nav */
.vp-blog-nav a.vp-active {
    background: var(--dot, var(--vp-accent)) !important;
    border-color: var(--dot, var(--vp-accent)) !important;
    color: #fff !important;
}
.vp-blog-nav a.vp-active::before {
    background: #fff;
}
/* Hide page header on category archives */
.archive .page-header-content,
.category .page-header-content {
    display: none !important;
}

/* Blog header */
.vp-blog-header {
    text-align: center;
    padding: 2rem 1rem 1.2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}
.vp-blog-header-icon {
    width: 80px;
    height: auto;
    margin: 0 auto 0.8rem;
    display: block;
    opacity: 0.85;
}
.vp-blog-header h1 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 2.2rem !important;
    font-weight: 500 !important;
    color: var(--vp-heading) !important;
    margin: 0 0 0.3rem 0 !important;
}
.vp-blog-header p {
    font-size: 0.95rem;
    color: var(--vp-muted);
    font-style: italic;
    margin: 0 0 1.2rem 0;
}
.vp-blog-header .vp-blog-toc-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--vp-muted);
    margin: 0 0 0.6rem 0;
}
.vp-blog-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.vp-blog-nav a {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--vp-accent) !important;
    border: 1.5px solid var(--vp-accent);
    border-radius: 20px;
    padding: 0.35em 1em;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s;
}
.vp-blog-nav a::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--dot, var(--vp-accent));
    margin-right: 0.4em;
    vertical-align: middle;
    position: relative;
    top: -0.5px;
}
.vp-blog-nav a:hover {
    background: var(--dot, var(--vp-accent));
    border-color: var(--dot, var(--vp-accent));
    color: #fff !important;
}
.vp-blog-nav a:hover::before {
    background: #fff;
}
.vp-blog-nav-secondary {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.3rem;
}
.vp-blog-nav-secondary a {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--vp-muted) !important;
    text-decoration: none !important;
    padding: 0.3em 0.6em;
    transition: color 0.2s;
}
.vp-blog-nav-secondary a:hover {
    color: var(--vp-accent) !important;
}

/* Blog category hub cards */
.vp-blog-cat-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none !important;
    transition: box-shadow 0.25s, transform 0.25s;
    position: relative;
}
.vp-blog-cat-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.vp-blog-cat-img {
    aspect-ratio: 3/2;
    overflow: hidden;
    position: relative;
}
.vp-blog-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.vp-blog-cat-card:hover .vp-blog-cat-img img {
    transform: scale(1.03);
}
/* Category pill overlaid on image */
.vp-blog-cat-pill {
    position: absolute;
    bottom: 0.6rem;
    left: 0.6rem;
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff !important;
    background: var(--cat-color, #B8926A);
    padding: 0.3em 0.8em;
    border-radius: 3px;
    z-index: 1;
}
.vp-blog-cat-info {
    padding: 0.8rem 1rem;
}
.vp-blog-cat-info h3 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    color: var(--vp-heading) !important;
    margin: 0 0 0.3rem 0 !important;
}
.vp-blog-cat-info p {
    font-size: 0.85rem;
    color: var(--vp-muted);
    margin: 0;
    line-height: 1.4;
}
.vp-blog-cat-card--wide {
    grid-column: span 2;
}
.vp-blog-featured .vp-mag-card {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fff;
    transition: box-shadow 0.25s;
}
.vp-blog-featured .vp-mag-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
    .vp-blog-featured .vp-mag-card {
        grid-template-columns: 1fr !important;
    }
    .vp-blog-cat-card--wide {
        grid-column: span 1;
    }
}

.blog .site-main,
.archive .site-main {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 1rem !important;
}

.blog .site-main > article,
.archive .site-main > article {
    background: #fff !important;
    border: 1px solid #eee !important;
    border-bottom: 1px solid #eee !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 380px !important;
    transition: box-shadow 0.25s, transform 0.25s;
}
.blog .site-main > article:hover,
.archive .site-main > article:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

/* Sticky post */
.blog .site-main > article.sticky {
    border: 2px solid var(--vp-accent) !important;
}

/* Inside article — padding for text content */
.blog .site-main > article > .inside-article,
.archive .site-main > article > .inside-article {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Featured image — card header */
.blog .site-main > article .post-image,
.archive .site-main > article .post-image {
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: hidden;
    flex-shrink: 0;
}
.blog .site-main > article .post-image img,
.archive .site-main > article .post-image img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 2 !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    display: block !important;
}

/* Entry header — padding inside card */
.blog .site-main > article .entry-header,
.archive .site-main > article .entry-header {
    padding: 1rem 1.2rem 0 !important;
}
.blog .site-main > article .entry-title,
.archive .site-main > article .entry-title {
    font-size: 1.15rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.3rem !important;
}

/* Entry content — truncated excerpt */
.blog .site-main > article > .inside-article > .entry-content,
.archive .site-main > article > .inside-article > .entry-content {
    padding: 0 1.2rem !important;
    font-size: 0.85rem !important;
    color: #666 !important;
    line-height: 1.55 !important;
    max-height: 4.8em !important;
    overflow: hidden !important;
    position: relative !important;
}
.blog .site-main > article > .inside-article > .entry-content::after,
.archive .site-main > article > .inside-article > .entry-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2em;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}

/* Hide inline images in blog card excerpts */
.blog .site-main > article > .inside-article > .entry-content img,
.archive .site-main > article > .inside-article > .entry-content img {
    display: none !important;
}

/* Hide h1 inside blog excerpt (some posts have h1 in content) */
.blog .site-main > article > .inside-article > .entry-content h1,
.archive .site-main > article > .inside-article > .entry-content h1 {
    display: none !important;
}

/* Entry meta inside card */
.blog .site-main > article .entry-meta,
.archive .site-main > article .entry-meta {
    padding: 0.6rem 1.2rem 1rem !important;
    margin-top: auto !important;
    border-top: none !important;
}

/* Pagination — spans full grid width */
.blog .paging-navigation,
.archive .paging-navigation {
    grid-column: 1 / -1 !important;
    margin-top: 1rem !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid #eee !important;
    text-align: center !important;
}
.paging-navigation .nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

/* Blog section headings — span full grid width */
.vp-blog-section-heading {
    grid-column: 1 / -1 !important;
    margin: 1.5rem 0 0.3rem 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.vp-blog-section-heading:first-child {
    margin-top: 0;
}
.vp-blog-section-heading .vp-mag-section-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.4rem !important;
    font-weight: 500 !important;
    color: var(--vp-heading) !important;
    margin: 0 !important;
    padding: 0;
    border: none;
}
/* Bold colour dot before section heading */
.vp-blog-section-heading::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cat-color, #B8926A);
    flex-shrink: 0;
}
/* Line after heading text */
.vp-blog-section-heading::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0dbd5;
}

/* First card after a section heading: feature it wider */
.vp-blog-section-heading + article {
    grid-column: 1 / -1 !important;
}
.vp-blog-section-heading + article > .inside-article {
    flex-direction: row !important;
    align-items: stretch;
}
.vp-blog-section-heading + article .post-image {
    flex: 0 0 40% !important;
    max-width: 40%;
}
.vp-blog-section-heading + article .entry-title {
    font-size: 1.3rem !important;
}
@media (max-width: 768px) {
    .vp-blog-section-heading + article > .inside-article {
        flex-direction: column !important;
    }
    .vp-blog-section-heading + article .post-image {
        flex: none !important;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .blog .site-main,
    .archive .site-main {
        grid-template-columns: 1fr !important;
    }
    .blog .site-main > article,
    .archive .site-main > article {
        max-width: 100% !important;
    }
}

/* ---------- Travel Page Images ---------- */
.vp-travel-img {
    margin: 0 0 1rem 0;
    max-width: 200px;
}

.vp-travel-img-right {
    float: right;
    margin: 0.2rem 0 1rem 1.5rem;
    clear: right;
}

.vp-travel-img-left {
    float: left;
    margin: 0.2rem 1.5rem 1rem 0;
    clear: left;
}

.vp-travel-img img {
    width: 100%;
    height: auto;
    border-radius: var(--vp-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.vp-travel-img figcaption {
    font-size: 0.75rem;
    color: var(--vp-muted);
    text-align: center;
    margin-top: 0.3rem;
    font-style: italic;
}

/* Trenitalia booking callout */
.vp-trenitalia-cta {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1.2rem;
    background: #f9f7f4;
    border-radius: var(--vp-radius);
    border: 1px solid #e8e2da;
}
.vp-trenitalia-cta img {
    display: block;
    margin: 0 auto 0.8rem auto;
    max-width: 160px;
    height: auto;
}
.vp-trenitalia-cta .vp-book-btn {
    display: inline-block;
    background: #006633;
    color: #fff !important;
    padding: 0.7rem 2rem;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s;
}
.vp-trenitalia-cta .vp-book-btn:hover {
    background: #004d26;
    text-decoration: none;
    color: #fff !important;
}

/* Full-width map below intro */
.vp-travel-map {
    margin: 1rem 0 2rem 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    display: block !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    float: none !important;
    clear: both !important;
    position: relative !important;
}
.vp-travel-map img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    float: none !important;
    border-radius: var(--vp-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.vp-travel-map figcaption {
    font-size: 0.75rem;
    color: var(--vp-muted);
    text-align: center;
    margin-top: 0.3rem;
    font-style: italic;
}

@media (max-width: 600px) {
    .vp-travel-img,
    .vp-travel-img-right,
    .vp-travel-img-left {
        float: none;
        margin: 0 auto 1rem auto;
        max-width: 100%;
    }
    .site-main > article > .inside-article > .entry-content img {
        float: none !important;
        max-width: 100% !important;
        margin: 0 0 0.8rem 0 !important;
    }
}

/* ---------- Image Lightbox ---------- */
.vp-lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.85);
    cursor: zoom-out;
    justify-content: center;
    align-items: center;
}
.vp-lightbox-overlay.active {
    display: flex;
}
.vp-lightbox-overlay img {
    max-width: 90vw;
    max-height: 65vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.vp-lightbox-overlay figcaption {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    max-width: 600px;
    color: #fff;
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.5);
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
}
.vp-lightbox-overlay figcaption strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}
.vp-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
    background: none;
    border: none;
    padding: 0;
}
.vp-lightbox-close:hover {
    opacity: 1;
}
.entry-content .vp-travel-img img,
.entry-content .vp-travel-map img,
.entry-content .vp-gallery-item img {
    cursor: zoom-in;
}

/* ---------- Magazine Page ---------- */
.vp-magazine-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.vp-magazine-card {
    display: block;
    padding: 1.2rem;
    border: 1px solid #eee;
    border-radius: var(--vp-radius);
    transition: border-color 0.2s, transform 0.2s;
}

.vp-magazine-card:hover {
    border-color: var(--vp-accent);
    transform: translateY(-2px);
}

.vp-magazine-card h3 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    color: var(--vp-heading) !important;
    margin-bottom: 0.3rem !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.vp-magazine-card p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.vp-contact-block {
    background: #faf8f5;
    border-radius: var(--vp-radius);
    padding: 1.2rem 1.5rem;
    margin-top: 2rem;
    border-left: 3px solid var(--vp-accent);
}

.vp-contact-block p {
    margin-bottom: 0.4em;
    font-size: 0.9rem;
}

/* ---------- Sermon Blockquote ---------- */
.vp-sermon {
    margin: 2rem 0;
    padding: 1.5rem 2rem 1.5rem 2.5rem;
    background: #faf8f5;
    border-left: 4px solid var(--vp-accent);
    border-radius: 0 var(--vp-radius) var(--vp-radius) 0;
    position: relative;
}
.vp-sermon::before {
    content: "\201C";
    position: absolute;
    top: 0.2rem;
    left: 0.6rem;
    font-size: 3rem;
    color: var(--vp-accent);
    opacity: 0.3;
    line-height: 1;
    font-family: Georgia, serif;
}
.vp-sermon-plain {
    border-left: none;
    border-right: 4px solid var(--vp-accent);
    border-radius: var(--vp-radius) 0 0 var(--vp-radius);
    padding: 1.5rem 2.5rem 1.5rem 2rem;
}
.vp-sermon-plain::before {
    content: none;
}
.vp-sermon h3 {
    margin-top: 1.5rem !important;
    font-size: 1.15rem !important;
    color: var(--vp-accent) !important;
}
.vp-sermon-heading {
    font-size: 1.4rem !important;
    margin-top: 2.5rem !important;
    margin-bottom: 0.3rem !important;
    color: var(--vp-heading) !important;
}
.vp-sermon-attribution {
    font-size: 0.85rem;
    color: var(--vp-muted);
    margin-bottom: 1rem;
    font-style: italic;
}
@media (max-width: 600px) {
    .vp-sermon {
        padding: 1rem 1rem 1rem 1.5rem;
    }
}

/* ---------- About Page Gallery ---------- */
.vp-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.8rem;
    margin: 1.5rem 0;
}
.vp-gallery-item {
    margin: 0;
    overflow: hidden;
    border-radius: var(--vp-radius);
}
.vp-gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--vp-radius);
    transition: transform 0.3s;
}
.vp-gallery-item img:hover {
    transform: scale(1.03);
}
@media (max-width: 600px) {
    .vp-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .vp-gallery-item img {
        height: 140px;
    }
}

/* ==========================================================================
   Magazine Editorial Layout
   ========================================================================== */

/* Magazine + Maps pages — full width, no sidebar */
.page-id-22 .content-area,
.page-id-27 .content-area {
    max-width: 1100px !important;
    width: 100% !important;
}
.page-id-22 #right-sidebar,
.page-id-27 #right-sidebar { display: none !important; }
.page-id-22 #primary,
.page-id-27 #primary {
    width: 100% !important;
    max-width: 100% !important;
}

/* Welcome header */
.vp-mag-welcome {
    text-align: center;
    padding: 1.5rem 0 1rem;
    margin-bottom: 0.5rem;
}
.vp-mag-welcome-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 2.2rem !important;
    font-weight: 500 !important;
    color: var(--vp-heading) !important;
    margin: 0 0 0.4rem 0 !important;
    line-height: 1.2 !important;
}
.vp-mag-welcome-sub {
    font-size: 1rem;
    color: var(--vp-muted);
    font-style: italic;
    margin: 0 0 1.5rem 0;
}
/* Signpost navigation */
.vp-mag-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}
.vp-mag-nav-item {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--vp-accent) !important;
    border: 1.5px solid var(--vp-accent);
    border-radius: 20px;
    padding: 0.4em 1.1em;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s;
}
.vp-mag-nav-item:hover {
    background: var(--vp-accent);
    color: #fff !important;
}
@media (max-width: 768px) {
    .vp-mag-welcome-title { font-size: 1.7rem !important; }
    .vp-mag-nav { gap: 0.5rem; }
    .vp-mag-nav-item { font-size: 0.72rem; padding: 0.35em 0.9em; }
}

/* Category tag pill */
.vp-mag-tag {
    display: inline-block;
    background: var(--vp-accent);
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2em 0.6em;
    border-radius: 3px;
    line-height: 1.4;
}
.vp-mag-tag--green { background: var(--vp-secondary); }
.vp-mag-tag--dark { background: var(--vp-heading); }

/* Section title */
.vp-mag-section-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.5rem !important;
    font-weight: 500 !important;
    color: var(--vp-heading) !important;
    margin: 3rem 0 0.3rem 0 !important;
    padding-bottom: 0 !important;
}
.vp-mag-section-sub {
    font-size: 0.88rem;
    color: var(--vp-muted);
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* Featured row — 3 large cards */
.vp-mag-featured {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.vp-mag-featured .vp-mag-card img {
    aspect-ratio: 4 / 3;
}
@media (max-width: 768px) {
    .vp-mag-featured {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

/* Card grid */
.vp-mag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}
@media (max-width: 600px) {
    .vp-mag-grid {
        grid-template-columns: 1fr;
    }
}

/* Individual card */
.vp-mag-card {
    display: block;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none !important;
    transition: box-shadow 0.25s, transform 0.25s;
}
.vp-mag-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
.vp-mag-card img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
    border-radius: 0 !important;
}
.vp-mag-card-body {
    padding: 1rem 1.2rem 1.2rem;
}
.vp-mag-card-body .vp-mag-tag {
    margin-bottom: 0.5rem;
}
.vp-mag-card-body h3 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    color: var(--vp-heading) !important;
    margin: 0 0 0.35rem 0 !important;
    line-height: 1.3 !important;
}
.vp-mag-card-body p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card without image */
.vp-mag-card--no-img .vp-mag-card-body {
    padding-top: 1.5rem;
}

/* Video thumbnail mosaic on magazine card */
.vp-vid-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    overflow: hidden;
}
.vp-vid-mosaic img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

/* Two-column watch row */
.vp-mag-watch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
}
@media (max-width: 600px) {
    .vp-mag-watch { grid-template-columns: 1fr; }
}

/* ---------- Video grid (YouTube-style) ---------- */
.vp-vid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.vp-vid-card {
    display: block;
    text-decoration: none !important;
    transition: transform 0.2s;
}
.vp-vid-card:hover {
    transform: translateY(-3px);
}
.vp-vid-thumb {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
}
.vp-vid-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s;
}
.vp-vid-card:hover .vp-vid-thumb img {
    opacity: 0.85;
}
.vp-vid-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    padding-left: 3px;
    transition: background 0.2s;
}
.vp-vid-card:hover .vp-vid-play {
    background: rgba(200,50,50,0.9);
}
.vp-vid-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--vp-heading);
    padding: 0.6rem 0.2rem 0;
    line-height: 1.3;
}
@media (max-width: 600px) {
    .vp-vid-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

/* ---- About Us page (page-id-471) ---- */
.page-id-471 .site-main article .entry-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    text-align: center !important;
    font-size: 1.9rem !important;
    font-weight: 500 !important;
    color: var(--vp-heading) !important;
    margin-bottom: 0.6em !important;
}
.page-id-471 .entry-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #3a3a3a;
}
.page-id-471 .entry-content h2 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.6rem !important;
    font-weight: 500 !important;
    color: var(--vp-heading) !important;
    margin: 2.5rem 0 1rem 0 !important;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}
.page-id-471 .entry-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 1rem !important;
}
.page-id-471 .entry-content .vp-about-img-right {
    float: right;
    margin: 0.3rem 0 1rem 1.5rem;
    max-width: 200px;
    border-radius: 6px;
}
.page-id-471 .entry-content .vp-about-img-left {
    float: left;
    margin: 0.3rem 1.5rem 1rem 0;
    max-width: 200px;
    border-radius: 6px;
}
.page-id-471 .entry-content .vp-about-img-center {
    display: block;
    margin: 1.5rem auto;
    max-width: 400px;
    border-radius: 6px;
}
.page-id-471 .entry-content .vp-about-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
    margin: 1.5rem 0;
    clear: both;
}
.page-id-471 .entry-content .vp-about-gallery img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 6px;
}
.page-id-471 .entry-content .clearfix::after {
    content: '';
    display: table;
    clear: both;
}
@media (max-width: 600px) {
    .page-id-471 .entry-content .vp-about-img-right,
    .page-id-471 .entry-content .vp-about-img-left {
        float: none;
        display: block;
        margin: 1rem auto;
        max-width: 100%;
    }
}

/* ---- Single blog post pages ---- */
.single-post .content-area {
    width: 100% !important;
    max-width: 100% !important;
}
.single-post #right-sidebar {
    display: none !important;
}
/* Clean page header area */
.single-post .page-header-content {
    display: none !important;
}
/* Blog post header bar */
.vp-post-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}
.vp-post-header-back {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--vp-accent) !important;
    text-decoration: none !important;
    white-space: nowrap;
    padding-right: 0.8rem;
    border-right: 1px solid #e0dbd5;
}
.vp-post-header-back:hover {
    text-decoration: underline !important;
}
.vp-post-cat-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.6rem;
    align-items: center;
}
.vp-post-cat-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    color: #5a5248 !important;
    text-decoration: none !important;
    transition: color 0.2s;
}
.vp-post-cat-nav a::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--dot, var(--vp-accent));
    flex-shrink: 0;
}
.vp-post-cat-nav a:hover {
    color: var(--vp-accent) !important;
}
/* Entry title */
.single-post .entry-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 2.2rem !important;
    font-weight: 500 !important;
    color: var(--vp-heading) !important;
    text-align: center !important;
    max-width: 700px;
    margin: 1.5rem auto 0.5rem !important;
    line-height: 1.25 !important;
}
/* Category tag under title */
.single-post .entry-meta .cat-links {
    display: block;
    text-align: center;
    margin-bottom: 1.5rem;
}
.single-post .entry-meta .cat-links a {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff !important;
    background: var(--vp-accent);
    padding: 0.25em 0.7em;
    border-radius: 3px;
    text-decoration: none !important;
    margin: 0 0.2rem;
}
/* Featured image — cleaner */
.single-post .post-image {
    max-width: 700px;
    margin: 0 auto 1.5rem !important;
}
.single-post .post-image img {
    width: 100%;
    border-radius: 6px !important;
    aspect-ratio: 16/9;
    object-fit: cover;
}
/* Entry content — readable width */
.single-post .entry-content {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #3a3a3a;
}
.single-post .entry-content p {
    margin-bottom: 1.2em;
}
.single-post .entry-content img {
    border-radius: 6px;
    max-width: 100%;
    height: auto;
}
/* Hide print/PDF buttons */
.single-post .pmb-print-this-page,
.single-post .entry-content .wp-block-button {
    display: none !important;
}
/* Entry footer meta */
.single-post footer.entry-meta {
    max-width: 700px;
    margin: 2rem auto 0 !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid #eee !important;
    font-size: 0.85rem;
    text-align: center;
}
.single-post footer.entry-meta .tags-links {
    display: block;
    margin-top: 0.3rem;
}
/* Post navigation — clean */
.single-post .post-navigation {
    max-width: 700px;
    margin: 1.5rem auto !important;
    padding: 1rem 0 !important;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}
.single-post .post-navigation .nav-previous,
.single-post .post-navigation .nav-next {
    max-width: 45%;
}
.single-post .post-navigation a {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--vp-accent) !important;
    text-decoration: none !important;
}
.single-post .post-navigation a:hover {
    text-decoration: underline !important;
}
.single-post .post-navigation .prev::before { content: '\2190  '; }
.single-post .post-navigation .next::after { content: '  \2192'; }

/* Post table-of-contents panel */
.vp-post-toc {
    max-width: 700px;
    margin: 2rem auto;
    padding: 1.5rem 2rem;
    background: #faf8f5;
    border-radius: 8px;
    border: 1px solid #ece6de;
}
.vp-post-toc-top {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #e8e0d6;
}
.vp-post-toc-top img {
    width: 40px;
    height: auto;
    opacity: 0.8;
}
.vp-post-toc-top h3 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    color: var(--vp-heading) !important;
    margin: 0 !important;
}
.vp-post-toc-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 2rem;
}
.vp-post-toc-columns a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #4a3728 !important;
    text-decoration: none !important;
    padding: 0.35rem 0;
    transition: color 0.2s;
}
.vp-post-toc-columns a:hover {
    color: var(--vp-accent) !important;
}
.vp-post-toc-columns a::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--dot);
    flex-shrink: 0;
}
.vp-post-toc-columns .vp-toc-count {
    font-size: 0.7rem;
    color: var(--vp-muted);
    margin-left: auto;
}
.vp-post-toc-links {
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid #e8e0d6;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.2rem;
}
.vp-post-toc-links a {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: var(--vp-accent) !important;
    text-decoration: none !important;
    font-weight: 500;
}
.vp-post-toc-links a:hover {
    text-decoration: underline !important;
}
@media (max-width: 600px) {
    .vp-post-toc-columns {
        grid-template-columns: 1fr;
    }
    .vp-post-toc {
        padding: 1.2rem 1rem;
    }
}

/* ---------- Stations of the Resurrection ---------- */
.postid-1419 .content-area { width: 100% !important; max-width: 100% !important; }
.postid-1419 #right-sidebar { display: none !important; }
.postid-1419 .entry-content { max-width: 800px; margin: 0 auto; }
.postid-1419 .entry-title {
    font-family: 'Playfair Display', serif !important;
    text-align: center !important;
    font-size: 2.2rem !important;
    color: var(--vp-heading) !important;
    margin-bottom: 0.5rem !important;
}

.vp-station {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}
.vp-station:last-child { border-bottom: none; }

.vp-station-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--vp-accent);
    line-height: 1;
    min-width: 55px;
    text-align: center;
    flex-shrink: 0;
    opacity: 0.6;
}

.vp-station-body {
    flex: 1;
    min-width: 0;
}

.vp-station-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--vp-heading);
    margin: 0.3rem 0 0.2rem;
    line-height: 1.3;
}

.vp-station-img {
    flex-shrink: 0;
    width: 180px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.vp-station-img:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

.vp-station-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    font-size: 1rem;
    color: var(--vp-muted);
    font-style: italic;
    line-height: 1.6;
}

/* Lightbox */
.vp-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.vp-lightbox-overlay.active { display: flex; }

.vp-lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.vp-lightbox-caption {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-top: 1rem;
    text-align: center;
    opacity: 0.9;
}

.vp-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    background: none;
    border: none;
    font-family: sans-serif;
    z-index: 100000;
}
.vp-lightbox-close:hover { opacity: 1; }

.vp-lightbox-prev,
.vp-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    background: none;
    border: none;
    padding: 1rem;
    z-index: 100000;
}
.vp-lightbox-prev { left: 1rem; }
.vp-lightbox-next { right: 1rem; }
.vp-lightbox-prev:hover,
.vp-lightbox-next:hover { opacity: 1; }

.vp-lightbox-counter {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

@media (max-width: 600px) {
    .vp-station {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .vp-station-img {
        width: 220px;
        order: -1;
    }
    .vp-station-num {
        font-size: 2rem;
        min-width: auto;
    }
    .vp-lightbox-prev,
    .vp-lightbox-next {
        font-size: 1.8rem;
        padding: 0.5rem;
    }
}

/* ---------- Utility ---------- */
* { scroll-behavior: smooth; }

@media print {
    .main-navigation, .site-footer, .generate-back-to-top, .slideout-navigation { display: none !important; }
}
