/*
Theme Name: Estilo de Vida
Theme URI: https://estilodevidatv.com
Author: Estilo de Vida Productions
Author URI: https://estilodevidatv.com
Description: A sleek, modern, cinematic WordPress theme for "Estilo de Vida" — a Spanish-language streaming program empowering today's Latina woman with solutions for life, health, nutrition, finances, and home. Features a full-bleed photo hero, royal-blue category bar, advertiser banner zones, social widgets (Facebook, Instagram), RSS support, and full Gutenberg compatibility.
Version: 1.1.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: estilo-de-vida
Tags: blog, news, magazine, two-columns, right-sidebar, custom-menu, custom-logo, featured-images, full-width-template, theme-options, threaded-comments, translation-ready
*/

/* ==========================================================================
   Estilo de Vida — Cinematic Magazine Layout
   Royal Blue + White, with brand-gradient accents.
   ========================================================================== */

:root {
    --edv-blue: #1e3a8a;
    --edv-blue-dark: #0f1f5e;
    --edv-blue-light: #3b5ec9;
    --edv-white: #ffffff;
    --edv-cream: #fbf8f1;
    --edv-cream-2: #f4eee0;
    --edv-ink: #0f1437;
    --edv-muted: #5a6285;
    --edv-border: #e6eaf5;
    --edv-pink: #ff3b8a;
    --edv-orange: #ff8a3b;
    --edv-violet: #a23bff;
    --edv-gradient: linear-gradient(90deg, #ff8a3b 0%, #ff3b8a 50%, #a23bff 100%);
    --edv-shadow-sm: 0 2px 8px rgba(20, 40, 97, 0.06);
    --edv-shadow-md: 0 12px 36px rgba(20, 40, 97, 0.12);
    --edv-shadow-lg: 0 28px 70px rgba(20, 40, 97, 0.18);
    --edv-radius: 14px;
    --edv-radius-lg: 26px;
    --edv-font-display: "Playfair Display", "Georgia", serif;
    --edv-font-script: "Dancing Script", "Playfair Display", cursive;
    --edv-font-body: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--edv-font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--edv-ink);
    background: var(--edv-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--edv-blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--edv-pink); }
a:focus-visible { outline: 2px solid var(--edv-blue); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--edv-font-display);
    color: var(--edv-ink);
    line-height: 1.15;
    margin: 0 0 .6em;
    font-weight: 700;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1.1em; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }

/* ===== Header (cinematic, transparent over hero) ===== */
.edv-header {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 22px 0;
}
.edv-header.is-page {
    position: relative;
    background: var(--edv-blue-dark);
}
.edv-header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}
.edv-menu-toggle {
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background .2s ease;
}
.edv-menu-toggle:hover { background: rgba(255,255,255,.12); }
.edv-menu-toggle svg { width: 28px; height: 28px; }
.edv-logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.edv-logo img {
    max-height: 56px;
    width: auto;
    transition: filter .2s ease;
}
.edv-header:not(.is-solid):not(.is-page) .edv-logo img {
    filter: brightness(0) invert(1) drop-shadow(0 1px 4px rgba(0,0,0,.35));
}
.edv-social-row {
    display: flex;
    gap: 10px;
    align-items: center;
}
.edv-social-row a { color: rgba(255,255,255,.85); }
.edv-social-row a:hover { color: #fff; }
.edv-social-row svg { width: 22px; height: 22px; }

/* Sticky header on scroll */
body.scrolled .edv-header:not(.is-page) {
    position: fixed;
    background: rgba(15, 31, 94, 0.96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: var(--edv-shadow-md);
    padding: 12px 0;
    animation: edvSlideDown .25s ease;
}
body.scrolled .edv-header:not(.is-page) .edv-logo img {
    filter: brightness(0) invert(1);
}
@keyframes edvSlideDown {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}

/* ===== Slide-out Drawer ===== */
.edv-drawer {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    pointer-events: none;
    visibility: hidden;
}
.edv-drawer.is-open {
    pointer-events: auto;
    visibility: visible;
}
.edv-drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,20,50,.55);
    opacity: 0;
    transition: opacity .3s ease;
    cursor: pointer;
}
.edv-drawer.is-open .edv-drawer-overlay { opacity: 1; }
.edv-drawer-panel {
    position: relative;
    width: min(340px, 88vw);
    background: #fff;
    height: 100%;
    overflow-y: auto;
    padding: 28px 30px 60px;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.25,.46,.45,.94);
    box-shadow: var(--edv-shadow-lg);
}
.edv-drawer.is-open .edv-drawer-panel { transform: translateX(0); }
.edv-drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--edv-ink);
    padding: 6px;
    float: right;
    border-radius: 6px;
}
.edv-drawer-close:hover { background: var(--edv-cream); }
.edv-drawer-close svg { width: 24px; height: 24px; }
.edv-drawer-logo { margin: 36px 0 28px; }
.edv-drawer-logo img { max-height: 48px; }
.edv-drawer-panel nav ul { list-style: none; padding: 0; margin: 0; }
.edv-drawer-panel nav li { border-bottom: 1px solid var(--edv-border); }
.edv-drawer-panel nav a {
    display: block;
    padding: 14px 0;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--edv-ink);
    transition: color .15s, padding-left .15s;
}
.edv-drawer-panel nav a:hover { color: var(--edv-pink); padding-left: 4px; }
.edv-drawer-social {
    display: flex;
    gap: 14px;
    margin-top: 32px;
}
.edv-drawer-social a { color: var(--edv-muted); }
.edv-drawer-social a:hover { color: var(--edv-pink); }
.edv-drawer-social svg { width: 22px; height: 22px; }

