/* ============================================================
   PAWFECT NEWS - DESIGN SYSTEM v2
   Editorial magazine aesthetic. Navy + Teal + Orange.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand */
  --navy:      #0f1923;
  --navy2:     #162030;
  --navy3:     #1e2d40;
  --navy4:     #243447;
  --teal:      #00a8b5;
  --teal2:     #007d88;
  --teal3:     #005f69;
  --teal-light:#e6f7f9;
  --teal-glow: rgba(0,168,181,.18);
  --orange:    #e05c1a;
  --orange2:   #b84810;
  --orange-light:#fff3ed;
  --cream:     #f7f4ef;
  --cream2:    #ede9e3;
  --cream3:    #e4dfd8;
  --white:     #ffffff;
  --text:      #1a2330;
  --text2:     #2d3d4f;
  --muted:     #6b7a8d;
  --muted2:    #8fa3b5;
  --border:    #dde2eb;
  --border2:   #ccd3de;
  /* Radius */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  22px;
  --r-full:999px;
  /* Shadows */
  --sh-xs: 0 1px 4px rgba(0,0,0,.06);
  --sh-sm: 0 2px 12px rgba(0,0,0,.08);
  --sh-md: 0 6px 24px rgba(0,0,0,.11);
  --sh-lg: 0 14px 44px rgba(0,0,0,.14);
  --sh-xl: 0 24px 64px rgba(0,0,0,.18);
  /* Type */
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  /* Motion */
  --ease: cubic-bezier(.25,.46,.45,.94);
  --t-fast: .15s;
  --t-base: .22s;
  --t-slow: .38s;
}

/* --- RESET ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--t-base) var(--ease); }
a:hover { color: var(--teal2); }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 22px; }

/* --- TOPBAR ----------------------------------------------- */
.topbar {
  background: var(--navy);
  color: var(--muted2);
  font-size: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  letter-spacing: .01em;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar-left i { color: var(--teal); margin-right: 5px; font-size: 11px; }
.topbar-right a { color: var(--muted2); margin: 0 5px; transition: color var(--t-base); font-size: 12px; }
.topbar-right a:hover { color: var(--teal); }
.badge-prem {
  background: linear-gradient(120deg, var(--orange), #f5892e);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-full);
  margin-left: 5px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* --- HEADER ----------------------------------------------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 74px;
}
.logo-wrap { flex-shrink: 0; line-height: 0; }
.logo-img { height: 56px; width: auto; }

/* Logo text fallback */
.logo-text {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
}
.logo-text span { color: var(--teal); }

.header-right { display: flex; align-items: center; gap: 10px; }

.search-form {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--r-full);
  overflow: hidden;
  transition: background var(--t-base), border-color var(--t-base);
}
.search-form:focus-within { background: rgba(255,255,255,.12); border-color: rgba(0,168,181,.5); }
.search-form input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  padding: 8px 16px;
  width: 210px;
  font-size: 13.5px;
}
.search-form input::placeholder { color: #5a7080; }
.search-form button {
  background: var(--teal);
  border: none;
  color: #fff;
  padding: 8px 15px;
  cursor: pointer;
  transition: background var(--t-base);
  font-size: 13px;
}
.search-form button:hover { background: var(--teal2); }

/* --- BUTTONS ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  border: none;
  transition: all var(--t-base) var(--ease);
  white-space: nowrap;
  letter-spacing: .01em;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal2); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,168,181,.3); }
.btn-prem {
  background: linear-gradient(130deg, #e05c1a, #f5892e);
  color: #fff;
  box-shadow: 0 3px 14px rgba(224,92,26,.28);
}
.btn-prem:hover { background: linear-gradient(130deg, #c44f14, #e05c1a); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(224,92,26,.38); }
.btn-outline { background: transparent; border: 2px solid var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-navy { background: var(--navy3); color: #fff; }
.btn-navy:hover { background: var(--navy2); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-lg { padding: 13px 32px; font-size: 15px; }

.nav-toggle { display: none; background: transparent; border: none; cursor: pointer; padding: 5px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }

/* --- NAV -------------------------------------------------- */
.main-nav {
  background: linear-gradient(90deg, var(--navy2) 0%, var(--navy3) 100%);
  border-bottom: 1px solid rgba(0,168,181,.25);
}
.nav-inner { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav-list { display: flex; align-items: center; }
.nav-list li a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted2);
  padding: 12px 15px;
  font-size: 13px;
  font-weight: 500;
  transition: all var(--t-base);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  letter-spacing: .01em;
  position: relative;
}
.nav-list li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: all var(--t-base) var(--ease);
  transform: translateX(-50%);
}
.nav-list li a:hover { color: #fff; }
.nav-list li a:hover::after, .nav-list li a.active::after { width: 100%; }
.nav-list li a.active { color: var(--teal); }
.nav-list li a.nav-admin { color: #f5892e; }
.nav-list li a.nav-admin:hover { color: #fff; }
.nav-list li a.nav-admin::after { background: var(--orange); }

/* --- ALERTS ----------------------------------------------- */
.alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: var(--r-md);
}
.alert-success { background: #d1fae5; color: #065f46; border-left: 3px solid #10b981; }
.alert-error { background: #fee2e2; color: #991b1b; border-left: 3px solid #ef4444; }
.alert-info { background: var(--teal-light); color: #0e5f6a; border-left: 3px solid var(--teal); }
.alert-close { margin-left: auto; background: none; border: none; cursor: pointer; font-size: 17px; opacity: .5; line-height: 1; }
.alert-close:hover { opacity: 1; }

.site-main { min-height: 60vh; }

/* --- HERO ------------------------------------------------- */
.hero-wrap {
  background: var(--navy);
  overflow: hidden;
  position: relative;
}
.hero-slide { display: none; position: relative; }
.hero-slide.active { display: block; }
.hero-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  opacity: .38;
  display: block;
  transition: transform 8s ease;
}
.hero-slide.active .hero-img { transform: scale(1.04); }
.hero-placeholder {
  height: 500px;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy3) 60%, #1a3a4f 100%);
}

/* Decorative accent on hero */
.hero-placeholder::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(0,168,181,.12) 0%, transparent 70%);
}

.hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 48px;
  background: linear-gradient(to top, rgba(8,14,22,.97) 0%, rgba(8,14,22,.7) 50%, transparent 100%);
}
.hero-cat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--teal);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.hero-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
  max-width: 700px;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.hero-content h2 a { color: #fff; }
.hero-content h2 a:hover { color: var(--teal); }
.hero-meta { color: rgba(255,255,255,.55); font-size: 12.5px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-meta i { color: var(--teal); margin-right: 3px; }
.hero-dots { position: absolute; bottom: 16px; right: 24px; display: flex; gap: 7px; z-index: 10; }
.hero-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); cursor: pointer; transition: all .25s; }
.hero-dots span.active { background: var(--teal); transform: scale(1.2); }
.prem-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: linear-gradient(120deg, var(--orange), #f5892e);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--r-full);
  backdrop-filter: blur(4px);
}

