@import url("css2-1.css");
/* ============================================================
   Daily Kingdom — News Portal Stylesheet
   ============================================================ */

:root {
  --brand:       #1a3c6e;
  --brand-dark:  #122b52;
  --accent:      #e63946;
  --text:        #1d1d1f;
  --muted:       #6b7280;
  --border:      #e5e7eb;
  --bg:          #f9fafb;
  --white:       #ffffff;
  --card-shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.06);
  --radius:      6px;
  --font-serif:  'Georgia', 'Times New Roman', serif;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
  background: linear-gradient(135deg, #0f2747 0%, #09162a 100%);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--white);
  white-space: nowrap;
}

.logo span { color: #7eb8f7; }

.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav a {
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: background .15s, color .15s;
}

.main-nav a:hover {
  background: rgba(255,255,255,.12);
  color: var(--white);
  text-decoration: none;
}

.header-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 20px !important;
  font-weight: 700 !important;
  font-size: .875rem !important;
  transition: background .15s !important;
}
.header-cta:hover { background: #c1121f !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: .3s;
}

/* ── TOP BAR ─────────────────────────────────────────────── */
.top-bar {
  background: var(--brand-dark);
  color: rgba(255,255,255,.7);
  font-size: .75rem;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
}
.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.top-bar a { color: rgba(255,255,255,.7); }
.top-bar a:hover { color: var(--white); text-decoration: none; }

/* ── HERO / FEATURED ─────────────────────────────────────── */
.hero-section {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 32px 0 24px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.hero-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background: var(--white);
}

.hero-main img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.hero-main-content {
  padding: 20px 24px 24px;
}

.hero-main .category-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.hero-main h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--text);
}

.hero-main h2 a:hover { text-decoration: none; color: var(--brand); }

.hero-main p {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 12px;
}

.hero-side { display: flex; flex-direction: column; gap: 16px; }

.side-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: 100px 1fr;
}

.side-card img {
  width: 100px;
  height: 90px;
  object-fit: cover;
}

.side-card-content {
  padding: 10px 14px;
}

.side-card .category-tag {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--accent);
  margin-bottom: 6px;
}

.side-card h3 {
  font-family: var(--font-serif);
  font-size: .95rem;
  line-height: 1.3;
  color: var(--text);
}

.side-card h3 a:hover { color: var(--brand); text-decoration: none; }

/* ── SECTION TITLE ───────────────────────────────────────── */
.section-title {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--brand);
  border-left: 4px solid var(--accent);
  padding-left: 10px;
  margin-bottom: 20px;
}

/* ── ARTICLE GRID ────────────────────────────────────────── */
.articles-section { padding: 36px 0; }

.articles-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform .2s, box-shadow .2s;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}

.article-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.article-card-body { padding: 16px; }

.article-card .category-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--accent);
  margin-bottom: 8px;
}

.article-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--text);
}

.article-card h3 a:hover { color: var(--brand); text-decoration: none; }

.article-card p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meta {
  font-size: .75rem;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: center;
}
.meta .dot { width: 3px; height: 3px; background: var(--muted); border-radius: 50%; }

/* ── SIDEBAR ─────────────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 24px; }

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.widget-title {
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--brand);
  border-bottom: 2px solid var(--brand);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.subscribe-widget {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: var(--white);
  border: none;
}

.subscribe-widget .widget-title {
  color: rgba(255,255,255,.8);
  border-color: rgba(255,255,255,.3);
}

.subscribe-widget p {
  font-size: .875rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 16px;
  line-height: 1.5;
}

.subscribe-widget .sub-input {
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-radius: var(--radius);
  font-size: .875rem;
  margin-bottom: 10px;
}

.subscribe-widget .sub-btn {
  width: 100%;
  padding: 10px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.subscribe-widget .sub-btn:hover { background: #c1121f; }

.popular-list { list-style: none; }
.popular-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.popular-list li:last-child { border-bottom: none; }
.popular-number {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--border);
  min-width: 24px;
  line-height: 1.3;
}
.popular-list a {
  font-size: .85rem;
  line-height: 1.35;
  font-weight: 500;
  color: var(--text);
}
.popular-list a:hover { color: var(--brand); text-decoration: none; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: .75rem;
  color: var(--muted);
  transition: .15s;
}
.tag:hover {
  background: linear-gradient(135deg, #0f2747 0%, #09162a 100%);
  color: var(--white);
  border-color: var(--brand);
  text-decoration: none;
}

/* ── AD PLACEHOLDER ──────────────────────────────────────── */
.ad-placeholder {
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.ad-leaderboard { height: 90px; margin: 16px 0; }
.ad-rect { height: 250px; }

/* ── PAYWALL ─────────────────────────────────────────────── */
.paywall-overlay {
  position: relative;
  margin-top: 24px;
}

.paywall-blur {
  filter: blur(3px);
  pointer-events: none;
  user-select: none;
  max-height: 200px;
  overflow: hidden;
}

.paywall-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--card-shadow);
  position: relative;
}

