@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Tangerine:wght@400;700&display=swap');

:root{
  --bg: #f6f3ef;
  --card: #ffffff;
  --text: #1f2328;
  --muted: #5b6470;
  --gold: #c9a04a;
  --brown: #6a4b3b;

  --shadow: 0 12px 30px rgba(20, 20, 20, .12);
  --shadow-soft: 0 8px 18px rgba(20, 20, 20, .10);

  --radius: 16px;
  --container: 1000px;

  --nav-h: 78px;
  --nav-font-size: 15px;
  --nav-font-weight: 400;
  --nav-btn-h: 48px;
  --nav-btn-mb: 0px;

  --hero-h: 500px;
  --hero-overlap: 0px;
}

*{
  box-sizing: border-box;
}

html,
body{
  margin: 0;
  padding: 0;
}

body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

img{
  max-width: 100%;
  height: auto;
}

a{
  color: inherit;
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

.sr-only{
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}



/* =========================
   MOBILE LOGO
========================= */

.mobile-logo{
  display: none;
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg);
  padding: 10px 0;
}

.mobile-logo img{
  display: block;
  height: 65px;
  width: auto;
  margin: 0 auto;
  filter: grayscale(10%);
}

.mobile-logo.is-hidden{
  transform: translateY(-120%);
  transition: transform .25s ease;
}



/* =========================
   HEADER / NAV
========================= */

.site-header{
  position: sticky;
  top: 0;
  z-index: 70;
}

.nav-wrap{
  position: relative;
  width: 100%;
  background: #fff;
  border-top: 5px solid var(--gold);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

.nav-wrap::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -28px;
  height: 28px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,0));
}

.nav-inner{
  max-width: var(--container);
  height: var(--nav-h);
  margin: 0 auto;
  padding: 0 4px 0 0;
  display: flex;
  align-items: stretch;
  gap: 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
}

.brand-logo{
  height: 65px;
  width: auto;
  object-fit: contain;
  filter: grayscale(10%);
}

.nav{
  flex: 0 1 auto;
  display: flex;
}

.nav-list{
  list-style: none;
  margin: 0;
  padding: 0 0 6px 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0;
}

.nav-item{
  position: relative;
  height: 100%;
}

.nav-link,
.nav-dropbtn{
  display: flex;
  align-items: center;
  height: var(--nav-btn-h);
  margin-bottom: var(--nav-btn-mb);
  padding: 0 18px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-size: var(--nav-font-size);
  font-weight: var(--nav-font-weight);
  letter-spacing: .2px;
}

.nav-link:hover,
.nav-dropbtn:hover{
  background: #f2f2f2;
}

