/* Homepage hub — warm anime editorial layout built on the existing generated markup. */
:root {
  --hub-bg: #f6f1e9;
  --hub-card: rgba(255, 253, 249, .78);
  --hub-card-strong: rgba(255, 255, 255, .94);
  --hub-ink: #272b36;
  --hub-muted: #777782;
  --hub-line: rgba(75, 68, 80, .12);
  --hub-rose: #c97688;
  --hub-cyan: #4b9db1;
  --hub-violet: #8b7db4;
  --hub-shadow: 0 14px 36px rgba(77, 65, 68, .08);
  --hub-shadow-hover: 0 22px 48px rgba(77, 65, 68, .13);
}

.dark-mode {
  --hub-bg: #0b1421;
  --hub-card: rgba(16, 29, 47, .80);
  --hub-card-strong: rgba(18, 34, 54, .95);
  --hub-ink: #edf4f6;
  --hub-muted: #9eacba;
  --hub-line: rgba(167, 207, 220, .13);
  --hub-rose: #f197ad;
  --hub-cyan: #69c5d8;
  --hub-violet: #b4a5df;
  --hub-shadow: 0 16px 40px rgba(1, 8, 20, .24);
  --hub-shadow-hover: 0 24px 54px rgba(1, 8, 20, .34);
}

.home-page .home-content-section {
  background:
    radial-gradient(circle at 8% 8%, rgba(235, 184, 195, .10), transparent 25%),
    radial-gradient(circle at 93% 12%, rgba(105, 194, 211, .10), transparent 24%),
    var(--hub-bg) !important;
}

.home-page .home-content.olx-home-enhanced {
  display: grid !important;
  grid-template-columns: minmax(0, 7fr) minmax(290px, 3fr) !important;
  align-items: start !important;
  gap: clamp(28px, 3vw, 44px) !important;
  max-width: 1420px !important;
  margin-inline: auto !important;
}

.olx-home-enhanced > .main-column {
  grid-column: 1;
  grid-row: 1;
  order: 0 !important;
  min-width: 0;
}

.olx-personal-sidebar {
  grid-column: 2;
  grid-row: 1;
  order: 0;
  align-self: stretch;
  height: 100%;
  min-width: 0;
}

.olx-personal-sidebar__stack {
  position: static;
  display: grid;
  gap: 18px;
  max-height: none;
  padding: 2px 4px 22px;
  overflow: visible;
}

.olx-personal-sidebar__stack::-webkit-scrollbar {
  display: none;
}

/* Categories and recent updates live in the right rail as complete, naturally scrolling modules. */
.olx-personal-sidebar .olx-hub-section {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--hub-line);
  border-radius: 22px;
  background: var(--hub-card);
  box-shadow: var(--hub-shadow);
  overflow: visible;
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.olx-personal-sidebar .olx-hub-section__header {
  align-items: start;
  margin-bottom: 14px;
  gap: 10px;
}

.olx-personal-sidebar .olx-hub-section__header h2 {
  font-size: 22px;
}

.olx-personal-sidebar .olx-hub-section__header > span {
  display: none;
}

.olx-personal-sidebar .olx-category-portals__grid {
  grid-template-columns: 1fr;
  gap: 9px;
}

.olx-personal-sidebar .olx-category-portal {
  min-height: 0;
  padding: 13px 86px 13px 14px;
  border-radius: 14px;
  box-shadow: none;
}

.olx-personal-sidebar .olx-category-portal__name {
  font-size: 15px;
}

.olx-personal-sidebar .olx-category-portal__desc {
  align-self: auto;
  margin-top: 4px;
  font-size: 10px;
}

.olx-personal-sidebar .olx-category-portal__meta {
  position: absolute;
  right: 14px;
  bottom: 13px;
  min-width: 62px;
  margin: 0;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.olx-personal-sidebar .olx-category-portal__arrow {
  top: 13px;
  right: 14px;
  transform: none;
}

.olx-personal-sidebar .olx-recent-updates__list {
  border-top: 0;
}

.olx-personal-sidebar .olx-recent-row {
  grid-template-columns: 46px minmax(0, 1fr) 18px;
  gap: 9px;
  min-height: 74px;
  padding: 11px 2px;
}

.olx-personal-sidebar .olx-recent-row__category {
  display: none;
}

.olx-personal-sidebar .olx-recent-row__copy strong,
.olx-personal-sidebar .olx-recent-row__copy small {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.olx-personal-sidebar .olx-recent-row__copy strong {
  font-size: 14px;
  line-height: 1.4;
}

.olx-personal-sidebar .olx-recent-row__copy small {
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.5;
}

.olx-hub-section {
  margin: 0 0 44px;
}

.olx-hub-section__header,
.olx-ordinary-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 20px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--hub-line);
}

.olx-hub-section__header > div,
.olx-ordinary-heading > div {
  min-width: 0;
}

.olx-hub-section__header p,
.olx-ordinary-heading p {
  margin: 0 0 6px;
  color: var(--hub-rose);
  font: 700 9px/1 var(--olx-font-utility, ui-monospace, monospace);
  letter-spacing: .18em;
}

.olx-hub-section__header h2,
.olx-ordinary-heading h2 {
  margin: 0;
  color: var(--hub-ink);
  font-family: var(--olx-font-display, Georgia, serif);
  font-size: clamp(25px, 2.4vw, 36px);
  font-weight: 620;
  line-height: 1.18;
  letter-spacing: -.035em;
}

.olx-hub-section__header > span,
.olx-ordinary-heading > span {
  max-width: 310px;
  color: var(--hub-muted);
  font-size: 12px;
  line-height: 1.65;
  text-align: right;
}

/* Featured story */
.olx-home-feature > .article-card-compact {
  position: relative;
  width: 100% !important;
  min-height: 340px;
  border: 1px solid var(--hub-line) !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background: var(--hub-card-strong) !important;
  box-shadow: var(--hub-shadow) !important;
}

.olx-home-feature > .olx-hub-section__header h2 {
  font-size: clamp(19px, 2vw, 23px);
  letter-spacing: -.02em;
}

@media (min-width: 1100px) {
  /* One shared baseline: the lead story starts level with the author rail. */
  .home-page .olx-home-enhanced .posts-editorial-header {
    display: none !important;
  }

  .home-page .olx-home-feature {
    position: relative;
    margin-top: 0;
  }

  .home-page .olx-home-feature > .olx-hub-section__header {
    position: static;
    z-index: auto;
    display: flex;
    width: auto;
    margin: 0 0 14px;
    padding: 0 0 12px;
    border: 0;
    border-bottom: 1px solid var(--hub-line);
    border-radius: 0;
    color: var(--hub-ink);
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    pointer-events: auto;
  }

  .home-page .olx-home-feature > .olx-hub-section__header p {
    margin-bottom: 4px;
    color: var(--hub-rose);
    text-shadow: none;
  }

  .home-page .olx-home-feature > .olx-hub-section__header h2 {
    color: var(--hub-ink);
    font-size: clamp(18px, 1.45vw, 22px);
    text-shadow: none;
  }

  .home-page .olx-home-feature > .olx-hub-section__header > span {
    display: block;
    max-width: 260px;
    font-size: 11px;
  }

  .home-page .olx-home-enhanced > .main-column,
  .home-page .olx-home-enhanced > .olx-personal-sidebar {
    padding-top: 0 !important;
  }
}

