/* Custom additions */
.material-symbols-outlined{
  font-family:"Material Symbols Outlined";
  font-weight:400;
  font-style:normal;
  font-size:20px;
  line-height:1;
  letter-spacing:normal;
  text-transform:none;
  display:inline-block;
  white-space:nowrap;
  word-wrap:normal;
  direction:ltr;
  -webkit-font-smoothing:antialiased;
}

@font-face{
  font-family:"Material Symbols Outlined";
  src:url("../MaterialSymbolsOutlined%5BFILL,GRAD,opsz,wght%5D.woff2") format("woff2");
  font-style:normal;
  font-weight:100 700;
}
.scrollbar-none::-webkit-scrollbar{display:none}
.scrollbar-none{-ms-overflow-style:none;scrollbar-width:none}
section[id]{scroll-margin-top:96px}
html{scroll-behavior:smooth;color-scheme:dark}

/* Section contrast tweak */
.bg-secondary\/30{background-color:hsl(var(--secondary) / .45)}

/* Header phone visibility */
@media (max-width: 1180px){
  .header-phone{display:none}
}
.header-phone{
  color:#fff;
}
.header-phone .font-display{
  font-size:clamp(11px, 0.9vw, 14px);
  line-height:1;
  letter-spacing:.02em;
}
html.theme-light .header-phone{
  color:hsl(var(--heading-dark));
}

/* Site credit */
.site-credit{
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.site-credit__logo{
  width:32px;
  height:32px;
  border-radius:999px;
  background:hsl(var(--background) / .6);
  border:1px solid hsl(var(--border));
  display:inline-flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  transition:background .2s ease, border-color .2s ease;
}
.site-credit__logo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  filter:grayscale(1) saturate(0) brightness(1.15);
  transition:filter .2s ease;
}
.site-credit:hover .site-credit__logo img{
  filter:none;
}

/* Header breakpoint at 1034px */
@media (min-width: 1035px){
  .header-desktop-nav,
  .header-desktop-actions{
    display:flex !important;
  }
  .header-mobile-controls,
  .header-mobile-menu{
    display:none !important;
  }
}
@media (max-width: 1034px){
  .header-desktop-nav,
  .header-desktop-actions{
    display:none !important;
  }
  .header-mobile-controls{
    display:flex !important;
  }
}

/* Theme toggle */
.theme-toggle .icon-sun{display:none}
html.theme-light .theme-toggle .icon-sun{display:block}
html.theme-light .theme-toggle .icon-moon{display:none}

/* Hero background per theme */
.hero-background{background-image:url("../images/hero-dark.jpg");filter:blur(2.5px);transform:scale(1.015)}
html.theme-light .hero-background{background-image:url("../images/hero-light.jpg");filter:blur(2.5px);transform:scale(1.015)}
.hero-surface{position:absolute;inset:0;pointer-events:none}
.hero-surface::before{
  content:"";
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(135deg, rgba(255,255,255,0.10) 0, rgba(255,255,255,0.10) 1px, transparent 1px, transparent 7px);
  opacity:.55;
  mix-blend-mode:soft-light;
}
html.theme-dark .hero-surface::before,
html:not(.theme-light) .hero-surface::before{
  background:repeating-linear-gradient(135deg, rgba(74,168,136,0.16) 0, rgba(74,168,136,0.16) 1px, transparent 1px, transparent 7px);
  opacity:.42;
}
html.theme-light .hero-surface::before{
  background:repeating-linear-gradient(135deg, rgba(0,0,0,0.14) 0, rgba(0,0,0,0.14) 1px, transparent 1px, transparent 6px);
  opacity:.65;
}
.hero-surface::after{
  content:"";
  position:absolute;
  inset:-50%;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
  opacity:.7;
  mix-blend-mode:soft-light;
  transform:translateZ(0);
}
html.theme-dark .hero-surface::after,
html:not(.theme-light) .hero-surface::after{
  opacity:.5;
  mix-blend-mode:soft-light;
}
.hero-logo-heading{
  position:relative;
}
.hero-ball-control{
  position:absolute;
  top:calc(97px + clamp(10px, 1.2vw, 16px));
  right:clamp(14px, 3vw, 34px);
  z-index:12;
  display:flex;
  align-items:center;
  gap:10px;
}
.hero-ball-control__label{
  font:600 11px/1.05 Oswald,sans-serif;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:hsl(var(--muted-foreground));
  user-select:none;
}
.hero-ball-control__label--on{
  color:hsl(var(--foreground));
}
.hero-ball-control[data-ball-mode="off"] .hero-ball-control__label{
  color:hsl(var(--foreground));
}
.hero-ball-control[data-ball-mode="off"] .hero-ball-control__label--on{
  color:hsl(var(--muted-foreground));
}
.hero-ball-switch{
  position:relative;
  display:inline-flex;
}
.hero-ball-switch input{
  position:absolute;
  opacity:0;
  width:0;
  height:0;
}
.hero-ball-switch__track{
  width:46px;
  height:24px;
  border-radius:999px;
  border:1px solid hsl(var(--primary) / .48);
  background:hsl(var(--primary) / .26);
  display:block;
  position:relative;
  transition:background-color .2s ease, border-color .2s ease;
}
.hero-ball-switch__track::after{
  content:"";
  position:absolute;
  top:2px;
  left:2px;
  width:18px;
  height:18px;
  border-radius:999px;
  background:hsl(var(--card));
  box-shadow:0 1px 6px hsl(var(--foreground) / .22);
  transform:translateX(22px);
  transition:transform .2s ease, background-color .2s ease;
}
.hero-ball-switch input:not(:checked) + .hero-ball-switch__track{
  border-color:hsl(var(--muted-foreground) / .4);
  background:hsl(var(--muted) / .45);
}
.hero-ball-switch input:not(:checked) + .hero-ball-switch__track::after{
  transform:translateX(0);
}
.hero-ball-layer{
  position:absolute;
  inset:0;
  z-index:5;
  pointer-events:none;
  overflow:hidden;
}
.hero-ball{
  position:absolute;
  left:0;
  top:0;
  width:clamp(33px, 2.75vw, 43px);
  height:auto;
  will-change:transform;
  filter:none;
}
.hero-ball-impact{
  --impact-x:-9999px;
  --impact-y:-9999px;
  position:absolute;
  left:var(--impact-x);
  top:var(--impact-y);
  width:18px;
  height:18px;
  border-radius:999px;
  border:2px solid rgba(220,255,170,.88);
  box-shadow:0 0 24px rgba(220,255,170,.46);
  opacity:0;
  transform:translate(-50%, -50%) scale(.4);
}
html.theme-light .hero-ball-impact{
  border-color:rgba(24,78,48,.9);
  box-shadow:0 0 22px rgba(255,255,255,.46);
}
.hero-ball-impact.is-active{
  animation:hero-ball-impact .24s ease-out forwards;
}
.hero-logo-impact{
  animation:hero-logo-impact .16s ease-out;
}
.hero-logo-big{
  filter:drop-shadow(0 10px 8px rgba(8,10,10,0.55)) drop-shadow(0 18px 20px rgba(6,8,8,0.38));
  will-change:transform, filter;
}
html.theme-light .hero-logo-big{
  filter:drop-shadow(0 8px 7px rgba(255,255,255,0.62)) drop-shadow(0 15px 16px rgba(255,255,255,0.44));
}
@keyframes hero-logo-impact{
  0%{transform:translateZ(0) scale(1) rotate(0deg)}
  42%{transform:translateZ(0) scale(1.04) rotate(-1deg)}
  100%{transform:translateZ(0) scale(1) rotate(0deg)}
}
@keyframes hero-ball-impact{
  0%{opacity:.92;transform:translate(-50%, -50%) scale(.35)}
  100%{opacity:0;transform:translate(-50%, -50%) scale(2.3)}
}
@media (max-width: 767px){
  .hero-ball-control{
    display:none;
  }
  .hero-ball-layer{
    display:none;
  }
}
/* Light theme palette */
html.theme-light{
  color-scheme:light;
  --background: 60 20% 96%;
  --foreground: 224 22% 14%;
  --card: 0 0% 100%;
  --card-foreground: 224 22% 14%;
  --popover: 0 0% 100%;
  --popover-foreground: 224 22% 14%;
  --primary: 78 55% 38%;
  --primary-foreground: 0 0% 100%;
  --secondary: 60 16% 92%;
  --secondary-foreground: 224 18% 20%;
  --muted: 60 14% 90%;
  --muted-foreground: 220 10% 40%;
  --accent: 78 45% 34%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 70% 45%;
  --destructive-foreground: 0 0% 100%;
  --border: 220 12% 85%;
  --input: 220 12% 85%;
  --ring: 78 55% 38%;
  --sidebar-background: 60 18% 94%;
  --sidebar-foreground: 224 18% 20%;
  --sidebar-primary: 78 55% 38%;
  --sidebar-primary-foreground: 0 0% 100%;
  --sidebar-accent: 60 16% 90%;
  --sidebar-accent-foreground: 224 18% 20%;
  --sidebar-border: 220 12% 85%;
  --sidebar-ring: 78 55% 38%;
  --gradient-primary: linear-gradient(135deg, hsl(78 55% 38%), hsl(72 60% 30%));
  --gradient-hero: linear-gradient(180deg, hsl(60 20% 96% / .3), hsl(60 20% 96% / .9));
  --shadow-glow: 0 0 30px hsl(78 55% 38% / .2);
  --shadow-card: 0 12px 30px hsl(220 10% 40% / .12);
  --heading-dark: 120 28% 20%;
  --heading-light: 82 52% 42%;
}

header{
  background-color:hsl(var(--background) / .8);
  backdrop-filter:blur(12px);
  border-bottom:1px solid hsl(var(--border) / .5);
}

/* Light theme headings */
html.theme-light h1,
html.theme-light h2,
html.theme-light h3,
html.theme-light h4,
html.theme-light h5,
html.theme-light h6{
  color:hsl(var(--heading-dark));
}
html.theme-light h1 .text-foreground,
html.theme-light h2 .text-foreground,
html.theme-light h3 .text-foreground,
html.theme-light h4 .text-foreground,
html.theme-light h5 .text-foreground,
html.theme-light h6 .text-foreground{
  color:hsl(var(--heading-dark));
}
html.theme-light .text-gradient{
  background-image:linear-gradient(135deg, hsl(var(--heading-light)), hsl(76 55% 38%));
}

