/* ======================================================================
   amica-assistenza.it – foglio di stile unico
   Valori ricavati dal tema originale (Jupiter): Lato, titoli 24px/700
   maiuscoli, testo 16px/1.66, pulsanti 12px arrotondati, contenitore 1140px.
   Breakpoint mobile: 765px (come le classi "visible-sm" del vecchio sito).
   ====================================================================== */

@font-face { font-family: Lato; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/lato-400.woff2) format("woff2"); }
@font-face { font-family: Lato; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/lato-400-italic.woff2) format("woff2"); }
@font-face { font-family: Lato; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/lato-700.woff2) format("woff2"); }

:root {
  --blue: #226da4;        /* titoli, menu laterale, bordo footer */
  --blue-dark: #0867a1;   /* pulsanti, Residenza Lobbi */
  --red: #d66869;         /* Residenza Sezzadio, fascia "Lavora con noi" */
  --taupe: #908272;       /* Residenza Pecetto di Valenza */
  --sky: #d9e9f5;         /* sezione contatti */
  --box: #dae6f0;         /* box servizi */
  --text: #000;
  --muted: #555;
  --header-h: 90px;
  --nav-w: 300px;
  --container: 1140px;
  --gutter: 20px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 10px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; padding-top: var(--header-h);
  font: 400 14px/1.66 Lato, "Helvetica Neue", Arial, sans-serif;
  color: var(--text); background: #fff; overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
picture { display: contents; }
source { display: none; }
/* le colonne di griglia non devono allargarsi per il contenuto (slider) */
.split > *, .split-fluid > *, .res-split > *, .cols-3 > *, .half > * { min-width: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
p { margin: 0 0 20px; }
strong, b { font-weight: 700; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.sr-only, .hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.ta-center { text-align: center; }
.ta-left { text-align: left; }
.ta-right { text-align: right; }
@media (max-width: 765px) { .hide-mobile { display: none !important; } }
@media (min-width: 766px) { .hide-desktop { display: none !important; } }

/* ---------------------------------------------------------------- Titoli */
.title {
  font-size: 24px; line-height: 1.3; font-weight: 700; text-transform: uppercase;
  color: var(--blue); margin: 0 0 10px;
}
.title--red { color: var(--red); }
.title--taupe { color: var(--taupe); }
.title--blue-dark { color: var(--blue-dark); }
.title--white { color: #fff; }
.tone-blue { color: var(--blue-dark); }
.tone-red { color: var(--red); }
.tone-taupe { color: var(--taupe); }

.text { font-size: 16px; line-height: 1.66; }
.text p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- Pulsanti */
.btn {
  display: inline-block; padding: 14px 24px; border: 0; border-radius: 50px;
  font: 700 12px/12px Lato, Arial, sans-serif; letter-spacing: 1px; text-align: center;
  color: #fff; background: var(--blue-dark); cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.btn:hover, .btn:focus-visible { text-decoration: none; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
.btn--red { background: var(--red); }
.btn--taupe { background: var(--taupe); }
.btn--white { background: #fff; color: #252525; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); cursor: pointer; }
.link-button:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header-h);
  background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
  transition: transform .4s var(--ease);
}
.site-header__inner {
  height: 100%; max-width: 1140px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.site-logo { display: block; line-height: 0; }
.site-logo__img { width: 191px; height: auto; }
.nav-toggle {
  width: 44px; height: 44px; margin-right: -7px; padding: 0; border: 0; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; position: relative; z-index: 60;
}
.nav-toggle__bars { position: relative; width: 22px; height: 18px; }
.nav-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 3px; border-radius: 2px; background: var(--blue);
  transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 7.5px; }
.nav-toggle__bars span:nth-child(3) { top: 15px; }
.nav-open .nav-toggle__bars span:nth-child(1) { top: 7.5px; transform: rotate(45deg); }
.nav-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bars span:nth-child(3) { top: 7.5px; transform: rotate(-45deg); }

/* ---------------------------------------------------------------- Menu laterale
   Entra da destra e sposta la pagina verso sinistra (come "side dashboard" Jupiter). */
.side-nav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: var(--nav-w);
  padding: 120px 20px 40px 30px; overflow-y: auto; background: var(--blue);
  transform: translateX(100%); transition: transform .4s var(--ease), visibility 0s .4s; visibility: hidden;
}
.side-nav[hidden] { display: block; }
.nav-open .side-nav { transform: none; visibility: visible; transition: transform .4s var(--ease); }
.side-nav__list { list-style: none; margin: 0; padding: 0; }
.side-nav__list li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.side-nav__list a {
  display: block; padding: 15px 20px 15px 0; color: #fff; text-transform: uppercase;
  font-size: 13px; font-weight: 700; letter-spacing: 1px; line-height: 1.79;
}
.side-nav__list a:hover, .side-nav__list a:focus-visible { color: #fff; text-decoration: none; opacity: .75; }
.side-nav__list a[aria-current="page"] { opacity: .75; }
.page { transition: transform .4s var(--ease); }
.nav-open .page, .nav-open .site-header { transform: translateX(calc(-1 * var(--nav-w))); }
.nav-backdrop { position: fixed; inset: 0; z-index: 40; background: transparent; }
.nav-backdrop[hidden] { display: none; }
@media (max-width: 765px) { :root { --nav-w: 280px; } }

/* ---------------------------------------------------------------- Testata */
.hero { position: relative; line-height: 0; }
.hero__img { width: 100%; height: auto; }
.hero__overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 0 var(--gutter); line-height: 1.3;
}
.hero__overlay .title { font-size: 36px; text-shadow: 0 1px 8px rgba(0, 0, 0, .25); }

/* ---------------------------------------------------------------- Sezioni e griglie */
.section { padding: 60px 0; }
.section--tight { padding: 40px 0; }
.section--sky { background: var(--sky); }
.section--red { background: var(--red); color: #fff; }
.narrow { max-width: 760px; margin: 0 auto; }          /* colonna 8/12 */
.wide { max-width: 950px; margin: 0 auto; }            /* colonna 10/12 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 40px; max-width: 950px; margin: 0 auto; align-items: start; }
.split--center { align-items: center; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 765px) {
  .section { padding: 40px 0; }
  .split, .cols-3 { grid-template-columns: 1fr; }
  .split--reverse-mobile > :first-child { order: 2; }   /* ordine diverso su mobile */
}

/* ---------------------------------------------------------------- Contatti e mappa */
.addr { font-size: 14px; line-height: 1.66; margin: 0 0 20px; }
.addr a { color: inherit; }
.contacts-map { display: grid; grid-template-columns: 1fr 1fr; min-height: 800px; }
.contacts-map__text { padding: 40px 15px 40px calc(16.667% + 15px); }   /* colonna 1/12 + 5/12 */
.contacts-map__map { min-height: 800px; background: #e5e3df; }
@media (max-width: 765px) {
  .contacts-map { grid-template-columns: 1fr; min-height: 0; }
  .contacts-map__text { padding: 40px var(--gutter); }
}
.map-embed iframe { display: block; width: 100%; height: 300px; border: 0; }
.tour iframe { display: block; width: 100%; height: 450px; border: 0; }

/* ---------------------------------------------------------------- Slider */
.slider { position: relative; overflow: hidden; touch-action: pan-y; background: #f2f2f2; }
.slider__track { display: flex; transition: transform .7s var(--ease); will-change: transform; }
.slider__slide { flex: 0 0 100%; }
.slider__slide img { width: 100%; aspect-ratio: 770 / 550; object-fit: cover; }
.slider__nav {
  position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; padding: 10px;
  border: 0; border-radius: 50%; background: rgba(0, 0, 0, .35); color: #fff; cursor: pointer;
  transition: background-color .2s;
}
.slider__nav:hover, .slider__nav:focus-visible { background: rgba(0, 0, 0, .6); }
.slider__nav--prev { left: 10px; }
.slider__nav--next { right: 10px; }
.slider .icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- Modulo */
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.field { margin: 0; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14.4px; line-height: 1.66; margin-bottom: 2px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; padding: 6px 8px; margin: 2px 0; border: 1px solid #ccc; border-radius: 4px;
  background: #fdfdfd; font: 14.4px/1.4 Lato, Arial, sans-serif; color: #000;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input[type="file"] { width: 100%; font-size: 13px; }
.field__hint { display: block; font-size: 12px; color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 2px rgba(34, 109, 164, .2); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c62828; }
.field__error { display: block; color: #c62828; font-size: 13px; margin-top: 2px; }
.cform__info p { margin: 0 0 6px; font-size: 14px; }
.cform__privacy { align-self: center; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { margin-top: 5px; }
.cform__submit { text-align: center; margin-top: 16px; }
.cform__submit .btn { min-width: 110px; text-transform: uppercase; }
.cform__submit .btn[disabled] { opacity: .6; cursor: wait; }
.msg { margin: 16px 0 0; padding: 10px 14px; border-radius: 4px; font-size: 14px; }
.msg--ok { background: #e8f5e9; border: 1px solid #2e7d32; color: #1b5e20; }
.msg--error { background: #fdecea; border: 1px solid #c62828; color: #8e1c1c; }
@media (max-width: 765px) { .cform__grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Footer */
.site-footer { border-top: 5px solid var(--blue); background: #fff; font-size: 14px; line-height: 1.66; }
.site-footer a { color: inherit; }
.site-footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 20px; max-width: 1140px; padding-top: 24px; }
.site-footer__col { padding: 0 22px; }
.site-footer__logo-img { width: 177px; margin-bottom: 20px; }
.site-footer__title { margin: 0 0 10px; font-size: 24px; font-weight: 700; color: var(--blue); line-height: 1.3; }
.site-footer__social { display: flex; gap: 2px; }
.site-footer__social img { width: 45px; height: 45px; }
.site-footer__sub { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; max-width: 1140px; padding-top: 20px; padding-bottom: 30px; }
.site-footer__credits { padding-left: 20px; }
.site-footer__credits img { width: 180px; }
.site-footer__legal { margin: 0; font-size: 13px; color: var(--muted); }
.site-footer__legal a, .site-footer__legal .link-button { color: var(--muted); font-size: 13px; }
@media (max-width: 765px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__grid > [aria-hidden] { display: none; }
  .site-footer__col { padding: 0; }
  .site-footer__credits { padding-left: 0; }
}

/* ---------------------------------------------------------------- Pagine semplici */
.prose { font-size: 16px; line-height: 1.66; }
.prose h2 { font-size: 20px; color: var(--blue); margin: 30px 0 10px; text-transform: none; }
.prose h3 { font-size: 17px; margin: 20px 0 8px; }
.prose ul { padding-left: 20px; margin: 0 0 20px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14px; }
.prose th, .prose td { border: 1px solid #ddd; padding: 8px; text-align: left; vertical-align: top; }
.prose th { background: var(--box); }
.table-wrap { overflow-x: auto; }

/* ---------------------------------------------------------------- Griglia fluida
   Molte righe del vecchio sito sono a tutta larghezza con colonne in dodicesimi
   della finestra (non del contenitore da 1140px): le riproduciamo in percentuale. */
.fw   { padding-left: 8.333%;  padding-right: 8.333%; }   /* contenuto in 10/12 */
.section.fw { padding-left: calc(8.333% + 15px); padding-right: calc(8.333% + 15px); }
.fw-8 { padding-left: 16.667%; padding-right: 16.667%; }  /* contenuto in 8/12 */
.split-fluid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.mt-20 { margin-top: 20px; }
@media (max-width: 765px) {
  .fw, .fw-8 { padding-left: var(--gutter); padding-right: var(--gutter); }
  .split-fluid { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------------------------------------------------------------- Home: Le strutture */
.strutture { position: relative; overflow: hidden; padding: 40px 0 60px; }
.strutture__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.strutture__inner { position: relative; }
.strutture__inner > .text { margin: 0 15px 40px; }
.strutture__cards { gap: 0; padding: 0 15px; }
.card-residenza { text-align: center; padding: 0 15px; }
.card-residenza .title { min-height: 62px; display: flex; align-items: flex-end; justify-content: center; }
.card-residenza__img { width: 100%; aspect-ratio: 606 / 420; object-fit: cover; margin: 0 0 30px; }
@media (max-width: 765px) {
  .card-residenza { margin-bottom: 30px; }
  .card-residenza .title { min-height: 0; }
}

/* ---------------------------------------------------------------- Home: contatti */
.contact-section .split-fluid { gap: 0 0; }
.contact-section .split-fluid > div { padding: 0 15px; }
.contact-section { padding: 40px 0 40px; }

/* ---------------------------------------------------------------- Home: box servizi */
.servizi-boxes { display: grid; grid-template-columns: repeat(3, 1fr); padding-bottom: 40px; }
.servizio-box {
  background: var(--box); border-left: 10px solid #fff; border-right: 10px solid #fff;
  padding: 35px 15px 40px; text-align: center; display: flex; flex-direction: column; align-items: center;
}
.servizio-box__icon { width: 80px; height: 80px; margin: 0 0 20px; }
.servizio-box .title { flex: 1; margin-bottom: 30px; }
.servizio-box p { margin: 0; }
@media (max-width: 765px) {
  .servizi-boxes { grid-template-columns: 1fr; gap: 20px; }
  .servizio-box { border: 0; }
}

/* ---------------------------------------------------------------- Home: équipe */
.equipe__inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 4fr 1fr 7fr; align-items: center; }
.equipe__img { grid-column: 1; }
.equipe__img img { width: 100%; }
.equipe__text { grid-column: 3; padding: 30px 15px; }
@media (max-width: 765px) {
  .equipe__inner { grid-template-columns: 1fr; padding: 0 var(--gutter); }
  .equipe__text { grid-column: 1; grid-row: 1; padding: 30px 0 20px; }     /* su mobile il testo viene prima */
  .equipe__img { grid-column: 1; grid-row: 2; }
}

/* ---------------------------------------------------------------- Home: fascia Lavora con noi */
.band-lavora { background: var(--red); }
.band-lavora__inner { display: grid; grid-template-columns: 5fr 3fr; gap: 0 30px; align-items: center; padding: 25px 16.667%; }
.band-lavora__inner .title, .band-lavora__inner p { margin: 0; }
@media (max-width: 765px) {
  .band-lavora__inner { grid-template-columns: 1fr; gap: 20px; padding: 30px var(--gutter); text-align: center; }
  .band-lavora__inner .title { text-align: center; }
}

/* ---------------------------------------------------------------- Home: attività */
.attivita-home { position: relative; background: #e4dad9; min-height: 343px; }
.attivita-home__text { position: relative; z-index: 1; width: 41.667%; margin-left: 9.4%; padding: 40px 15px; }
.attivita-home__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (max-width: 765px) {
  .attivita-home { min-height: 0; background: #fff; }
  .attivita-home__text { width: auto; margin: 0; padding: 40px var(--gutter) 20px; }
  .attivita-home__img img { position: static; height: auto; }
}

/* ---------------------------------------------------------------- Sezioni metà immagine / metà testo */
.half { --half-bg: transparent; display: grid; grid-template-columns: 1fr 1fr; min-height: 400px; background: var(--half-bg); }
.half__text { display: flex; flex-direction: column; justify-content: flex-start; padding: 50px 40px; }
.half--boxed.half--img-right .half__text { padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + 15px)); }
.half--boxed.half--img-left .half__text { padding-right: max(var(--gutter), calc((100vw - var(--container)) / 2 + 15px)); }
.half--img-left .half__text { order: 2; }
.half--light, .half--light .title { color: #fff; }
.half__img { position: relative; min-height: 320px; }
.half__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 765px) {
  .half { grid-template-columns: 1fr; min-height: 0; }
  .half .half__text { order: 0; padding: 40px var(--gutter) 30px; }
  .half__img { min-height: 0; }
  .half__img img { position: static; height: auto; }
}
.band-blue { background: var(--blue-dark); color: #fff; padding: 20px 0 10px; }
.band-blue strong { color: #fff; }

/* ---------------------------------------------------------------- Residenze */
.res-intro { padding-top: 10px; padding-bottom: 30px; }
.res-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; align-items: start; padding-top: 20px; padding-bottom: 40px; }
.res-split > * { padding: 0 15px; }
.res-media__img { width: 100%; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.half--band { min-height: 240px; }
.half--band .half__text { justify-content: center; padding: 30px 40px 30px calc(16.667% + 15px); }
.half--band .half__img { min-height: 160px; }
.half--band p { margin: 0; }
.res-contacts .split-fluid > div { padding: 0 15px; }
.res-contacts .map-embed { margin-top: 10px; }
.tour { line-height: 0; }
@media (max-width: 765px) {
  .res-split { grid-template-columns: 1fr; gap: 20px; }
  .res-split > * { padding: 0; }
  .half--band .half__text { padding: 30px var(--gutter); }
}

/* ---------------------------------------------------------------- Servizi */
.half--hero { min-height: 221px; }
.half--hero .half__img { min-height: 0; }
.half--hero .half__text { justify-content: center; padding-top: 30px; padding-bottom: 30px; }
.svc { display: grid; grid-template-columns: 3fr 9fr; gap: 0 20px; align-items: center; }
.svc__icon { display: flex; justify-content: center; padding-top: 4px; }
.svc__icon-img { width: 80px; height: 80px; }
.half--svc { min-height: 260px; }
.half--svc .half__img { min-height: 260px; }
.half--svc .half__text { padding: 50px 40px; }
@media (max-width: 765px) {
  .half--hero .half__img { order: -1; }                 /* su mobile prima la foto */
  .half--hero .half__text { padding: 30px var(--gutter) 0; }
  .half--hero + .section { padding-top: 20px; }
  .half--hero { --half-bg: #fff !important; }
  .half--hero .title { color: var(--blue); font-size: 24px; text-align: center; }
  .svc { grid-template-columns: 1fr; }
  .svc__icon { justify-content: flex-start; margin-bottom: 10px; }
}

/* ---------------------------------------------------------------- Righe testo + immagine */
.ti-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; align-items: start; padding: 0 8.333% 35px; }
.ti-row__text { padding-top: 40px !important; }
.ti-row > * { min-width: 0; padding: 0 15px; }
.ti-row__img img { width: 100%; height: auto; }
.ti-row--img-first .ti-row__img { order: -1; }
@media (max-width: 765px) {
  .ti-row { grid-template-columns: 1fr; gap: 20px; padding: 30px var(--gutter); }
  .ti-row > * { padding: 0; }
  .ti-row--img-first .ti-row__img { order: 0; }
}

/* ---------------------------------------------------------------- Banner cookie */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--blue); color: #fff;
  padding: 18px max(var(--gutter), calc((100% - 1140px) / 2));
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .25);
  display: grid; grid-template-columns: 1fr auto; gap: 6px 30px; align-items: center;
}
.cookie[hidden] { display: none; }
.cookie { max-height: 100vh; max-height: 100dvh; overflow-y: auto; }
.cookie__title { grid-column: 1; margin: 0; font-weight: 700; font-size: 15px; padding-right: 30px; }
.cookie__text { grid-column: 1; margin: 0; font-size: 13px; line-height: 1.5; }
.cookie__text a { color: #fff; text-decoration: underline; }
.cookie__prefs { grid-column: 1 / -1; display: grid; gap: 8px; margin: 8px 0; font-size: 13px; }
.cookie__prefs[hidden] { display: none; }
.cookie__opt { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.cookie__opt input { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; accent-color: #fff; }
.cookie__actions { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.cookie__prefs:not([hidden]) ~ .cookie__actions { grid-column: 1 / -1; grid-row: auto; }
.cookie .btn { padding: 11px 18px; }
.cookie .btn[hidden] { display: none; }
.btn--outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.btn--outline:hover, .btn--outline:focus-visible { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 2px #fff; }
.cookie__close { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cookie__close .icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }
@media (max-width: 899px) {
  .cookie { grid-template-columns: 1fr; padding: 16px var(--gutter); }
  .cookie__actions { grid-column: 1; grid-row: auto; justify-content: stretch; }
  .cookie__actions .btn { flex: 1 1 auto; }
}
