.content.mag-page {
  width: min(100%, 126rem);
  margin: 0 auto;
  padding: 2rem var(--container-x) 7rem;
}

.breadcrumbs + .content.mag-page {
  padding-top: 1rem;
}

.mag-post {
  --article-ink: #17191a;
  --article-copy: #2c3032;
  --article-muted: #626a6e;
  --article-line: #d8dddf;
  --article-surface: #fff;
  color: var(--article-ink);
}

.mag-post__intro {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: clamp(3rem, 4.4vw, 6rem);
  width: min(100%, 112rem);
  margin: 0 auto 4.8rem;
}

.mag-post--text-only .mag-post__intro {
  grid-template-columns: minmax(0, 82rem);
  justify-content: center;
}

.mag-post__cover {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 1.4rem;
  background: #e4e8e9;
  box-shadow: 0 1.8rem 5rem rgba(20, 32, 36, .13);
}

.mag-post__cover--video {
  background: #111;
}

.mag-post__cover img,
.mag-post__cover video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mag-post__head {
  min-width: 0;
}


.mag-post__title {
  max-width: 16ch;
  margin: 0;
  color: #111;
  font-size: clamp(3rem, 3.25vw, 4.35rem);
  font-weight: 800;
  line-height: 1.045;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.mag-post__summary {
  max-width: 58rem;
  margin: 1.35rem 0 0;
  color: #3a4043;
  font-size: clamp(1.38rem, 1.25vw, 1.62rem);
  font-weight: 500;
  line-height: 1.55;
  text-wrap: pretty;
}

.mag-post__byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem 0;
  margin-top: 1.45rem;
  color: var(--article-muted);
  font-size: 1.2rem;
  font-weight: 650;
}

.mag-post__byline > * {
  display: inline-flex;
  align-items: center;
}

.mag-post__byline > * + *::before {
  content: "";
  width: .3rem;
  height: .3rem;
  margin: 0 .85rem;
  border-radius: 50%;
  background: #9aa2a6;
}

.mag-post__author {
  color: #24292b;
  font-weight: 800;
}

.mag-post__updated {
  margin: .7rem 0 0;
  color: #727a7e;
  font-size: 1.1rem;
}

.mag-post__share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem;
}


.mag-post__share-label {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-right: .2rem;
  color: #5a6266;
  font-size: 1.15rem;
  font-weight: 750;
}

.mag-post__share-label svg,
.mag-post__share-link svg {
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 auto;
}

.mag-post__share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3.6rem;
  padding: .65rem 1.05rem;
  border: 1px solid #d8dfe1;
  border-radius: 1rem;
  background: #fff;
  color: #293033;
  font-size: 1.15rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 .15rem .45rem rgba(17,24,39,.035);
  transition: transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease;
}

@media (hover:hover) and (pointer:fine) {
  .mag-post__share-link:hover,
  .mag-post__share-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 .8rem 2rem rgba(17,24,39,.1);
  }

  .mag-post__share-link--facebook:hover,
  .mag-post__share-link--facebook:focus-visible {
    border-color: #1877f2;
    color: #1877f2;
  }

  .mag-post__share-link--x:hover,
  .mag-post__share-link--x:focus-visible {
    border-color: #111;
    background: #111;
    color: #fff;
  }

  .mag-post__share-link--whatsapp:hover,
  .mag-post__share-link--whatsapp:focus-visible {
    border-color: #128c7e;
    color: #128c7e;
  }
}

.mag-post__body {
  width: min(100%, 74rem);
  margin: 0 auto;
  color: var(--article-copy);
  font-family: inherit;
  font-size: 1.72rem;
  line-height: 1.72;
  text-wrap: pretty;
}

.mag-post__body p {
  margin: 0 0 1.5em;
}

.mag-post__body h2,
.mag-post__body h3,
.mag-post__body h4 {
  color: #111;
  font-family: inherit;
  text-wrap: balance;
}

.mag-post__body h2 {
  margin: 2.15em 0 .7em;
  font-size: 3rem;
  line-height: 1.16;
  letter-spacing: -.035em;
}

