/* Local fonts (Noto Serif + Roboto) */
@font-face {
  font-family: "Noto Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/noto-serif-400.woff) format("woff");
}
@font-face {
  font-family: "Noto Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/noto-serif-400-italic.woff) format("woff");
}
@font-face {
  font-family: "Noto Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/noto-serif-700.woff) format("woff");
}
@font-face {
  font-family: "Noto Serif";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/noto-serif-800.woff) format("woff");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/roboto-400.woff) format("woff");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/roboto-700.woff) format("woff");
}

:root {
  --ig-red: #9b1920;
  --ig-red-dark: #7a1219;
  --ig-black: #111111;
  --ig-ink: #1d1d1d;
  --ig-grey: #6b6b6b;
  --ig-line: #e3e3e3;
  --ig-bg: #ffffff;
  --ig-footer: #1f1f1f;
  --serif: "Noto Serif", "Georgia", "Times New Roman", serif;
  --sans: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
html,
body {
  overflow-x: hidden;
}
body {
  margin: 0;
  background: var(--ig-bg);
  color: var(--ig-ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.article-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- top utility bar ---------- */
.ig-utility {
  background: #000;
  color: #fff;
  font-size: 12px;
}
.ig-utility__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 32px;
}
.ig-utility a {
  color: #fff;
  opacity: 0.9;
}
.ig-utility__left a {
  margin-right: 18px;
}
.ig-utility__right a {
  margin-left: 16px;
}
.ig-utility__right .ig-btn-abbonati {
  background: var(--ig-red);
  padding: 5px 12px;
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ---------- header ---------- */
.ig-header {
  border-bottom: 1px solid var(--ig-line);
  background: #fff;
}
.ig-header__inner {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  height: 72px;
}
.ig-burger,
.ig-user {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  cursor: pointer;
}
.ig-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  margin: 3px 0;
}
.ig-logo {
  text-align: center;
}
.ig-logo__word {
  display: inline-block;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  color: #111;
  letter-spacing: -0.01em;
}
.ig-logo__word i {
  font-style: italic;
  font-weight: 400;
  margin-right: 6px;
}
.ig-logo__word b {
  font-weight: 800;
}
.ig-logo__updated {
  display: block;
  font-size: 11px;
  color: var(--ig-grey);
  margin-top: 4px;
}
@media (max-width: 640px) {
  .ig-logo__word {
    font-size: 28px;
  }
  .ig-header__inner {
    height: 64px;
  }
}

/* ---------- "In evidenza" ticker ---------- */
.ig-evidenza {
  background: var(--ig-red);
  color: #fff;
}
.ig-evidenza__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 40px;
  overflow: hidden;
  white-space: nowrap;
}
.ig-evidenza__label {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex: none;
}
.ig-evidenza__items {
  display: flex;
  gap: 22px;
  font-size: 13px;
  overflow: hidden;
}
.ig-evidenza__items a {
  color: #fff;
  opacity: 0.95;
}
.ig-evidenza__items a::after {
  content: "·";
  margin-left: 22px;
  opacity: 0.5;
}
.ig-evidenza__items a:last-child::after {
  content: "";
}
@media (max-width: 640px) {
  .ig-evidenza__items {
    font-size: 12px;
    gap: 14px;
  }
}

/* ---------- article head ---------- */
.ig-article {
  padding-top: 22px;
}
.ig-section {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ig-red);
  margin-bottom: 14px;
}
.title,
.title.is--large,
h1.ig-title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 38px;
  line-height: 1.15;
  color: var(--ig-black);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
@media (max-width: 640px) {
  .title,
  .title.is--large,
  h1.ig-title {
    font-size: 27px;
  }
}
.summary-art {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.45;
  color: #3a3a3a;
  margin: 0 0 20px;
}
@media (max-width: 640px) {
  .summary-art {
    font-size: 17px;
  }
}
.article-meta-line {
  font-size: 13px;
  color: var(--ig-grey);
  margin: 0 0 4px;
}

/* ---------- figures ---------- */
.foto-figure {
  margin: 0 0 20px;
}
.foto-figure--wide {
  margin: 8px 0 22px;
}
.foto-img {
  width: 100%;
  height: auto;
  display: block;
}
.foto-cap {
  font-size: 12.5px;
  color: var(--ig-grey);
  margin-top: 8px;
  line-height: 1.4;
}