/* ===== Hero ===== */
.edv-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--edv-blue-dark);
}
.edv-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.edv-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15,31,94,.82) 0%,
        rgba(30,58,138,.50) 55%,
        rgba(15,31,94,.20) 100%
    );
}
.edv-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 140px 28px 90px;
    max-width: 1280px;
    margin: 0 auto;
}
.edv-hero-copy { max-width: 640px; }
.edv-hero-copy h1 {
    color: #fff;
    font-style: italic;
    margin-bottom: .35em;
    text-shadow: 0 2px 18px rgba(0,0,0,.3);
}
.edv-script {
    font-family: var(--edv-font-script);
    font-style: normal;
    background: var(--edv-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}
.edv-hero-eyebrow {
    color: rgba(255,255,255,.78);
    font-size: .78rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 28px;
    font-weight: 500;
}
.edv-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Buttons ===== */
.edv-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .92rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}
.edv-btn:hover { transform: translateY(-2px); }
.edv-btn-primary {
    background: var(--edv-blue);
    color: #fff;
    box-shadow: 0 6px 20px rgba(30,58,138,.35);
}
.edv-btn-primary:hover { background: var(--edv-blue-light); color: #fff; }
.edv-btn-cream {
    background: #fff;
    color: var(--edv-blue-dark);
    box-shadow: 0 6px 20px rgba(10,20,50,.18);
}
.edv-btn-cream:hover { background: var(--edv-cream); color: var(--edv-blue-dark); }
.edv-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.7);
}
.edv-btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ===== Category bar ===== */
.edv-catbar {
    background: var(--edv-blue);
    position: sticky;
    top: 0;
    z-index: 40;
    box-shadow: 0 4px 16px rgba(15,31,94,.25);
}
body.scrolled .edv-catbar { top: 62px; }
.edv-catbar-inner {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}
.edv-catbar-inner::-webkit-scrollbar { display: none; }
.edv-catbar a {
    color: rgba(255,255,255,.82);
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    padding: 15px 18px;
    white-space: nowrap;
    display: block;
    border-bottom: 3px solid transparent;
    transition: color .15s, border-color .15s;
}
.edv-catbar a:hover, .edv-catbar a.current {
    color: #fff;
    border-bottom-color: var(--edv-pink);
}

