:root {
  --navy: #071426;
  --navy-soft: #10233d;
  --gold: #c9a14a;
  --marble: #f4efe6;
  --paper: #fffaf0;
  --red: #7d1f1f;
  --ink: #172033;
  --muted: #6f7685;
  --line: rgba(201, 161, 74, 0.35);
  --shadow: 0 24px 70px rgba(7, 20, 38, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--marble);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.app-loading,
body.auth-loading {
  overflow: hidden;
}

body.app-loading :where(.news-header, .news-main, .news-footer, .copyright, .site-header, .article-page, .section-shell, .public-quote-bar),
body.auth-loading :where(.login-shell, .admin-app) {
  opacity: 0;
}

body:not(.app-loading) :where(.news-header, .news-main, .news-footer, .copyright, .site-header, .article-page, .section-shell, .public-quote-bar),
body:not(.auth-loading) :where(.login-shell, .admin-app) {
  opacity: 1;
  transition: opacity 120ms ease;
}

body.app-loading *,
body.auth-loading * {
  transition: none !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 20, 38, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(7, 20, 38, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 14px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 20, 38, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: white;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(58px, 6vw, 72px);
  height: clamp(58px, 6vw, 72px);
}

.brand-mark img {
  display: block;
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: white;
  background: transparent;
  padding: 8px 14px;
}

.section-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 72px);
}

.hero h1,
.section-heading h2,
.article-card h3,
.hero-card h2,
.check-card h3,
.price-card h3,
.newsletter h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
  margin: 0;
}

.article-shell h1,
.article-shell h2,
.not-found h1 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  letter-spacing: -0.07em;
}

.hero-text {
  max-width: 690px;
  color: #3d4656;
  font-size: 1.16rem;
}

.eyebrow,
.card-label,
.article-card span {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button:focus-visible,
.nav a:focus-visible,
.nav-toggle:focus-visible,
.finder select:focus-visible,
.signup-form input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.button-primary {
  background: var(--red);
  color: white;
  box-shadow: 0 14px 28px rgba(125, 31, 31, 0.22);
}

.button-secondary {
  background: var(--navy);
  color: white;
}

.hero-card,
.article-card,
.topic-card,
.finder,
.check-card,
.price-card,
.quote-panel,
.report-card {
  background: rgba(255, 250, 240, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  padding: 34px;
  border-radius: 28px;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(201, 161, 74, 0.28), transparent 35%);
  pointer-events: none;
}

.hero-card h2 {
  font-size: 2rem;
}

.hero-card a {
  color: var(--red);
  font-weight: 800;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  letter-spacing: -0.04em;
}

.section-heading p:last-child {
  color: var(--muted);
}

.article-grid,
.pricing-grid,
.report-grid,
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-card,
.topic-card,
.price-card {
  min-height: 260px;
  border-radius: 24px;
  padding: 26px;
}

.article-card h3 {
  font-size: 1.65rem;
}

.topic-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.topic-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  line-height: 1.1;
}

.topic-card h3 a {
  text-decoration: none;
}

.article-card h3 a {
  text-decoration: none;
}

.article-card h3 a:hover {
  color: var(--red);
}

.feature-card {
  background: var(--navy);
  color: white;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.72);
}

.article-meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.feature-card .article-meta {
  color: rgba(255, 255, 255, 0.64);
}

.lens-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 22px;
}

.timeline-panel {
  padding-left: 24px;
  border-left: 3px solid var(--gold);
}

.timeline-item {
  position: relative;
  padding: 0 0 24px 22px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--marble);
}

.timeline-item strong,
.timeline-item span {
  display: block;
}

.timeline-item span {
  color: var(--muted);
}

.quote-panel {
  display: grid;
  place-items: center;
  border-radius: 28px;
  padding: 34px;
  background: var(--navy-soft);
  color: white;
}

.quote-panel p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.15;
}

.finder {
  display: grid;
  gap: 14px;
  border-radius: 28px;
  padding: 26px;
}

.finder label {
  font-weight: 900;
}

.finder select,
.signup-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(7, 20, 38, 0.16);
  border-radius: 14px;
  background: white;
  color: var(--ink);
  font: inherit;
  padding: 0 14px;
}

.result-card {
  display: none;
  border-radius: 20px;
  background: white;
  border: 1px solid rgba(7, 20, 38, 0.1);
  padding: 22px;
}

.result-card.is-visible {
  display: block;
}

.result-card h3 {
  margin: 0 0 8px;
}

.result-card ul,
.check-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.check-card {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 30px;
  border-radius: 28px;
  padding: 28px;
}

.report-grid {
  margin-top: 22px;
}

.report-card {
  border-radius: 24px;
  padding: 26px;
}

.report-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.report-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.1;
}

.report-card h3 a {
  text-decoration: none;
}

.report-premium-title {
  color: var(--red);
  font-weight: 900;
}

.paywall {
  background: var(--navy);
  color: white;
  border-radius: 22px;
  padding: 26px;
}

.locked-sections-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.locked-section-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid rgba(201, 155, 74, 0.28);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(7, 20, 38, 0.92), rgba(1, 10, 18, 0.96));
  color: white;
  padding: 20px;
}

.locked-section-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-35deg, transparent 0 18px, rgba(201, 155, 74, 0.06) 19px 21px);
  pointer-events: none;
}

.locked-section-preview {
  filter: blur(4px);
  opacity: 0.38;
  transform: scale(1.02);
  user-select: none;
}

.locked-section-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 22px;
  text-align: center;
  background: linear-gradient(180deg, rgba(1, 10, 18, 0.42), rgba(1, 10, 18, 0.84));
}

.locked-section-card span,
.locked-section-overlay span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.locked-section-card h3,
.locked-section-overlay h3 {
  margin: 10px 0 8px;
}

.locked-section-card p {
  color: rgba(255, 255, 255, 0.78);
}

.score-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  background: white;
}

.score-table th,
.score-table td {
  border-bottom: 1px solid rgba(7, 20, 38, 0.1);
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

.score-table th {
  width: 28%;
  color: var(--red);
}

.pricing-grid .price-card {
  min-height: auto;
}

.featured-price {
  background: var(--navy);
  color: white;
  transform: translateY(-12px);
}

.price {
  color: var(--red);
  font-size: 2rem;
  font-weight: 900;
  margin: 14px 0;
}

.featured-price .price {
  color: var(--gold);
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: 24px;
  align-items: center;
}

.signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-message {
  flex-basis: 100%;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
}

.form-message.is-error {
  color: var(--red);
}

.form-message.is-success {
  color: var(--navy-soft);
}

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  padding: 28px 16px;
  text-align: center;
}

.article-page {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.article-shell {
  background: rgba(255, 250, 240, 0.9);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: clamp(26px, 5vw, 56px);
}

.article-shell h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  letter-spacing: -0.055em;
}

.article-lead {
  margin: 22px 0 40px;
  color: #3d4656;
  font-size: 1.22rem;
}

.article-shell section {
  padding: 30px 0;
  border-top: 1px solid rgba(7, 20, 38, 0.1);
}