.mag-post__body h3 {
  margin: 1.85em 0 .65em;
  font-size: 2.3rem;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.mag-post__body h4 {
  margin: 1.65em 0 .6em;
  font-size: 1.95rem;
  line-height: 1.25;
}

.mag-post__body a {
  color: var(--brand-800);
  text-decoration-thickness: .08em;
  text-underline-offset: .15em;
}

.mag-post__body strong {
  color: #111;
}

.mag-post__body ul,
.mag-post__body ol {
  margin: 0 0 1.6em;
  padding-left: 1.45em;
}

.mag-post__body li {
  margin: .48em 0;
  padding-left: .2em;
}

.mag-post__body blockquote {
  margin: 2.15em 0;
  padding: .15em 0 .15em 1.35em;
  border-left: .35rem solid var(--brand-700);
  color: #3b4144;
  font-size: 1.1em;
  font-style: italic;
}

.mag-post__body img,
.mag-post__body video,
.mag-post__body iframe {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

.mag-post__body table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 2em 0;
  overflow-x: auto;
  border-collapse: collapse;
  font-family: inherit;
  font-size: 1.35rem;
  line-height: 1.5;
}

.mag-post__body th,
.mag-post__body td {
  min-width: 12rem;
  padding: .9rem 1.1rem;
  border-bottom: 1px solid #dfe3e5;
  text-align: left;
  vertical-align: top;
}

.mag-post__body th {
  color: #111;
  font-weight: 750;
}

.mag-post__after {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 2.6rem;
  width: min(100%, 92rem);
  margin: 5rem auto 0;
  padding: 2.4rem;
  border: 1px solid #dce2e4;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 1.2rem 3.2rem rgba(17, 24, 39, .055);
}

.mag-post__after--share-only {
  grid-template-columns: 1fr;
}

.mag-post__after-share,
.mag-post__topics {
  min-width: 0;
}

.mag-post__after .mag-post__share {
  align-content: flex-start;
}

.mag-post__after .mag-post__share-label {
  width: 100%;
  margin: 0 0 .45rem;
  color: #333b3e;
  font-size: 1.25rem;
}

.mag-post__topics {
  margin: 0;
  padding-left: 2.6rem;
  border-left: 1px solid #e0e5e7;
}

.mag-post__topics h2 {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.2rem;
  color: #171a1b;
  font-size: 1.45rem;
  letter-spacing: -.015em;
}

.mag-post__topics h2 svg {
  width: 1.8rem;
  height: 1.8rem;
  color: var(--brand-800);
}

.mag-post__topics ul {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mag-post__topics a {
  display: inline-flex;
  align-items: center;
  min-height: 3.3rem;
  padding: .62rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f0f4f4;
  color: #344044;
  font-size: 1.14rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

@media (hover:hover) and (pointer:fine) {
  .mag-post__topics a:hover,
  .mag-post__topics a:focus-visible {
    background: var(--brand-800);
    color: #fff;
    transform: translateY(-1px);
  }
}

.mag-post__related {
  width: min(100%, 112rem);
  margin: 6rem auto 0;
  padding-top: 3.5rem;
  border-top: 1px solid #cfd5d8;
}

.mag-post__related-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.mag-post__related-head p {
  margin: 0 0 .4rem;
  color: var(--brand-900);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.mag-post__related-head h2 {
  margin: 0;
  color: #111;
  font-size: clamp(2.6rem, 3.3vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.mag-post__related-head > a {
  color: #30373a;
  font-size: 1.25rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: .25em;
}






@media (max-width: 900px) {
  .content.mag-page {
    padding: 1.5rem 2rem 5rem;
  }

  .mag-post__intro {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 2.6rem;
    margin-bottom: 4rem;
  }

  .mag-post__title {
    font-size: clamp(3rem, 5vw, 4rem);
  }

}

@media (max-width: 680px) {
  .content.mag-page {
    padding: 1rem 1rem 4rem;
  }

  .breadcrumbs + .content.mag-page {
    padding-top: .8rem;
  }

  .mag-post__intro,
  .mag-post--text-only .mag-post__intro {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    margin-bottom: 3rem;
  }

  .mag-post__head {
    order: 1;
  }

  .mag-post__cover {
    order: 2;
    aspect-ratio: 16 / 10;
    border-radius: 1rem;
    box-shadow: 0 1rem 2.8rem rgba(20, 32, 36, .1);
  }


  .mag-post__title {
    max-width: none;
    font-size: clamp(2.8rem, 8.5vw, 3.5rem);
    line-height: 1.05;
  }

  .mag-post__summary {
    margin-top: 1.1rem;
    font-size: 1.42rem;
  }

  .mag-post__byline {
    margin-top: 1.35rem;
    font-size: 1.1rem;
  }


  .mag-post__share-link {
    min-height: 3.5rem;
    padding: .62rem .9rem;
    font-size: 1.08rem;
  }

  .mag-post__body {
    font-size: 1.58rem;
    line-height: 1.68;
  }

  .mag-post__body h2 {
    font-size: 2.5rem;
  }

  .mag-post__body h3 {
    font-size: 2.05rem;
  }

  .mag-post__after {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3.8rem;
    padding: 1.8rem;
    border-radius: 1.3rem;
  }

  .mag-post__topics {
    padding: 1.8rem 0 0;
    border-top: 1px solid #e0e5e7;
    border-left: 0;
  }

  .mag-post__related {
    margin-top: 4.5rem;
    padding-top: 2.5rem;
  }

  .mag-post__related-head {
    align-items: flex-start;
    flex-direction: column;
    gap: .75rem;
  }

  .mag-post__related-head h2 {
    font-size: 2.9rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  .mag-post__share-link,
  .mag-post__topics a {
    transition: none;
  }
}