/* ===== Sections & Cards ===== */
.edv-section { padding: 60px 0; }
.edv-section.is-white { background: #fff; }
.edv-section.is-cream { background: var(--edv-cream); }
.edv-section-head {
    display: flex;
    align-items: baseline;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.edv-section-head h2 { margin: 0; }
.edv-section-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .25em;
    text-transform: uppercase;
    background: var(--edv-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}
.edv-section-link {
    margin-left: auto;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--edv-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.edv-section-link:hover { color: var(--edv-pink); }

.edv-cards { display: grid; gap: 28px; }
.edv-cards.is-three { grid-template-columns: repeat(3, 1fr); }
.edv-cards.is-two   { grid-template-columns: repeat(2, 1fr); }

.edv-card {
    background: #fff;
    border-radius: var(--edv-radius);
    box-shadow: var(--edv-shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .22s ease, transform .22s ease;
}
.edv-card:hover {
    box-shadow: var(--edv-shadow-md);
    transform: translateY(-4px);
}
.edv-card-thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
}
.edv-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.edv-card:hover .edv-card-thumb img { transform: scale(1.04); }
.edv-card-body {
    padding: 22px 22px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.edv-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .75rem;
    color: var(--edv-muted);
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.edv-cat-tag {
    background: var(--edv-blue);
    color: #fff;
    border-radius: 999px;
    padding: 3px 12px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: background .15s;
}
.edv-cat-tag:hover { background: var(--edv-pink); color: #fff; }
.edv-card-body h3 { margin-bottom: .4em; font-size: 1.1rem; }
.edv-card-body h3 a { color: var(--edv-ink); }
.edv-card-body h3 a:hover { color: var(--edv-pink); }
.edv-card-body p { color: var(--edv-muted); font-size: .9rem; margin: 0; flex: 1; }
.edv-card-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--edv-blue);
    transition: color .15s, gap .15s;
}
.edv-card-read:hover { color: var(--edv-pink); gap: 10px; }

/* ===== Ad Zones ===== */
.edv-ad-zone {
    text-align: center;
    margin: 20px auto;
    max-width: 980px;
}
.edv-ad-placeholder {
    background: var(--edv-cream-2);
    border: 2px dashed var(--edv-border);
    border-radius: var(--edv-radius);
    padding: 36px 24px;
    text-align: center;
    color: var(--edv-muted);
    font-size: .88rem;
}
.edv-ad-placeholder strong { display: block; font-size: 1rem; color: var(--edv-ink); margin-bottom: 6px; }
.edv-ad { display: inline-block; position: relative; }
.edv-ad-img { max-width: 100%; border-radius: var(--edv-radius); }
.edv-ad-label {
    position: absolute;
    top: 8px; left: 12px;
    background: rgba(0,0,0,.5);
    color: #fff;
    font-size: .6rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
}

/* ===== About Section ===== */
.edv-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.edv-about-img img {
    border-radius: var(--edv-radius-lg);
    box-shadow: var(--edv-shadow-lg);
    width: 100%;
}
.edv-about-text { max-width: 560px; }

/* ===== Main content grid ===== */
.edv-main { padding-top: 48px; padding-bottom: 60px; }
.edv-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 44px;
    align-items: start;
}

/* ===== Sidebar ===== */
.edv-sidebar { position: sticky; top: 120px; }
.edv-widget {
    background: #fff;
    border-radius: var(--edv-radius);
    box-shadow: var(--edv-shadow-sm);
    padding: 24px;
    margin-bottom: 24px;
}
.edv-widget-title {
    font-family: var(--edv-font-display);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--edv-gradient);
    border-image: var(--edv-gradient) 1;
    display: block;
}
.edv-widget ul { list-style: none; padding: 0; margin: 0; }
.edv-widget ul li { padding: 6px 0; border-bottom: 1px solid var(--edv-border); }
.edv-widget ul li:last-child { border-bottom: none; }
.edv-social-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.edv-social-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    color: #fff;
    transition: opacity .15s;
}
.edv-social-link:hover { opacity: .85; color: #fff; }
.edv-social-fb { background: #1877f2; }
.edv-social-ig { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }

/* ===== Single post ===== */
.edv-single { padding-top: 32px; }
.edv-post-hero img {
    width: 100%;
    max-height: 540px;
    object-fit: cover;
    border-radius: var(--edv-radius-lg);
    box-shadow: var(--edv-shadow-md);
    margin-bottom: 36px;
}
.edv-single-body { max-width: 720px; }
.edv-single-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    font-size: .82rem;
    color: var(--edv-muted);
    margin-bottom: 18px;
}
.edv-content { font-size: 1rem; line-height: 1.75; }
.edv-content h2, .edv-content h3, .edv-content h4 { margin-top: 1.6em; }
.edv-content blockquote {
    border-left: 4px solid var(--edv-pink);
    margin: 1.5em 0;
    padding: 1em 1.4em;
    background: var(--edv-cream);
    border-radius: 0 var(--edv-radius) var(--edv-radius) 0;
    font-style: italic;
    color: var(--edv-blue-dark);
}
.edv-content img {
    border-radius: var(--edv-radius);
    margin: 1.5em 0;
    box-shadow: var(--edv-shadow-sm);
}
.edv-content figure { margin: 1.5em 0; }
.edv-content figcaption { font-size: .8rem; color: var(--edv-muted); text-align: center; margin-top: 8px; }
.edv-content ul, .edv-content ol { padding-left: 1.4em; }
.edv-content li { margin-bottom: .4em; }

/* ===== Pagination ===== */
.edv-pagination { margin-top: 40px; }
.edv-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.edv-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--edv-border);
    font-size: .88rem;
    font-weight: 600;
    color: var(--edv-ink);
    transition: background .15s, color .15s;
}
.edv-pagination .page-numbers:hover { background: var(--edv-blue); color: #fff; border-color: var(--edv-blue); }
.edv-pagination .page-numbers.current { background: var(--edv-blue); color: #fff; border-color: var(--edv-blue); }
.edv-pagination .page-numbers.dots { border: none; }

/* ===== Search Form ===== */
.edv-search-form { display: flex; gap: 8px; }
.edv-search-form input[type="search"] {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--edv-border);
    border-radius: 999px;
    font-family: inherit;
    font-size: .95rem;
    color: var(--edv-ink);
    background: #fff;
    transition: border-color .2s;
}
.edv-search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--edv-blue);
}
.edv-search-form button {
    background: var(--edv-blue);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 700;
    cursor: pointer;
    font-size: .88rem;
    transition: background .15s;
}
.edv-search-form button:hover { background: var(--edv-blue-light); }