.article-shell h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.piges {
  background: rgba(7, 20, 38, 0.04);
  border-radius: 22px;
  padding: 26px;
}

.piges ul {
  margin: 0;
  padding-left: 20px;
}

.not-found {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 120px 0;
}

.not-found h1 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 7vw, 5rem);
}

.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;
}

@media (max-width: 820px) {
  .nav {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .brand {
    max-width: calc(100% - 96px);
    font-size: clamp(1.15rem, 5vw, 1.45rem);
  }

  .brand-mark {
    width: 54px;
    height: 54px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0 4px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero,
  .lens-layout,
  .check-card,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .article-grid,
  .pricing-grid,
  .report-grid,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .featured-price {
    transform: none;
  }

  .signup-form {
    flex-direction: column;
  }
}

/* Homepage news portal design */
.home-page {
  --home-bg: #03101c;
  --home-panel: #071a2c;
  --home-panel-2: #0a2035;
  --home-gold: #d8a247;
  --home-gold-soft: rgba(216, 162, 71, 0.16);
  --home-line: rgba(216, 162, 71, 0.38);
  --home-text: #f4eee2;
  --home-muted: #aab2bf;
  background:
    linear-gradient(90deg, rgba(0, 5, 10, 0.34), transparent 18%, transparent 82%, rgba(0, 5, 10, 0.34)),
    linear-gradient(180deg, rgba(2, 10, 18, 0.76) 0%, rgba(6, 24, 39, 0.84) 48%, rgba(2, 11, 19, 0.92) 100%),
    radial-gradient(circle at 0% 18%, rgba(216, 162, 71, 0.16), transparent 32%),
    radial-gradient(circle at 100% 18%, rgba(216, 162, 71, 0.16), transparent 32%),
    radial-gradient(circle at 18% 0%, rgba(36, 90, 137, 0.26), transparent 34%),
    radial-gradient(circle at 82% 0%, rgba(36, 90, 137, 0.26), transparent 34%),
    url("hero.png") center top / cover fixed no-repeat;
  color: var(--home-text);
  font-family: Georgia, "Times New Roman", serif;
}

.home-page::before {
  background: none;
  mask-image: none;
}

.home-page a {
  text-decoration: none;
}

.home-page :where(#search, #brief, #checks, #patterns, #topics, #greek-lens, #chronology, #today, #sindromi, #newsletter) {
  scroll-margin-top: 72px;
}

.home-page #main-content {
  scroll-margin-top: 72px;
}

.news-header,
.news-main,
.news-footer,
.copyright {
  width: min(1500px, calc(100% - 42px));
  margin: 0 auto;
}

@media (min-width: 1181px) {
  .news-header .quote-bar {
    position: fixed;
    left: 50%;
    top: 0;
    width: min(1500px, calc(100% - 42px));
    z-index: 140;
    background: rgba(3, 14, 25, 0.98);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    transform: translateX(-50%);
  }

  .news-header {
    padding-top: 46px;
  }

  .home-page.nav-is-stuck .news-header {
    padding-bottom: 54px;
  }

  .news-nav.is-stuck {
    position: fixed;
    left: 50%;
    top: 46px;
    z-index: 90;
    width: min(1500px, calc(100% - 42px));
    background: rgba(3, 14, 25, 0.98);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22);
    transform: translateX(-50%);
  }
}

.quote-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 46px;
  border-bottom: 1px solid rgba(216, 162, 71, 0.16);
  color: var(--home-gold);
  font-size: 0.92rem;
}

.public-page .public-quote-bar {
  position: static;
  width: min(1180px, calc(100% - 42px));
  margin: 0 auto;
  background: rgba(3, 14, 25, 0.98);
}

.quote-bar p {
  margin: 0;
}

.quote-bar span,
.quote-bar a,
.header-login-button,
.quick-search-trigger {
  color: var(--home-text);
}

.quote-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.quick-search-wrap {
  position: relative;
}

.quick-search-trigger {
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.header-login-button {
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.header-login-button:hover,
.header-login-button:focus-visible,
.quick-search-trigger[aria-expanded="true"],
.quick-search-trigger:hover {
  color: var(--home-gold);
}

.public-profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--home-text);
  max-width: 170px;
  min-width: 0;
}

.public-profile-pill img {
  width: 25px;
  height: 25px;
  border: 1px solid rgba(216, 162, 71, 0.35);
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 25px;
}

.public-profile-pill span {
  display: grid;
  min-width: 0;
  line-height: 1.1;
}