/* Gallery lightbox */
.lightbox{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,0.65);
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
  z-index:120;
}
.lightbox.is-open{
  opacity:1;
  pointer-events:auto;
}
.lightbox__panel{
  position:relative;
  background:hsl(var(--card));
  border:1px solid hsl(var(--border));
  box-shadow:0 20px 60px rgba(0,0,0,0.45);
  border-radius:12px;
  padding:12px;
  max-width:90vw;
  max-height:85vh;
}
.lightbox__img{
  display:block;
  max-width:82vw;
  max-height:78vh;
  object-fit:contain;
  border-radius:10px;
}
.lightbox__close{
  position:absolute;
  top:-14px;
  right:-14px;
  width:36px;
  height:36px;
  border-radius:999px;
  background:hsl(var(--background));
  border:1px solid hsl(var(--border));
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 20px rgba(0,0,0,0.35);
}
.lightbox__nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:40px;
  height:40px;
  border-radius:999px;
  background:hsl(var(--background));
  border:1px solid hsl(var(--border));
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 20px rgba(0,0,0,0.35);
}
.lightbox__prev{left:-20px}
.lightbox__next{right:-20px}

.gallery-hub__filters{
  margin-bottom:16px;
  text-align:center;
}
.gallery-hub__filters-title{
  font-size:.78rem;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:hsl(var(--muted-foreground));
  margin-bottom:8px;
}
.gallery-hub__tags{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
}
.gallery-hub__tag-filter{
  border:1px solid hsl(var(--border));
  border-radius:999px;
  background:hsl(var(--card) / .45);
  color:hsl(var(--muted-foreground));
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 11px;
  font-family:Oswald,sans-serif;
  text-transform:uppercase;
  letter-spacing:.04em;
  font-size:.72rem;
  transition:border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}
.gallery-hub__tag-filter:hover{
  color:hsl(var(--foreground));
  border-color:hsl(var(--primary) / .5);
}
.gallery-hub__tag-filter.is-active{
  border-color:hsl(var(--primary));
  background:hsl(var(--primary));
  color:hsl(var(--primary-foreground));
}
.gallery-hub__empty.is-hidden{
  display:none;
}
.gallery-card{
  position:relative;
  display:block;
  aspect-ratio:4/3;
  background:hsl(var(--card));
  border:1px solid hsl(var(--border));
  border-radius:12px;
  overflow:hidden;
  transition:border-color .2s ease, transform .2s ease;
}
.gallery-card:hover{
  border-color:hsl(var(--primary) / .35);
}
.gallery-card img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.gallery-card--wave{
  opacity:0;
  transform:translate(-12px, -12px) scale(.97);
  animation:gallery-card-wave .42s cubic-bezier(.25,.76,.28,1) forwards;
  animation-delay:var(--gallery-wave-delay, 0ms);
}
@keyframes gallery-card-wave{
  from{
    opacity:0;
    transform:translate(-12px, -12px) scale(.97);
  }
  to{
    opacity:1;
    transform:translate(0, 0) scale(1);
  }
}
@media (prefers-reduced-motion: reduce){
  .gallery-card--wave{
    animation:none;
    opacity:1;
    transform:none;
  }
}

/* Quick booking modal */
.quick-booking-modal{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px;
  background:rgba(0,0,0,.58);
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
  z-index:146;
}
.quick-booking-modal.is-open{
  opacity:1;
  pointer-events:auto;
}
.quick-booking-modal__backdrop{
  position:absolute;
  inset:0;
}
.quick-booking-modal__shell{
  --quick-booking-scale:1;
  position:relative;
  width:min(620px, 100%);
  max-height:min(92vh, 920px);
  transform:scale(var(--quick-booking-scale));
  transform-origin:center center;
  transition:transform .2s ease;
}
.quick-booking-modal__shell.is-viewport-fitted{
  max-height:none;
}
.quick-booking-modal__panel{
  width:100%;
  max-height:inherit;
  overflow:auto;
  border-radius:18px;
  border:1px solid hsl(var(--border));
  border-top:8px solid hsl(var(--primary));
  background:
    radial-gradient(120% 120% at 50% 0%, hsl(var(--primary) / .1), transparent 55%),
    linear-gradient(180deg, hsl(var(--card)) 0%, hsl(var(--background)) 100%);
  box-shadow:0 28px 60px rgba(0,0,0,.52);
}
.quick-booking-modal__shell.is-viewport-fitted .quick-booking-modal__panel{
  max-height:none;
  overflow:visible;
}
.quick-booking-modal__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:24px 28px 6px;
}
.quick-booking-modal__title{
  margin:0;
  font-size:clamp(20px, 2.6vw, 31px);
  line-height:.98;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:hsl(var(--foreground));
}
.quick-booking-modal__close{
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid transparent;
  background:transparent;
  color:hsl(var(--muted-foreground));
  font-size:24px;
  line-height:1;
  cursor:pointer;
  transition:border-color .2s ease, color .2s ease;
}
.quick-booking-modal__close:hover{
  color:hsl(var(--foreground));
  border-color:hsl(var(--border));
}
.quick-booking-modal__body{
  padding:8px 28px 22px;
}
.quick-booking-modal__caption{
  display:none;
}
.quick-booking-summary{
  border:1px solid hsl(var(--border));
  border-radius:12px;
  background:hsl(var(--muted) / .28);
  padding:14px 12px 10px;
}
.quick-booking-summary__row{
  display:grid;
  grid-template-columns:50px minmax(0, 1fr);
  align-items:center;
  gap:8px;
  margin-bottom:10px;
}
.quick-booking-summary__icon{
  width:44px;
  height:44px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:hsl(var(--primary));
  background:hsl(var(--primary) / .12);
}
.quick-booking-summary__content{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.quick-booking-summary__content span{
  font-size:13px;
  font-family:Oswald,sans-serif;
  line-height:1.05;
  color:hsl(var(--muted-foreground));
}
.quick-booking-summary__content strong{
  font-size:26px;
  font-family:Oswald,sans-serif;
  line-height:.96;
  letter-spacing:.01em;
  color:hsl(var(--foreground));
  font-weight:500;
  white-space:normal;
}
.quick-booking-summary__price{
  margin-top:2px;
  padding-top:10px;
  border-top:1px solid hsl(var(--border));
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
}
.quick-booking-summary__price span{
  font-size:16px;
  font-family:Oswald,sans-serif;
  color:hsl(var(--muted-foreground));
  line-height:1;
}
.quick-booking-summary__price strong{
  font-size:30px;
  font-family:Oswald,sans-serif;
  color:hsl(var(--primary));
  line-height:.9;
}
.quick-booking-status{
  min-height:20px;
  margin-top:10px;
  padding:0;
  border-radius:10px;
  font-size:13px;
  line-height:1.45;
  color:hsl(var(--muted-foreground));
}
.quick-booking-status.is-loading{
  position:relative;
  display:flex;
  align-items:center;
  gap:15px;
}
.quick-booking-status.is-loading::before{
  content:none;
}
.quick-booking-status.is-info,
.quick-booking-status.is-success,
.quick-booking-status.is-error{
  padding:9px 12px;
  border:1px solid transparent;
}
.quick-booking-status.is-info{
  color:hsl(var(--foreground));
  border-color:rgba(147,197,46,.32);
  background:rgba(147,197,46,.1);
}
.quick-booking-status.is-success{
  color:hsl(var(--foreground));
  border-color:rgba(147,197,46,.4);
  background:rgba(147,197,46,.14);
}
.quick-booking-status.is-error{
  color:#ffd2d2;
  border-color:rgba(239,68,68,.45);
  background:rgba(239,68,68,.18);
}
.quick-booking-status.is-loading.is-info,
.quick-booking-status.is-loading.is-success,
.quick-booking-status.is-loading.is-error{
  display:flex;
  align-items:center;
  gap:15px;
}
.quick-booking-status__spinner{
  width:14px;
  height:14px;
  border-radius:999px;
  border:2px solid rgba(147,197,46,.25);
  border-top-color:hsl(var(--primary));
  flex:0 0 14px;
  animation:quick-booking-spin .75s linear infinite;
}
.quick-booking-status__text{
  min-width:0;
}
.quick-booking-form{
  margin-top:10px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.quick-booking-form__field{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.quick-booking-form__field.is-hidden{
  display:none;
}
.quick-booking-form__field label{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  letter-spacing:.01em;
  text-transform:none;
  color:hsl(var(--foreground));
}
.quick-booking-form__field label.quick-booking-form__label-phone{
  font-size:30px;
}
.quick-booking-form__field label svg{
  color:hsl(var(--primary));
  flex:0 0 auto;
}
.quick-booking-form__field input{
  height:44px;
  border-radius:10px;
  border:2px solid hsl(var(--border));
  background:hsl(var(--background));
  color:hsl(var(--foreground));
  padding:0 12px;
  font-size:14px;
  transition:border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.quick-booking-form__field input.is-hidden{
  display:none;
}
.quick-booking-form__name-view{
  min-height:44px;
  border-radius:10px;
  border:2px solid hsl(var(--primary) / .28);
  background:hsl(var(--muted) / .4);
  display:flex;
  align-items:center;
  padding:0 12px;
}
.quick-booking-form__name-view.is-hidden{
  display:none;
}
.quick-booking-form__name-value{
  font-size:14px;
  color:hsl(var(--foreground));
  letter-spacing:.01em;
}
.quick-booking-form__phone-row{
  display:flex;
  align-items:center;
  gap:8px;
}
.quick-booking-form__phone-row input{
  flex:1 1 auto;
  min-width:0;
}
.quick-booking-form__phone-edit{
  height:38px;
  flex:0 0 auto;
  padding:0 12px;
  border-radius:10px;
  border:1px solid hsl(var(--border));
  background:hsl(var(--card));
  color:hsl(var(--foreground));
  font-family:Oswald,sans-serif;
  font-size:13px;
  letter-spacing:.02em;
  transition:border-color .2s ease, color .2s ease, background-color .2s ease;
}
.quick-booking-form__phone-edit:hover{
  border-color:hsl(var(--primary));
  color:hsl(var(--primary));
}
.quick-booking-form__phone-edit.is-hidden{
  display:none;
}
.quick-booking-form__field input[readonly]{
  border-color:hsl(var(--primary) / .28);
  color:hsl(var(--muted-foreground));
  background:hsl(var(--muted) / .4);
  cursor:not-allowed;
}
.quick-booking-form__field input:focus{
  border-color:hsl(var(--primary));
  box-shadow:0 0 0 4px hsl(var(--primary) / .2);
  background:hsl(var(--background));
  outline:none;
}
.quick-booking-form__field input::placeholder{
  color:hsl(var(--muted-foreground) / .8);
}
.quick-booking-form__field-hint{
  margin:2px 0 0;
  font-size:11px;
  line-height:1.35;
  color:hsl(var(--muted-foreground));
}
.quick-booking-form__actions{
  margin-top:6px;
  display:grid;
  grid-template-columns:minmax(0,1fr);
}
.quick-booking-form__consent{
  margin-top:2px;
  display:flex;
  align-items:flex-start;
  gap:8px;
  font-size:12px;
  line-height:1.45;
  color:hsl(var(--muted-foreground));
}
.quick-booking-form__consent input[type="checkbox"]{
  width:15px;
  height:15px;
  margin-top:1px;
  accent-color:hsl(var(--primary));
  flex:0 0 auto;
}
.quick-booking-form__consent a{
  color:hsl(var(--primary));
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:2px;
}
.quick-booking-form__consent a:hover{
  opacity:.85;
}
.quick-booking-form__submit{
  height:46px;
  border:0;
  border-radius:10px;
  background:linear-gradient(90deg, hsl(var(--primary) / .84), hsl(var(--primary)));
  color:hsl(var(--primary-foreground));
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-transform:none;
  letter-spacing:.01em;
  font-family:Oswald,sans-serif;
  font-size:18px;
  font-weight:500;
  transition:opacity .2s ease, transform .12s ease, filter .2s ease;
}
.quick-booking-form__submit:hover{
  opacity:.95;
  filter:saturate(1.12);
  transform:translateY(-1px);
}
.quick-booking-form__submit svg{
  flex:0 0 auto;
}
.quick-booking-form__submit:disabled{
  opacity:.6;
  cursor:not-allowed;
}
.quick-booking-form__note{
  margin:8px 0 0;
  text-align:center;
  font-size:12px;
  color:hsl(var(--muted-foreground));
}
.quick-booking-payment{
  display:none;
  margin-top:12px;
  border:1px solid hsl(var(--border));
  border-radius:12px;
  background:hsl(var(--muted) / .2);
  padding:10px;
}
.quick-booking-payment__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}
.quick-booking-payment__title{
  margin:0;
  font-size:14px;
  letter-spacing:.02em;
  color:hsl(var(--foreground));
}
.quick-booking-payment__external{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:0 10px;
  border-radius:8px;
  border:1px solid hsl(var(--border));
  color:hsl(var(--primary));
  text-decoration:none;
  font-size:12px;
  letter-spacing:.02em;
  background:hsl(var(--card));
  transition:border-color .2s ease, color .2s ease;
}
.quick-booking-payment__external:hover{
  border-color:hsl(var(--primary));
}
.quick-booking-payment__frame{
  width:100%;
  height:clamp(420px, 62vh, 620px);
  border:1px solid hsl(var(--border));
  border-radius:10px;
  background:#fff;
}
.quick-booking-payment__hint{
  margin:8px 0 0;
  font-size:12px;
  line-height:1.45;
  color:hsl(var(--muted-foreground));
}
.quick-booking-modal.is-payment-stage .quick-booking-form{
  display:none;
}
.quick-booking-modal.is-payment-stage .quick-booking-payment{
  display:block;
}
.quick-booking-complete{
  display:none;
  margin-top:14px;
  border:1px solid rgba(147,197,46,.35);
  border-radius:18px;
  padding:24px 18px 20px;
  text-align:center;
  background:hsl(var(--muted) / .25);
}
.quick-booking-complete__kicker{
  margin:0;
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:hsl(var(--primary));
}
.quick-booking-complete__title{
  margin:6px 0 0;
  font-size:clamp(28px, 4.2vw, 42px);
  line-height:1.05;
  letter-spacing:.02em;
  color:hsl(var(--foreground));
}
.quick-booking-complete__text{
  margin:12px auto 0;
  max-width:30ch;
  font-size:15px;
  line-height:1.5;
  color:hsl(var(--muted-foreground));
}
.quick-booking-complete__close{
  margin-top:12px;
  height:50px;
  min-width:200px;
  border:0;
  border-radius:12px;
  background:linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary) / .72) 100%);
  color:hsl(var(--primary-foreground));
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:13px;
}
.quick-booking-modal.is-complete .quick-booking-modal__close,
.quick-booking-modal.is-complete .quick-booking-modal__caption,
.quick-booking-modal.is-complete .quick-booking-summary,
.quick-booking-modal.is-complete .quick-booking-status,
.quick-booking-modal.is-complete .quick-booking-form{
  display:none;
}
.quick-booking-modal.is-complete .quick-booking-modal__title{
  font-size:clamp(24px, 2.4vw, 34px);
}
.quick-booking-modal.is-complete .quick-booking-modal__head{
  justify-content:center;
}
.quick-booking-modal.is-complete .quick-booking-complete{
  display:block;
}
html.theme-light .quick-booking-modal{
  background:rgba(14,18,24,.42);
}
html.theme-light .quick-booking-modal__panel{
  box-shadow:0 26px 52px rgba(17,24,39,.24);
}
html.theme-light .quick-booking-status.is-error{
  color:#8b1f1f;
}
@keyframes quick-booking-spin{
  to{
    transform:rotate(360deg);
  }
}