.home-page .olx-home-enhanced .post-grid > .olx-home-overflow-card {
  display: none !important;
}

.olx-archive-bridge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding: 20px 22px;
  border: 1px solid var(--hub-line);
  border-radius: 18px;
  color: var(--hub-ink);
  background: linear-gradient(110deg, color-mix(in srgb, var(--hub-rose) 8%, var(--hub-card-strong)), var(--hub-card-strong));
  box-shadow: var(--hub-shadow);
}

.olx-archive-bridge p { margin: 0 0 5px; color: var(--hub-rose); font: 700 8px/1 var(--olx-font-utility, ui-monospace, monospace); letter-spacing: .17em; }
.olx-archive-bridge strong { display: block; font-family: var(--olx-font-display, Georgia, serif); font-size: 16px; font-weight: 620; }
.olx-archive-bridge small { display: block; margin-top: 4px; color: var(--hub-muted); font-size: 10px; }
.olx-archive-bridge > div:last-child { display: flex; gap: 8px; flex-shrink: 0; }
.olx-archive-bridge a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px; border: 1px solid var(--hub-line); border-radius: 99px; color: var(--hub-ink); background: rgba(255,255,255,.34); font-size: 11px; font-weight: 650; text-decoration: none; transition: transform 180ms ease, border-color 180ms ease, color 180ms ease; }
.olx-archive-bridge a:last-child { color: var(--hub-cyan); }
.olx-archive-bridge a:hover, .olx-archive-bridge a:focus-visible { transform: translateY(-2px); border-color: color-mix(in srgb, var(--hub-cyan) 34%, var(--hub-line)); }
.olx-archive-bridge a:focus-visible { outline: 3px solid color-mix(in srgb, var(--hub-cyan) 22%, transparent); outline-offset: 2px; }

.olx-home-feature > .article-card-compact .card-link {
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  min-height: 340px;
}

.olx-home-feature .card-cover-compact {
  height: 100% !important;
  min-height: 340px;
  aspect-ratio: 16 / 10 !important;
}

.olx-home-feature .card-content-compact {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 28px 24px !important;
}

.olx-home-feature .card-title-compact {
  font-size: clamp(25px, 2.6vw, 38px) !important;
  line-height: 1.28 !important;
}

.olx-home-feature .card-excerpt-compact {
  font-size: 14px !important;
}

/* Category portals */
.olx-category-portals__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.olx-category-portal {
  position: relative;
  display: grid;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--hub-line);
  border-radius: 18px;
  overflow: hidden;
  color: var(--hub-ink);
  background: var(--hub-card);
  box-shadow: 0 9px 25px rgba(77, 65, 68, .055);
  text-decoration: none;
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.olx-category-portal::before {
  content: "";
  position: absolute;
  inset: auto -25px -35px auto;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  opacity: .10;
  background: currentColor;
  filter: blur(3px);
}

.olx-category-portal:hover,
.olx-category-portal:focus-visible {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, currentColor 24%, var(--hub-line));
  box-shadow: var(--hub-shadow-hover);
}

.olx-category-portal:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--hub-cyan) 25%, transparent);
  outline-offset: 3px;
}

.olx-category-portal--rose { color: #a95b70; }
.olx-category-portal--sky { color: #477f9b; }
.olx-category-portal--violet { color: #75659f; }
.olx-category-portal--cyan { color: #388e9f; }
.olx-category-portal--amber { color: #967043; }
.olx-category-portal--slate { color: #66717f; }
.dark-mode .olx-category-portal { color: var(--hub-ink); }

.olx-category-portal__name,
.olx-category-portal__desc,
.olx-category-portal__meta {
  position: relative;
  z-index: 1;
  display: block;
}

.olx-category-portal__name {
  font-family: var(--olx-font-display, Georgia, serif);
  font-size: 17px;
  font-weight: 700;
}

.olx-category-portal__desc {
  align-self: end;
  margin-top: 16px;
  color: var(--hub-muted);
  font-size: 11px;
  line-height: 1.5;
}

.olx-category-portal__meta {
  margin-top: 5px;
  color: currentColor;
  font: 650 9px/1 var(--olx-font-utility, ui-monospace, monospace);
  opacity: .78;
}

.olx-category-portal__arrow {
  position: absolute;
  top: 17px;
  right: 16px;
}

.olx-category-portal__arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

/* Recent rows */
.olx-recent-updates__list {
  border-block: 1px solid var(--hub-line);
}

.olx-recent-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto 24px;
  align-items: center;
  gap: 16px;
  min-height: 82px;
  padding: 12px 8px;
  border-bottom: 1px solid var(--hub-line);
  color: var(--hub-ink);
  text-decoration: none;
  transition: padding-left 180ms ease, background 180ms ease;
}

.olx-recent-row:last-child { border-bottom: 0; }
.olx-recent-row:hover,
.olx-recent-row:focus-visible {
  padding-left: 12px;
  background: linear-gradient(90deg, var(--hub-card), transparent);
}

.olx-recent-row:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--hub-cyan) 24%, transparent);
  outline-offset: 2px;
}

.olx-recent-row time {
  display: grid;
  color: var(--hub-muted);
  font: 600 9px/1.3 var(--olx-font-utility, ui-monospace, monospace);
}

.olx-recent-row time b {
  color: var(--hub-rose);
  font-size: 13px;
}

.olx-recent-row__copy {
  min-width: 0;
}

.olx-recent-row__copy strong,
.olx-recent-row__copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.olx-recent-row__copy strong {
  font-family: var(--olx-font-display, Georgia, serif);
  font-size: 15px;
  font-weight: 650;
}

.olx-recent-row__copy small {
  margin-top: 7px;
  color: var(--hub-muted);
  font-size: 11px;
}

.olx-recent-row__category {
  padding: 6px 9px;
  border: 1px solid var(--hub-line);
  border-radius: 99px;
  color: var(--hub-muted);
  background: var(--hub-card);
  font-size: 9px;
  white-space: nowrap;
}

.olx-recent-row__arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--hub-cyan);
  stroke-width: 1.7;
}

.olx-ordinary-heading {
  margin-top: 52px;
  margin-bottom: 22px;
}

/* Existing article cards, refined rather than replaced. */
.home-page .olx-home-enhanced .post-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 24px 20px !important;
}

.home-page .olx-home-enhanced .post-grid > .article-card-compact:first-child {
  grid-column: auto !important;
}

.home-page .olx-home-enhanced .post-grid > .article-card-compact:first-child .card-link {
  display: flex !important;
  grid-template-columns: none !important;
  min-height: 0 !important;
}

.home-page .olx-home-enhanced .post-grid > .article-card-compact:first-child .card-cover-compact {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 10 !important;
}

.home-page .olx-home-enhanced .post-grid > .article-card-compact:first-child .card-content-compact {
  justify-content: initial !important;
  padding: 21px 20px 17px !important;
}

