/* Base and typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --red: #d91e18;
  --ink: #111111;
  --ink-soft: #2a2a2a;
  --paper: #fafaf7;
  --line: #e5e2da;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Lora", Georgia, serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}
.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Article header */
.ad-bar {
  background: #000;
  color: #999;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  padding: 12px 24px;
  text-align: center;
}
h1.article-headline {
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-size: clamp(32px, 5.2vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 20px 0 22px;
}
.subhead {
  font-family: "Lora", serif;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 24px;
  padding-left: 18px;
  border-left: 3px solid var(--red);
}
.byline {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.byline-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #1a1614;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 18px;
}
.byline-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.byline-name {
  color: var(--ink);
}
.read-time {
  color: #999;
}

/* The introductory photograph with text to its right */
.hero-story {
  display: grid;
  grid-template-columns: 40% minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  margin-bottom: 28px;
}
.hero-photo {
  border-radius: 4px;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-intro {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
}
p.body {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
figure.fig {
  margin: 32px -24px;
  overflow: hidden;
}
figure.fig img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
.cross-list {
  list-style: none;
  margin: 18px 0 26px;
  padding: 0;
}
.cross-list li {
  position: relative;
  padding: 11px 0 11px 36px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.cross-list li:last-child {
  border-bottom: none;
}
.cross-list li::before {
  content: "\2715";
  position: absolute;
  left: 0;
  top: 11px;
  width: 22px;
  height: 22px;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  text-align: center;
  line-height: 22px;
}
.price-comparison {
  margin: 28px 0;
}
.price-comparison img {
  display: block;
  width: 100%;
  height: auto;
}
.quiz-link-block {
  text-align: center;
  margin: 32px 0;
}

/* Product links */
.cta {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.08em;
  padding: 20px 36px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.15s;
  margin: 8px 0;
}
.cta:hover {
  transform: translateY(2px);
}
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #000;
  padding: 12px 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: flex;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}
.sticky-cta.visible {
  transform: translateY(0);
}
.sticky-cta .cta {
  width: 100%;
  max-width: 440px;
  text-align: center;
  padding: 12px 18px;
  font-size: 13px;
  margin: 0;
}

@media (min-width: 768px) {
  figure.fig {
    margin: 36px 0;
  }
}
@media (min-width: 900px) {
  .sticky-cta {
    display: none;
  }
}
@media (max-width: 899px) {
  body {
    padding-bottom: 84px;
  }
}
@media (max-width: 600px) {
  .ad-bar {
    padding: 10px 16px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .hero-story {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .hero-photo {
    width: 100%;
    max-width: 320px;
    justify-self: center;
  }
}

/* Comments and replies — original visual presentation */

.comments {
  margin: 32px -24px 0;
  background: #f0f2f5;
  border-top: 1px solid #e4e6eb;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}
.cm-head {
  background: #fff;
  padding: 14px 18px;
  border-bottom: 1px solid #e4e6eb;
}
.cm-head .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cm-head .ttl {
  font-size: 17px;
  font-weight: 700;
  color: #050505;
}
.cm-head .sort {
  font-size: 13px;
  color: #65676b;
  display: flex;
  align-items: center;
  gap: 4px;
}
.cm-pills {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #fff;
  border: 1px solid #e4e6eb;
  border-radius: 999px;
  padding: 1px 6px 1px 2px;
  font-size: 12px;
  color: #65676b;
  line-height: 1;
}
.cm-pill {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
  border: 1.5px solid #fff;
}
.cm-pill + .cm-pill {
  margin-left: -4px;
}
.cm-head .react-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e4e6eb;
}
.cm-head .react-row .meta {
  font-size: 13px;
  color: #65676b;
}
.cm-actions {
  display: flex;
  margin-top: 4px;
  padding-top: 4px;
}
.cm-actions div {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 600;
  color: #65676b;
  cursor: pointer;
}
.cm-composer {
  background: #fff;
  padding: 12px 18px;
  display: flex;
  gap: 8px;
  align-items: center;
  border-bottom: 8px solid #f0f2f5;
}
.cm-composer .cm-av {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #4267b2, #2d4a87);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
}
.cm-composer .input {
  flex: 1;
  background: #f0f2f5;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  color: #65676b;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cm-composer .input .icons {
  display: flex;
  gap: 10px;
  font-size: 16px;
}
.cm-threads {
  background: #fff;
  padding: 4px 18px 20px;
}
.cm-comment {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.cm-comment.reply {
  margin-top: 8px;
}
.cm-av-img {
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-weight: 600;
  flex-shrink: 0;
  overflow: hidden;
}
img.cm-av-img {
  object-fit: cover;
}
.cm-av-img.s36 {
  width: 36px;
  height: 36px;
  font-size: 14px;
}
.cm-av-img.s28 {
  width: 28px;
  height: 28px;
  font-size: 11px;
}

.cm-body {
  flex: 1;
  min-width: 0;
}
.cm-bubble {
  display: inline-block;
  background: #f0f2f5;
  border-radius: 18px;
  padding: 8px 12px;
  max-width: 100%;
  line-height: 1.35;
}
.cm-bubble .top {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.cm-bubble .nm {
  font-size: 13px;
  font-weight: 600;
  color: #050505;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
}
.cm-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 2px;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}
.cm-badge.founder {
  background: #1877f2;
}

.cm-bubble .text {
  font-size: 14px;
  color: #050505;
  margin-top: 1px;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
}
.cm-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 12px 0;
  font-size: 12px;
  color: #65676b;
  font-weight: 600;
}
.cm-foot span:not(.ts):not(.react-pos) {
  cursor: pointer;
}
.cm-foot .ts {
  font-weight: 400;
}
.cm-foot .react-pos {
  margin-left: auto;
}

@media (min-width: 768px) {
  .comments {
    margin: 32px 0 0;
    border-radius: 2px;
  }
}

/* Comment metadata and the existing reaction colors */
.cm-meta {
  font-size: 11px;
  font-weight: 400;
  color: #65676b;
}
.sort-arrow {
  font-size: 10px;
}
.reaction-like {
  background: #1877f2;
}
.reaction-love {
  background: #f02849;
}
.reaction-care {
  background: #f7b928;
}
.reaction-count {
  margin-left: 4px;
}