.nav-dropbtn{
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.chev{
  margin-left: 8px;
  font-size: .9em;
  opacity: .65;
}

.nav-link.is-active,
.nav-dropdown.is-active > .nav-dropbtn{
  position: relative;
  background: transparent;
}

.nav-link.is-active::after,
.nav-dropdown.is-active > .nav-dropbtn::after{
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  background: var(--gold);
  border-radius: 2px 2px 0 0;
}

.nav-dropdown-menu{
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  padding: 5px;
  background: #fff;
  color: var(--text);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 0;
  box-shadow: var(--shadow);
  z-index: 80;
}

.nav-dropdown-menu li{
  list-style: none;
}

.nav-dropdown-link{
  display: block;
  padding: 10px 12px;
  border-radius: 0;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
}

.nav-dropdown-link:hover{
  background: #f2f2f2;
}

.nav-dropdown-link.is-active{
  position: relative;
  background: transparent;
}

.nav-dropdown-link.is-active::before{
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-dropbtn{
  justify-content: space-between;
}

.nav-dropbtn-label{
  position: relative;
  display: inline-block;
}

.logo img,
.logo svg{
height:60px;
width:auto;
display:block;
}
.logo,
.logo picture,
.logo img {
  display: block;
}

.logo img {
  height: 60px;
  width: auto;
}
/* =========================
   NAV BUTTONS
========================= */

.btn{
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--nav-btn-h);
  margin-bottom: var(--nav-btn-mb);
  padding: 8px 18px;
  gap: 10px;
  border: none;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  text-decoration: none;
  font-size: var(--nav-font-size);
  font-weight: var(--nav-font-weight);
  letter-spacing: .4px;
}

.btn-emergency{
  margin: 0 0 6px 0;
  background: #c62828;
  color: #fff;
  white-space: nowrap;
}

.btn-emergency:hover{
  filter: brightness(1.03);
}


.emergency-label-mobile{
  display: none;
}

.emergency-label-desktop{
  display: inline;
}

.nav-toggle{
  display: none;
  margin-left: 20px;
  padding: 7px 7px;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 2px solid #5b5b5b;
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
  -webkit-text-fill-color: currentColor;
}

.hamburger{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nav-toggle-label{
  line-height: 1;
}

.nav-toggle-bar{
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  background: #5b5b5b;
  border-radius: 2px;
}



/* =========================
   HERO
========================= */

.hero{
  position: relative;
  width: 100%;
  height: var(--hero-h);
  max-height: 500px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero);
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  filter: blur(10px) brightness(.92) saturate(.9) sepia(20%);
}

.hero-overlay{
  position: relative;
  z-index: 2;
  height: 100%;
  background: linear-gradient(
    rgba(40,25,15,.25),
    rgba(40,25,15,.55)
  );
}

.hero-overlay .container{
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.hero-overlay .container::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero);
  background-size: cover;
  background-position: top;
  box-shadow: var(--shadow);
}

.hero-box{
  position: relative;
  z-index: 3;
  width: min(720px, 100%);
  margin-left: 22px;
  margin-right: 22px;
  margin-bottom: 75px;
  align-self: flex-end;
  padding: 22px;
  background: linear-gradient(
    rgba(0,0,0,0.25),
    rgba(45,28,16,0.72)
  );
  backdrop-filter: blur(4px);
  border: 0 solid rgba(255,255,255,.16);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

.hero-box h1{
  margin: 0 0 6px 0;
  font-family: 'Tangerine', cursive;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--gold);
  text-shadow: 0 2px 6px rgba(0,0,0,.25);
}

.hero-box p{
  margin: 0;
  color: #fff;
  opacity: .95;
  font-size: 1.05rem;
}



/* =========================
   USER / LOGGED IN
========================= */

.user{
  font-family: 'Tangerine', cursive;
  font-size: 30px;
  color: var(--gold);
  text-shadow: 2px 2px 4px darkgoldenrod;
}



/* =========================
   MAIN / CONTENT
========================= */

.main{
  padding: 26px 0 34px 0;
}

.main .container{
  padding-top: var(--hero-overlap);
}

