:root{--paper:#f5f0eb;--ink:#332f2a;--muted:#62594e;--accent:#68513b;--line:#d8cabc;--soft:#ebe1d7}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:6rem}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.75 Arial,Helvetica,sans-serif}a{color:inherit;text-underline-offset:.2em}a:hover{color:var(--accent)}a:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:5px}img{max-width:100%;height:auto;display:block}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;line-height:1.23;font-weight:400;overflow-wrap:break-word}h1{font-size:clamp(2.5rem,5.2vw,4.35rem);margin:.3em 0}h2{font-size:clamp(1.8rem,3vw,2.6rem);margin:0 0 1rem}h3{font-size:1.3rem;margin:0 0 .6rem}p{margin:0 0 1.2rem;overflow-wrap:anywhere}ul{padding-left:1.2rem}.container{width:min(1120px,90%);margin:auto}.skip{position:fixed;left:1rem;top:-100px;z-index:20;background:white;padding:1rem}.skip:focus{top:1rem}.header{position:sticky;top:0;z-index:10;background:#f5f0eb;border-bottom:1px solid var(--line)}.nav{display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:84px}.brand{font-family:Georgia,serif;font-size:clamp(1.18rem,1.15rem + .18vw,1.3rem);text-decoration:none;line-height:1.2}.nav ul{display:flex;gap:1.5rem;list-style:none;padding:0;margin:0;flex-wrap:wrap;justify-content:flex-end}.nav a{font-size:.95rem}.nav li a{display:block;padding:.7rem 0}.hero{padding:4.4rem 0 4rem}.hero-grid{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(320px,1fr);align-items:center;gap:4rem}.eyebrow{font-size:.8rem;text-transform:uppercase;letter-spacing:.12em;color:var(--accent);font-weight:bold}.hero .logo{width:92px;height:92px;margin-bottom:1.35rem}.hero .portrait{width:380px;border-radius:2px;margin:auto}.name{font-size:1.35rem;font-family:Georgia,serif}.lead{font-size:1.1rem}.actions{display:flex;flex-wrap:wrap;gap:.8rem;margin:1.5rem 0}.button{display:inline-block;padding:.8rem 1.15rem;border:1px solid var(--accent);text-decoration:none;line-height:1.4;font-weight:bold;border-radius:2px}.primary{background:var(--accent);color:white}.primary:hover{background:var(--ink);color:white}.small{font-size:.9rem;color:var(--muted)}.section{padding:4rem 0;border-top:1px solid var(--line)}.tinted{background:var(--soft)}.copy{max-width:850px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}.card{padding:1.6rem;border:1px solid var(--line);background:#fff8}.card p:last-child{margin-bottom:0}.office-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem}.office-grid .card{padding:0;overflow:hidden}.office-grid img{width:100%;height:180px;object-fit:cover}.card-body{padding:1.5rem}.subheading{margin-top:2.5rem}.services-list{columns:2;column-gap:2.5rem}.services-list li{break-inside:avoid;margin-bottom:.5rem}.service-intro{display:grid;grid-template-columns:1fr 220px;gap:2rem;align-items:center;margin-bottom:2rem}.service-intro img{width:220px}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem}address{font-style:normal}.contact-link{font-size:1.25rem;overflow-wrap:anywhere}.social{display:flex;flex-wrap:wrap;gap:1.2rem;list-style:none;padding:0}.footer{padding:2rem 0;border-top:1px solid var(--line);font-size:.85rem;color:var(--muted)}details{border-bottom:1px solid var(--line);padding:1.1rem 0}summary{font-weight:bold;cursor:pointer}details p{margin:1rem 0 0}blockquote{margin:2rem 0 0;border-left:3px solid var(--accent);padding-left:1.2rem;font-family:Georgia,serif}.contact-grid .button{font-size:1rem}@media(max-width:900px){.office-grid{grid-template-columns:1fr}.office-grid .card{display:grid;grid-template-columns:180px 1fr}.office-grid img{height:100%;object-fit:cover}.hero-grid{gap:2rem}}@media(max-width:700px){body{font-size:16px}.nav{flex-direction:column;gap:0;padding:.6rem 0}.nav ul{gap:.65rem;justify-content:center;width:100%}.nav a{font-size:.84rem}.nav .brand{font-size:1.06rem;text-align:center}.nav li a{padding:.45rem 0;min-height:40px}.hero{padding:2.9rem 0}.hero-grid,.grid,.contact-grid,.service-intro{grid-template-columns:1fr}.hero .portrait{width:300px}.hero-grid{gap:2rem}.section{padding:2.5rem 0}.service-intro img{width:180px}.services-list{columns:1}.office-grid .card{display:block}.office-grid img{height:180px}.actions .button{flex:1;text-align:center}.container{width:90%}html{scroll-padding-top:8rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}@media print{.header,.actions,.social,.skip{display:none}.section,.hero{padding:1rem 0}.card{break-inside:avoid}body{background:white;color:black;font-size:11pt}.hero .portrait{width:160px}}

.brand{letter-spacing:.01em}.hero-primary-location,.hero-secondary-location{display:inline-block}.hero-primary-location{white-space:nowrap}.hero-secondary-location{font-size:clamp(.72em,.68em + .18vw,.8em);color:var(--muted);font-weight:400;white-space:nowrap;margin-left:.18em}.hero .name{max-width:34rem}.hero .lead{max-width:42rem}.hero .small{max-width:40rem}@media(max-width:900px){.hero .logo{width:86px;height:86px}.hero .portrait{width:min(100%,360px)}.hero-secondary-location{display:block;margin-left:0;margin-top:.14em}}@media(max-width:700px){.nav ul{row-gap:.15rem}.hero .logo{width:82px;height:82px;margin-bottom:1.1rem}.hero-primary-location,.hero-secondary-location{display:block;white-space:normal}.hero-secondary-location{margin:.1em 0 0;font-size:.6em;line-height:1.28}.hero .lead,.hero .small,.hero .name{max-width:none}}@media(max-width:430px){.nav ul{gap:.45rem 1rem}.nav a{font-size:.82rem}.hero .portrait{width:min(100%,290px)}.hero .logo{width:78px;height:78px}}


/* 2026-10-18: responsive card image placement; safe, non-cropping formats */
.hero-grid > *, .service-intro > *, .contact-grid > *, .grid > *,
.office-grid > *, .office-grid .card-body { min-width: 0; }
.hero .portrait { display: block; width: min(100%, 380px); height: auto; aspect-ratio: 1; }
.office-grid { align-items: stretch; }
.office-grid .card { display: flex; flex-direction: column; min-width: 0; }
.office-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background-color: #29241f;
}
.office-grid .card-body { flex: 1; }
.card a, .contact-link a { overflow-wrap: anywhere; }
.service-intro img { display:block; width: min(100%, 220px); height: auto; aspect-ratio:1; object-fit:contain; justify-self:center; }
@media (min-width: 701px) and (max-width: 900px) {
 .office-grid .card { display:grid; grid-template-columns: minmax(170px, 30%) minmax(0, 1fr); align-items:start; }
 .office-grid img { display:block; width:100%; height:auto; aspect-ratio:4 / 3; object-fit:contain; }
 .office-grid .card-body { padding: clamp(1rem, 2.5vw, 1.5rem); }
}
@media (max-width: 700px) {
 .nav ul { flex-wrap:wrap; column-gap: clamp(.4rem, 3vw, .95rem); row-gap:0; }
 .nav li a { display:flex; align-items:center; min-height:44px; }
 .hero-grid, .grid, .contact-grid, .service-intro { grid-template-columns:minmax(0,1fr); }
 .hero .portrait { width:min(100%,300px); }
 .office-grid .card { display:flex; flex-direction:column; }
 .office-grid img { width:100%; height:auto; aspect-ratio:4 / 3; object-fit:contain; }
 .service-intro img { width:min(100%,180px); }
 .contact-link {font-size:clamp(1rem, 4vw, 1.25rem);}
 .actions .button { min-width:0; overflow-wrap:anywhere; }
 html { scroll-padding-top:10rem; }
}
@media (max-width: 375px) {
 .nav .brand { font-size: .93rem; text-align:center; }
 .nav ul { column-gap:.3rem; justify-content:space-around; }
 .nav a {font-size:.77rem;}
 .card-body {padding:1.2rem;}
}
@media print {
 .office-grid img {max-width:230px;aspect-ratio:4 / 3;}
}