.paywall-box::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--white), transparent);
}

.paywall-box .lock-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.paywall-box h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.paywall-box p {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 20px;
}

.plans-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.plan-card {
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  min-width: 120px;
  text-align: center;
  cursor: pointer;
  transition: .15s;
}

.plan-card.popular {
  border-color: var(--brand);
  position: relative;
}

.plan-card.popular::before {
  content: 'Most Popular';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0f2747 0%, #09162a 100%);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.plan-card:hover { border-color: var(--brand); }

.plan-name { font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; }
.plan-price { font-size: 1.3rem; font-weight: 800; color: var(--text); margin: 4px 0; }
.plan-period { font-size: .7rem; color: var(--muted); }

.btn-subscribe {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 12px 32px;
  border-radius: 25px;
  font-weight: 700;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: background .15s;
}
.btn-subscribe:hover { background: #c1121f; text-decoration: none; }

.paywall-note { font-size: .75rem; color: var(--muted); margin-top: 12px; }

/* ── ARTICLE PAGE ────────────────────────────────────────── */
.article-page { padding: 36px 0 48px; }

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

.article-header { margin-bottom: 24px; }

.breadcrumb {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.breadcrumb a { color: var(--brand); }
.breadcrumb a:hover { text-decoration: underline; }

.article-header .category-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 14px;
}

.article-header h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--text);
}

.article-header .standfirst {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
  font-style: italic;
  border-left: 4px solid var(--brand);
  padding-left: 16px;
  margin-bottom: 18px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .8rem;
  color: var(--muted);
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f2747 0%, #09162a 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
}

.article-meta strong { color: var(--text); }

.article-featured-image {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 8px;
}

.image-caption {
  font-size: .75rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 24px;
  text-align: center;
}

.article-content {
  font-size: 1.0rem;
  line-height: 1.8;
  color: var(--text);
}

.article-content p { margin-bottom: 1.2em; }

.article-content h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin: 1.8em 0 .7em;
  color: var(--text);
}

.article-content h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 1.5em 0 .6em;
  color: var(--text);
}

.article-content blockquote {
  border-left: 4px solid var(--brand);
  margin: 1.5em 0;
  padding: 12px 20px;
  background: var(--bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--muted);
}

.article-content ul, .article-content ol {
  margin: 1em 0 1em 1.5em;
}

.article-content li { margin-bottom: .5em; }

.article-content a { color: var(--brand); }