/* Booking modal */
.booking-modal{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(0,0,0,0.6);
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
  z-index:145;
}
.booking-modal.is-open{
  opacity:1;
  pointer-events:auto;
}
.booking-modal__backdrop{
  position:absolute;
  inset:0;
}
.booking-modal__shell{
  position:relative;
  width:min(1120px, 100%);
  height:min(86vh, 900px);
}
.booking-modal__panel{
  position:relative;
  width:100%;
  height:100%;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:18px;
  border:1px solid hsl(var(--border));
  background:hsl(var(--card));
  box-shadow:0 24px 60px rgba(0,0,0,0.45);
}
.booking-modal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 16px;
  border-bottom:1px solid hsl(var(--border) / .75);
  background:hsl(var(--background) / .5);
}
.booking-modal__title{
  margin:0;
  font-size:16px;
  letter-spacing:.03em;
}
.booking-modal__actions{
  display:flex;
  align-items:center;
  gap:8px;
}
.booking-modal__external{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:36px;
  padding:0 12px;
  border-radius:10px;
  border:1px solid hsl(var(--border));
  background:hsl(var(--background));
  color:hsl(var(--muted-foreground));
  font-size:12px;
  letter-spacing:.04em;
  text-transform:uppercase;
  transition:color .2s ease, border-color .2s ease;
}
.booking-modal__external:hover{
  color:hsl(var(--primary));
  border-color:hsl(var(--primary));
}
.booking-modal__close{
  width:36px;
  height:36px;
  border-radius:10px;
  border:1px solid hsl(var(--border));
  background:hsl(var(--background));
  color:hsl(var(--foreground));
  font-size:24px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:color .2s ease, border-color .2s ease;
}
.booking-modal__close:hover{
  color:hsl(var(--primary));
  border-color:hsl(var(--primary));
}
.booking-modal__frame{
  width:100%;
  flex:1;
  border:0;
  display:block;
  background:#fff;
}

