/* Prova 80: pagina informativa e proposta di footer interno. */
.how-shell{min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
.how-main{width:min(1120px,92%);margin:6px auto 68px}
.how-skip{position:absolute;z-index:99;left:16px;top:16px;transform:translateY(-180%);padding:12px 18px;background:#fff;color:#002baa;border:2px solid #002baa;border-radius:8px}
.how-skip:focus{transform:none}
a{color:#002baa;text-underline-offset:4px;text-decoration-thickness:1px}
a:focus-visible{outline:3px solid #002baa;outline-offset:5px;border-radius:4px}
.how-back{display:inline-flex;align-items:center;min-height:44px;font-size:17px}
.how-heading{margin:12px 0 26px;text-align:center}
.how-heading h1{margin:0;font:400 clamp(26px,3.1vw,42px)/1.3 KrungthepLocale,Krungthep,sans-serif;letter-spacing:.015em}
.how-brand{color:#000;white-space:nowrap}.how-brand>span{color:#002baa}
.how-heading p{font-size:22px;line-height:1.4;margin:12px 0 0;color:#526079}
.how-video{width:min(100%,960px);margin:0 auto}
.how-video-frame{aspect-ratio:16/9;background:#f1f3f8;border-radius:18px;overflow:hidden;box-shadow:0 8px 28px #00175525;border:1px solid #dce3f2}
.how-video video{display:block;width:100%;height:100%;object-fit:contain;background:#111}
.how-video video:focus-visible{outline:3px solid #fff;outline-offset:-5px}
.how-video-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:15px;line-height:1.5;margin:10px 0 0;color:#526079}
.how-video-caption a{display:inline-flex;align-items:center;min-height:32px;gap:4px}
.how-introduction{max-width:900px;margin:34px auto 40px;font-size:22px;line-height:1.6;text-align:center}
.how-sections{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.how-section{min-width:0;background:#ffffffeb;border:1px solid #dce3f2;border-radius:18px;padding:30px}
.how-section h2{font:400 24px/1.4 KrungthepLocale,Krungthep,sans-serif;margin:0 0 18px;color:#17213b}
.how-section p{font-size:19px;line-height:1.6;margin:0 0 16px}
.how-section p:last-child{margin-bottom:0}
.how-section--wide{grid-column:1/-1}
.how-action{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:11px 18px;margin:10px 0 0;border:1px solid #002baa;border-radius:10px;background:#002baa;color:#fff;text-decoration:none;font-size:19px;line-height:1.4;box-shadow:0 3px 0 #001c72}
.how-action:hover{background:#001f87}
.how-action--outline{background:#fff;color:#002baa;box-shadow:none}.how-action--outline:hover{background:#f2f5ff}
.how-section .how-preview-note{font-size:15px;line-height:1.5;color:#526079;margin:16px 0 0}
.how-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:0;margin:8px 0 0;counter-reset:how-step;list-style:none}
.how-steps li{counter-increment:how-step;min-width:0}.how-steps li:before{content:counter(how-step);display:grid;place-items:center;width:34px;height:34px;border:1px solid #cbd6f3;border-radius:50%;color:#002baa;margin-bottom:14px;font-size:19px}
.how-steps h3{font:400 19px/1.45 KrungthepLocale,Krungthep,sans-serif;margin:0 0 12px;color:#002baa}.how-steps p{font-size:18px}
.how-footer{margin-top:auto;border-top:1px solid #dce3f2;background:#f4f6fc;padding:32px 4vw;color:#17213b}
.how-footer-inner{max-width:1120px;margin:auto;display:grid;grid-template-columns:1fr auto;gap:22px 50px;align-items:start}
.how-footer-about p{margin:0;font-size:17px;line-height:1.5}.how-footer-about .how-footer-logo{font:400 26px/1.4 KrungthepLocale,Krungthep,sans-serif;color:#000;margin-bottom:8px}.how-footer-logo span{color:#002baa}
.how-footer-nav{display:flex;gap:20px;flex-wrap:wrap;justify-content:flex-end}.how-footer-nav a{display:inline-flex;align-items:center;min-height:44px;font-size:17px}.how-footer-nav a[aria-current]{text-decoration-thickness:2px}
.how-footer-credit{grid-column:1/-1;padding-top:18px;border-top:1px solid #dce3f2;display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;align-items:center}.how-footer-credit p{margin:0;font-size:14px;line-height:1.7}.how-footer-credit .social-brand{vertical-align:middle;gap:5px}
.nav-list a.nav-item{text-decoration:none}
@media(max-width:700px){.how-main{width:90%;margin:0 auto 42px}.how-heading{margin:14px 0 22px;text-align:left}.how-heading h1{font-size:25px}.how-heading p{font-size:19px;margin-top:8px}.how-video-frame{border-radius:12px}.how-video-caption{font-size:14px;gap:4px}.how-introduction{font-size:19px;line-height:1.55;text-align:left;margin:24px 0}.how-sections{grid-template-columns:1fr;gap:18px}.how-section{padding:22px 20px;border-radius:14px}.how-section h2{font-size:21px}.how-section p{font-size:18px}.how-section--wide{grid-column:auto}.how-action{font-size:17px;text-align:center;width:100%;gap:8px;padding-inline:10px}.how-steps{grid-template-columns:1fr;gap:24px}.how-steps li:before{float:left;margin:0 12px 0 0}.how-steps h3{font-size:18px;min-height:34px;display:flex;align-items:center}.how-steps p{clear:both;padding-top:10px}.how-footer{padding:28px 5vw}.how-footer-inner{grid-template-columns:1fr;gap:16px}.how-footer-about{text-align:center}.how-footer-nav{justify-content:center;gap:4px 18px}.how-footer-credit{display:block;text-align:center;padding-top:16px}.how-footer-credit p+p{margin-top:8px}}

.how-video-frame{min-height:200px}.how-video{scroll-margin-top:18px}

/* Prova83: consultation copy and law callout. */
.how-enrol-link{display:inline-flex;align-items:center;gap:10px;min-height:44px;margin-top:4px;font-size:18px;font-weight:600}
.how-law-callout{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px;border:1px solid #c5d2ef;border-left:5px solid #002baa;border-radius:18px;background:#f4f7fd;color:#002baa;text-decoration:none;box-shadow:0 3px 8px #0017550d}
.how-law-callout>span{display:grid;gap:12px}.how-law-callout strong{font:400 23px/1.45 KrungthepLocale,Krungthep,sans-serif}.how-law-callout span>span{font-size:20px;line-height:1.5;text-decoration:underline;text-underline-offset:4px}
.how-law-callout svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.8;flex:none}
.how-law-callout:hover{background:#eaf0fb}
.article-main{max-width:1020px}.article-main .how-heading{text-align:left;margin-bottom:28px}.article-main .how-heading h1{max-width:950px}.article-lead{font-size:23px;line-height:1.6;margin:0 0 28px}.article-content{font-size:19px;line-height:1.7}.article-content section{margin:0 0 32px}.article-content h2{font:400 25px/1.4 KrungthepLocale,Krungthep,sans-serif;margin:0 0 16px}.article-content h3{font:400 20px/1.5 KrungthepLocale,Krungthep,sans-serif}.article-content p{margin:0 0 16px}.article-content li{margin-bottom:10px}.article-note{font-size:16px;color:#526079}.law-answer{border-left:4px solid #002baa;background:#f4f7fd;padding:22px 26px;border-radius:0 12px 12px 0}.article-content details{border-top:1px solid #dce3f2;padding:10px 0}.article-content summary{cursor:pointer;min-height:44px;padding:8px 0;color:#002baa;font-weight:600}.article-content details p{padding:0 0 4px}.source-links{font-size:17px;overflow-wrap:anywhere}
@media(max-width:700px){.how-law-callout{padding:22px 20px;gap:14px;border-radius:14px}.how-law-callout strong{font-size:19px}.how-law-callout span>span{font-size:18px}.how-law-callout svg{width:24px;height:24px}.article-lead{font-size:20px}.article-content{font-size:18px}.article-content h2{font-size:22px}.law-answer{padding:18px 20px}}

.how-sections>.how-section:nth-child(-n+2){display:flex;flex-direction:column}.how-sections>.how-section:nth-child(-n+2)>.how-choice{margin-top:auto;padding-top:20px}.how-sections>.how-section:nth-child(1)>.how-choice{padding-bottom:62px}
@media(max-width:700px){.how-sections>.how-section:nth-child(1)>.how-choice{padding-bottom:0}}

/* Equal CTA baselines after the report link became active. */
.how-sections>.how-section:nth-child(2)>.how-choice{padding-bottom:62px}@media(max-width:700px){.how-sections>.how-section:nth-child(2)>.how-choice{padding-bottom:0}}

/* Prova 98: i pulsanti introducono i percorsi nella colonna singola. */
.how-section--choice > .how-choice { order: 1; }
.how-section--choice > p:last-child { margin-bottom: 16px; }
@media (max-width: 700px) {
  .how-section--choice > .how-desktop-heading,
  .how-section--choice .how-desktop-detail { display: none; }
  .how-section--choice > p:last-child { margin-bottom: 0; }
  .how-sections > .how-section--choice:nth-child(-n+2) > .how-choice {
    order: 0;
    margin-top: 0;
    margin-bottom: 20px;
    padding-top: 0;
  }
}