.home-page .olx-home-enhanced .post-grid > .article-card-compact:first-child .card-title-compact {
  font-size: clamp(18px, 1.55vw, 22px) !important;
  line-height: 1.4 !important;
}

.home-page .olx-home-enhanced .post-grid > .article-card-compact:first-child .card-excerpt-compact {
  font-size: inherit !important;
}

.home-page .olx-home-enhanced .post-grid .card-link {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  min-height: 0 !important;
}

.home-page .olx-home-enhanced .article-card-compact {
  display: flex !important;
  height: 100%;
  border: 1px solid var(--hub-line) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: var(--hub-card-strong) !important;
  box-shadow: var(--hub-shadow) !important;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease !important;
}

.home-page .olx-home-enhanced .post-grid .card-content-compact {
  display: flex !important;
  flex: 1;
  flex-direction: column;
  padding: 21px 20px 17px !important;
}

.home-page .olx-home-enhanced .article-card-compact:hover,
.home-page .olx-home-enhanced .article-card-compact:focus-within {
  transform: translateY(-4px) !important;
  border-color: color-mix(in srgb, var(--hub-cyan) 32%, var(--hub-line)) !important;
  box-shadow: var(--hub-shadow-hover) !important;
}

.home-page .olx-home-enhanced .card-cover-compact {
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 10 !important;
  overflow: hidden;
}

.home-page .olx-home-enhanced .card-cover-compact img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 350ms cubic-bezier(.2, .8, .2, 1), filter 200ms ease !important;
}

.home-page .olx-home-enhanced .article-card-compact:hover .card-cover-compact img {
  transform: scale(1.035) !important;
}

.home-page .olx-home-enhanced .card-badges-compact > *,
.home-page .olx-home-enhanced .article-card-compact .badge-compact {
  position: relative;
  padding: 6px 7px 6px 18px !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #fff !important;
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: 0 1px 4px rgba(16, 18, 27, .78), 0 2px 12px rgba(16, 18, 27, .48);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  font-size: 10px !important;
  font-weight: 650 !important;
  letter-spacing: .04em;
}

.home-page .olx-home-enhanced .card-badges-compact {
  top: 14px !important;
  right: auto !important;
  left: 14px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.home-page .olx-home-enhanced .article-card-compact { --badge-accent: #d27f9d; }
.home-page .olx-home-enhanced .article-card-compact[data-hub-category="情绪文章馆"] { --badge-accent: #df7fa0; }
.home-page .olx-home-enhanced .article-card-compact[data-hub-category="生活随笔"] { --badge-accent: #6fa8c0; }
.home-page .olx-home-enhanced .article-card-compact[data-hub-category="恋爱手册"] { --badge-accent: #9d88c8; }
.home-page .olx-home-enhanced .article-card-compact[data-hub-category="AI专区"] { --badge-accent: #53adbb; }
.home-page .olx-home-enhanced .article-card-compact[data-hub-category="博客文章"] { --badge-accent: #b88d59; }

.home-page .olx-home-enhanced .card-badges-compact > *::before,
.home-page .olx-home-enhanced .article-card-compact .badge-compact::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 7px;
  width: 3px;
  height: 16px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--badge-accent) 70%, #fff);
  box-shadow: 0 0 10px color-mix(in srgb, var(--badge-accent) 58%, transparent);
  transform: translateY(-50%);
}

.home-page .olx-home-enhanced .post-grid .card-content-compact::before {
  content: "FIELD NOTE / " attr(data-field-index);
  display: block;
  margin-bottom: 10px;
  color: color-mix(in srgb, var(--hub-rose) 82%, var(--hub-ink));
  font: 700 8px/1 var(--olx-font-utility, ui-monospace, monospace);
  letter-spacing: .17em;
}

.home-page .olx-home-feature .card-content-compact::before {
  display: none !important;
}

.olx-ordinary-heading__count {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: baseline;
  justify-content: end;
  gap: 6px;
  max-width: none !important;
  color: var(--hub-muted);
  text-align: right;
}

.olx-ordinary-heading__count small {
  font-size: 10px;
  letter-spacing: .04em;
}

.olx-ordinary-heading__count b {
  color: var(--hub-rose);
  font: 650 28px/1 var(--olx-font-display, Georgia, serif);
  font-variant-numeric: tabular-nums;
}

.home-page .olx-home-enhanced .card-title-compact {
  display: -webkit-box;
  min-height: 2.8em;
  overflow: hidden;
  color: var(--hub-ink) !important;
  font-size: clamp(18px, 1.55vw, 22px) !important;
  line-height: 1.4 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 180ms ease;
}

.home-page .olx-home-enhanced .article-card-compact:hover .card-title-compact {
  color: var(--hub-cyan) !important;
}

.home-page .olx-home-enhanced .card-excerpt-compact {
  display: -webkit-box !important;
  min-height: 3.4em;
  margin-top: 9px !important;
  overflow: hidden !important;
  color: var(--hub-muted) !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-page .olx-home-enhanced .card-footer-compact {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: auto !important;
  padding-top: 17px;
}

.olx-card-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--hub-muted);
  white-space: nowrap;
}

.olx-card-reading-time svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.olx-card-readmore {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--hub-line);
  color: var(--hub-cyan);
  font-size: 11px;
  font-weight: 700;
}

.olx-card-readmore svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  transition: transform 180ms ease;
}

.article-card-compact:hover .olx-card-readmore svg {
  transform: translateX(4px);
}

/* Personal sidebar widgets */
.olx-side-card {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: 22px;
  overflow: hidden;
  color: var(--hub-ink);
  background:
    linear-gradient(145deg, rgba(255,255,255,.30), transparent 52%),
    var(--hub-card);
  box-shadow: var(--hub-shadow);
  backdrop-filter: blur(20px) saturate(1.12);
  -webkit-backdrop-filter: blur(20px) saturate(1.12);
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.dark-mode .olx-side-card {
  border-color: var(--hub-line);
}

.olx-side-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--hub-cyan) 24%, var(--hub-line));
  box-shadow: var(--hub-shadow-hover);
}

.olx-side-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 17px;
}

.olx-side-card__header > span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.olx-side-card__header svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--hub-cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.olx-side-card__header b {
  font-family: var(--olx-font-display, Georgia, serif);
  font-size: 15px;
}

.olx-side-card__header small {
  color: var(--hub-muted);
  font: 600 9px/1 var(--olx-font-utility, ui-monospace, monospace);
}

.olx-author-card {
  padding-top: 112px;
}

.olx-author-card__cover {
  position: absolute;
  inset: 0 0 auto;
  height: 128px;
  background:
    linear-gradient(180deg, rgba(38, 43, 56, .04), rgba(38, 43, 56, .55)),
    url("/images/home/hero-01.webp") center 42% / cover;
}

.olx-author-card__identity {
  position: relative;
  display: flex;
  align-items: end;
  gap: 13px;
}

.olx-author-card__avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  border: 4px solid var(--hub-card-strong);
  border-radius: 50%;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--hub-rose), var(--hub-violet));
  box-shadow: 0 10px 24px rgba(42, 36, 44, .14);
  font: 700 28px/1 var(--olx-font-display, Georgia, serif);
}