.card{
  padding: 18px;
  background: var(--card);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card + .card{
  margin-top: 16px;
}

.grid{
  display: grid;
  gap: 16px;
  align-items: stretch;
}

.grid > *{
  align-self: stretch;
}

.grid > .card{
  height: 100%;
  margin-top: 0;
  display: flex;
  flex-direction: column;
}

.grid > .card > .btn,
.grid > .card > a.btn,
.grid > .card > a.more,
.grid > .card > a:last-child{
  margin-top: auto;
}

.kicker{
  color: var(--muted);
  font-size: .85rem;
  font-weight: 650;
  letter-spacing: .2px;
  text-transform: uppercase;
}

.badges{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.badge{
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.badge img{
  height: 225px;
  width: auto;
  object-fit: contain;
  filter: grayscale(10%);
}

.sticky-sidebar{
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  align-self: start;
}

.news-highlight{
  color: #b42318;
  font-weight: 700;
}

/* =========================
   FORMS
========================= */

.form-row{
  display: grid;
  gap: 12px;
}

label{
  font-weight: 700;
}

input,
textarea{
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 12px;
  background: #fff;
  font: inherit;
}

textarea{
  min-height: 140px;
  resize: vertical;
}

.help{
  color: var(--muted);
  font-size: .95rem;
}

.notice{
  padding: 12px 14px;
  background: rgba(201,160,74,.12);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
}

.success{
  background: rgba(46, 160, 67, .12);
}

.error{
  background: rgba(215, 58, 73, .12);
}



/* =========================
   NEWS EDITOR
========================= */

.editor-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.editor-inline-form{
  margin: 0;
}

.editor-notice{
  margin-top: 16px;
}

.editor-user-greeting{
  margin-top: 6px;
}

.editor-login-wrap{
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.editor-login-box{
  width: min(460px, 100%);
  padding: 22px;
  border-radius: 16px;
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow-soft);
}

.editor-grid{
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 20px;
  margin-top: 20px;
  align-items: start;
}

.editor-panel{
  padding: 18px;
  border-radius: 16px;
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow-soft);
}

.editor-side-stack{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.editor-side-card{
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.editor-side-card h3{
  margin-top: 0;
  margin-bottom: 10px;
}

.editor-side-card-accent{
  position: relative;
  overflow: hidden;
  border-color: rgba(201,160,74,.28);
  background:
    linear-gradient(180deg, rgba(201,160,74,.10), rgba(255,255,255,.96));
}

.editor-side-card-accent::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gold);
}

.editor-side-icon{
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 12px;
  background: rgba(201,160,74,.14);
  font-size: 22px;
}

.editor-side-btn,
.editor-side-card .btn,
.editor-side-card button{
  width: 100%;
}

.editor-separator{
  margin: 16px 0 0 0;
  border: none;
  border-top: 1px solid rgba(0,0,0,.08);
}

.editor-toolbar{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.editor-toolbar-top{
  margin-top: 4px;
  margin-bottom: 18px;
}

.editor-textarea{
  min-height: 220px;
  white-space: pre-wrap;
}

.editor-textarea-news{
  min-height: 180px;
}

.editor-textarea-small{
  min-height: 180px;
}

.editor-field-gap{
  margin-top: 12px;
}

.editor-mail-block{
  margin-top: 26px;
}

.editor-actions-top{
  margin-top: 18px;
}

.editor-hints{
  margin: 16px 0 0 0;
  padding-left: 18px;
}

.editor-hints li + li{
  margin-top: 10px;
}

.news-item{
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow-soft);
}

.news-item + .news-item{
  margin-top: 16px;
}

.news-item-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.news-item-head h4{
  margin: 0;
}

.check-inline{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.check-inline input{
  width: auto;
  margin: 0;
}

.btn-remove-news{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(180,35,24,.22);
  background: #fff;
  color: #b42318;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.btn-remove-news:hover{
  transform: scale(1.05);
  background: rgba(180,35,24,.06);
  border-color: rgba(180,35,24,.45);
}

.btn-remove-news:disabled{
  opacity: .4;
  cursor: not-allowed;
}

.btn-danger{
  background: #b42318;
  color: #fff;
  border: 1px solid #b42318;
}

.btn-danger:hover{
  filter: brightness(1.05);
}



/* =========================
   FOOTER
========================= */

.footer{
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.06);
}

.footer-inner{
  padding: 26px 16px;
}

.footer-cols{
  display: grid;
  gap: 18px;
}

.footer-title{
  margin-bottom: 8px;
  font-weight: 800;
}

.footer-text{
  color: var(--muted);
}

.footer-text a{
  color: var(--brown);
  font-weight: 700;
  text-decoration: none;
}

.footer-text a:hover{
  text-decoration: underline;
}

.footer-bottom{
  margin-top: 18px;
  color: var(--muted);
  font-size: .95rem;
}



/* =========================
   COOKIE BANNER
========================= */

.cookie{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  display: none;
}

.cookie.is-visible{
  display: block;
}

.cookie-inner{
  max-width: min(var(--container), 720px);
  margin: 0 auto;
  padding: 18px;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
}

.cookie-title{
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 800;
}

.cookie-content{
  margin-bottom: 14px;
}

.cookie-text{
  color: var(--muted);
}

.cookie-text a{
  color: var(--brown);
  font-weight: 800;
  text-decoration: none;
}

.cookie-text a:hover{
  text-decoration: underline;
}

.cookie-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  gap: 10px;
  border: none;
  border-radius: 12px;
  background: var(--gold);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .2px;
  transition: transform .2s ease, filter .2s ease, background-color .2s ease;
}

.cookie-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.cookie-btn-secondary{
  background: #f1ece5;
  color: var(--text);
  border: 1px solid rgba(0,0,0,.08);
}

.cookie-options{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.cookie-option{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.cookie-option + .cookie-option{
  border-top: 1px solid rgba(0,0,0,.06);
}

.cookie-option-title{
  margin-bottom: 2px;
  font-weight: 700;
}

.cookie-option-text{
  color: var(--muted);
  font-size: .95rem;
}

.cookie-save-row{
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.cookie-switch{
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 54px;
  height: 32px;
  flex: 0 0 auto;
}

.cookie-switch input{
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}

.cookie-slider{
  position: absolute;
  inset: 0;
  background: #d2d7de;
  border-radius: 999px;
  transition: background-color .2s ease;
}

.cookie-slider::before{
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  transition: transform .2s ease;
}

.cookie-switch input:checked + .cookie-slider{
  background: var(--gold);
}

.cookie-switch input:checked + .cookie-slider::before{
  transform: translateX(22px);
}

.cookie-switch.is-locked{
  opacity: .85;
  cursor: not-allowed;
}

.cookie-switch.is-locked .cookie-slider{
  background: #b8bfc8;
}

.cookie-switch.is-locked .cookie-slider::before{
  transform: translateX(22px);
}



/* =========================
   PAGE UP BUTTON
========================= */

.page-up{
  position: fixed;
  right: 26px;
  bottom: 28px;
  z-index: 110;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all .35s ease;
}

.page-up.visible{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.page-up:hover{
  background: var(--brown);
  transform: translateY(-3px);
}



/* =========================
   DESKTOP RESPONSIVE
========================= */

@media (min-width: 780px){
  .grid.cols-2{
    grid-template-columns: 1fr 1fr;
  }

  .grid.cols-3{
    grid-template-columns: repeat(3, 1fr);
  }

  .form-row.cols-2{
    grid-template-columns: 1fr 1fr;
  }

  .footer-cols{
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

@media (min-width: 901px){
  .nav-inner{
    align-items: flex-end;
  }

  .brand{
    align-self: center;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu{
    display: block;
  }

  .cookie{
    top: calc(var(--nav-h) + 18px);
    bottom: auto;
  }

  .cookie-inner{
    max-width: min(var(--container), 820px);
  }
}



/* =========================
   MOBILE / TABLET
========================= */

@media (max-width: 900px){
  .site-header{
    top: 0;
    z-index: 95;
  }

  .mobile-logo{
    display: none !important;
  }

  .nav-wrap::after{
    display: none;
  }

  .nav-inner{
    height: 74px;
    padding: 0 10px;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
  }

  .brand{
    display: flex;
    align-items: center;
    margin-right: auto;
    flex: 0 1 auto;
    min-width: 0;
  }

  .brand-logo{
    height: 52px;
    width: auto;
    max-width: min(42vw, 190px);
  }

  .btn-emergency{
    order: 2;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 44px;
    margin: 0 8px 0 0;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
  }

  .emergency-label-desktop{
    display: none;
  }

  .emergency-label-mobile{
    display: inline;
  }

  .nav-toggle{
    display: inline-flex;
    order: 3;
    flex: 0 0 auto;
    margin-left: 0;
    min-width: 92px;
    height: 44px;
    padding: 0 12px;
    justify-content: center;
    color: var(--text) !important;
    -webkit-text-fill-color: var(--text) !important;
  }

  .nav-toggle-label{
    color: var(--text) !important;
    -webkit-text-fill-color: var(--text) !important;
    font-weight: 600;
  }

  .nav{
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 18px 30px rgba(0,0,0,.14);
    z-index: 90;
  }

  .nav.is-open{
    display: block;
  }

  .nav-list{
    display: block;
    height: auto;
    padding: 10px 0 14px;
  }

  .nav-item{
    height: auto;
  }

  .nav-link,
  .nav-dropbtn{
    width: 100%;
    height: auto;
    margin: 0;
    padding: 14px 18px;
    justify-content: space-between;
    text-align: left;
    font-size: 17px;
    border-bottom: 1px solid rgba(0,0,0,.05);
  }

  .nav-link.is-active,
  .nav-dropdown.is-active > .nav-dropbtn{
    position: relative;
  }

  .nav-link.is-active::after,
  .nav-dropdown.is-active > .nav-dropbtn::after{
    content: "";
    position: absolute;
    left: 18px;
    bottom: 10px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px 2px 0 0;
  }

  .nav-link.is-active::after{
    width: max(34px, 5.5ch);
  }

  .nav-dropdown.is-active > .nav-dropbtn::after{
    display: none;
  }

  .nav-dropdown.is-active > .nav-dropbtn .nav-dropbtn-label::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px 2px 0 0;
  }

  .nav-dropdown-menu{
    display: none;
    position: static;
    min-width: 0;
    margin: 0;
    padding: 0 0 8px;
    background: #f7f5f2;
    border: none;
    box-shadow: none;
  }

  .nav-dropdown.is-open > .nav-dropdown-menu{
    display: block;
  }

  .nav-dropdown-link{
    position: relative;
    padding: 12px 24px 12px 38px;
    font-size: 15px;
  }

  .nav-dropdown-link.is-active::before{
    content: "";
    position: absolute;
    left: 14px;
    top: 10px;
    bottom: 10px;
    width: 3px;
    background: var(--gold);
    border-radius: 2px;
  }

  .hero{
    height: 360px;
    max-height: none;
  }

  .hero-overlay .container::before{
    background-position: var(--hero-mobile-position, top center);
  }

  .hero-box{
    width: calc(100% - 28px);
    margin-left: 14px;
    margin-right: 14px;
    margin-bottom: 22px;
    padding: 16px;
    border-radius: 16px;
  }

  .hero-box h1{
    font-size: clamp(34px, 10vw, 48px);
  }

  .hero-box p{
    font-size: .98rem;
  }

  .editor-grid{
    grid-template-columns: 1fr;
  }

  .sticky-sidebar{
    position: static;
    top: auto;
  }

  .editor-side-stack{
    gap: 16px;
  }

  .cookie{
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 120;
  }

  .cookie-inner{
    max-width: 100%;
    max-height: min(72svh, 560px);
    padding: 14px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 18px;
  }

  .cookie-title{
    font-size: 1rem;
  }

  .cookie-content{
    margin-bottom: 10px;
  }

  .cookie-text{
    font-size: .97rem;
  }

  .cookie-options{
    margin-top: 10px;
    padding-top: 10px;
  }

  .cookie-option{
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
  }

  .cookie-option-text{
    font-size: .92rem;
  }

  .cookie-actions{
    position: sticky;
    bottom: 0;
    margin-top: 8px;
    padding-top: 10px;
    padding-bottom: max(2px, env(safe-area-inset-bottom));
    background: rgba(255,255,255,.98);
  }

  .cookie-actions .cookie-btn,
  .cookie-save-row .cookie-btn{
    width: 100%;
    flex: 1 1 100%;
  }

  .cookie-save-row{
    margin-top: 10px;
  }

  .page-up{
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}

@media (max-width: 520px){
  .nav-inner{
    height: 70px;
    padding: 0 8px;
    gap: 8px;
  }

  .brand-logo{
    height: 46px;
    max-width: min(40vw, 168px);
  }

  .nav-toggle{
    min-width: 88px;
    height: 42px;
    padding: 0 10px;
    gap: 8px;
  }

  .nav-toggle-label{
    font-size: 14px;
  }

  .btn-emergency{
    min-width: 54px;
    height: 42px;
    margin-right: 6px;
    padding: 0 12px;
    font-size: 14px;
  }

  .hero{
    height: 330px;
  }

  .editor-login-box,
  .editor-side-card,
  .editor-panel,
  .news-item{
    padding: 16px;
  }

  .cookie-inner{
    max-height: min(68svh, 520px);
  }
}