/* --- BREAKING NEWS TICKER --------------------------------- */
.ticker-bar {
  background: var(--teal);
  color: #fff;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-inner {
  display: flex;
  align-items: center;
  gap: 0;
}
.ticker-label {
  background: var(--navy);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 14px;
  border-radius: 0 var(--r-full) var(--r-full) 0;
  margin-right: 20px;
  flex-shrink: 0;
}
.ticker-items {
  display: inline-flex;
  animation: ticker-scroll 30s linear infinite;
  gap: 0;
}
.ticker-items a {
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 500;
  padding: 0 28px;
  border-right: 1px solid rgba(255,255,255,.25);
  transition: color var(--t-base);
}
.ticker-items a:hover { color: #fff; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- LAYOUT ----------------------------------------------- */
.layout {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 32px;
  padding: 38px 0 60px;
}
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } }

.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal);
  position: relative;
}
.sec-head::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--orange);
  border-radius: 3px 0 0 3px;
}
.sec-head h2 { font-family: var(--font-head); font-size: 1.3rem; color: var(--navy); }
.sec-head a { font-size: 12.5px; font-weight: 600; color: var(--teal); display: flex; align-items: center; gap: 4px; }
.sec-head a:hover { color: var(--teal2); }

/* --- ARTICLE CARDS ---------------------------------------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
  margin-bottom: 28px;
}
.a-card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,.04);
}
.a-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.a-card-thumb { position: relative; overflow: hidden; }
.a-card-thumb img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform .5s var(--ease);
  display: block;
}
.a-card:hover .a-card-thumb img { transform: scale(1.05); }
.a-card-no-img {
  height: 190px;
  background: linear-gradient(135deg, var(--navy2) 0%, var(--navy3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.a-card-no-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(0,168,181,.15) 0%, transparent 70%);
}
.a-card-no-img i { font-size: 2.4rem; color: rgba(255,255,255,.12); position: relative; z-index: 1; }
.a-cat {
  position: absolute;
  top: 11px; left: 11px;
  background: var(--teal);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: .06em;
  backdrop-filter: blur(4px);
}
.a-lock {
  position: absolute;
  top: 11px; right: 11px;
  background: rgba(224,92,26,.88);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--r-full);
  backdrop-filter: blur(4px);
}
.a-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.a-card-body h3 { font-family: var(--font-head); font-size: 1.02rem; line-height: 1.32; margin-bottom: 8px; }
.a-card-body h3 a { color: var(--navy); }
.a-card-body h3 a:hover { color: var(--teal); }
.a-excerpt {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.55;
}
.a-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 11px;
  margin-top: auto;
  flex-wrap: wrap;
}
.a-meta .author { font-weight: 600; color: var(--text2); }
.a-meta i { color: var(--teal); margin-right: 2px; font-size: 10px; }

/* --- FEATURED STRIP --------------------------------------- */
.feat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.f-card {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  min-height: 134px;
  background: var(--navy2);
  cursor: pointer;
}
.f-card img {
  width: 100%;
  height: 134px;
  object-fit: cover;
  opacity: .45;
  display: block;
  transition: opacity .35s, transform .5s var(--ease);
}
.f-card:hover img { opacity: .6; transform: scale(1.05); }
.f-overlay {
  position: absolute;
  inset: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(8,14,22,.85) 0%, transparent 55%);
}
.f-cat { font-size: 9px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.f-title { font-family: var(--font-head); color: #fff; font-size: .85rem; line-height: 1.28; }
.f-title a { color: #fff; }
.f-title a:hover { color: var(--teal); }

/* --- SIDEBAR ---------------------------------------------- */
.s-widget {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--sh-sm);
  margin-bottom: 22px;
  border: 1px solid rgba(0,0,0,.04);
}
.s-widget-title {
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal);
  display: flex;
  align-items: center;
  gap: 7px;
  position: relative;
}
.s-widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--orange);
}