.public-profile-pill strong {
  max-width: 112px;
  overflow: hidden;
  color: #fff7e8;
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-profile-pill small {
  color: var(--home-gold);
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.quick-search-panel {
  position: absolute;
  z-index: 150;
  top: calc(100% + 12px);
  right: 0;
  width: min(420px, calc(100vw - 28px));
  border: 1px solid rgba(216, 162, 71, 0.34);
  border-radius: 4px;
  background: rgba(3, 14, 25, 0.98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  padding: 10px;
}

.quick-search-panel[hidden] {
  display: none;
}

.quick-search-panel::before {
  position: absolute;
  right: 18px;
  top: -7px;
  width: 12px;
  height: 12px;
  border-left: 1px solid rgba(216, 162, 71, 0.34);
  border-top: 1px solid rgba(216, 162, 71, 0.34);
  background: rgba(3, 14, 25, 0.98);
  content: "";
  transform: rotate(45deg);
}

.quick-search-panel input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(216, 162, 71, 0.38);
  border-radius: 4px;
  background: rgba(1, 10, 18, 0.76);
  color: var(--home-text);
  font: inherit;
  padding: 0 12px;
}

.quick-search-results {
  position: static;
  margin-top: 8px;
  box-shadow: none;
}

.member-link {
  border-radius: 3px;
  background: linear-gradient(180deg, #efbd69, #c98931);
  color: #091421 !important;
  font-weight: 900;
  padding: 10px 18px;
}

.masthead {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(520px, 0.95fr);
  gap: 28px;
  align-items: center;
  min-height: 150px;
}

.masthead-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.masthead-brand > span {
  display: grid;
  justify-items: center;
  text-align: center;
}

.masthead-brand img {
  width: 128px;
  height: 128px;
  object-fit: contain;
}

.masthead-brand strong {
  display: block;
  color: #fff7eb;
  font-size: clamp(3rem, 5.6vw, 5rem);
  line-height: 0.86;
  letter-spacing: -0.06em;
}

.masthead-brand strong::first-letter {
  letter-spacing: -0.08em;
}

.masthead-brand strong {
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.38);
}

.masthead-brand strong::after {
  color: var(--home-gold);
}

.masthead-brand small {
  display: block;
  margin-top: 8px;
  color: #cbd2d8;
  font-size: 1rem;
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.masthead-tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.masthead-tools a {
  position: relative;
  display: grid;
  gap: 8px;
  justify-items: center;
  border-left: 1px solid rgba(216, 162, 71, 0.22);
  color: var(--home-text);
  font-size: 0.9rem;
  text-align: center;
  padding: 8px 18px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.masthead-tools a::after {
  position: absolute;
  right: 12px;
  top: 12px;
  color: var(--home-gold);
  content: "›";
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.masthead-tools span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--home-line);
  border-radius: 50%;
  color: var(--home-gold);
  overflow: hidden;
  padding: 9px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.masthead-tools a:hover,
.masthead-tools a:focus-visible {
  background: rgba(216, 162, 71, 0.08);
  color: var(--home-gold);
  transform: translateY(-2px);
}

.masthead-tools a:hover::after,
.masthead-tools a:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

.masthead-tools a:hover span,
.masthead-tools a:focus-visible span {
  border-color: var(--home-gold);
  box-shadow: 0 0 0 5px rgba(216, 162, 71, 0.1), 0 12px 34px rgba(216, 162, 71, 0.16);
  transform: scale(1.06);
}

.masthead-tools img,
.tool-strip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.news-nav {
  border: 1px solid var(--home-line);
  border-left: 0;
  border-right: 0;
  background: rgba(3, 14, 25, 0.92);
}

.news-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  color: var(--home-text);
}

.news-nav .nav-links a {
  border-right: 1px solid rgba(216, 162, 71, 0.16);
  color: var(--home-text);
  font-size: 0.89rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 16px 24px;
  text-transform: uppercase;
}

.news-nav .nav-dropdown {
  position: relative;
  display: flex;
}

.news-nav .nav-dropdown > a {
  display: inline-flex;
}

.nav-dropdown-panel {
  position: absolute;
  z-index: 160;
  top: 100%;
  left: 0;
  display: none;
  width: 380px;
  border: 1px solid var(--home-line);
  background: rgba(3, 14, 25, 0.98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  padding: 10px;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel,
.nav-dropdown.is-open .nav-dropdown-panel {
  display: grid;
  gap: 8px;
}

.news-nav .nav-dropdown-panel .dropdown-link {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(216, 162, 71, 0.16);
  background: rgba(255, 255, 255, 0.035);
  color: var(--home-text);
  letter-spacing: 0;
  padding: 12px;
  text-transform: none;
}

.dropdown-link strong {
  color: #fff7e8;
  font-size: 0.96rem;
  line-height: 1.15;
}

.dropdown-link span {
  color: var(--home-muted);
  font-size: 0.82rem;
}

.news-nav .nav-dropdown-panel .dropdown-link:hover {
  border-color: var(--home-gold);
  background: rgba(216, 162, 71, 0.08);
}

.news-nav .nav-links a:hover,
.news-nav .nav-links .is-active {
  color: var(--home-gold);
}

.subscribe-tab {
  margin-left: auto;
  background: #7d1f1f;
  color: #fff !important;
}

.news-main {
  border-left: 1px solid var(--home-line);
  border-right: 1px solid var(--home-line);
}

.headline-hero {
  position: relative;
  display: grid;
  gap: clamp(18px, 3vw, 30px);
  min-height: clamp(640px, 82vw, 920px);
  overflow: hidden;
  border-bottom: 1px solid var(--home-line);
  background: rgba(3, 15, 27, 0.94);
  padding: clamp(24px, 4vw, 42px) clamp(24px, 4vw, 42px) clamp(150px, 15vw, 210px);
  scroll-margin-top: 270px;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 5, 10, 0.3), transparent 18%, transparent 82%, rgba(0, 5, 10, 0.3)),
    linear-gradient(90deg, rgba(3, 12, 22, 0.7) 0%, rgba(3, 12, 22, 0.42) 36%, rgba(3, 12, 22, 0.08) 62%, rgba(3, 12, 22, 0.48) 100%),
    linear-gradient(180deg, rgba(3, 14, 25, 0.04) 0%, rgba(3, 14, 25, 0.28) 100%),
    radial-gradient(circle at 0% 52%, rgba(216, 162, 71, 0.28), transparent 34%),
    radial-gradient(circle at 100% 52%, rgba(216, 162, 71, 0.28), transparent 34%);
}

.hero-image-frame {
  position: relative;
  z-index: 2;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(216, 162, 71, 0.22);
  aspect-ratio: 16 / 9;
  opacity: 0;
}

.hero-image-frame.has-image {
  opacity: 1;
}

.hero-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.headline-copy,
.hero-pattern-card,
.home-search {
  pointer-events: auto;
}

.headline-copy a,
.home-search,
.home-search * {
  position: relative;
  z-index: 45;
}

.hero-visual::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(255, 255, 255, 0.035) 73px),
    linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.44));
  content: "";
}

.headline-copy {
  position: relative;
  z-index: 4;
  width: min(900px, 100%);
  padding: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.headline-copy:hover h1 {
  color: var(--home-gold);
}

.gold-kicker {
  display: inline-flex;
  width: fit-content;
  border: 1px solid var(--home-line);
  border-radius: 3px;
  color: var(--home-gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 18px;
  padding: 6px 10px;
  text-transform: uppercase;
}

.headline-copy h1 {
  margin: 0;
  color: #fff7ea;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.045em;
  max-width: 17ch;
  overflow-wrap: normal;
  text-wrap: balance;
}

.headline-copy p:not(.gold-kicker) {
  color: #d6d8d9;
  font-size: 1rem;
  max-width: 585px;
}

.headline-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
}

.outline-button,
.full-width-button,
.gold-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--home-gold);
  border-radius: 3px;
  color: var(--home-gold);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  min-height: 46px;
  padding: 0 24px;
  text-transform: uppercase;
}