.olx-author-card__avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
}

.olx-author-card__identity p,
.olx-author-card__identity h2,
.olx-author-card__identity small {
  margin: 0;
}

.olx-author-card__identity p {
  margin-bottom: 3px;
  color: var(--hub-rose);
  font-size: 10px;
  font-weight: 700;
}

.olx-author-card__identity h2 {
  font-family: var(--olx-font-display, Georgia, serif);
  font-size: 21px;
  letter-spacing: -.025em;
}

.olx-author-card__identity small { color: var(--hub-muted); font-size: 10px; }
.olx-author-card__bio { margin: 18px 0 10px; color: var(--hub-muted); font-size: 12px; line-height: 1.75; }
.olx-author-card__signature { margin: 0; color: var(--hub-ink); font-family: var(--olx-font-display, Georgia, serif); font-size: 12px; line-height: 1.7; }
.olx-author-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; }
.olx-author-card__tags span { padding: 5px 8px; border: 1px solid var(--hub-line); border-radius: 99px; color: var(--hub-muted); background: rgba(255,255,255,.23); font-size: 9px; }
.olx-author-card__socials { display: flex; gap: 10px; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--hub-line); }

.olx-social-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--hub-line);
  border-radius: 50%;
  color: var(--hub-ink);
  background: var(--hub-card-strong);
  cursor: pointer;
  transition: transform 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.olx-social-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.olx-social-button:hover,