/* Premium widget */
.w-prem {
  background: linear-gradient(160deg, #0d1e2e 0%, #162030 50%, #1a2d42 100%);
  color: #fff;
  border: 1px solid rgba(0,168,181,.2);
  position: relative;
  overflow: hidden;
}
.w-prem::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(0,168,181,.12) 0%, transparent 70%);
  pointer-events: none;
}
.w-prem::after {
  content: '';
  position: absolute;
  bottom: -30px; left: -20px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(224,92,26,.08) 0%, transparent 70%);
  pointer-events: none;
}
.w-prem .s-widget-title { color: rgba(255,255,255,.9); border-color: rgba(224,92,26,.5); position: relative; z-index: 1; }
.w-prem .s-widget-title::after { background: var(--teal); }
.w-prem-price {
  font-size: 2.1rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-head);
  margin: 10px 0 4px;
  line-height: 1;
  position: relative;
  z-index: 1;
}
.w-prem-price span { font-size: 13px; font-weight: 400; color: var(--muted2); font-family: var(--font-body); }
.w-prem ul { list-style: none; padding: 0; margin: 13px 0; position: relative; z-index: 1; }
.w-prem ul li {
  list-style: none;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.w-prem ul li:last-child { border-bottom: none; }
.w-prem ul li i { color: var(--teal); width: 14px; flex-shrink: 0; font-size: 11px; }
.w-prem .btn-prem { position: relative; z-index: 1; }

/* Trending */
.trend-list { list-style: none; padding: 0; }
.trend-list li {
  display: flex;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.trend-list li:last-child { border-bottom: none; }
.trend-num {
  width: 26px; height: 26px;
  flex-shrink: 0;
  background: var(--teal-light);
  color: var(--teal2);
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.trend-text a { font-size: 13px; font-weight: 500; color: var(--navy); line-height: 1.32; display: block; }
.trend-text a:hover { color: var(--teal); }
.trend-sub { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* --- CATEGORY PILLS --------------------------------------- */
.cat-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 18px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-pills::-webkit-scrollbar { display: none; }
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  transition: all var(--t-base);
  white-space: nowrap;
  box-shadow: var(--sh-xs);
}
.cat-pill:hover, .cat-pill.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  box-shadow: 0 3px 12px rgba(0,168,181,.25);
  transform: translateY(-1px);
}
.cat-pill .emoji { font-size: 14px; }

/* --- ARTICLE PAGE ----------------------------------------- */
.art-wrap { padding: 34px 0 60px; }
.art-layout { display: grid; grid-template-columns: 1fr 280px; gap: 38px; }
@media (max-width: 900px) { .art-layout { grid-template-columns: 1fr; } }
.art-cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--teal);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 13px;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 13px;
}
.art-title {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}
.art-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: var(--muted);
  padding: 13px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}
.art-meta i { color: var(--teal); margin-right: 3px; }
.art-feat-img { width: 100%; border-radius: var(--r-lg); margin-bottom: 26px; max-height: 460px; object-fit: cover; }
.art-body { font-size: 17px; line-height: 1.8; color: var(--text2); }
.art-body h2 { font-family: var(--font-head); color: var(--navy); font-size: 1.45rem; margin: 28px 0 11px; }
.art-body h3 { font-family: var(--font-head); color: var(--navy); font-size: 1.18rem; margin: 22px 0 9px; }
.art-body p { margin-bottom: 18px; }
.art-body ul, .art-body ol { margin: 0 0 18px 22px; }
.art-body li { margin-bottom: 6px; }
.art-body a { color: var(--teal); border-bottom: 1px solid rgba(0,168,181,.3); transition: border-color var(--t-base); }
.art-body a:hover { border-color: var(--teal); }
.art-body blockquote {
  border-left: 4px solid var(--teal);
  background: var(--teal-light);
  padding: 16px 20px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic;
  color: var(--navy);
  margin: 24px 0;
  font-size: 1.05em;
}

/* Premium gate */
.prem-gate { background: linear-gradient(to bottom, transparent, var(--cream)); margin-top: -80px; padding: 90px 0 0; text-align: center; }
.gate-box {
  background: #fff;
  border: 2px solid rgba(224,92,26,.4);
  border-radius: var(--r-xl);
  padding: 34px;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: var(--sh-xl);
}
.gate-icon { font-size: 2.4rem; color: var(--orange); margin-bottom: 12px; }
.gate-box h3 { font-family: var(--font-head); font-size: 1.35rem; color: var(--navy); margin-bottom: 9px; }
.gate-box p { color: var(--muted); font-size: 14px; margin-bottom: 18px; line-height: 1.6; }

