/*
Theme Name: VIHOV Magazine
Theme URI: https://vihov.com
Author: VIHOV
Description: Custom editorial photography magazine theme for VIHOV.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: vihov
*/

:root{
  --bg:#f6f4ef;
  --paper:#fff;
  --text:#111;
  --muted:#6f6f6f;
  --line:#d9d6cf;
  --max:1500px;
  --pad:clamp(18px,3vw,48px);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:Arial,Helvetica,sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.site-shell{max-width:var(--max);margin:0 auto;padding:0 var(--pad)}
.site-header{
  position:sticky;top:0;z-index:1000;background:rgba(246,244,239,.94);
  backdrop-filter:blur(12px);border-bottom:1px solid var(--line);
}
.header-inner{
  min-height:82px;display:grid;grid-template-columns:1fr auto 1fr;
  align-items:center;gap:24px;
}
.brand{
  font-size:clamp(26px,3vw,46px);font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;justify-self:center;
}
.custom-logo{max-height:52px;width:auto}
.nav-primary{display:flex;gap:22px;align-items:center;font-size:12px;text-transform:uppercase;letter-spacing:.12em}
.nav-primary ul{display:flex;gap:22px;list-style:none;margin:0;padding:0}
.header-actions{justify-self:end;display:flex;gap:15px;align-items:center;font-size:12px;text-transform:uppercase;letter-spacing:.1em}
.menu-toggle{display:none;background:transparent;border:0;font-size:13px;text-transform:uppercase;letter-spacing:.1em;padding:10px 0}
.hero{padding:24px 0 64px}
.hero-media{position:relative;min-height:min(78vh,900px);background:#ddd;overflow:hidden}
.hero-media img{width:100%;height:min(78vh,900px);object-fit:cover}
.hero-overlay{
  position:absolute;left:0;right:0;bottom:0;padding:clamp(24px,5vw,70px);
  color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.72));
}
.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.18em;margin-bottom:12px}
.hero-title{font-family:Georgia,'Times New Roman',serif;font-size:clamp(44px,7vw,106px);font-weight:400;line-height:.92;margin:0 0 14px;max-width:1100px}
.hero-meta{font-size:13px;letter-spacing:.06em}
.section{padding:30px 0 84px}
.section-head{display:flex;justify-content:space-between;align-items:end;border-top:1px solid var(--text);padding-top:14px;margin-bottom:24px}
.section-title{font-size:13px;text-transform:uppercase;letter-spacing:.18em;margin:0}
.section-link{font-size:11px;text-transform:uppercase;letter-spacing:.12em}
.grid{display:grid;gap:clamp(16px,2vw,32px)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.card-image{aspect-ratio:4/5;background:#ddd;overflow:hidden;margin-bottom:14px}
.card-image.landscape{aspect-ratio:4/3}
.card-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.card:hover .card-image img{transform:scale(1.018)}
.card-kicker{font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:var(--muted);margin-bottom:6px}
.card-title{font-family:Georgia,'Times New Roman',serif;font-size:clamp(22px,2vw,34px);font-weight:400;line-height:1.02;margin:0 0 7px}
.card-meta{font-size:11px;color:var(--muted);line-height:1.45}
.feature-band{display:grid;grid-template-columns:1.45fr .55fr;gap:clamp(24px,4vw,70px);align-items:end}
.feature-band .feature-image{aspect-ratio:16/10;overflow:hidden;background:#ddd}
.feature-band .feature-image img{width:100%;height:100%;object-fit:cover}
.feature-copy h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(40px,5vw,78px);font-weight:400;line-height:.95;margin:0 0 20px}
.feature-copy p{max-width:520px;color:var(--muted);line-height:1.65}
.button{
  display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--text);
  padding:14px 18px;font-size:11px;text-transform:uppercase;letter-spacing:.14em;
  transition:.2s;
}
.button:hover{background:var(--text);color:#fff}
.button.inverse{border-color:#fff}
.button.inverse:hover{background:#fff;color:#111}
.submit-band{background:#111;color:#fff;padding:80px var(--pad);margin:20px 0 84px}
.submit-band-inner{max-width:1000px;margin:0 auto;text-align:center}
.submit-band h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(46px,7vw,94px);font-weight:400;line-height:.95;margin:0 0 22px}
.submit-band p{color:#c8c8c8;max-width:680px;margin:0 auto 28px;line-height:1.6}
.site-footer{border-top:1px solid var(--line);padding:45px 0 25px;margin-top:80px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}
.footer-brand{font-size:34px;font-weight:700;letter-spacing:.16em}
.footer-copy,.footer-links{font-size:12px;line-height:1.8;color:var(--muted)}
.footer-links ul{list-style:none;margin:0;padding:0}
.footer-bottom{border-top:1px solid var(--line);margin-top:36px;padding-top:18px;font-size:10px;color:var(--muted);display:flex;justify-content:space-between;gap:20px}
.archive-header{padding:72px 0 38px;border-bottom:1px solid var(--line);margin-bottom:38px}
.archive-header h1,.page-title{
  font-family:Georgia,'Times New Roman',serif;font-size:clamp(52px,8vw,120px);
  font-weight:400;line-height:.9;margin:0;
}
.archive-description{max-width:760px;margin-top:22px;color:var(--muted);line-height:1.65}
.editorial-head{padding:60px 0 42px;text-align:center}
.editorial-head h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(48px,7vw,112px);font-weight:400;line-height:.9;margin:0 0 22px}
.editorial-sub{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted)}
.editorial-cover{max-width:1700px;margin:0 auto 46px;padding:0 var(--pad)}
.editorial-cover img{width:100%;max-height:90vh;object-fit:cover}
.editorial-body{max-width:1100px;margin:0 auto;padding:0 var(--pad)}
.editorial-body .wp-block-image,.editorial-body .wp-block-gallery{margin:0 0 28px}
.editorial-body p{font-family:Georgia,'Times New Roman',serif;font-size:20px;line-height:1.65}
.editorial-body .wp-block-gallery{gap:18px}
.credits{max-width:1100px;margin:60px auto 0;padding:28px var(--pad);border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.credit-label{font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:var(--muted);margin-bottom:6px}
.credit-value{font-family:Georgia,'Times New Roman',serif;font-size:20px}
.profile-header{padding:64px 0;display:grid;grid-template-columns:minmax(220px,.8fr) 1.5fr;gap:clamp(30px,6vw,90px);align-items:center}
.profile-image{aspect-ratio:4/5;background:#ddd;overflow:hidden}
.profile-image img{width:100%;height:100%;object-fit:cover}
.profile-copy h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(52px,7vw,100px);font-weight:400;line-height:.92;margin:0 0 18px}
.profile-meta{font-size:11px;text-transform:uppercase;letter-spacing:.13em;color:var(--muted);margin-bottom:24px}
.profile-copy .bio{max-width:760px;line-height:1.7;color:#333}
.profile-links{display:flex;gap:12px;margin-top:26px;flex-wrap:wrap}
.form-wrap{max-width:900px;margin:0 auto;padding:50px var(--pad)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.form-field{display:flex;flex-direction:column;gap:7px}
.form-field.full{grid-column:1/-1}
.form-field label{font-size:10px;text-transform:uppercase;letter-spacing:.13em}
.form-field input,.form-field textarea,.form-field select{
  width:100%;border:1px solid var(--line);background:#fff;padding:14px 15px;font:inherit
}
.form-field textarea{min-height:130px}
.notice{padding:14px 16px;margin-bottom:20px;border:1px solid var(--line);background:#fff}
.age-gate{position:fixed;inset:0;z-index:99999;background:#0d0d0d;color:#fff;display:none;align-items:center;justify-content:center;padding:24px}
.age-gate.active{display:flex}
.age-box{max-width:660px;text-align:center}
.age-brand{font-size:42px;font-weight:700;letter-spacing:.18em;margin-bottom:30px}
.age-box h2{font-family:Georgia,'Times New Roman',serif;font-size:44px;font-weight:400;margin:0 0 14px}
.age-box p{color:#c8c8c8;line-height:1.6;margin-bottom:26px}
.age-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.age-actions button{cursor:pointer;background:transparent;color:#fff}
.age-actions .button.primary{background:#fff;color:#111;border-color:#fff}
@media(max-width:900px){
  .header-inner{grid-template-columns:1fr auto}
  .brand{justify-self:start}
  .menu-toggle{display:block;justify-self:end}
  .nav-primary,.header-actions{display:none}
  .site-header.nav-open .nav-primary{display:block;grid-column:1/-1;padding:15px 0 24px}
  .site-header.nav-open .nav-primary ul{flex-direction:column;gap:14px}
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .feature-band{grid-template-columns:1fr}
  .profile-header{grid-template-columns:1fr}
  .profile-image{max-width:520px}
  .credits{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-brand{grid-column:1/-1}
}
@media(max-width:580px){
  .hero{padding-top:14px}
  .hero-media,.hero-media img{min-height:68vh;height:68vh}
  .grid-3,.grid-4{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
  .credits{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column}
}