.olx-social-button:focus-visible { transform: scale(1.08); color: var(--hub-cyan); border-color: color-mix(in srgb, var(--hub-cyan) 42%, var(--hub-line)); box-shadow: 0 8px 20px rgba(75,157,177,.14); }
.olx-social-button:focus-visible { outline: 3px solid color-mix(in srgb, var(--hub-cyan) 25%, transparent); outline-offset: 2px; }
.olx-social-button::after { content: attr(data-tooltip); position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 10; padding: 6px 8px; border-radius: 7px; opacity: 0; visibility: hidden; color: #fff; background: rgba(35,38,48,.88); font-size: 9px; white-space: nowrap; transform: translate(-50%, 4px); transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease; pointer-events: none; }
.olx-social-button:hover::after,
.olx-social-button:focus-visible::after { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.olx-weather-card__main { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; }
.olx-weather-card__main > div:first-child { display: grid; }
.olx-weather-card__condition { display: flex !important; align-items: center; gap: 12px; min-width: 0; }
.olx-weather-card__condition > div { display: grid; min-width: 0; }
.olx-weather-card__icon { position: relative; display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border: 1px solid color-mix(in srgb, var(--hub-cyan) 22%, transparent); border-radius: 14px; color: var(--hub-cyan); background: color-mix(in srgb, var(--hub-cyan) 8%, transparent); }
.olx-weather-card__icon::before { content: ""; width: 24px; height: 24px; background: currentColor; -webkit-mask: var(--weather-icon) center / contain no-repeat; mask: var(--weather-icon) center / contain no-repeat; }
.olx-weather-card__icon[data-weather-tone="sun"] { --weather-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2m0 16v2M4.93 4.93l1.42 1.42m11.3 11.3 1.42 1.42M2 12h2m16 0h2M4.93 19.07l1.42-1.42m11.3-11.3 1.42-1.42'/%3E%3C/g%3E%3C/svg%3E"); }
.olx-weather-card__icon[data-weather-tone="moon"] { --weather-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.2 15.1A8.4 8.4 0 0 1 8.9 3.8 8.5 8.5 0 1 0 20.2 15.1Z' fill='none' stroke='black' stroke-linejoin='round' stroke-width='1.8'/%3E%3C/svg%3E"); }
.olx-weather-card__icon[data-weather-tone="cloud"] { --weather-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 18h10a4 4 0 0 0 .6-7.95A6 6 0 0 0 6.2 8.3 4.9 4.9 0 0 0 7 18Z' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8'/%3E%3C/svg%3E"); }
.olx-weather-card__icon[data-weather-tone="rain"] { --weather-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-width='1.8'%3E%3Cpath d='M7 14h10a3.8 3.8 0 0 0 .5-7.57A5.5 5.5 0 0 0 7 5a4.5 4.5 0 0 0 0 9Z'/%3E%3Cpath d='m8 17-1 2m5-2-1 2m5-2-1 2'/%3E%3C/g%3E%3C/svg%3E"); }
.olx-weather-card__icon[data-weather-tone="snow"] { --weather-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-width='1.7'%3E%3Cpath d='M12 3v18M4.2 7.5l15.6 9M4.2 16.5l15.6-9'/%3E%3Cpath d='m9.5 5.5 2.5 2 2.5-2M9.5 18.5l2.5-2 2.5 2'/%3E%3C/g%3E%3C/svg%3E"); }
.olx-weather-card__icon[data-weather-tone="storm"] { --weather-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8'%3E%3Cpath d='M7 14h10a3.8 3.8 0 0 0 .5-7.57A5.5 5.5 0 0 0 7 5a4.5 4.5 0 0 0 0 9Z'/%3E%3Cpath d='m13 14-3 5h3l-2 3'/%3E%3C/g%3E%3C/svg%3E"); }
.olx-weather-card__icon[data-weather-tone="fog"] { --weather-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-width='1.8'%3E%3Cpath d='M5 8h14M3 12h14m-10 4h14'/%3E%3C/g%3E%3C/svg%3E"); }
.olx-weather-card__main strong { color: var(--hub-ink); font-family: var(--olx-font-display, Georgia, serif); font-size: 46px; font-weight: 520; line-height: 1; letter-spacing: -.06em; }
.olx-weather-card__main > div:first-child span { margin-top: 7px; color: var(--hub-muted); font-size: 11px; }
.olx-weather-card__date { display: grid; grid-template-columns: auto auto; align-items: end; gap: 0 7px; padding-left: 15px; border-left: 1px solid var(--hub-line); text-align: right; }
.olx-weather-card__date b { grid-row: 1 / 3; color: var(--hub-cyan); font: 600 38px/1 var(--olx-font-display, Georgia, serif); }
.olx-weather-card__date span { color: var(--hub-ink); font-size: 10px; }
.olx-weather-card__date small { color: var(--hub-muted); font-size: 9px; }
.olx-weather-card__details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 18px; }
.olx-weather-card__details span { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 10px; color: var(--hub-muted); background: rgba(255,255,255,.25); font-size: 9px; }
.olx-weather-card__details b { color: var(--hub-ink); font-weight: 650; }
.olx-weather-card__mood { margin: 15px 0 0; color: var(--hub-muted); font-family: var(--olx-font-display, Georgia, serif); font-size: 11px; line-height: 1.6; }
.olx-weather-card__source { margin: 11px 0 0; padding-top: 10px; border-top: 1px dashed color-mix(in srgb, var(--hub-line) 76%, transparent); color: var(--hub-muted); font-size: 9px; line-height: 1.5; }
.olx-weather-card__locate { display: inline-flex; min-height: 44px; align-items: center; gap: 6px; padding: 0 9px; border: 1px solid transparent; border-radius: 999px; color: var(--hub-muted); background: transparent; cursor: pointer; touch-action: manipulation; }
.olx-weather-card__locate:hover { border-color: var(--hub-line); color: var(--hub-cyan); background: rgba(255,255,255,.22); }
.olx-weather-card__locate:focus-visible { outline: 2px solid color-mix(in srgb, var(--hub-cyan) 42%, transparent); outline-offset: 2px; }
.olx-weather-card__locate:disabled { cursor: wait; opacity: .65; }
.olx-weather-card__locate i { width: 9px; height: 9px; border: 1.5px solid currentColor; border-left-color: transparent; border-radius: 50%; }
.olx-weather-card[aria-busy="true"] .olx-weather-card__locate i { animation: olx-weather-locate 800ms linear infinite; }
@keyframes olx-weather-locate { to { transform: rotate(360deg); } }
.olx-weather-card__clock { position: absolute; right: 20px; bottom: 18px; color: var(--hub-cyan); font: 650 10px/1 var(--olx-font-utility, ui-monospace, monospace); }

.olx-countdown-card__festival { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; border-radius: 13px; background: linear-gradient(135deg, rgba(201,118,136,.10), rgba(75,157,177,.08)); }
.olx-countdown-card__festival span { color: var(--hub-muted); font-size: 10px; }
.olx-countdown-card__festival strong { color: var(--hub-rose); font-family: var(--olx-font-display, Georgia, serif); font-size: 13px; }
.olx-countdown-card__progress { display: grid; gap: 12px; margin-top: 16px; }
.olx-countdown-card__progress p { display: flex; justify-content: space-between; margin: 0 0 6px; color: var(--hub-muted); font-size: 9px; }
.olx-countdown-card__progress p b { color: var(--hub-ink); }
.olx-countdown-card__progress i { display: block; height: 5px; border-radius: 99px; overflow: hidden; background: rgba(101,111,124,.12); }
.olx-countdown-card__progress em { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--hub-cyan), var(--hub-rose)); transition: width 500ms ease; }
.olx-countdown-card__note { margin: 15px 0 0; color: var(--hub-muted); font-family: var(--olx-font-display, Georgia, serif); font-size: 11px; }

.olx-quote-card blockquote { min-height: 74px; margin: 0; color: var(--hub-ink); font-family: var(--olx-font-display, Georgia, serif); font-size: 14px; line-height: 1.75; }
.olx-quote-card [data-change-quote] { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin-top: 13px; padding: 0 12px; border: 1px solid var(--hub-line); border-radius: 99px; color: var(--hub-muted); background: rgba(255,255,255,.24); font-size: 10px; cursor: pointer; }
.olx-quote-card [data-change-quote]:hover { color: var(--hub-cyan); border-color: var(--hub-cyan); }
.olx-quote-card [data-change-quote] svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.olx-hot-card ol { margin: 0; padding: 0; list-style: none; }
.olx-hot-card li + li { border-top: 1px solid var(--hub-line); }
.olx-hot-card a { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 44px; color: var(--hub-ink); text-decoration: none; }
.olx-hot-card a > span { color: var(--hub-rose); font: 700 9px/1 var(--olx-font-utility, monospace); }
.olx-hot-card a > b { overflow: hidden; font-size: 10px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.olx-hot-card a > time { color: var(--hub-muted); font: 600 8px/1 var(--olx-font-utility, monospace); }
.olx-hot-card a:hover > b { color: var(--hub-cyan); }

/* One reusable modal for all social channels. */
.olx-social-modal { position: fixed; inset: 0; z-index: 2147482500; display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 180ms ease, visibility 180ms ease; }
.olx-social-modal.is-open { opacity: 1; visibility: visible; }
.olx-social-modal__backdrop { position: absolute; inset: 0; background: rgba(26, 29, 39, .48); backdrop-filter: blur(10px); }
.olx-social-modal__panel { position: relative; width: min(390px, 92vw); max-height: 86vh; padding: 28px; border: 1px solid rgba(255,255,255,.42); border-radius: 24px; overflow: auto; color: var(--hub-ink); background: var(--hub-card-strong); box-shadow: 0 30px 90px rgba(32,28,34,.28); text-align: center; transform: translateY(12px) scale(.98); transition: transform 220ms cubic-bezier(.2,.8,.2,1); }
.olx-social-modal.is-open .olx-social-modal__panel { transform: translateY(0) scale(1); }
.olx-social-modal__close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--hub-line); border-radius: 50%; color: var(--hub-muted); background: transparent; font-size: 22px; cursor: pointer; }
.olx-social-modal__icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 18px; color: var(--hub-cyan); background: var(--hub-cyan-soft, rgba(75,157,177,.10)); }
.olx-social-modal__icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.olx-social-modal__eyebrow { margin: 0 0 7px; color: var(--hub-rose); font: 700 9px/1 var(--olx-font-utility, monospace); letter-spacing: .16em; }
.olx-social-modal h2 { margin: 0; font-family: var(--olx-font-display, Georgia, serif); font-size: 25px; }
.olx-social-modal__text { margin: 12px 0 16px; color: var(--hub-muted); font-size: 12px; line-height: 1.7; }
.olx-social-modal__qr { display: grid; place-items: center; width: 220px; min-height: 220px; margin: 15px auto; border-radius: 16px; overflow: hidden; background: #fff; }
.olx-social-modal__qr img { width: 100%; height: 100%; object-fit: contain; }
.olx-social-modal__qr span { display: none; color: #777; font-size: 11px; }
.olx-social-modal__qr.is-missing span { display: block; }
.olx-social-modal__account { color: var(--hub-muted); font-size: 11px; }
.olx-social-modal__account b { color: var(--hub-ink); }
.olx-social-modal__account button,
.olx-social-modal__link { display: inline-flex; align-items: center; min-height: 40px; margin: 7px 4px; padding: 0 13px; border: 1px solid var(--hub-line); border-radius: 99px; color: var(--hub-cyan); background: transparent; font-size: 10px; text-decoration: none; cursor: pointer; }
.olx-social-modal__hint { color: var(--hub-muted); font-size: 10px; }
.olx-social-modal__status { min-height: 1.4em; color: var(--hub-cyan); font-size: 10px; }
body.olx-modal-open { overflow: hidden !important; }

@media (max-width: 1099px) {
  .home-page .home-content.olx-home-enhanced {
    grid-template-columns: 1fr !important;
  }
  .olx-personal-sidebar { grid-row: 2; height: auto; }
  .olx-personal-sidebar { grid-column: 1; }
  .olx-personal-sidebar__stack {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
    padding: 0;
    overflow: visible;
  }
  .olx-author-card { grid-column: span 2; }
}

@media (max-width: 760px) {
  .home-page .home-content.olx-home-enhanced { gap: 32px !important; }
  .olx-home-feature > .article-card-compact .card-link { display: block !important; min-height: 0; }
  .olx-home-feature .card-cover-compact { min-height: 0; height: auto !important; }
  .olx-home-feature .card-content-compact { padding: 22px 20px 18px !important; }
  .olx-category-portals__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .olx-recent-row { grid-template-columns: 50px minmax(0, 1fr) 20px; gap: 10px; }
  .olx-recent-row__category { display: none; }
  .olx-ordinary-heading__count { display: flex; flex-wrap: wrap; justify-content: flex-end; }
  .olx-hub-section__header,
  .olx-ordinary-heading { align-items: start; }
  .olx-hub-section__header > span,
  .olx-ordinary-heading > span { display: none; }
}

@media (max-width: 560px) {
  .home-page .home-content-section { padding-inline: 14px !important; }
  .home-page .olx-home-enhanced .post-grid { grid-template-columns: 1fr !important; gap: 18px !important; }
  .olx-category-portals__grid { grid-template-columns: 1fr; }
  .olx-category-portal { min-height: 112px; }
  .olx-personal-sidebar__stack { grid-template-columns: 1fr; }
  .olx-author-card { grid-column: auto; }
  .olx-hub-section { margin-bottom: 36px; }
  .olx-home-feature > .article-card-compact { border-radius: 17px !important; }
  .olx-recent-row__copy small { display: -webkit-box; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
  .olx-side-card { border-radius: 19px; }
  .olx-ordinary-heading__count { justify-content: flex-start; width: 100%; margin-top: 8px; text-align: left; }
  .olx-ordinary-heading__count b { font-size: 22px; }
  .olx-archive-bridge { align-items: stretch; flex-direction: column; padding: 18px; }
  .olx-archive-bridge > div:last-child { display: grid; grid-template-columns: 1fr 1fr; }
  .olx-archive-bridge a { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .olx-category-portal,
  .olx-side-card,
  .article-card-compact,
  .card-cover-compact img,
  .olx-recent-row {
    transition-duration: .01ms !important;
  }
  .olx-category-portal:hover,
  .olx-side-card:hover,
  .article-card-compact:hover { transform: none !important; }
}

/* Excellence pass: expose content sooner and give the homepage a personal issue masthead. */
@media (min-width: 769px) {
  .home-page .hero-section-fullscreen {
    height: min(78dvh, 760px) !important;
    min-height: 560px !important;
  }
}

.home-page .home-content.olx-home-has-issue > .olx-issue-masthead {
  grid-column: 1 / -1;
  grid-row: 1;
}

.home-page .home-content.olx-home-has-issue > .main-column,
.home-page .home-content.olx-home-has-issue > .olx-personal-sidebar {
  grid-row: 2;
}

.olx-issue-masthead {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 3vw, 46px);
  min-height: 116px;
  margin-bottom: 4px;
  padding: 18px 0 20px;
  border-block: 1px solid var(--hub-line);
  color: var(--hub-ink);
}

.olx-issue-masthead::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 170px;
  height: 2px;
  background: linear-gradient(90deg, var(--hub-rose), var(--hub-violet), transparent);
}

.olx-issue-masthead__date {
  display: grid;
  align-content: center;
  min-height: 74px;
  padding-right: 24px;
  padding-left: 54px;
  border-right: 1px solid var(--hub-line);
}

.olx-issue-masthead__date span,
.olx-issue-masthead__copy p {
  margin: 0;
  color: var(--hub-rose);
  font: 700 8px/1 var(--olx-font-utility, ui-monospace, monospace);
  letter-spacing: .17em;
}

.olx-issue-masthead__date b {
  margin-top: 7px;
  color: var(--hub-ink);
  font: 600 30px/.95 var(--olx-font-display, Georgia, serif);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
}

.olx-issue-masthead__date small {
  margin-top: 6px;
  color: var(--hub-muted);
  font-size: 10px;
}

.olx-issue-masthead__copy h2 {
  max-width: 720px;
  margin: 7px 0 0;
  color: var(--hub-ink);
  font-family: var(--olx-font-display, Georgia, serif);
  font-size: clamp(21px, 2vw, 29px);
  font-weight: 560;
  line-height: 1.32;
  letter-spacing: -.025em;
}

.olx-issue-masthead__meta {
  display: grid;
  justify-items: end;
  gap: 9px;
  color: var(--hub-muted);
  font: 650 9px/1.2 var(--olx-font-utility, ui-monospace, monospace);
  letter-spacing: .09em;
  white-space: nowrap;
}

.olx-issue-masthead__meta b {
  color: var(--hub-rose);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1099px) {
  .home-page .home-content.olx-home-has-issue > .main-column { grid-row: 2; }
  .home-page .home-content.olx-home-has-issue > .olx-personal-sidebar { grid-row: 3; }
}

@media (max-width: 700px) {
  .olx-issue-masthead {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
    min-height: 0;
    padding: 16px 0;
  }

  .olx-issue-masthead::before { width: 92px; }
  .olx-issue-masthead__date { min-height: 64px; padding-right: 16px; }
  .olx-issue-masthead__date { padding-left: 0; }
  .olx-issue-masthead__date b { font-size: 24px; }
  .olx-issue-masthead__copy h2 { font-size: 18px; }
  .olx-issue-masthead__meta {
    grid-column: 1 / -1;
    grid-template-columns: auto auto;
    justify-content: space-between;
    justify-items: start;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--hub-line);
  }
}

/* 2026-06 reading-room refinement: one editorial spine, fewer floating white boxes. */
.home-page .home-content-section {
  padding-block: clamp(38px, 4vw, 58px) !important;
}

.home-page .home-content.olx-home-enhanced {
  grid-template-columns: minmax(0, 2.18fr) minmax(300px, .82fr) !important;
  gap: clamp(34px, 3.2vw, 48px) !important;
  max-width: 1380px !important;
}

.olx-personal-sidebar {
  position: relative;
}

.olx-personal-sidebar::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 20px;
  left: calc(clamp(34px, 3.2vw, 48px) / -2);
  width: 1px;
  background: linear-gradient(180deg, var(--hub-rose), color-mix(in srgb, var(--hub-cyan) 65%, transparent) 38%, var(--hub-line) 82%, transparent);
  opacity: .72;
}

.olx-personal-sidebar::after {
  content: "";
  position: absolute;
  top: 0;
  left: calc(clamp(34px, 3.2vw, 48px) / -2 - 3px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hub-rose);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--hub-rose) 12%, transparent), 0 0 20px color-mix(in srgb, var(--hub-rose) 35%, transparent);
}

.olx-personal-sidebar__stack {
  gap: 14px;
  padding: 0 0 18px;
}

.olx-side-card,
.olx-personal-sidebar .olx-hub-section {
  border-color: color-mix(in srgb, var(--hub-line) 82%, transparent);
  border-radius: 20px 7px 20px 7px;
  background: color-mix(in srgb, var(--hub-card-strong) 88%, transparent);
  box-shadow: 0 12px 30px rgba(77, 65, 68, .065);
  backdrop-filter: blur(12px) saturate(1.04);
  -webkit-backdrop-filter: blur(12px) saturate(1.04);
}

.olx-side-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 34px rgba(77, 65, 68, .095);
}

.olx-personal-sidebar__stack > :nth-child(even) {
  border-radius: 7px 20px 7px 20px;
}

.olx-author-card {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--hub-rose) 7%, transparent), transparent 45%),
    color-mix(in srgb, var(--hub-card-strong) 92%, transparent);
}

