:root {
  --ink: #151821;
  --blue: #233b89;
  --blue-dark: #182a66;
  --cream: #f3f0e8;
  --paper: #fbfaf6;
  --lime: #d8ff4f;
  --line: #d8d5cd;
  --muted: #686b70;
  --white: #fff;
  --admin-bg: #f4f5f7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-manrope), Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topline {
  background: var(--ink);
  color: #dedfdc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.topline-inner,
.topline-inner div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topline-inner {
  min-height: 34px;
}

.topline a:hover {
  color: var(--lime);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(21, 24, 33, .12);
  background: rgba(251, 250, 246, .94);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-mark {
  font-family: var(--font-prata), serif;
  font-size: 24px;
  letter-spacing: -.04em;
}

.brand-divider {
  width: 1px;
  height: 27px;
  background: var(--ink);
  opacity: .25;
}

.brand-journal {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .2em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--blue);
  transition: transform .2s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.button {
  border: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  min-height: 50px;
  padding: 0 23px;
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: transform .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--blue-dark);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  gap: 14px;
  font-size: 10px;
}

.button-light {
  background: var(--lime);
  color: var(--ink);
}

.button-light:hover {
  background: #e3ff7b;
}

.hero {
  padding-top: 78px;
}

.hero-kicker,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(216, 255, 79, .22);
}

.hero > h1 {
  max-width: 1000px;
  margin: 24px 0 18px;
  font-family: var(--font-prata), Georgia, serif;
  font-size: clamp(58px, 7.8vw, 112px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.055em;
}

.hero-lead {
  max-width: 650px;
  margin: 0 0 52px;
  color: #4e5057;
  font-size: 19px;
  line-height: 1.6;
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, .75fr);
  min-height: 650px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.lead-story {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  color: var(--white);
  isolation: isolate;
}

.lead-story > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.lead-story:hover > img {
  transform: scale(1.035);
}

.image-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 12, 25, .03) 20%, rgba(8, 12, 25, .84) 100%),
    linear-gradient(90deg, rgba(24, 42, 102, .34), transparent 60%);
}

.lead-story-content {
  position: absolute;
  left: 48px;
  right: 48px;
  bottom: 44px;
}

.story-tag {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  background: var(--lime);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.story-tag-dark {
  background: var(--blue);
  color: var(--white);
}

.lead-story h2 {
  max-width: 770px;
  margin: 18px 0 15px;
  font-family: var(--font-prata), Georgia, serif;
  font-size: clamp(36px, 4.5vw, 63px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.045em;
}

.lead-story p {
  max-width: 650px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 1.6;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.story-meta span + span::before {
  content: "·";
  margin-right: 20px;
}

.story-meta-light {
  color: rgba(255, 255, 255, .8);
}

.side-stories {
  display: grid;
  grid-template-rows: 1fr 1fr auto;
  border-left: 1px solid var(--ink);
}

.side-story {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 36px;
  border-bottom: 1px solid var(--ink);
  transition: background .2s ease, color .2s ease;
}

.side-story:hover {
  background: var(--blue);
  color: var(--white);
}

.side-story:hover .story-meta {
  color: rgba(255, 255, 255, .68);
}

.side-story > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.side-index {
  font-family: var(--font-prata), serif;
  font-size: 20px;
}

.side-story h3 {
  margin: 0;
  font-family: var(--font-prata), Georgia, serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.editor-note {
  display: flex;
  gap: 20px;
  padding: 26px 34px;
  background: var(--cream);
}

.editor-note-mark {
  color: var(--blue);
  font-size: 30px;
}

.editor-note strong {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
}

.editor-note p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.ticker {
  overflow: hidden;
  margin-top: 80px;
  padding-block: 15px;
  background: var(--blue);
  color: var(--white);
  transform: rotate(-1deg) scale(1.02);
}

.ticker-track {
  display: flex;
  justify-content: space-around;
  gap: 35px;
  white-space: nowrap;
  font-family: var(--font-prata), serif;
  font-size: 17px;
}

.ticker i {
  margin-right: 25px;
  color: var(--lime);
  font-style: normal;
  font-size: 8px;
}

.materials {
  padding-block: 130px 120px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--ink);
}

.section-heading h2,
.newsletter h2,
.related h2 {
  margin: 12px 0 0;
  font-family: var(--font-prata), Georgia, serif;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.045em;
}

.section-heading > p {
  max-width: 430px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding-block: 28px 48px;
}

.category-chip {
  min-height: 37px;
  padding-inline: 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
}

.category-chip:hover,
.category-chip-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px 24px;
}

.article-card {
  min-width: 0;
}

.card-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.24 / 1;
  background: var(--cream);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.02);
  transition: transform .55s cubic-bezier(.2, .7, .2, 1), filter .3s ease;
}

.article-card:hover .card-image img {
  transform: scale(1.04);
  filter: saturate(1);
}

.card-number {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--font-prata), serif;
  font-size: 12px;
}

.card-body {
  padding-top: 20px;
}

.card-body h3 {
  margin: 15px 0 11px;
  font-family: var(--font-prata), Georgia, serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -.03em;
}

.card-body h3 a:hover {
  color: var(--blue);
}

.card-body > p {
  min-height: 68px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.manifesto {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  min-height: 570px;
  margin-bottom: 110px;
  background: var(--blue);
  color: var(--white);
}

.manifesto-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background:
    linear-gradient(45deg, rgba(255,255,255,.08) 25%, transparent 25%) 0 0 / 100px 100px,
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,.08) 75%) 0 0 / 100px 100px,
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,.08) 75%) 50px 50px / 100px 100px,
    linear-gradient(45deg, rgba(255,255,255,.08) 25%, transparent 25%) 50px 50px / 100px 100px;
  border-right: 1px solid rgba(255,255,255,.25);
}

.manifesto-board span {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.08);
  color: var(--lime);
  font-family: Georgia, serif;
  font-size: clamp(72px, 9vw, 130px);
  text-shadow: 0 20px 35px rgba(0,0,0,.2);
}

.manifesto-board span:nth-child(2),
.manifesto-board span:nth-child(3) {
  color: var(--white);
}

.manifesto-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 70px clamp(45px, 7vw, 100px);
}

.eyebrow-light {
  color: var(--lime);
}

.manifesto-copy h2 {
  max-width: 580px;
  margin: 22px 0;
  font-family: var(--font-prata), Georgia, serif;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.045em;
}

.manifesto-copy p {
  max-width: 530px;
  margin: 0 0 36px;
  color: rgba(255,255,255,.74);
  font-size: 15px;
  line-height: 1.75;
}

.newsletter {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  margin-bottom: 110px;
  padding: 65px 72px;
  background: var(--cream);
}

.newsletter-piece {
  position: absolute;
  right: 38%;
  bottom: -80px;
  color: rgba(35, 59, 137, .08);
  font-family: Georgia, serif;
  font-size: 250px;
}

.newsletter h2 {
  max-width: 680px;
  font-size: clamp(35px, 4vw, 54px);
}

.subscribe-form {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--ink);
}

.subscribe-form > span {
  min-width: 0;
  flex: 1;
  padding-block: 18px;
  color: var(--muted);
  font-size: 14px;
}

