@import url("editorial-post-v02-layout.css?v=20260824-quote-v01");
@import url("editorial-post-v02-components.css?v=20260821-09");

.aftv-post .aftv-discussion .comment-respond,
.aftv-post .aftv-discussion .comment-form {
  color: var(--aftv-black) !important;
  background: transparent !important;
}

.aftv-post .aftv-discussion .aftv-comment-note,
.aftv-post .aftv-discussion .comment-form-cookies-consent,
.aftv-post .aftv-discussion .comment-form-cookies-consent label {
  color: #484050 !important;
}

.aftv-post .aftv-discussion .comment-form .aftv-comment-submit {
  color: var(--aftv-white) !important;
  background: var(--aftv-wine) !important;
}

@media (max-width: 900px) {
  body.aftv-single-template #primary.aftv-post {
    gap: 64px;
    padding-top: 40px !important;
  }

  .aftv-post .aftv-article-header h1 {
    font-size: 44px;
    line-height: 52px;
  }

  .aftv-post .aftv-article-layout {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 32px;
  }

  .aftv-post .aftv-article-utility {
    grid-column: 1 / -1;
    grid-row: 1;
    position: sticky;
    top: 8px;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    min-height: 64px;
    margin-left: 0;
    padding: 10px 12px;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    background: rgb(255 255 255 / 94%);
    backdrop-filter: blur(10px);
  }

  .aftv-post .aftv-article-utility__links {
    flex-direction: row;
    gap: 8px;
  }

  .aftv-post .aftv-article-main {
    grid-column: 1;
    grid-row: 2;
  }

  .aftv-post .aftv-post-sidebar {
    grid-column: 2;
    grid-row: 2;
  }

  .aftv-post .aftv-article-hero {
    height: 420px;
  }

  .aftv-post .aftv-sidebar-related li a {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
  }

  .aftv-post .aftv-sidebar-related li a > span {
    width: 76px;
    height: 76px;
  }

  .aftv-post .aftv-inline-related > a {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .aftv-post .aftv-inline-related__image {
    width: 140px;
    height: 110px;
  }

  .aftv-post .aftv-post-newsletter {
    height: auto;
    min-height: 0;
  }

  .aftv-post .aftv-newsletter-form {
    grid-template-columns: 1fr;
  }

  .aftv-post .aftv-newsletter-form button {
    margin-top: 12px;
  }

  .aftv-post .aftv-related__grid {
    grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  }

  .aftv-post .aftv-related__grid .aftv-card {
    min-height: 0;
  }

  .aftv-post .aftv-related__grid .aftv-card .aftv-card__media {
    height: 280px;
  }
}

