/* Blog post pages. */
.tlg-blog-post,
.tlg-blog-index {
  --tlg-cream: #f7f0e3;
  --tlg-red: #db001d;
  --tlg-blue: #4584f2;
  --tlg-black: #000;
  --tlg-white: #fff;
  --tlg-muted: #6e6258;
  --tlg-border: rgba(0,0,0,.14);
  --tlg-shadow: 0 18px 45px rgba(0,0,0,.1);
  color: var(--tlg-black);
  font-family: "Schibsted Grotesk",Arial,sans-serif;
  line-height: 1.72;
  max-width: 1120px;
  margin: 0 auto;
  padding:clamp(24px,4vw,56px) 18px;
}

.tlg-blog-post *,
.tlg-blog-index * {
  box-sizing:border-box;
}

.tlg-blog-post h1,
.tlg-blog-post h2,
.tlg-blog-post h3,
.tlg-blog-index h1,
.tlg-blog-index h2,
.tlg-blog-index h3 {
  font-family: "Averia Serif Libre",Georgia,serif;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin:0 0 16px;
}

.tlg-blog-post h1,
.tlg-blog-index h1 {
  font-size:clamp(42px,7vw,78px);
}

.tlg-blog-post h2,
.tlg-blog-index h2 {
  font-size: clamp(30px,4.5vw,48px);
  margin-top:46px;
}

.tlg-blog-post h3,
.tlg-blog-index h3 {
  font-size: clamp(22px,3vw,30px);
  margin-top:28px;
}

.tlg-blog-post p,
.tlg-blog-post li,
.tlg-blog-index p,
.tlg-blog-index li {
  font-size:clamp(16px,1.75vw,18px);
}

.tlg-blog-post a,
.tlg-blog-index a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset:4px;
}

.tlg-article-hero,
.tlg-index-hero {
  background: radial-gradient(circle at 12% 18%,rgba(69,132,242,.18),transparent 32%),radial-gradient(circle at 86% 8%,rgba(219,0,29,.1),transparent 26%),var(--tlg-cream);
  border: 1px solid var(--tlg-border);
  border-radius: 30px;
  padding: clamp(28px,5vw,64px);
  box-shadow: var(--tlg-shadow);
  position: relative;
  overflow:hidden;
}

.tlg-article-hero::after,
.tlg-index-hero::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  bottom: -70px;
  background: var(--tlg-blue);
  border-radius: 999px;
  opacity:.1;
}

.tlg-kicker,
.tlg-meta {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px !important;
  margin:0 0 12px;
}

.tlg-kicker {
  color:var(--tlg-red);
}

.tlg-meta {
  color:var(--tlg-muted);
}

.tlg-lede {
  font-size: clamp(20px,2.4vw,26px) !important;
  max-width: 880px;
  margin:20px 0 0;
}

.tlg-hero-actions,
.tlg-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top:28px;
}

.tlg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 2px solid var(--tlg-black);
  font-weight: 800;
  text-decoration: none !important;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}

.tlg-button:hover {
  transform: translatey(-2px);
  box-shadow:0 12px 24px rgba(0,0,0,.13);
}

.tlg-button-primary {
  background: var(--tlg-red);
  color: var(--tlg-white) !important;
  border-color:var(--tlg-red);
}

.tlg-button-secondary {
  background: var(--tlg-white);
  color:var(--tlg-black) !important;
}

.tlg-content {
  max-width: 860px;
  margin:40px auto 0;
}

.tlg-section {
  margin-top:38px;
}

.tlg-card-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
  margin:24px 0;
}

.tlg-card,
.tlg-callout,
.tlg-faq details,
.tlg-tip,
.tlg-table-wrap {
  background: var(--tlg-white);
  border: 1px solid var(--tlg-border);
  border-radius: 24px;
  padding: 22px;
  box-shadow:0 12px 30px rgba(0,0,0,.06);
}

.tlg-card strong {
  display: block;
  color: var(--tlg-red);
  font-weight: 900;
  margin-bottom:7px;
}

.tlg-callout {
  background: var(--tlg-cream);
  border-left: 7px solid var(--tlg-red);
  margin:30px 0;
}

.tlg-tip {
  background: #fff;
  border:2px dashed rgba(219,0,29,.35);
}

.tlg-checklist {
  list-style: none;
  padding: 0;
  margin:18px 0;
}

.tlg-checklist li {
  position: relative;
  padding-left: 34px;
  margin:12px 0;
}

.tlg-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--tlg-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight:900;
}

.tlg-number-list {
  counter-reset: tlg-steps;
  list-style: none;
  padding:0;
}

.tlg-number-list li {
  counter-increment: tlg-steps;
  position: relative;
  padding: 20px 20px 20px 72px;
  background: var(--tlg-white);
  border: 1px solid var(--tlg-border);
  border-radius: 22px;
  margin:14px 0;
}