/* Share bar */
.share-bar { display: flex; align-items: center; gap: 8px; margin: 24px 0; flex-wrap: wrap; }
.share-bar span { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.sh { display: inline-flex; align-items: center; gap: 5px; padding: 7px 14px; border-radius: var(--r-full); font-size: 12.5px; font-weight: 600; color: #fff; cursor: pointer; border: none; transition: all var(--t-base); }
.sh:hover { transform: translateY(-1px); filter: brightness(1.1); }
.sh-fb { background: #1877f2; }
.sh-tw { background: #1da1f2; }
.sh-wa { background: #25d366; }
.sh-cp { background: var(--navy3); }
.sh-saved { background: var(--orange) !important; }

/* Tags */
.art-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0; }
.art-tags a {
  background: var(--cream2);
  color: var(--muted);
  font-size: 11.5px;
  padding: 4px 12px;
  border-radius: var(--r-full);
  transition: all var(--t-base);
  font-weight: 500;
}
.art-tags a:hover { background: var(--teal); color: #fff; }

/* Comments */
.comment { display: flex; gap: 13px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.comment:last-child { border-bottom: none; }
.c-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13.5px;
  flex-shrink: 0;
  overflow: hidden;
}
.c-avatar img { width: 100%; height: 100%; object-fit: cover; }
.c-author { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.c-text { font-size: 14px; color: var(--text); line-height: 1.62; margin: 3px 0; }
.c-date { font-size: 11px; color: var(--muted); }

/* --- AUTH PAGES ------------------------------------------- */
.auth-page {
  background: var(--navy);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}
.auth-page::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,168,181,.12) 0%, transparent 70%);
  pointer-events: none;
}
.auth-page::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(224,92,26,.08) 0%, transparent 70%);
  pointer-events: none;
}
.auth-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--sh-xl);
  position: relative;
  z-index: 1;
}
.auth-logo { text-align: center; margin-bottom: 24px; }
.auth-logo img { height: 62px; margin: 0 auto; }
.auth-card h2 { font-family: var(--font-head); font-size: 1.6rem; color: var(--navy); text-align: center; margin-bottom: 5px; }
.auth-sub { text-align: center; color: var(--muted); font-size: 13.5px; margin-bottom: 22px; }

/* --- FORMS ------------------------------------------------ */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: 15px;
  color: var(--text);
  background: #fff;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,168,181,.1);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-hint { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.auth-divider {
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
  margin: 16px 0;
  position: relative;
}
.auth-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.auth-divider span { background: #fff; padding: 0 12px; position: relative; }
.auth-switch { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 16px; }

/* --- PREMIUM PAGE ----------------------------------------- */
.prem-hero {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy3) 60%, #1a3040 100%);
  color: #fff;
  padding: 64px 20px;
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.prem-hero::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(circle, rgba(0,168,181,.15) 0%, transparent 70%);
}
.prem-hero h1 { font-family: var(--font-head); font-size: clamp(1.9rem, 4.5vw, 2.9rem); margin-bottom: 12px; position: relative; }
.prem-hero p { font-size: 16px; color: rgba(255,255,255,.6); max-width: 520px; margin: 0 auto 24px; position: relative; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 780px; margin: 0 auto 52px; }
@media (max-width: 580px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  text-align: center;
  position: relative;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.plan-card.feat { border-color: var(--orange); box-shadow: 0 8px 32px rgba(224,92,26,.15); }
.plan-card:hover { transform: translateY(-3px); }
.plan-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(120deg, var(--orange), #f5892e);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--r-full);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.plan-name { font-family: var(--font-head); font-size: 1.3rem; color: var(--navy); margin-bottom: 6px; }
.plan-price { font-size: 2.5rem; font-weight: 700; color: var(--navy); font-family: var(--font-head); margin: 14px 0 3px; }
.plan-price span { font-size: 14px; font-weight: 400; color: var(--muted); font-family: var(--font-body); }
.plan-feats { text-align: left; margin: 18px 0 22px; }
.plan-feats li { padding: 7px 0; font-size: 13.5px; color: var(--text); display: flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--border); }
.plan-feats li:last-child { border: none; }
.plan-feats li i { color: var(--teal); width: 14px; font-size: 12px; }
.plan-feats li.no i { color: var(--border); }
.plan-feats li.no { color: var(--muted); }

/* --- DASHBOARD -------------------------------------------- */
.dash-page { padding: 36px 0 60px; }
.dash-hdr {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy3) 100%);
  color: #fff;
  padding: 28px 32px;
  border-radius: var(--r-xl);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.dash-hdr::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(0,168,181,.12) 0%, transparent 70%);
}
.dash-av {
  width: 62px; height: 62px;
  background: linear-gradient(135deg, var(--teal), var(--teal2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.dash-av img { width: 100%; height: 100%; object-fit: cover; }
.dash-info h2 { font-family: var(--font-head); font-size: 1.4rem; }
.dash-info p { color: rgba(255,255,255,.55); font-size: 13px; margin-top: 4px; }
.dash-tier {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: var(--r-full);
  margin-top: 9px;
}
.dash-grid { display: grid; grid-template-columns: 210px 1fr; gap: 24px; }
@media (max-width: 760px) { .dash-grid { grid-template-columns: 1fr; } }
.dash-nav {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 10px 0;
  box-shadow: var(--sh-sm);
  height: fit-content;
  border: 1px solid rgba(0,0,0,.04);
}
.dash-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 17px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  transition: all var(--t-base);
  border-left: 3px solid transparent;
}
.dash-nav a:hover, .dash-nav a.active { background: var(--teal-light); color: var(--teal2); border-left-color: var(--teal); }
.dash-nav a i { width: 15px; text-align: center; color: var(--teal); font-size: 13px; }
.dash-nav .ndiv { height: 1px; background: var(--border); margin: 7px 14px; }
.dash-content {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--sh-sm);
  border: 1px solid rgba(0,0,0,.04);
}
.dash-content h3 { font-family: var(--font-head); font-size: 1.12rem; color: var(--navy); margin-bottom: 16px; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(125px, 1fr)); gap: 12px; margin-bottom: 22px; }
.stat-box { background: var(--cream); border-radius: var(--r-md); padding: 16px; text-align: center; border: 1px solid var(--border); }
.stat-box .n { font-size: 1.9rem; font-weight: 700; font-family: var(--font-head); color: var(--navy); }
.stat-box .l { font-size: 11.5px; color: var(--muted); margin-top: 3px; }