.subscribe-form a {
  border: 0;
  padding: 18px 0 18px 24px;
  background: transparent;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.site-footer {
  padding-block: 65px;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr .8fr;
  gap: 50px;
}

.footer-logo {
  font-family: var(--font-prata), serif;
  font-size: 30px;
}

.footer-logo span {
  margin-left: 12px;
  color: var(--lime);
  font-family: var(--font-manrope), sans-serif;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.site-footer p,
.footer-contact span {
  color: rgba(255,255,255,.55);
  font-size: 12px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  font-size: 12px;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--lime);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  text-align: right;
}

.footer-contact a {
  font-family: var(--font-prata), serif;
  font-size: 21px;
}

/* Article */

.article-page {
  padding-top: 45px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.breadcrumbs a:hover {
  color: var(--blue);
}

.article-header {
  max-width: 990px;
  margin: 70px auto 55px;
  text-align: center;
}

.article-header h1 {
  margin: 22px 0 24px;
  font-family: var(--font-prata), Georgia, serif;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.055em;
}

.article-deck {
  max-width: 740px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.article-byline {
  display: flex;
  align-items: center;
  max-width: 700px;
  margin: 42px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.author-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-right: 13px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-prata), serif;
}

.article-byline strong {
  display: block;
  font-size: 12px;
}

.article-byline small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.article-byline-meta {
  display: flex;
  gap: 24px;
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.article-cover {
  margin: 0;
}

.article-cover img {
  width: 100%;
  height: min(65vw, 720px);
  object-fit: cover;
}

.article-cover figcaption {
  padding-top: 11px;
  color: var(--muted);
  font-size: 10px;
}

.article-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 700px);
  justify-content: center;
  gap: 80px;
  padding-block: 90px 120px;
}

.article-aside {
  position: sticky;
  top: 120px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 11px;
}

.article-aside > span {
  margin-bottom: 3px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--ink);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.article-aside > a {
  color: var(--muted);
}

.article-aside > a:hover {
  color: var(--blue);
}

.aside-proof {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  padding: 17px;
  background: var(--cream);
}

.aside-proof b {
  color: var(--blue);
}

.aside-proof p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.article-content {
  font-family: Georgia, serif;
  font-size: 20px;
  line-height: 1.86;
}

.article-content > p {
  margin: 0 0 28px;
}

.article-content .article-intro::first-letter {
  float: left;
  margin: 9px 11px 0 0;
  color: var(--blue);
  font-family: var(--font-prata), serif;
  font-size: 76px;
  line-height: .75;
}

.article-content blockquote {
  position: relative;
  margin: 62px -70px;
  padding: 50px 65px 48px 100px;
  background: var(--blue);
  color: var(--white);
}

.article-content blockquote > span {
  position: absolute;
  top: 25px;
  left: 35px;
  color: var(--lime);
  font-family: var(--font-prata), serif;
  font-size: 78px;
  line-height: 1;
}

.article-content blockquote p {
  margin: 0 0 15px;
  font-family: var(--font-prata), Georgia, serif;
  font-size: 28px;
  line-height: 1.4;
}

.article-content blockquote cite {
  color: rgba(255,255,255,.6);
  font-family: var(--font-manrope), sans-serif;
  font-size: 10px;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.article-conclusion {
  margin-top: 60px;
  padding-top: 35px;
  border-top: 3px solid var(--ink);
}

.article-conclusion h2 {
  margin: 16px 0;
  font-family: var(--font-prata), Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
}

.related {
  padding-bottom: 110px;
}

.related .section-heading {
  margin-bottom: 42px;
}

.article-grid-related {
  grid-template-columns: repeat(3, 1fr);
}

.article-cta {
  padding-block: 60px;
  background: var(--blue);
  color: var(--white);
}

.article-cta .shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 35px;
}

.article-cta .shell > span {
  color: var(--lime);
  font-family: Georgia, serif;
  font-size: 70px;
}

.article-cta h2 {
  margin: 0 0 8px;
  font-family: var(--font-prata), serif;
  font-size: 34px;
  font-weight: 400;
}

.article-cta p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 13px;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 30px;
  background: var(--cream);
  text-align: center;
}

.not-found > span {
  color: var(--blue);
  font-size: 80px;
}

.not-found p {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.not-found h1 {
  margin: 5px 0 35px;
  font-family: var(--font-prata), serif;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 400;
}

/* Admin */

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  background: var(--admin-bg);
  color: #20242d;
}

.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 10;
  width: 235px;
  display: flex;
  flex-direction: column;
  padding: 28px 18px 20px;
  background: #171b24;
  color: #fff;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px 28px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.admin-brand span {
  font-family: var(--font-prata), serif;
  font-size: 25px;
}

.admin-brand small {
  color: #aeb3bd;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 25px;
}

.admin-nav button {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  min-height: 43px;
  border: 0;
  border-radius: 6px;
  padding: 0 12px;
  background: transparent;
  color: #aeb3bd;
  text-align: left;
  font-size: 12px;
  font-weight: 650;
}

.admin-nav button:hover,
.admin-nav .admin-nav-active {
  background: rgba(255,255,255,.09);
  color: #fff;
}

.admin-nav button:disabled {
  cursor: default;
}

.admin-nav button:disabled:hover {
  background: transparent;
  color: #aeb3bd;
}

.admin-nav .admin-nav-active::before {
  position: absolute;
  content: "";
  left: -18px;
  width: 3px;
  height: 24px;
  background: var(--lime);
}

.admin-nav button > span {
  color: #8d94a3;
  font-size: 18px;
}

.admin-nav i {
  padding: 3px 5px;
  border-radius: 4px;
  background: rgba(216,255,79,.12);
  color: var(--lime);
  font-size: 7px;
  font-style: normal;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.admin-sidebar-bottom {
  margin-top: auto;
}

.integration-teaser {
  margin-bottom: 18px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
}

.integration-teaser span {
  display: block;
  margin-bottom: 8px;
  color: #63b5ff;
  font-size: 10px;
  font-weight: 800;
}

.integration-teaser b {
  font-size: 11px;
}

.integration-teaser p {
  margin: 6px 0 0;
  color: #8d94a3;
  font-size: 9px;
  line-height: 1.5;
}

.admin-sidebar-bottom > a {
  display: block;
  padding: 10px 12px 0;
  color: #8d94a3;
  font-size: 10px;
}

.admin-main {
  grid-column: 2;
  min-width: 0;
}

.admin-topbar {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  border-bottom: 1px solid #e1e3e8;
  background: #fff;
}

.admin-breadcrumb {
  color: #8a909b;
  font-size: 10px;
}

.admin-user {
  display: flex;
  align-items: center;
}

.admin-user > button {
  width: 34px;
  height: 34px;
  margin-right: 20px;
  border: 1px solid #e1e3e8;
  border-radius: 50%;
  background: #fff;
}

.admin-user .author-avatar {
  width: 34px;
  height: 34px;
}

.admin-user strong,
.admin-user small {
  display: block;
}

.admin-user strong {
  max-width: 190px;
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-user small {
  margin-top: 3px;
  color: #9096a0;
  font-size: 8px;
}

.admin-content {
  width: min(1260px, calc(100% - 70px));
  margin: 0 auto;
  padding-block: 40px 70px;
}

.admin-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.admin-title-row h1 {
  margin: 0;
  font-size: 29px;
  line-height: 1;
  letter-spacing: -.025em;
}

.admin-title-row p {
  margin: 8px 0 0;
  color: #8a909b;
  font-size: 11px;
}

.admin-primary,
.admin-secondary {
  min-height: 40px;
  border: 0;
  border-radius: 5px;
  padding: 0 17px;
  font-size: 10px;
  font-weight: 800;
}

.admin-primary {
  background: var(--blue);
  color: #fff;
}

.admin-primary:hover {
  background: var(--blue-dark);
}

.admin-primary span {
  margin-right: 8px;
  font-size: 15px;
}

.admin-secondary {
  border: 1px solid #d9dce2;
  background: #fff;
  color: #3b404a;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin-bottom: 18px;
}

.admin-stats button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  min-height: 96px;
  padding: 17px 18px;
  border: 1px solid #e1e3e8;
  border-radius: 7px;
  background: #fff;
  text-align: left;
}

.admin-stats button:hover,
.admin-stats .stat-active {
  border-color: #8c98bd;
  box-shadow: 0 4px 15px rgba(31, 40, 70, .04);
}

.admin-stats span {
  color: #747a84;
  font-size: 10px;
  font-weight: 700;
}

.admin-stats strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  font-size: 26px;
}

.admin-stats small {
  font-size: 8px;
  color: #969ca6;
}

.admin-stats .green {
  color: #168b62;
}

.admin-stats .orange {
  color: #c6781c;
}

.content-panel {
  overflow: hidden;
  border: 1px solid #e1e3e8;
  border-radius: 8px;
  background: #fff;
}

.content-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid #e6e8ec;
}

.admin-search {
  display: flex;
  align-items: center;
  flex: 1;
  min-height: 37px;
  padding: 0 12px;
  border: 1px solid #dfe2e7;
  border-radius: 5px;
  color: #999faa;
}

.admin-search input {
  width: 100%;
  border: 0;
  outline: 0;
  padding-left: 9px;
  color: #30343b;
  font-size: 10px;
}

.content-toolbar select {
  min-height: 37px;
  border: 1px solid #dfe2e7;
  border-radius: 5px;
  padding: 0 30px 0 12px;
  background: #fff;
  color: #5d626c;
  font-size: 10px;
}

.article-table-head,
.article-row {
  display: grid;
  grid-template-columns: minmax(290px, 2.1fr) minmax(120px, .8fr) minmax(110px, .8fr) 65px 110px 18px;
  gap: 15px;
  align-items: center;
}

.article-table-head {
  min-height: 41px;
  padding: 0 18px;
  background: #fafafb;
  color: #8e949e;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.article-row {
  width: 100%;
  min-height: 81px;
  border: 0;
  border-top: 1px solid #eceef1;
  padding: 11px 18px;
  background: #fff;
  color: #4c515b;
  text-align: left;
  font-size: 9px;
}

.article-row:hover {
  background: #fafbfe;
}