/* Mobile schedule layout */
.schedule-date-row{
  display:flex;
  align-items:center;
  justify-content:center;
}
.schedule-booking-card{
  width:min(560px, calc(100vw - 24px));
  margin-top:0;
  padding:0 14px;
  border-radius:12px;
  border:1px solid transparent;
  background:hsl(var(--card) / 0);
  box-shadow:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  opacity:0;
  transform:translateY(18px);
  pointer-events:none;
  max-height:0;
  overflow:hidden;
  transition:opacity .24s ease, transform .24s ease, max-height .24s ease, padding .24s ease, margin .24s ease;
}
.schedule-booking-main{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.schedule-booking-hint{
  margin:0;
  min-height:0;
  font-size:12px;
  color:hsl(var(--muted-foreground));
  line-height:1.35;
}
.schedule-booking-card.is-active{
  padding:10px 12px;
  border-color:hsl(var(--primary) / .35);
  background:hsl(var(--card) / .86);
  box-shadow:
    0 18px 36px hsl(var(--primary) / .32),
    0 0 80px hsl(var(--primary) / .48);
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
  max-height:98px;
}
.schedule-booking-line{
  margin:0;
  font-family:Oswald,sans-serif;
  font-size:clamp(16px, 1.2vw, 19px);
  line-height:1.1;
  letter-spacing:.01em;
  color:hsl(var(--foreground));
  white-space:nowrap;
  overflow:visible;
  text-overflow:clip;
}
.schedule-booking-court{
  color:hsl(var(--primary));
}
.schedule-booking-sep{
  color:hsl(var(--foreground));
}
.schedule-booking-action{
  flex:0 0 auto;
  min-width:146px;
  height:41px;
  border-radius:10px;
  font-family:Oswald,sans-serif;
  font-size:clamp(14px, 1vw, 17px);
  letter-spacing:.015em;
  text-transform:none;
}
.schedule-selection-shell{
  position:sticky;
  bottom:16px;
  z-index:40;
  width:min(560px, calc(100vw - 24px));
  margin:12px auto 0;
  pointer-events:none;
  opacity:0;
  visibility:hidden;
  transition:opacity .2s ease, visibility .2s ease;
}
.schedule-selection-shell.is-visible{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.schedule-booking-card [data-selection-booking]{
  width:auto;
}
html.theme-light .schedule-booking-card{
  box-shadow:none;
}
html.theme-light .schedule-booking-card.is-active{
  background:hsl(var(--card) / .96);
  border-color:hsl(var(--primary) / .35);
  box-shadow:
    0 10px 24px rgba(20,30,40,0.14),
    0 0 48px hsl(var(--primary) / .3);
}
html.theme-light .schedule-booking-line{
  color:hsl(var(--heading-dark));
}
html.theme-light .schedule-booking-court{
  color:hsl(var(--primary));
}
.schedule-grid{
  position:relative;
  isolation:isolate;
  width:min(725px, 100%);
  margin:0 auto;
}
.schedule-slots-matrix{
  --schedule-columns:5;
  display:grid;
  grid-auto-flow:row;
  grid-template-columns:repeat(var(--schedule-columns), minmax(0, 1fr));
  justify-content:stretch;
  gap:8px;
  overflow:visible;
  padding:2px 2px 6px;
}
.schedule-time-btn{
  width:100%;
  min-height:0;
  aspect-ratio:1 / 1;
  padding:10px 8px 8px;
  border-radius:10px;
  border:1px solid hsl(var(--border));
  font-family:Oswald,sans-serif;
  font-size:14px;
  letter-spacing:.02em;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:space-between;
  text-align:left;
  line-height:1.1;
  transition:border-color .2s ease, background-color .2s ease, color .2s ease;
}
.schedule-time-btn--available{
  background:hsl(var(--card));
  color:hsl(var(--foreground));
}
.schedule-time-btn--available:hover{
  border-color:hsl(var(--primary));
  background:hsl(var(--primary) / .1);
}
.schedule-time-btn--available.is-selected{
  border-color:hsl(var(--primary));
  background:hsl(var(--primary) / .16);
}
.schedule-time-btn--busy{
  background:hsl(var(--destructive) / .18);
  color:hsl(var(--destructive) / .72);
  cursor:not-allowed;
}
.schedule-time-btn--disabled{
  background:hsl(var(--muted) / .5);
  color:hsl(var(--muted-foreground));
  cursor:not-allowed;
}
.schedule-time-btn--loading,
.schedule-time-btn--empty{
  background:hsl(var(--muted) / .35);
  color:hsl(var(--muted-foreground));
}
.schedule-time-btn--status{
  grid-column:1 / -1;
  min-height:48px;
  aspect-ratio:auto;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.schedule-time-btn__time{
  display:block;
  font-size:14px;
  font-weight:500;
  line-height:1.1;
  margin-bottom:0;
  color:hsl(var(--foreground));
}
.schedule-time-btn__label{
  display:block;
  font-size:11px;
  line-height:1.1;
  color:hsl(var(--muted-foreground));
  letter-spacing:.04em;
  text-transform:uppercase;
}
.schedule-time-btn--available .schedule-time-btn__label{
  color:hsl(var(--primary) / .98);
}
.schedule-time-btn--busy .schedule-time-btn__label{
  color:hsl(var(--destructive) / .96);
}
.schedule-time-btn--disabled .schedule-time-btn__label{
  color:hsl(var(--muted-foreground) / .82);
}
html.theme-light .schedule-time-btn--available .schedule-time-btn__label{
  color:hsl(var(--primary) / 1);
}
html.theme-light .schedule-time-btn--busy .schedule-time-btn__label{
  color:hsl(0 62% 42%);
}
html.theme-light .schedule-time-btn--disabled .schedule-time-btn__label{
  color:hsl(220 8% 52%);
}
.schedule-loader{
  position:absolute;
  inset:0;
  z-index:14;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px;
  background:transparent;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .24s ease, visibility .24s ease;
}
.schedule-loader.is-active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.schedule-loader__panel{
  width:min(560px, calc(100% - 12px));
  border:1px solid hsl(var(--primary) / .32);
  border-radius:12px;
  padding:20px 20px 16px;
  background:
    linear-gradient(145deg, hsl(var(--card) / .92), hsl(var(--card) / .8)),
    hsl(var(--card));
  box-shadow:0 22px 52px hsl(var(--primary) / .18);
  text-align:center;
}
.schedule-loader__pulse{
  width:54px;
  height:54px;
  margin:0 auto 12px;
  border-radius:999px;
  border:none;
  background:url("../images/ball.png") center / contain no-repeat;
  filter:drop-shadow(0 4px 10px hsl(var(--primary) / .2));
  position:relative;
  animation:schedule-loader-ball-spin 6.5s linear infinite;
}
.schedule-loader__pulse::before,
.schedule-loader__pulse::after{
  content:"";
  position:absolute;
  inset:-6px;
  border-radius:inherit;
  border:1px solid hsl(var(--primary) / .35);
  animation:schedule-loader-ripple 2.6s ease-out infinite;
}
.schedule-loader__pulse::after{
  animation-delay:1.3s;
}
.schedule-loader__title{
  margin:0;
  font-size:clamp(16px, 1.4vw, 22px);
  letter-spacing:.03em;
  text-transform:uppercase;
}
.schedule-loader__subtitle{
  margin:10px auto 0;
  max-width:44ch;
  color:hsl(var(--muted-foreground));
  line-height:1.5;
}
.schedule-loader__progress{
  margin:14px auto 0;
  width:min(420px, 100%);
  height:10px;
  border-radius:999px;
  border:1px solid hsl(var(--primary) / .28);
  background:hsl(var(--background) / .55);
  padding:2px;
  overflow:hidden;
}
.schedule-loader__progress-bar{
  display:block;
  width:36%;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg, hsl(var(--primary) / .42), hsl(var(--primary)));
  animation:schedule-loader-progress 1.6s ease-in-out infinite;
}
.schedule-loader__slow{
  margin-top:14px;
  display:none;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  color:hsl(var(--muted-foreground));
}
.schedule-loader.is-slow .schedule-loader__slow{
  display:flex;
}
.schedule-loader__retry{
  height:34px;
  min-width:118px;
  border-radius:999px;
  border:1px solid hsl(var(--primary) / .38);
  background:hsl(var(--background) / .62);
  color:hsl(var(--foreground));
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:12px;
  padding:0 16px;
  transition:border-color .2s ease, background-color .2s ease, transform .1s ease;
}
.schedule-loader__retry:hover{
  border-color:hsl(var(--primary));
  background:hsl(var(--primary) / .12);
}
.schedule-loader__retry:active{
  transform:translateY(1px);
}
.schedule-loader.is-error .schedule-loader__panel{
  border-color:hsl(var(--destructive) / .42);
  box-shadow:0 20px 46px hsl(var(--destructive) / .16);
}
.schedule-loader.is-error .schedule-loader__progress{
  display:none;
}
.schedule-loader.is-error .schedule-loader__slow{
  display:flex;
}
@keyframes schedule-loader-ripple{
  0%{
    opacity:.6;
    transform:scale(.86);
  }
  100%{
    opacity:0;
    transform:scale(1.24);
  }
}
@keyframes schedule-loader-ball-spin{
  from{
    transform:rotate(0deg);
  }
  to{
    transform:rotate(360deg);
  }
}
@keyframes schedule-loader-progress{
  0%{
    transform:translateX(-120%);
  }
  55%{
    transform:translateX(190%);
  }
  100%{
    transform:translateX(190%);
  }
}
.price-amount{
  display:inline-flex;
  align-items:baseline;
  gap:6px;
  white-space:nowrap;
}
.price-amount__digits{
  font-family:var(--font-display, inherit);
  font-size:16px;
  font-weight:600;
  color:hsl(var(--primary));
}
.price-amount__suffix{
  font-size:12px;
  font-weight:500;
  color:hsl(var(--muted-foreground));
}
.schedule-date-row [data-date-nav]{
  width:100%;
  justify-content:center;
}
.schedule-day-current{
  display:none;
  flex-direction:column;
  align-items:center;
  padding:10px 14px;
  border-radius:10px;
  border:1px solid hsl(var(--border));
  background:hsl(var(--card));
  min-width:96px;
}
@media (max-width: 719px){
  .quick-booking-modal{
    padding:10px;
  }
  .quick-booking-modal__shell{
    width:min(560px, 100%);
  }
  .quick-booking-modal__head{
    padding:20px 18px 8px;
  }
  .quick-booking-modal__body{
    padding:10px 18px 20px;
  }
  .quick-booking-modal__title{
    font-size:clamp(24px, 7vw, 34px);
  }
  .quick-booking-summary{
    padding:14px 12px 12px;
  }
  .quick-booking-summary__row{
    grid-template-columns:52px minmax(0,1fr);
    gap:8px;
    margin-bottom:10px;
  }
  .quick-booking-summary__icon{
    width:48px;
    height:48px;
    border-radius:11px;
  }
  .quick-booking-summary__content span{
    font-size:14px;
  }
  .quick-booking-summary__content strong{
    font-size:26px;
  }
  .quick-booking-summary__price{
    padding-top:10px;
  }
  .quick-booking-summary__price span{
    font-size:19px;
  }
  .quick-booking-summary__price strong{
    font-size:32px;
  }
  .quick-booking-form__field label{
    font-size:15px;
  }
  .quick-booking-form__field label.quick-booking-form__label-phone{
    font-size:27px;
  }
  .quick-booking-form__field input{
    height:52px;
    font-size:16px;
    border-radius:10px;
  }
  .quick-booking-form__name-view{
    min-height:52px;
  }
  .quick-booking-form__name-value{
    font-size:16px;
  }
  .quick-booking-form__phone-row{
    gap:8px;
  }
  .quick-booking-form__phone-edit{
    height:34px;
    padding:0 10px;
    font-size:12px;
  }
  .quick-booking-form__submit{
    height:56px;
    font-size:21px;
  }
  .quick-booking-form__note{
    margin-top:8px;
    font-size:13px;
  }
  .quick-booking-payment{
    padding:8px;
  }
  .quick-booking-payment__head{
    align-items:flex-start;
    flex-direction:column;
    margin-bottom:8px;
  }
  .quick-booking-payment__title{
    font-size:15px;
  }
  .quick-booking-payment__external{
    min-height:36px;
    width:100%;
    font-size:13px;
  }
  .quick-booking-payment__frame{
    height:min(62vh, 560px);
  }
  .quick-booking-payment__hint{
    font-size:13px;
  }
  .booking-modal{
    padding:12px;
  }
  .booking-modal__shell{
    height:92vh;
  }
  .booking-modal__head{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }
  .booking-modal__actions{
    width:100%;
    justify-content:space-between;
  }
  .schedule-date-row{grid-template-columns:1fr}
  .schedule-grid{min-width:0}
  .schedule-loader{
    padding:10px;
  }
  .schedule-loader__panel{
    padding:16px 14px 14px;
    border-radius:12px;
  }
  .schedule-loader__subtitle{
    font-size:13px;
  }
  .schedule-loader__progress{
    height:9px;
    margin-top:12px;
  }
  .schedule-loader__slow{
    margin-top:12px;
  }
  .schedule-loader__retry{
    height:32px;
    min-width:108px;
    padding:0 14px;
    font-size:11px;
  }
  [data-days]{display:none}
  .schedule-booking-card{
    width:min(460px, calc(100vw - 20px));
    margin-top:0;
    padding:0 10px;
    gap:8px;
    flex-direction:column;
    align-items:stretch;
  }
  .schedule-booking-card.is-active{
    padding:12px;
    max-height:152px;
  }
  .schedule-booking-line{
    white-space:normal;
    font-size:clamp(14px, 4.8vw, 17px);
  }
  .schedule-booking-action{
    width:100%;
    min-width:0;
    height:41px;
    font-size:clamp(14px, 5.4vw, 17px);
  }
  .schedule-selection-shell{
    width:min(460px, calc(100vw - 20px));
    bottom:12px;
  }
  .schedule-day-current{display:flex}
  .schedule-slots-matrix{
    --schedule-columns:3;
    grid-template-columns:repeat(var(--schedule-columns), minmax(0, 1fr));
    gap:6px;
    padding:2px 2px 6px;
  }
  .schedule-time-btn{
    min-height:0;
    aspect-ratio:1 / 1;
    padding:7px 5px 6px;
  }
  .schedule-time-btn__time{
    font-size:12px;
    margin-bottom:0;
  }
  .schedule-time-btn__label{
    font-size:10px;
  }
}
@media (prefers-reduced-motion: reduce){
  .schedule-loader,
  .schedule-loader__retry{
    transition:none;
  }
  .schedule-loader__pulse::before,
  .schedule-loader__pulse::after,
  .schedule-loader__progress-bar{
    animation:none;
  }
}

/* Admin layout */
.admin-shell{
  --admin-shell-top: calc(var(--admin-header-height, 64px) + 1.5rem - 60px);
  padding-top: var(--admin-shell-top);
}

/* Maintenance */
.maintenance-page{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:22px;
}
.maintenance-head{
  width:100%;
  max-width:860px;
}
.maintenance-kicker{
  font-size:12px;
  font-family:inherit;
  letter-spacing:.34em;
  text-transform:uppercase;
  color:hsl(var(--primary));
  margin-bottom:10px;
}
.maintenance-title{
  font-family:inherit;
  font-weight:700;
  letter-spacing:.02em;
  text-transform:uppercase;
  font-size:clamp(34px, 4vw, 56px);
  line-height:1.05;
  margin:0 0 12px;
}
.maintenance-subtitle{
  margin:0;
  font-size:clamp(14px, 1.2vw, 18px);
  color:hsl(var(--muted-foreground));
}
.maintenance-card{
  width:100%;
  max-width:360px;
  padding:22px;
}
.maintenance-form{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
}
.maintenance-pin{
  width:min(320px, 100%);
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:10px;
  border:1px solid hsl(var(--border));
  background:hsl(var(--background) / .45);
  font-family:inherit;
  font-size:14px;
  letter-spacing:.25em;
  color:hsl(var(--foreground));
}
.maintenance-keypad{
  width:min(320px, 100%);
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:8px;
}
.maintenance-key{
  height:44px;
  border-radius:10px;
  border:1px solid hsl(var(--border));
  background:hsl(var(--background));
  color:hsl(var(--foreground));
  font-family:inherit;
  font-size:16px;
  transition:border-color .2s ease, color .2s ease, background-color .2s ease, transform .05s ease;
}
.maintenance-key:hover{
  border-color:hsl(var(--primary) / .6);
  color:hsl(var(--primary));
}
.maintenance-key:active{
  transform:translateY(1px);
}
.maintenance-key--muted{
  background:hsl(var(--background) / .6);
  color:hsl(var(--muted-foreground));
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.maintenance-submit:disabled{
  opacity:.6;
  cursor:not-allowed;
}
.maintenance-submit{
  width:min(320px, 100%);
}

/* Contact form */
.contact-message{
  height:220px;
  min-height:220px;
  resize:vertical;
}
.admin-login-wrap{
  display:flex;
  justify-content:center;
  padding:2.5rem clamp(18px, 4vw, 36px) 3rem;
}
.admin-login-card{
  width:100%;
  max-width:320px;
  padding:1.5rem 1.75rem;
}
@media (max-width: 480px){
  .admin-login-card{
    max-width:280px;
    padding:1.25rem 1.5rem;
  }
}
.admin-layout{
  display:grid;
  grid-template-columns:240px minmax(0,1fr);
  gap:32px;
  align-items:start;
}
.admin-sidebar{
  position:sticky;
  top:var(--admin-shell-top, 96px);
  height:fit-content;
}
.admin-nav-link{
  display:flex;
  align-items:center;
  gap:.6rem;
}
.admin-nav-icon{
  font-size:18px;
  width:1.25rem;
  text-align:center;
  color:hsl(var(--muted-foreground));
}
.admin-nav-link.is-active .admin-nav-icon{
  color:hsl(var(--primary));
}
.admin-nav-label{
  flex:1;
  min-width:0;
}
.admin-main{
  width:100%;
  max-width:980px;
  justify-self:start;
}
.admin-panel{
  --admin-panel-gap:18px;
  display:flex;
  flex-direction:column;
  gap:var(--admin-panel-gap);
}
.admin-panel.space-y-5 > :not([hidden]) ~ :not([hidden]),
.admin-panel.space-y-6 > :not([hidden]) ~ :not([hidden]),
.admin-panel.space-y-8 > :not([hidden]) ~ :not([hidden]){
  margin-top:0;
}
.admin-panel :where(label.text-sm, label.text-xs){
  display:block;
  margin-bottom:6px;
}
.admin-panel :where(label.inline-flex),
.admin-panel :where(.admin-toggle){
  margin-bottom:0;
}
.admin-panel > .flex.justify-end,
.admin-form-actions{
  margin-top:4px;
  padding-top:14px;
  border-top:1px solid hsl(var(--border) / .65);
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  flex-wrap:wrap;
}
.admin-form-actions--plain{
  margin-top:10px;
  padding-top:0;
  border-top:0;
}
.admin-details{
  background:hsl(var(--card) / .5);
}
.admin-details__summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  cursor:pointer;
  list-style:none;
}
.admin-details__summary::-webkit-details-marker{
  display:none;
}
.admin-details[open] .admin-details__summary{
  margin-bottom:10px;
}
.admin-pricing-grid{
  display:grid;
  grid-template-columns:minmax(220px,1fr) 180px 110px;
  gap:12px;
}
.admin-price-input{
  text-align:right;
  font-variant-numeric:tabular-nums;
}
.admin-pricing-group{
  padding:6px;
  border-radius:10px;
  background:hsl(var(--background) / .35);
}
.admin-panel button[type="submit"]:not(.admin-icon-button){
  padding-left:2.25rem;
  padding-right:2.25rem;
  min-width:180px;
}
.admin-yclients-stack{
  display:grid;
  gap:24px;
}
.admin-yclients-stack .admin-form-actions--plain{
  margin-top:8px;
}
.admin-guard{
  border:1px solid hsl(var(--destructive) / .5);
  background:hsl(var(--destructive) / .1);
  border-radius:12px;
  padding:16px;
}
.admin-guard.is-unlocked{
  border-color:hsl(var(--primary) / .45);
  background:hsl(var(--primary) / .11);
}
.admin-guard__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.admin-guard__title{
  margin:0;
  font-family:Oswald,sans-serif;
  text-transform:uppercase;
  letter-spacing:.03em;
  font-size:18px;
  color:hsl(var(--foreground));
}
.admin-guard__text{
  margin:8px 0 0;
  font-size:13px;
  line-height:1.5;
  color:hsl(var(--foreground) / .86);
  max-width:68ch;
}
.admin-guard__status{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid hsl(var(--destructive) / .48);
  background:hsl(var(--destructive) / .14);
  color:hsl(var(--destructive));
  border-radius:999px;
  padding:8px 12px;
  font-size:12px;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-family:Oswald,sans-serif;
  white-space:nowrap;
}
.admin-guard.is-unlocked .admin-guard__status{
  border-color:hsl(var(--primary) / .5);
  background:hsl(var(--primary) / .16);
  color:hsl(var(--foreground));
}
.admin-guard__actions{
  display:grid;
  gap:12px;
}
.admin-guard__form{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.admin-guard__form--lock{
  justify-content:flex-end;
}
.admin-guard-readonly-badge{
  border:1px dashed hsl(var(--destructive) / .55);
  border-radius:10px;
  background:hsl(var(--destructive) / .08);
  color:hsl(var(--foreground));
  font-size:13px;
  padding:10px 14px;
}
.admin-yclients-stack[data-yclients-guard-state="locked"]{
  position:relative;
  opacity:.82;
}
.admin-seo-stack[data-seo-guard-state="locked"]{
  position:relative;
  opacity:.82;
}
.admin-sensitive-stack[data-sensitive-guard-state="locked"]{
  position:relative;
  opacity:.82;
}
.admin-yclients-stack[data-yclients-guard-state="locked"]::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:12px;
  pointer-events:auto;
  cursor:not-allowed;
}
.admin-seo-stack[data-seo-guard-state="locked"]::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:12px;
  pointer-events:auto;
  cursor:not-allowed;
}
.admin-sensitive-stack[data-sensitive-guard-state="locked"]::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:12px;
  pointer-events:auto;
  cursor:not-allowed;
}
@media (max-width: 860px){
  .admin-guard__form{
    align-items:flex-start;
    flex-direction:column;
  }
  .admin-guard__form--lock{
    align-items:stretch;
  }
}
@media (prefers-reduced-motion: reduce){
  .admin-guard,
  .admin-guard__status{
    transition:none !important;
  }
}
.admin-icon-button{
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid hsl(var(--border));
  background:hsl(var(--background));
  color:hsl(var(--foreground));
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  transition:color .2s ease, border-color .2s ease;
}
.admin-icon-button--danger{
  border-color:hsl(var(--destructive) / .5);
  color:hsl(var(--destructive));
}
.admin-icon-button--danger:hover{
  border-color:hsl(var(--destructive));
  color:hsl(var(--destructive));
}
.admin-gallery-card{
  position:relative;
}
.admin-gallery-card__delete{
  position:absolute;
  top:10px;
  right:10px;
  z-index:2;
  background:hsl(var(--background) / .92);
  backdrop-filter:blur(2px);
}
.admin-gallery-tools{
  display:grid;
  gap:10px;
  padding:12px;
  border:1px solid hsl(var(--border));
  border-radius:12px;
  background:hsl(var(--muted) / .16);
}
.admin-gallery-tools__row{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.admin-gallery-tools__select{
  min-width:220px;
  height:36px;
  border-radius:10px;
  border:1px solid hsl(var(--border));
  background:hsl(var(--background));
  color:hsl(var(--foreground));
  padding:0 10px;
  font-size:13px;
}
.admin-gallery-tools__tags{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.admin-gallery-tools__tag{
  border:1px solid hsl(var(--border));
  border-radius:999px;
  padding:6px 12px;
  background:hsl(var(--background));
  color:hsl(var(--foreground));
  font-size:12px;
  line-height:1;
  transition:border-color .2s ease, color .2s ease, background-color .2s ease;
}
.admin-gallery-tools__tag:hover{
  border-color:hsl(var(--primary));
  color:hsl(var(--primary));
}
.admin-gallery-tools__tag.is-active{
  border-color:hsl(var(--primary));
  background:hsl(var(--primary) / .14);
  color:hsl(var(--foreground));
}
.admin-gallery-tools__tag[data-admin-gallery-tag="__untagged"]{
  border-color:hsl(var(--destructive) / .58);
  color:hsl(var(--destructive));
  background:hsl(var(--destructive) / .08);
}
.admin-gallery-tools__tag[data-admin-gallery-tag="__untagged"]:hover{
  border-color:hsl(var(--destructive));
  color:hsl(var(--destructive));
  background:hsl(var(--destructive) / .14);
}
.admin-gallery-tools__tag[data-admin-gallery-tag="__untagged"].is-active{
  border-color:hsl(var(--destructive));
  color:hsl(var(--destructive));
  background:hsl(var(--destructive) / .2);
}
.admin-gallery-tools__empty{
  margin:0;
}
.admin-gallery-tools__empty.is-hidden{
  display:none;
}
.admin-toggle{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:24px;
}
.admin-toggle input{
  opacity:0;
  width:0;
  height:0;
}
.admin-toggle span{
  position:absolute;
  inset:0;
  background:hsl(var(--background));
  border:1px solid hsl(var(--border));
  border-radius:999px;
  transition:background .2s ease, border-color .2s ease;
}
.admin-toggle span:before{
  content:"";
  position:absolute;
  width:18px;
  height:18px;
  left:2px;
  top:2px;
  background:hsl(var(--card));
  border-radius:999px;
  transition:transform .2s ease;
  box-shadow:0 2px 8px rgba(0,0,0,0.25);
}
.admin-toggle input:checked + span{
  background:hsl(var(--primary) / .25);
  border-color:hsl(var(--primary));
}
.admin-toggle input:checked + span:before{
  transform:translateX(18px);
  background:hsl(var(--primary));
}
.admin-icon-button:hover{
  color:hsl(var(--primary));
  border-color:hsl(var(--primary));
}
.admin-news-link{
  font-family:Oswald,sans-serif;
  text-transform:uppercase;
  letter-spacing:.02em;
  color:hsl(var(--foreground));
  background:none;
  border:0;
  padding:0;
  text-align:left;
}
.admin-news-link:hover{
  color:hsl(var(--primary));
}
.admin-modal{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:clamp(14px, 2.8vw, 30px);
  background:rgba(0,0,0,0.6);
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
  z-index:200;
}
.admin-modal.is-open{
  opacity:1;
  pointer-events:auto;
}
.admin-modal__backdrop{
  position:absolute;
  inset:0;
}
.admin-modal__panel{
  position:relative;
  width:min(980px, 100%);
  height:min(84vh, 920px);
  max-height:84vh;
  background:hsl(var(--card));
  border:1px solid hsl(var(--border));
  border-radius:18px;
  box-shadow:0 24px 60px rgba(0,0,0,0.45);
  overflow:visible;
}
.admin-modal__scroll{
  height:100%;
  overflow:auto;
  padding:26px 26px 28px;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.admin-modal__close{
  position:absolute;
  top:-16px;
  right:-16px;
  width:36px;
  height:36px;
  border-radius:999px;
  border:1px solid hsl(var(--border));
  background:hsl(var(--background));
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  color:hsl(var(--foreground));
}
.admin-modal__close:hover{
  color:hsl(var(--primary));
  border-color:hsl(var(--primary));
}
.admin-modal__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:0;
  padding-bottom:12px;
  border-bottom:1px solid hsl(var(--border) / .65);
}
.admin-modal__content{
  display:grid;
  gap:16px;
}
.admin-modal__content :where(label.text-sm, label.text-xs){
  display:block;
  margin-bottom:6px;
}
.admin-modal__actions{
  margin-top:2px;
  padding-top:14px;
  border-top:1px solid hsl(var(--border) / .65);
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
}
.admin-modal-danger-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:10px;
  height:40px;
  padding:0 18px;
  border:1px solid hsl(var(--destructive));
  background:hsl(var(--destructive) / .14);
  color:hsl(var(--destructive));
  font-family:Oswald,sans-serif;
  letter-spacing:.04em;
  text-transform:uppercase;
  transition:background-color .2s ease, color .2s ease, border-color .2s ease;
}
.admin-modal-danger-btn:hover{
  background:hsl(var(--destructive) / .2);
  border-color:hsl(var(--destructive));
  color:hsl(var(--destructive));
}
.admin-modal--compact .admin-modal__panel{
  width:min(620px, 100%);
  height:auto;
  max-height:min(86vh, 560px);
}
.admin-modal--compact .admin-modal__scroll{
  padding:24px 24px 22px;
}
.admin-upload-limit{
  display:grid;
  gap:14px;
}
.admin-upload-limit__lead{
  margin:0;
  font-size:14px;
  line-height:1.6;
  color:hsl(var(--foreground) / .9);
}
.admin-upload-limit__stats{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
}
.admin-upload-limit__stat{
  border:1px solid hsl(var(--border));
  border-radius:12px;
  background:hsl(var(--muted) / .2);
  padding:10px 12px;
  display:grid;
  gap:6px;
}
.admin-upload-limit__stat span{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:hsl(var(--muted-foreground));
}
.admin-upload-limit__stat strong{
  font-size:17px;
  line-height:1.2;
  font-family:Oswald,sans-serif;
  color:hsl(var(--foreground));
  overflow-wrap:anywhere;
}
.admin-upload-limit__tips{
  margin:0;
  padding-left:18px;
  display:grid;
  gap:6px;
  color:hsl(var(--muted-foreground));
  font-size:13px;
  line-height:1.55;
}
.admin-upload-limit__tips li{
  margin:0;
}
.admin-news-images{
  display:grid;
  gap:12px;
  grid-template-columns:repeat(auto-fit, minmax(120px, 1fr));
}
.admin-news-image{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.admin-news-image img{
  width:100%;
  height:110px;
  object-fit:cover;
  border-radius:10px;
  border:1px solid hsl(var(--border));
}
.admin-long-text{
  min-height:40vh;
  resize:vertical;
}

/* News archive modal */
.news-modal{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:32px 24px;
  background:rgba(0,0,0,0.55);
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
  z-index:140;
}
.news-modal.is-open{
  opacity:1;
  pointer-events:auto;
}
.news-modal__backdrop{
  position:absolute;
  inset:0;
}
.news-modal__shell{
  position:relative;
  width:min(960px, 100%);
  height:80vh;
  max-height:80vh;
}
.news-modal__panel{
  position:relative;
  width:100%;
  height:100%;
  max-height:100%;
  background:hsl(var(--card));
  border:1px solid hsl(var(--border));
  border-radius:18px;
  padding:26px 24px;
  box-shadow:0 24px 60px rgba(0,0,0,0.4);
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.news-modal__scroll{
  display:flex;
  flex-direction:column;
  gap:14px;
  height:100%;
  overflow:auto;
  padding-right:12px;
  padding-bottom:4px;
  align-items:stretch;
  scrollbar-gutter:stable both-edges;
}
.news-modal__featured{
  flex-shrink:0;
  width:100%;
  box-sizing:border-box;
}
.news-modal__list{
  flex:1;
  min-height:0;
}
.news-modal__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-bottom:12px;
  border-bottom:1px solid hsl(var(--border) / .65);
}
.news-modal__close{
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid hsl(var(--border));
  background:hsl(var(--background));
  color:hsl(var(--foreground));
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  line-height:1;
  transition:color .2s ease, border-color .2s ease;
}
.news-modal__close--floating{
  position:absolute;
  top:-12px;
  right:-12px;
  z-index:5;
}
.news-modal__close:hover{
  color:hsl(var(--primary));
  border-color:hsl(var(--primary));
}
.news-modal__list{
  display:flex;
  flex-direction:column;
  gap:14px;
  overflow:visible;
  padding-right:0;
}

/* Custom scrollbars */
.scrollbar-styled{
  scrollbar-width:thin;
  scrollbar-color:hsl(var(--primary) / .7) transparent;
}
.scrollbar-styled::-webkit-scrollbar{
  width:10px;
}
.scrollbar-styled::-webkit-scrollbar-track{
  background:transparent;
  margin:12px;
}
.scrollbar-styled::-webkit-scrollbar-thumb{
  background:hsl(var(--primary) / .7);
  border-radius:999px;
  border:2px solid hsl(var(--card));
}
.scrollbar-styled::-webkit-scrollbar-thumb:hover{
  background:hsl(var(--primary));
}
.news-card{
  width:100%;
  padding:0;
  display:flex;
  flex-direction:column;
  appearance:none;
}
.news-card__bar{
  flex-shrink:0;
}
.news-card__body{
  display:flex;
  flex-direction:column;
  gap:0;
  height:100%;
}
.news-card__meta{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:16px;
  flex-wrap:wrap;
}
.news-card__tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:hsl(var(--primary) / .14);
  color:hsl(var(--primary));
  font-family:Oswald,sans-serif;
  font-size:.72rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:5px 11px;
}
.news-card__date{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:hsl(var(--muted-foreground));
  font-size:.82rem;
  font-family:Inter,sans-serif;
}
.news-card__date-icon{
  opacity:.9;
}
.news-card__title{
  font-size:1.24rem;
  margin:0 0 12px;
  color:hsl(var(--foreground));
  transition:color .2s ease;
  line-height:1.08;
}
.news-card:hover .news-card__title{
  color:hsl(var(--primary));
}
.news-card__excerpt{
  margin:0;
  color:hsl(var(--muted-foreground));
  font-size:.95rem;
  line-height:1.5;
}
.news-card__more{
  margin-top:auto;
  padding-top:18px;
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:hsl(var(--primary));
  font-family:Oswald,sans-serif;
  letter-spacing:.03em;
  font-size:1.04rem;
}
.news-card__more-arrow{
  transition:transform .2s ease;
}
.news-card:hover .news-card__more-arrow{
  transform:translateX(3px);
}
@media (max-width: 980px){
  .news-card__title{
    font-size:1.18rem;
  }
}
@media (max-width: 640px){
  .news-card__title{
    font-size:1.1rem;
  }
  .news-card__excerpt{
    font-size:.9rem;
  }
}
.news-cta{
  min-width:240px;
  padding-left:2.5rem;
  padding-right:2.5rem;
}
.news-modal__item{
  scroll-margin-top:20px;
  padding:22px;
  background:hsl(var(--background) / .45);
  border-color:hsl(var(--border));
}
.news-modal__featured{
  border:1px solid hsl(var(--border));
  border-radius:12px;
  background:hsl(var(--background) / .35);
  padding:22px;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.news-modal__featured .news-modal__meta{
  display:flex;
  align-items:center;
  gap:12px;
}
.news-modal__meta{
  align-items:center;
}
.news-modal__tag{
  letter-spacing:.18em;
}
.news-modal__title{
  font-size:1.35rem;
  letter-spacing:.02em;
}
.news-modal__text{
  font-size:1rem;
  line-height:1.7;
}
.news-modal__images{
  margin-top:16px;
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}
.news-modal__images.is-multi{
  grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
}
.news-modal__image{
  width:100%;
  height:clamp(220px, 44vh, 540px);
  border-radius:10px;
  border:1px solid hsl(var(--border));
  overflow:hidden;
}
.news-modal__images.is-multi .news-modal__image{
  height:180px;
}
.news-modal__image img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.news-list-item{
  width:100%;
  text-align:left;
  border:1px solid hsl(var(--border));
  border-radius:12px;
  padding:14px 16px;
  background:hsl(var(--background) / .2);
  display:flex;
  flex-direction:column;
  gap:6px;
  transition:border-color .2s ease, background .2s ease;
  align-self:stretch;
  box-sizing:border-box;
}
.news-list-item:hover{
  border-color:hsl(var(--primary) / .5);
}
.news-list-item.is-active{
  border-color:hsl(var(--primary));
  background:hsl(var(--primary) / .12);
}
.news-list-item__meta{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:.66rem;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:hsl(var(--muted-foreground));
}
.news-list-item__tag{
  color:hsl(var(--primary));
}
.news-list-item__title{
  font-family:Oswald,sans-serif;
  text-transform:uppercase;
  letter-spacing:.02em;
  font-size:1rem;
  color:hsl(var(--foreground));
}
.news-list-item__excerpt{
  font-size:.85rem;
  color:hsl(var(--muted-foreground));
  line-height:1.5;
}

/* News archive pages */
.news-page{
  min-height:100vh;
}
.news-hub{
  padding-top:104px;
}
.news-hub__hero{
  margin-bottom:24px;
}
.news-hub__kicker{
  font-family:Oswald,sans-serif;
  text-transform:uppercase;
  letter-spacing:.24em;
  color:hsl(var(--primary));
  font-size:.86rem;
  margin-bottom:10px;
}
.news-hub__title{
  font-size:clamp(2rem, 5.6vw, 3.6rem);
  line-height:.98;
  letter-spacing:.01em;
  text-transform:uppercase;
}
.news-hub__layout{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:14px;
  align-items:start;
}
.news-hub__sidebar{
  position:sticky;
  top:98px;
}
.news-hub__sidebar-title{
  font-size:.82rem;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:hsl(var(--muted-foreground));
  margin-bottom:10px;
}
.news-hub__years{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.news-hub__year{
  border:1px solid hsl(var(--border));
  border-radius:10px;
  background:hsl(var(--card) / .35);
  color:hsl(var(--muted-foreground));
  display:flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  font-family:Oswald,sans-serif;
  letter-spacing:.03em;
  transition:all .18s ease;
}
.news-hub__year:hover{
  border-color:hsl(var(--primary) / .45);
  color:hsl(var(--foreground));
}
.news-hub__year.is-active{
  border-color:hsl(var(--primary));
  background:hsl(var(--primary));
  color:hsl(var(--primary-foreground));
  box-shadow:0 0 0 2px hsl(var(--primary) / .26);
}
.news-hub__main{
  min-width:0;
}
.news-hub__filters{
  margin-bottom:16px;
}
.news-hub__filters-title{
  font-size:.78rem;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:hsl(var(--muted-foreground));
  margin-bottom:8px;
}
.news-hub__tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.news-hub__tag-filter{
  border:1px solid hsl(var(--border));
  border-radius:999px;
  background:hsl(var(--card) / .45);
  color:hsl(var(--muted-foreground));
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 11px;
  font-family:Oswald,sans-serif;
  text-transform:uppercase;
  letter-spacing:.04em;
  font-size:.72rem;
  transition:border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}
.news-hub__tag-filter:hover{
  color:hsl(var(--foreground));
  border-color:hsl(var(--primary) / .5);
}
.news-hub__tag-filter.is-active{
  border-color:hsl(var(--primary));
  background:hsl(var(--primary));
  color:hsl(var(--primary-foreground));
}
.news-hub__year-title{
  font-size:2.1rem;
  line-height:1;
  margin-bottom:12px;
}
.news-rows{
  display:flex;
  flex-direction:column;
  gap:11px;
}
.news-row{
  border:1px solid hsl(var(--border));
  border-radius:12px;
  background:hsl(var(--card) / .55);
  padding:14px 15px;
  display:grid;
  grid-template-columns:78px minmax(0,1fr) 20px;
  gap:14px;
  align-items:flex-start;
  transition:border-color .2s ease, background .2s ease, transform .2s ease;
}
.news-row:hover{
  border-color:hsl(var(--primary) / .38);
  background:hsl(var(--card));
}
.news-row--empty{
  display:block;
  padding:24px;
  color:hsl(var(--muted-foreground));
}
.news-row__date{
  color:hsl(var(--muted-foreground));
  font-family:Inter,sans-serif;
  font-size:.82rem;
  letter-spacing:.01em;
  line-height:1;
  padding-top:2px;
}
.news-row__body{
  display:flex;
  flex-direction:column;
  gap:9px;
}
.news-row__tag{
  align-self:flex-start;
  border-radius:999px;
  padding:3px 8px;
  font-family:Oswald,sans-serif;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.66rem;
  color:hsl(var(--primary));
  background:hsl(var(--primary) / .14);
}
.news-row__title{
  font-size:1.22rem;
  line-height:1.12;
  color:hsl(var(--foreground));
}
.news-row__excerpt{
  color:hsl(var(--muted-foreground));
  font-size:.92rem;
  line-height:1.45;
}
.news-row__arrow{
  color:hsl(var(--muted-foreground));
  font-size:1.45rem;
  line-height:1;
  padding-top:2px;
}
.news-row:hover .news-row__arrow{
  color:hsl(var(--primary));
}
.news-row--reveal{
  opacity:0;
  transform:translateY(14px);
  animation:news-row-reveal .3s cubic-bezier(.25,.76,.28,1) forwards;
  animation-delay:var(--news-reveal-delay, 0ms);
}
@keyframes news-row-reveal{
  from{
    opacity:0;
    transform:translateY(14px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}
.news-pagination{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  padding-top:12px;
}
.news-pagination__control,
.news-pagination__page{
  min-width:38px;
  height:38px;
  border:1px solid hsl(var(--border));
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 12px;
  color:hsl(var(--muted-foreground));
  transition:border-color .2s ease, color .2s ease, background .2s ease;
}
.news-pagination__control:hover,
.news-pagination__page:hover{
  border-color:hsl(var(--primary) / .5);
  color:hsl(var(--foreground));
}
.news-pagination__page.is-active{
  border-color:hsl(var(--primary));
  color:hsl(var(--primary));
  background:hsl(var(--primary) / .1);
}
.news-detail-card{
  border:1px solid hsl(var(--border));
  border-radius:12px;
  background:hsl(var(--card) / .62);
  padding:29px 29px 31px;
}
.news-detail-card__back{
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:hsl(var(--muted-foreground));
  font-size:.92rem;
  margin-bottom:16px;
  border-radius:10px;
  border:1px solid transparent;
  background:transparent;
  padding:8px 11px;
  font-family:Oswald,sans-serif;
  letter-spacing:.02em;
  transition:transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.news-detail-card__back-icon{
  font-size:1rem;
  line-height:1;
}
.news-detail-card__back:hover{
  background:hsl(var(--primary) / .28);
  border-color:hsl(var(--primary) / .55);
  box-shadow:0 8px 20px hsl(var(--primary) / .16);
  color:hsl(var(--foreground));
  transform:translateY(-1px);
}
.news-detail-card__accent-line{
  width:112px;
  height:6px;
  border-radius:999px;
  background:hsl(var(--primary));
  margin-bottom:18px;
}
.news-detail-card__hero{
  display:block;
  border:1px solid hsl(var(--border));
  border-radius:12px;
  overflow:hidden;
  margin:0 0 18px;
  aspect-ratio:16 / 9;
}
.news-detail-card__hero img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.news-detail-card__meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:9px;
  margin-top:20px;
  margin-bottom:14px;
}
.news-detail-card__tag{
  border-radius:999px;
  padding:3px 8px;
  font-family:Oswald,sans-serif;
  font-size:.66rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:hsl(var(--primary));
  background:hsl(var(--primary) / .14);
}
.news-detail-card__date{
  font-size:.84rem;
  color:hsl(var(--muted-foreground));
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.news-detail-card__date-icon{
  color:hsl(var(--muted-foreground));
  font-size:.78rem;
}
.news-detail-card__title{
  font-size:1.56rem;
  line-height:1.12;
  text-transform:uppercase;
  margin-bottom:14px;
}
.news-detail-card__text{
  font-size:.98rem;
  line-height:1.72;
}
.news-text-block{
  margin:0 0 22px;
}
.news-text-block:last-child{
  margin-bottom:0;
}
.news-text-block--white{
  color:hsl(var(--foreground));
}
.news-text-block--muted{
  color:hsl(var(--muted-foreground));
}
.news-text-list{
  margin:0 0 22px;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.news-text-list__item{
  position:relative;
  padding-left:30px;
  color:hsl(var(--foreground));
}
.news-text-list__item::before{
  content:"";
  position:absolute;
  left:0;
  top:.45em;
  width:0;
  height:0;
  border-top:9px solid transparent;
  border-bottom:9px solid transparent;
  border-left:9px solid hsl(var(--primary));
}
.news-detail-card__images{
  margin:0 0 18px;
  display:grid;
  grid-template-columns:1fr;
  gap:9px;
}

.admin-news-formatter{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:10px 0 8px;
}
.admin-news-formatter__btn{
  border:1px solid hsl(var(--border));
  background:hsl(var(--card) / .6);
  color:hsl(var(--foreground));
  border-radius:8px;
  font-size:12px;
  font-family:Oswald,sans-serif;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:6px 10px;
  transition:border-color .2s ease, color .2s ease, background .2s ease;
}
.admin-news-formatter__btn:hover{
  border-color:hsl(var(--primary) / .6);
  color:hsl(var(--primary));
}
.admin-news-uploader{
  border:1px dashed hsl(var(--border));
  border-radius:12px;
  padding:10px;
  background:hsl(var(--card) / .35);
}
.admin-news-uploader__input{
  display:none;
}
.admin-news-uploader__actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.admin-news-uploader__pick{
  border:1px solid hsl(var(--primary) / .5);
  background:hsl(var(--primary) / .12);
  color:hsl(var(--foreground));
  border-radius:8px;
  padding:7px 10px;
  font-size:12px;
  font-family:Oswald,sans-serif;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.admin-news-upload-queue{
  margin-top:10px;
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
  gap:8px;
}
.admin-news-upload-queue__empty{
  color:hsl(var(--muted-foreground));
  font-size:12px;
}
.admin-news-upload-queue__item{
  border:1px solid hsl(var(--border));
  border-radius:10px;
  padding:8px;
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  gap:8px;
  align-items:center;
  background:hsl(var(--background));
}
.admin-news-upload-queue__preview{
  width:48px;
  height:48px;
  border-radius:8px;
  overflow:hidden;
  border:1px solid hsl(var(--border));
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:10px;
  color:hsl(var(--muted-foreground));
}
.admin-news-upload-queue__preview img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.admin-news-upload-queue__meta{
  min-width:0;
}
.admin-news-upload-queue__name{
  font-size:12px;
  color:hsl(var(--foreground));
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.admin-news-upload-queue__size{
  font-size:11px;
  color:hsl(var(--muted-foreground));
}
.admin-news-upload-queue__remove{
  grid-column:1 / -1;
  border:1px solid hsl(var(--border));
  border-radius:7px;
  background:transparent;
  color:hsl(var(--muted-foreground));
  font-size:11px;
  padding:4px 6px;
}
.admin-news-image{
  position:relative;
}
.admin-news-image__remove{
  margin-top:6px;
  width:100%;
  border:1px solid hsl(var(--border));
  border-radius:8px;
  background:hsl(var(--card));
  color:hsl(var(--muted-foreground));
  font-size:11px;
  padding:5px 6px;
}
.admin-news-image.is-marked-remove{
  opacity:.56;
}
.admin-news-image.is-marked-remove .admin-news-image__remove{
  border-color:hsl(var(--destructive) / .55);
  color:hsl(var(--destructive));
}
.news-detail-card__images.is-multi{
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
}
.news-detail-card__images--grid{
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
}
.news-detail-card__images--all-visible{
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
}
.news-detail-card__images--all-visible.is-count-2{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.news-detail-card__images--all-visible.is-count-3{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.news-detail-card__images--all-visible:not(.is-count-2):not(.is-count-3){
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.news-detail-card__image{
  border:1px solid hsl(var(--border));
  border-radius:10px;
  overflow:hidden;
  aspect-ratio:16 / 9;
}
.news-detail-card__image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

@media (max-width: 1180px){
  .news-row__date{font-size:1rem}
  .news-row__title{font-size:1.14rem}
  .news-row__excerpt{font-size:.9rem}
  .news-detail-card__title{font-size:1.45rem}
  .news-detail-card__text{font-size:.94rem}
}
@media (max-width: 980px){
  .news-hub{padding-top:96px}
  .news-hub__layout{
    grid-template-columns:1fr;
    gap:18px;
  }
  .news-hub__sidebar{
    position:static;
  }
  .news-hub__years{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .news-hub__year-title{
    font-size:1.7rem;
  }
  .news-hub__filters{
    margin-bottom:14px;
  }
  .news-row{
    grid-template-columns:1fr 20px;
    gap:12px;
  }
  .news-row__date{
    grid-column:1 / 2;
    font-size:.82rem;
    color:hsl(var(--primary));
    margin-bottom:2px;
  }
  .news-row__body{
    grid-column:1 / 2;
  }
  .news-row__title{
    font-size:1.08rem;
    line-height:1.08;
  }
  .news-row__excerpt{
    font-size:.9rem;
    line-height:1.45;
  }
  .news-row__arrow{
    grid-column:2 / 3;
    grid-row:1 / 3;
    align-self:center;
    font-size:1.3rem;
  }
  .news-detail-card__back{
    width:100%;
    justify-content:center;
  }
  .news-detail-card__images--all-visible.is-count-3,
  .news-detail-card__images--all-visible:not(.is-count-2):not(.is-count-3){
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 640px){
  .news-detail-card__images--all-visible.is-count-2,
  .news-detail-card__images--all-visible.is-count-3,
  .news-detail-card__images--all-visible:not(.is-count-2):not(.is-count-3){
    grid-template-columns:1fr;
  }
}
@media (prefers-reduced-motion: reduce){
  .news-row--reveal{
    animation:none;
    opacity:1;
    transform:none;
  }
}

/* Admin news table */
.admin-news-table-wrapper{
  overflow-x:auto;
  border:1px solid hsl(var(--border));
  border-radius:14px;
  background:hsl(var(--card) / .5);
}
.admin-news-table{
  width:100%;
  border-collapse:collapse;
  min-width:760px;
}
.admin-news-table th,
.admin-news-table td{
  padding:12px;
  border-bottom:1px solid hsl(var(--border));
  vertical-align:top;
  font-size:12px;
}
.admin-news-table th:nth-child(1),
.admin-news-table td:nth-child(1),
.admin-news-table th:nth-child(3),
.admin-news-table td:nth-child(3),
.admin-news-table th:nth-child(4),
.admin-news-table td:nth-child(4){
  text-align:center;
  width:80px;
  white-space:nowrap;
}
.admin-news-table th{
  text-transform:uppercase;
  letter-spacing:.08em;
  color:hsl(var(--muted-foreground));
  font-weight:600;
  text-align:left;
  background:hsl(var(--background) / .5);
}
.admin-news-table tr:last-child td{
  border-bottom:none;
}
.admin-news-editor{
  scroll-margin-top:120px;
}
@media (max-width: 720px){
  .news-modal{
    padding:16px;
  }
  .news-modal__panel{
    padding:18px;
  }
  .news-modal__scroll{
    gap:16px;
    padding-right:8px;
  }
  .news-modal__featured{
    padding:16px;
    gap:12px;
  }
}
@media (max-width: 900px){
  .admin-modal{
    padding:16px;
  }
  .admin-modal__panel{
    border-radius:12px;
    height:86vh;
    max-height:86vh;
  }
  .admin-modal__scroll{
    padding:20px 18px 22px;
    gap:16px;
  }
  .admin-modal__close{
    top:-12px;
    right:-12px;
  }
  .admin-upload-limit__stats{
    grid-template-columns:1fr;
  }
}
@media (max-width: 1100px){
  .admin-layout{grid-template-columns:1fr}
  .admin-sidebar{position:static}
  .admin-sidebar nav{
    flex-direction:row;
    flex-wrap:wrap;
  }
}
@media (max-width: 720px){
  .admin-pricing-grid{
    grid-template-columns:1fr;
  }
  .admin-pricing-head{
    display:none;
  }
}

@keyframes admin-spin{
  from{transform:rotate(0deg)}
  to{transform:rotate(360deg)}
}
.admin-spinner{
  animation:admin-spin 1s linear infinite;
  transform-origin:center;
}
