/*
Theme Name: VIGOENFAMILIA TEMA 3
Description: Magazine digital editorial de planes, rutas y escapadas. Portada configurable y espacios propios para Club, Educa y Mapa.
Version: 1.0.15
Author: VIGOENFAMILIA
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: vigoenfamilia-magazine
License: GNU General Public License v2 or later
*/
:root{--navy:#112b44;--blue:#32678d;--ink:#192c3b;--muted:#546574;--paper:#fff;--line:#dce4ea;--pale:#f0f5f8;--max:1280px;--bodyfont:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--bodyfont);font-size:16px;line-height:1.6} .vm-wrap{width:min(var(--max),calc(100% - 64px));margin-inline:auto;box-sizing:border-box}.vm-site *,.vm-home *,.vm-footer *,.vm-archive *,.vm-article-head *{box-sizing:border-box}.vm-site a,.vm-home a,.vm-footer a,.vm-archive a,.vm-article-head a{text-decoration:none;color:inherit}.vm-home a:hover,.vm-archive a:hover,.vm-footer a:hover{color:var(--blue)}.vm-site button,.vm-site input{font:inherit}.vm-site button{cursor:pointer}.vm-site :focus-visible,.vm-home :focus-visible,.vm-footer :focus-visible{outline:3px solid #528ab6;outline-offset:4px}.vm-skip,.screen-reader-text{position:absolute;clip:rect(0,0,0,0);clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.vm-skip:focus{clip:auto;clip-path:none;width:auto;height:auto;top:10px;left:10px;background:white;padding:12px;z-index:99999}.vm-top{background:var(--navy);color:white;font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:650}.vm-top .vm-wrap{display:flex;justify-content:space-between;align-items:center;min-height:35px;gap:12px}.vm-social{display:flex;align-items:center;gap:9px}.vm-social a{display:grid;place-items:center;width:26px;height:26px;border:1px solid currentColor;border-radius:50%;font-size:11px;letter-spacing:0;text-transform:none}.vm-mast{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;padding:26px 0 22px}.vm-date{font-size:12px;color:var(--muted);text-transform:capitalize}.vm-brand{text-align:center;line-height:1;display:block}.vm-wordmark{font-size:clamp(29px,4.9vw,58px);font-weight:900;letter-spacing:-.085em;color:var(--navy);white-space:nowrap}.vm-wordmark span{color:var(--blue)}.vm-brand small{display:block;font-size:10px;letter-spacing:.26em;margin-top:10px;font-weight:700;color:var(--muted)}.vm-brand img{max-width:320px;max-height:90px;width:auto;height:auto}.vm-search{display:flex;justify-content:flex-end;align-items:center;gap:8px}.vm-search input{min-width:0;max-width:165px;width:100%;border:0;border-bottom:1px solid var(--line);padding:7px;background:transparent;color:var(--ink);font-size:13px}.vm-search button{background:none;border:0;color:var(--navy);font-size:19px}.vm-navshell{position:sticky;top:0;z-index:100;background:var(--paper);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.admin-bar .vm-navshell{top:32px}.vm-navline{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:51px}.vm-nav ul{padding:0;margin:0;list-style:none}.vm-nav>ul{display:flex;gap:24px;align-items:center}.vm-nav li{position:relative}.vm-nav a{display:block;padding:15px 0;font-size:13px;font-weight:700;color:var(--navy)}.vm-nav .sub-menu{display:none;position:absolute;min-width:220px;background:var(--paper);border:1px solid var(--line);padding:8px 15px;top:100%;left:0;box-shadow:0 8px 18px #112b4412}.vm-nav .sub-menu a{padding:8px 0}.vm-nav li:hover>.sub-menu,.vm-nav li:focus-within>.sub-menu,.vm-nav li.vm-open>.sub-menu{display:block}.vm-nav .sub-menu .sub-menu{left:100%;top:0}.vm-nav .menu-item-has-children>a{padding-right:18px}.vm-sub{position:absolute;right:0;top:13px;background:none;border:0;padding:2px;color:var(--navy);font-size:12px}.vm-menu-toggle{display:none;background:none;border:0;font-weight:700;color:var(--navy);padding:9px 0}.vm-navjoin{font-size:12px;font-weight:750;color:var(--navy)!important;border-left:1px solid var(--line);padding-left:16px;white-space:nowrap}.vm-home{padding-top:32px}.vm-section{margin:0 0 55px}.vm-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;border-top:2px solid var(--navy);padding-top:12px;margin-bottom:20px}.vm-heading h2,.vm-heading h1{font-size:clamp(24px,3vw,37px);letter-spacing:-.048em;line-height:1.12;color:var(--navy);margin:0;font-weight:800}.vm-heading>a,.vm-textlink{font-size:12px;font-weight:750;color:var(--blue)!important;white-space:nowrap}.vm-kicker{display:block;font-size:10px;letter-spacing:.15em;text-transform:uppercase;font-weight:800;color:var(--blue);margin-bottom:6px}.vm-lead{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);gap:28px}.vm-lead-side{display:flex;flex-direction:column;gap:20px}.vm-story{min-width:0}.vm-photo{display:block;background:#dbe6eb;overflow:hidden;position:relative;aspect-ratio:16/10}.vm-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}.vm-photo:hover img{transform:scale(1.025)}.vm-photo.vm-empty{background:linear-gradient(140deg,#b0c5cf,#e8eef0);display:grid;place-items:center;color:#39566a;font-size:11px;letter-spacing:.07em;text-align:center;padding:10px}.vm-story h2,.vm-story h3{font-weight:800;color:var(--navy);line-height:1.17;letter-spacing:-.035em;margin:0}.vm-story h3{font-size:21px}.vm-story .vm-copy{padding:12px 0 0}.vm-story .vm-copy p{font-size:14px;color:var(--muted);margin:8px 0 0}.vm-story .vm-meta{font-size:11px;color:var(--muted);margin-top:8px;display:block}.vm-feature .vm-photo{aspect-ratio:16/9}.vm-feature h2{font-size:clamp(29px,4vw,48px)}.vm-feature .vm-copy p{font-size:16px;max-width:66ch}.vm-side-story{display:grid;grid-template-columns:1fr 1.05fr;gap:15px;align-items:start;border-bottom:1px solid var(--line);padding-bottom:18px}.vm-side-story:last-child{border-bottom:0}.vm-side-story .vm-photo{aspect-ratio:1/1}.vm-side-story .vm-copy{padding:0}.vm-side-story h3{font-size:20px}.vm-side-story .vm-copy p{display:none}.vm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.vm-grid.vm-four{grid-template-columns:repeat(4,minmax(0,1fr))}.vm-grid .vm-story{border-bottom:1px solid var(--line);padding-bottom:16px}.vm-grid .vm-story h3{font-size:22px}.vm-four .vm-story h3{font-size:19px}.vm-spaces{display:grid;grid-template-columns:1.2fr 1fr 1fr;border:1px solid var(--line);gap:0}.vm-space{min-width:0;position:relative;overflow:hidden;padding:25px 25px 24px;background:#f1f5f7;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;min-height:265px}.vm-space+.vm-space{border-left:1px solid var(--line)}.vm-space.vm-club{background:var(--navy);color:white}.vm-space.vm-edu{background:#f5f2e9;color:var(--navy)}.vm-space.vm-map{background:#eaf2f5;color:var(--navy)}.vm-space h3{font-size:clamp(24px,2.6vw,34px);letter-spacing:-.045em;line-height:1.1;margin:6px 0 10px;font-weight:850;max-width:14ch;position:relative}.vm-space p{font-size:14px;max-width:29ch;margin:0 0 15px;position:relative}.vm-space .vm-kicker{color:inherit;opacity:.9}.vm-space .vm-space-links{position:relative;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;font-weight:750;align-items:center}.vm-space .vm-space-links a{border-bottom:1px solid currentColor;padding-bottom:2px}.vm-space .vm-button{border:1px solid currentColor;display:inline-block;padding:9px 14px;font-size:12px;font-weight:800;position:relative;margin-bottom:9px}.vm-club a:hover{color:#d9e9f5}.vm-agenda{display:grid;grid-template-columns:.8fr 1.3fr;gap:30px;align-items:start;background:var(--pale);padding:25px 28px;border-top:2px solid var(--navy)}.vm-agenda h2{font-size:clamp(26px,3.5vw,42px);line-height:1.13;letter-spacing:-.055em;margin:0 0 8px;color:var(--navy)}.vm-agenda p{margin:0 0 12px;color:var(--muted)}.vm-agenda-live{min-width:0;background:#fff;padding:15px;color:var(--ink);overflow-wrap:anywhere}.vm-agenda-links{display:grid;gap:8px}.vm-agenda-links a{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-weight:750;color:var(--navy)}.vm-agenda-links a:last-child{border:0}.vm-places{display:grid;grid-template-columns:1fr 1fr;gap:24px}.vm-place{display:grid;grid-template-columns:1fr 1fr;background:var(--pale);align-items:center}.vm-place .vm-photo{aspect-ratio:4/3}.vm-place .vm-copy{padding:20px}.vm-place h3{font-size:28px;line-height:1.1;margin:0;color:var(--navy);letter-spacing:-.05em}.vm-place p{font-size:13px;color:var(--muted);margin:8px 0}.vm-footer{background:var(--navy);color:#fff;margin-top:52px;padding:36px 0 20px}.vm-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:28px}.vm-footer h2,.vm-footer h3{font-size:16px;margin:0 0 12px;color:#fff}.vm-footer p,.vm-footer a{font-size:13px;color:#e4edf3}.vm-footer a:hover{color:white;text-decoration:underline}.vm-footer ul{list-style:none;padding:0;margin:0}.vm-footer-bottom{border-top:1px solid #ffffff40;margin-top:25px;padding-top:15px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:12px}.vm-footer-brand{font-weight:900;font-size:27px;letter-spacing:-.06em;line-height:1}.vm-archive,.vm-page,.vm-single{padding-top:35px}.vm-article-head{max-width:850px;margin:0 auto 26px}.vm-article-head h1{font-size:clamp(30px,5vw,55px);color:var(--navy);letter-spacing:-.045em;line-height:1.12;margin:0 0 10px;font-weight:800}.vm-article-head p{color:var(--muted);margin:0}.vm-article-cover{max-width:1000px;margin:0 auto 28px}.vm-article-cover img{width:100%;height:auto;display:block}.vm-reading{max-width:850px;margin:auto;min-width:0;font-size:17px;overflow-wrap:break-word}.vm-reading>p,.vm-reading>ul,.vm-reading>ol{line-height:1.75}.vm-reading>h2,.vm-reading>h3{color:var(--navy);line-height:1.22;letter-spacing:-.025em}.vm-reading>p>a{color:var(--blue);text-decoration:underline}.vm-content img,.vm-content iframe{max-width:100%}.vm-content img{height:auto}.vm-content{min-width:0;overflow-wrap:break-word}.vm-service-page .vm-article-head{max-width:none}.vm-service-page .vm-content{max-width:none;margin:0;color:var(--ink);background:#fff}.vm-service-nav{display:flex;flex-wrap:wrap;gap:8px 18px;padding:10px 0 20px;margin-bottom:20px;border-bottom:1px solid var(--line)}.vm-service-nav a{font-size:13px;font-weight:700;color:var(--navy);text-decoration:none}.vm-service-nav a[aria-current=page]{text-decoration:underline}.vm-pagination{margin:30px 0;text-align:center}.vm-pagination a,.vm-pagination span{padding:6px 12px}.vm-comments{max-width:850px;margin:30px auto}.vm-comments input:not([type=checkbox]),.vm-comments textarea{max-width:100%;box-sizing:border-box}.vm-comments textarea{width:100%}.vm-comments li{margin:12px 0}.vm-comments .comment-meta{font-size:13px}.vm-content .alignwide{max-width:100%}.vm-content .wp-block-table{overflow-x:auto}.vm-content .wp-block-table table{border-collapse:collapse;width:100%}.vm-content .wp-block-table td,.vm-content .wp-block-table th{border:1px solid var(--line);padding:8px}.vm-page .vm-content:after,.vm-single .vm-content:after{content:'';display:block;clear:both}.vm-content .alignleft{float:left;margin:0 20px 15px 0}.vm-content .alignright{float:right;margin:0 0 15px 20px}.vm-content .aligncenter{display:block;margin-inline:auto}.vm-content .wp-caption{max-width:100%}.vm-content .wp-caption-text{font-size:13px;color:var(--muted)}
@media(max-width:1000px){.vm-nav>ul{gap:15px}.vm-nav a{font-size:12px}.vm-lead{grid-template-columns:1.4fr 1fr;gap:20px}.vm-side-story h3{font-size:17px}.vm-space{padding:20px}.vm-grid.vm-four{grid-template-columns:repeat(2,minmax(0,1fr))}.vm-mast{grid-template-columns:1fr auto}.vm-date{display:none}.vm-brand{text-align:left}.vm-place{grid-template-columns:1fr}.vm-place .vm-photo{aspect-ratio:16/8}}
@media(max-width:780px){.vm-wrap{width:calc(100% - 32px)}.vm-top .vm-wrap{min-height:32px}.vm-top{font-size:9px;letter-spacing:.08em}.vm-mast{padding:18px 0;gap:12px}.vm-wordmark{font-size:clamp(23px,6vw,40px)}.vm-brand small{font-size:8px;letter-spacing:.14em;margin-top:7px}.vm-search input{max-width:115px}.vm-navline{flex-wrap:wrap;min-height:44px}.vm-menu-toggle{display:block}.vm-nav{display:none;order:3;flex-basis:100%;max-height:65vh;overflow:auto}.vm-nav.vm-open{display:block}.vm-nav>ul{display:block}.vm-nav a{padding:10px 0;font-size:14px}.vm-nav .sub-menu,.vm-nav .sub-menu .sub-menu{position:static;border:0;box-shadow:none;display:none;padding:0 0 0 18px}.vm-nav li:hover>.sub-menu,.vm-nav li:focus-within>.sub-menu{display:none}.vm-nav li.vm-open>.sub-menu{display:block}.vm-sub{top:8px;padding:5px 10px}.vm-home{padding-top:22px}.vm-section{margin-bottom:36px}.vm-lead{grid-template-columns:1fr;gap:20px}.vm-lead-side{gap:12px}.vm-side-story{grid-template-columns:110px 1fr;align-items:center;padding-bottom:12px}.vm-side-story .vm-photo{aspect-ratio:4/3}.vm-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.vm-grid .vm-story h3{font-size:18px}.vm-spaces{grid-template-columns:1fr}.vm-space{min-height:195px;padding:20px}.vm-space+.vm-space{border-left:0;border-top:1px solid var(--line)}.vm-agenda{grid-template-columns:1fr;padding:18px;gap:12px}.vm-places{gap:12px}.vm-place .vm-copy{padding:12px}.vm-place h3{font-size:23px}.vm-footer-grid{grid-template-columns:1fr 1fr}.vm-footer-grid>div:first-child{grid-column:1/-1}.vm-article-head h1{font-size:35px}.admin-bar .vm-navshell{top:46px}}
@media(max-width:430px){.vm-wrap{width:calc(100% - 24px)}.vm-top .vm-wrap>span{letter-spacing:0}.vm-search input{max-width:78px}.vm-grid,.vm-grid.vm-four{grid-template-columns:1fr 1fr;gap:12px}.vm-grid .vm-story h3{font-size:16px}.vm-story .vm-copy p{font-size:13px}.vm-feature h2{font-size:30px}.vm-places{grid-template-columns:1fr}.vm-place{grid-template-columns:1fr 1fr}.vm-place .vm-photo{aspect-ratio:1/1}.vm-heading h2{font-size:24px}.vm-heading>a{font-size:11px}.vm-brand img{max-width:180px}.vm-content .alignleft,.vm-content .alignright{float:none;margin:0 auto 15px}}
@media(prefers-reduced-motion:reduce){.vm-photo img{transition:none}}
/* Neutral, readable ranking tables only; leave plugin controls and forms untouched. */
.vm-service-ranking .vm-content table{max-width:100%;color:#112b44!important;background:#fff!important;border-collapse:collapse}.vm-service-ranking .vm-content table :is(thead,tbody,tr,th,td){color:#112b44!important;background:#fff!important}.vm-service-ranking .vm-content table th{background:#e7eff5!important}.vm-service-ranking .vm-content table tr:nth-child(even) td{background:#f3f7fa!important}.vm-service-ranking .vm-content table :is(th,td){padding:9px;border-bottom:1px solid #dce4ea}.vm-service-ranking .vm-content table :is(th,td) :is(a,span,strong,small,b){color:#112b44!important;text-shadow:none!important;opacity:1!important}.vm-service-ranking .vm-content table a{text-decoration:underline}

/* 1.0.2: real vector social marks, with generous footer targets. */
.vm-social a svg{display:block;width:17px;height:17px;pointer-events:none}.vm-footer .vm-social{gap:12px;flex-wrap:wrap}.vm-footer .vm-social a{width:44px;height:44px;flex:none;color:inherit;border:1px solid currentColor;text-decoration:none}.vm-footer .vm-social a svg{width:24px;height:24px}.vm-footer .vm-social a:hover{background:#fff;color:#112b44;border-color:#fff}.vm-footer .vm-social a:focus-visible{outline:3px solid #9bd2ff;outline-offset:3px}

/* 1.0.2 — Espacios editoriales sin ilustraciones decorativas. */
.vm-space{min-height:235px;gap:16px;padding:26px 25px 23px}
.vm-space h3{max-width:none;margin-top:10px}
.vm-space p{max-width:36ch}
.vm-space .vm-kicker{letter-spacing:.12em}
.vm-space .vm-button{margin-bottom:0}
.vm-club .vm-space-links{margin-top:10px}
.vm-home .vm-club a:hover{color:#d9e9f5}
@media(max-width:1000px){.vm-space{padding:21px 20px}}
@media(max-width:780px){.vm-space{min-height:0;padding:22px 20px;gap:12px}}

/* 1.0.3 — Una portada de lectura horizontal y ritmos editoriales distintos. */
.vm-edition .vm-cover .vm-heading{border-top:0;padding-top:0;margin-bottom:16px;align-items:center}
.vm-edition .vm-cover .vm-heading h2{font-size:13px;letter-spacing:.18em;text-transform:uppercase;line-height:1.5}
.vm-edition .vm-cover .vm-heading:after{content:'';height:1px;background:var(--line);flex:1;order:1}
.vm-edition .vm-cover .vm-heading>a{order:2}
.vm-edition .vm-lead{display:block}
.vm-edition .vm-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.65fr);background:var(--navy);color:#fff;align-items:stretch}
.vm-edition .vm-feature .vm-photo{grid-column:2;grid-row:1;aspect-ratio:16/10;align-self:stretch;min-height:320px;height:100%}
.vm-edition .vm-feature .vm-copy{grid-column:1;grid-row:1;padding:clamp(24px,4.2vw,62px);display:flex;flex-direction:column;justify-content:center;min-width:0}
.vm-edition .vm-feature .vm-kicker{color:#d2e4f0;letter-spacing:.16em;margin-bottom:18px}
.vm-edition .vm-feature h2{color:#fff;font-size:clamp(30px,4vw,56px);line-height:1.07;overflow-wrap:break-word}
.vm-edition .vm-feature .vm-copy p{color:#e3edf4;font-size:16px;margin-top:17px}
.vm-edition .vm-feature .vm-meta{color:#c4d4e0;margin-top:20px}
.vm-edition .vm-feature h2 a:hover{color:#cfe5f6}
.vm-edition .vm-lead-side{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:0;margin-top:25px}
.vm-edition .vm-cover-story{padding:0 22px;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1fr);align-items:start;gap:13px;border-left:1px solid var(--line)}
.vm-edition .vm-cover-story:first-child{padding-left:0;border:0}.vm-edition .vm-cover-story:last-child{padding-right:0}
.vm-edition .vm-cover-story .vm-photo{aspect-ratio:4/3}.vm-edition .vm-cover-story .vm-copy{padding:0}.vm-edition .vm-cover-story h3{font-size:clamp(16px,1.55vw,22px)}
.vm-edition .vm-cover-story .vm-meta{margin-top:6px}
.vm-edition .vm-agenda{background:white;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:30px}
.vm-edition .vm-agenda h2{font-size:clamp(23px,2.8vw,35px)}
.vm-edition .vm-route-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start}




.vm-edition .vm-spaces{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);grid-template-rows:auto auto;gap:0}
.vm-edition .vm-club{grid-row:span 2;min-height:310px;padding:32px;justify-content:space-between}
.vm-edition .vm-club h3{font-size:clamp(30px,3.6vw,47px);max-width:17ch}
.vm-edition .vm-edu,.vm-edition .vm-map{min-height:0;padding:20px 24px;gap:8px;display:grid;grid-template-columns:minmax(0,1fr);align-content:center;justify-items:start}
.vm-edition .vm-map{border-top:1px solid var(--line)}
.vm-edition .vm-edu h3,.vm-edition .vm-map h3{font-size:clamp(21px,2.4vw,30px);margin:2px 0 6px}
.vm-edition .vm-edu p,.vm-edition .vm-map p{margin:0;max-width:none}
.vm-edition .vm-edu .vm-button,.vm-edition .vm-map .vm-button{border:0;border-bottom:1px solid currentColor;padding:2px 0}
.vm-edition .vm-places{gap:2px}.vm-edition .vm-place{display:grid;grid-template-columns:1fr;grid-template-rows:1fr;min-height:250px;position:relative;isolation:isolate;overflow:hidden;background:var(--navy)}
.vm-edition .vm-place .vm-photo{grid-area:1/1;aspect-ratio:2/1;height:100%;min-height:250px}.vm-edition .vm-place:after{content:'';grid-area:1/1;background:linear-gradient(0deg,rgba(10,33,53,.94),rgba(10,33,53,.08) 85%);pointer-events:none;z-index:1}
.vm-edition .vm-place .vm-copy{grid-area:1/1;align-self:end;z-index:2;padding:23px;color:#fff;pointer-events:none}.vm-edition .vm-place .vm-copy a{pointer-events:auto;color:#fff!important}.vm-edition .vm-place h3,.vm-edition .vm-place p{color:#fff}.vm-edition .vm-place h3{font-size:clamp(25px,3vw,39px)}
.vm-edition .vm-list-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 30px}.vm-edition .vm-list-grid .vm-story{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:16px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.vm-edition .vm-list-grid .vm-story .vm-photo{aspect-ratio:4/3}.vm-edition .vm-list-grid .vm-copy{padding:0}.vm-edition .vm-list-grid .vm-story h3{font-size:clamp(17px,2vw,25px)}
@media(max-width:1000px){.vm-edition .vm-cover-story{grid-template-columns:1fr;padding-inline:15px}.vm-edition .vm-cover-story .vm-photo{aspect-ratio:16/9}.vm-edition .vm-feature .vm-copy{padding:28px}.vm-edition .vm-feature .vm-photo{min-height:270px}}
@media(max-width:780px){.vm-edition .vm-feature{grid-template-columns:1fr}.vm-edition .vm-feature .vm-photo{grid-column:1;grid-row:1;min-height:0;aspect-ratio:16/9;height:auto}.vm-edition .vm-feature .vm-copy{grid-column:1;grid-row:2;padding:23px}.vm-edition .vm-feature .vm-kicker{margin-bottom:10px}.vm-edition .vm-feature .vm-meta{margin-top:12px}.vm-edition .vm-lead-side{grid-template-columns:1fr;gap:12px;margin-top:18px}.vm-edition .vm-cover-story,.vm-edition .vm-cover-story:first-child,.vm-edition .vm-cover-story:last-child{grid-template-columns:112px 1fr;align-items:center;gap:14px;padding:0 0 12px;border:0;border-bottom:1px solid var(--line)}.vm-edition .vm-cover-story .vm-photo{aspect-ratio:4/3}.vm-edition .vm-agenda{grid-template-columns:1fr;gap:10px}.vm-edition .vm-route-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vm-edition .vm-spaces{grid-template-columns:1fr;grid-template-rows:auto}.vm-edition .vm-club{grid-row:auto;min-height:0;padding:24px}.vm-edition .vm-edu,.vm-edition .vm-map{padding:20px}.vm-edition .vm-places{grid-template-columns:1fr;gap:10px}.vm-edition .vm-place,.vm-edition .vm-place .vm-photo{min-height:190px}.vm-edition .vm-list-grid{grid-template-columns:1fr}.vm-edition .vm-list-grid .vm-story{grid-template-columns:112px 1fr}.vm-edition .vm-list-grid .vm-copy p{display:none}}

/* 1.0.8 — ads: visually separated, responsive, no overlays or sticky units. */
.vm-ad{box-sizing:border-box;width:100%;min-width:0;max-width:100%;margin:0 auto 48px;padding:12px 0 16px;border-block:1px solid var(--line);text-align:center;clear:both;background:#fff;color:#546574;}
.vm-ad-label{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#546574;margin-bottom:9px;line-height:1.5;}
.vm-ad-after_article{max-width:850px;margin:35px auto;}
.vm-ad ins.adsbygoogle{display:block;width:100%;min-height:100px;}
@media(max-width:780px){.vm-ad{margin-bottom:32px}.vm-ad ins.adsbygoogle{min-height:90px;}}

/* 1.0.9: isolate editorial photos from grid sizing and global image rules. */
.vm-home .vm-photo,.vm-archive .vm-photo{min-width:0;isolation:isolate}
.vm-home .vm-photo img,.vm-archive .vm-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center;transform:none;transition:none}
.vm-edition .vm-feature .vm-photo{height:auto;min-width:0;min-height:320px;aspect-ratio:16/10;background:var(--navy);align-self:stretch}
.vm-edition .vm-feature .vm-photo.vm-fit-contain img{object-fit:contain}
.vm-edition .vm-feature .vm-photo.vm-fit-cover img{object-fit:cover}
.vm-single .vm-article-cover img{height:auto;max-width:100%;object-fit:contain}
@media(max-width:1000px){.vm-edition .vm-feature .vm-photo{min-height:270px}}
@media(max-width:780px){.vm-edition .vm-feature .vm-photo{min-height:0;aspect-ratio:16/10;height:auto}}

/* 1.0.10: independent editorial block and constrained hero width. */
.vm-edition .vm-secondary .vm-secondary-grid{margin-top:0;grid-template-columns:repeat(3,minmax(0,1fr));row-gap:24px}
.vm-edition .vm-secondary .vm-cover-story{min-width:0; padding-inline:18px; border-left:1px solid var(--line)}
.vm-edition .vm-secondary .vm-cover-story:nth-child(3n+1){padding-left:0;border-left:0}
.vm-edition .vm-secondary .vm-cover-story:nth-child(3n){padding-right:0}
.vm-edition .vm-feature{width:100%;max-width:100%;min-width:0}
.vm-edition .vm-feature .vm-photo{width:100%;max-width:100%;min-width:0;aspect-ratio:auto;min-height:clamp(320px,32vw,500px)}
@media(max-width:1000px){.vm-edition .vm-feature .vm-photo{min-height:270px}}
@media(max-width:780px){.vm-edition .vm-feature .vm-photo{aspect-ratio:16/10;min-height:0}.vm-edition .vm-secondary .vm-secondary-grid{grid-template-columns:1fr;gap:12px}.vm-edition .vm-secondary .vm-cover-story:nth-child(n){padding:0 0 12px;border:0;border-bottom:1px solid var(--line)}}

/* 1.0.11: four equal cards, uncropped route photographs. */
.vm-edition .vm-route-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:24px}
.vm-edition .vm-route-grid .vm-story{display:flex;flex-direction:column;grid-column:auto;min-width:0}
.vm-edition .vm-route-grid .vm-photo{aspect-ratio:16/9;width:100%;height:auto;flex:none;background:#eef2f4}
.vm-edition .vm-route-grid .vm-photo img{object-fit:contain;object-position:center;transform:none}
.vm-edition .vm-route-grid .vm-copy{display:flex;flex-direction:column;flex:1;min-width:0}
.vm-edition .vm-route-grid .vm-story h3{font-size:clamp(17px,1.65vw,22px);overflow-wrap:anywhere}
.vm-edition .vm-route-grid .vm-meta{margin-top:auto;padding-top:8px}
@media(max-width:1000px){.vm-edition .vm-route-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:430px){.vm-edition .vm-route-grid{gap:12px}.vm-edition .vm-route-grid .vm-story h3{font-size:16px}}

/* 1.0.12 — Preserve the editor's gallery and column layouts in articles.
   Scoped to reading content: no changes to home cards or service plugins. */
.vm-content.vm-reading .wp-block-gallery,
.vm-content.vm-reading .wp-block-gallery .blocks-gallery-grid,
.vm-content.vm-reading .gallery {
  --vm-gallery-columns: 3;
  --vm-gallery-gap: var(--wp--style--unstable-gallery-gap, 16px);
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}
.vm-content.vm-reading .wp-block-gallery,
.vm-content.vm-reading .wp-block-gallery .blocks-gallery-grid,
.vm-content.vm-reading .gallery {
  display: grid !important;
  grid-template-columns: repeat(var(--vm-gallery-columns), minmax(0, 1fr));
  gap: var(--vm-gallery-gap);
  align-items: start;
  padding: 0;
  list-style: none;
}
/* Intermediate wrappers in older block galleries occupy the entire row. */
.vm-content.vm-reading .wp-block-gallery > .blocks-gallery-grid {
  --vm-gallery-columns: inherit;
  --vm-gallery-gap: inherit;
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
}
.vm-content.vm-reading .wp-block-gallery.columns-1,
.vm-content.vm-reading .gallery.gallery-columns-1 { --vm-gallery-columns: 1; }
.vm-content.vm-reading .wp-block-gallery.columns-2,
.vm-content.vm-reading .gallery.gallery-columns-2 { --vm-gallery-columns: 2; }
.vm-content.vm-reading .wp-block-gallery.columns-3,
.vm-content.vm-reading .gallery.gallery-columns-3 { --vm-gallery-columns: 3; }
.vm-content.vm-reading .wp-block-gallery.columns-4,
.vm-content.vm-reading .gallery.gallery-columns-4 { --vm-gallery-columns: 4; }
.vm-content.vm-reading .wp-block-gallery.columns-5,
.vm-content.vm-reading .gallery.gallery-columns-5 { --vm-gallery-columns: 5; }
.vm-content.vm-reading .wp-block-gallery.columns-6,
.vm-content.vm-reading .gallery.gallery-columns-6 { --vm-gallery-columns: 6; }
.vm-content.vm-reading .wp-block-gallery.columns-7,
.vm-content.vm-reading .gallery.gallery-columns-7 { --vm-gallery-columns: 7; }
.vm-content.vm-reading .wp-block-gallery.columns-8,
.vm-content.vm-reading .gallery.gallery-columns-8 { --vm-gallery-columns: 8; }
.vm-content.vm-reading .wp-block-gallery.columns-9,
.vm-content.vm-reading .gallery.gallery-columns-9 { --vm-gallery-columns: 9; }

.vm-content.vm-reading .wp-block-gallery.has-nested-images > figure.wp-block-image:not(#individual-image),
.vm-content.vm-reading .wp-block-gallery > .blocks-gallery-item,
.vm-content.vm-reading .wp-block-gallery .blocks-gallery-grid > .blocks-gallery-item,
.vm-content.vm-reading .gallery > .gallery-item {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}
.vm-content.vm-reading .wp-block-gallery > figcaption,
.vm-content.vm-reading .wp-block-gallery > .blocks-gallery-caption,
.vm-content.vm-reading .wp-block-gallery > .wp-element-caption,
.vm-content.vm-reading .gallery > .gallery-caption {
  grid-column: 1 / -1;
}
/* Do not confuse classic per-image captions with a gallery-wide caption. */
.vm-content.vm-reading .wp-block-gallery .blocks-gallery-item > figure,
.vm-content.vm-reading .gallery .gallery-icon {
  margin: 0;
  min-width: 0;
  max-width: 100%;
}
.vm-content.vm-reading .wp-block-gallery .blocks-gallery-item a,
.vm-content.vm-reading .wp-block-gallery .wp-block-image > a,
.vm-content.vm-reading .gallery .gallery-icon > a {
  max-width: 100%;
}
.vm-content.vm-reading .wp-block-gallery:not(.is-cropped) img,
.vm-content.vm-reading .gallery .gallery-item img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
/* Respect explicit crop settings in the editor; keep the default proportional. */
.vm-content.vm-reading .wp-block-gallery.is-cropped { align-items: stretch; }
.vm-content.vm-reading .wp-block-gallery.is-cropped > figure.wp-block-image,
.vm-content.vm-reading .wp-block-gallery.is-cropped .blocks-gallery-item > figure {
  height: 100%;
}
.vm-content.vm-reading .wp-block-gallery.is-cropped img {
  display: block;
  width: 100%;
  max-width: 100%;
  object-fit: cover;
}
/* Classic shortcode galleries can contain clearing elements from older themes. */
.vm-content.vm-reading .gallery > br { display: none; }
.vm-content.vm-reading .gallery .gallery-caption { margin: 6px 0 0; }
/* Core Columns block, including images placed in separate columns.
   Inline flex-basis set by the editor is intentionally preserved. */
.vm-content.vm-reading .wp-block-columns {
  display: flex !important;
  flex-wrap: nowrap;
  gap: var(--wp--style--block-gap, 16px);
  min-width: 0;
  max-width: 100%;
}
.vm-content.vm-reading .wp-block-columns > .wp-block-column {
  flex-grow: 1;
  flex-basis: 0;
  min-width: 0;
  margin: 0;
}
.vm-content.vm-reading .wp-block-column > .wp-block-image { max-width: 100%; }
.vm-content.vm-reading .wp-block-column .wp-block-image img { max-width: 100%; height: auto; }
@media (max-width: 781px) {
  .vm-content.vm-reading .wp-block-columns:not(.is-not-stacked-on-mobile) { flex-wrap: wrap; }
  .vm-content.vm-reading .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: 100% !important; }
}
@media (max-width: 480px) {
  .vm-content.vm-reading .wp-block-gallery,
  .vm-content.vm-reading .gallery { grid-template-columns: repeat(min(var(--vm-gallery-columns), 2), minmax(0, 1fr)); }
  .vm-content.vm-reading .wp-block-gallery .blocks-gallery-grid { grid-template-columns: repeat(min(var(--vm-gallery-columns), 2), minmax(0, 1fr)); }
  .vm-content.vm-reading .wp-block-gallery,
  .vm-content.vm-reading .gallery { --vm-gallery-gap: 8px; }
}

/* 1.0.13 — floating article photo viewer. Only enhanced article photos. */
.vm-lightbox-trigger, .vm-lightbox-trigger img { cursor: zoom-in; }
.vm-lightbox-trigger:focus-visible { outline: 3px solid #32678d; outline-offset: 3px; }
html.vm-lb-open { overflow: hidden; }
.vm-lightbox { box-sizing: border-box; position: fixed; inset: 0; margin: 0; padding: 0; border: 0; width: 100%; height: 100%; max-width: none; max-height: none; background: rgba(8,15,23,.95); color: #fff; font-family: var(--bodyfont, sans-serif); overflow: hidden; }
.vm-lightbox:not([open]) { display: none; }
.vm-lightbox::backdrop { background: #080f17; }
.vm-lb-shell { box-sizing: border-box; display: grid; grid-template-rows: auto minmax(0,1fr) auto; height: 100%; padding: 12px clamp(8px,2vw,28px); gap: 8px; }
.vm-lb-top { display: flex; align-items: center; justify-content: space-between; padding-inline: 8px; }
.vm-lb-counter { font-size: 15px; font-variant-numeric: tabular-nums; color: #fff; }
.vm-lightbox button { display: grid; place-items: center; border: 1px solid #ffffff55; border-radius: 50%; width: 46px; height: 46px; padding: 0; background: #ffffff12; color: #fff; font: 32px/1 system-ui,sans-serif; cursor: pointer; }
.vm-lightbox button:hover { background: #ffffff30; }
.vm-lightbox button:focus-visible { outline: 3px solid #acd9ff; outline-offset: 3px; }
.vm-lightbox button[hidden], .vm-lightbox img[hidden], .vm-lb-caption[hidden] { display: none !important; }
.vm-lb-stage { display: grid; grid-template-columns: 46px minmax(0,1fr) 46px; align-items: center; gap: clamp(6px,1.5vw,24px); min-height: 0; }
.vm-lb-prev { grid-column: 1; grid-row: 1; }
.vm-lb-next { grid-column: 3; grid-row: 1; }
.vm-lb-media { grid-column: 2; grid-row: 1; min-width: 0; min-height: 0; width: 100%; height: 100%; display: grid; place-items: center; position: relative; touch-action: pan-y pinch-zoom; }
.vm-lb-media img { display: block; grid-area: 1/1; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.vm-lb-status { grid-area: 1/1; text-align: center; color: #fff; }
.vm-lb-status:empty { display: none; }
.vm-lb-caption { text-align: center; font-size: 14px; color: #fff; max-height: 15vh; overflow: auto; padding: 4px 12px 8px; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .vm-lb-shell { padding: max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom)); }
  .vm-lb-stage { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0,1fr) 46px; gap: 8px; }
  .vm-lb-media { grid-column: 1 / -1; grid-row: 1; }
  .vm-lb-prev { grid-column: 1; grid-row: 2; justify-self: end; }
  .vm-lb-next { grid-column: 2; grid-row: 2; justify-self: start; }
}

/* 1.0.14 — full viewport viewer; compatible with core lightbox markup. */
.vm-lightbox[open] { display:block !important; position:fixed; inset:0; z-index:2147483647; width:100vw; height:100vh; height:100dvh; max-width:none; max-height:none; }
.vm-lightbox .vm-lb-media > img:not([hidden]) { display:block; width:100%; height:100%; max-width:100%; max-height:100%; min-width:0; min-height:0; object-fit:contain; object-position:center; }
.vm-lb-enhanced .lightbox-trigger { display:none !important; }