.olx-author-card__cover {
  height: 112px;
}

.olx-author-card__signature {
  padding-left: 13px;
  border-left: 2px solid color-mix(in srgb, var(--hub-rose) 64%, transparent);
}

.olx-side-card__header,
.olx-personal-sidebar .olx-hub-section__header {
  padding-bottom: 11px;
  border-bottom: 1px solid var(--hub-line);
}

.olx-personal-sidebar .olx-category-portal {
  border-radius: 13px 4px 13px 4px;
  background: color-mix(in srgb, currentColor 4%, var(--hub-card-strong));
}

.olx-home-feature > .olx-hub-section__header,
.olx-ordinary-heading {
  position: relative;
  border-bottom-color: color-mix(in srgb, var(--hub-line) 86%, transparent);
}

.olx-home-feature > .olx-hub-section__header::after,
.olx-ordinary-heading::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 86px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--hub-rose), var(--hub-violet), transparent);
}

.olx-home-feature > .article-card-compact {
  border-radius: 26px 9px 26px 9px !important;
  box-shadow: 0 18px 44px rgba(75, 63, 69, .10) !important;
}

.home-page .olx-home-enhanced .article-card-compact {
  border-radius: 20px 7px 20px 7px !important;
  box-shadow: 0 11px 30px rgba(75, 63, 69, .065) !important;
}

