/* reStruggle overlay on Ghost Source 1.7.4. */
:root,
:root.has-light-text {
  --color-primary-text: #f4f1eb;
  --color-darker-gray: #f4f1eb;
  --color-secondary-text: #b6b2aa;
  --color-border: #3a3a38;
  --color-dark-border: #8c8982;
  --color-lighter-gray: #141413;
  --font-sans: "Inter", system-ui, sans-serif;
  --container-width: 1240px;
  color-scheme: dark;
}

::selection { color: #050505; background: #fb806f; }
:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #fb806f;
  outline-offset: 5px;
}
.gh-navigation { border-bottom: 1px solid var(--color-border); }
.gh-navigation-logo, .gh-footer-logo { display: inline-flex; align-items: center; gap: 10px; }
.rs-wordmark {
  border: 1px solid currentColor;
  padding: 6px 10px;
  font: 700 14px/20px "Inter", system-ui, sans-serif;
  letter-spacing: -0.35px;
}
.rs-brand-label { font: 500 11px/1 "Inter", system-ui, sans-serif; letter-spacing: 0.08em; color: #fb806f; }
.gh-navigation-menu .nav-current a { text-decoration: underline; text-underline-offset: 7px; }
.gh-button {
  min-height: 44px;
  color: #050505;
  background: #fb806f;
}
.gh-icon-button { min-width: 44px; min-height: 44px; }
.rs-home { padding-top: 0; }
.rs-masthead { display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; align-items: end; padding-block: 64px 56px; }
.rs-eyebrow { font: 550 11px/1.5 var(--font-sans); letter-spacing: 0.12em; text-transform: uppercase; color: #fb806f; }
.rs-masthead h1 { margin-top: 20px; font-size: clamp(5.2rem, 7.5vw, 10rem); font-weight: 500; letter-spacing: -0.045em; line-height: 0.96; }
.rs-intro { max-width: 340px; padding-bottom: 8px; font-size: 1.7rem; line-height: 1.65; color: var(--color-secondary-text); }
.rs-intro a, .rs-editor-note a { display: inline-block; margin-top: 22px; color: var(--color-primary-text); font-size: 1.3rem; text-decoration: underline; text-underline-offset: 5px; }
.rs-sections { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--color-border); }
.rs-sections > a { padding: 28px 28px 32px; transition: background 150ms; }
.rs-sections > a:first-child { padding-left: 0; }
.rs-sections > a:last-child { padding-right: 0; }
.rs-sections > a + a { border-left: 1px solid var(--color-border); }
.rs-sections > a:hover h2 { color: #fb806f; }
.rs-section-number { font: 500 11px/1.4 var(--font-sans); color: var(--color-secondary-text); }
.rs-sections h2 { display: flex; justify-content: space-between; align-items: center; margin-block: 12px; font-size: 3.6rem; font-weight: 500; }
.rs-sections h2 span { font: 400 20px/1 var(--font-sans); color: #fb806f; }
.rs-sections p { max-width: 30ch; font-size: 1.4rem; line-height: 1.6; color: var(--color-secondary-text); }
.rs-editor-note { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 32px; align-items: start; padding-block: 48px; }
.rs-editor-note h2 { font-size: 3.4rem; font-weight: 500; line-height: 1.08; }
.rs-editor-note > div { font-size: 1.4rem; line-height: 1.65; color: var(--color-secondary-text); }
.rs-editor-note a { margin-top: 14px; }
.rs-latest { padding-block: 40px 0; }
.rs-latest > .gh-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font: 500 1.4rem/1.5 var(--font-sans); }
.rs-section-heading { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-bottom: 24px; }
.rs-section-heading h2 { font: 550 1.2rem/1.5 var(--font-sans); text-transform: uppercase; letter-spacing: 0.1em; }
.rs-section-heading a { font-size: 1.2rem; color: var(--color-secondary-text); }
.rs-story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
.rs-story-grid .gh-card { border-bottom: 1px solid var(--color-border); padding-bottom: 28px; }
.rs-story-grid .gh-card-link { height: 100%; }
.rs-story-grid .gh-card-wrapper { display: flex; flex-direction: column; flex-grow: 1; }
.rs-story-grid .gh-card-tag { display: block; margin-bottom: 12px; color: #fb806f; font-size: 1rem; letter-spacing: 0.08em; }
.has-serif-title .rs-story-grid .gh-card-title.is-title { font-size: clamp(2.8rem, 2.7vw, 3.8rem); font-weight: 500; line-height: 1.08; }
.rs-story-grid .gh-card-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 1.45rem; line-height: 1.6; }
.rs-story-grid .gh-card-meta:not(:empty) { margin-top: auto; padding-top: 20px; }
.rs-story-grid .gh-card:not(:has(.gh-card-image)) .gh-card-wrapper { border-top: 3px solid #fb806f; padding-top: 24px; }
.rs-story-grid .gh-card-image { aspect-ratio: 16/10; }
.rs-story-grid:has(.gh-card:only-child) { grid-template-columns: minmax(0, 780px); }
.rs-channel-header { padding-block: 56px 40px; }
.rs-channel-header h1 { margin-top: 16px; }
.rs-channel-header .gh-article-excerpt { max-width: 42ch; }
.rs-pagination { padding-block: 24px; }
.rs-pagination .pagination { display: flex; justify-content: space-between; gap: 24px; font-size: 1.4rem; }
form[data-members-form],
.has-light-text form[data-members-form]:hover {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  height: auto;
  min-height: 56px;
  color: #050505;
  background: #f0ede6;
  border: 1px solid #8c8982;
}
.has-light-text form[data-members-form] .gh-form-input {
  position: static;
  min-width: 0;
  min-height: 54px;
  color: #050505;
  font-size: 16px;
}
.has-light-text form[data-members-form] .gh-form-input::placeholder { color: #66635e; opacity: 1; }
form[data-members-form] .gh-form-input:focus-visible { outline: 3px solid #050505; outline-offset: -4px; }
form[data-members-form] .gh-button { position: static; margin: 5px; min-width: 120px; }
form[data-members-form] [data-members-error] {
  position: static;
  grid-column: 1 / -1;
  margin: 0;
  padding: 0 16px 12px;
  color: #8a2215;
}
form[data-members-form] [data-members-error]:empty { display: none; }
.rs-signup-note {
  max-width: 440px;
  margin-top: -16px;
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--color-secondary-text);
}
.rs-signup-note a,
.gh-content a { text-decoration: underline; text-underline-offset: 3px; }
.gh-content a { text-decoration-color: #fb806f; text-decoration-thickness: 1px; }
.gh-content { line-height: 1.75; }
.gh-card-excerpt { color: var(--color-secondary-text); }
.rs-empty-channel { margin-top: 24px; font-size: 1.6rem; line-height: 1.6; color: var(--color-secondary-text); }
.rs-empty-channel a { color: var(--color-primary-text); text-decoration: underline; text-underline-offset: 3px; }
.gh-footer { border-top: 1px solid var(--color-border); margin-top: 56px; }
.home-template .gh-footer { margin-top: 0; }
.home-template .rs-home:has(.rs-latest) { padding-bottom: 40px; }
.gh-footer-signup { padding-block: 36px; margin-bottom: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; text-align: left; align-items: start; }
.gh-footer-signup-header { grid-column: 1; grid-row: 1; }
.gh-footer-signup-subhead { grid-column: 1; grid-row: 2 / 4; font-size: 1.5rem; max-width: 400px; }
.gh-footer-signup .gh-form { grid-column: 2; grid-row: 1 / 3; margin-top: 0; width: 100%; }
.gh-footer-signup .rs-signup-note { grid-column: 2; grid-row: 3; }
.gh-footer-bar { margin-bottom: 0; padding-block: 24px; border-bottom: 0; }
.gh-footer-signup .rs-signup-note { margin: 16px auto 0; }
.gh-footer-menu .nav { row-gap: 12px; }
.gh-footer-menu a { display: inline-block; padding-block: 6px; }

@media (max-width: 600px) {
  .rs-masthead { grid-template-columns: 1fr; gap: 24px; padding-block: 36px; }
  .rs-masthead h1 { font-size: clamp(4.6rem, 11vw, 6.8rem); }
  .rs-intro { font-size: 1.5rem; max-width: 100%; }
  .rs-intro a { margin-top: 14px; }
  .rs-sections { grid-template-columns: 1fr; }
  .rs-sections > a, .rs-sections > a:first-child, .rs-sections > a:last-child { padding: 22px 0; }
  .rs-sections > a + a { border-left: 0; border-top: 1px solid var(--color-border); }
  .rs-sections h2 { margin-block: 4px 8px; font-size: 3.2rem; }
  .rs-sections p { max-width: 100%; }
  .rs-editor-note { grid-template-columns: 1fr; gap: 18px; padding-block: 32px; }
  .rs-story-grid { grid-template-columns: 1fr; }
  .gh-footer-signup { display: flex; align-items: stretch; gap: 0; padding-block: 28px; }
  .gh-footer-signup .gh-form { margin-top: 24px; }
  .gh-footer-signup .rs-signup-note { margin: 14px 0 0; }
  .gh-form { width: 100%; }
  .gh-form .gh-button { flex-shrink: 0; padding-inline: 12px; }
  .gh-form .gh-button > span > svg { display: none; }
}

@media (min-width: 601px) and (max-width: 1000px) {
  .rs-masthead { gap: 32px; }
  .rs-editor-note { grid-template-columns: 1fr 1fr; }
  .rs-editor-note .rs-eyebrow { grid-column: 1 / -1; }
  .rs-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