.gold-button {
  background: linear-gradient(180deg, #e4b86a, #b97a28);
  color: #081421;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, filter 180ms ease, transform 180ms ease;
}

.gold-button:hover,
.gold-button:focus-visible {
  border-color: #fff2c8;
  box-shadow: 0 0 0 3px rgba(216, 162, 71, 0.18), 0 14px 34px rgba(216, 162, 71, 0.22);
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.gold-button:active {
  box-shadow: 0 0 0 2px rgba(216, 162, 71, 0.14);
  filter: brightness(0.96);
  transform: translateY(1px);
}

.hero-pattern-card {
  position: absolute;
  right: 42px;
  bottom: 42px;
  z-index: 4;
  width: min(690px, 51%);
  border: 1px solid var(--home-line);
  background: rgba(5, 20, 34, 0.92);
  color: inherit;
  padding: 18px;
}

.hero-pattern-card:hover {
  border-color: var(--home-gold);
  background: rgba(216, 162, 71, 0.1);
}

.home-search {
  position: absolute;
  z-index: 30;
  left: auto;
  right: 52px;
  top: 50%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
  width: min(520px, 42%);
  border: 1px solid rgba(216, 162, 71, 0.48);
  background: linear-gradient(180deg, rgba(8, 28, 45, 0.88), rgba(3, 15, 27, 0.9));
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  padding: 18px 28px;
  transform: translateY(-50%);
}


.home-search-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.home-search-intro h2 {
  margin: 0;
  color: #fff7e8;
  font-size: 1.25rem;
  line-height: 1.08;
}

.home-search-box {
  position: relative;
  width: min(980px, 100%);
  margin: 0 auto;
}

.home-search input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(216, 162, 71, 0.38);
  border-radius: 4px;
  background: rgba(1, 10, 18, 0.76);
  color: var(--home-text);
  font: inherit;
  padding: 0 16px;
}

.home-search-results {
  position: absolute;
  z-index: 80;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(216, 162, 71, 0.38);
  border-radius: 4px;
  background: rgba(3, 14, 25, 0.98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  padding: 10px;
}

.home-search-count {
  border-bottom: 1px solid rgba(216, 162, 71, 0.18);
  color: var(--home-gold);
  font-size: 0.86rem;
  font-weight: 900;
  margin: 0;
  padding: 4px 4px 10px;
}

.home-search-results[hidden] {
  display: none;
}

.home-search-results a {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(216, 162, 71, 0.18);
  background: rgba(255, 255, 255, 0.035);
  color: var(--home-text);
  padding: 11px 12px;
}

.home-search-results span {
  color: var(--home-muted);
  font-size: 0.82rem;
}

.hero-pattern-card strong,
.hero-pattern-card span {
  display: block;
}

.hero-pattern-card strong {
  color: var(--home-gold);
  font-size: 0.88rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero-pattern-card span {
  color: var(--home-muted);
}

.tool-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--home-line);
  background: rgba(5, 20, 34, 0.96);
}

.tool-strip a {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  border-right: 1px solid rgba(216, 162, 71, 0.2);
  color: var(--home-text);
  padding: 24px 28px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.tool-strip a::after {
  position: absolute;
  right: 22px;
  top: 50%;
  color: var(--home-gold);
  content: "›";
  opacity: 0.45;
  transform: translateY(-50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.tool-strip span {
  grid-row: span 2;
  color: var(--home-gold);
  width: 46px;
  height: 46px;
  transition: filter 180ms ease, transform 180ms ease;
}

.tool-strip a:hover,
.tool-strip a:focus-visible {
  background: linear-gradient(90deg, rgba(216, 162, 71, 0.12), rgba(216, 162, 71, 0.035));
  border-color: var(--home-gold);
  transform: translateY(-2px);
}

.tool-strip a:hover::after,
.tool-strip a:focus-visible::after {
  opacity: 1;
  transform: translate(6px, -50%);
}

.tool-strip a:hover span,
.tool-strip a:focus-visible span {
  filter: drop-shadow(0 0 12px rgba(216, 162, 71, 0.45));
  transform: scale(1.08);
}

.tool-strip strong,
.tool-strip small {
  display: block;
}

.tool-strip small {
  color: var(--home-muted);
}

.tool-strip strong {
  font-size: 0.98rem;
  line-height: 1.18;
}

.front-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.62fr) minmax(320px, 0.62fr);
  gap: 18px;
  padding: 20px;
}

.lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
  gap: 18px;
  padding: 0 20px 20px;
}

.panel-block {
  border: 1px solid var(--home-line);
  background: linear-gradient(180deg, rgba(8, 28, 45, 0.96), rgba(3, 15, 27, 0.96));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  padding: 18px;
}

.block-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(216, 162, 71, 0.26);
  margin-bottom: 16px;
  padding-bottom: 10px;
}

.block-heading h2 {
  margin: 0;
  color: #fff4df;
  font-size: 1.06rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.block-heading a,
.block-heading span {
  color: var(--home-muted);
  font-size: 0.84rem;
}

.news-list,
.fact-list,
.compact-list {
  display: grid;
  gap: 14px;
}

.news-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 18px;
  border-bottom: 1px solid rgba(216, 162, 71, 0.18);
  padding-bottom: 14px;
}

.news-thumb,
.fact-thumb {
  overflow: hidden;
  min-height: 132px;
  border: 1px solid rgba(216, 162, 71, 0.28);
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(216, 162, 71, 0.2), rgba(3, 15, 27, 0.2)),
    radial-gradient(circle at 50% 25%, rgba(255, 245, 220, 0.22), transparent 24%),
    linear-gradient(140deg, #17283a, #6d4426 46%, #071421);
}

.news-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 132px;
  object-fit: cover;
}