/* --- PAGE STRIP ------------------------------------------- */
.page-strip {
  background: linear-gradient(100deg, var(--navy) 0%, var(--navy3) 100%);
  color: #fff;
  padding: 34px 0;
  margin-bottom: 32px;
  border-bottom: 3px solid rgba(0,168,181,.4);
  position: relative;
  overflow: hidden;
}
.page-strip::after {
  content: '';
  position: absolute;
  right: -80px; top: 50%;
  transform: translateY(-50%);
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(0,168,181,.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-strip h1 { font-family: var(--font-head); font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: 6px; }
.page-strip p { color: rgba(255,255,255,.55); font-size: 13.5px; }

/* --- PAGINATION ------------------------------------------- */
.pagination { display: flex; justify-content: center; gap: 5px; padding: 26px 0; }
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 13.5px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--text);
  transition: all var(--t-base);
}
.pagination a:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-light); }
.pagination .cur { background: var(--teal); border-color: var(--teal); color: #fff; }

/* --- MISC ------------------------------------------------- */
.breadcrumb { font-size: 12.5px; color: var(--muted); padding: 11px 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: var(--teal); }
.breadcrumb i { font-size: 10px; color: var(--border2); }
.empty-state { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty-state i { font-size: 3rem; color: var(--border2); margin-bottom: 13px; display: block; }
.empty-state h3 { font-family: var(--font-head); color: var(--navy); margin-bottom: 7px; font-size: 1.2rem; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.data-table th { background: var(--cream2); text-align: left; padding: 10px 14px; font-weight: 600; color: var(--navy); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; border-bottom: 2px solid var(--border); }
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tr:hover td { background: var(--cream); }

/* --- FOOTER ----------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: #5a7080;
  padding: 56px 0 0;
  margin-top: 60px;
  border-top: 1px solid rgba(0,168,181,.15);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { height: 50px; margin-bottom: 13px; }
.footer-brand p { font-size: 13px; line-height: 1.65; max-width: 200px; margin-bottom: 16px; }
.footer-soc { display: flex; gap: 8px; }
.footer-soc a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: rgba(255,255,255,.06);
  color: #5a7080;
  border-radius: 50%;
  transition: all var(--t-base);
  font-size: 13px;
}
.footer-soc a:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.footer-col h4 { font-family: var(--font-head); color: rgba(255,255,255,.85); font-size: .95rem; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: #5a7080; font-size: 13px; transition: color var(--t-base); }
.footer-col ul li a:hover { color: var(--teal); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 16px 0;
  margin-top: 42px;
}
.footer-bot-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12.5px; }
.footer-bot-inner a { color: #4a5e6f; transition: color var(--t-base); }
.footer-bot-inner a:hover { color: var(--teal); }

/* Footer newsletter */
.footer-nl { background: rgba(0,168,181,.07); border: 1px solid rgba(0,168,181,.18); border-radius: var(--r-lg); padding: 20px 22px; margin-bottom: 36px; }
.footer-nl h4 { font-family: var(--font-head); color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 5px; }
.footer-nl p { font-size: 13px; color: #5a7080; margin-bottom: 13px; }
.footer-nl-form { display: flex; gap: 8px; }
.footer-nl-form input { flex: 1; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-full); color: #fff; padding: 9px 16px; font-size: 13.5px; outline: none; }
.footer-nl-form input::placeholder { color: #3a5060; }
.footer-nl-form input:focus { border-color: rgba(0,168,181,.5); background: rgba(255,255,255,.1); }
.footer-nl-form button { background: var(--teal); border: none; color: #fff; padding: 9px 20px; border-radius: var(--r-full); cursor: pointer; font-size: 13px; font-weight: 600; transition: background var(--t-base); white-space: nowrap; font-family: inherit; }
.footer-nl-form button:hover { background: var(--teal2); }

/* --- ADMIN ------------------------------------------------- */
.admin-body { background: #f0f2f6; margin: 0; }
.admin-wrap { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.admin-sidebar {
  background: var(--navy);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
}
.admin-sidebar::-webkit-scrollbar { width: 3px; }
.admin-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); }
.admin-brand { display: flex; align-items: center; gap: 10px; padding: 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
.admin-brand img { height: 40px; }
.admin-brand span { color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.a-nav { padding: 11px 0; flex: 1; }
.a-nav-lbl { display: block; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #2d4050; padding: 10px 16px 3px; }
.a-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: #6a8899;
  transition: all var(--t-fast);
  border-left: 2px solid transparent;
}
.a-nav a:hover { color: #fff; background: rgba(255,255,255,.04); }
.a-nav a.active { color: var(--teal); background: rgba(0,168,181,.08); border-left-color: var(--teal); }
.a-nav a i { width: 15px; text-align: center; flex-shrink: 0; font-size: 12px; }
.a-badge { margin-left: auto; background: #ef4444; color: #fff; font-size: 9.5px; font-weight: 700; min-width: 17px; height: 17px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.a-badge-orange { background: var(--orange); }
.admin-sidebar-foot { padding: 12px; border-top: 1px solid rgba(255,255,255,.06); display: flex; gap: 6px; }
.admin-sidebar-foot a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 11px; color: #3a5060; padding: 8px; border-radius: var(--r-sm); transition: all var(--t-base); }
.admin-sidebar-foot a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-main { display: flex; flex-direction: column; min-height: 100vh; overflow: hidden; }
.admin-topbar {
  background: #fff;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
.sidebar-tog { background: none; border: none; cursor: pointer; font-size: 17px; color: var(--muted); padding: 5px 8px; border-radius: var(--r-sm); transition: background var(--t-base); }
.sidebar-tog:hover { background: var(--cream2); }
.admin-content { padding: 24px; flex: 1; }
.admin-page-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; gap: 11px; }
.admin-page-hdr h1 { font-family: var(--font-head); font-size: 1.4rem; color: var(--navy); display: flex; align-items: center; gap: 9px; }
.admin-page-hdr h1 i { color: var(--teal); }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 14px; margin-bottom: 24px; }
.astat {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 20px 17px;
  box-shadow: var(--sh-sm);
  border-top: 3px solid var(--teal);
  transition: transform var(--t-base);
}
.astat:hover { transform: translateY(-2px); }
.astat-n { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.astat-l { font-size: 12px; color: var(--muted); margin-top: 5px; display: flex; align-items: center; gap: 5px; }
.admin-card { background: #fff; border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh-sm); }
.admin-card-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.admin-card-hdr h3 { font-family: var(--font-head); font-size: .97rem; color: var(--navy); }
.admin-card-hdr a { font-size: 12.5px; color: var(--teal); font-weight: 600; }

/* Status badges */
.status-badge { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 2px 9px; border-radius: var(--r-full); text-transform: capitalize; }
.s-published, .s-active, .s-approved, .s-available { background: #d1fae5; color: #065f46; }
.s-draft, .s-pending, .s-scheduled { background: #fef3c7; color: #92400e; }
.s-archived, .s-adopted, .s-removed { background: #f3f4f6; color: #6b7280; }
.s-premium { background: #fff7ed; color: var(--orange); }
.s-free { background: var(--teal-light); color: var(--teal2); }
.s-admin { background: #ede9fe; color: #5b21b6; }
.s-hidden { background: #fee2e2; color: #991b1b; }

/* Admin action buttons */
.a-act { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: var(--r-sm); background: var(--cream2); color: var(--muted); font-size: 11px; transition: all var(--t-fast); margin-right: 2px; }
.a-act:hover { background: var(--teal); color: #fff; }
.a-act.del:hover { background: #ef4444; color: #fff; }

/* Filter bar */
.filter-bar { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; background: #fff; padding: 12px 16px; border-radius: var(--r-md); box-shadow: var(--sh-sm); margin-bottom: 18px; }
.filter-bar input[type="search"], .filter-bar select { padding: 7px 12px; border: 1.5px solid var(--border); border-radius: var(--r-md); font-size: 13px; outline: none; }
.filter-bar input[type="search"] { min-width: 195px; }
.filter-bar input:focus, .filter-bar select:focus { border-color: var(--teal); }
.table-wrap { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-sm); overflow: hidden; }

/* --- RESPONSIVE ------------------------------------------- */
@media (max-width: 768px) {
  .search-form { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open .nav-list { flex-direction: column; align-items: flex-start; }
  .feat-strip { grid-template-columns: 1fr 1fr; }
  .hero-img, .hero-placeholder { height: 290px; }
  .hero-content { padding: 18px 20px; }
  .topbar-left { display: none; }
  .admin-wrap { grid-template-columns: 1fr; }
  .admin-sidebar { position: fixed; left: -232px; height: 100vh; transition: left .28s var(--ease); }
  .admin-sidebar.open { left: 0; box-shadow: var(--sh-xl); }
  .footer-nl-form { flex-direction: column; }
  .ticker-bar { display: none; }
}
@media (max-width: 480px) {
  .feat-strip { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
}

/* ── Admin responsive grids ─────────────────────────────── */
@media (max-width: 1024px) {
  .admin-content [style*="grid-template-columns:1fr 320px"],
  .admin-content [style*="grid-template-columns:1fr 310px"] {
    display: block;
  }
  .admin-content [style*="grid-template-columns:1fr 320px"] > *:last-child,
  .admin-content [style*="grid-template-columns:1fr 310px"] > *:last-child {
    margin-top: 16px;
  }
}

/* ── Analytics responsive ───────────────────────────────── */
@media (max-width: 820px) {
  .admin-content [style*="grid-template-columns:1fr 1fr"] {
    display: block !important;
  }
  .admin-content [style*="grid-template-columns:1fr 1fr"] > * {
    margin-bottom: 16px;
  }
  .admin-content [style*="grid-template-columns:1fr 1fr 1fr"] {
    display: block !important;
  }
  .admin-content [style*="grid-template-columns:1fr 1fr 1fr"] > * {
    margin-bottom: 16px;
  }
}

/* ── Status badge colours (polish) ──────────────────────── */
.s-published  { background: #d1fae5; color: #065f46; }
.s-draft      { background: #f3f4f6; color: #374151; }
.s-pending    { background: #fef3c7; color: #92400e; }
.s-scheduled  { background: #dbeafe; color: #1e40af; }
.s-archived   { background: #fee2e2; color: #991b1b; }
.s-free       { background: #e6f7f9; color: var(--teal2); }
.s-premium    { background: #fff3ed; color: var(--orange2); }
.s-admin      { background: #0f1923; color: #fff; }
.s-user       { background: #f3f4f6; color: #374151; }
.s-active     { background: #d1fae5; color: #065f46; }
.s-hidden     { background: #f3f4f6; color: #374151; }
.s-approved   { background: #d1fae5; color: #065f46; }
.s-rejected   { background: #fee2e2; color: #991b1b; }
.s-available  { background: #d1fae5; color: #065f46; }
.s-resolved   { background: #f3f4f6; color: #374151; }
.s-adopted    { background: #dbeafe; color: #1e40af; }

/* ── Action button row ───────────────────────────────────── */

  border-radius: var(--r-lg, 10px);
  padding: 18px 20px;
  margin: 28px 0;
  flex-wrap: wrap;
}
.inline-nl-icon {
  font-size: 1.8rem;
  color: var(--teal, #1a9e8f);
  flex-shrink: 0;
}
.inline-nl-text {
  flex: 1;
  min-width: 160px;
}
.inline-nl-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy, #1b2e4b);
  margin-bottom: 2px;
}
.inline-nl-text span {
  font-size: 13px;
  color: var(--muted, #8a9ab0);
}
.inline-nl-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.inline-nl-form input[type="email"] {
  padding: 9px 13px;
  border: 1px solid var(--border, #e4ddd5);
  border-radius: var(--radius, 8px);
  font-size: 13px;
  min-width: 200px;
  background: #fff;
}
.inline-nl-form input[type="email"]:focus {
  outline: none;
  border-color: var(--teal, #1a9e8f);
}
@media (max-width: 600px) {
  .inline-newsletter-cta { flex-direction: column; align-items: flex-start; }
  .inline-nl-form { width: 100%; }
  .inline-nl-form input[type="email"] { min-width: 0; flex: 1; }
}

/* ── Sidebar Newsletter Widget ────────────────────────────── */
.s-newsletter {
  background: linear-gradient(135deg, #1a9e8f 0%, #12857a 100%);
  color: #fff;
  border-radius: var(--r-lg, 10px);
  padding: 18px;
}
.s-newsletter .s-widget-title { color: #fff !important; }
.s-newsletter p { color: rgba(255,255,255,.75) !important; }
.s-newsletter input[type="email"] {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  border-radius: var(--radius, 8px);
  padding: 9px 12px;
  font-size: 13px;
  width: 100%;
  margin-bottom: 8px;
}
.s-newsletter input[type="email"]::placeholder { color: rgba(255,255,255,.55); }
.s-newsletter input[type="email"]:focus { outline: none; border-color: rgba(255,255,255,.7); }
.s-newsletter .btn-primary {
  background: #fff;
  color: var(--teal, #1a9e8f);
  width: 100%;
  justify-content: center;
}
.s-newsletter .btn-primary:hover { background: rgba(255,255,255,.9); }

/* ── Read time chip in art-meta ───────────────────────────── */
.art-meta .read-time { font-weight: 500; }


/* ── 1. Article body improvements ────────────────────────── */

/* Drop cap on first paragraph */
.art-body > p:first-of-type::first-letter {
  font-family: var(--font-head);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 0.8;
  float: left;
  margin: 6px 10px 0 0;
  color: var(--navy);
}

/* Better H2 headings — left teal accent bar */
.art-body h2 {
  font-size: 1.5rem;
  padding-left: 14px;
  border-left: 4px solid var(--teal);
  margin: 36px 0 12px;
  border-radius: 0;
}

/* H3 — subtle underline accent */
.art-body h3 {
  font-size: 1.15rem;
  color: var(--navy);
  border-bottom: 2px solid var(--cream2);
  padding-bottom: 5px;
  margin: 28px 0 10px;
}

/* Better image handling inside article body */
.art-body img {
  width: 100%;
  border-radius: var(--r-lg);
  margin: 18px 0;
}

/* Pull quote / blockquote upgrade */
.art-body blockquote {
  border-left: 4px solid var(--teal);
  background: var(--teal-light);
  padding: 20px 24px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic;
  color: var(--navy);
  margin: 28px 0;
  font-size: 1.08em;
  position: relative;
}
.art-body blockquote::before {
  content: '\201C';
  font-family: var(--font-head);
  font-size: 4rem;
  color: var(--teal);
  opacity: .25;
  position: absolute;
  top: -10px;
  left: 10px;
  line-height: 1;
}

/* Key stat / callout box (use <div class="callout"> in article body) */
.art-body .callout {
  background: var(--orange-light);
  border: 1px solid rgba(224,92,26,.25);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 15px;
  color: var(--navy);
}
.art-body .callout strong { color: var(--orange); }

/* Horizontal rule inside articles */
.art-body hr {
  border: none;
  border-top: 2px solid var(--cream2);
  margin: 32px 0;
}

/* ── 2. Footer newsletter — full redesign ─────────────────── */

/* Remove old basic box */
.footer-nl {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
}

/* New full-width newsletter band above the footer grid */
.footer-nl-band {
  background: linear-gradient(135deg, rgba(0,168,181,.12) 0%, rgba(0,100,115,.08) 100%);
  border: 1px solid rgba(0,168,181,.2);
  border-radius: var(--r-xl);
  padding: 40px 48px;
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}

@media (max-width: 700px) {
  .footer-nl-band {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 20px;
  }
}

.footer-nl-band-left {}
.footer-nl-band-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}
.footer-nl-band-title {
  font-family: var(--font-head);
  font-size: 1.55rem;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}
.footer-nl-band-sub {
  font-size: 13.5px;
  color: #5a7a8f;
  line-height: 1.55;
}
.footer-nl-band-right {}
.footer-nl-band-form {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-full);
  overflow: hidden;
  min-width: 340px;
}
@media (max-width: 500px) {
  .footer-nl-band-form { min-width: 0; flex-direction: column; border-radius: var(--r-lg); }
  .footer-nl-band-form button { border-radius: var(--r-lg) !important; }
}
.footer-nl-band-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  padding: 13px 20px;
  font-size: 14px;
  outline: none;
  min-width: 0;
}
.footer-nl-band-form input::placeholder { color: #4a6575; }
.footer-nl-band-form button {
  background: var(--teal);
  border: none;
  color: #fff;
  padding: 13px 22px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  border-radius: var(--r-full);
  transition: background var(--t-base);
  white-space: nowrap;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-nl-band-form button:hover { background: var(--teal2); }
.footer-nl-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.footer-nl-trust span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: #3d5a6a;
}
.footer-nl-trust i { color: var(--teal); font-size: 11px; }

/* ── 3. Inline article newsletter CTA upgrade ─────────────── */

.inline-newsletter-cta {
  background: var(--navy) !important;
  border: none !important;
  border-radius: var(--r-xl) !important;
  padding: 28px 30px !important;
  margin: 36px 0 !important;
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  gap: 20px !important;
  align-items: center !important;
}

.inline-nl-icon {
  width: 52px;
  height: 52px;
  background: rgba(0,168,181,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.inline-nl-icon i { color: var(--teal); font-size: 1.4rem; }

.inline-nl-body { }
.inline-nl-text strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #fff !important;
  margin-bottom: 2px;
}
.inline-nl-text span { color: #5a7a8f !important; font-size: 13.5px; }

.inline-nl-form {
  display: flex;
  gap: 0;
  margin-top: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-full);
  overflow: hidden;
  max-width: 440px;
}
.inline-nl-form input[type="email"] {
  flex: 1;
  background: transparent !important;
  border: none !important;
  color: #fff;
  padding: 11px 18px;
  font-size: 13.5px;
  outline: none;
  min-width: 0;
  border-radius: 0 !important;
}
.inline-nl-form input[type="email"]::placeholder { color: #4a6575; }
.inline-nl-form .btn-primary {
  background: var(--teal) !important;
  border: none !important;
  border-radius: var(--r-full) !important;
  padding: 11px 20px !important;
  font-size: 13px !important;
  white-space: nowrap;
}
.inline-nl-form .btn-primary:hover { background: var(--teal2) !important; }

@media (max-width: 640px) {
  .inline-newsletter-cta {
    grid-template-columns: 1fr !important;
  }
  .inline-nl-form { flex-direction: column; border-radius: var(--r-lg); }
  .inline-nl-form .btn-primary { border-radius: var(--r-lg) !important; }
}

/* ── 4. TOC improvements ──────────────────────────────────── */

.art-toc {
  background: var(--cream) !important;
  border: 1px solid var(--cream3) !important;
  border-left: 4px solid var(--teal) !important;
  border-radius: 0 var(--r-lg) var(--r-lg) 0 !important;
  padding: 20px 22px !important;
  margin-bottom: 32px !important;
}
.art-toc-title {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  color: var(--teal) !important;
  margin-bottom: 12px !important;
}
.art-toc-list li {
  font-size: 14px;
  line-height: 1.5;
}
.art-toc-list a {
  color: var(--navy) !important;
  text-decoration: none;
  transition: color .15s;
}
.art-toc-list a:hover { color: var(--teal) !important; }

/* ── 5. Sidebar newsletter widget upgrade ─────────────────── */
.s-newsletter {
  background: var(--navy) !important;
  border-radius: var(--r-lg) !important;
  padding: 20px !important;
  border: none !important;
}
.s-newsletter .s-widget-title {
  color: #fff !important;
  border-color: rgba(0,168,181,.3) !important;
  font-size: .9rem !important;
}
.s-newsletter p { color: #5a7a8f !important; font-size: 13px !important; }
.s-newsletter input[type="email"] {
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  border-radius: var(--r-full) !important;
  color: #fff !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
  width: 100% !important;
  margin-bottom: 8px !important;
  outline: none;
}
.s-newsletter input[type="email"]::placeholder { color: #4a6575 !important; }
.s-newsletter input[type="email"]:focus { border-color: var(--teal) !important; }
.s-newsletter .btn-primary {
  background: var(--teal) !important;
  border: none !important;
  width: 100% !important;
  justify-content: center !important;
  border-radius: var(--r-full) !important;
}
.s-newsletter .btn-primary:hover { background: var(--teal2) !important; }

/* ── 6. About / Contact page styles ──────────────────────── */
.info-page-hero {
  background: var(--navy);
  padding: 60px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.info-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,168,181,.15) 0%, transparent 70%);
  pointer-events: none;
}
.info-page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}
.info-page-hero p {
  font-size: 16px;
  color: #5a7a8f;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
}

.info-page-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 20px 80px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text2);
}
.info-page-body h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--navy);
  margin: 40px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--teal);
}
.info-page-body p { margin-bottom: 18px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 28px 0;
}
.team-card {
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 24px 16px;
  text-align: center;
}
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal2));
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-family: var(--font-head);
}
.team-card h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.team-card p { font-size: 12px; color: var(--muted); margin: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-method {
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-method h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.contact-method p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }
.contact-method a { color: var(--teal); }

.contact-form-wrap {
  background: var(--cream);
  border-radius: var(--r-xl);
  padding: 36px;
  margin-top: 40px;
}
.contact-form-wrap h2 { margin-top: 0 !important; }