/* ---------- body typography ---------- */
.content {
  margin: 0 0 28px;
}
.content h2,
.native-summary-content {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.25;
  color: var(--ig-black);
  margin: 34px 0 14px;
}
@media (max-width: 640px) {
  .content h2,
  .native-summary-content {
    font-size: 21px;
  }
}
.chapter-paragraph {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ig-ink);
  margin: 0 0 18px;
}
@media (max-width: 640px) {
  .chapter-paragraph {
    font-size: 17px;
  }
}
.chapter-paragraph b {
  font-weight: 700;
}
.chapter-paragraph a,
.editorial-note a,
.steps-list a {
  color: var(--ig-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a.product-link {
  color: #0066cc;
  text-decoration: underline;
}
.steps-list {
  padding-left: 20px;
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
}
.steps-list li {
  margin-bottom: 8px;
}

.editorial-note {
  background: #f6f6f6;
  border-left: 4px solid var(--ig-red);
  padding: 16px 18px;
  margin: 26px 0;
  font-family: var(--serif);
  font-size: 16.5px;
  line-height: 1.55;
}
.editorial-note strong {
  color: var(--ig-red);
}

/* ---------- CTA ---------- */
.article-cta {
  background: #fff;
  border: 1px solid var(--ig-line);
  border-top: 4px solid var(--ig-red);
  padding: 22px 20px;
  margin: 30px 0;
  text-align: center;
}
.article-cta__lead {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 14px;
  color: #111;
}
.article-cta__btn {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: var(--ig-red);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 16px 20px;
  border-radius: 3px;
  text-align: center;
  letter-spacing: 0.01em;
}
.article-cta__btn:hover {
  background: var(--ig-red-dark);
  color: #fff;
}
.article-cta__sub {
  font-size: 13px;
  color: var(--ig-grey);
  margin: 12px 0 0;
  line-height: 1.4;
}

/* ---------- bank statement ---------- */
.estratto {
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #fff;
  margin: 22px 0;
  font-family: var(--sans);
  font-size: 13px;
  color: #222;
  overflow-x: auto;
}
.estratto__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #0a5c3b;
  color: #fff;
}
.estratto__bank {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 12px;
}
.estratto__type {
  font-size: 11px;
  opacity: 0.85;
}
.estratto__meta {
  padding: 8px 14px;
  color: #555;
  font-size: 11.5px;
  border-bottom: 1px solid #e6e6e6;
}
.estratto__table {
  width: 100%;
  border-collapse: collapse;
}
.estratto__table th {
  background: #f5f5f5;
  font-weight: 600;
  text-align: left;
  padding: 8px 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #666;
  border-bottom: 1px solid #e6e6e6;
}
.estratto__table td {
  padding: 9px 14px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}
.estratto__table td:last-child,
.estratto__table th:last-child {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.estratto__table td.pos {
  color: #0a5c3b;
  font-weight: 600;
}
.estratto__table td.neg {
  color: #333;
}
.estratto__foot {
  padding: 9px 14px;
  font-size: 11.5px;
  color: #555;
  background: #fafafa;
}

/* ---------- comments ---------- */
.comments-section {
  margin: 40px 0 20px;
  padding-top: 24px;
  border-top: 2px solid #111;
}
.comments-section__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 18px;
}
.comment {
  padding: 14px 0;
  border-bottom: 1px solid var(--ig-line);
}
.comment__meta {
  font-size: 13px;
  color: var(--ig-grey);
  margin: 0 0 6px;
}
.comment__meta strong {
  color: #111;
}
.comment__likes {
  float: right;
  color: var(--ig-red);
  font-weight: 700;
}
.comment .chapter-paragraph {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 6px;
  color: #222;
}

/* ---------- Leggi anche / Rubriche ---------- */
.ig-related {
  border-top: 2px solid #111;
  margin: 40px 0 0;
  padding-top: 18px;
}
.ig-related__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 18px;
}
.ig-related__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 900px) {
  .ig-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .ig-related__grid {
    grid-template-columns: 1fr;
  }
}
.ig-card {
  border-top: 1px solid var(--ig-line);
  padding-top: 12px;
}
.ig-card__kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ig-red);
  margin-bottom: 8px;
}
.ig-card__title {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  margin: 0 0 8px;
}
.ig-card__by {
  font-size: 12px;
  color: var(--ig-red);
  font-weight: 700;
}

/* ---------- footer ---------- */
.ig-footer {
  background: var(--ig-footer);
  color: #ddd;
  margin-top: 50px;
  padding: 36px 0 24px;
  font-size: 13px;
}
.ig-footer__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .ig-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ig-footer h4 {
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}
.ig-footer h4.ig-footer__follow {
  margin-top: 14px;
}
.ig-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ig-footer li {
  margin-bottom: 8px;
}
.ig-footer a {
  color: #ddd;
}
.ig-footer__abbonati a {
  display: inline-block;
  background: var(--ig-red);
  color: #fff;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 2px;
  margin: 0 8px 8px 0;
}
.ig-footer__social {
  display: flex;
  gap: 12px;
  margin: 8px 0 0;
}
.ig-footer__social span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.ig-footer__bottom {
  border-top: 1px solid #333;
  margin-top: 26px;
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 12px;
  color: #aaa;
}
.ig-footer__logo {
  font-family: var(--serif);
  color: #fff;
  font-size: 22px;
  margin-bottom: 14px;
}
.ig-footer__logo i {
  font-style: italic;
  margin-right: 4px;
}
.ig-footer__logo b {
  font-weight: 800;
}

.soglia {
  font-weight: 700;
  white-space: nowrap;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(50% - 200px);
}

#form {
  max-width: 450px;
  width: 100%;
  margin: 10px auto;
}