.tlg-number-list li::before {
  content: counter(tlg-steps);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--tlg-red);
  color: var(--tlg-white);
  display: grid;
  place-items: center;
  font-weight:900;
}

.tlg-table-wrap {
  overflow-x: auto;
  padding:0;
}

.tlg-table {
  width: 100%;
  border-collapse: collapse;
  min-width:620px;
}

.tlg-table th,
.tlg-table td {
  text-align: left;
  padding: 16px;
  border-bottom: 1px solid var(--tlg-border);
  vertical-align:top;
}

.tlg-table th {
  background: var(--tlg-black);
  color: var(--tlg-white);
  font-weight:900;
}

.tlg-table tr:last-child td {
  border-bottom:0;
}

.tlg-faq {
  margin-top:26px;
}

.tlg-faq details {
  margin:12px 0;
}

.tlg-faq summary {
  cursor: pointer;
  font-weight: 900;
  font-size:18px;
}

.tlg-video-section {
  margin:38px 0;
}

.tlg-video-frame {
  background: #000;
  border-radius: 28px;
  padding: clamp(18px,3vw,28px);
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  overflow:hidden;
}

.tlg-video-frame h2,
.tlg-video-frame h3 {
  color: #fff;
  margin-top:0;
}

.tlg-video-frame p {
  color:rgba(255,255,255,.82);
}

.tlg-video-embed {
  margin-top: 18px;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  min-height: 360px;
  display: grid;
  place-items:center;
}

.tlg-video-embed iframe,
.tlg-video-embed blockquote,
.tlg-video-embed video {
  width: 100% !important;
  max-width: 100% !important;
  margin:0 auto !important;
}

.tlg-video-placeholder {
  width: 100%;
  padding: 34px;
  background: radial-gradient(circle at top left,rgba(69,132,242,.18),transparent 34%),#f7f0e3;
  text-align: center;
  color:#000;
}

.tlg-video-placeholder strong {
  display: block;
  font-family: "Averia Serif Libre",Georgia,serif;
  font-size: clamp(24px,3vw,34px);
  line-height: 1.1;
  margin-bottom:10px;
}

.tlg-video-placeholder p {
  color:#000;
}

.tlg-video-placeholder code {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 10px;
  background: rgba(0,0,0,.08);
  border-radius: 8px;
  font-size: 13px;
  white-space:normal;
}

.tlg-video-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #db001d;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  margin-top:16px;
}

.tlg-video-note {
  font-size: 14px !important;
  color: rgba(255,255,255,.68) !important;
  margin-top:14px;
}

.tlg-cta {
  background: var(--tlg-black);
  color: var(--tlg-white);
  border-radius: 30px;
  padding: clamp(26px,5vw,52px);
  margin-top: 52px;
  position: relative;
  overflow:hidden;
}

.tlg-cta::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: var(--tlg-red);
  border-radius: 999px;
  right: -80px;
  top: -90px;
  opacity:.35;
}

.tlg-cta>* {
  position: relative;
  z-index:1;
}

.tlg-cta h2,
.tlg-cta h3,
.tlg-cta p {
  color:#fff;
}

.tlg-cta .tlg-button-secondary {
  background: var(--tlg-white);
  color:var(--tlg-black) !important;
}

.tlg-disclaimer {
  color: var(--tlg-muted);
  font-size: 14px !important;
  margin-top:28px;
}
@media (max-width:820px) {
  .tlg-card-grid {
    grid-template-columns:1fr;
  }
  .tlg-article-hero,
  .tlg-cta,
  .tlg-video-frame {
    border-radius:22px;
  }
  .tlg-number-list li {
    padding-left:64px;
  }
  .tlg-video-embed {
    min-height:280px;
  }
}

/* On phones each table row becomes a card, so no column is cut off. */
@media (max-width: 640px) {
  .tlg-table-wrap {
    overflow-x: visible;
  }

  .tlg-table {
    min-width: 0;
  }

  .tlg-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .tlg-table,
  .tlg-table tbody,
  .tlg-table tr,
  .tlg-table td {
    display: block;
  }

  .tlg-table tr {
    padding: 16px;
    border-bottom: 1px solid var(--tlg-border);
  }

  .tlg-table tr:last-child {
    border-bottom: 0;
  }

  .tlg-table td {
    padding: 0;
    border-bottom: 0;
  }

  .tlg-table td:first-child {
    font-weight: 900;
    margin-bottom: 8px;
  }

  .tlg-table td[data-label] {
    margin-top: 8px;
  }

  .tlg-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: .75em;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .65;
  }
}


.tlg-blog-post .tlg-sources {
  margin: 28px 0 0;
  font-size: .9rem;
  color: #555;
}
.tlg-blog-post .tlg-sources a {
  color: inherit;
}
.tlg-blog-post .tlg-steps {
  margin: 0;
  padding-left: 1.4em;
}
.tlg-blog-post .tlg-steps li {
  margin: 0 0 12px;
  padding-left: 4px;
}