@media (max-width: 600px) {
  body.aftv-single-template #primary.aftv-post {
    gap: 56px;
    padding-top: 36px !important;
  }

  .aftv-post .aftv-article-header .aftv-rubric {
    height: 28px;
    font-size: 11px;
  }

  .aftv-post .aftv-article-header h1 {
    margin-top: 12px;
    font-size: 37px;
    line-height: 44px;
    letter-spacing: -0.5px;
  }

  .aftv-post .aftv-article-deck {
    margin-top: 16px;
    font-size: 17px;
    line-height: 25px;
  }

  .aftv-post .aftv-article-meta {
    font-size: 11px;
    line-height: 16px;
  }

  .aftv-post .aftv-article-layout {
    display: flex;
    flex-direction: column;
    gap: 56px;
    margin-top: 32px;
  }

  .aftv-post .aftv-article-main,
  .aftv-post .aftv-article-body {
    width: 100%;
    max-width: 100%;
  }

  .aftv-post .aftv-article-body table {
    width: 100%;
    table-layout: fixed;
  }

  .aftv-post .aftv-article-body th,
  .aftv-post .aftv-article-body td {
    overflow-wrap: anywhere;
  }

  .aftv-post .aftv-article-hero {
    height: 240px;
    border-radius: 6px;
  }

  .aftv-post .aftv-article-body {
    margin-top: 32px;
    font-size: 16px;
    line-height: 25px;
  }

  .aftv-post .aftv-article-body h2 {
    margin-top: 44px;
    font-size: 26px;
    line-height: 34px;
  }

  .aftv-post .aftv-article-body h3 {
    margin-top: 40px;
    font-size: 21px;
    line-height: 29px;
  }

  .aftv-post .aftv-article-body blockquote {
    margin: 40px 0;
    padding: 0 0 0 20px;
    border: 0;
    border-left: 3px solid var(--aftv-wine);
    background: transparent;
    font: 600 28px/36px "Archivo", Arial, sans-serif;
  }

  .aftv-post .aftv-inline-related,
  .aftv-post .aftv-inline-discussion,
  .aftv-post .aftv-post-newsletter {
    margin: 40px 0;
  }

  .aftv-post .aftv-inline-related {
    padding: 16px;
  }

  .aftv-post .aftv-inline-related > a {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
  }

  .aftv-post .aftv-inline-related__image {
    width: 88px;
    height: 88px;
  }

  .aftv-post .aftv-inline-related__copy {
    gap: 12px;
  }

  .aftv-post .aftv-inline-related__copy strong {
    font-size: 16px;
    line-height: 22px;
  }

  .aftv-post .aftv-inline-related__copy > span {
    font-size: 11px;
  }

  .aftv-post .aftv-inline-discussion {
    padding: 18px;
  }

  .aftv-post .aftv-post-newsletter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 64px;
    column-gap: 16px;
    align-items: start;
    min-height: 0;
    padding: 18px;
  }

  .aftv-post .aftv-post-newsletter .aftv-newsletter-label {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  .aftv-post .aftv-post-newsletter .aftv-newsletter-icon {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    display: block;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    width: 64px;
    height: 40px;
    margin: 0;
  }

  .aftv-post .aftv-post-newsletter .aftv-newsletter-icon::after {
    top: -19px;
    left: 16px;
    width: 32px;
    height: 32px;
  }

  .aftv-post .aftv-post-newsletter h2,
  .aftv-post .aftv-post-newsletter > p:not(.aftv-newsletter-label),
  .aftv-post .aftv-post-newsletter .aftv-ghl-form {
    grid-column: 1 / -1;
  }

  .aftv-post .aftv-post-newsletter h2 {
    margin-top: 16px;
    font-size: 26px;
    line-height: 34px;
  }

  .aftv-post .aftv-article-utility {
    position: sticky;
    top: 8px;
    z-index: 30;
    display: flex;
    width: 100%;
    min-height: 60px;
    padding: 8px 0;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    background: rgb(255 255 255 / 96%);
  }

  .aftv-post .aftv-article-utility > strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .aftv-post .aftv-article-utility__links {
    justify-content: space-between;
    width: 100%;
    gap: 4px;
    margin-top: 0;
  }

  .aftv-post .aftv-article-utility__links a,
  .aftv-post .aftv-article-utility__links button {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .aftv-post .aftv-article-ad {
    min-height: 160px;
  }

  .aftv-post .aftv-discussion {
    padding: 56px 0;
  }

  .aftv-post .aftv-discussion h2,
  .aftv-post .aftv-related h2 {
    font-size: 38px;
    line-height: 46px;
  }

  .aftv-post .aftv-comment {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 20px 0;
  }

  .aftv-post .aftv-comment__avatar {
    width: 44px;
    height: 44px;
  }

  .aftv-post .comment-form .form-submit {
    display: grid;
    grid-template-columns: 1fr;
  }

  .aftv-post .aftv-discussion .ast-comment-formwrap {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .aftv-post .aftv-related header {
    display: block;
  }

  .aftv-post .aftv-related {
    margin-top: 0;
    padding-bottom: 56px;
  }

  .aftv-post .aftv-related h2 {
    margin-top: 8px;
  }

  .aftv-post .aftv-related__grid {
    display: block;
    margin-top: 32px;
  }

  .aftv-post .aftv-related__grid .aftv-card {
    margin-bottom: 32px;
  }

  .aftv-post .aftv-related__grid .aftv-card:first-child .aftv-card__media,
  .aftv-post .aftv-related__grid .aftv-card:not(:first-child) .aftv-card__media {
    height: 256px;
  }

  .aftv-post .aftv-post-sidebar {
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid #ddd;
  }

  .aftv-post .aftv-sidebar-related li a {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .aftv-post .aftv-sidebar-related li a > span {
    width: 96px;
    height: 96px;
  }
}

/* ==========================================================================
   Inline related carousel, discussion feed and newsletter hover.
   ========================================================================== */

.aftv-post .aftv-inline-related__viewport {
  position: relative;
}

.aftv-post .aftv-inline-related__slide {
  display: none;
}

.aftv-post .aftv-inline-related__slide.is-active {
  display: grid;
  grid-template-columns: 114px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 16px;
  color: #0a0a0a;
  background: #fff;
  animation: aftvFade 0.5s ease;
}

.aftv-post .aftv-inline-related__image img {
  display: block;
  width: 114px;
  height: 114px;
  object-fit: cover;
}

.aftv-post .aftv-inline-related__copy strong {
  display: block;
  color: #0a0a0a;
  font: 400 17px/28px "Archivo", Arial, sans-serif;
}

.aftv-post .aftv-inline-related__copy > span {
  display: inline-block;
  margin-top: 10px;
  color: var(--aftv-wine, #8f1530);
  font: 600 14px/20px "Archivo", Arial, sans-serif;
}

.aftv-post .aftv-inline-related__dots {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.aftv-post .aftv-inline-related__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 40%);
  cursor: pointer;
  transition: background 0.2s ease;
}

.aftv-post .aftv-inline-related__dot.is-active {
  background: #fff;
}

/* The discussion feed scrolls continuously, like the homepage card. */
.aftv-post .aftv-inline-discussion__scroll {
  position: relative;
  height: 232px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 52%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 52%, transparent 100%);
}

.aftv-post .aftv-inline-discussion__track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: aftvDiscussionFeed 48s linear infinite;
}

.aftv-post .aftv-inline-discussion__scroll:hover .aftv-inline-discussion__track {
  animation-play-state: paused;
}

@keyframes aftvDiscussionFeed {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@keyframes aftvFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.aftv-post .aftv-post-newsletter .aftv-newsletter-icon {
  transform-origin: center;
  transition: transform 0.3s ease;
}

.aftv-post .aftv-post-newsletter:hover .aftv-newsletter-icon {
  transform: scale(1.3);
}

@media (prefers-reduced-motion: reduce) {
  .aftv-post .aftv-inline-related__slide.is-active,
  .aftv-post .aftv-inline-discussion__track {
    animation: none;
  }

  .aftv-post .aftv-post-newsletter:hover .aftv-newsletter-icon {
    transform: none;
  }
}