.article-cell-title {
  display: flex;
  align-items: center;
  min-width: 0;
}

.article-cell-title > img {
  width: 76px;
  height: 54px;
  flex: 0 0 auto;
  margin-right: 13px;
  border-radius: 4px;
  object-fit: cover;
}

.article-cell-title > span {
  min-width: 0;
}

.article-cell-title strong {
  display: -webkit-box;
  overflow: hidden;
  color: #272b33;
  font-size: 10px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-cell-title small {
  display: block;
  margin-top: 5px;
  color: #969ca6;
  font-size: 8px;
}

.status-pill,
.seo-pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 99px;
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.status-published {
  background: #e7f6ef;
  color: #14714e;
}

.status-review {
  background: #fff3de;
  color: #9c631c;
}

.status-draft {
  background: #eceef2;
  color: #636975;
}

.seo-good {
  background: #e7f6ef;
  color: #14714e;
}

.seo-warn {
  background: #fff3de;
  color: #9c631c;
}

.row-arrow {
  color: #8f96a1;
  font-size: 20px;
}

.empty-table {
  padding: 60px;
  color: #8a909b;
  text-align: center;
  font-size: 11px;
}

.editor-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  justify-content: flex-end;
  background: rgba(11, 15, 25, .52);
  backdrop-filter: blur(3px);
}

.overlay-close {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: default;
}

.editor-drawer {
  position: relative;
  z-index: 1;
  width: min(760px, 90vw);
  height: 100vh;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  background: #fff;
  box-shadow: -25px 0 70px rgba(8, 14, 34, .22);
}

.editor-header {
  min-height: 63px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid #e8eaee;
}

.editor-header > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.editor-header small {
  color: #959ba5;
  font-size: 8px;
}

.editor-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f0f1f4;
  color: #4b505a;
  font-size: 20px;
}

.editor-tabs {
  display: flex;
  gap: 25px;
  padding: 0 25px;
  border-bottom: 1px solid #e8eaee;
}

.editor-tabs button {
  position: relative;
  min-height: 51px;
  border: 0;
  background: transparent;
  color: #858b96;
  font-size: 10px;
  font-weight: 750;
}

.editor-tabs button.active {
  color: var(--blue);
}

.editor-tabs button.active::after {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--blue);
}

.editor-tabs button span {
  margin-left: 5px;
  color: #188458;
}

.editor-body {
  overflow-y: auto;
  padding: 28px 34px 50px;
  background: #fbfbfc;
}

.editor-form,
.seo-editor {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.editor-form label,
.seo-editor label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #555b65;
  font-size: 9px;
  font-weight: 800;
}

.editor-form input,
.editor-form textarea,
.editor-form select,
.seo-editor input,
.seo-editor textarea {
  width: 100%;
  border: 1px solid #dfe2e7;
  border-radius: 5px;
  outline: 0;
  padding: 11px 12px;
  background: #fff;
  color: #252a31;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.55;
  resize: vertical;
}

.editor-form input:focus,
.editor-form textarea:focus,
.editor-form select:focus,
.seo-editor input:focus,
.seo-editor textarea:focus {
  border-color: #8190c4;
  box-shadow: 0 0 0 3px rgba(35, 59, 137, .08);
}

.editor-form .title-input {
  font-family: var(--font-prata), serif;
  font-size: 24px;
  line-height: 1.35;
}

.editor-form .body-input {
  font-family: Georgia, serif;
  font-size: 14px;
  line-height: 1.7;
}

.editor-form label > small,
.seo-editor label > small {
  align-self: flex-end;
  margin-top: -4px;
  color: #9aa0aa;
  font-size: 8px;
  font-weight: 500;
}

.editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.seo-score-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border: 1px solid #dfe9e4;
  border-radius: 7px;
  background: #f4fbf7;
}

.score-ring {
  display: grid;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  place-content: center;
  border: 6px solid #2a9f71;
  border-radius: 50%;
  color: #18724f;
  font-size: 17px;
  font-weight: 900;
}

.score-ring small {
  font-size: 9px;
}

.seo-score-card strong {
  font-size: 11px;
}

.seo-score-card p {
  margin: 5px 0 0;
  color: #6f7974;
  font-size: 9px;
  line-height: 1.5;
}

.slug-input {
  display: flex;
  align-items: center;
  border: 1px solid #dfe2e7;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
}

.slug-input span {
  padding-left: 12px;
  color: #8e949e;
  font-size: 10px;
  font-weight: 500;
}

.slug-input input {
  border: 0;
  box-shadow: none !important;
}

.search-preview {
  padding: 20px;
  border: 1px solid #e0e3e8;
  border-radius: 7px;
  background: #fff;
}

.search-preview small {
  display: block;
  margin-bottom: 6px;
  color: #53705d;
  font-size: 9px;
}

.search-preview strong {
  display: block;
  color: #1a0dab;
  font-size: 16px;
  font-weight: 500;
}

.search-preview p {
  margin: 6px 0 0;
  color: #555;
  font-size: 10px;
  line-height: 1.5;
}

.seo-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-checklist li {
  padding: 11px 13px;
  border-radius: 5px;
  background: #f0f1f3;
  color: #777d87;
  font-size: 9px;
}

.seo-checklist li::before {
  content: "○";
  margin-right: 7px;
}

.seo-checklist li.done {
  background: #e7f6ef;
  color: #14714e;
}

.seo-checklist li.done::before {
  content: "✓";
}

.editor-preview {
  max-width: 620px;
  margin: 0 auto;
  padding: 25px;
  background: #fff;
}

.editor-preview > img {
  width: 100%;
  height: 260px;
  margin-bottom: 25px;
  object-fit: cover;
}

.editor-preview h1 {
  margin: 14px 0;
  font-family: var(--font-prata), serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.13;
}

.editor-preview .article-deck {
  font-size: 14px;
}

.editor-preview .story-meta {
  margin-block: 22px 30px;
}

.editor-preview > p:not(.article-deck) {
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1.75;
}

.editor-footer {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  border-top: 1px solid #e4e6ea;
  background: #fff;
}

.editor-footer > div {
  flex: 1;
}

.save-notice {
  color: #267653;
  font-size: 9px;
  font-weight: 700;
}

.admin-primary:disabled,
.admin-secondary:disabled {
  cursor: wait;
  opacity: .65;
}

@media (max-width: 1050px) {
  .main-nav {
    display: none;
  }

  .lead-grid {
    grid-template-columns: 1fr;
  }

  .side-stories {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    border: 0;
  }

  .side-story {
    border: 1px solid var(--ink);
    border-top: 0;
  }

  .editor-note {
    grid-column: 1 / -1;
  }

  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .manifesto {
    grid-template-columns: 1fr;
  }

  .manifesto-board {
    min-height: 380px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.25);
  }

  .newsletter {
    grid-template-columns: 1fr;
  }

  .article-table-head,
  .article-row {
    grid-template-columns: minmax(260px, 1.7fr) 110px 60px 105px 16px;
  }

  .article-table-head > span:nth-child(2),
  .article-row > span:nth-child(2) {
    display: none;
  }
}