.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.share-label { font-size: .85rem; font-weight: 600; color: var(--muted); }

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity .15s;
}
.share-btn:hover { opacity: .85; text-decoration: none; }
.share-btn.fb { background: #1877f2; color: var(--white); }
.share-btn.tw { background: #000; color: var(--white); }
.share-btn.wa { background: #25d366; color: var(--white); }
.share-btn.copy { background: var(--bg); color: var(--text); border: 1px solid var(--border); }

/* ── RELATED ARTICLES ────────────────────────────────────── */
.related-section { margin-top: 36px; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

/* ── STATIC PAGES ────────────────────────────────────────── */
.static-page { padding: 48px 0 64px; }
.static-page h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 8px;
}
.static-page .subtitle {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 32px;
}
.static-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1.8em 0 .6em;
  color: var(--text);
}
.static-content p { margin-bottom: 1em; line-height: 1.7; color: #374151; }
.static-content ul { margin: .5em 0 1em 1.5em; }
.static-content li { margin-bottom: .4em; line-height: 1.6; color: #374151; }

/* ── CONTACT FORM ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info { padding-top: 8px; }
.contact-info h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 16px; }
.contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: .9rem;
  color: #374151;
}
.contact-item .icon {
  font-size: 1.2rem;
  min-width: 24px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: var(--font-sans);
  transition: border-color .15s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.btn-primary {
  background: linear-gradient(135deg, #0f2747 0%, #09162a 100%);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.btn-primary:hover { background: var(--brand-dark); }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: #111827;
  color: rgba(255,255,255,.7);
  padding: 48px 0 0;
  margin-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .logo { font-size: 1.35rem; margin-bottom: 12px; }
.footer-brand p { font-size: .85rem; line-height: 1.6; max-width: 280px; }

.footer-col h4 {
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: .85rem; color: rgba(255,255,255,.6); transition: color .15s; }
.footer-col a:hover { color: var(--white); text-decoration: none; }

.footer-bottom {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--white); text-decoration: none; }
.footer-bottom-links { display: flex; gap: 16px; }

/* ── COOKIE BANNER ───────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111827;
  color: rgba(255,255,255,.9);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 9999;
  box-shadow: 0 -4px 16px rgba(0,0,0,.3);
  transform: translateY(100%);
  transition: transform .3s ease;
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-banner p { font-size: .85rem; line-height: 1.5; max-width: 700px; }
.cookie-banner a { color: #7eb8f7; }

.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

.btn-accept {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.btn-decline {
  background: transparent;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.3);
  padding: 9px 16px;
  border-radius: var(--radius);
  font-size: .85rem;
  cursor: pointer;
  white-space: nowrap;
}

/* ── SUBSCRIPTION MODAL ──────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 32px;
  max-width: 460px;
  width: 100%;
  position: relative;
  animation: slideUp .25s ease;
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
}

.modal h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.modal .modal-sub {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 24px;
}

.modal .plans-row { margin-bottom: 20px; }

.modal-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  margin-bottom: 12px;
}

.modal-input:focus { outline: none; border-color: var(--brand); }

.modal-note { font-size: .75rem; color: var(--muted); text-align: center; margin-top: 10px; }

/* ── BREAKING TICKER ─────────────────────────────────────── */
.ticker-bar {
  background: var(--accent);
  color: var(--white);
  padding: 8px 0;
  overflow: hidden;
  font-size: .82rem;
  font-weight: 500;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.ticker-label {
  background: rgba(0,0,0,.2);
  padding: 2px 10px;
  border-radius: 3px;
  font-weight: 700;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-right: 16px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-track {
  overflow: hidden;
  flex: 1;
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── PAGINATION ──────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .875rem;
  color: var(--text);
  transition: .15s;
}

.page-btn:hover, .page-btn.active {
  background: linear-gradient(135deg, #0f2747 0%, #09162a 100%);
  color: var(--white);
  border-color: var(--brand);
  text-decoration: none;
}

/* ── SECTION PAGES & CONTENT TOOLS ───────────────────────── */
.section-hero {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: var(--white);
  padding: 42px 0;
  margin-bottom: 28px;
}

.section-hero h1 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.section-hero p {
  max-width: 760px;
  color: rgba(255,255,255,.84);
  font-size: 1rem;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.section-lead {
  margin-bottom: 24px;
}

.section-lead .article-card img {
  height: 260px;
}

.info-box,
.tool-box,
.quick-facts {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
  margin: 24px 0;
}

.info-box h3,
.tool-box h3,
.quick-facts h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.quick-facts ul,
.info-box ul {
  margin: 0 0 0 1.2rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: .92rem;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background: #f3f6fb;
  color: var(--brand);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.comparison-table tr:nth-child(even) td {
  background: #fcfcfd;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0;
}

.metric-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}

.metric-card strong {
  display: block;
  font-size: 1.25rem;
  color: var(--brand);
  margin-bottom: 4px;
}

.metric-card span {
  color: var(--muted);
  font-size: .82rem;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0;
}

.tool-grid label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.tool-grid input,
.tool-grid select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: .9rem;
}

.tool-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
}

.tool-result {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
  font-size: .92rem;
}

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

/* ── ABOUT PAGE ──────────────────────────────────────────── */
.about-hero {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: var(--white);
  padding: 60px 0;
  text-align: center;
  margin-bottom: 48px;
}

.about-hero h1 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.about-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  max-width: 600px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.team-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #4a9eff);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 12px;
}

.team-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.team-card p { font-size: .8rem; color: var(--muted); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .articles-layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main img { height: 220px; }
  .hero-main h2 { font-size: 1.3rem; }
  .articles-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .section-grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: linear-gradient(135deg, #0f2747 0%, #09162a 100%); padding: 12px; gap: 4px; }
  .hamburger { display: flex; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .article-header h1 { font-size: 1.5rem; }
  .team-grid { grid-template-columns: 1fr; }
  .sidebar { display: flex; flex-direction: column; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .plans-row { flex-direction: column; align-items: center; }
  .plan-card { width: 100%; max-width: 220px; }
  .section-hero h1 { font-size: 1.7rem; }
}


/* ============================================================
   Daily Kingdom — Premium Tabloid Redesign Overrides
   ============================================================ */
:root {
  --brand: #0f2747;
  --brand-dark: #060b14;
  --accent: #d4af63;
  --accent-2: #f5ead1;
  --text: #0f1723;
  --muted: #5f6b7a;
  --border: #d8dee8;
  --bg: #eef2f7;
  --white: #ffffff;
  --card-shadow: 0 20px 52px rgba(6, 11, 20, 0.12);
  --radius: 18px;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
body {
  background:
    radial-gradient(circle at top left, rgba(212,175,99,.12), transparent 24%),
    radial-gradient(circle at top right, rgba(15,39,71,.08), transparent 22%),
    linear-gradient(180deg, #f5f7fb 0%, #eef2f7 55%, #e9eef5 100%);
  color: var(--text);
}
a { text-decoration: none; }
a:hover { text-decoration: none; }
.top-bar {
  background: linear-gradient(90deg, #050811 0%, #0a1527 60%, #10203a 100%);
  border-bottom: 1px solid rgba(202,162,90,.22);
  color: rgba(255,255,255,.76);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .68rem;
}
.top-bar a { color: rgba(255,255,255,.82); }
.site-header {
  background: rgba(7, 13, 24, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212,175,99,.38);
  box-shadow: 0 14px 30px rgba(8, 13, 20, .16);
}
.header-inner {
  height: 78px;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
}
.logo:hover { text-decoration: none; }
.logo .logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #15345e 0%, #0a1a31 100%);
  color: #fff;
  font-size: .9rem;
  letter-spacing: .08em;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 12px 28px rgba(10,26,49,.38), inset 0 1px 0 rgba(255,255,255,.2);
}
.logo .logo-word {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.main-nav { gap: 8px; }
.main-nav a {
  border-radius: 999px;
  padding: 9px 14px;
  color: rgba(255,255,255,.84);
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.main-nav a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}
.header-cta {
  background: linear-gradient(180deg, #e1c788 0%, #c79f53 100%) !important;
  color: #16120c !important;
  box-shadow: 0 10px 20px rgba(202,162,90,.24);
}
.header-cta:hover { background: linear-gradient(180deg, #ecd8a9 0%, #cda661 100%) !important; }
.ticker-bar {
  background: #fff;
  border-bottom: 1px solid rgba(17,23,34,.08);
  box-shadow: inset 0 -1px 0 rgba(17,23,34,.04);
}
.ticker-label {
  background: linear-gradient(135deg, #0f2747 0%, #09162a 100%);
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  letter-spacing: .08em;
}
.hero-section {
  background: transparent;
  border-bottom: 0;
  padding: 34px 0 20px;
}
.hero-grid { gap: 28px; }
.hero-main,
.side-card,
.article-card,
.sidebar-widget,
.page-hero,
.contact-card,
.legal-card,
.article-layout article,
.article-layout .sidebar,
.modal,
.cookie-banner,
.paywall-box,
.static-page,
.listing-card,
.related-card {
  border: 1px solid rgba(17,23,34,.06);
  box-shadow: var(--card-shadow);
}
.hero-main {
  background: linear-gradient(135deg, #07111f 0%, #10203a 100%);
  color: #fff;
  border-radius: 24px;
  overflow: hidden;
}
.hero-main img {
  height: 440px;
  filter: saturate(1.02) contrast(1.03);
}
.hero-main-content {
  padding: 28px 30px 30px;
  background: linear-gradient(180deg, rgba(17,23,34,0) 0%, rgba(17,23,34,.03) 100%);
}
.hero-main .category-tag,
.article-card .category-tag,
.article-header .category-tag,
.side-card .category-tag,
.tag,
.pagination a.current,
.plan-card.popular {
  background: var(--brand) !important;
  color: #fff !important;
  border-color: var(--brand) !important;
}
.hero-main h2,
.article-card h3,
.side-card h3,
.section-title,
.widget-title,
.article-header h1,
.page-hero h1,
.about-intro h1,
.modal h2,
.footer-col h4,
.paywall-box h3 {
  font-family: var(--font-serif);
  letter-spacing: -.02em;
}
.hero-main h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
  margin: 8px 0 14px;
  color: #fff;
}
.hero-main h2 a:hover { color: var(--accent-2); }
.hero-main p, .hero-main .meta { color: rgba(255,255,255,.8); }
.side-card {
  border-radius: 20px;
  grid-template-columns: 120px 1fr;
  overflow: hidden;
  background: rgba(255,255,255,.9);
}
.side-card img { width: 120px; height: 108px; }
.side-card-content { padding: 14px 16px; }
.side-card h3 { font-size: 1.04rem; }
.section-title {
  font-size: 2.2rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 14px;
}
.section-title::after,
.widget-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 999px;
}
.articles-grid {
  gap: 24px;
}
.article-card {
  background: rgba(255,255,255,.92);
  border-radius: 22px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.article-card:hover,
.side-card:hover,
.sidebar-widget:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(17,23,34,.12);
}
.article-card img { height: 220px; }
.article-card-body { padding: 20px; }
.article-card h3 {
  font-size: 1.5rem;
  line-height: 1.08;
  margin: 10px 0 10px;
}
.article-card p,
.side-card p,
.subscribe-widget p,
.contact-info,
.page-hero p,
.article-header .standfirst,
.article-content,
.footer-brand p,
.modal-sub,
.modal-note,
.paywall-box p,
.cookie-banner p { color: var(--muted); }
.meta, .article-meta span, .footer-bottom, .top-bar, .breadcrumb {
  font-size: .8rem;
  letter-spacing: .03em;
}
.sidebar-widget {
  background: rgba(255,255,255,.96);
  border-radius: 20px;
  padding: 22px;
}
.widget-title {
  position: relative;
  font-size: 1.45rem;
  margin-bottom: 18px;
  padding-bottom: 12px;
}
.sub-input,
.modal-input,
.contact-form input,
.contact-form textarea,
.search-input {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fffcf7;
}
.sub-btn,
.btn-subscribe,
.btn-accept,
.btn-decline,
.contact-form button,
.share-btn,
.pagination a,
.tag {
  border-radius: 999px;
  border: 1px solid transparent;
  transition: .18s ease;
}
.sub-btn,
.btn-subscribe,
.btn-accept,
.contact-form button {
  background: linear-gradient(180deg, #b10000 0%, #7d0000 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(139,0,0,.2);
}
.sub-btn:hover,
.btn-subscribe:hover,
.btn-accept:hover,
.contact-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(139,0,0,.24);
}
.btn-decline,
.share-btn,
.pagination a,
.tag {
  background: #fff;
  color: #1b2028;
  border-color: rgba(17,23,34,.1);
}
.tag:hover,
.share-btn:hover,
.pagination a:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.article-page { padding: 38px 0 54px; }
.article-layout {
  align-items: start;
  gap: 26px;
}
.article-layout article,
.article-layout .sidebar {
  background: rgba(255,255,255,.95);
  border-radius: 28px;
}
.article-layout article { padding: 26px 28px 30px; }
.article-layout .sidebar { padding: 22px; }
.article-header h1 {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: .98;
  margin: 14px 0 14px;
}
.article-header .standfirst {
  font-size: 1.14rem;
  line-height: 1.65;
  max-width: 64ch;
}
.author-avatar {
  background: linear-gradient(180deg, #111722, #2b3340);
  color: #fff;
  border: 2px solid rgba(202,162,90,.9);
}
.article-featured-image {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.article-content {
  font-size: 1.03rem;
  line-height: 1.9;
}
.article-content h2,
.article-content h3 {
  margin: 1.7em 0 .7em;
  font-family: var(--font-serif);
}
.article-content blockquote {
  border-left: 4px solid var(--accent);
  background: linear-gradient(90deg, rgba(202,162,90,.12), rgba(202,162,90,0));
  border-radius: 0 18px 18px 0;
  padding: 18px 22px;
  font-style: italic;
}
.paywall-overlay {
  margin-top: 28px;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(17,23,34,.03), rgba(17,23,34,.06));
}
.paywall-blur {
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.75));
}
.paywall-box {
  border-radius: 26px;
  padding: 28px;
  background: linear-gradient(135deg, #121924 0%, #1b2431 62%, #221818 100%);
  color: #fff;
}
.paywall-box p { color: rgba(255,255,255,.76); }
.plan-card {
  border-radius: 18px;
  border: 1px solid rgba(17,23,34,.08);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.plan-card.popular {
  box-shadow: 0 16px 34px rgba(139,0,0,.22);
}
.site-footer {
  background: linear-gradient(180deg, #10151f 0%, #0b1118 100%);
  border-top: 4px solid var(--brand);
  margin-top: 36px;
}
.footer-grid { gap: 34px; }
.footer-brand .logo .logo-word { font-size: 1.7rem; }
.footer-col h4 {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .84rem;
  color: var(--accent);
}
.footer-col a,
.footer-bottom,
.footer-bottom a,
.footer-brand p { color: rgba(255,255,255,.72); }
.footer-col a:hover,
.footer-bottom a:hover { color: #fff; }
.cookie-banner {
  background: rgba(15,23,32,.96);
  color: #fff;
  border: 1px solid rgba(202,162,90,.16);
  border-radius: 24px 24px 0 0;
}
.cookie-banner a { color: #f3cf8f; }
.modal-overlay {
  backdrop-filter: blur(10px);
  background: rgba(8, 11, 16, .55);
}
.modal {
  border-radius: 28px;
  background: linear-gradient(180deg, #fcfaf6 0%, #f7f0e4 100%);
}
.page-hero,
.about-intro,
.about-values,
.legal-card,
.contact-card,
.listing-card,
.category-intro {
  background: rgba(255,255,255,.95);
  border-radius: 24px;
}
.page-hero,
.about-intro,
.category-intro {
  position: relative;
  overflow: hidden;
}
.page-hero::before,
.about-intro::before,
.category-intro::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.contact-item .icon {
  background: linear-gradient(180deg, #b10000 0%, #7d0000 100%);
  color: #fff;
}
@media (max-width: 900px) {
  .logo .logo-word { font-size: 1.5rem; }
  .hero-main img { height: 320px; }
  .article-layout article { padding: 22px 20px 24px; }
}
@media (max-width: 720px) {
  .top-bar-inner { gap: 10px; flex-direction: column; align-items: flex-start; }
  .header-inner { height: 70px; }
  .logo .logo-mark { width: 40px; height: 40px; font-size: .78rem; }
  .logo .logo-word { font-size: 1.28rem; }
  .hero-main h2 { font-size: 2rem; }
  .article-card h3 { font-size: 1.28rem; }
  .article-header h1 { font-size: 2.15rem; }
}


/* Daily Kingdom brand refinements */
.logo .logo-word { letter-spacing: -.03em; }
.hero-main { border: 1px solid rgba(212,175,99,.18); }
.article-card:hover,
.side-card:hover,
.sidebar-widget:hover,
.related-card:hover,
.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(8, 16, 30, .14);
}
.section-title,
.widget-title,
.footer-col h4 { color: #0b1f39; }
.subscribe-widget,
.paywall-box,
.modal-content {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}
.site-footer {
  background: linear-gradient(180deg, #07111f 0%, #0b1a31 100%);
  color: rgba(255,255,255,.82);
}
.footer-brand p,
.footer-col a,
.footer-bottom,
.footer-bottom a { color: rgba(255,255,255,.76); }
.footer-col a:hover,
.footer-bottom a:hover { color: #fff; }
.footer-col h4::after { background: linear-gradient(90deg, var(--accent), #f5ead1); }
.btn-primary,
.sub-btn,
.plan-card .btn-primary {
  background: linear-gradient(180deg, #e1c788 0%, #c79f53 100%);
  color: #1b1508;
  border: none;
  box-shadow: 0 12px 26px rgba(199,159,83,.26);
}
.btn-primary:hover,
.sub-btn:hover,
.plan-card .btn-primary:hover {
  filter: brightness(1.03);
}
.article-header .meta,
.meta,
.article-body p,
.static-content p,
.static-content li,
.contact-info,
.contact-item { color: var(--muted); }
.article-body h2,
.static-content h2,
.contact-info h2,
.about-hero h1,
.section-hero h1 {
  color: #0b1f39;
}
