/* ==========================================================================
   Velora Editorial — Public News & Viral Stories Theme
   Inspired by clean minimalist single-column editorial & social-traffic blogs
   ========================================================================== */

:root {
  --bg-page: #fafafa;
  --bg-surface: #ffffff;
  --text-primary: #09090b;
  --text-body: #18181b;
  --text-secondary: #52525b;
  --text-muted: #71717a;
  --border-light: #e4e4e7;
  --border-subtle: #f1f5f9;
  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --accent-pill: #007bff;
  --accent-pill-hover: #0066d6;
  --gate-dark: #161310;
  --gate-amber-start: #f0a500;
  --gate-amber-end: #e8762b;
  --font-serif: Georgia, "Times New Roman", Times, serif;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 16px rgba(15, 23, 42, 0.03);
  --shadow-card-hover: 0 10px 28px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* ---------- Top Collapsible Anchor Ad ---------- */
.anchor-ad-shell {
  position: relative;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  z-index: 45;
  transition: max-height 0.25s ease, opacity 0.25s ease;
}

.anchor-ad-shell.is-collapsed .anchor-ad-inner {
  display: none;
}

.anchor-ad-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.anchor-ad-toggle {
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  width: 44px;
  height: 20px;
  border: 1px solid var(--border-light);
  border-top: none;
  border-radius: 0 0 8px 8px;
  background: #ffffff;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  z-index: 46;
}

.anchor-ad-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.anchor-ad-shell.is-collapsed .anchor-ad-toggle svg {
  transform: rotate(180deg);
}

/* ---------- Sticky Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  height: 64px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.site-header-inner {
  max-width: 1152px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wordmark {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.is-active {
  color: var(--text-primary);
  border-bottom-color: var(--text-primary);
}

.nav-mobile-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
}

.nav-mobile-drawer {
  display: none;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 12px 20px 18px;
  flex-direction: column;
  gap: 8px;
}

.nav-mobile-drawer.is-open {
  display: flex;
}

.nav-mobile-drawer a {
  padding: 10px 8px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-mobile-drawer a:hover,
.nav-mobile-drawer a.is-active {
  background: #f4f4f5;
  color: var(--text-primary);
}

/* ---------- Soft Pink-to-Violet Glow (Article Header Accent) ---------- */
.page-glow-wrap {
  position: relative;
  overflow: hidden;
}

.editorial-glow {
  pointer-events: none;
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 100vw);
  height: 320px;
  background: linear-gradient(125deg, #ff80b5 0%, #9089fc 100%);
  opacity: 0.24;
  filter: blur(72px);
  border-radius: 9999px;
  z-index: 0;
}

/* ---------- Homepage ---------- */
.home-hero {
  max-width: 718px;
  margin: 0 auto;
  padding: 56px 20px 36px;
  text-align: center;
}

.home-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
}

.home-hero p {
  margin: 0;
  font-size: 17px;
  color: var(--text-muted);
}

.home-main {
  max-width: 1152px;
  margin: 0 auto;
  padding: 8px 20px 64px;
}

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

.story-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.story-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-light);
}

.story-card-media {
  position: relative;
  height: 204px;
  overflow: hidden;
  background: #e2e8f0;
}

.story-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.story-card:hover .story-card-media img {
  transform: scale(1.05);
}