@media (max-width: 780px) {
  .shell {
    width: min(100% - 28px, 1240px);
  }

  .topline-inner > span,
  .topline-inner a:first-child,
  .header-inner .button {
    display: none;
  }

  .topline-inner {
    justify-content: flex-end;
  }

  .header-inner {
    min-height: 66px;
  }

  .hero {
    padding-top: 50px;
  }

  .hero > h1 {
    font-size: clamp(52px, 16vw, 78px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .lead-story,
  .lead-grid {
    min-height: 570px;
  }

  .lead-story-content {
    left: 24px;
    right: 24px;
    bottom: 26px;
  }

  .lead-story h2 {
    font-size: 37px;
  }

  .side-stories {
    grid-template-columns: 1fr;
  }

  .editor-note {
    grid-column: auto;
  }

  .ticker-track {
    justify-content: flex-start;
  }

  .materials {
    padding-block: 95px 80px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .article-grid,
  .article-grid-related {
    grid-template-columns: 1fr;
  }

  .manifesto {
    margin-bottom: 70px;
  }

  .manifesto-board {
    min-height: 320px;
  }

  .manifesto-copy {
    padding: 50px 28px;
  }

  .newsletter {
    margin-bottom: 70px;
    padding: 45px 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    align-items: flex-start;
    text-align: left;
  }

  .article-header {
    margin-top: 50px;
  }

  .article-header h1 {
    font-size: 46px;
  }

  .article-deck {
    font-size: 16px;
  }

  .article-byline {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .article-byline-meta {
    width: 100%;
    margin: 18px 0 0;
    padding-left: 55px;
  }

  .article-cover img {
    height: 60vw;
    min-height: 300px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 55px 80px;
  }

  .article-aside {
    position: static;
    display: none;
  }

  .article-content {
    font-size: 18px;
  }

  .article-content blockquote {
    margin-inline: 0;
    padding: 70px 28px 35px;
  }

  .article-content blockquote > span {
    top: 20px;
    left: 28px;
  }

  .article-content blockquote p {
    font-size: 23px;
  }

  .article-cta .shell {
    grid-template-columns: auto 1fr;
  }

  .article-cta .button {
    grid-column: 1 / -1;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 16px;
  }

  .admin-nav,
  .admin-sidebar-bottom {
    display: none;
  }

  .admin-brand {
    padding: 0;
    border: 0;
  }

  .admin-main {
    grid-column: 1;
  }

  .admin-topbar {
    padding-inline: 18px;
  }

  .admin-content {
    width: calc(100% - 28px);
  }

  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .article-table-head {
    display: none;
  }

  .article-row {
    grid-template-columns: 1fr auto;
    gap: 10px;
    min-height: 100px;
  }

  .article-row > span:nth-child(2),
  .article-row > span:nth-child(3),
  .article-row > span:nth-child(4) {
    display: none;
  }

  .article-cell-title {
    grid-row: 1 / span 2;
  }

  .editor-drawer {
    width: 100vw;
  }

  .editor-body {
    padding-inline: 18px;
  }

  .editor-grid,
  .seo-checklist {
    grid-template-columns: 1fr;
  }

  .editor-footer {
    flex-wrap: wrap;
    padding-block: 10px;
  }

  .editor-footer > div {
    width: 100%;
    flex-basis: 100%;
  }
}


:root {
  --font-manrope:"Montserrat";
  --font-prata:"Gentium Book Plus";
  --ink:#2b2b2b;
  --blue:#d54a29;
  --blue-dark:#a93a20;
  --cream:#f6f4f3;
  --paper:#fafbf6;
  --lime:#cfad67;
  --line:#ded8ce;
  --muted:#68635d;
}
[hidden] { display: none !important; }
.topline { background:#1f1f1f; color:#d8d1c6; }
.topline a:hover { color:var(--lime); }
.site-header { border-color:rgba(255,255,255,.1); background:rgba(43,43,43,.97); color:#fff; }
.header-inner { min-height:88px; }
.brand-official { gap:13px; }
.brand-official img { width:31px; height:54px; object-fit:contain; }
.brand-copy { display:flex; flex-direction:column; gap:3px; }
.brand-copy b { font-family:var(--font-prata),Georgia,serif; font-size:17px; font-weight:700; line-height:1; letter-spacing:.01em; }
.brand-copy small { color:var(--lime); font-size:8px; font-weight:700; text-transform:uppercase; letter-spacing:.09em; }
.main-nav a { color:rgba(255,255,255,.88); }
.main-nav a::after { background:var(--lime); }
.button { border-color:var(--blue); background:var(--blue); color:#fff; }
.button:hover { border-color:var(--lime); background:var(--lime); color:var(--ink); }
.hero-layout { border:0 !important; border-radius:30px 30px 0 0; box-shadow:0 22px 70px rgba(54,44,34,.1); overflow:hidden; }
.hero-copy { border-color:#d9d2c8 !important; }
.hero-chapters { border-color:#d9d2c8 !important; border-radius:0 0 30px 30px; box-shadow:0 22px 70px rgba(54,44,34,.08); overflow:hidden; }
.hero-chapter { border-color:#d9d2c8; }
.hero-chapter-proof { background:var(--blue); }
.hero-chapter-proof small,.hero-chapter-proof > span { color:#f4dfad; }
.ticker { width:100%; background:#2b2b2b; transform:none; }
.materials { padding-top:105px; }
.section-heading { border-color:#bfb7ab; }
.category-chip:hover,.category-chip-active { border-color:var(--blue); background:var(--blue); color:#fff; }
.article-card { padding:0 0 22px; border-radius:22px; background:#fff; box-shadow:0 12px 35px rgba(54,44,34,.07); overflow:hidden; }
.card-image { border-radius:22px 22px 0 0; }
.card-body { padding:21px 22px 0; }
.card-number { background:var(--lime); color:var(--ink); }
.card-body h3 a:hover,.author-link:hover,.article-author-link:hover { color:var(--blue); }
.story-meta .author-link { font-weight:800; text-decoration:underline; text-decoration-color:rgba(213,74,41,.35); text-underline-offset:3px; }
.manifesto { border-radius:30px; overflow:hidden; background:linear-gradient(135deg,#2b2b2b 0%,#36312b 54%,#d54a29 180%); }
.newsletter { border-radius:24px; background:#efe6d8; }
.site-footer { background:#2b2b2b; }
.footer-logo-official { display:flex; align-items:center; gap:18px; }
.footer-logo-official img { width:42px; height:72px; object-fit:contain; }
.footer-logo-official p { margin:0; line-height:1.6; }
.footer-contact a { color:var(--lime); }
.article-author-link { display:block; }
.article-source-card { display:grid; grid-template-columns:auto 1fr auto; gap:18px; align-items:center; margin:48px 0; padding:22px 24px; border:1px solid var(--line); border-radius:18px; background:var(--cream); }
.article-source-card img { width:30px; height:52px; }
.article-source-card strong { font-size:12px; }
.article-source-card p { margin:5px 0 0; color:var(--muted); font-size:10px; line-height:1.5; }
.article-source-card a { color:var(--blue); font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.hero-v2 { padding-top:48px; padding-bottom:42px; }
.hero-layout { display:grid; grid-template-columns:minmax(0,.82fr) minmax(520px,1.18fr); min-height:600px; border:1px solid var(--ink); background:var(--cream); }
.hero-copy { display:flex; flex-direction:column; justify-content:center; padding:54px 48px; border-right:1px solid var(--ink); }
.hero-copy h1 { max-width:620px; margin:25px 0 20px; font-family:var(--font-prata),Georgia,serif; font-size:clamp(38px,4vw,58px); font-weight:400; line-height:1.03; letter-spacing:-.035em; }
.hero-copy .hero-lead { max-width:580px; margin:0; color:#4f535a; font-size:16px; line-height:1.7; }
.hero-actions { display:flex; align-items:center; gap:28px; margin-top:34px; }
.hero-text-link { border-bottom:1px solid var(--ink); padding-bottom:5px; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.hero-text-link span { margin-left:12px; color:var(--blue); }
.hero-proof { display:grid; grid-template-columns:repeat(3,1fr); gap:15px; margin-top:auto; padding-top:42px; }
.hero-proof span { padding-top:13px; border-top:1px solid #c9c5bc; color:#777970; font-size:9px; font-weight:700; line-height:1.45; text-transform:uppercase; letter-spacing:.06em; }
.hero-proof b { display:block; margin-bottom:4px; color:var(--ink); font-size:18px; letter-spacing:-.03em; }
.hero-feature { position:relative; min-height:600px; overflow:hidden; color:#fff; }
.hero-feature > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.hero-feature:hover > img { transform:scale(1.025); }
.hero-feature .image-shade { background:linear-gradient(180deg,rgba(10,14,23,.05),rgba(10,14,23,.22) 38%,rgba(10,14,23,.93)); }
.hero-feature-top { position:absolute; z-index:2; top:28px; right:28px; left:28px; display:flex; justify-content:space-between; align-items:center; font-size:10px; font-weight:800; letter-spacing:.08em; }
.hero-feature-copy { position:absolute; z-index:2; right:38px; bottom:38px; left:38px; }
.hero-feature-copy {
  padding:28px 30px;
  border:1px solid rgba(255,255,255,.58);
  border-radius:22px;
  background:rgba(250,251,246,.94);
  color:var(--ink);
  box-shadow:0 20px 55px rgba(20,16,12,.24);
  backdrop-filter:blur(16px);
}
.hero-feature-copy > span { color:var(--blue); font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.12em; }
.hero-feature-copy h2 { max-width:760px; margin:12px 0 14px; font-family:var(--font-prata),Georgia,serif; font-size:clamp(34px,3.5vw,54px); font-weight:400; line-height:1.08; letter-spacing:-.035em; }
.hero-feature-copy p { max-width:660px; margin:0 0 22px; color:#5c5b57; font-size:13px; line-height:1.65; }
.hero-feature-copy .story-meta-light { color:#696861; }
.hero-feature-copy .story-meta-light .author-link { color:var(--blue); }
.hero-chapters { display:grid; grid-template-columns:repeat(3,1fr); border:1px solid var(--ink); border-top:0; }
.hero-chapter { min-height:128px; display:grid; grid-template-columns:auto 1fr auto; gap:17px; align-items:start; padding:25px 28px; border-right:1px solid var(--ink); background:var(--paper); transition:background-color .2s ease,box-shadow .2s ease,transform .2s ease; }
.hero-chapter:last-child { border-right:0; }
.hero-chapter:hover { position:relative; z-index:1; background:#fffaf3; box-shadow:0 12px 28px rgba(73,57,43,.12); transform:translateY(-2px); }
.hero-chapter > span { color:var(--blue); font-family:var(--font-prata),serif; font-size:20px; }
.hero-chapter small { color:#7b7e84; font-size:8px; font-weight:800; text-transform:uppercase; letter-spacing:.1em; }
.hero-chapter h3 { margin:8px 0 0; font-size:12px; line-height:1.45; }
.hero-chapter b { color:var(--blue); font-size:16px; }
.hero-chapter-proof { background:var(--blue); color:#fff; }
.hero-chapter-proof small { color:var(--lime); }
.hero-chapter-proof > span { color:var(--lime); }
.hero-chapter-proof:hover { background:#a83e20; color:#fff; }
.hero-chapter-proof:hover small,
.hero-chapter-proof:hover > span { color:#f4dfad; }
.telegram-section { padding:96px 0 105px; background:#131925; color:#fff; }
.telegram-heading { display:grid; grid-template-columns:1.1fr .9fr; gap:80px; align-items:end; margin-bottom:48px; }
.telegram-heading h2 { margin:13px 0 0; font-family:var(--font-prata),Georgia,serif; font-size:clamp(38px,4.4vw,62px); font-weight:400; line-height:1.05; }
.telegram-heading > div:last-child { padding-left:30px; border-left:1px solid rgba(255,255,255,.18); }
.telegram-heading p { margin:0 0 17px; color:rgba(255,255,255,.62); font-size:12px; line-height:1.7; }
.telegram-heading a { color:var(--lime); font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.09em; }
.telegram-grid { display:grid; grid-template-columns:repeat(12,1fr); gap:16px; }
.telegram-card { grid-column:span 3; min-width:0; overflow:hidden; border:1px solid rgba(255,255,255,.14); background:#1a2231; }
.telegram-card-1,.telegram-card-6 { grid-column:span 6; }
.telegram-card-image { position:relative; display:block; aspect-ratio:1.12; overflow:hidden; background:#202a3c; }
.telegram-card-1 .telegram-card-image,.telegram-card-6 .telegram-card-image { aspect-ratio:2.15; }
.telegram-card-image::after { position:absolute; content:""; inset:0; background:linear-gradient(180deg,transparent 46%,rgba(7,10,17,.75)); }
.telegram-card-image img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.telegram-card:hover .telegram-card-image img { transform:scale(1.035); }
.telegram-card-source { position:absolute; z-index:2; right:14px; bottom:13px; left:14px; color:#fff; font-size:8px; font-weight:800; text-transform:uppercase; letter-spacing:.09em; }
.telegram-card-body { padding:20px 19px 22px; }
.telegram-card-meta { display:flex; justify-content:space-between; gap:10px; color:#8f9bad; font-size:8px; text-transform:uppercase; letter-spacing:.05em; }
.telegram-card h3 { margin:13px 0 10px; font-family:var(--font-prata),Georgia,serif; font-size:22px; font-weight:400; line-height:1.23; }
.telegram-card h3 a:hover { color:var(--lime); }
.telegram-card p { display:-webkit-box; margin:0; overflow:hidden; color:#aeb7c4; font-size:10px; line-height:1.62; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
.telegram-card-link { display:flex; justify-content:space-between; margin-top:20px; padding-top:13px; border-top:1px solid rgba(255,255,255,.12); color:var(--lime); font-size:8px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.telegram-all { width:fit-content; display:flex; gap:55px; margin:34px 0 0 auto; border-bottom:1px solid rgba(216,255,79,.55); padding-bottom:7px; color:var(--lime); font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.telegram-empty { padding:55px; border:1px solid rgba(255,255,255,.15); color:#aeb7c4; text-align:center; font-size:12px; }
.collection-hero { padding:68px 0 62px; }
.collection-hero-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:90px; align-items:end; padding-bottom:55px; border-bottom:1px solid var(--ink); }
.collection-hero h1 { max-width:760px; margin:15px 0 0; font-family:var(--font-prata),Georgia,serif; font-size:clamp(46px,6vw,78px); font-weight:400; line-height:1.02; letter-spacing:-.045em; }
.collection-hero-grid p { margin:0 0 24px; color:#565a61; font-size:14px; line-height:1.7; }
.telegram-archive { padding-bottom:110px; }
.telegram-grid-light .telegram-card { border-color:#d7d4cc; background:#fff; color:var(--ink); }
.telegram-grid-light .telegram-card-meta { color:#7c8086; }
.telegram-grid-light .telegram-card p { color:#676b72; }
.telegram-grid-light .telegram-card-link { border-color:#ddd9d0; color:var(--blue); }
.telegram-grid-light .telegram-card h3 a:hover { color:var(--blue); }
.telegram-article { padding-top:52px; }
.telegram-article-header { max-width:980px; margin:58px auto 48px; text-align:center; }
.telegram-article-header h1 { margin:20px auto 18px; font-family:var(--font-prata),Georgia,serif; font-size:clamp(42px,5.6vw,76px); font-weight:400; line-height:1.08; letter-spacing:-.04em; }
.telegram-article-header > p { max-width:760px; margin:0 auto; color:#62666d; font-size:17px; line-height:1.65; }
.telegram-article-meta { display:flex; justify-content:center; align-items:center; gap:12px; margin-top:28px; color:#777b82; font-size:9px; }
.telegram-article-meta > div { margin-right:17px; text-align:left; }
.telegram-article-meta strong,.telegram-article-meta small { display:block; }
.telegram-article-meta small { margin-top:3px; color:#92959a; }
.telegram-article-meta time,.telegram-article-meta > span { padding-left:18px; border-left:1px solid #d3d0c8; }
.telegram-article-cover { width:min(1040px,100%); margin:0 auto; overflow:hidden; background:#171e2c; }
.telegram-article-cover img { width:100%; max-height:720px; object-fit:cover; }
.telegram-article-layout { display:grid; grid-template-columns:190px minmax(0,740px); justify-content:center; gap:70px; padding:65px 0 105px; }
.telegram-article-layout > aside { position:sticky; top:140px; height:fit-content; padding-top:15px; border-top:2px solid var(--ink); }
.telegram-article-layout > aside > span { color:var(--blue); font-size:8px; font-weight:900; text-transform:uppercase; letter-spacing:.1em; }
.telegram-article-layout > aside p { color:#74777d; font-size:10px; line-height:1.6; }
.telegram-article-layout > aside a { color:var(--blue); font-size:9px; font-weight:800; }
.telegram-body > p { margin:0 0 27px; font-family:Georgia,serif; font-size:19px; line-height:1.82; }
.telegram-source-note { display:grid; grid-template-columns:auto 1fr auto; gap:18px; align-items:center; margin-top:50px; padding:24px; border:1px solid #d9d5cd; background:var(--cream); }
.telegram-source-note > b { display:grid; width:44px; height:44px; place-content:center; border-radius:50%; background:var(--blue); color:#fff; font-family:var(--font-prata),serif; }
.telegram-source-note strong { font-size:11px; }
.telegram-source-note p { margin:5px 0 0; color:#74777d; font-size:9px; line-height:1.5; }
.telegram-source-note a { color:var(--blue); font-size:9px; font-weight:800; }
.telegram-grid-related { grid-template-columns:repeat(3,1fr); }
.telegram-grid-related .telegram-card { grid-column:auto; border-color:#d7d4cc; background:#fff; color:var(--ink); }
.telegram-grid-related .telegram-card-image { aspect-ratio:1.5; }
.telegram-grid-related .telegram-card-meta { color:#7c8086; }
.telegram-grid-related .telegram-card p { color:#676b72; }
.telegram-grid-related .telegram-card-link { border-color:#ddd9d0; color:var(--blue); }
.admin-page-body { background: var(--admin-bg); }
.demo-banner { display:flex; align-items:center; gap:16px; margin-bottom:24px; padding:15px 18px; border:1px solid #dce2c4; border-radius:8px; background:#f6f9e8; color:#48502d; font-size:10px; line-height:1.5; }
.demo-banner strong { flex:0 0 auto; color:#25315d; font-size:11px; }
.demo-banner span { flex:1; }
.demo-banner button { border:0; border-bottom:1px solid currentColor; padding:2px 0; background:transparent; color:#526024; font-size:9px; font-weight:800; }
.demo-banner button:disabled { cursor:wait; opacity:.55; }
.editor-panel { display:flex; flex-direction:column; gap:22px; }
.editor-panel[hidden] { display:none; }
.editor-form .toggle-field { min-height:44px; flex-direction:row; align-items:center; align-self:end; gap:10px; padding:10px 0; line-height:1.4; }
.editor-form .toggle-field input { width:18px; height:18px; flex:0 0 auto; margin:0; accent-color:var(--blue); }
.admin-danger { min-height:36px; border:1px solid #e3b9b9; border-radius:5px; padding:0 13px; background:#fff; color:#a43636; font-size:9px; font-weight:800; }
.admin-danger:hover { background:#fff2f2; }
.admin-danger:disabled { cursor:wait; opacity:.55; }
.editor-preview #preview-content p { margin:0 0 18px; color:#3f444d; font-family:Georgia,serif; font-size:15px; line-height:1.75; }
.editor-preview #preview-content { padding-top:24px; border-top:1px solid #e5e6e8; }
.admin-toast { position:fixed; z-index:90; right:24px; bottom:24px; transform:translateY(20px); padding:13px 18px; border-radius:6px; background:#171b24; color:#fff; font-size:10px; opacity:0; pointer-events:none; transition:.2s ease; }
.admin-toast.visible { transform:none; opacity:1; }

/* RSH brand pass */
.site-header { background:rgba(250,251,246,.97); color:var(--ink); box-shadow:0 8px 28px rgba(43,43,43,.06); }
.header-inner { min-height:84px; }
.main-nav a { color:var(--ink); }
.main-nav .nav-current { color:var(--blue); }
.main-nav .nav-current::after { right:0; transform:scaleX(1); }
.brand-copy b { color:var(--ink); }
.brand-copy small { color:#9a6f28; }
.hero-v2 { padding-top:38px; }
.hero-layout { grid-template-columns:minmax(0,.9fr) minmax(500px,1.1fr); min-height:560px; border-radius:30px !important; }
.hero-copy { min-height:560px; padding:52px 54px; background:#f6f4f3; }
.hero-copy::before { width:70px; height:5px; margin-bottom:23px; border-radius:99px; background:linear-gradient(90deg,var(--blue) 0 66%,var(--lime) 66%); content:""; }
.hero-copy h1 { max-width:570px; margin-top:18px; font-size:clamp(40px,4.1vw,58px); }
.hero-kicker { color:#8f6725; }
.hero-feature { min-height:560px; border-radius:0 30px 30px 0; }
.hero-feature-copy h2 { font-size:clamp(32px,3.2vw,49px); }
.hero-chapters { margin-top:16px; border:0; border-radius:22px; box-shadow:none; gap:1px; background:#d9d2c8; }
.hero-chapter { min-height:116px; border:0; }
.hero-chapter:first-child { border-radius:22px 0 0 22px; }
.hero-chapter:last-child { border-radius:0 22px 22px 0; }
.school-proof { margin-top:26px; background:#c9502a; color:#fff; }
.school-proof-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.school-proof-grid > div { min-height:128px; display:flex; flex-direction:column; justify-content:center; padding:24px 30px; border-right:1px solid rgba(255,255,255,.23); }
.school-proof-grid > div:last-child { border-right:0; }
.school-proof strong { font-family:var(--font-prata),Georgia,serif; font-size:34px; font-weight:700; line-height:1; }
.school-proof span { margin-top:9px; color:rgba(255,255,255,.78); font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.materials { padding-top:96px; }
.section-heading h2,.newsletter h2,.related h2 { color:#2b2b2b; }
.category-chip { display:inline-flex; align-items:center; justify-content:center; }
.article-grid { gap:34px 22px; }
.article-card { border:1px solid #e4dfd7; box-shadow:0 10px 30px rgba(73,57,43,.055); transition:transform .25s ease,box-shadow .25s ease; }
.article-card:hover { transform:translateY(-4px); box-shadow:0 20px 45px rgba(73,57,43,.1); }
.card-body h3 { font-size:25px; }
.card-body > p { min-height:64px; }
.story-tag-dark { border-color:rgba(201,80,42,.25); background:#fff6f1; color:#a83e20; }
.card-number { width:42px; height:42px; background:#c9502a; color:#fff; }
.author-profile-link { display:block; width:max-content; margin-top:5px; color:var(--blue); font-size:8px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.collection-hero { padding-top:58px; }
.collection-hero-grid { border-color:#bfb7ab; }
.collection-hero h1 { color:#2b2b2b; }
.category-archive { padding-bottom:110px; }
.author-hero { display:grid; grid-template-columns:260px minmax(0,1fr) 260px; gap:54px; align-items:center; margin-top:55px; padding:58px; border-radius:30px; background:#2b2b2b; color:#fff; }
.author-monogram { display:grid; width:220px; height:220px; place-items:center; border:1px solid rgba(255,255,255,.2); border-radius:50%; background:radial-gradient(circle at 35% 30%,#d6a386,#c9502a 68%); font-family:var(--font-prata),Georgia,serif; font-size:68px; }
.author-hero-copy h1 { margin:10px 0 14px; font-family:var(--font-prata),Georgia,serif; font-size:58px; line-height:1; }
.author-hero-copy p { margin:0; color:rgba(255,255,255,.67); font-size:14px; line-height:1.75; }
.author-actions { display:flex; align-items:center; gap:24px; margin-top:27px; }
.author-actions > a:last-child { color:var(--lime); font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.07em; }
.author-facts { display:grid; gap:22px; }
.author-facts div { padding:0 0 19px; border-bottom:1px solid rgba(255,255,255,.16); }
.author-facts strong,.author-facts span { display:block; }
.author-facts strong { color:var(--lime); font-family:var(--font-prata),serif; font-size:26px; }
.author-facts span { margin-top:5px; color:rgba(255,255,255,.6); font-size:9px; text-transform:uppercase; }
.author-materials { padding-top:90px; }
.footer-logo-official p span { color:var(--lime); font-family:var(--font-manrope),sans-serif; font-size:8px; text-transform:uppercase; letter-spacing:.08em; }
.footer-contact .footer-telegram { font-family:var(--font-manrope),sans-serif; font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; margin-top:42px; padding-top:24px; border-top:1px solid rgba(255,255,255,.12); color:rgba(255,255,255,.45); font-size:9px; }

/* Editorial control center */
.admin-page-body { background:#f1f0ed; }
.admin-sidebar { background:#242321; }
.admin-brand { display:flex; align-items:center; gap:13px; padding-bottom:26px; border-bottom:1px solid rgba(255,255,255,.12); }
.admin-brand img { width:30px; height:51px; object-fit:contain; }
.admin-brand small { color:#fff; font-family:var(--font-prata),Georgia,serif; font-size:14px; line-height:1.25; }
.admin-nav button { min-height:45px; border-radius:8px; }
.admin-nav button:not(.admin-nav-active):hover { background:rgba(255,255,255,.06); color:#fff; }
.admin-nav-active { background:#c9502a !important; color:#fff !important; }
.admin-content { max-width:1500px; }
.admin-section[hidden] { display:none !important; }
.admin-eyebrow { color:#a66e22; font-size:8px; font-weight:900; text-transform:uppercase; letter-spacing:.12em; }
.admin-title-row h1 { margin-top:7px; }
.overview-metrics { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin:28px 0 22px; }
.overview-metrics > div { min-height:128px; padding:22px; border:1px solid #e2dfd8; border-radius:13px; background:#fff; box-shadow:0 8px 25px rgba(40,35,30,.035); }
.overview-metrics span,.overview-metrics small,.overview-metrics strong { display:block; }
.overview-metrics span { color:#77736c; font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.overview-metrics strong { margin:16px 0 7px; color:#292724; font-family:var(--font-prata),serif; font-size:32px; }
.overview-metrics small { color:#9b968e; font-size:9px; }
.admin-dashboard-grid { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr); gap:18px; }
.admin-card { overflow:hidden; border:1px solid #e2dfd8; border-radius:13px; background:#fff; box-shadow:0 8px 25px rgba(40,35,30,.035); }
.admin-card > header { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:22px 24px; border-bottom:1px solid #ece9e3; }
.admin-card > header h2,.admin-card > h2 { margin:5px 0 0; font-size:17px; }
.admin-card > header button { border:0; background:transparent; color:#c9502a; font-size:9px; font-weight:800; }
.overview-recent button { width:100%; display:grid; grid-template-columns:52px 1fr auto; gap:13px; align-items:center; padding:12px 24px; border:0; border-bottom:1px solid #f0ede7; background:#fff; text-align:left; }
.overview-recent button:hover { background:#faf8f5; }
.overview-recent img { width:52px; height:44px; border-radius:7px; object-fit:cover; }
.overview-recent strong,.overview-recent small { display:block; }
.overview-recent strong { font-size:10px; line-height:1.35; }
.overview-recent small,.overview-recent i { margin-top:4px; color:#99938a; font-size:8px; font-style:normal; }
.pipeline-card ol { margin:0; padding:8px 24px 20px; list-style:none; }
.pipeline-card li { position:relative; display:flex; gap:13px; padding:14px 0; }
.pipeline-card li:not(:last-child)::after { position:absolute; top:40px; bottom:-5px; left:13px; width:1px; background:#ded9d0; content:""; }
.pipeline-card li > b { z-index:1; display:grid; width:27px; height:27px; flex:0 0 auto; place-items:center; border-radius:50%; background:#c9502a; color:#fff; font-size:9px; }
.pipeline-card strong,.pipeline-card span { display:block; }
.pipeline-card strong { font-size:10px; }
.pipeline-card span { margin-top:4px; color:#8f8a82; font-size:8px; line-height:1.4; }
.integration-status-line { display:flex; align-items:center; gap:10px; margin:5px 0 22px; padding:13px 17px; border:1px solid #d9e5d2; border-radius:10px; background:#f6fbf2; color:#537347; font-size:9px; }
.status-dot { width:8px; height:8px; border-radius:50%; background:#54a43c; box-shadow:0 0 0 4px rgba(84,164,60,.12); }
.integration-status-line span:last-child { margin-left:auto; color:#8b9786; }
.inbox-feed > div { display:grid; grid-template-columns:58px 1fr auto; gap:13px; align-items:center; padding:12px 22px; border-bottom:1px solid #efede8; }
.inbox-feed img { width:58px; height:48px; border-radius:8px; object-fit:cover; }
.inbox-feed strong,.inbox-feed small { display:block; }
.inbox-feed strong { font-size:10px; line-height:1.35; }
.inbox-feed small { margin-top:4px; color:#99938a; font-size:8px; }
.inbox-feed i { padding:5px 8px; border-radius:99px; background:#edf7e9; color:#4e7c41; font-size:7px; font-style:normal; font-weight:800; }
.bot-inbox-list { padding:20px; }
.bot-inbox-list p { margin:0; color:#88837c; font-size:10px; line-height:1.6; }
.bot-inbox-list > div { display:flex; justify-content:space-between; gap:10px; padding:11px 0; border-bottom:1px solid #eee; }
.bot-inbox-list strong,.bot-inbox-list small { display:block; font-size:9px; }
.bot-inbox-list small { margin-top:4px; color:#999; }
.bot-inbox-list i { color:#999; font-size:8px; font-style:normal; }
.seo-dashboard-head { display:grid; grid-template-columns:260px 1fr; gap:25px; align-items:center; margin:8px 0 20px; padding:25px; border-radius:14px; background:#292724; color:#fff; }
.seo-dashboard-score strong { display:block; color:#d6a386; font-family:var(--font-prata),serif; font-size:48px; }
.seo-dashboard-score span { color:rgba(255,255,255,.55); font-size:9px; text-transform:uppercase; }
.seo-dashboard-head ul { display:grid; grid-template-columns:repeat(2,1fr); gap:11px 25px; margin:0; padding:0; list-style:none; }
.seo-dashboard-head li { color:rgba(255,255,255,.72); font-size:9px; }
.seo-dashboard-head li::before { margin-right:8px; color:#d6a386; content:"✓"; }
.seo-dashboard-list button { width:100%; display:grid; grid-template-columns:1fr 70px 150px; gap:15px; align-items:center; padding:14px 22px; border:0; border-bottom:1px solid #eeeae4; background:#fff; text-align:left; }
.seo-dashboard-list button:hover { background:#faf8f5; }
.seo-dashboard-list strong,.seo-dashboard-list small { display:block; }
.seo-dashboard-list strong { font-size:10px; }
.seo-dashboard-list small { margin-top:4px; color:#9b968e; font-size:8px; }
.seo-dashboard-list i { padding:6px 8px; border-radius:99px; text-align:center; font-size:8px; font-style:normal; font-weight:800; }
.seo-dashboard-list b { color:#8e8880; font-size:8px; text-align:right; }
.seo-bad { background:#fff0ed; color:#b3432b; }
.integration-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:17px; }
.integration-cards article { display:grid; grid-template-columns:54px 1fr; gap:17px; min-height:240px; padding:24px; border:1px solid #e1ddd5; border-radius:14px; background:#fff; }
.integration-icon { display:grid; width:54px; height:54px; place-items:center; border-radius:14px; background:#2aabee; color:#fff; font-size:10px; font-weight:900; }
.integration-icon.bot { background:#292724; }
.integration-icon.bitrix { background:#19b9e7; }
.integration-cards small { color:#a29b92; font-size:8px; text-transform:uppercase; }
.integration-cards h2 { margin:8px 0 10px; font-size:16px; }
.integration-cards p { min-height:70px; margin:0 0 18px; color:#7e7972; font-size:9px; line-height:1.6; }
.integration-cards b { color:#8b857d; font-size:8px; }
.integration-cards .connected { color:#4f873e; }
.integration-cards .planned { color:#a26d24; }
.security-note { margin-top:18px; padding:18px 22px; border-left:4px solid #d6a386; border-radius:7px; background:#fff8ed; }
.security-note strong { font-size:10px; }
.security-note p { margin:6px 0 0; color:#7e7467; font-size:9px; line-height:1.55; }
.settings-grid { display:grid; grid-template-columns:1fr 1.2fr; gap:18px; }
.settings-grid .admin-card { padding:24px; }
.settings-grid .admin-card > h2 { margin-bottom:22px; }
.settings-author { display:flex; align-items:center; }
.settings-author strong,.settings-author small,.settings-author a { display:block; }
.settings-author strong { font-size:11px; }
.settings-author small { margin:4px 0 8px; color:#8c867e; font-size:8px; }
.settings-author a { color:#c9502a; font-size:8px; font-weight:800; }
.settings-list { margin:0; padding:0; list-style:none; }
.settings-list li { display:flex; justify-content:space-between; gap:20px; padding:13px 0; border-bottom:1px solid #eeeae4; font-size:9px; }
.settings-list b { color:#5c7b50; text-align:right; }

@media (max-width:1050px) {
  .hero-layout { grid-template-columns:1fr; }
  .hero-copy { min-height:560px; border-right:0; border-bottom:1px solid var(--ink); }
  .hero-feature { min-height:560px; border-radius:0 0 30px 30px; }
  .school-proof-grid { grid-template-columns:repeat(2,1fr); }
  .school-proof-grid > div:nth-child(2) { border-right:0; }
  .school-proof-grid > div:nth-child(-n+2) { border-bottom:1px solid rgba(255,255,255,.23); }
  .author-hero { grid-template-columns:190px 1fr; }
  .author-monogram { width:180px; height:180px; }
  .author-facts { grid-column:1/-1; grid-template-columns:repeat(3,1fr); }
  .overview-metrics { grid-template-columns:repeat(2,1fr); }
  .admin-dashboard-grid { grid-template-columns:1fr; }
  .integration-cards { grid-template-columns:1fr; }
  .telegram-card { grid-column:span 4; }
  .telegram-card-1,.telegram-card-6 { grid-column:span 8; }
}
@media (max-width:780px) {
  .topline-inner > span { display:none; }
  .topline-inner { justify-content:flex-end; }
  .brand-copy b { font-size:14px; }
  .brand-copy small { display:none; }
  .brand-official img { width:25px; height:44px; }
  .header-inner { min-height:70px; }
  .main-nav { display:none; }
  .hero-v2 { padding-top:24px; }
  .hero-layout { min-height:0; }
  .hero-copy { min-height:0; padding:40px 24px; }
  .hero-copy h1 { font-size:42px; }
  .hero-actions { align-items:flex-start; flex-direction:column; }
  .hero-proof { grid-template-columns:1fr; padding-top:35px; }
  .hero-feature { min-height:500px; }
  .hero-feature-copy { right:23px; bottom:24px; left:23px; }
  .hero-feature-copy h2 { font-size:35px; }
  .hero-chapters { grid-template-columns:1fr; }
  .hero-chapter,.hero-chapter:first-child,.hero-chapter:last-child { border-radius:0; border-right:0; border-bottom:1px solid var(--ink); }
  .hero-chapter:last-child { border-bottom:0; }
  .school-proof-grid { grid-template-columns:1fr 1fr; }
  .school-proof-grid > div { min-height:105px; padding:20px; }
  .school-proof strong { font-size:26px; }
  .author-hero { grid-template-columns:1fr; padding:30px 24px; }
  .author-monogram { width:130px; height:130px; font-size:45px; }
  .author-hero-copy h1 { font-size:45px; }
  .author-facts { grid-template-columns:1fr; }
  .overview-metrics { grid-template-columns:1fr 1fr; }
  .overview-metrics > div { min-height:110px; padding:17px; }
  .overview-metrics strong { font-size:26px; }
  .seo-dashboard-head { grid-template-columns:1fr; }
  .seo-dashboard-head ul { grid-template-columns:1fr; }
  .seo-dashboard-list button { grid-template-columns:1fr auto; }
  .seo-dashboard-list b { display:none; }
  .settings-grid { grid-template-columns:1fr; }
  .inbox-feed > div { grid-template-columns:48px 1fr; }
  .inbox-feed i { grid-column:2; width:max-content; }
  .footer-bottom { flex-direction:column; }
  .telegram-section { padding:70px 0; }
  .telegram-heading,.collection-hero-grid { grid-template-columns:1fr; gap:30px; }
  .telegram-heading > div:last-child { padding:22px 0 0; border-top:1px solid rgba(255,255,255,.18); border-left:0; }
  .telegram-card,.telegram-card-1,.telegram-card-6 { grid-column:span 12; }
  .telegram-card-1 .telegram-card-image,.telegram-card-6 .telegram-card-image { aspect-ratio:1.35; }
  .collection-hero h1,.telegram-article-header h1 { font-size:45px; }
  .telegram-article-meta { align-items:flex-start; flex-wrap:wrap; }
  .telegram-article-meta time,.telegram-article-meta > span { border-left:0; padding-left:0; }
  .telegram-article-layout { grid-template-columns:1fr; gap:35px; padding-top:45px; }
  .telegram-article-layout > aside { position:static; }
  .telegram-source-note { grid-template-columns:auto 1fr; }
  .telegram-source-note a { grid-column:1/-1; }
  .telegram-grid-related { grid-template-columns:1fr; }
  .article-source-card { grid-template-columns:auto 1fr; }
  .article-source-card a { grid-column:1/-1; }
  .demo-banner { align-items:flex-start; flex-direction:column; }
}

/* Bitrix integration: the CMS supplies data, this layer owns the public view. */
.journal-app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.journal-app button {
  appearance: none;
}

.journal-app .category-chip {
  cursor: pointer;
}

.journal-app .article-card[hidden] {
  display: none !important;
}

.journal-app .article-content {
  min-width: 0;
}

.journal-app .article-content > :first-child {
  margin-top: 0;
}

.journal-app .article-content img,
.journal-app .article-content iframe,
.journal-app .article-content video {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.journal-app .article-content h2,
.journal-app .article-content h3 {
  margin: 1.7em 0 .65em;
  font-family: var(--font-prata), Georgia, serif;
  line-height: 1.15;
}

.journal-app .article-content ul,
.journal-app .article-content ol {
  margin: 1.2em 0;
  padding-left: 1.4em;
}

.journal-app .article-content li {
  margin: .55em 0;
}

.journal-not-found {
  padding-block: 110px 140px;
}

.journal-not-found h1 {
  max-width: 720px;
  margin: 18px 0;
  font-family: var(--font-prata), Georgia, serif;
  font-size: clamp(46px, 7vw, 88px);
  line-height: .95;
}

.journal-not-found p {
  margin: 0 0 28px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .journal-app .article-content {
    font-size: 16px;
  }

  .journal-not-found {
    padding-block: 72px 96px;
  }
}

/* Header aligned with the main RSH website, without its promo strip */
.journal-main-header {
  position: sticky;
  z-index: 900;
  top: 0;
  width: 100%;
  border-bottom: 1px solid rgba(215, 160, 61, 0.35);
  background: #272727;
  color: #fff;
}

.journal-main-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1240px, calc(100% - 40px));
  min-height: 96px;
  margin: 0 auto;
}

.journal-main-header__brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.journal-main-header__brand img {
  width: 36px;
  height: 64px;
  margin-right: 10px;
  object-fit: contain;
}

.journal-main-header__brand > span {
  display: flex;
  align-items: center;
}

.journal-main-header__brand b {
  width: 86px;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 10px;
  font-weight: 700;
  line-height: .92;
  text-transform: uppercase;
}

.journal-main-header__brand small {
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid rgba(215, 160, 61, 0.55);
  color: #fff;
  font-size: 7px;
  font-weight: 700;
  line-height: 1.35;
}

.journal-main-header__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(11px, 1.2vw, 19px);
  min-width: 0;
}

.journal-main-header__menu a {
  position: relative;
  color: #fff;
  font-size: clamp(10px, .78vw, 12px);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.journal-main-header__menu a::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  background: #d7a03d;
  content: "";
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity .2s ease, transform .2s ease;
}

.journal-main-header__menu a:hover,
.journal-main-header__menu a.is-current {
  color: #e3ae47;
}

.journal-main-header__menu a:hover::after,
.journal-main-header__menu a.is-current::after {
  opacity: 1;
  transform: scaleX(1);
}

.journal-main-header__account {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 15px;
}

.journal-main-header__account > a:first-child {
  display: flex;
  flex-direction: column;
  color: #fff;
  text-decoration: none;
}

.journal-main-header__account b {
  font-size: 11px;
  line-height: 1.1;
}

.journal-main-header__account span {
  margin-top: 6px;
  color: #e3ae47;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}

.journal-main-header__cart {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
}

.journal-main-header__cart img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.journal-main-header__cart em {
  position: absolute;
  right: -7px;
  bottom: -4px;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: #e04a2c;
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.journal-main-header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: transparent;
}

.journal-main-header__toggle > span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 3px;
  background: #fff;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1180px) {
  .journal-main-header__inner {
    position: relative;
  }

  .journal-main-header__toggle {
    display: block;
    margin-left: auto;
  }

  .journal-main-header__menu {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(215, 160, 61, 0.35);
    border-top: 0;
    background: #272727;
    box-shadow: 0 18px 35px rgba(0,0,0,.24);
  }

  .journal-main-header__menu.is-open {
    display: grid;
  }

  .journal-main-header__menu a {
    padding: 14px 12px;
    font-size: 12px;
  }

  .journal-main-header__menu a::after {
    display: none;
  }
}

@media (max-width: 680px) {
  .journal-main-header__inner {
    width: min(100% - 24px, 1240px);
    min-height: 76px;
    gap: 10px;
  }

  .journal-main-header__brand img {
    width: 29px;
    height: 52px;
    margin-right: 8px;
  }

  .journal-main-header__brand b {
    width: 76px;
    font-size: 9px;
  }

  .journal-main-header__brand small,
  .journal-main-header__account > a:first-child {
    display: none;
  }

  .journal-main-header__menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* RSH_SELECTED_GROUP_EMERALD_V1_START */
#rsh-schedule-page.rsh-schedule .rsh-slot.is-selected{border-color:#009b77!important;border-left-color:#006f59!important;background:linear-gradient(145deg,#e8fcf7,#cff5e9)!important;box-shadow:inset 0 0 0 1px #009b77,0 0 0 3px rgba(0,155,119,.25),0 12px 24px rgba(0,111,89,.2)!important;transform:translateY(-2px)}
#rsh-schedule-page.rsh-schedule .rsh-slot.is-selected:hover{border-color:#006f59!important;background:linear-gradient(145deg,#ddf9f2,#c2efdf)!important;box-shadow:inset 0 0 0 1px #006f59,0 0 0 4px rgba(0,155,119,.29),0 14px 26px rgba(0,111,89,.23)!important}
#rsh-schedule-page .rsh-slot.is-selected .rsh-calendar-slot__pick{min-height:29px;gap:7px;color:#006f59!important;font-weight:950}
#rsh-schedule-page .rsh-slot.is-selected .rsh-calendar-slot__pick:before{width:24px;height:24px;min-width:24px;min-height:24px;box-sizing:border-box;flex:0 0 24px;border:2px solid #006f59!important;background:#009b77!important;color:#fff!important;font-size:15px;font-weight:950;line-height:1;box-shadow:0 3px 8px rgba(0,111,89,.3)}
#rsh-schedule-page .rsh-group-card.is-selected{border-color:#009b77!important;background:linear-gradient(145deg,#e8fcf7,#cff5e9)!important;box-shadow:inset 0 0 0 1px #009b77,0 0 0 3px rgba(0,155,119,.23),0 12px 26px rgba(0,111,89,.18)!important}
#rsh-schedule-page .rsh-group-card.is-selected [data-select-session]{background:#009b77!important}
@media(max-width:700px){#rsh-schedule-page .rsh-slot.is-selected .rsh-calendar-slot__pick:before{width:24px;height:24px;min-width:24px;min-height:24px;flex-basis:24px}}
/* RSH_SELECTED_GROUP_EMERALD_V1_END */
