/* Generated by wordpress/strumenti/esporta_contenuti.py from the approved draft (studiolongo-bozze, home and
   build_sito_bozza.py): do not edit here. WordPress-specific rules are in site.css. */
:root {
    --bordeaux: #8b2335;
    --bordeaux-hover: #741b2c;
    --bordeaux-dark: #4a1724;
    --gold: #b08d57;
    --gold-soft: #dccaa6;
    --ink: #2b2326;
    --muted: #6d6164;
    --line: #e9e0d6;
    --bg: #fcfaf7;
    --white: #ffffff;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }  /* focused items stay below the sticky header */
  body { font-family: "DM Sans", "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); }
  img { display: block; max-width: 100%; }
  a { color: inherit; }
  h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; line-height: 1.12; color: var(--bordeaux); }
  h2 { font-size: 42px; }
  h1, h2 { text-wrap: balance; }
  .wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
  :focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 3px; }
  .topbar :focus-visible, .site-foot :focus-visible { outline-color: var(--gold-soft); }
  .skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--white); color: var(--bordeaux); border: 1px solid var(--bordeaux); padding: 10px 14px; font-weight: 600; text-decoration: none; }
  .skip:focus { top: 12px; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--bordeaux); color: var(--white); border: 1px solid var(--bordeaux); border-radius: 2px; padding: 12px 20px; font: 600 14.5px "DM Sans", Arial, sans-serif; text-decoration: none; cursor: pointer; }
  .btn:hover { background: var(--bordeaux-hover); border-color: var(--bordeaux-hover); }
  .btn-outline { background: transparent; color: var(--bordeaux); }
  .btn-outline:hover { background: #f8eef0; color: var(--bordeaux-hover); }

  /* Top bar and header */
  .topbar { background: var(--bordeaux-dark); color: #f1e6df; font-size: 13.5px; }
  .topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
  .topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; white-space: nowrap; }
  .topbar .right { display: flex; gap: 26px; }
  .topbar svg { color: var(--gold-soft); flex-shrink: 0; }
  .site-head { background: var(--white); border-bottom: 1px solid var(--gold-soft); position: sticky; top: 0; z-index: 30; }
  .site-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; border-bottom: 1px solid rgba(176, 141, 87, 0.35); pointer-events: none; }
  .site-head .wrap { display: flex; align-items: center; gap: 18px; min-height: 96px; }
  .brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
  .brand img { width: 52px; height: 74px; }
  .brand .rule { width: 1px; height: 48px; background: var(--gold); opacity: 0.7; }
  .brand strong { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 27px; color: var(--bordeaux); letter-spacing: 0.005em; white-space: nowrap; }
  .main-nav { display: flex; gap: 15px; }
  .main-nav a { text-decoration: none; font-size: 14px; font-weight: 500; padding: 36px 0 33px; border-bottom: 2px solid transparent; white-space: nowrap; }
  .main-nav a:hover { color: var(--bordeaux); }
  .main-nav a[aria-current] { border-bottom-color: var(--gold); color: var(--bordeaux); }
  .menu-btn { display: none; align-items: center; gap: 8px; background: none; border: 1px solid var(--line); border-radius: 2px; padding: 9px 12px; font: 600 14px "DM Sans", Arial, sans-serif; color: var(--ink); cursor: pointer; }
  .mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--white); }
  .mobile-nav a { display: block; padding: 13px 20px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
  .mobile-nav a[aria-current] { color: var(--bordeaux); font-weight: 600; box-shadow: inset 3px 0 0 var(--gold); }
  .mobile-nav.open { max-height: calc(100vh - 82px); max-height: calc(100dvh - 82px); overflow-y: auto; overscroll-behavior: contain; }  /* phone held sideways */
  .mobile-nav .btn { margin: 14px 20px 18px; display: flex; border-bottom: 1px solid var(--bordeaux); }

  /* Hero */
  .hero { position: relative; background: #d9d2c8; }
  .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
  .hero .wrap { position: relative; display: flex; align-items: center; min-height: 600px; padding-top: 64px; padding-bottom: 64px; }
  .hero-card { position: relative; max-width: 540px; background: var(--white); border: 1px solid var(--gold-soft); padding: 46px 46px 42px; overflow: hidden; }  /* solid since 24/11: the photo no longer shows through */
  .hero-card::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(176, 141, 87, 0.45); pointer-events: none; }
  /* Justice with arch and scales: the Studio's own drawing, chosen on 24/11 in place of the Cassation outline */
  .hero-card::after { content: ""; position: absolute; right: -24px; bottom: -8px; width: 380px; height: 190px; background: url("../img/giustizia-arco-bilancia.png") right bottom / contain no-repeat; opacity: 0.55; pointer-events: none; }
  .hero .btn-outline { background: var(--white); }  /* the drawing does not show through the outlined button */
  .card-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
  .card-brand img { width: 34px; height: 48px; }
  .card-brand span { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 19px; letter-spacing: 0.26em; color: var(--bordeaux); text-transform: uppercase; }
  h1.card-brand { font-size: 19px; line-height: 1.15; text-wrap: wrap; }  /* main heading since 4/12/2026: "Studio Legale Longo, avvocato a Roma" */
  .card-brand .brand-place { white-space: nowrap; }  /* the row breaks after the comma */
  .hero .hero-title { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; line-height: 1.12; color: var(--bordeaux); text-wrap: balance; font-size: 48px; position: relative; z-index: 1; }
  .hero-lead { font-size: 18px; color: var(--muted); margin-top: 18px; position: relative; z-index: 1; }
  .hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; position: relative; z-index: 1; }

  /* Lo studio */
  .section { padding: 84px 0; }
  .studio-grid { display: grid; grid-template-columns: 1fr 1.35fr 1fr; align-items: stretch; }
  .studio-grid > img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }
  .studio-grid > img, .studio-grid > img:first-child { height: auto; min-height: 0; aspect-ratio: 4 / 5; align-self: center; }
  .studio-card { position: relative; z-index: 1; background: var(--white); border: 1px solid var(--gold-soft); margin: 48px -56px 48px -24px; padding: 46px 46px 40px; }
  .studio-card h2 { font-size: 48px; margin-bottom: 18px; }
  .studio-card p + p { margin-top: 14px; }
  .studio-card .text-link { display: inline-block; margin-top: 22px; }
  .text-link { color: var(--bordeaux); font-weight: 600; font-size: 15.5px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
  .text-link:hover { text-decoration-thickness: 2px; }

  /* Aree */
  .areas { position: relative; overflow: hidden; }
  #aree { padding-top: 0; }  /* the studio card already ends 48 px above its section: 132 px to this title, as from the first screen to Lo studio */
  .areas::before { content: ""; position: absolute; left: 50%; top: 52%; width: 920px; height: 480px; transform: translate(-50%, -50%); background: url("../img/cassazione-contorni.png") center / contain no-repeat; opacity: 0.14; pointer-events: none; }
  .areas h2 { margin-bottom: 30px; position: relative; }
  .areas-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .area { display: flex; flex-direction: column; gap: 16px; min-height: 190px; padding: 26px 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.72); text-decoration: none; }
  .area svg { width: 46px; height: 46px; color: var(--bordeaux); }
  .area strong { font-size: 17.5px; font-weight: 600; line-height: 1.3; }
  .area .more { margin-top: auto; font-size: 14px; color: #8a6a3a; font-weight: 600; }  /* darker gold: 4.9:1 on the card */
  .area:hover { background: var(--white); }
  .area:hover strong { color: var(--bordeaux); }
  .areas-note { position: relative; margin-top: 22px; color: var(--muted); }
  .areas-note a { color: var(--bordeaux); }

  /* Novita e approfondimenti */
  .news-box { background: var(--white); border: 2px solid var(--bordeaux); padding: 42px 40px 44px; }
  .news-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
  .news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
  .news { display: flex; flex-direction: column; }
  .news .text-link { margin-top: auto; align-self: flex-start; }  /* links on one line even when the titles differ in length */
  .news img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
  .news .cat { display: block; margin-top: 18px; color: var(--bordeaux); font-weight: 600; font-size: 15.5px; }
  .news h3 { font-family: "DM Sans", Arial, sans-serif; color: var(--ink); font-size: 21px; font-weight: 600; line-height: 1.3; margin: 6px 0 14px; }

  /* Contatti */
  .contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
  .contact-grid h2 { font-size: 48px; }
  .contact-grid h2::after { content: ""; display: block; width: 64px; height: 1px; background: var(--gold); margin-top: 12px; }
  .info { margin-top: 22px; border-top: 1px solid var(--line); }
  .info div { display: grid; grid-template-columns: 26px 92px 1fr; gap: 8px; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .info svg { color: var(--gold); margin-top: 3px; }
  .info .label { color: var(--muted); font-size: 15px; }
  .info a { color: var(--bordeaux); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
  .map { position: relative; margin-top: 24px; aspect-ratio: 16 / 9; border: 1px solid var(--gold-soft); background: #f4eee6; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; }
  .map p { color: var(--muted); font-size: 14.5px; max-width: 26em; margin: 10px auto 16px; }
  .map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
  .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
  .form-card { position: relative; background: var(--white); border: 1px solid var(--gold-soft); padding: 34px 32px 32px; overflow: hidden; }
  .form-card::before { content: ""; position: absolute; top: 14px; right: 14px; width: 200px; height: 105px; background: url("../img/cassazione-contorni.png") right top / contain no-repeat; opacity: 0.5; pointer-events: none; }
  .form-card h2 { font-size: 40px; position: relative; }
  .form-card .sub { color: var(--muted); margin: 4px 0 22px; position: relative; }
  .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
  .fields .full { grid-column: 1 / -1; }
  label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
  input, select, textarea { width: 100%; font: 400 15px "DM Sans", Arial, sans-serif; color: var(--ink); background: var(--white); border: 1px solid #9e8f82; border-radius: 2px; padding: 11px 12px; }
  textarea { min-height: 120px; resize: vertical; }
  input:focus, select:focus, textarea:focus { outline: 2px solid rgba(139, 35, 53, 0.25); border-color: var(--bordeaux); }
  input[type="checkbox"]:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 2px; }
  .check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); font-weight: 400; margin: 18px 0 20px; }
  .check input { width: auto; margin-top: 4px; }

  /* Footer */
  .site-foot { position: relative; overflow: hidden; background: var(--bordeaux-dark); color: #eadbd3; padding-top: 58px; margin-top: 84px; }
  .site-foot::after { content: ""; position: absolute; right: 70px; bottom: 54px; width: 156px; height: 222px; background: url("../img/logo-studio-oro.png") center / contain no-repeat; opacity: 0.22; pointer-events: none; }
  .foot-grid { position: relative; display: grid; grid-template-columns: 1.3fr 1.5fr 0.8fr 1fr; gap: 32px; padding-bottom: 42px; }
  .foot-brand { display: flex; gap: 14px; align-items: flex-start; }
  .foot-brand img { width: 39px; height: 56px; }
  .foot-brand strong { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 26px; font-weight: 600; color: var(--white); line-height: 1.1; margin-bottom: 8px; }
  .site-foot h2 { font-family: "DM Sans", Arial, sans-serif; color: var(--white); font-size: 15px; font-weight: 600; margin-bottom: 12px; }
  .site-foot ul { list-style: none; }
  .site-foot li { font-size: 14.5px; margin-bottom: 6px; }
  .site-foot a { text-decoration: none; }
  .site-foot a:hover { text-decoration: underline; }
  .foot-bottom { position: relative; border-top: 1px solid rgba(220, 202, 166, 0.25); }
  .foot-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 18px; font-size: 13.5px; color: #d6c3ba; }
  .foot-bottom nav { display: flex; gap: 18px; }

  /* Draft notice: a strip above the page, so it never covers the text (it was fixed in a corner) */
  .draft-note { background: #fbf6e4; color: var(--ink); border-bottom: 1px solid #e3d6a8; font-size: 12.5px; line-height: 1.4; text-align: center; padding: 6px 12px; }

  .head-cta { white-space: nowrap; padding: 11px 14px; font-size: 14px; }

  /* Running text justified, with Italian hyphenation (html lang="it"); headings, menus, buttons, footer and the short texts of the
     activity cards stay left (in columns under 300 px justification leaves wide gaps). English loanwords carry a soft hyphen where
     they may break (block&shy;chain), so the Italian rules do not split them wrongly. */
  .hero-lead, .studio-card p, .prose p, .prose li, .area-panel .intro, .svc p, .page-hero .intro { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
  .nh { -webkit-hyphens: manual; hyphens: manual; }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
  }
  @media (forced-colors: active) {  /* high contrast: only the current item keeps its underline */
    .main-nav a { border-bottom-color: Canvas; }
    .main-nav a[aria-current] { border-bottom-color: Highlight; }
  }
  @media (max-width: 1199px) {
    html { scroll-padding-top: 96px; }
    .main-nav, .head-cta { display: none; }
    .menu-btn { display: inline-flex; }
    .mobile-nav.open { display: block; }
    .site-head .wrap { min-height: 82px; }
    .brand img { width: 42px; height: 60px; }
  }
  @media (max-width: 960px) {
    .studio-grid { grid-template-columns: 1fr 1fr; }
    .studio-grid > img, .studio-grid > img:first-child { height: auto; min-height: 0; aspect-ratio: 4 / 5; align-self: stretch; }
    .studio-card { grid-column: 1 / -1; grid-row: 1; margin: 0; }
    .areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #aree { padding-top: 20px; }  /* the studio photos close the section here: same 20 px as the next sections */
    .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
    #approfondimenti .news:nth-child(3) { display: none; }  /* home only: two latest news side by side; the blog page lists all */
    .contact-grid { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 700px) {  /* the top bar does not wrap: below 653 px address, phone and e-mail do not fit together */
    .topbar .addr { display: none; }
    .topbar .wrap { justify-content: center; }
  }
  @media (max-width: 640px) {
    html { scroll-padding-top: 86px; }
    .section { padding: 52px 0; }
    .info div { grid-template-columns: 22px 1fr; gap: 2px 10px; }
    .info div > :last-child { grid-column: 2; }
    .form-card::before { display: none; }
    h2, .studio-card h2, .contact-grid h2 { font-size: 36px; }
    .site-head .wrap { gap: 12px; min-height: 72px; }
    .brand { gap: 10px; }
    .brand img { width: 34px; height: 48px; }
    .brand .rule { display: none; }
    .brand strong { font-size: 22px; }
    .card-brand span { font-size: 16px; letter-spacing: 0.16em; }
    h1.card-brand { font-size: 16px; }
    .hero .wrap { min-height: 0; padding: 220px 16px 0; }
    .hero-photo { height: 220px; object-position: center 65%; }
    .hero-card { padding: 32px 26px 30px; margin: 0 -16px; max-width: none; }
    .hero-card::after { width: 260px; height: 130px; right: -16px; bottom: -6px; }
    .hero .hero-title { font-size: 36px; }
    .studio-card { padding: 32px 24px; }
    .areas-grid { grid-template-columns: 1fr; }
    .area { min-height: 0; }
    .news-box { padding: 28px 20px; }
    .news-grid { grid-template-columns: 1fr; }
    #approfondimenti .news:nth-child(3) { display: block; }
    .fields { grid-template-columns: 1fr; }
    .form-card { padding: 28px 20px; }
    .foot-grid { grid-template-columns: 1fr; }
    .site-foot::after { display: none; }
    .draft-note { font-size: 12px; }
  }
  @media (max-width: 389px) {  /* in boxed columns under 300 px justification leaves wide gaps: left-aligned here */
    .studio-card p, .area-panel .intro { text-align: left; }
    .prose li > .lead { display: block; text-align: left; }  /* bold lead of a list item on its own line, not stretched across it */
  }
  @media (max-width: 370px) {  /* header: the name and the menu button must not touch */
    .brand strong { font-size: 20px; }
    .menu-btn { padding: 9px 10px; }
    .topbar .wrap { padding: 0 16px; }
    .topbar { font-size: 12.5px; }
    .topbar .right { gap: 14px; }
  }
  @media (max-width: 359px) {
    .menu-btn .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
    .topbar .right a[href^="mailto:"] { display: none; }
  }

  .page-hero { background: #f6f0ea url("../img/cassazione-contorni.png") right 40px bottom -40px / 520px auto no-repeat; border-bottom: 1px solid var(--gold-soft); padding: 52px 0 46px; }
  .crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
  .crumbs a { color: var(--bordeaux); text-decoration: none; }
  .page-hero h1 { font-size: 52px; max-width: 18em; }
  .page-hero .intro { font-size: 19px; color: var(--muted); margin-top: 12px; max-width: 40em; }
  .page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
  .prose p { font-size: 17px; line-height: 1.75; margin-bottom: 18px; max-width: 68ch; }
  .prose h2 { font-size: 34px; margin: 34px 0 14px; }
  .prose ul { list-style: none; margin: 0 0 22px; max-width: 68ch; border-top: 1px solid var(--line); }
  .prose li { position: relative; padding: 8px 0 8px 22px; border-bottom: 1px solid var(--line); font-size: 16.5px; }
  .prose li::before { content: ""; position: absolute; left: 3px; top: 21px; width: 9px; height: 1px; background: var(--gold); }
  .todo { border: 1px dashed var(--gold); background: #fffaf2; padding: 16px 18px; color: var(--muted); font-size: 15.5px; margin: 6px 0 22px; max-width: 68ch; }
  .side .box { background: var(--white); border: 1px solid var(--gold-soft); padding: 26px 24px; margin-bottom: 24px; }
  .side h2 { font-size: 28px; margin-bottom: 10px; }
  .side p { color: var(--muted); font-size: 15.5px; margin-bottom: 16px; }
  .side ul { list-style: none; }
  .side li { border-bottom: 1px solid var(--line); }
  .side li a { display: block; padding: 10px 0; text-decoration: none; font-size: 15px; }
  .side li a:hover, .side li a[aria-current] { color: var(--bordeaux); }
  .side li a[aria-current] { font-weight: 600; }
  .side .phone { display: block; margin-top: 12px; color: var(--bordeaux); font-weight: 600; text-decoration: none; }
  .article-meta { color: var(--bordeaux); font-weight: 600; margin-top: 10px; }
  .prose p.article-ref { font-size: 14.5px; line-height: 1.6; color: var(--muted); text-align: left; margin-top: 26px; }  /* reference of the decision: numbers, not justified */
  .prose a[href^="mailto:"] { color: var(--bordeaux); overflow-wrap: anywhere; }
  .news h2 { font-family: "DM Sans", Arial, sans-serif; color: var(--ink); font-size: 21px; font-weight: 600; line-height: 1.3; margin: 6px 0 14px; }
  @media (max-width: 960px) {
    .page-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 640px) {
    .page-hero { background-image: none; padding: 38px 0 34px; }
    .page-hero h1 { font-size: 38px; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }  /* "sovraindebitamento" at 320 px */
  }

  .svc-list { padding: 64px 0 0; }
  .svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .svc { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--gold-soft); text-decoration: none; color: var(--ink); transition: border-color 0.3s ease, box-shadow 0.3s ease; }
  .svc-photo { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #d9d2c8; }
  .svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
  .svc-body { display: flex; flex-direction: column; flex: 1; padding: 30px 34px 32px; }
  .svc h2 { font-size: 34px; }
  .svc-rule { position: relative; display: block; height: 1px; background: var(--line); margin: 18px 0 20px; }
  .svc-rule::before { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 3px; background: var(--gold); transition: width 0.45s ease; }
  .svc p { color: var(--muted); font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
  .svc .more { align-self: flex-start; margin-top: auto; border: 1px solid var(--bordeaux); color: var(--bordeaux); padding: 9px 16px; font-size: 14px; font-weight: 600; transition: background-color 0.3s ease, color 0.3s ease; }
  .svc:hover, .svc:focus-visible { border-color: var(--gold); box-shadow: 0 16px 34px -22px rgba(74, 23, 36, 0.5); }
  .svc:hover .svc-photo img, .svc:focus-visible .svc-photo img { transform: scale(1.05); }
  .svc:hover .svc-rule::before, .svc:focus-visible .svc-rule::before { width: 120px; }
  .svc:hover .more, .svc:focus-visible .more { background: var(--bordeaux); color: var(--white); }
  .svc-grid.reveal .svc { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
  .svc-grid.reveal .svc:nth-child(2n) { transition-delay: 0.12s; }
  .svc-grid.reveal .svc.is-in { opacity: 1; transform: none; }
  .svc-list .areas-note { margin-top: 30px; }
  @media (max-width: 960px) {  /* text columns under about 330 px: justified previews would leave wide gaps */
    .svc-grid { gap: 24px; }
    .svc-body { padding: 26px 26px 28px; }
    .svc h2 { font-size: 28px; }
    .svc p { text-align: left; }
  }
  @media (max-width: 640px) {
    .svc-list { padding-top: 40px; }
    .svc-grid { grid-template-columns: 1fr; gap: 22px; }
    .svc-grid.reveal .svc:nth-child(2n) { transition-delay: 0s; }
    .svc-body { padding: 24px 22px 26px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .svc-grid.reveal .svc { opacity: 1; transform: none; transition: none; }
    .svc-photo img, .svc-rule::before { transition: none; }
  }
  @media print {
    .svc-grid.reveal .svc { opacity: 1; transform: none; transition: none; }
  }

  .area-hero { padding: 40px 0 0; }
  .area-top { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); }
  .area-panel { display: flex; flex-direction: column; justify-content: center; background: var(--white); border: 1px solid var(--gold-soft); border-top-color: var(--gold); border-right: 0; padding: 54px 52px 50px; }
  .area-panel h1 { font-size: 60px; overflow-wrap: break-word; }
  .area-panel h1::after { content: ""; display: block; width: 64px; height: 1px; background: var(--gold); margin-top: 16px; }
  .area-panel .intro { font-size: 17px; line-height: 1.7; margin-top: 26px; }
  .area-photo { position: relative; min-height: 440px; background: #d9d2c8; }
  .area-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .area-text { padding: 64px 0 0; }
  .area-text .prose { max-width: 920px; margin: 0 auto; }
  .area-text .prose p, .area-text .prose ul, .area-text .prose ol { max-width: none; }
  .area-text .prose h2 { font-size: 42px; margin: 44px 0 18px; }
  .area-text .prose h2:first-child { margin-top: 0; }
  .area-text .prose h3 { font-size: 28px; margin: 28px 0 12px; }
  .area-text .prose ol { margin: 0 0 22px; padding-left: 24px; }
  .area-text .prose ol li { padding: 5px 0 5px 6px; border-bottom: 0; font-size: 17px; line-height: 1.75; }
  .area-text .prose ol li::before { content: none; }
  .area-text .prose > :last-child { margin-bottom: 0; }
  .area-acts { padding: 72px 0 0; }
  .area-acts h2 { margin-bottom: 30px; }
  .acts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .act { padding: 28px 26px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.72); }
  .act svg { width: 38px; height: 38px; color: var(--bordeaux); margin-bottom: 18px; }
  .act h3 { font-family: "DM Sans", Arial, sans-serif; color: var(--ink); font-size: 18.5px; font-weight: 600; line-height: 1.3; margin-bottom: 8px; }
  .act p { font-size: 15.5px; }
  .area-cta { padding: 52px 0 0; text-align: center; }
  .area-cta .btn { padding: 14px 26px; font-size: 15.5px; }
  @media (max-width: 1180px) {
    .area-panel { padding: 44px 40px 40px; }
    .area-panel h1 { font-size: 48px; }
  }
  @media (max-width: 1100px) {  /* one column: below 1100 px the side photo would be too narrow for the words in it */
    .area-top { grid-template-columns: minmax(0, 1fr); }  /* not 1fr: "sovraindebitamento" would widen the column at 320 px */
    .area-panel { border-right: 1px solid var(--gold-soft); border-bottom: 0; padding: 40px 36px 36px; }
    .area-photo { min-height: 0; aspect-ratio: 16 / 9; }
    .acts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 640px) {
    .area-hero { padding-top: 24px; }
    .area-panel { padding: 30px 22px 28px; }
    .area-photo { aspect-ratio: 4 / 3; }
    .area-panel h1 { font-size: 34px; -webkit-hyphens: auto; hyphens: auto; }
    .area-panel .intro { font-size: 16.5px; margin-top: 20px; }
    .area-text { padding-top: 48px; }
    .area-text .prose h2 { font-size: 32px; margin-top: 36px; }
    .area-text .prose h3 { font-size: 25px; }
    .area-acts { padding-top: 52px; }
    .area-acts h2 { font-size: 32px; margin-bottom: 22px; }
    .acts-grid { grid-template-columns: 1fr; }
    .act { padding: 24px 20px 24px; }
  }
