/* Offerta formativa: impaginazione del riferimento, dati del prospetto originale. */
.offerta-intro { padding:42px 0 36px; }
.offerta-intro-grid { display:grid; grid-template-columns:1fr 1fr; gap:54px; align-items:center; }
.offerta-intro h2 { font-size:clamp(26px,2.55vw,36px); text-transform:none; margin-bottom:25px; }
.offerta-intro .liceo-article-copy { max-width:570px; }
.offerta-intro .course-name { font-size:21px; line-height:1.4; font-weight:700; }
.offerta-registration { margin-top:24px; padding-left:18px; border-left:3px solid var(--orange); font-size:15px; line-height:1.6; }
.offerta-registration strong { display:block; color:var(--navy); }
.offerta-original { margin:0; text-align:center; }
.offerta-original>a { display:block; background:#f2f6f9; border-radius:16px; padding:16px; box-shadow:var(--shadow); }
.offerta-original img { width:100%; max-height:470px; height:auto; object-fit:contain; margin-inline:auto; }
.offerta-original figcaption { margin-top:13px; font-size:13px; color:#526879; line-height:1.5; }
.offerta-original figcaption a { color:#de460e; text-decoration:underline; text-underline-offset:3px; }

.offerta-study { padding:30px 0 40px; background:linear-gradient(#fff,#f8fafc); }
.offerta-study-grid { display:grid; grid-template-columns:1fr; align-items:start; }
.offerta-study .liceo-section-title { text-transform:uppercase; }
.offerta-study .liceo-article-copy p { margin-bottom:17px; }
.offerta-table-wrap { overflow-x:auto; border-radius:16px; box-shadow:0 8px 25px #032b4010; background:#fff; }
.offerta-table-wrap:focus-visible { outline:3px solid var(--orange); outline-offset:4px; }
.offerta-table { width:100%; border-collapse:collapse; text-align:center; font-size:15px; line-height:1.25; }
.offerta-table caption { padding:17px 19px; background:#eaf0f5; text-align:left; font-size:14px; font-weight:700; color:var(--navy); }
.offerta-table caption small { display:block; font-weight:400; margin-top:5px; font-size:12px; }
.offerta-table th,.offerta-table td { padding:9px 11px; }
.offerta-table thead { color:#fff; background:var(--navy); }
.offerta-table thead th { border:1px solid #ffffff24; font-size:14px; }
.offerta-table tbody th { text-align:left; font-weight:400; width:49%; }
.offerta-table tbody td { min-width:43px; }
.offerta-table tbody tr:nth-child(even) { background:#edf2f6; }
.offerta-table tfoot { background:var(--orange); color:#fff; font-weight:700; }
.offerta-table tfoot th { text-align:left; }
.offerta-table-notes { font-size:13px; color:#4f6474; line-height:1.6; margin-top:17px; }
.offerta-table-notes p+p { margin-top:5px; }
.offerta-facts { padding:12px 0 42px; background:#f8fafc; }
.offerta-facts-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; margin-top:26px; }
.offerta-fact { padding:24px 18px; text-align:center; background:#fff; border:1px solid #edf1f4; border-radius:15px; box-shadow:var(--shadow); }
.offerta-fact svg { color:var(--orange); width:55px; height:55px; margin-bottom:13px; stroke-width:1.5; }
.offerta-fact h3 { font-size:20px; line-height:1.2; margin-bottom:7px; }
.offerta-fact p { font-size:14px; line-height:1.4; color:#546775; }
.offerta-path { position:relative; isolation:isolate; overflow:hidden; background:var(--navy); color:white; }
.offerta-path::before { content:""; position:absolute; inset:0 0 0 40%; z-index:-2; background:url('../images/piano-studi-hd.png') center 60%/cover no-repeat; }
.offerta-path::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#032b40 0%,#032b40 40%,#032b40dd 48%,#032b4011 72%); }
.offerta-path-copy { width:52%; padding:36px 0 40px; }
.offerta-path h2 { text-transform:uppercase; margin-bottom:21px; }
.offerta-path p { font-size:16px; line-height:1.5; max-width:540px; margin-bottom:20px; }
.offerta-path .button { font-size:14px; }

@media(min-width:761px) and (max-width:1050px) {
  .offerta-intro-grid { gap:30px; }
  .offerta-study-grid { grid-template-columns:1fr; gap:22px; }
  .offerta-study .liceo-article-copy { max-width:650px; }
}
@media(max-width:760px) {
  .offerta-intro { padding:32px 0; }
  .offerta-intro-grid { grid-template-columns:1fr; gap:26px; }
  .offerta-intro h2 { font-size:28px; }
  .offerta-intro .course-name { font-size:19px; }
  .offerta-original>a { padding:12px; }
  .offerta-original img { max-height:none; }
  .offerta-study { padding-top:20px; }
  .offerta-study-grid { grid-template-columns:1fr; gap:22px; }
  .offerta-table { font-size:12px; }
  .offerta-table th,.offerta-table td { padding:9px 6px; }
  .offerta-table thead th { font-size:11px; }
  .offerta-table tbody td { min-width:27px; }
  .offerta-table tbody th { width:49%; }
  .offerta-table caption { font-size:13px; padding:14px; }
  .offerta-facts-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
  .offerta-fact { padding:22px 14px; }
  .offerta-fact h3 { font-size:18px; }
  .offerta-fact p { font-size:13px; }
  .offerta-path::before { inset:0; }
  .offerta-path::after { background:#032b40df; }
  .offerta-path-copy { width:100%; padding:34px 0; }
  .offerta-path p { font-size:15px; }
}
