/*
Theme Name: BPVG
Author: Atlas Studio
Description: Responsive historical atlas theme with antique maps, a sourced Cisneros quotation, image viewer and editorial layouts.
Version: 1.5.1
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: cisneros-atlas
*/
:root{--paper:#f4eddf;--ink:#28251f;--wine:#631f29;--gold:#a77c3c;--line:#d2c3a8}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.65 Georgia,serif}a{color:inherit}img{max-width:100%;height:auto}button,input,textarea{font:inherit}button,a{touch-action:manipulation}a:focus-visible,button:focus-visible{outline:3px solid #b98028;outline-offset:5px}.wrap{width:min(1220px,90%);margin:auto}.skip{position:absolute;left:-9999px}.skip:focus{left:20px;top:10px;z-index:100;background:white;padding:10px}.site-header{background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:92px}.brand{text-decoration:none;display:flex;align-items:center;gap:14px}.seal{border:1px solid var(--gold);border-radius:50%;width:42px;height:42px;display:grid;place-items:center;color:var(--wine);font-size:26px}.brand strong{font-size:22px;font-weight:normal;letter-spacing:2px}.brand small{display:block;font:10px/1.4 Arial,sans-serif;letter-spacing:2.5px;text-transform:uppercase}.custom-logo{max-width:180px;max-height:65px;width:auto}.nav ul{display:flex;list-style:none;gap:27px;margin:0;padding:0}.nav a{text-decoration:none;font:12px Arial,sans-serif;text-transform:uppercase;letter-spacing:1px}.nav a:hover{color:var(--wine)}.menu-toggle{display:none;border:1px solid var(--line);background:transparent;padding:9px 14px}.eyebrow{font:11px/1.5 Arial,sans-serif;letter-spacing:2.5px;text-transform:uppercase;color:var(--wine)}h1,h2,h3{font-weight:normal;line-height:1.12}h1{font-size:clamp(44px,5.4vw,76px);margin:20px 0 26px}h2{font-size:clamp(34px,4vw,49px);margin:14px 0 25px}h3{font-size:26px;margin:14px 0}p{margin:0 0 20px}.hero{display:grid;grid-template-columns:1fr 1.08fr;gap:65px;align-items:center;padding:75px 0 65px}.hero-copy{max-width:550px}.hero-copy p{color:#625b4d;font-size:19px}.hero-art{position:relative;margin:0;padding:13px;border:1px solid var(--gold);background:#e5d8bd;box-shadow:18px 18px 0 #e8dfcf}.hero-art img{display:block;width:100%;aspect-ratio:1.44;object-fit:cover}.hero-art figcaption{font:10px/1.5 Arial,sans-serif;letter-spacing:1px;text-transform:uppercase;padding:12px 2px 2px}.button{display:inline-block;background:var(--wine);color:var(--paper);padding:14px 24px;text-decoration:none;font:11px/1.5 Arial,sans-serif;letter-spacing:1.5px;text-transform:uppercase;border:1px solid var(--wine)}.button:hover{background:#42141c}.text-link{font:12px Arial,sans-serif;text-underline-offset:5px}.hero-actions{display:flex;gap:25px;align-items:center;flex-wrap:wrap}.ribbon{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;font:11px/1.6 Arial,sans-serif;letter-spacing:2px;text-transform:uppercase;color:#625b4d}.section{padding:75px 0}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:35px}.section-heading p{max-width:380px;color:#625b4d}.maps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px}.map-card{border-bottom:1px solid var(--line);padding-bottom:25px}.map-open{border:0;padding:16px;background:#e7dcc7;width:100%;cursor:zoom-in;display:block}.map-open img{width:100%;height:280px;object-fit:contain;display:block;transition:transform .25s}.map-open:hover img{transform:scale(1.025)}.card-top{display:flex;justify-content:space-between;font:10px Arial,sans-serif;text-transform:uppercase;letter-spacing:1.6px;color:#756244;margin-top:20px}.map-card p{font-size:16px;color:#625b4d}.quote-section{background:var(--wine);color:var(--paper);padding:75px 0;text-align:center}.quote-section .wrap{max-width:900px}.quote-section .eyebrow{color:#d9bd88}.quote-section blockquote{margin:28px 0;font-size:clamp(30px,4vw,48px);line-height:1.3}.quote-section .translation{font-style:italic;color:#e3cfac;font-size:21px}.quote-section .attribution{font:12px/1.8 Arial,sans-serif;letter-spacing:1px}.quote-section .source-note{font:13px/1.7 Arial,sans-serif;max-width:720px;margin:25px auto 0;color:#eadac5}.history{display:grid;grid-template-columns:1fr 1fr;gap:75px}.timeline{list-style:none;padding:0;margin:0;border-left:1px solid var(--gold)}.timeline li{position:relative;padding:0 0 26px 28px}.timeline li:before{content:'';position:absolute;left:-5px;top:7px;background:var(--wine);width:9px;height:9px;border-radius:50%}.timeline strong{color:var(--wine);font-size:20px}.timeline p{font-size:16px;margin:7px 0 0}.sources{background:#e9dfcd;padding:55px 0}.sources p,.sources li{font-size:15px}.site-footer{padding:32px 0;border-top:1px solid var(--line);font:11px/1.8 Arial,sans-serif}.footer-inner{display:flex;justify-content:space-between;gap:30px}.viewer{border:1px solid var(--gold);background:var(--paper);color:var(--ink);width:min(1200px,95vw);max-height:92vh;padding:20px}.viewer::backdrop{background:#191611dc}.viewer-top{display:flex;justify-content:space-between;gap:20px;align-items:center}.viewer-close{background:var(--wine);color:white;border:0;padding:8px 15px;cursor:pointer}.viewer img{display:block;max-height:70vh;object-fit:contain;margin:20px auto}.editorial{padding:65px 0;max-width:850px}.editorial h1{font-size:clamp(36px,5vw,60px)}.entry-content{overflow-wrap:anywhere}.entry-content iframe{max-width:100%}.entry-content img{height:auto}.entry-content table{display:block;overflow:auto}.post-list{display:grid;gap:35px}.post-item{padding-bottom:30px;border-bottom:1px solid var(--line)}.post-item h2{font-size:34px}.alignwide{max-width:1200px}.aligncenter{display:block;margin:auto}.wp-caption{max-width:100%}.wp-caption-text,.gallery-caption{font-size:14px}.sticky{border-top:3px solid var(--wine)}.bypostauthor{font-weight:normal}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}.navigation.pagination{margin:30px 0}.page-numbers{padding:8px}.search-form{display:flex;gap:10px;flex-wrap:wrap}.search-field{padding:10px;max-width:100%}.search-submit{padding:10px;background:var(--wine);color:white;border:0}@media(max-width:960px){.hero{gap:35px;padding:50px 0}.history{gap:35px}.nav ul{gap:17px}.map-open img{height:230px}}@media(max-width:760px){.header-inner{min-height:76px;flex-wrap:wrap;padding:12px 0}.brand strong{font-size:19px}.brand small{font-size:8px}.menu-toggle{display:block}.nav{display:none;width:100%;padding:12px 0}.nav.is-open{display:block}.nav ul{flex-direction:column;gap:0}.nav a{display:block;padding:12px 0}.hero{grid-template-columns:1fr;gap:35px;padding:40px 0}.hero-art{box-shadow:9px 9px 0 #e8dfcf}.hero-copy{max-width:none}.ribbon{flex-wrap:wrap;font-size:9px;gap:12px}.section{padding:50px 0}.section-heading{display:block;margin-bottom:25px}.maps,.history{grid-template-columns:1fr;gap:30px}.map-open img{height:auto;max-height:310px}.quote-section{padding:50px 0}.footer-inner{display:block}.viewer{padding:12px}.viewer img{max-height:65vh}.hero-copy p{font-size:18px}.editorial{padding:40px 0}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Locally served period-inspired letterpress typography. */
@font-face{font-family:AtlasFell;src:url('assets/fonts/IMFellEnglish.ttf') format('truetype');font-display:swap;font-weight:400;font-style:normal}
@font-face{font-family:AtlasCaps;src:url('assets/fonts/IMFellEnglishSC.ttf') format('truetype');font-display:swap;font-weight:400;font-style:normal}
body,button,input,textarea{font-family:AtlasFell,Georgia,serif}h1,h2,h3,.brand strong,.quote-section blockquote{font-family:AtlasFell,Georgia,serif}.eyebrow,.nav a,.brand small,.button,.ribbon,.card-top,.text-link,.site-footer,.hero-art figcaption{font-family:AtlasCaps,Georgia,serif}.quote-section .attribution,.quote-section .source-note{font-family:AtlasFell,Georgia,serif}.brand strong{font-family:AtlasCaps,Georgia,serif}.nav a,.button,.text-link{font-size:15px}.eyebrow,.ribbon{font-size:13px}.brand small{font-size:12px}.card-top,.hero-art figcaption{font-size:13px}.site-footer{font-size:15px}.quote-section .source-note{font-size:16px}.footer-inner{flex-wrap:wrap;align-items:center}.footer-links{display:flex;flex-wrap:wrap;gap:20px}.footer-contact{overflow-wrap:anywhere}.legal-content{max-width:860px}.legal-content h2{font-size:30px;margin-top:35px}.legal-content h1{font-size:clamp(40px,5vw,62px)}.legal-meta{color:#6a5a43}.legal-content ul{padding-left:24px}.legal-content a{overflow-wrap:anywhere}.legal-content .notice{padding:20px;border-left:3px solid var(--wine);background:#e9dfcd}
@media(max-width:760px){.brand small{font-size:10px}.nav a{font-size:17px}.footer-links{gap:12px 20px}.legal-content{font-size:18px}.brand strong{letter-spacing:1px}}

.enquiry-form{max-width:860px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.enquiry-form label{display:block;margin-bottom:20px}.enquiry-form input:not([type=checkbox]):not([type=hidden]),.enquiry-form textarea{display:block;width:100%;padding:12px;border:1px solid #a58e68;background:#fcf7ec;color:var(--ink);border-radius:0}.enquiry-form textarea{resize:vertical}.enquiry-form .consent-label{display:flex;align-items:flex-start;gap:12px}.consent-label input{margin-top:7px;width:19px;height:19px;flex-shrink:0;accent-color:var(--wine)}.form-note{font-size:16px;color:#625b4d}.form-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.form-status{padding:18px;border-left:3px solid var(--wine);background:#e9dfcd}.contact-section{border-top:1px solid var(--line)}@media(max-width:760px){.form-grid{grid-template-columns:1fr;gap:0}}

.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.blog-card{padding:28px;border:1px solid var(--line);background:#eee4d2}.blog-card h2,.blog-card h3{font-size:29px;line-height:1.25}.blog-card h2 a,.blog-card h3 a{text-decoration:none}.blog-card h2 a:hover,.blog-card h3 a:hover{color:var(--wine)}.blog-card p{font-size:17px}.blog-date{font-size:14px!important;color:#6a5a43}.blog-intro{max-width:850px;margin-bottom:40px}@media(max-width:960px){.blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.blog-grid{grid-template-columns:1fr}.blog-card{padding:22px}}
