/*
Theme Name: Blondfox Editorial
Description: Лична история, красота и вдъхновение. Лека авторска тема за Blondfox.
Version: 0.1.0
Text Domain: blondfox
*/
:root{--paper:#f8f5ef;--ink:#292b26;--muted:#65665d;--line:#d8d8ca;--olive:#555d43;--white:#fffdf8}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;color:var(--ink);background:var(--paper);font:16px/1.7 Arial,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--olive)}img{max-width:100%;height:auto;display:block}button,input{font:inherit}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #887334;outline-offset:5px}.wrap{width:min(1240px,90%);margin:auto}.masthead{display:flex;align-items:center;justify-content:space-between;padding:26px 0;border-bottom:1px solid var(--line);gap:24px}.brand{font:42px/1 Georgia,serif;letter-spacing:-2px}.brand span{font-style:italic}.nav{display:flex;gap:30px;font-size:13px}.eyebrow{font-size:11px;letter-spacing:2.5px;text-transform:uppercase;color:var(--olive);font-weight:bold}.hero{display:grid;grid-template-columns:1.1fr 1fr;gap:8%;align-items:center;padding:65px 0 75px}.hero h1{font:clamp(44px,5.6vw,78px)/1.08 Georgia,serif;letter-spacing:-2px;margin:22px 0 28px;font-weight:400}.hero h1 em{color:var(--olive);font-weight:400}.hero p{max-width:440px;color:var(--muted)}.hero-photo{position:relative}.hero-photo img{width:100%;height:560px;object-fit:cover;object-position:center 35%}.hero-photo figcaption{display:flex;justify-content:space-between;font-size:11px;letter-spacing:1px;padding-top:14px}.hero figure{margin:0}.button{display:inline-flex;align-items:center;gap:30px;background:var(--olive);color:white;padding:14px 23px;font-size:13px;margin-top:20px}.button:hover{color:white;background:#373e2c}.text-link{font-size:13px;border-bottom:1px solid;padding-bottom:5px}.ribbon{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:19px 0;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font:italic 21px Georgia,serif;color:var(--muted)}.section{padding:80px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:35px}h2{font:42px/1.15 Georgia,serif;font-weight:400;margin:12px 0}h3{font:26px/1.3 Georgia,serif;font-weight:400;margin:13px 0}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.card-image{display:block;background:#e6e4da;overflow:hidden;aspect-ratio:4/5}.card-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.card-image:hover img{transform:scale(1.035)}.meta{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted);margin-top:20px}.card p{font-size:14px;color:var(--muted)}.about{background:#eaece2;padding:65px;display:grid;grid-template-columns:1fr 1.2fr;gap:70px;align-items:center}.about img{width:100%;max-height:440px;object-fit:cover}.about p{color:#52594a}.contact{border-top:1px solid var(--line);padding:65px 0;text-align:center}.contact p{max-width:530px;margin:20px auto}.footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:30px 0;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.footer .brand{font-size:29px}.article{max-width:780px;margin:60px auto 90px}.article h1{font:clamp(36px,5vw,62px)/1.13 Georgia,serif;font-weight:400}.article .entry{font:19px/1.85 Georgia,serif}.entry a{text-decoration:underline}.entry img{height:auto;max-width:100%}.entry figure{max-width:100%;margin:30px 0}.entry iframe{max-width:100%}.entry h2{font-size:32px}.entry h3{font-size:27px}.entry .wp-caption{max-width:100%}.article-hero{margin:30px 0}.pagination{margin:45px 0;display:flex;gap:18px;flex-wrap:wrap}.page-numbers{padding:8px 14px;border:1px solid var(--line)}.page-numbers.current{background:var(--olive);color:white}.search-form{display:flex;gap:10px;margin:20px 0}.search-form input{max-width:100%;min-width:0;padding:10px;border:1px solid var(--line);background:white}.search-form button{padding:10px 20px;border:0;background:var(--olive);color:white}.skip{position:absolute;left:10px;top:-100px;background:white;padding:10px;z-index:99}.skip:focus{top:10px}.empty{padding:40px 0}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:760px){.masthead{align-items:start}.brand{font-size:35px}.nav{gap:12px;flex-wrap:wrap;justify-content:flex-end;max-width:200px;font-size:12px}.hero{grid-template-columns:1fr;gap:40px;padding:42px 0}.hero h1{font-size:49px}.hero-photo img{height:470px}.ribbon{font-size:17px;justify-content:center;gap:18px}.section{padding:50px 0}.grid{grid-template-columns:1fr;gap:40px}.card-image{aspect-ratio:4/3}.section-head{align-items:start}h2{font-size:33px}.about{padding:30px;grid-template-columns:1fr;gap:30px}.about img{max-height:330px}.footer{flex-wrap:wrap}.article{margin-top:35px}.article .entry{font-size:18px}.contact{padding:45px 0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.card-image img{transition:none}}

.brand{display:block;flex-shrink:0}.brand-logo{width:290px;height:auto;mix-blend-mode:multiply}.footer .brand-logo{width:210px}@media(max-width:760px){.masthead{flex-wrap:wrap;gap:22px}.masthead .brand-logo{width:260px;max-width:100%}.masthead .nav{max-width:none;justify-content:flex-start;width:100%;gap:24px}.footer .brand-logo{width:210px}}



.hero-photo img{object-position:center 58%;}

.hero-video{display:block;width:auto;max-width:100%;height:auto;max-height:560px;aspect-ratio:9/16;object-fit:contain;background:transparent;margin-inline:auto}@media(max-width:760px){.hero-video{max-height:470px}}

.about img.about-brushes{object-position:center 58%;}

/* Full-bleed video hero, scoped to the first section. */
.hero{position:relative;isolation:isolate;width:100vw;margin-left:calc(50% - 50vw);min-height:calc(100svh - 105px);padding:70px max(5vw,calc((100vw - 1240px)/2));display:flex;align-items:center;overflow:hidden;background:#333}
.hero>div{position:relative;z-index:2;width:min(600px,55%)}
.hero .hero-photo{position:absolute;inset:0;margin:0;padding:0;z-index:0}
.hero .hero-video{width:100%;height:100%;max-width:none;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:center 38%;margin:0}
.hero .hero-photo::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.70),rgba(0,0,0,.32) 55%,rgba(0,0,0,.08));pointer-events:none}
.hero .hero-photo figcaption{display:none}
.hero .eyebrow,.hero h1,.hero h1 em,.hero p{color:#fff}
.hero h1{text-shadow:0 2px 18px #0003}.hero .button{background:#fff;color:#292b26}.hero .button:hover{background:#eee9df}
@media(max-width:760px){.hero{min-height:calc(100svh - 155px);padding:45px 6vw;align-items:flex-end}.hero>div{width:100%;max-width:520px}.hero h1{font-size:clamp(38px,9vw,54px);margin:18px 0}.hero p{font-size:14px}.hero .hero-video{object-position:center 38%}.hero .hero-photo::after{background:linear-gradient(0deg,rgba(0,0,0,.82),rgba(0,0,0,.28) 65%,rgba(0,0,0,.08))}.hero .eyebrow{font-size:9px}.hero .button{margin-top:12px}}

body:has(.hero-video){overflow-x:clip}

/* Header overlays the video only on the landing page. */
body:has(.hero-video) .masthead{position:absolute;top:0;left:50%;transform:translateX(-50%);z-index:10;border:0;background:transparent}
body:has(.hero-video) .masthead .nav{color:white;text-shadow:0 1px 5px #0009}
body:has(.hero-video) .masthead .nav a:hover{color:#eee6cf}
body:has(.hero-video) .masthead .brand-logo{mix-blend-mode:screen;filter:invert(1) grayscale(1)}
body:has(.hero-video) .hero{min-height:100svh;padding-top:150px}
body:has(.hero-video) .hero .hero-photo::after{background:linear-gradient(180deg,rgba(0,0,0,.55),transparent 24%),linear-gradient(90deg,rgba(0,0,0,.70),rgba(0,0,0,.32) 55%,rgba(0,0,0,.08))}
@media(max-width:760px){body:has(.hero-video) .hero{min-height:100svh;padding-top:180px}body:has(.hero-video) .hero .hero-photo::after{background:linear-gradient(180deg,rgba(0,0,0,.6),transparent 26%),linear-gradient(0deg,rgba(0,0,0,.82),rgba(0,0,0,.28) 65%,rgba(0,0,0,.08))}}

/* Booking links, separate from the editorial navigation. */
.masthead .nav{margin-left:auto;align-items:center}
.booking-cta{display:inline-flex;align-items:center;justify-content:center;gap:12px;flex-shrink:0;padding:12px 18px;background:#f8f5ef;color:#292b26;border:1px solid #d8d8ca;font-size:13px;line-height:1.4;white-space:nowrap}
.booking-cta:hover{background:#e9dfcc;color:#292b26}
@media(max-width:1000px) and (min-width:761px){.masthead{gap:14px}.masthead .brand-logo{width:220px}.masthead .nav{gap:15px}.booking-cta{padding:11px 12px}}
@media(max-width:760px){.masthead .brand{order:0;flex:1;min-width:0}.masthead .brand-logo{width:200px}.masthead .booking-cta{order:1;font-size:11px;padding:10px;gap:5px}.masthead .nav{order:2;margin-left:0}.masthead{gap:14px}.masthead .brand-logo{max-width:100%}}

/* Softer outlined welcome and booking actions. */
.hero .button,.booking-cta,.contact .button{border-radius:14px;border:1px solid currentColor;background:transparent;color:var(--olive);}
.hero .button,body:has(.hero-video) .booking-cta{color:#fff;border-color:rgba(255,255,255,.75);background:rgba(20,24,18,.18);}
.hero .button:hover,body:has(.hero-video) .booking-cta:hover{background:rgba(255,255,255,.16);color:#fff;border-color:#fff;}
.booking-cta:hover,.contact .button:hover{background:#eaece2;color:#373e2c;}
@media(prefers-reduced-motion:no-preference){.hero .button,.booking-cta,.contact .button{transition:background-color .2s,color .2s,border-color .2s;}}

.footer-signature{display:inline-flex;align-items:center;white-space:nowrap}
.rosi-entry{display:inline-flex;align-items:center;justify-content:center;width:44px;min-height:44px;color:#77796b;border-radius:50%;font-size:20px;line-height:1}
.rosi-entry:hover{color:#3c4632;background:#eaece2}
.rosi-entry:focus-visible{outline:2px solid #555d43;outline-offset:1px}