.thumb-1 { background: linear-gradient(145deg, #0f3860, #c8a048 52%, #071421); }
.thumb-2 { background: linear-gradient(145deg, #291b13, #9b5e2f 48%, #101f31); }
.thumb-3 { background: linear-gradient(145deg, #071421, #d8d0bb 45%, #7d1f1f); }

.news-item span:not(.bookmark),
.fact-item span,
.report-card span {
  display: inline-flex;
  width: fit-content;
  border-radius: 2px;
  background: rgba(125, 31, 31, 0.95);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  padding: 3px 7px;
  text-transform: uppercase;
}

.news-item h3,
.fact-item h3,
.timeline-widget h3 {
  margin: 0;
  color: #fff7e8;
  font-size: 1.28rem;
  line-height: 1.14;
}

.news-item p,
.fact-item p,
.panel-block label,
.result-card,
.subscription-band p,
.news-footer p,
.news-footer a,
.copyright {
  color: var(--home-muted);
}

.article-meta {
  color: var(--home-muted) !important;
  font-size: 0.82rem;
  margin: 8px 0 0;
}

.bookmark {
  color: var(--home-gold);
}

.fact-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px solid rgba(216, 162, 71, 0.18);
  padding-bottom: 12px;
}

.fact-thumb {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.fact-thumb img,
.article-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
}

.article-card-thumb {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(216, 162, 71, 0.24);
  border-radius: 4px;
  aspect-ratio: 16 / 9;
  margin: -8px -8px 14px;
  background: rgba(1, 10, 18, 0.42);
}

.full-width-button {
  width: 100%;
  margin-top: 16px;
}

.side-column {
  display: grid;
  gap: 18px;
  align-content: start;
}

.pattern-widget {
  position: relative;
  overflow: hidden;
}

.pattern-widget::after {
  position: absolute;
  right: -44px;
  bottom: -44px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(216, 162, 71, 0.35);
  border-radius: 50%;
  content: "";
}

.pattern-widget select,
.signup-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(216, 162, 71, 0.28);
  border-radius: 4px;
  background: rgba(1, 10, 18, 0.7);
  color: var(--home-text);
  font: inherit;
  margin: 10px 0 16px;
  padding: 0 14px;
}

.result-card {
  display: none;
  border: 1px solid rgba(216, 162, 71, 0.25);
  border-radius: 4px;
  background: rgba(1, 10, 18, 0.66);
  margin-top: 14px;
  padding: 16px;
}

.result-card.is-visible {
  display: block;
}

.topics-widget .topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.topics-widget .topic-grid a {
  border: 1px solid rgba(216, 162, 71, 0.28);
  color: var(--home-text);
  font-size: 0.95rem;
  padding: 11px 12px;
}

.compact-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(216, 162, 71, 0.16);
  color: var(--home-text);
  padding-bottom: 11px;
}

.compact-item::before {
  height: 54px;
  border-radius: 4px;
  background: linear-gradient(140deg, #173954, #b17b36, #071421);
  content: "";
}

.compact-item strong,
.compact-item span {
  display: block;
}

.compact-item span {
  color: var(--home-muted);
  font-size: 0.9rem;
}

.timeline-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
  gap: 12px;
  margin: 28px 0;
}

.timeline-line::before {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 14px;
  height: 2px;
  background: var(--home-gold);
  content: "";
}

.timeline-line span {
  position: relative;
  color: #fff7e8;
  text-align: center;
}

.timeline-line span::before {
  display: block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--home-gold);
  border-radius: 50%;
  background: var(--home-panel);
  content: "";
  margin: 8px auto 10px;
}

.timeline-line small {
  color: var(--home-muted);
}

.today-widget {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.today-widget .block-heading {
  align-items: center;
}

.today-widget .block-heading h2 {
  max-width: none;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  line-height: 1.18;
  text-transform: none;
}

.today-widget .block-heading a {
  white-space: nowrap;
}

.today-widget .block-heading,
.today-widget .full-width-button {
  grid-column: 1 / -1;
}

.today-card {
  display: grid;
  place-items: center;
  border: 1px solid var(--home-line);
  border-radius: 6px;
  min-height: 96px;
  padding: 12px 8px;
  text-align: center;
}

.today-card strong {
  color: #fff7e8;
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  line-height: 0.9;
  margin-bottom: 6px;
}

.today-card span {
  color: var(--home-text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.today-widget ul {
  margin: 0;
  padding-left: 18px;
}

.today-widget li {
  color: var(--home-muted);
  font-size: 0.94rem;
  line-height: 1.45;
  margin-bottom: 8px;
}

.today-widget li a {
  color: var(--home-muted);
}

.today-widget li a:hover {
  color: var(--home-gold);
}

.today-widget b {
  color: var(--home-gold);
}

.subscription-band {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) minmax(280px, 0.8fr) auto;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  background: linear-gradient(90deg, rgba(9, 28, 45, 0.98), rgba(4, 16, 27, 0.98));
  padding: 20px;
}

.column-art {
  display: grid;
  place-items: center;
  height: 172px;
  overflow: hidden;
  border: 1px solid rgba(216, 162, 71, 0.28);
  border-radius: 4px;
  background: rgba(216, 162, 71, 0.08);
}

.column-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
  transform: scale(1.08);
}

.subscription-band h2 {
  margin: 0;
  color: #fff7e8;
  font-size: 1.8rem;
}

.subscription-band .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.subscription-band .price-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: auto;
  border: 1px solid rgba(216, 162, 71, 0.22);
  border-radius: 4px;
  background: rgba(1, 10, 18, 0.28);
  padding: 14px 10px 13px;
  text-align: center;
}

.subscription-band .price-card p:not(.price) {
  display: none;
}

.subscription-band .price-card h3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  width: fit-content;
  border: 1px solid rgba(216, 162, 71, 0.28);
  border-radius: 999px;
  background: rgba(216, 162, 71, 0.08);
  color: #fff7e8;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1;
  margin: 0;
  overflow: hidden;
  padding: 5px 8px 4px;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.subscription-band .price {
  color: var(--home-gold);
  font-size: 0.98rem;
  line-height: 1.15;
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.subscription-modal,
.login-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 5, 10, 0.78);
  padding: 24px;
}

.subscription-modal[hidden],
.login-modal[hidden] {
  display: none;
}

.login-dialog {
  width: min(520px, 100%);
}

.subscription-dialog {
  position: relative;
  width: min(720px, 100%);
  border: 1px solid var(--home-line);
  background: linear-gradient(180deg, rgba(8, 28, 45, 0.98), rgba(3, 15, 27, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.44);
  color: var(--home-text);
  padding: clamp(24px, 4vw, 42px);
}

.subscription-dialog h2 {
  margin: 0;
  color: #fff7e8;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.04;
}

.subscription-dialog > p:not(.gold-kicker),
.modal-price-card p {
  color: var(--home-muted);
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--home-line);
  background: rgba(1, 10, 18, 0.76);
  color: var(--home-gold);
  cursor: pointer;
  font-weight: 900;
}

.modal-price-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.modal-price-card {
  appearance: none;
  border: 1px solid rgba(216, 162, 71, 0.24);
  background: rgba(1, 10, 18, 0.42);
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 14px;
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.modal-price-card.is-featured {
  border-color: var(--home-gold);
  background: rgba(216, 162, 71, 0.1);
}

.modal-price-card:hover,
.modal-price-card:focus-visible,
.modal-price-card.is-selected {
  border-color: #fff2c8;
  background: rgba(216, 162, 71, 0.14);
  box-shadow: 0 0 0 3px rgba(216, 162, 71, 0.16);
  transform: translateY(-1px);
}

.modal-price-card.is-selected::after {
  display: block;
  color: var(--home-gold);
  content: "Επιλεγμένο";
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-top: 10px;
  text-transform: uppercase;
}

.modal-price-card strong,
.modal-price-card span {
  display: block;
}

.modal-price-card span {
  color: var(--home-gold);
  font-size: 1.2rem;
  font-weight: 900;
  margin: 6px 0;
}

.google-checkout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--home-gold);
  background: #fff7e8;
  color: #081421;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0 18px;
}

.google-checkout-button span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #1a73e8;
  font-family: Arial, sans-serif;
}

@media (max-width: 760px) {
  .modal-price-list {
    grid-template-columns: 1fr;
  }
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 22px;
  align-items: center;
  margin: 20px;
}

.newsletter h2 {
  margin: 0;
  color: #fff7e8;
}

.signup-form {
  display: grid;
  grid-template-columns: 1fr 60px;
  gap: 10px;
}

.signup-form .form-message {
  grid-column: 1 / -1;
  color: var(--home-muted);
}

.news-footer {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(160px, 0.7fr));
  gap: 34px;
  border-left: 1px solid var(--home-line);
  border-right: 1px solid var(--home-line);
  background: rgba(3, 14, 25, 0.98);
  padding: 34px 22px;
}

.news-footer strong {
  display: block;
  color: #fff7e8;
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.news-footer > div > strong {
  color: var(--home-gold);
  font-size: 1.7rem;
}

.news-footer nav {
  display: grid;
  gap: 5px;
}

.copyright {
  border: 1px solid var(--home-line);
  border-top: 0;
  background: #020b13;
  font-size: 0.86rem;
  margin-bottom: 0;
  padding: 16px 22px;
}

.home-page .skip-link {
  background: var(--home-gold);
}

@media (max-width: 1180px) {
  .masthead,
  .front-grid,
  .lower-grid,
  .subscription-band,
  .news-footer {
    grid-template-columns: 1fr;
  }

  .masthead-tools,
  .tool-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .headline-copy {
    position: relative;
    top: auto;
    left: auto;
    width: min(780px, 100%);
    transform: none;
  }

  .hero-pattern-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    margin: 0 24px 24px;
  }

  .home-search {
    position: relative;
    right: auto;
    top: auto;
    width: auto;
    margin: 0 24px 24px;
    transform: none;
  }
}