/* Keretezett, elegáns navigációs gombok – csak a fejléc menüpontjaira. */
.nav .site-nav-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: clamp(.4rem, .65vw, .7rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav .site-nav-links > li { flex: 0 0 auto; min-width: 0; }
.nav .site-nav-links > li > a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .72rem clamp(.78rem, 1vw, 1.05rem) .88rem;
  border: 1px solid #c6ae92;
  border-radius: 5px;
  background: linear-gradient(180deg, #fffdfa 0%, #eee2d5 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 3px 8px rgba(57,40,28,.08);
  color: #493929;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 600;
  font-size: clamp(.88rem, .84rem + .18vw, .99rem);
  line-height: 1.2;
  letter-spacing: .01em;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.nav .site-nav-links > li > a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 25px;
  height: 2px;
  border-radius: 1px;
  background: #ac8b65;
  opacity: .8;
  transform: translateX(-50%);
  transition: width .2s ease, background .2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav .site-nav-links > li > a:hover {
    color: #fffaf3;
    border-color: #6b5137;
    background: linear-gradient(180deg, #795c40 0%, #59422f 100%);
    box-shadow: 0 6px 14px rgba(57,40,28,.22), inset 0 1px 0 rgba(255,255,255,.12);
    transform: translateY(-2px);
  }
  .nav .site-nav-links > li > a:hover::after { width: 41px; background: #e0c49b; }
}
.nav .site-nav-links > li > a:focus-visible {
  outline: 3px solid #795c40;
  outline-offset: 3px;
  border-color: #795c40;
}
@media (max-width: 1100px) {
  .nav { flex-direction: column; justify-content: center; gap: .65rem; padding: .76rem 0 .85rem; }
  .nav .brand { text-align: center; }
  .nav .site-nav-links { width: 100%; justify-content: center; flex-wrap: wrap; gap: .55rem; }
  .nav .site-nav-links > li > a { min-height: 47px; padding: .66rem 1rem .83rem; }
  html { scroll-padding-top: 10rem; }
}
@media (max-width: 600px) {
  .nav { gap: .53rem; padding: .58rem 0 .74rem; }
  .nav .site-nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .48rem .6rem; }
  .nav .site-nav-links > li { min-width: 0; }
  .nav .site-nav-links > li > a {
    width: 100%; min-width: 0; min-height: 46px;
    padding: .63rem .35rem .77rem;
    font-size: clamp(.8rem, 3.45vw, .96rem);
  }
  html { scroll-padding-top: 12rem; }
}
@media (max-width: 375px) {
  .nav .site-nav-links { gap: .45rem .48rem; }
  .nav .site-nav-links > li > a { font-size: .81rem; letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .nav .site-nav-links > li > a, .nav .site-nav-links > li > a::after { transition: none; }
  .nav .site-nav-links > li > a:hover { transform: none; }
}


/* A név önálló tipográfiai márkajelzés, elkülönül a keretezett menügomboktól. */
.nav .brand {
  position: relative;
  display: inline-flex;
  flex: 0 1 auto;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .18rem;
  padding: .32rem 0 .36rem 1.02rem;
  border-left: 3px solid #a98a68;
  text-decoration: none;
  color: #372d24;
  line-height: 1.15;
  transition: color .2s ease;
}
.nav .brand-name {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.3rem, 1rem + .74vw, 1.72rem);
  font-weight: 700;
  letter-spacing: -.026em;
  line-height: 1.15;
  text-wrap: balance;
}
.nav .brand-role {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .21em;
  line-height: 1.5;
  text-transform: uppercase;
  color: #795b3e;
}
@media (hover: hover) and (pointer: fine) {
  .nav .brand:hover { color: #825b39; }
}
@media (max-width: 1100px) {
  .nav .brand {
    align-items: center;
    text-align: center;
    border-left: 0;
    border-bottom: 2px solid #bca285;
    padding: .10rem .35rem .52rem;
  }
  .nav .brand-name { font-size: clamp(1.42rem, 1.13rem + .7vw, 1.67rem); }
}
@media (max-width: 600px) {
  .nav .brand { max-width: 100%; padding: .08rem .1rem .47rem; }
  .nav .brand-name { font-size: clamp(1.19rem, 4.6vw, 1.6rem); }
  .nav .brand-role { font-size: .66rem; }
  html { scroll-padding-top: 13rem; }
}
@media (prefers-reduced-motion: reduce) {
  .nav .brand { transition: none; }
}



/* Kapcsolatfelveteli urlap – mobilbarat, az eredeti designhoz igazodva */
.kapcsolat-form-grid{display:grid;grid-template-columns:minmax(0,0.85fr) minmax(0,1.15fr);gap:clamp(1.5rem,4vw,4rem);align-items:start}
.kapcsolat-form-grid>*{min-width:0}
.kapcsolat-form-panel{background:#fffaf6;border:1px solid var(--line);padding:clamp(1.2rem,3vw,2.15rem);border-radius:3px}
.kapcsolat-form{display:grid;gap:1.08rem}
.kapcsolat-form .input-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.kapcsolat-form .field{display:flex;flex-direction:column;gap:.35rem;min-width:0}
.kapcsolat-form label{font-weight:600;font-size:.93rem;line-height:1.45}
.kapcsolat-form input:not([type=checkbox]),.kapcsolat-form textarea{display:block;min-width:0;width:100%;font:inherit;font-size:1rem;line-height:1.4;color:var(--ink);border:1px solid #ab9b8c;background:#fff;padding:.77rem .85rem;border-radius:2px;outline-offset:3px}
.kapcsolat-form textarea{min-height:170px;resize:vertical}
.kapcsolat-form input:focus-visible,.kapcsolat-form textarea:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-color:var(--accent)}
.kapcsolat-form input:invalid:not(:placeholder-shown),.kapcsolat-form textarea:invalid:not(:placeholder-shown){border-color:#98594b}
.kapcsolat-form .required-star{color:#854c36}
.kapcsolat-form .hint{font-size:.82rem;color:var(--muted);line-height:1.5;margin:0}
.kapcsolat-form .check-row{display:flex;align-items:start;gap:.7rem;font-size:.86rem;font-weight:400;line-height:1.55}
.kapcsolat-form .check-row input{flex:0 0 auto;accent-color:var(--accent);width:19px;height:19px;margin:.15rem 0 0}
.kapcsolat-form .check-row span{flex:1;min-width:0}
.kapcsolat-form .form-submit{font:inherit;font-size:1rem;cursor:pointer;min-height:48px;width:100%;text-align:center}
.kapcsolat-form .form-submit:disabled{cursor:wait;opacity:.65}
.kapcsolat-form .form-status{margin:0;padding:.7rem .9rem;border-left:3px solid var(--accent);background:var(--soft);line-height:1.5;font-size:.9rem}
.kapcsolat-form .form-status[hidden]{display:none}
.kapcsolat-form .form-status[data-status=error]{border-left-color:#a24536;background:#fff0ec}
.kapcsolat-form .form-status[data-status=success]{border-left-color:#34765e;background:#eaf5ef}
.kapcsolat-form .honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.kapcsolat-form .form-note{font-size:.8rem;line-height:1.6;color:var(--muted);margin:0}
@media(max-width:900px){.kapcsolat-form-grid{grid-template-columns:minmax(0,1fr);gap:1.4rem}.kapcsolat-form-panel{max-width:760px}}
@media(max-width:520px){.kapcsolat-form .input-grid{grid-template-columns:minmax(0,1fr)}.kapcsolat-form-panel{padding:1.1rem}.kapcsolat-form textarea{min-height:145px}}
@media(prefers-reduced-motion:reduce){.kapcsolat-form *{scroll-behavior:auto}}



/* Finom prémium ügyvédi arculat: meleg elefántcsont, sötét palakék, visszafogott bronz. */
:root {
  --paper:#f8f6f2;
  --ink:#26343d;
  --muted:#545d63;
  --accent:#75583c;
  --line:#d9d2c8;
  --soft:#f0ebe4;
  --deep:#273b49;
  --gold:#af8754;
}
body { background:var(--paper); color:var(--ink); }
.header { background:#f8f6f2; border-top:3px solid var(--gold); border-bottom-color:#d2c5b4; box-shadow:0 3px 16px rgba(30,42,48,.045); }
.hero { background:linear-gradient(125deg,#faf8f5 0%,#f6f2eb 75%,#f1e9dd 100%); }
.hero h1 { color:var(--deep); }
.eyebrow {color:#785b38;}
.hero .logo {filter:drop-shadow(0 2px 3px rgba(27,34,39,.08));}
.hero .portrait {background:transparent;border-radius:50%;box-shadow:none;filter:drop-shadow(0 15px 28px rgba(39,51,58,.14));}
.section {border-color:var(--line);}
.tinted {background:var(--soft);}
.card {background:#fffdfa; border-color:#d8cfc3; border-radius:5px; box-shadow:0 2px 10px rgba(36,47,54,.04);}
.card h3 {color:var(--deep);}
.section .container > h2:not(.subheading)::after {
 content:"";display:block;width:52px;height:2px;margin:.85rem 0 1.25rem;
 background:linear-gradient(90deg,var(--gold),#d5b58b);
}
.button {border-color:var(--deep);border-radius:5px;color:var(--deep);background:transparent;transition:transform .18s ease,background-color .18s ease,box-shadow .18s ease,color .18s ease;}
.button.primary,.primary {border-color:var(--deep);background:var(--deep);color:#fff;box-shadow:0 4px 13px rgba(39,59,73,.15);}
.button.primary:hover,.primary:hover {border-color:#192a36;background:#192a36;color:white;box-shadow:0 7px 17px rgba(39,59,73,.22);}
.button:not(.primary):hover {border-color:var(--deep);background:#e9e5dd;color:var(--deep);}
.nav .brand {border-left-color:var(--gold);color:var(--deep);}
.nav .brand-role {color:#785b38;}
.nav .site-nav-links {gap:clamp(.35rem,.55vw,.65rem);}
.nav .site-nav-links > li > a {
 border-color:#cdbba4;color:#30404b;
 background:linear-gradient(180deg,#fffefa 0%,#f1ebe2 100%);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 3px 8px rgba(39,59,73,.065);
 padding-inline:clamp(.62rem,.84vw,1rem);
}
.nav .site-nav-links > li > a::after {background:var(--gold);}
@media (hover:hover) and (pointer:fine) {
 .nav .site-nav-links > li > a:hover {background:linear-gradient(180deg,#385161,#253a49);border-color:var(--deep);color:white;box-shadow:0 6px 14px rgba(39,59,73,.2);}
 .nav .site-nav-links > li > a:hover::after {background:#d7b989;}
 .button:hover {transform:translateY(-1px);}
}
.nav .site-nav-links > li > a:focus-visible {outline-color:var(--deep);border-color:var(--deep);}
.nav .brand:focus-visible {outline-color:var(--deep);}
.kapcsolat-form-panel {background:#fffdfa;}
.kapcsolat-form input:not([type=checkbox]),.kapcsolat-form textarea {border-color:#acaca5;}
details {border-color:#d0c6b8;}
summary {color:var(--deep);}
summary:hover {color:var(--accent);}
.footer {background:#f2eee8;}
/* Ikonok látható feliratokkal a kapcsolatnál, ikon-only navigációval a főoldalon. */
.social {display:flex;align-items:center;flex-wrap:wrap;gap:.65rem;margin:.35rem 0 1.1rem;padding:0;list-style:none;}
.social > li {margin:0;padding:0;}
.social a {
 display:inline-flex;align-items:center;justify-content:center;gap:.58rem;
 min-height:46px;padding:.43rem .8rem;border:1px solid #d0c2b3;border-radius:7px;
 background:#fffefa;color:var(--deep);font-weight:700;font-size:.94rem;
 text-decoration:none;box-shadow:0 3px 10px rgba(39,59,73,.07);
 transition:background-color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.social a:hover {background:#f0e9df;border-color:#ad8a61;color:var(--deep);box-shadow:0 5px 12px rgba(39,59,73,.12);}
.social a:focus-visible {outline:3px solid var(--deep);outline-offset:3px;}
.social-icon {width:27px;height:27px;display:inline-flex;align-items:center;justify-content:center;flex:none;}
.social-icon svg {display:block;width:100%;height:100%;}
.social-icon--instagram {border-radius:7px;background:linear-gradient(40deg,#feda75 0%,#fa7e1e 28%,#d62976 55%,#962fbf 78%,#4f5bd5 100%);padding:3px;}
.social-icon--google {border-radius:50%;background:#fff;padding:2px;}
.social--hero {margin:0;gap:.55rem;}
.social--hero a {width:49px;height:49px;padding:.56rem;border-radius:9px;}
.social--hero .social-icon {width:30px;height:30px;}
.hero-social {display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem;margin:0 0 1.25rem;}
.hero-social-caption {color:var(--muted);font-size:.86rem;font-weight:600;}
@media (max-width:1100px) {
 .nav .brand {border-left:0;border-bottom-color:var(--gold);}
 .nav .site-nav-links {gap:.5rem;}
}
@media (max-width:600px) {
 /* Mobilon a teljes navigáció görgetés közben is a képernyő tetején marad. */
 /* Öt menüpont: 2-2-1, a kapcsolat hangsúlyosan teljes szélességű. */
 .header {position:sticky;top:0;}
 .nav .site-nav-links {grid-template-columns:repeat(2,minmax(0,1fr));gap:.43rem .5rem;}
 .nav .site-nav-links > li:last-child {grid-column:1 / -1;}
 .nav .site-nav-links > li > a {min-height:44px;padding:.58rem .28rem .74rem;font-size:clamp(.76rem,3.25vw,.94rem);}
 /* A hivatkozások célpontja nem kerül a rögzített fejléc mögé. */
 html {scroll-padding-top:15.25rem;}
 .hero-social {gap:.5rem .85rem;}
 .hero-social-caption {width:100%;}
 .social--hero a {width:48px;height:48px;}
 .social--contact {gap:.5rem;}
 .social--contact a {padding:.43rem .65rem;}
}
@media (prefers-reduced-motion:reduce) {
 .button,.social a {transition:none;}
 .button:hover,.social a:hover {transform:none;}
}
@media print {.hero-social {display:none}.hero{background:transparent}.header{box-shadow:none}.card{box-shadow:none}}


/* Mobile: one slim sticky toolbar, menu as a lightweight, scrollable flyout. */
.mobile-menu-toggle { display:none; }
@media (max-width:700px) {
  .header { position:sticky; top:0; z-index:50; }
  .header .nav {
    position:relative; display:flex; flex-flow:row nowrap; justify-content:space-between;
    align-items:center; width:min(1120px,90%); min-height:60px;
    padding:.35rem 0; gap:.5rem;
  }
  .header .nav .brand {
    display:flex; flex:1 1 auto; min-width:0; max-width:none;
    align-items:flex-start; text-align:left; justify-content:center;
    gap:0; padding:0 0 0 .65rem; border-bottom:0;
    border-left:2px solid var(--gold);
  }
  .header .nav .brand-name {
    font-size:clamp(.9rem,3.6vw,1.17rem); line-height:1.2;
    letter-spacing:-.023em; text-wrap:wrap;
  }
  .header .nav .brand-role { font-size:.57rem; line-height:1.35; letter-spacing:.17em; }
  .js-nav .mobile-menu-toggle {
    display:inline-flex; flex:0 0 auto; justify-content:center; align-items:center;
    gap:.5rem; min-width:88px; height:44px; padding:0 .68rem;
    border:1px solid #cdbba4; border-radius:6px;
    color:var(--deep); background:linear-gradient(180deg,#fffefa,#f0e9df);
    box-shadow:0 2px 7px rgba(39,59,73,.075);
    cursor:pointer; font:700 .85rem/1 Arial,Helvetica,sans-serif;
    -webkit-tap-highlight-color:transparent;
  }
  .mobile-menu-toggle:focus-visible { outline:3px solid var(--deep); outline-offset:3px; }
  .mobile-menu-toggle[aria-expanded="true"] { background:#e9dfd2; border-color:#aa8861; }
  .menu-glyph { width:19px; height:19px; display:grid; place-items:center; flex:0 0 auto; }
  .menu-glyph svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }
  .menu-glyph .mobile-icon-close { display:none; }
  .mobile-menu-toggle[aria-expanded="true"] .menu-glyph .mobile-icon-menu { display:none; }
  .mobile-menu-toggle[aria-expanded="true"] .menu-glyph .mobile-icon-close { display:block; }
  .header .nav .site-nav-links {
    display:flex; flex-flow:column nowrap; justify-content:flex-start; align-items:stretch;
    position:static; width:100%; margin:0; padding:.55rem; gap:.35rem;
    background:#fffdfa; border:1px solid #d3c2ac; border-radius:7px;
    box-shadow:0 12px 28px rgba(27,36,42,.18);
  }
  /* JS activates dropdown positioning and keeps the closed menu out of focus order. */
  .js-nav .header .nav .site-nav-links {
    display:none; position:absolute; top:calc(100% + 1px); left:0; right:0;
    width:100%; max-height:calc(100vh - 90px); max-height:calc(100dvh - 90px);
    overflow-y:auto; overscroll-behavior:contain; z-index:2;
  }
  .js-nav .header.is-menu-open .nav .site-nav-links { display:flex; }
  .header .nav .site-nav-links > li { width:100%; flex:0 0 auto; grid-column:auto; }
  .header .nav .site-nav-links > li:last-child { grid-column:auto; }
  .header .nav .site-nav-links > li > a {
    display:flex; justify-content:flex-start; align-items:center;
    width:100%; min-height:44px; padding:.5rem .9rem;
    font-size:.9rem; line-height:1.25; text-align:left; white-space:normal;
    box-shadow:none; background:linear-gradient(180deg,#fffefa,#f6f1e9);
  }
  .header .nav .site-nav-links > li > a::after { left:.92rem; bottom:5px; width:20px; transform:none; }
  html { scroll-padding-top:var(--mobile-nav-offset, 5rem); }
}
@media (max-width:360px) {
  .header .nav { width:92%; gap:.35rem; }
  .header .nav .brand { padding-left:.43rem; }
  .header .nav .brand-name { font-size:.9rem; }
  .js-nav .mobile-menu-toggle { min-width:78px; padding:0 .45rem; gap:.36rem; font-size:.8rem; }
}
@media print { .mobile-menu-toggle { display:none!important; } }

/* Technical accessibility and six-item navigation fixes. */
html {scroll-padding-top:var(--nav-offset, 10rem)}
.skip {z-index:100}
button:focus-visible,input:focus-visible,textarea:focus-visible {outline:3px solid var(--deep);outline-offset:3px}

@media(max-width:700px){html:not(.js-nav) .header .nav{flex-wrap:wrap}html:not(.js-nav) .header{position:static}}
.nav .site-nav-links a[aria-current="page"]{border-color:var(--gold);background:#e9dfd2}
.media-list {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.3rem;padding-bottom:0}
.media-card {display:flex;flex-direction:column;padding:0;overflow:hidden}
.media-card-link {display:flex;flex-direction:column;height:100%;text-decoration:none;color:var(--ink)}
.media-card-link:hover {color:var(--ink)}
.media-card-link:focus-visible {outline-offset:-4px}
.media-image {position:relative;background:var(--soft)}
.media-image img {width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
.media-source {position:absolute;left:1rem;bottom:1rem;padding:.25rem .65rem;background:var(--deep);color:white;font-size:.82rem;font-weight:bold;border-radius:3px}
.media-card .card-body {display:flex;flex-direction:column;flex:1;padding:1.4rem}
.media-date {font-size:.83rem;color:var(--muted);margin-bottom:.75rem}
.media-card h3 {font-size:1.35rem;line-height:1.35;margin-bottom:1.1rem}
.media-card-link:hover h3 {text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em}
.media-read {margin-top:auto;padding-top:1rem;border-top:1px solid var(--line);font-size:.9rem;font-weight:bold;color:var(--accent)}
.media-credit {display:block;margin-top:.8rem;font-size:.72rem;font-weight:normal;color:var(--muted)}
@media(max-width:900px){.media-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.media-list{grid-template-columns:minmax(0,1fr)}}

/* Six balanced menu items: never a lone wrapped button. */
@media (min-width:701px) {
 .header .nav {display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;align-items:center;gap:.7rem;padding:.8rem 0 .9rem}
 .header .nav .brand {min-width:0;width:max-content;max-width:100%;align-items:center;text-align:center;border-left:0;border-bottom:2px solid var(--gold);padding:.1rem .4rem .5rem}
 .header .nav .brand-name {font-size:1.65rem;white-space:normal;overflow-wrap:anywhere}
 .header .nav .site-nav-links {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));width:100%;max-width:960px;gap:.6rem}
 .header .nav .site-nav-links > li {min-width:0;width:auto;grid-column:auto}
 .header .nav .site-nav-links > li > a {width:100%;min-height:48px;padding:.7rem .35rem .85rem;font-size:.9rem;white-space:normal;overflow-wrap:anywhere}
}
@media (min-width:701px) and (max-width:899px) {
 .header .nav .site-nav-links {grid-template-columns:repeat(3,minmax(0,1fr));max-width:660px}
}


@media print{.media-list{display:block}.media-card{margin-bottom:1rem}.media-card-link[href]::after{content:attr(href);font-size:9pt;overflow-wrap:anywhere;padding:1rem}}