/* ===== Archive Category Header ===== */
.edv-archive-header {
    background: var(--edv-blue-dark);
    padding: 48px 0 40px;
    text-align: center;
    color: #fff;
    margin-bottom: 0;
}
.edv-archive-header h1 { color: #fff; margin: 0; }
.edv-archive-header .edv-section-eyebrow { display: inline-block; margin-bottom: 10px; }
.edv-archive-desc { color: rgba(255,255,255,.72); max-width: 560px; margin: 10px auto 0; }

/* ===== Footer ===== */
.edv-footer {
    background: var(--edv-blue-dark);
    color: #cdd5f0;
    padding: 60px 0 0;
}
.edv-footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}
.edv-footer h4 {
    color: #fff;
    font-size: .78rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin: 0 0 18px;
}
.edv-footer ul { list-style: none; padding: 0; margin: 0; }
.edv-footer ul li { padding: 7px 0; }
.edv-footer ul a { color: #cdd5f0; font-size: .9rem; transition: color .15s; }
.edv-footer ul a:hover { color: #fff; }
.edv-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 22px 0;
    text-align: center;
    font-size: 13px;
    color: #8b94bc;
}
.edv-footer-logo img { max-height: 70px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.edv-footer-tag { color: #cdd5f0; max-width: 380px; font-size: .9rem; line-height: 1.55; }
.edv-footer-social { display: flex; gap: 14px; margin-top: 18px; }
.edv-footer-social a { color: rgba(255,255,255,.7); transition: color .15s; }
.edv-footer-social a:hover { color: var(--edv-pink); }
.edv-footer-social svg { width: 22px; height: 22px; }

/* ===== Comments ===== */
.edv-comments { margin-top: 40px; background:#fff; padding: 30px; border-radius: var(--edv-radius); box-shadow: var(--edv-shadow-sm); }
.edv-comments h3 { margin-top: 0; }
.comment-list { list-style: none; padding: 0; }
.comment-list li { padding: 16px 0; border-bottom: 1px solid var(--edv-border); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%; padding: 10px 14px;
    border: 1px solid var(--edv-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color .2s;
}
.comment-form input:focus, .comment-form textarea:focus {
    outline: none;
    border-color: var(--edv-blue);
}
.comment-form textarea { min-height: 120px; }
.comment-form .submit {
    margin-top: 10px;
    background: var(--edv-blue);
    color: #fff;
    border: 0;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: 13px;
    transition: background .15s;
}
.comment-form .submit:hover { background: var(--edv-blue-light); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .edv-cards.is-three { grid-template-columns: repeat(2, 1fr); }
    .edv-footer-grid { grid-template-columns: 1fr 1fr; }
    .edv-about { grid-template-columns: 1fr; gap: 32px; }
    .edv-grid { grid-template-columns: 1fr 280px; gap: 30px; }
}

@media (max-width: 768px) {
    .edv-grid { grid-template-columns: 1fr; }
    .edv-cards.is-three,
    .edv-cards.is-two { grid-template-columns: 1fr; }
    .edv-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .edv-hero { min-height: 78vh; }
    .edv-hero-inner { padding: 110px 24px 72px; }
    .edv-social-row { display: none; }
    .edv-section { padding: 44px 0; }
}

@media (max-width: 520px) {
    .container { padding: 0 18px; }
    .edv-footer-grid { grid-template-columns: 1fr; }
    .edv-hero-cta { flex-direction: column; }
    .edv-hero-cta .edv-btn { text-align: center; justify-content: center; }
    .edv-header-inner { grid-template-columns: auto 1fr; }
    .edv-social-row { display: none; }
}

/* ===== WP core alignment helpers ===== */
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; max-width: 100%; margin-left: calc(-28px); margin-right: calc(-28px); }
.aligncenter { text-align: center; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: 13px; color: var(--edv-muted); text-align: center; margin-top: 6px; }
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(1px,1px,1px,1px);
    white-space: nowrap;
}
.sticky, .bypostauthor { /* WP required empty classes */ }

/* Clearfix */
.edv-content::after { content: ''; display: table; clear: both; }