@media (max-width: 760px) {
  .news-header,
  .news-main,
  .news-footer,
  .copyright {
    width: min(100% - 20px, 1500px);
  }

  .quote-bar,
  .masthead-brand,
  .headline-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .quote-actions {
    flex-wrap: wrap;
    white-space: normal;
  }

  .quick-search-wrap,
  .quick-search-panel {
    width: 100%;
  }

  .quick-search-panel {
    left: 0;
    right: auto;
  }

  .masthead-brand img {
    width: 92px;
    height: 92px;
  }

  .masthead-brand strong {
    font-size: 3rem;
  }

  .masthead-tools,
  .tool-strip,
  .home-search,
  .topics-widget .topic-grid,
  .subscription-band .pricing-grid,
  .signup-form,
  .today-widget {
    grid-template-columns: 1fr;
  }

  .news-nav .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .news-nav .nav-links.is-open {
    display: flex;
  }

  .news-nav .nav-links a {
    border-right: 0;
    border-bottom: 1px solid rgba(216, 162, 71, 0.16);
  }

  .news-nav .nav-dropdown {
    display: grid;
  }

  .nav-dropdown-panel {
    position: static;
    display: grid;
    width: auto;
    border-top: 0;
    box-shadow: none;
  }

  .news-nav .nav-toggle {
    display: inline-flex;
    margin: 12px;
  }

  .headline-copy {
    padding: 34px 24px;
  }

  .headline-copy h1 {
    font-size: 2.6rem;
    max-width: 16ch;
  }

  .home-search {
    position: static;
  }

  .news-item,
  .fact-item,
  .compact-item {
    grid-template-columns: 1fr;
  }

  .public-page .article-longform {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .public-page .article-summary-card {
    position: static;
  }

  .paid-report-grid,
  .article-plan-grid {
    grid-template-columns: 1fr;
  }

  .front-grid,
  .lower-grid {
    padding: 12px;
  }
}

/* Generated public pages: articles, reports, topics */
.public-page {
  --home-bg: #03101c;
  --home-panel: #071a2c;
  --home-gold: #d8a247;
  --home-line: rgba(216, 162, 71, 0.38);
  --home-text: #f4eee2;
  --home-muted: #aab2bf;
  background:
    linear-gradient(90deg, rgba(0, 5, 10, 0.34), transparent 18%, transparent 82%, rgba(0, 5, 10, 0.34)),
    radial-gradient(circle at 0% 18%, rgba(216, 162, 71, 0.14), transparent 32%),
    radial-gradient(circle at 100% 18%, rgba(216, 162, 71, 0.14), transparent 32%),
    radial-gradient(circle at 18% 0%, rgba(36, 90, 137, 0.24), transparent 34%),
    radial-gradient(circle at 82% 0%, rgba(36, 90, 137, 0.24), transparent 34%),
    linear-gradient(180deg, #020a12 0%, #061827 48%, #020b13 100%);
  color: var(--home-text);
  font-family: Georgia, "Times New Roman", serif;
}

.public-page::before {
  background: none;
  mask-image: none;
}

.public-page .site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--home-line);
  background: rgba(3, 14, 25, 0.94);
}

.public-page .nav {
  width: min(1320px, calc(100% - 42px));
  min-height: 82px;
  color: var(--home-text);
}

