/* Dream pages: the existing AstriOnLine design, scoped to the new section. */
.ao-page-sogni .inner-hero{--hero-image:url("assets/sogni/sogni-hero.webp")}
.ao-page-sogni-online .inner-hero{--hero-image:url("assets/sogni/interpretazione-online-hero.webp")}
.ao-page-sogni-significato .inner-hero{--hero-image:url("assets/sogni/significato-dei-sogni-hero.webp")}
.ao-page-sogni-guida .inner-hero{--hero-image:url("assets/sogni/come-interpretare-i-sogni-hero.webp")}
.dream-hero,.dream-hero .hero-inner{min-height:480px}
.dream-hero .hero-copy{width:min(760px,72%)}
.dream-hero h1{font-size:clamp(38px,4.4vw,66px);overflow-wrap:break-word}
.dream-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.dream-quick-grid .quick-card p:not(.quick-index):not(.quick-arrow){font-size:14px;line-height:1.7;max-width:40ch}
.dream-tool{padding:42px 0 22px}
.dream-data-notice{font-size:13px;line-height:1.8;color:var(--muted);max-width:90ch;margin:0 0 20px}
.dream-data-notice a{color:var(--gold-bright);text-underline-offset:4px}
.dream-tool .izh-dream{border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,#18152b,#0d1020);padding:clamp(22px,4vw,48px);margin:0;box-shadow:0 18px 60px #05061140}
.dream-tool .izh-dream__intro{max-width:76ch}
.dream-tool .izh-dream__intro h2{font-family:var(--serif);font-size:clamp(27px,3vw,40px);line-height:1.25}
.dream-tool .izh-dream__layout{grid-template-columns:minmax(180px,.55fr) minmax(0,1fr);gap:32px}
.dream-tool .izh-dream__visual{min-width:0}
.dream-tool .izh-dream__field textarea{font-family:var(--sans);font-size:16px;line-height:1.6;resize:vertical;box-sizing:border-box;max-width:100%}
.dream-tool .izh-dream__field textarea:focus{outline:2px solid var(--gold-bright);outline-offset:3px}
.dream-tool .izh-dream__form button{background:linear-gradient(125deg,#d4b477,#ac7d46);color:#14101d;font-weight:600;font-size:16px;border:0;min-height:48px}
.dream-tool .izh-dream__reading{grid-template-columns:repeat(2,minmax(0,1fr))}
.dream-tool .izh-dream__reading article:last-child{grid-column:1/-1}
.dream-tool [hidden]{display:none!important}
.dream-symbol-index{display:flex;flex-wrap:wrap;gap:9px;padding:10px 0 28px}
.dream-symbol-index p{margin:0!important}
.dream-symbol-index a{display:block;padding:8px 13px;border:1px solid var(--line);border-radius:999px;text-decoration:none!important;font-size:13px;line-height:1.5}
.dream-symbol-index a:hover,.dream-symbol-index a:focus-visible{border-color:var(--gold-bright);background:#d4b47712}
.dream-symbol-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.dream-symbol-card{padding:24px;border:1px solid var(--line-soft);border-radius:10px;background:linear-gradient(145deg,#1a172b,#111426);scroll-margin-top:110px;min-width:0}
.article-section .dream-symbol-card h3{margin-top:0;font-size:23px;line-height:1.3;color:var(--gold-bright)}
.article-section .dream-symbol-card p{font-size:15px;line-height:1.85}
.article-section .dream-symbol-card p:last-child{margin-bottom:0}
.dream-article-layout .article-aside .toc a{font-size:13px;line-height:1.6}
.dream-author{padding-bottom:64px}
.dream-hub-note{padding-top:35px;padding-bottom:85px;max-width:900px}
.dream-hub-note h2{font-family:var(--serif);font-size:34px}
.dream-hub-note p{color:var(--muted);line-height:1.85}
@media(max-width:1120px){.dream-symbol-grid{grid-template-columns:1fr}.dream-hero .hero-copy{width:min(760px,85%)}}
@media(max-width:760px){.dream-quick-grid{grid-template-columns:1fr}.dream-tool .izh-dream__layout{grid-template-columns:1fr}.dream-tool .izh-dream__visual{display:none}.dream-tool .izh-dream__reading{grid-template-columns:1fr}.dream-hero,.dream-hero .hero-inner{min-height:440px}.dream-hero .hero-copy{width:100%}.dream-symbol-card{padding:21px}.dream-tool{padding-top:26px}.dream-tool .izh-dream__intro h2{font-size:27px}.dream-tool .izh-dream__form button{width:100%}}

/* Original visual series 1.18.2: one hero per page, three route illustrations. */
.dream-hero .hero-copy{width:min(700px,64%)}
.dream-hero::before{background-position:70% center}
.dream-hero::after{background:linear-gradient(90deg,rgba(5,7,19,.92) 0%,rgba(5,7,19,.79) 32%,rgba(5,7,19,.25) 67%,rgba(5,7,19,.14) 100%),linear-gradient(0deg,rgba(5,7,19,.88),transparent 35%)}
.dream-quick-grid .quick-card{min-height:360px;padding:28px;justify-content:flex-end}
.dream-quick-grid .quick-card:nth-child(1){--card-image:url("assets/sogni/cards/interpretazione-online.webp")}
.dream-quick-grid .quick-card:nth-child(2){--card-image:url("assets/sogni/cards/significato-dei-sogni.webp")}
.dream-quick-grid .quick-card:nth-child(3){--card-image:url("assets/sogni/cards/diario-onirico.webp")}
.dream-quick-grid .quick-card::after{background:linear-gradient(0deg,rgba(6,7,18,.98) 0%,rgba(6,7,18,.83) 36%,rgba(6,7,18,.23) 72%,rgba(6,7,18,.18) 100%)}
.dream-quick-grid .quick-card::before{background-position:center 34%}
.dream-quick-grid .quick-index{margin:0 0 auto;color:#f5d59d;text-shadow:0 1px 8px #050713}
.dream-quick-grid .quick-title{margin-top:65px;font-size:25px;line-height:1.25}
.dream-quick-grid .quick-card p:not(.quick-index):not(.quick-arrow){color:#e4dfec;font-size:14px;line-height:1.7}
.dream-quick-grid .quick-arrow{margin:14px 0 0;color:var(--gold-bright)}
.dream-quick-grid .quick-title a{color:var(--ink);text-underline-offset:5px}
.dream-quick-grid .quick-title a::after{content:"";position:absolute;inset:0;z-index:1}
.dream-quick-grid .quick-title a:focus-visible{outline:2px solid var(--gold-bright);outline-offset:5px}
.dream-quick-grid .quick-card:focus-within::before{transform:scale(1.04)}
.dream-hub-expanded{padding-top:12px;padding-bottom:80px}
.dream-hub-expanded h2{font-family:var(--serif);font-size:clamp(29px,3.2vw,42px);font-weight:400;line-height:1.25;margin:0 0 24px}
.dream-hub-expanded h3{font-family:var(--serif);font-size:25px;line-height:1.25;font-weight:400;color:var(--ink);margin:15px 0}
.dream-hub-expanded p{color:var(--muted);font-size:16px;line-height:1.9;margin:0 0 18px}
.dream-hub-expanded a{color:var(--gold-bright);text-underline-offset:4px}
.dream-hub-intro{max-width:850px;margin-bottom:64px}
.dream-hub-step-section{margin-bottom:66px}
.dream-hub-step-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.dream-step{border:1px solid var(--line);border-radius:10px;padding:28px;background:linear-gradient(145deg,#151326,#0b1020)}
.dream-step p{font-size:14px;line-height:1.85;margin-bottom:0}
.dream-step .dream-step-number{color:var(--gold-bright);font-family:var(--serif);font-size:22px}
.dream-hub-symbol-section{max-width:940px;margin-bottom:64px}
.dream-hub-symbols{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}
.dream-hub-symbols .dream-symbol-chip{margin:0;padding:9px 17px;border:1px solid var(--line);border-radius:99px;color:var(--gold-bright);font-size:14px;line-height:1.5}
.dream-hub-example{padding:34px;border-left:2px solid var(--gold);border-radius:0 10px 10px 0;background:linear-gradient(125deg,#211a2c99,#0e122699);margin-bottom:60px;max-width:940px}
.dream-hub-example p:last-child,.dream-hub-closing p:last-child{margin-bottom:0}
.dream-hub-closing{max-width:850px}
@media(max-width:1000px){.dream-hero .hero-copy{width:min(700px,80%)}.dream-quick-grid .quick-card{padding:24px}.dream-quick-grid .quick-title{font-size:23px}.dream-hub-step-grid{gap:15px}.dream-step{padding:23px}}
@media(max-width:760px){.dream-hero .hero-copy{width:100%}.dream-hero::before{background-position:72% center}.dream-hero::after{background:linear-gradient(90deg,rgba(5,7,19,.94),rgba(5,7,19,.60)),linear-gradient(0deg,rgba(5,7,19,.86),transparent 45%)}.dream-quick-grid .quick-card{min-height:335px}.dream-quick-grid .quick-card+.quick-card{border-left:0;border-top:1px solid var(--line)}.dream-quick-grid .quick-card::before{background-position:center 40%}.dream-hub-step-grid{grid-template-columns:1fr}.dream-hub-expanded{padding-top:0;padding-bottom:60px}.dream-hub-intro,.dream-hub-step-section,.dream-hub-symbol-section{margin-bottom:46px}.dream-hub-example{padding:24px;margin-bottom:45px}}
@media(prefers-reduced-motion:reduce){.dream-quick-grid .quick-card::before{transition:none}.dream-quick-grid .quick-card:hover::before,.dream-quick-grid .quick-card:focus-within::before{transform:none}}
