/*
Theme Name: Le Barbecue de Rafa
Description: Thème léger pour lebarbecuederafa.com — sans constructeur de page, sans publicité, sans traceurs.
Author: MyDigitalTools
Version: 1.0.0
Requires PHP: 8.0
Text Domain: rafa
*/
@font-face { font-family: 'Bebas Neue'; src: url('assets/font/bebas-neue-400.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Sora'; src: url('assets/font/sora-400700.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
:root { --nero: #0b0907; --carbone: #16120e; --legno: #241c15; --filo: rgba(255, 236, 214, .12); --crema: #f4ece2; --tenue: #b9ab9b;
  --brace: #ff6a1a; --rosso: #c8321e; --oro: #f1b24a; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body { margin: 0; background: var(--nero); color: var(--crema); font: 400 15.5px/1.6 Sora, system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.giro { max-width: 1680px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 64px); }
.giro--testo { max-width: 860px; }
h1, h2, h3 { font-family: 'Bebas Neue', Impact, sans-serif; font-weight: 400; letter-spacing: .03em; line-height: 1.05; margin: 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.prova { background: var(--oro); color: #1b1206; text-align: center; font-size: 12.5px; padding: 6px 12px; }

/* testata */
.testata { position: sticky; top: 0; z-index: 10; background: rgba(11, 9, 7, .94); border-bottom: 1px solid var(--filo); }
.testa { display: flex; align-items: center; gap: 18px; height: 64px; }
.marchio { display: flex; align-items: center; gap: 10px; font: 400 22px/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .05em; white-space: nowrap; }
.marchio img { width: 44px; height: 40px; object-fit: contain; filter: drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff); }
.menu { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 600; }
.menu a { color: var(--tenue); transition: color .2s; } .menu a:hover, .menu a[aria-current] { color: var(--brace); }
.cerca-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--filo); display: grid; place-items: center; color: var(--crema); background: none; cursor: pointer; }
.cerca-btn svg, .menu-tel svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.menu-tel { display: none; margin-left: auto; }
.menu-tel summary { list-style: none; cursor: pointer; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--filo); display: grid; place-items: center; }
.menu-tel summary::-webkit-details-marker { display: none; }
.menu-tel > div { position: absolute; left: 12px; right: 12px; top: 60px; background: var(--carbone); border: 1px solid var(--filo); border-radius: 14px; padding: 8px; display: grid; box-shadow: 0 20px 40px -12px #000; }
.menu-tel > div a { padding: 12px 14px; border-radius: 10px; font-weight: 600; } .menu-tel > div a:hover { background: rgba(255, 255, 255, .06); }
.menu-tel form { padding: 8px 6px 4px; }
@media (max-width: 960px) { .menu { display: none; } .menu-tel { display: block; } }
.cerca { display: flex; gap: 8px; }
.cerca input { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--filo); background: rgba(255, 255, 255, .05); color: var(--crema); font: inherit; }
.cerca button { padding: 12px 18px; border-radius: 999px; border: 0; background: linear-gradient(135deg, var(--brace), var(--rosso)); color: #fff; font: 700 14px Sora, sans-serif; cursor: pointer; }
.barra-cerca { border-top: 1px solid var(--filo); padding: 12px 0; }
.barra-cerca[hidden] { display: none; }

/* apertura */
.hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(70% 90% at 75% 40%, rgba(255, 106, 26, .22), transparent 60%), radial-gradient(60% 70% at 10% 100%, rgba(200, 50, 30, .25), transparent 70%), var(--nero); }
.hero-fuoco { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 9, 7, .92) 0%, rgba(11, 9, 7, .55) 45%, rgba(11, 9, 7, .1) 75%), linear-gradient(0deg, var(--nero), transparent 25%); }
.hero .giro { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 36px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(40px, 7vw, 128px); overflow-wrap: anywhere; }
.hero h1 span { display: block; color: var(--brace); }
.hero p { color: var(--tenue); font-size: 17px; max-width: 520px; margin: 18px 0 28px; }
.hero-logo { justify-self: center; width: min(560px, 100%); filter: drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff) drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff) drop-shadow(0 24px 40px rgba(0, 0, 0, .7)); }
.scintille { position: absolute; inset: 0; pointer-events: none; }
.scintille i { position: absolute; bottom: -10px; width: 3px; height: 3px; border-radius: 50%; background: var(--oro); box-shadow: 0 0 8px 2px rgba(255, 140, 40, .8); opacity: 0; animation: sale 7s linear infinite; }
@keyframes sale { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: .9; } 100% { transform: translate(var(--dx), -520px); opacity: 0; } }
@media (max-width: 860px) { .hero::after { background: linear-gradient(0deg, rgba(11, 9, 7, .95) 0%, rgba(11, 9, 7, .75) 45%, rgba(11, 9, 7, .2) 100%); } .hero .giro { grid-template-columns: minmax(0, 1fr); text-align: center; padding-top: 32px; } .hero-logo { grid-row: 1; width: min(300px, 78%); } .hero p { margin-left: auto; margin-right: auto; } .tasti { justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .hero-fuoco, .scintille { display: none; } html { scroll-behavior: auto; } }

.tasti { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 14.5px; border: 0; cursor: pointer; font-family: Sora, sans-serif; }
.btn--fuoco { background: linear-gradient(135deg, var(--brace), var(--rosso)); color: #fff; box-shadow: 0 14px 30px -12px rgba(255, 106, 26, .7); }
.btn--linea { border: 1px solid var(--filo); background: rgba(255, 255, 255, .04); color: var(--crema); }
.btn:hover { transform: translateY(-1px); }

/* sezioni */
.sez { padding: 64px 0; }
.tit { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.tit h1, .tit h2 { font-size: clamp(36px, 5vw, 54px); } .tit em { font-style: normal; color: var(--brace); }
.tit p { margin: 6px 0 0; color: var(--tenue); max-width: 620px; }
.tit > a { color: var(--brace); font-weight: 700; font-size: 14px; }
.legno { background: linear-gradient(180deg, var(--carbone), var(--nero)); border-top: 1px solid var(--filo); border-bottom: 1px solid var(--filo); }

/* categorie */
.cats { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
@media (max-width: 1400px) { .cats { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 860px) { .cats { grid-template-columns: repeat(3, 1fr); } }
.cat { display: grid; justify-items: center; gap: 10px; padding: 18px 8px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--filo); transition: border-color .2s, transform .2s; text-align: center; }
.cat:hover { border-color: rgba(255, 106, 26, .6); transform: translateY(-2px); }
.cat img { width: 52px; height: 52px; object-fit: contain; filter: invert(1) sepia(.35) saturate(1.4) brightness(.95); }
.cat span { font-weight: 600; font-size: 13.5px; }

/* schede ricetta */
.schede { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1300px) { .schede { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .schede { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .schede { grid-template-columns: 1fr; } }
.scheda { display: grid; grid-template-rows: auto 1fr; border-radius: 18px; overflow: hidden; background: var(--carbone); border: 1px solid var(--filo); transition: border-color .2s, transform .2s; }
.scheda:hover { border-color: rgba(255, 106, 26, .55); transform: translateY(-2px); }
.scheda-img { aspect-ratio: 16 / 10; background: radial-gradient(circle at 30% 30%, rgba(255, 106, 26, .35), rgba(200, 50, 30, .12)), var(--legno); display: grid; place-items: center; overflow: hidden; }
.scheda-img img { width: 100%; height: 100%; object-fit: cover; }
.scheda-img .ic { width: 64px; height: 64px; object-fit: contain; filter: invert(1); opacity: .85; }
.scheda-t { display: grid; gap: 6px; align-content: start; padding: 16px 18px 18px; }
.scheda-t small { color: var(--brace); font-weight: 700; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.scheda-t b { font-size: 16.5px; line-height: 1.3; }
.scheda-t span { color: var(--tenue); font-size: 13.5px; line-height: 1.5; }

/* video */
.vids { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .vids { grid-template-columns: 1fr 1fr; } }
.vid { display: grid; gap: 8px; align-content: start; }
.vid-img { position: relative; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.vid-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.vid:hover .vid-img img { transform: scale(1.05); }
.play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(200, 50, 30, .92); box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
.play::after { content: ""; position: absolute; left: 23px; top: 17px; border-left: 18px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.vid b { font-size: 14px; line-height: 1.35; font-weight: 600; }

/* cours + formation */
.due { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .due { grid-template-columns: 1fr; } }
.riq { border-radius: 22px; padding: 28px; background: var(--carbone); border: 1px solid var(--filo); }
.riq h3 { font-size: 34px; margin-bottom: 10px; } .riq h3 em { font-style: normal; color: var(--brace); } .riq p { color: var(--tenue); margin: 0 0 18px; }
.corsi { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.corsi a { display: block; padding: 13px 16px; border-radius: 12px; background: rgba(255, 255, 255, .04); font-weight: 600; font-size: 14.5px; }
.corsi a:hover { background: rgba(255, 106, 26, .14); }
.riq--fuoco { background: radial-gradient(90% 80% at 100% 0%, rgba(255, 106, 26, .35), transparent 60%), linear-gradient(160deg, #2a130b, #120b08); border-color: rgba(255, 106, 26, .35); }
.bollino { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(241, 178, 74, .16); color: var(--oro); font-weight: 700; font-size: 12px; letter-spacing: .06em; margin-bottom: 14px; }
.tra { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; }
.tra img { border-radius: 18px; box-shadow: 0 30px 60px -24px #000; }
@media (max-width: 860px) { .tra { grid-template-columns: 1fr; } }

/* articolo */
.art-testa { padding: 48px 0 24px; }
.art-testa .cats-art { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.art-testa .cats-art a { padding: 5px 12px; border-radius: 999px; background: rgba(255, 106, 26, .14); color: var(--brace); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.art-testa h1 { font-size: clamp(38px, 6vw, 72px); }
.art-testa .data { color: var(--tenue); font-size: 14px; margin-top: 12px; }
.art-img { border-radius: 20px; overflow: hidden; margin-bottom: 28px; } .art-img img { display: block; width: 100%; }
.testo { font-size: 17px; line-height: 1.75; overflow-wrap: break-word; }
.testo h2, .testo h3, .testo h4 { font-family: 'Bebas Neue', Impact, sans-serif; font-weight: 400; letter-spacing: .03em; color: var(--crema); margin: 1.6em 0 .5em; line-height: 1.1; }
.testo h2 { font-size: 40px; } .testo h3 { font-size: 32px; } .testo h4 { font-size: 26px; color: var(--oro); }
.testo h2 strong, .testo h3 strong, .testo h4 strong { font-weight: 400; }
.testo a { color: var(--brace); text-decoration: underline; text-underline-offset: 3px; }
.testo img { border-radius: 14px; display: block; margin: 1em auto; }
.testo figure { margin: 1.5em 0; } .testo figcaption { color: var(--tenue); font-size: 13.5px; text-align: center; margin-top: 6px; }
.testo ul, .testo ol { padding-left: 1.3em; } .testo li { margin: .3em 0; } .testo li::marker { color: var(--brace); }
.testo blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--brace); color: var(--tenue); }
.testo table { width: 100%; border-collapse: collapse; font-size: 15px; } .testo td, .testo th { border: 1px solid var(--filo); padding: 8px 10px; }
.testo iframe { max-width: 100%; }
.testo .alignleft { float: left; margin: .3em 1.2em 1em 0; } .testo .alignright { float: right; margin: .3em 0 1em 1.2em; }
.testo .aligncenter { margin-left: auto; margin-right: auto; }
.testo .wp-block-button__link { display: inline-block; padding: 12px 20px; border-radius: 999px; background: var(--brace); color: #fff; text-decoration: none; font-weight: 700; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; border: 0; padding: 0; cursor: pointer; margin: 1.5em 0; }
.yt img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; opacity: .9; }
.yt:hover img { opacity: 1; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.etichette { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; }
.etichette a { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--filo); color: var(--tenue); font-size: 13px; }
.etichette a:hover { color: var(--brace); border-color: var(--brace); }
.vicini { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 40px 0; }
.vicini a { padding: 16px 18px; border-radius: 14px; background: var(--carbone); border: 1px solid var(--filo); font-weight: 600; font-size: 14.5px; }
.vicini a small { display: block; color: var(--brace); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.vicini .dopo { text-align: right; grid-column: 2; }
@media (max-width: 600px) { .vicini { grid-template-columns: 1fr; } .vicini .dopo { grid-column: 1; } }

/* commenti */
.commenti { border-top: 1px solid var(--filo); padding: 32px 0 48px; }
.commenti h2 { font-size: 36px; margin-bottom: 18px; }
.commenti ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.commenti ol ol { margin: 14px 0 0 24px; }
.commento { padding: 16px 18px; border-radius: 14px; background: var(--carbone); border: 1px solid var(--filo); }
.commento .chi { font-weight: 700; } .commento .quando { color: var(--tenue); font-size: 12.5px; margin-left: 8px; }
.commento p { margin: 8px 0 0; }
.commento .reply a { color: var(--brace); font-size: 13px; font-weight: 700; }
.comment-respond { margin-top: 28px; }
.comment-respond label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.comment-respond input[type=text], .comment-respond input[type=email], .comment-respond input[type=url], .comment-respond textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--filo); background: rgba(255, 255, 255, .05); color: var(--crema); font: inherit; }
.comment-respond p { margin: 0 0 14px; }
.comment-respond .submit { padding: 13px 22px; border-radius: 999px; border: 0; background: linear-gradient(135deg, var(--brace), var(--rosso)); color: #fff; font: 700 14.5px Sora, sans-serif; cursor: pointer; }

/* paginazione */
.pagine { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 36px 0 0; }
.pagine .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--filo); font-weight: 600; }
.pagine .current { background: var(--brace); border-color: var(--brace); color: #fff; }

/* piede */
.piede { border-top: 1px solid var(--filo); padding: 40px 0 28px; color: var(--tenue); font-size: 13.5px; }
.piede-r { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.piede-r a:hover { color: var(--brace); }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--filo); }
.social a:hover { border-color: var(--brace); color: var(--brace); }
.social svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.legali { display: flex; flex-wrap: wrap; gap: 16px; }
.firma { margin-top: 22px; text-align: center; font-size: 12px; opacity: .75; }
.vuoto { color: var(--tenue); padding: 40px 0; }

/* card del biglietto da visita (01/11/2026): nel pie' di pagina, al posto di «Nous contacter» */
.piede-chi { display: grid; gap: 2px; }
.piede-chi .bv-card { margin-top: 14px; }
.bv-card { position: relative; display: block; width: min(280px, 100%); aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; isolation: isolate; color: #fff; text-decoration: none !important;
  box-shadow: 0 18px 40px -14px #000, 0 0 0 1px rgba(255, 236, 214, .14); transform: rotate(-2deg); transition: transform .3s, box-shadow .3s; }
.bv-card:hover { transform: rotate(0) translateY(-3px); box-shadow: 0 24px 50px -14px #000, 0 0 0 2px var(--acc); }
.bv-fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; margin: 0 !important; border-radius: 0 !important; }
video.bv-fondo { opacity: 0; transition: opacity .6s; } video.bv-fondo.va { opacity: 1; }
.bv-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .55)); }
.bv-logo { position: absolute; left: 7%; top: 50%; width: 34%; height: auto; transform: translateY(-50%); margin: 0 !important; border-radius: 0 !important;
  filter: drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff) drop-shadow(0 8px 16px rgba(0, 0, 0, .6)); }
.bv-t { position: absolute; right: 7%; bottom: 12%; display: grid; gap: 2px; text-align: right; text-shadow: 0 2px 8px rgba(0, 0, 0, .8); }
.bv-t b { font: 400 22px/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .04em; }
.bv-t small { font-weight: 700; font-size: 12px; color: var(--acc); }
@media (max-width: 600px) { .bv-card { transform: none; } }

/* fuori dal telefono la freccia non serve */
.scorri > .freccia { display: none; }
@media (max-width: 860px) { .scorri > .freccia { display: grid; } }

/* categorie su telefono: una riga che scorre di lato (01/11/2026, chiesto da Giuseppe).
   Si vede sempre un pezzo della prossima icona, una sfumatura e una freccia finche' ce ne sono altre. */
@media (max-width: 860px) {
  .scorri { position: relative; margin-left: calc(-1 * clamp(16px, 4vw, 64px)); margin-right: calc(-1 * clamp(16px, 4vw, 64px)); }
  .scorri .cats { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding: 0 16px;
    padding: 2px clamp(16px, 4vw, 64px) 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .scorri .cats::-webkit-scrollbar { display: none; }
  .scorri .cat { flex: 0 0 27%; min-width: 92px; max-width: 120px; scroll-snap-align: start; padding: 14px 6px; }
  .scorri .cat img { width: 44px; height: 44px; }
  .scorri::before, .scorri::after { content: ""; position: absolute; top: 0; bottom: 8px; width: 56px; pointer-events: none; opacity: 0; transition: opacity .25s; z-index: 1; }
  .scorri::before { left: 0; background: linear-gradient(90deg, var(--fondo-scorri, var(--nero)), transparent); }
  .scorri::after { right: 0; background: linear-gradient(-90deg, var(--fondo-scorri, var(--nero)) 30%, transparent); }
  .scorri.a-sx::before, .scorri.a-dx::after { opacity: 1; }
  .scorri .freccia { position: absolute; right: 8px; top: 50%; z-index: 2; width: 34px; height: 34px; margin-top: -21px; border-radius: 50%; border: 0; padding: 0;
    background: var(--brace); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px -4px rgba(0, 0, 0, .7); opacity: 0; pointer-events: none; transition: opacity .25s; cursor: pointer; }
  .scorri .freccia svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
  .scorri.a-dx .freccia { opacity: 1; pointer-events: auto; animation: spinta 1.6s ease-in-out infinite; }
  @keyframes spinta { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
  .legno .scorri { --fondo-scorri: #110e0b; }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) { .scorri.a-dx .freccia { animation: none; } }

/* pie' di pagina su telefono: tutto centrato, card compresa (01/11/2026) */
@media (max-width: 700px) {
  .piede-r { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
  .piede-chi { justify-items: center; width: 100%; }
  .piede-chi .bv-card { margin-left: auto; margin-right: auto; }
  .legali { justify-content: center; }
}