.home-page .olx-home-enhanced .post-grid > .article-card-compact:nth-child(even) {
  border-radius: 7px 20px 7px 20px !important;
}

.home-page .olx-home-enhanced .olx-home-feature > .article-card-compact {
  border-radius: 26px 9px 26px 9px !important;
  box-shadow: 0 18px 44px rgba(75, 63, 69, .10) !important;
}

.home-page .olx-home-enhanced .article-card-compact:hover,
.home-page .olx-home-enhanced .article-card-compact:focus-within {
  transform: translateY(-3px) !important;
  box-shadow: 0 18px 38px rgba(75, 63, 69, .11) !important;
}

.olx-card-readmore {
  min-height: 36px;
  margin-top: 11px;
}

.olx-archive-bridge {
  border-radius: 18px 5px 18px 5px;
  box-shadow: 0 12px 28px rgba(75, 63, 69, .065);
}

@media (min-width: 1100px) {
  .olx-home-feature > .article-card-compact,
  .olx-home-feature > .article-card-compact .card-link,
  .olx-home-feature .card-cover-compact {
    min-height: 372px;
  }

  .olx-home-feature > .article-card-compact .card-link {
    grid-template-columns: minmax(0, 1.55fr) minmax(270px, .85fr);
  }

  .olx-home-feature .card-content-compact {
    padding: 30px 27px 24px !important;
  }

  .olx-home-feature .card-title-compact {
    font-size: clamp(23px, 2.1vw, 31px) !important;
    line-height: 1.32 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .olx-side-card:hover,
  .home-page .olx-home-enhanced .article-card-compact:hover,
  .home-page .olx-home-enhanced .article-card-compact:focus-within,
  .olx-archive-bridge a:hover,
  .olx-archive-bridge a:focus-visible {
    transform: none !important;
  }
}

@media (max-width: 1099px) {
  .olx-personal-sidebar::before,
  .olx-personal-sidebar::after {
    display: none;
  }

  .home-page .home-content.olx-home-enhanced {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  .olx-side-card,
  .olx-personal-sidebar .olx-hub-section,
  .home-page .olx-home-enhanced .article-card-compact,
  .home-page .olx-home-enhanced .post-grid > .article-card-compact:nth-child(even) {
    border-radius: 17px !important;
  }
}

/* 2026-06-30 refined homepage: cinematic, readable, and less cluttered. */
:root {
  --hub-bg: #f8f3eb;
  --hub-card: rgba(255, 253, 248, .76);
  --hub-card-strong: rgba(255, 255, 255, .94);
  --hub-ink: #242936;
  --hub-muted: #767a86;
  --hub-line: rgba(68, 63, 76, .13);
  --hub-rose: #c96f88;
  --hub-cyan: #338ca3;
  --hub-violet: #8273aa;
  --hub-amber: #b98545;
  --hub-shadow: 0 16px 42px rgba(68, 58, 66, .075);
  --hub-shadow-hover: 0 24px 58px rgba(68, 58, 66, .13);
}

.dark-mode {
  --hub-bg: #0b1420;
  --hub-card: rgba(14, 27, 44, .76);
  --hub-card-strong: rgba(15, 31, 51, .94);
  --hub-ink: #eef5f7;
  --hub-muted: #a3b2bf;
  --hub-line: rgba(158, 207, 221, .15);
  --hub-rose: #f294ad;
  --hub-cyan: #6ed2e4;
  --hub-violet: #baace6;
  --hub-amber: #ecc47b;
}

.home-page .hero-section-fullscreen.olx-cinematic-hero {
  height: clamp(560px, 76dvh, 760px) !important;
  min-height: 560px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: calc(var(--vp-nav-height, 64px) + 30px) clamp(26px, 6vw, 96px) 76px !important;
}

.home-page .hero-section-fullscreen.olx-cinematic-hero::before,
.home-page .hero-section-fullscreen.olx-cinematic-hero::after {
  filter: saturate(1.04) contrast(1.03);
}

.home-page .hero-section-fullscreen.olx-cinematic-hero .hero-content--editorial {
  width: min(760px, 92vw);
  padding: 0 !important;
  text-align: left;
  transform: translateY(8px);
}

.hero-editorial-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: rgba(255, 239, 230, .84);
  font: 750 11px/1 var(--olx-font-utility, ui-monospace, monospace);
  letter-spacing: .20em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .42);
}

.hero-editorial-kicker span {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, .36);
  color: #fff;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-editorial-title {
  display: grid;
  gap: 2px;
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-family: var(--olx-font-display, Georgia, serif);
  font-size: clamp(56px, 8.4vw, 116px);
  font-weight: 680;
  line-height: .92;
  letter-spacing: -.055em;
  text-shadow: 0 18px 52px rgba(0, 0, 0, .38);
}

.hero-editorial-title span:nth-child(2) {
  color: rgba(255, 245, 238, .72);
}

.hero-editorial-deck {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 249, 244, .82);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.9;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .42);
}

.hero-editorial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-editorial-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(0, 0, 0, .16);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hero-editorial-primary {
  gap: 9px;
  color: #201b1e !important;
  background: linear-gradient(135deg, #ffe0a3, #fff2d7);
}

.hero-editorial-secondary {
  background: rgba(255, 255, 255, .10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-editorial-actions a:hover,
.hero-editorial-actions a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .56);
}

.hero-editorial-actions a:focus-visible {
  outline: 3px solid rgba(255, 224, 163, .32);
  outline-offset: 3px;
}

.hero-editorial-primary svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  transition: transform 180ms ease;
}

.hero-editorial-primary:hover svg {
  transform: translateX(4px);
}

.hero-editorial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
  color: rgba(255, 249, 244, .66);
  font: 720 10px/1.4 var(--olx-font-utility, ui-monospace, monospace);
  letter-spacing: .18em;
}