.story-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.story-card-date {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.story-card-title {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  transition: color 0.16s ease;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-card:hover .story-card-title {
  color: var(--accent-blue);
}

.story-card-cta {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Pagination */
.pagination-bar {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.page-btn:hover:not(:disabled) {
  background: #f4f4f5;
  border-color: #d4d4d8;
}

.page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.page-info {
  font-size: 14px;
  color: var(--text-muted);
  padding: 0 8px;
}

/* ---------- Article Page (Single Column Editorial) ---------- */
.article-main {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 20px 36px;
}

/* Exact Clone Mode (preserves full-bleed original CSS layout like chatgpt.site) */
.article-main.is-exact-mode {
  max-width: 100%;
  padding: 0;
}

.article-main.is-exact-mode .exact-ad-band,
.article-main.is-exact-mode .share-card {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.article-main.is-exact-mode .share-card {
  margin-top: 32px;
  margin-bottom: 24px;
}

.cloned-article-scope {
  width: 100%;
  display: flow-root;
}

.cloned-article-scope .ad-slot {
  max-width: 752px;
  margin: 28px auto;
  padding: 0 20px;
  font-family: var(--font-sans);
}

.article-header {
  text-align: center;
  margin-bottom: 28px;
}

.article-date {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 14px;
}

.article-title {
  margin: 0;
  font-size: clamp(28px, 5vw, 50px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.article-hero-img {
  width: 100%;
  border-radius: 12px;
  margin: 24px 0 28px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e2e8f0;
}

/* Oversized high-whitespace reading typography (.editorial-prose matching hitora .v5-prose) */
.editorial-prose {
  color: var(--text-body);
  font-size: 23px;
  line-height: 1.86;
}

.editorial-prose p {
  margin: 0 0 28px;
}

.editorial-prose strong,
.editorial-prose b {
  font-weight: 700;
  color: var(--text-primary);
}

.editorial-prose em,
.editorial-prose i {
  font-style: italic;
}

.editorial-prose a {
  color: var(--accent-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.editorial-prose a:hover {
  color: var(--accent-blue-hover);
}

.editorial-prose mark {
  background: #fef08a;
  color: #09090b;
  padding: 1px 5px;
  border-radius: 4px;
}

.editorial-prose h2 {
  margin: 44px 0 18px;
  font-size: clamp(25px, 3.4vw, 33px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.editorial-prose h3 {
  margin: 34px 0 14px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

.editorial-prose h4 {
  margin: 26px 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.editorial-prose ul,
.editorial-prose ol {
  margin: 0 0 28px;
  padding-left: 28px;
}

.editorial-prose li {
  margin-bottom: 14px;
  font-size: 23px;
  line-height: 1.84;
}

.editorial-prose blockquote {
  margin: 32px 0;
  padding: 20px 26px;
  border-left: 4px solid var(--accent-blue);
  background: #ffffff;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text-secondary);
  box-shadow: var(--shadow-card);
}

.editorial-prose figure {
  margin: 30px 0;
}

.editorial-prose figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

.editorial-prose img {
  width: 100%;
  border-radius: 12px;
  margin: 24px 0;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

.editorial-prose figure img {
  margin: 0;
}

.editorial-prose hr {
  border: 0;
  border-top: 1px solid var(--border-light);
  margin: 36px 0;
}

.editorial-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 17px;
  line-height: 1.55;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.editorial-prose th,
.editorial-prose td {
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  text-align: left;
}

.editorial-prose th {
  background: #f8fafc;
  font-weight: 700;
  color: var(--text-primary);
}

.video-embed-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 14px;
  margin: 32px 0;
  background: #09090b;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.video-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Continue Reading + Rewarded Content Gate ---------- */
.continue-tail {
  position: relative;
}

.continue-tail.is-collapsed .gated-body {
  max-height: 280px;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
}

.continue-tail.is-collapsed .gated-body-blur {
  filter: blur(6px);
  opacity: 0.65;
  transition: filter 0.35s ease, opacity 0.35s ease;
}

.continue-fade-overlay {
  display: none;
}

.continue-tail.is-collapsed .continue-fade-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: absolute;
  inset: 0;
  padding-bottom: 24px;
  background: linear-gradient(
    to bottom,
    rgba(250, 250, 250, 0) 0%,
    rgba(250, 250, 250, 0.78) 48%,
    rgba(250, 250, 250, 0.98) 85%,
    #fafafa 100%
  );
  z-index: 5;
}

.see-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 9999px;
  border: none;
  background: var(--accent-pill);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 123, 255, 0.3);
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.see-more-btn:hover {
  background: var(--accent-pill-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 123, 255, 0.38);
}

/* Sticky Dark Bottom Content-Gate Bar (.cg-bar) */
.cg-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 55;
  padding: 0 16px;
  display: none;
  justify-content: center;
  pointer-events: none;
}

.cg-bar.is-visible {
  display: flex;
}

.cg-card {
  pointer-events: auto;
  width: 100%;
  max-width: 680px;
  background: var(--gate-dark);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.cg-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.cg-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gate-amber-start), var(--gate-amber-end));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #161310;
}

.cg-text-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

.cg-text-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 2px;
}

.cg-unlock-btn {
  flex-shrink: 0;
  padding: 10px 22px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--gate-amber-start), var(--gate-amber-end));
  color: #161310;
  font-size: 14px;
  font-weight: 800;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.cg-unlock-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* Simulated Rewarded Ad Modal (Preview Mode) */
.rewarded-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.82);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.rewarded-modal-backdrop.is-open {
  display: flex;
}

.rewarded-modal {
  width: 100%;
  max-width: 440px;
  background: #18181b;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.rewarded-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(240, 165, 0, 0.18);
  color: #fbbf24;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.rewarded-modal h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.rewarded-modal p {
  margin: 0 0 18px;
  font-size: 14px;
  color: #a1a1aa;
}

.rewarded-progress-track {
  height: 8px;
  background: #27272a;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 16px;
}

.rewarded-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gate-amber-start), var(--gate-amber-end));
  transition: width 0.25s linear;
}

/* ---------- Share Bar ---------- */
.share-card {
  margin: 40px 0 24px;
  padding: 18px 22px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.share-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.share-btn {
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  border: 1px solid var(--border-light);
  background: #fafafa;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.share-btn:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #ffffff;
  transform: translateY(-1px);
}

.share-btn svg {
  width: 16px;
  height: 16px;
}

/* ---------- Other Posts (4-Column Grid) ---------- */
.other-posts-section {
  max-width: 980px;
  margin: 24px auto 40px;
  padding: 36px 20px 0;
  border-top: 1px solid var(--border-light);
}

.other-posts-heading {
  margin: 0 0 22px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.other-posts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.mini-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mini-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.mini-card img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  background: #e2e8f0;
}

.mini-card-body {
  padding: 12px 14px 16px;
}

.mini-card-date {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.mini-card-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.38;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-card:hover .mini-card-title {
  color: var(--accent-blue);
}

/* ---------- Ad Slot Containers ---------- */
.ad-slot {
  width: 100%;
  margin: 26px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ad-slot.is-hidden {
  display: none !important;
}

.ad-placeholder-box {
  width: 100%;
  min-height: 100px;
  border: 1.5px dashed #cbd5e1;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 16px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.ad-placeholder-box.is-compact {
  min-height: 76px;
  padding: 10px 16px;
}

.ad-placeholder-box.is-tall {
  min-height: 250px;
}

.ad-placeholder-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.ad-placeholder-title {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.ad-placeholder-sub {
  font-size: 12px;
  color: #64748b;
}

/* Bottom Ad & Compact Legal Strip */
.bottom-ad-wrapper {
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--border-light);
  padding: 20px 20px 32px;
}

.bottom-ad-inner {
  max-width: 980px;
  margin: 0 auto;
}

.site-legal-strip {
  max-width: 1152px;
  margin: 18px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.site-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-legal-links a:hover {
  color: var(--text-primary);
}

/* ---------- Static Pages (Contact, Terms, Privacy, About) ---------- */
.static-page-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 72px;
}

.static-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.static-card h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.static-card .updated-at {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.static-card h2 {
  margin: 28px 0 10px;
  font-size: 20px;
  font-weight: 700;
}

.static-card p,
.static-card li {
  font-size: 16px;
  line-height: 1.72;
  color: var(--text-secondary);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d4d4d8;
  background: #ffffff;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  background: var(--accent-blue);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.15s ease;
}

.btn-primary:hover {
  background: var(--accent-blue-hover);
}

.hidden-honeypot {
  display: none;
}

/* ---------- Toast ---------- */
.toast-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 120;
  background: #18181b;
  color: #ffffff;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast-pill.is-shown {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .stories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

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

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

  .nav-mobile-btn {
    display: inline-flex;
  }

  .stories-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .editorial-prose {
    font-size: 19px;
    line-height: 1.78;
  }

  .editorial-prose li {
    font-size: 19px;
  }

  .cg-card {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cg-unlock-btn {
    width: 100%;
    text-align: center;
  }

  .static-card {
    padding: 24px 20px;
  }
}