.public-page .brand {
  color: #fff7e8;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.public-page .brand span:last-child::after {
  display: block;
  color: var(--home-muted);
  content: "Η ιστορία πίσω από τους τίτλους.";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.public-page .brand-mark {
  width: 62px;
  height: 62px;
}

.public-page .nav-links {
  gap: 0;
}

.public-page .nav-links a {
  border-left: 1px solid rgba(216, 162, 71, 0.16);
  color: var(--home-text);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 12px 18px;
  text-transform: uppercase;
}

.public-page .nav-links a:hover {
  color: var(--home-gold);
}

.public-page .article-page,
.public-page .section-shell {
  width: min(1180px, calc(100% - 42px));
  padding: 44px 0 72px;
}

.back-link {
  display: inline-flex;
  width: fit-content;
  border: 1px solid var(--home-line);
  border-radius: 3px;
  color: var(--home-gold);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  padding: 10px 14px;
  text-transform: uppercase;
}

.back-link:hover {
  background: rgba(216, 162, 71, 0.1);
}

.public-page .article-shell,
.public-page .section-heading {
  border: 1px solid var(--home-line);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(8, 28, 45, 0.96), rgba(3, 15, 27, 0.96));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.public-page .article-shell {
  overflow: hidden;
  padding: 0;
}

.public-page .article-longform {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(24px, 4vw, 48px);
  overflow: visible;
  padding: clamp(24px, 5vw, 62px);
}

.public-page .article-reading {
  max-width: 780px;
}

.public-page .article-summary-card {
  position: sticky;
  top: 118px;
  align-self: start;
  border: 1px solid rgba(216, 162, 71, 0.28);
  background: rgba(1, 10, 18, 0.56);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  color: var(--home-muted);
  padding: 22px;
}

.public-page .article-summary-card .summary-label {
  color: var(--home-gold);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.public-page .article-summary-card h2,
.public-page .article-summary-card h3 {
  color: #fff7e8;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.public-page .article-summary-card h2 {
  font-size: 1.35rem;
}

.public-page .article-summary-card h3 {
  font-size: 1rem;
  margin-top: 20px;
}

.public-page .article-summary-card dl {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.public-page .article-summary-card dl div {
  border-top: 1px solid rgba(216, 162, 71, 0.18);
  padding-top: 10px;
}

.public-page .article-summary-card dt {
  color: var(--home-gold);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-page .article-summary-card dd {
  margin: 2px 0 0;
}

.public-page .article-summary-card ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.public-page .article-shell > .eyebrow,
.public-page .article-shell > h1,
.public-page .article-shell > .article-lead {
  padding-left: clamp(24px, 5vw, 62px);
  padding-right: clamp(24px, 5vw, 62px);
}

.public-page .article-longform > .eyebrow,
.public-page .article-longform > h1,
.public-page .article-longform > .article-lead {
  padding-left: 0;
  padding-right: 0;
}

.public-page .article-reading > .eyebrow,
.public-page .article-reading > h1,
.public-page .article-reading > .article-lead {
  padding-left: 0;
  padding-right: 0;
}

.public-page .article-shell > .eyebrow {
  display: inline-flex;
  width: fit-content;
  border: 1px solid var(--home-line);
  border-radius: 3px;
  color: var(--home-gold);
  margin: clamp(24px, 5vw, 54px) clamp(24px, 5vw, 62px) 18px;
  padding: 6px 10px;
}

.public-page .article-reading > .eyebrow {
  display: inline-flex;
  width: fit-content;
  border: 1px solid var(--home-line);
  border-radius: 3px;
  color: var(--home-gold);
  margin: 0 0 18px;
  padding: 6px 10px;
}

.public-page .article-shell h1,
.public-page .section-heading h1,
.public-page .section-heading h2 {
  color: #fff7e8;
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: -0.055em;
}

.public-page .article-lead,
.public-page .section-heading p,
.public-page .article-shell p,
.public-page .article-shell li {
  color: var(--home-muted);
}

.public-page .article-lead {
  max-width: 900px;
  font-size: 1.26rem;
}

.public-page .article-shell section {
  border-top: 1px solid rgba(216, 162, 71, 0.22);
  padding: clamp(24px, 4vw, 44px) clamp(24px, 5vw, 62px);
}

.public-page .article-longform section {
  border-top: 0;
  padding: 0;
}

.public-page .article-longform section + section {
  margin-top: 28px;
}

.public-page .article-longform .article-lead + section {
  margin-top: 36px;
}

.public-page .article-shell h2 {
  color: #fff7e8;
}

.public-page .article-longform h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  margin: 0 0 10px;
}

.public-page .article-longform p {
  font-size: 1.08rem;
  line-height: 1.82;
}

.article-paid-section,
.article-paid-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(216, 162, 71, 0.3);
  background: linear-gradient(180deg, rgba(8, 28, 45, 0.92), rgba(3, 15, 27, 0.96));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  margin-top: 8px;
  padding: clamp(24px, 5vw, 52px);
}

.article-paid-card {
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  align-items: center;
  gap: 16px;
  margin: 0 0 16px;
  padding: clamp(16px, 3vw, 26px);
}

.article-paid-card .paid-section-heading h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
}

.article-paid-card .paid-section-heading p:not(.eyebrow) {
  font-size: 0.98rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.article-paid-card .paid-report-grid {
  grid-template-columns: 1fr;
}

.article-paid-card .paid-report-card {
  padding: 14px;
  text-align: left;
}

.article-paid-card .paid-report-card h3 {
  font-size: 1rem;
  margin: 0 0 6px;
}

.article-paid-card .paid-report-card p {
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0 0 10px;
}

.paid-section-heading {
  position: relative;
  max-width: 860px;
}

.paid-section-heading h2 {
  color: #fff7e8;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0;
}

.paid-section-heading p:not(.eyebrow) {
  color: var(--home-muted);
  font-size: 1.08rem;
}

.active-plan-indicator {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(216, 162, 71, 0.46);
  border-radius: 999px;
  background: rgba(216, 162, 71, 0.1);
  color: var(--home-gold);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 7px 11px;
  text-transform: uppercase;
}

.paid-report-grid,
.article-plan-grid {
  display: grid;
  gap: 14px;
}

.paid-report-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.paid-report-card,
.article-plan-grid .price-card {
  border: 1px solid rgba(216, 162, 71, 0.22);
  border-radius: 4px;
  background: rgba(1, 10, 18, 0.5);
  color: var(--home-muted);
  min-height: auto;
  padding: 18px;
  text-align: center;
}

.paid-report-card span,
.article-plan-grid .price-card h3 {
  color: var(--home-gold);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-plan-grid .price-card h3 {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(216, 162, 71, 0.28);
  border-radius: 999px;
  color: #fff7e8;
  margin: 0 auto 10px;
  padding: 5px 9px;
}

.article-plan-grid .price-card .price {
  color: var(--home-gold);
  font-size: 1.1rem;
  font-weight: 900;
  margin: 0 0 10px;
}

.article-plan-grid .price-card p:not(.price) {
  color: var(--home-muted);
  font-size: 0.94rem;
  line-height: 1.45;
  margin: 0;
}

.paid-report-card h3 {
  display: block;
  color: #fff7e8;
  font-size: 1.25rem;
  line-height: 1.18;
  margin: 8px 0;
}

.article-plan-button {
  justify-self: start;
}

.public-page .piges,
.public-page .paywall {
  border: 1px solid rgba(216, 162, 71, 0.24);
  background: rgba(1, 10, 18, 0.55);
  border-radius: 0;
  margin: clamp(24px, 4vw, 44px) clamp(24px, 5vw, 62px);
}

.public-page .score-table {
  border: 1px solid rgba(216, 162, 71, 0.24);
  border-radius: 0;
  background: rgba(1, 10, 18, 0.55);
  color: var(--home-text);
}

.public-page .score-table th,
.public-page .score-table td {
  border-bottom: 1px solid rgba(216, 162, 71, 0.18);
}

.public-page .score-table th {
  color: var(--home-gold);
}

.public-page .button-primary,
.public-page .button-secondary {
  border: 1px solid var(--home-gold);
  border-radius: 3px;
  background: linear-gradient(180deg, #e4b86a, #b97a28);
  color: #081421;
}

.public-page .article-grid,
.public-page .report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.public-page .article-card,
.public-page .report-card {
  min-height: auto;
  border: 1px solid rgba(216, 162, 71, 0.24);
  border-radius: 0;
  background: rgba(1, 10, 18, 0.42);
  color: var(--home-text);
  padding: 22px;
}

.public-page .article-card span,
.public-page .report-card span {
  color: var(--home-gold);
}

.public-page .article-card h3,
.public-page .report-card h3 {
  color: #fff7e8;
}

.reports-hub-page .section-heading,
.articles-hub-page .section-heading {
  max-width: none;
  margin-bottom: 20px;
  padding: clamp(24px, 5vw, 56px);
}

.reports-hub-page .report-grid,
.articles-hub-page .article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.themed-not-found {
  max-width: 980px;
}

@media (max-width: 820px) {
  .public-page .nav {
    flex-wrap: wrap;
  }

  .public-page .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .public-page .nav-links a {
    border-left: 0;
    border-top: 1px solid rgba(216, 162, 71, 0.16);
  }

  .public-page .article-grid,
  .public-page .report-grid,
  .reports-hub-page .report-grid,
  .articles-hub-page .article-grid {
    grid-template-columns: 1fr;
  }
}
/* Public page conversion blocks and pattern finder */
.public-subscription-band,
.public-newsletter,
.public-footer,
.public-copyright {
  width: min(1180px, calc(100% - 42px));
  margin-left: auto;
  margin-right: auto;
}

.public-subscription-band {
  margin-top: 36px;
}

.public-subscription-band.subscription-band {
  grid-template-columns: 170px minmax(240px, 1fr) minmax(360px, 1.15fr);
  align-items: stretch;
  gap: 18px;
  padding: 22px;
}

.public-subscription-band .column-art {
  height: 100%;
  min-height: 170px;
}

.public-subscription-band > div:nth-of-type(2) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
}

.public-subscription-band h2 {
  max-width: 12ch;
  line-height: 1.04;
}

.public-subscription-band > div:nth-of-type(2) p {
  margin-bottom: 0;
}

.public-subscription-band .pricing-grid {
  align-self: center;
}

.public-subscription-band > .gold-button {
  grid-column: 3;
  justify-self: stretch;
  align-self: end;
  width: 100%;
}

.public-newsletter {
  margin-top: 28px;
}

.public-newsletter.newsletter {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.58fr);
  gap: 28px;
  align-items: end;
  margin-top: 28px;
  margin-bottom: 0;
  padding: 28px;
}

.public-newsletter > div {
  max-width: 620px;
}

.public-newsletter .gold-kicker {
  margin-top: 0;
}

.public-newsletter h2 {
  max-width: 17ch;
  line-height: 1.06;
}

.public-newsletter .signup-form {
  align-self: center;
}

@media (max-width: 1080px) {
  .public-subscription-band.subscription-band {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .public-subscription-band .pricing-grid,
  .public-subscription-band > .gold-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .public-subscription-band.subscription-band,
  .public-newsletter.newsletter {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .public-subscription-band h2,
  .public-newsletter h2 {
    max-width: none;
  }

  .public-subscription-band .column-art {
    min-height: 150px;
  }
}

.public-footer {
  margin-top: 46px;
}

.pattern-finder-shell {
  width: min(1180px, calc(100% - 42px));
  margin: 0 auto;
  padding: 44px 0 72px;
}

.pattern-tool-hero,
.pattern-workbench,
.pattern-examples {
  border: 1px solid var(--home-line);
  background: linear-gradient(180deg, rgba(8, 28, 45, 0.96), rgba(3, 15, 27, 0.96));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.pattern-tool-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  margin-bottom: 18px;
  padding: clamp(26px, 5vw, 58px);
}

.pattern-tool-hero h1 {
  color: #fff7e8;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
  margin: 0;
}

.pattern-tool-hero p,
.pattern-tool-hero aside span,
.pattern-results-card p,
.pattern-results-card span {
  color: var(--home-muted);
}

.pattern-tool-hero aside {
  align-self: start;
  border: 1px solid rgba(216, 162, 71, 0.28);
  background: rgba(1, 10, 18, 0.48);
  padding: 20px;
}

.pattern-tool-hero aside strong,
.research-package h2 {
  display: block;
  color: #fff7e8;
}

.pattern-workbench {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  padding: 18px;
}

.pattern-input-card,
.pattern-results-card,
.pattern-example-card {
  border: 1px solid rgba(216, 162, 71, 0.22);
  background: rgba(1, 10, 18, 0.45);
  color: var(--home-text);
  padding: 20px;
}

.pattern-input-card {
  display: grid;
  gap: 14px;
}

.pattern-input-card > .gold-button,
.research-package .button {
  justify-self: start;
  width: auto;
  max-width: max-content;
}

.pattern-article-archive {
  display: grid;
  gap: 12px;
  max-height: 520px;
  overflow: auto;
  padding-right: 4px;
}

.pattern-article-card {
  display: grid;
  gap: 8px;
  width: 100%;
  border: 1px solid rgba(216, 162, 71, 0.2);
  background: rgba(255, 255, 255, 0.035);
  color: var(--home-text);
  cursor: pointer;
  padding: 16px;
  text-align: left;
}

.pattern-article-card:hover,
.pattern-article-card:focus-visible,
.pattern-article-card.is-selected {
  border-color: var(--home-gold);
  background: rgba(216, 162, 71, 0.1);
}

.pattern-article-card span,
.pattern-article-card small {
  color: var(--home-gold);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.access-tier-badge {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(216, 162, 71, 0.34);
  background: rgba(216, 162, 71, 0.1);
  color: var(--home-gold);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 5px 8px;
  text-transform: uppercase;
}

.pattern-article-card strong {
  color: #fff7e8;
  font-size: 1.05rem;
  line-height: 1.25;
}

.pattern-article-card p {
  margin: 0;
  color: var(--home-muted);
}

.pattern-input-card label {
  color: var(--home-gold);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-weight: 900;
}

.pattern-input-card textarea,
.pattern-input-card select {
  width: 100%;
  border: 1px solid rgba(216, 162, 71, 0.32);
  border-radius: 4px;
  background: rgba(1, 10, 18, 0.76);
  color: var(--home-text);
  font: inherit;
  padding: 12px;
}

.pattern-input-card textarea {
  min-height: 180px;
  resize: vertical;
}

.pattern-controls,
.finder-match-list,
.pattern-example-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pattern-results-card {
  display: grid;
  gap: 16px;
  min-height: 360px;
}

.empty-pattern-state {
  align-self: center;
  text-align: center;
}

.pattern-result-output {
  display: grid;
  gap: 18px;
}

.pattern-result-heading {
  border-bottom: 1px solid rgba(216, 162, 71, 0.18);
  padding-bottom: 14px;
}

.pattern-result-heading h2 {
  color: #fff7e8;
  margin: 0 0 8px;
}

.pattern-result-heading p {
  margin: 0;
}

.pattern-result-body {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.article-related-workflow {
  grid-column: 1 / -1;
  border: 1px solid rgba(216, 162, 71, 0.22);
  background: rgba(216, 162, 71, 0.07);
  margin: clamp(24px, 4vw, 44px) 0;
  padding: 22px;
}

.public-page .article-longform .article-locked-workflow {
  border-top: 1px solid rgba(216, 162, 71, 0.22);
  margin: 8px 0 0;
  padding: clamp(22px, 4vw, 34px);
}

.public-page .article-page > .article-locked-workflow {
  border: 1px solid var(--home-line);
  background: linear-gradient(180deg, rgba(8, 28, 45, 0.96), rgba(3, 15, 27, 0.96));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  margin: 18px 0 0;
  padding: clamp(24px, 5vw, 44px);
}

.article-related-locked-card {
  min-height: 240px;
}

.article-related-workflow h3 {
  color: #fff7e8;
  margin-bottom: 6px;
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.article-related-card {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(216, 162, 71, 0.22);
  background: rgba(1, 10, 18, 0.48);
  color: var(--home-text);
  padding: 18px;
  text-decoration: none;
}

.article-related-card:hover,
.article-related-card:focus-visible {
  border-color: var(--home-gold);
  background: rgba(216, 162, 71, 0.11);
}

.article-related-card span {
  color: var(--home-gold);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-related-card h3,
.article-related-card p {
  margin: 0;
}

.article-related-card p {
  color: var(--home-muted);
}

.article-related-workflow ul {
  margin-top: 0;
}

.finder-score {
  display: grid;
  width: 160px;
  height: 160px;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(216, 162, 71, 0.44);
  border-radius: 50%;
  background: rgba(216, 162, 71, 0.1);
  text-align: center;
}

.finder-score strong {
  color: var(--home-gold);
  font-size: 3rem;
  line-height: 1;
}

.finder-score small {
  color: var(--home-muted);
  max-width: 110px;
}

.finder-match,
.research-package {
  border: 1px solid rgba(216, 162, 71, 0.18);
  background: rgba(255, 255, 255, 0.035);
  padding: 16px;
}

.finder-match strong {
  display: block;
  color: #fff7e8;
}

.research-package {
  display: grid;
  gap: 8px;
}

.pattern-examples {
  margin-top: 18px;
  padding: 18px;
}

.pattern-example-card {
  cursor: pointer;
  text-align: left;
}

.pattern-example-card:hover,
.pattern-example-card:focus-visible {
  border-color: var(--home-gold);
  background: rgba(216, 162, 71, 0.1);
}

@media (max-width: 900px) {
  .pattern-tool-hero,
  .pattern-workbench,
  .pattern-controls,
  .pattern-result-body,
  .finder-match-list,
  .article-related-grid,
  .pattern-example-grid {
    grid-template-columns: 1fr;
  }
}