.hero-orbit {
  right: clamp(36px, 8vw, 148px) !important;
  bottom: clamp(112px, 18vh, 210px) !important;
  opacity: .92;
}

.olx-frame-meter {
  right: clamp(26px, 6vw, 96px) !important;
  bottom: 36px !important;
}

.home-page .home-content-section {
  padding-block: clamp(44px, 5vw, 76px) !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--hub-bg) 84%, #fff) 0%, var(--hub-bg) 42%, color-mix(in srgb, var(--hub-bg) 92%, var(--hub-cyan)) 100%) !important;
}

.home-page .home-content-section > .container {
  max-width: 1400px !important;
}

.home-page .home-content.olx-home-enhanced {
  grid-template-columns: minmax(0, 2.12fr) minmax(294px, .88fr) !important;
  gap: clamp(30px, 3vw, 46px) !important;
}

.olx-issue-masthead {
  min-height: 128px;
  margin-bottom: 18px;
  padding: 22px 26px;
  border: 1px solid var(--hub-line);
  border-radius: 24px 10px 24px 10px;
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--hub-rose) 8%, transparent), transparent 42%),
    linear-gradient(270deg, color-mix(in srgb, var(--hub-cyan) 8%, transparent), transparent 48%),
    var(--hub-card);
  box-shadow: var(--hub-shadow);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
}

.olx-issue-masthead::before {
  left: 26px;
  width: 132px;
}

.olx-issue-masthead__date {
  padding-left: 0;
}

.olx-issue-masthead__copy h2 {
  max-width: 760px;
  font-size: clamp(23px, 2.15vw, 33px);
}

.olx-issue-masthead__meta span {
  padding: 8px 10px;
  border: 1px solid var(--hub-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--hub-card-strong) 70%, transparent);
}

.olx-home-feature > .article-card-compact,
.home-page .olx-home-enhanced .article-card-compact,
.olx-side-card,
.olx-personal-sidebar .olx-hub-section,
.olx-archive-bridge {
  position: relative;
  border-color: color-mix(in srgb, var(--hub-line) 82%, transparent) !important;
  overflow: hidden;
}

.olx-side-card::after,
.olx-personal-sidebar .olx-hub-section::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(115deg, transparent 0 28%, rgba(255, 255, 255, .22) 45%, transparent 62%);
  transform: translateX(-42%);
  transition: opacity 180ms ease, transform 520ms cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
}

.olx-side-card:hover::after,
.olx-personal-sidebar .olx-hub-section:hover::after {
  opacity: 1;
  transform: translateX(42%);
}

.home-page .olx-home-enhanced .post-grid {
  gap: 22px !important;
}

.home-page .olx-home-enhanced .card-cover-compact {
  background: color-mix(in srgb, var(--hub-cyan) 10%, var(--hub-card-strong));
}

.home-page .olx-home-enhanced .card-cover-compact::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(11, 13, 20, .34));
  pointer-events: none;
}

.home-page .olx-home-enhanced .article-card-compact {
  transform: translateZ(0);
}

.home-page .olx-home-enhanced .card-title-compact {
  min-height: auto;
}

.olx-personal-sidebar__stack {
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--hub-cyan) 38%, transparent) transparent;
}

.olx-personal-sidebar .olx-hub-section,
.olx-side-card {
  border-radius: 18px !important;
}

.olx-personal-sidebar__stack > :nth-child(even) {
  border-radius: 18px !important;
}

.olx-category-portal {
  border-radius: 15px !important;
}

.olx-category-portal::before {
  opacity: .08;
}

.olx-recent-row {
  border-radius: 12px;
}

.olx-recent-row:hover,
.olx-recent-row:focus-visible {
  padding-left: 10px;
  background: color-mix(in srgb, var(--hub-cyan) 6%, transparent);
}

[data-olx-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 560ms ease,
    transform 680ms cubic-bezier(.2, .8, .2, 1);
  transition-delay: var(--olx-reveal-delay, 0ms);
}

[data-olx-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-content--editorial[data-olx-reveal],
.hero-orbit[data-olx-reveal],
.olx-frame-meter[data-olx-reveal] {
  transform: translateY(12px);
}

.hero-content--editorial[data-olx-reveal].is-visible,
.hero-orbit[data-olx-reveal].is-visible,
.olx-frame-meter[data-olx-reveal].is-visible {
  transform: translateY(0);
}

@media (max-width: 900px) {
  .home-page .hero-section-fullscreen.olx-cinematic-hero {
    height: clamp(520px, 78dvh, 690px) !important;
    min-height: 520px !important;
    padding: calc(var(--vp-nav-height, 56px) + 30px) 22px 68px !important;
  }

  .hero-editorial-title {
    font-size: clamp(48px, 13vw, 78px);
  }

  .hero-orbit {
    display: none !important;
  }

  .home-page .home-content.olx-home-enhanced {
    grid-template-columns: 1fr !important;
  }

  .olx-issue-masthead {
    grid-template-columns: 112px minmax(0, 1fr);
    padding: 20px;
  }

  .olx-issue-masthead__meta {
    grid-column: 1 / -1;
    grid-template-columns: auto auto;
    justify-content: space-between;
    justify-items: stretch;
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .hero-editorial-kicker {
    font-size: 9px;
    letter-spacing: .14em;
  }

  .hero-editorial-deck {
    font-size: 14px;
    line-height: 1.75;
  }

  .hero-editorial-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-editorial-actions a {
    width: 100%;
  }

  .hero-editorial-meta {
    letter-spacing: .10em;
  }

  .olx-frame-meter {
    left: 22px !important;
    right: 22px !important;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .olx-issue-masthead {
    grid-template-columns: 1fr;
    border-radius: 18px !important;
  }

  .olx-issue-masthead::before {
    left: 20px;
  }

  .olx-issue-masthead__date {
    min-height: 0;
    padding: 0 0 14px;
    border-right: 0;
    border-bottom: 1px solid var(--hub-line);
  }

  .olx-issue-masthead__meta {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-olx-reveal],
  [data-olx-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: none !important;
  }

  .olx-side-card::after,
  .olx-personal-sidebar .olx-hub-section::after {
    display: none;
  }
}

/* Sidebar alignment pass: keep the side rail close to the article stream. */
@media (min-width: 1100px) {
  .home-page .home-content.olx-home-enhanced {
    grid-template-columns: minmax(0, 2.2fr) minmax(304px, .78fr) !important;
    align-items: start !important;
    gap: clamp(20px, 2.1vw, 32px) !important;
  }

  .home-page .home-content.olx-home-has-issue > .main-column,
  .home-page .home-content.olx-home-has-issue > .olx-personal-sidebar {
    grid-row: 2;
    margin-top: 0 !important;
  }

  .olx-personal-sidebar {
    align-self: start;
  }

  .olx-personal-sidebar::before {
    left: calc(clamp(20px, 2.1vw, 32px) / -2);
  }

  .olx-personal-sidebar::after {
    left: calc(clamp(20px, 2.1vw, 32px) / -2 - 3px);
  }

  .olx-personal-sidebar__stack {
    position: static !important;
    top: auto !important;
    max-height: none !important;
    padding-left: 2px;
    overflow: visible !important;
  }
}
