:root {
  --brand: #00aab5;
  --brand-dark: #00838c;
  --accent: #f2a93b;
  --accent-dark: #d68a1f;
  --ink: #101b2d;
  --muted: #5a6b85;
  --soft: #f1fafb;
  --border: #dceaec;

  --cat-news: #00aab5;
  --cat-business: #d68a1f;
  --cat-sports: #d9631e;
  --cat-politics: #6b4fd6;
  --cat-email: #00aab5;
}

body {
  font-family:
    "Inter",
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: #ffffff;
}
img,
svg {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-font {
  font-weight: 700;
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
}

p {
  line-height: 1.7;
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  z-index: 2000;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 0.5rem 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Brand colors as simple utility overrides ---------- */
.text-brand {
  color: var(--brand) !important;
}
.btn {
  border-radius: 999px;
  padding: 0.6rem 1.5rem;
}
.btn-lg {
  padding: 0.8rem 1.75rem;
  font-size: 1.1rem;
}
.btn-brand {
  background-color: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.btn-brand:hover,
.btn-brand:focus {
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}
.btn-outline-brand {
  border: 1.5px solid var(--brand);
  color: var(--brand);
}
.btn-outline-brand:hover,
.btn-outline-brand:focus {
  background-color: var(--brand);
  color: #fff;
}

/* ---------- Simple fade-up animation ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade {
  animation: fadeUp 0.6s ease both;
}
.delay-1 {
  animation-delay: 0.12s;
}
.delay-2 {
  animation-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .animate-fade {
    animation: none;
  }
}

/* ---------- Scroll-reveal (used by script.js IntersectionObserver) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.08s;
}
.reveal-delay-2 {
  transition-delay: 0.16s;
}
.reveal-delay-3 {
  transition-delay: 0.24s;
}
.reveal-delay-4 {
  transition-delay: 0.32s;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.hover-lift {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 2rem rgba(18, 23, 43, 0.1) !important;
}

/* ---------- Header ---------- */
.navbar-brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.nav-link-custom {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 0.9rem !important;
  border-radius: 0.5rem;
  position: relative;
}
.nav-link-custom:hover {
  color: var(--brand);
  background: var(--soft);
}
.nav-link-custom.active {
  color: var(--brand);
}

.topbar {
  background: var(--brand);
  color: #fff;
  padding: 0.4rem 0;
  font-size: 0.82rem;
}
.topbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a {
  color: #fff;
  font-weight: 600;
}
.topbar a:hover {
  text-decoration: underline;
}
.topbar-links {
  display: none;
  gap: 1.1rem;
}
@media (min-width: 768px) {
  .topbar-links {
    display: inline-flex;
  }
}

/* Main nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
}
.mainnav {
  background: #fff;
  box-shadow: 0 0.125rem 0.5rem rgba(16, 27, 45, 0.06);
  padding: 0.85rem 0;
}
.mainnav .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mainnav .brand-font {
  font-size: 1.4rem;
  color: var(--ink);
  font-weight: 800;
}
.mainnav-links {
  margin: 1rem 0 0;
  gap: 0.1rem;
}
@media (min-width: 992px) {
  .mainnav-links {
    margin: 0 auto 0 2rem;
  }
}

.mainnav-cta .btn {
  border-radius: 999px;
  padding: 0.55rem 1.35rem;
  font-weight: 700;
}

.mainnav-cta {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 0.85rem;
}
@media (min-width: 992px) {
  .mainnav-cta {
    justify-content: flex-end;
    margin-top: 0;
  }
}

/* ---------- Hero (centered, trust-led - eclipso/BlueMail style) ---------- */
.hero {
  background:
    radial-gradient(
      1200px 560px at 50% -12%,
      rgba(0, 170, 181, 0.1),
      transparent 62%
    ),
    linear-gradient(180deg, var(--soft) 0%, #ffffff 70%);
  overflow: hidden;
  padding: 5rem 0 3.5rem;
  text-align: center;
}
.hero-inner {
  max-width: 760px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem 0.4rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero-eyebrow .dot-new {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.hero-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  justify-content: center;
}
.hero h1 {
  font-size: 3rem;
  line-height: 1.12;
  margin-bottom: 1.1rem;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand);
}
.hero p.hero-lead {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 auto 2rem;
  max-width: 620px;
}
.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}
.hero-actions .btn {
  padding: 0.85rem 1.9rem;
  font-size: 1.02rem;
}

/* Stat row under hero copy */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.5rem 1rem;
  box-shadow: 0 1rem 2.5rem rgba(16, 27, 45, 0.06);
  max-width: 780px;
  margin: 0 auto 3.5rem;
}
.hero-stat {
  flex: 1 1 25%;
  min-width: 130px;
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--border);
}
.hero-stat:last-child {
  border-right: 0;
}
.hero-stat .stat-value {
  font-size: 1.65rem;
  color: var(--brand);
}
.hero-stat .stat-label {
  font-size: 0.8rem;
}
@media (max-width: 575.98px) {
  .hero-stat {
    flex: 1 1 50%;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
  }
  .hero-stat:nth-child(2n) {
    border-right: 0;
  }
}

/* Hero visual: browser/inbox mockup shown centered below the copy */
.hero-visual {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}
.hero-visual .mock-panel {
  text-align: left;
  box-shadow: 0 2rem 4rem rgba(16, 27, 45, 0.14);
}
.hero-visual .stack-card {
  text-align: left;
}

.stack-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}
.stack-desc {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0;
}
@media (max-width: 767.98px) {
  .hero {
    padding: 3rem 0 2.5rem;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  .hero p.hero-lead {
    font-size: 1.05rem;
  }
}

/* Mockup */
.mock-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 0.125rem 0.5rem rgba(18, 23, 43, 0.06);
}
.mock-panel-bar {
  background: var(--soft);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 1rem;
  display: flex;
  gap: 0.35rem;
}
.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.mock-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
}
.mock-row:last-child {
  border-bottom: none;
}
.mock-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}
.mock-line {
  height: 8px;
  border-radius: 4px;
  background: var(--border);
}
.mock-row-lines {
  flex: 1;
}
.mock-row-lines .mock-line {
  margin-bottom: 0.5rem;
}
.mock-row-lines .mock-line:last-child {
  margin-bottom: 0;
}
.platform-link {
  text-decoration: none;
  color: var(--ink);
  display: block;
}

/* ---------- Section eyebrow label ---------- */
.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brand);
}

/* ---------- Numbered / icon badge ---------- */
.idx-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumb-nav {
  padding-top: 1.5rem;
}
.breadcrumb-nav ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0 0 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumb-nav li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  color: var(--border);
}
.breadcrumb-nav a {
  color: var(--brand);
  font-weight: 600;
}
.breadcrumb-nav a:hover {
  text-decoration: underline;
}
.breadcrumb-nav li {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.breadcrumb-nav [aria-current="page"] {
  color: var(--muted);
  font-weight: 500;
}

/* ---------- Footer (light theme) ---------- */
.sfoot {
  background: var(--soft);
  color: var(--muted);
  padding: 3rem 0 1.25rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.sfoot-top {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
}
@media (min-width: 768px) {
  .sfoot-top {
    grid-template-columns: 1.6fr repeat(4, 1fr);
  }
}
.sfoot-about {
  grid-column: 1 / -1;
}
@media (min-width: 768px) {
  .sfoot-about {
    grid-column: auto;
  }
}
.sfoot-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.sfoot-brand .brand-font {
  font-size: 1.15rem;
  color: var(--ink);
}
.sfoot-desc {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 320px;
}
.sfoot-heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--ink);
}
.sfoot-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.sfoot-links a {
  color: var(--muted);
  font-size: 0.92rem;
}
.sfoot-links a:hover {
  color: var(--brand);
}
.sfoot-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.sfoot-contact i {
  color: var(--brand);
  margin-top: 0.2rem;
}
.sfoot-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.sfoot-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 0.95rem;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.sfoot-social a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.sfoot-divider {
  border-color: var(--border);
  opacity: 1;
  margin: 2.25rem 0 1.25rem;
}
.sfoot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.sfoot-bottom p {
  margin: 0;
}

@media (max-width: 767.98px) {
  .mock-panel {
    margin-top: 2rem;
  }
}

/* ---------- Shared page intro banner ---------- */
.about-hero,
.contact-hero,
.business-hero,
.biz1-hero,
.biz2-hero,
.biz3-hero,
.privacy-hero,
.terms-hero,
.newsletter-hero {
  background: var(--soft);
  padding: 3rem 0;
}
.about-hero h1,
.contact-hero h1,
.business-hero h1,
.biz1-hero h1,
.biz2-hero h1,
.biz3-hero h1,
.privacy-hero h1,
.terms-hero h1 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.about-hero p,
.contact-hero p,
.business-hero p,
.biz1-hero p,
.biz2-hero p,
.biz3-hero p {
  color: var(--muted);
  margin-bottom: 0;
}
.legal-updated-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}
.privacy-hero .legal-updated,
.terms-hero .legal-updated {
  margin-bottom: 0;
}

/* ---------- Shared page CTA banner ---------- */
.about-cta,
.biz1-cta,
.biz2-cta,
.biz3-cta {
  padding: 3rem 0;
  text-align: center;
}
.about-cta h2,
.biz1-cta h2,
.biz2-cta h2,
.biz3-cta h2 {
  margin-bottom: 1rem;
}
.biz1-cta p {
  color: var(--muted);
  margin: 0 auto 1.5rem;
}
.about-cta-actions,
.biz1-cta-actions,
.biz2-cta-actions,
.biz3-cta-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- About page ---------- */
.about-mission {
  padding: 3rem 0;
}
.about-mission .row {
  align-items: center;
}
.about-values {
  padding: 3rem 0;
  background: var(--soft);
}
.about-values-intro {
  text-align: center;
  margin-bottom: 3rem;
}
.about-values .card {
  height: 100%;
  border: 0;
  box-shadow: 0 0.125rem 0.5rem rgba(18, 23, 43, 0.06);
}
.about-values .card-body {
  padding: 1.5rem;
}
.about-values .idx-badge {
  margin-bottom: 1rem;
}
.about-values .card p {
  color: var(--muted);
  margin-bottom: 0;
}

/* ---------- Newsletter page ---------- */
.newsletter-hero {
  padding: 3rem 0;
}
.newsletter-hero .row {
  align-items: center;
}
.newsletter-hero h1 {
  margin: 0.5rem 0 0.75rem;
}
.newsletter-hero .hero-lead {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.nlf {
  background: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
  max-width: 480px;
  box-shadow: 0 0.125rem 0.5rem rgba(18, 23, 43, 0.06);
}
.newsletter-form-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
}
.mock-panel-body {
  padding: 1.5rem;
}
.mock-panel-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.mock-panel-issue {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.mock-panel-body .mock-line {
  margin-bottom: 0.5rem;
}
.mock-panel-thumbs {
  margin-top: 0.5rem;
}
.mock-thumb {
  background: var(--soft);
  border-radius: 0.5rem;
  height: 50px;
}

.newsletter-benefits {
  padding: 3rem 0;
}
.newsletter-benefits-intro {
  text-align: center;
  margin-bottom: 3rem;
}
.nlb {
  text-align: center;
}
.nlb .idx-badge {
  margin: 0 auto 1rem;
}
.nlb h3 {
  font-size: 1rem;
  font-weight: 700;
}
.nlb p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.newsletter-cta {
  padding: 3rem 0;
  background: var(--soft);
  text-align: center;
}
.newsletter-cta h2 {
  margin: 0.5rem 0 0.75rem;
}
.newsletter-cta p {
  color: var(--muted);
  margin: 0 auto 1.5rem;
}

/* ---------- policy content pages ---------- */
.privacy-body,
.terms-body,
.disclaimer-body {
  padding: 3.5rem 0 4rem;
}
.legal-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: stretch;
}
.legal-toc-col {
  width: 100%;
}
@media (min-width: 992px) {
  .legal-layout {
    flex-wrap: nowrap;
  }
  .legal-toc-col {
    width: 260px;
    flex-shrink: 0;
  }
  .legal-content-col {
    flex: 1;
    min-width: 0;
  }
}
.legal-toc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
  position: sticky;
  top: 6.5rem;
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
}
.legal-toc-title {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: legal-toc;
}
.legal-toc li {
  counter-increment: legal-toc;
  margin-bottom: 0.2rem;
}
.legal-toc a {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 600;
  padding: 0.5rem 0.6rem;
  border-radius: 0.6rem;
  line-height: 1.35;
}
.legal-toc a::before {
  content: counter(legal-toc);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--brand-dark);
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.legal-toc a:hover {
  background: var(--soft);
  color: var(--ink);
}

.legal-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: 0 0.5rem 1.5rem rgba(16, 27, 45, 0.05);
}
.legal-content h2 {
  font-size: 1.2rem;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  scroll-margin-top: 6.5rem;
}
.legal-content > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.75;
}
.legal-content ul {
  padding-left: 1.2rem;
}
.legal-updated {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Responsive tweaks for smaller screens */
@media (max-width: 991.98px) {
  .legal-toc {
    position: static;
  }
}
@media (max-width: 767.98px) {
  .privacy-body,
  .terms-body,
  .disclaimer-body {
    padding: 2rem 0;
  }
  .legal-card {
    padding: 1.5rem;
  }
  .legal-content h2 {
    font-size: 1.05rem;
  }
  .legal-content p,
  .legal-content li {
    line-height: 1.65;
  }
}

/* ---------- Simple info / contact cards ---------- */
.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ---------- Business sub-pages ---------- */
.biz1-usecases,
.biz2-features {
  padding: 3rem 0;
}
.biz1-usecases-intro {
  text-align: center;
  margin-bottom: 1.5rem;
}
.biz1-usecases .card,
.biz2-features .card {
  height: 100%;
  border: 0;
  box-shadow: 0 0.125rem 0.5rem rgba(18, 23, 43, 0.06);
}
.biz1-usecases .card-body,
.biz2-features .card-body {
  padding: 1.5rem;
}
.biz1-usecases .idx-badge,
.biz2-features .idx-badge {
  margin-bottom: 1rem;
}
.biz1-usecases .card p,
.biz2-features .card p {
  color: var(--muted);
  margin-bottom: 0;
}

.biz1-industries {
  padding: 3rem 0;
  background: var(--soft);
}
.biz1-industries-intro {
  text-align: center;
  margin-bottom: 3rem;
}
.biz1-industry {
  text-align: center;
}
.biz1-industry .idx-badge {
  margin: 0 auto 1rem;
}
.biz1-industry h3 {
  font-size: 1rem;
  font-weight: 700;
}
.biz1-industry p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.biz2-why {
  padding: 3rem 0;
  background: var(--soft);
}
.biz2-why .row {
  align-items: center;
}
.biz2-why p {
  color: var(--muted);
  margin-bottom: 0;
}

.biz3-overview {
  padding: 3rem 0;
}
.biz3-metrics {
  text-align: center;
  margin-bottom: 3rem;
}
.biz3-overview .card {
  height: 100%;
  border: 0;
  box-shadow: 0 0.125rem 0.5rem rgba(18, 23, 43, 0.06);
}
.biz3-overview .card-body {
  padding: 1.5rem;
}
.biz3-overview .idx-badge {
  margin-bottom: 1rem;
}
.biz3-overview .card p {
  color: var(--muted);
  margin-bottom: 0;
}

.biz3-case {
  padding: 3rem 0;
  background: var(--soft);
}
.biz3-case .row {
  justify-content: center;
}
.biz3-case-intro {
  text-align: center;
  margin-bottom: 3rem;
}
.biz3-quote {
  border: 0;
  box-shadow: 0 0.125rem 0.5rem rgba(18, 23, 43, 0.06);
  padding: 1.5rem;
}
.biz3-quote p:first-child {
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.biz3-quote-name {
  font-weight: 600;
  margin-bottom: 0;
}
.biz3-quote-title {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* ---------- Business hub page ---------- */
.business-links {
  padding: 3rem 0;
}
.business-links .platform-card h3 {
  font-size: 1rem;
  font-weight: 700;
}
.business-links .platform-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}
.business-news-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 3rem 0 1.5rem;
}
.business-cta {
  padding: 3rem 0;
  background: var(--soft);
  text-align: center;
}
.business-cta h2 {
  margin-bottom: 0.75rem;
}
.business-cta p {
  color: var(--muted);
  margin: 0 auto 1.5rem;
}

/* ---------- Contact page ---------- */
.contact-body {
  padding: 3rem 0;
}
.contact-body h2 {
  margin-bottom: 1.5rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-label {
  font-weight: 600;
  margin-bottom: 0;
}
.contact-value {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}
.contact-form {
  border: 0;
  box-shadow: 0 0.125rem 0.5rem rgba(18, 23, 43, 0.06);
  padding: 2rem;
  border-radius: 1rem;
  background: #fff;
}
.form-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--muted);
}
.form-status-success {
  color: #198754;
}

/* ---------- Auth split panel (signup / login) ---------- */
.auth {
  padding: 3rem 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.auth-frame {
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 1.5rem 3rem rgba(16, 27, 45, 0.1);
}
.auth-panel {
  background: var(--soft);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  padding: 3.5rem 3rem;
  display: none;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 992px) {
  .auth-panel {
    display: flex;
  }
}
.auth-panel::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 170, 181, 0.14), transparent 70%);
}

.auth-panel-content {
  position: relative;
  z-index: 1;
}
.auth-panel-content .auth-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin-bottom: 1.1rem;
  background: rgba(0, 170, 181, 0.1);
  color: var(--brand-dark);
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.2;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.auth-panel-content .auth-icon i {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  line-height: 1;
}
.auth-panel-content .auth-icon span {
  display: inline-block;
  font-size: 0.78rem;
  line-height: 1.2;
  text-transform: uppercase;
}
.auth-panel-content h2 {
  font-size: 2.1rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.auth-panel-lead {
  margin-bottom: 1.75rem;
  color: var(--muted);
}
.auth-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.auth-check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 1rem;
}
.auth-check-list li:last-child {
  margin-bottom: 0;
}
.auth-check-list .check-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(0, 170, 181, 0.14);
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}
.auth-check-list span {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.96rem;
}
.auth-panel-cta {
  display: none;
}
@media (max-width: 991.98px) {
  .auth-panel-cta {
    display: block;
    margin-top: 0.5rem;
  }
}
.auth-form-side {
  background: #fff;
  padding: 3rem;
}
.auth-subtitle {
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.auth-field {
  margin-bottom: 1rem;
}
.auth-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.auth-options .form-check-label {
  color: var(--muted);
  font-size: 0.875rem;
}

/* Email address + domain suffix combined field */
.auth-email-group {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
}
.auth-email-group:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 1px;
}
.auth-email-group input {
  border: 0;
  box-shadow: none;
  flex: 1;
  min-width: 0;
}
.auth-email-group input:focus {
  outline: none;
  box-shadow: none;
}
.auth-email-suffix {
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding: 0 1rem;
  background: var(--soft);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  border-left: 1px solid var(--border);
}
.auth-link {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.875rem;
}
.auth-terms {
  margin-bottom: 1.5rem;
}
.auth-terms .form-check-label {
  color: var(--muted);
  font-size: 0.875rem;
}
.auth-submit {
  width: 100%;
  margin-bottom: 1rem;
}
.auth-status {
  text-align: center;
}
.auth-switch {
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 0;
}
.auth-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0.75rem 0 0;
}

/* ---------- Simple centered login card ---------- */
.login-card-wrap {
  max-width: 440px;
  margin: 0 auto;
}
.login-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 1.5rem 3rem rgba(16, 27, 45, 0.1);
  border: 1px solid var(--border);
}
.login-card-head {
  text-align: center;
  margin-bottom: 2rem;
}
.login-card-head .navbar-brand-icon {
  margin: 0 auto 1rem;
  width: 46px;
  height: 46px;
  font-size: 1.2rem;
}
.login-card-head h1 {
  margin-bottom: 0.35rem;
}
.login-card-head p {
  color: var(--muted);
  margin-bottom: 0;
}

/* ---------- Form feedback ---------- */
.form-status {
  font-size: 0.9rem;
  margin-top: 0.75rem;
}
.form-status[hidden] {
  display: none;
}

.stat-value {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--brand);
}

.cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.cat-news {
  color: var(--cat-news);
  background: rgba(0, 170, 181, 0.09);
}
.cat-business {
  color: var(--cat-business);
  background: rgba(214, 138, 31, 0.1);
}
.cat-sports {
  color: var(--cat-sports);
  background: rgba(217, 99, 30, 0.1);
}
.cat-politics {
  color: var(--cat-politics);
  background: rgba(107, 79, 214, 0.1);
}
.cat-email {
  color: var(--cat-email);
  background: rgba(0, 170, 181, 0.1);
}

/* ---------- Platform section cards ---------- */
.platform-card {
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.75rem;
  height: 100%;
  background: #fff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 2rem rgba(18, 23, 43, 0.1);
  border-color: transparent;
}
.picon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #fff;
}
.picon-email {
  background: var(--cat-email);
}
.picon-sports {
  background: var(--cat-sports);
}
.picon-politics {
  background: var(--cat-politics);
}

/* ---------- Hero pills (used on multiple pages) ---------- */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink);
}
.stack-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 1.2rem 2.5rem rgba(18, 23, 43, 0.12);
  padding: 1rem 1.1rem;
  width: 230px;
}
.stack-wrap {
  position: relative;
  min-height: 400px;
}
.stack-card-1 {
  top: 0;
  right: 0;
}
.stack-card-2 {
  top: 150px;
  left: 0;
  width: 210px;
}
.stack-card-3 {
  bottom: 0;
  right: 30px;
  width: 200px;
}
.smico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}
.mock-row .smico {
  margin-bottom: 0;
}
.smico-news {
  background: var(--cat-news);
}
.smico-business {
  background: var(--cat-business);
}
.smico-sports {
  background: var(--cat-sports);
}
.smico-email {
  background: var(--cat-email);
}
@media (max-width: 991.98px) {
  .stack-wrap {
    min-height: 0;
  }
  .stack-card {
    position: static;
    width: 100%;
    margin-bottom: 1rem;
  }
}

.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.ticker-block {
  text-align: center;
  padding: 1.25rem 0.5rem;
}
.ticker-block + .ticker-block {
  border-left: 1px solid var(--border);
}
.stat-value {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 0;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* ---------- Section intro ---------- */
.mail-intro,
.biz-intro {
  text-align: center;
  margin-bottom: 3rem;
}
.mail-intro p,
.biz-intro p {
  color: var(--muted);
  margin: 0.75rem auto 0;
}
.mail-intro .cat-badge,
.biz-intro .cat-badge {
  margin-bottom: 0.5rem;
}
.link-brand {
  color: var(--brand);
  font-weight: 600;
}

/* ---------- Mail section ---------- */
.mail {
  padding: 3rem 0;
}

/* layout: copy + inbox visual */
.mail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* copy column */
.mail-pts {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.mail-pts .mail-pt {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.mail-pt .mail-ico {
  width: 32px;
  height: 32px;
  border-radius: 0.65rem;
  background: var(--soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.mail-pt strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.mail-pt p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.mail-acts {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* inbox visual */
.mail-vis {
  position: relative;
}
.mail-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: 0 1.75rem 3.5rem rgba(16, 27, 45, 0.12);
  overflow: hidden;
}
.mail-box .mail-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--soft);
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 1.1rem;
}
.mail-bar .mail-dots {
  display: flex;
  gap: 0.35rem;
}
.mail-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
}
.mail-bar .mail-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}
.mail-box .mail-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--border);
}
.mail-box .mail-row:last-child {
  border-bottom: 0;
}
.mail-row.mail-new {
  background: rgba(0, 170, 181, 0.04);
}
.mail-row .mail-ava {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}
.mail-row div {
  flex: 1;
  min-width: 0;
}
.mail-row strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mail-row p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0.1rem 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mail-row .mail-time {
  font-size: 0.72rem;
  color: var(--muted);
  flex-shrink: 0;
  white-space: nowrap;
}
.mail-row .mail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

/* floating stat chip */
.mail-vis .mail-chip {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 1rem 2.5rem rgba(16, 27, 45, 0.14);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.mail-chip .mail-ico {
  background: rgba(0, 170, 181, 0.1);
  color: var(--brand-dark);
}
.mail-chip strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.1;
}
.mail-chip span {
  font-size: 0.75rem;
  color: var(--muted);
}

@media (max-width: 991.98px) {
  .mail-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .mail-vis {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
  .mail-vis .mail-chip {
    position: static;
    margin-top: 1.25rem;
    left: auto;
    bottom: auto;
    box-shadow: 0 0.75rem 1.75rem rgba(16, 27, 45, 0.1);
  }
}
@media (max-width: 575.98px) {
  .mail-vis .mail-chip {
    box-shadow: none;
    border-radius: 1rem;
  }
  .mail-acts {
    flex-direction: column;
  }
  .mail-acts .btn {
    width: 100%;
    text-align: center;
  }
  .mail-box .mail-row {
    padding: 0.85rem 0.9rem;
    gap: 0.6rem;
  }
  .mail-row .mail-ava {
    width: 32px;
    height: 32px;
    font-size: 0.78rem;
  }
  .mail-row .mail-time {
    display: none;
  }
}

/* ---------- News section (legacy carousel helper, still used by other pages) ---------- */
.section-carousel {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.section-carousel .carousel-inner {
  flex: 1;
}
.section-carousel .carousel-item .card {
  height: 100%;
}

/* ---------- Business section (homepage) - market pulse layout ---------- */
.biz {
  padding: 3rem 0;
}

/* Market snapshot strip */
.biz-pulse {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.biz-pulse-item {
  flex: 1 1 150px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 0.9rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.biz-pulse-label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}
.biz-pulse-value {
  font-size: 1.15rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.biz-pulse-up {
  color: #198754;
}
.biz-pulse-down {
  color: #dc3545;
}

/* Featured story cards */
.biz-story {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.biz-story:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(18, 23, 43, 0.1);
  border-color: transparent;
}
.biz-story h3 {
  font-size: 1.25rem;
  margin: 0.5rem 0 0.5rem;
  color: var(--ink);
}
.biz-story p {
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.biz-story-link {
  color: var(--brand);
  font-weight: 700;
  font-size: 0.9rem;
}
.biz-story-sm {
  padding: 1.25rem 1.75rem;
  margin-bottom: 0;
}
.biz-story-sm h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.biz-story-sm p {
  margin-bottom: 0;
}

/* Business email panel */
.biz-panel {
  background: var(--soft);
  border-radius: 1.1rem;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.biz-panel .eyebrow {
  margin-bottom: 0.35rem;
}
.biz-panel h3 {
  margin-bottom: 0.5rem;
}
.biz-panel p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.biz-panel-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.biz-panel-list a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  padding: 0.75rem 0.9rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}
.biz-panel-list a:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.biz-panel-list i {
  color: var(--brand);
}
.biz-panel-cta {
  margin-top: auto;
}

/* ---------- Shared "ticket" list item (used on business/sports/politics inner pages) ---------- */
.ticket {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 0.125rem 0.5rem rgba(18, 23, 43, 0.06);
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.politics-list .ticket {
  align-items: flex-start;
  margin-bottom: 1rem;
}
.ticket:last-child {
  margin-bottom: 0;
}
.ticket-body {
  flex: 1;
}
.ticket h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.ticket h3 a {
  color: var(--ink);
}
.ticket p {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 0;
}
.ticket-change {
  font-weight: 700;
}
.ticket-change.up {
  color: #198754;
}
.ticket-change.down {
  color: #dc3545;
}

/* ---------- Sports section (homepage) - scoreboard layout ---------- */
.sport {
  padding: 3rem 0;
  background: var(--soft);
}
.sport-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.sport .cat-badge {
  margin-bottom: 0.5rem;
}
.sport-tile p {
  font-weight: 600;
  margin-bottom: 0;
}
.badge-light {
  background: #fff;
  color: var(--ink);
  margin-bottom: 0.5rem;
  display: inline-block;
}

/* Generic small badge (hero mock panel, misc callouts) */
.mock-row .badge {
  background: var(--soft);
  color: var(--brand);
  font-weight: 600;
  font-size: 0.72rem;
  padding: 0.35rem 0.6rem;
  border-radius: 0.5rem;
  flex-shrink: 0;
}
.mock-row .badge.badge-accent {
  background: rgba(23, 171, 196, 0.12);
  color: var(--accent-dark);
}
.sport-more {
  text-align: center;
  margin: 1.5rem 0 0;
}

/* Homepage sports mini-card grid (reuses .smini component from sports.php) */
.home-sports-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 991.98px) {
  .home-sports-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (max-width: 575.98px) {
  .home-sports-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
}

/* ---------- Politics section (homepage) - briefing timeline layout ---------- */
.poli {
  padding: 3rem 0;
}
.poli-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.poli-head .cat-badge {
  margin-bottom: 0.5rem;
}

/* ---------- CTA banner ---------- */
.cta {
  padding: 3rem 0;
  background: var(--soft);
}
.cta-panel {
  background: var(--brand);
  color: #fff;
  border-radius: 1rem;
  padding: 3rem;
  text-align: center;
}
.cta-panel p {
  color: rgba(255, 255, 255, 0.9);
  margin: 1rem auto 1.5rem;
}

/* ---------- Nav pills / tabs (Mail, Business sections) ---------- */
.section-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-left: 0;
}
.nav-pills.section-tabs .nav-link {
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--border);
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}
.nav-pills.section-tabs .nav-link.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* ---------- Carousel controls ---------- */
.section-carousel .carousel-control-prev,
.section-carousel .carousel-control-next {
  position: static;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--soft);
  opacity: 1;
  margin: 0 0.3rem;
}
.section-carousel .carousel-control-prev-icon,
.section-carousel .carousel-control-next-icon {
  filter: invert(20%) sepia(70%) saturate(1000%) hue-rotate(200deg);
  width: 1.1rem;
  height: 1.1rem;
}
.section-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

/* ---------- Politics sidebar layout ---------- */
.side-nav-list .list-group-item {
  border: none;
  border-left: 3px solid transparent;
  padding: 0.85rem 1rem;
  font-weight: 600;
  color: var(--muted);
}
.side-nav-list .list-group-item.active {
  border-left-color: var(--cat-politics, var(--brand));
  background: var(--soft);
  color: var(--ink);
}

/* ---------- Sports category cards ---------- */
.sport-tile {
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  height: 190px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-size: cover;
  background-position: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.sport-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(18, 23, 43, 0.18);
}
.sport-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 23, 43, 0) 20%,
    rgba(18, 23, 43, 0.78) 100%
  );
}
.sport-tile-body {
  position: relative;
  z-index: 1;
  padding: 1rem;
}

/* ---------- Mega menu ---------- */
@media (min-width: 992px) {
  .mega-menu {
    position: static;
  }
  .mega-menu .dropdown-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    border: none;
    border-top: 1px solid var(--border);
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 1.5rem 2.5rem rgba(28, 32, 30, 0.12);
    padding: 2rem 0;
    margin-top: 0;
  }
  .mega-menu .dropdown-menu .container {
    max-width: 1140px;
  }
  .mega-menu:hover > .dropdown-menu,
  .mega-menu .dropdown-menu:hover {
    display: block;
  }
}
.mega-link {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.6rem 0.5rem;
  border-radius: 0.65rem;
  color: var(--ink);
}
.mega-link:hover {
  background: var(--soft);
  color: var(--brand);
}
.mega-link .bi {
  color: var(--brand);
  font-size: 1.05rem;
  margin-top: 0.15rem;
}
.mega-link-title {
  font-weight: 600;
  font-size: 0.92rem;
  display: block;
}
.mega-link-desc {
  font-size: 0.78rem;
  color: var(--muted);
  display: block;
}
.mega-col-heading {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.dropdown-toggle::after {
  vertical-align: 1px;
}

/* =====================================================
   EDITORIAL ADD-ONS (news-portal redesign)
   ===================================================== */

/* ---------- Byline / meta row ---------- */
.byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem 0;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.byline i {
  margin-right: 0.3rem;
}
.byline .dot {
  margin: 0 0.5rem;
  color: var(--border);
}

/* ---------- Category pill (image overlay & inline use) ---------- */
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  color: #fff;
  margin-bottom: 0.6rem;
}
.cat-pill.pill-news {
  background: var(--cat-news);
}
.cat-pill.pill-business {
  background: var(--cat-business);
}
.cat-pill.pill-sports {
  background: var(--cat-sports);
}
.cat-pill.pill-politics {
  background: var(--cat-politics);
}

/* ---------- News ticker strip ---------- */
.news-ticker {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: 0.55rem 0;
  font-size: 0.85rem;
}
.news-ticker-inner {
  display: flex;
  align-items: center;
}
.news-ticker-label {
  flex-shrink: 0;
  background: var(--accent);
  color: #1c201e;
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-left: 1rem;
  margin-right: 1rem;
}
.news-ticker-track {
  overflow: hidden;
  flex: 1;
  white-space: nowrap;
}
.news-ticker-track ul {
  display: inline-flex;
  list-style: none;
  margin: 0;
  padding: 0;
  animation: tickerScroll 38s linear infinite;
}
.news-ticker-track li {
  padding: 0 2.5rem 0 0;
  color: #e7e9e6;
}
.news-ticker-track li a {
  color: #fff;
}
.news-ticker-track li a:hover {
  text-decoration: underline;
}
@keyframes tickerScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .news-ticker-track ul {
    animation: none;
  }
  .news-ticker-track {
    overflow-x: auto;
  }
}

/* ---------- Featured story hero band (editorial hero) ---------- */
.fstory {
  border-radius: 1.25rem;
  overflow: hidden;
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-size: cover;
  background-position: center;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.fstory:hover {
  transform: translateY(-4px);
  box-shadow: 0 1.25rem 2.5rem rgba(18, 23, 43, 0.16);
}
.fstory-climate {
  background-image: url("https://images.unsplash.com/photo-1495020689067-958852a7765e?w=1000&q=80");
}
.fstory::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 23, 43, 0) 20%,
    rgba(18, 23, 43, 0.86) 100%
  );
}
.fstory-body {
  position: relative;
  z-index: 1;
  padding: 1.75rem;
}
.fstory-body .cat-pill {
  margin-bottom: 0.75rem;
}
.fstory-body h2 {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
  color: #fff;
}
.fstory-body p {
  color: #e7e9e6;
  margin-bottom: 0.75rem;
}
.fstory-body .byline {
  color: #d8ddd9;
  margin-bottom: 0;
}
.fstory-body .byline .dot {
  color: #5a625e;
}

/* ---------- Rail of secondary headlines beside a feature ---------- */
.headline-rail {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  height: 100%;
}
.headline-rail-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  color: var(--ink);
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.headline-rail-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.headline-rail-num {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--border);
  flex-shrink: 0;
  line-height: 1;
}
.headline-rail-item h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.headline-rail-item .byline {
  margin-bottom: 0;
  font-size: 0.75rem;
}
.headline-rail-item .cat-pill {
  margin-bottom: 0.35rem;
}

/* ---------- Editorial news card w/ image + byline ---------- */
.news-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0.125rem 0.5rem rgba(18, 23, 43, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.news-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.news-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.news-card-body h3 a {
  color: var(--ink);
}
.news-card-body p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  flex: 1;
}

/* ---------- Sub-nav strip used on category landing pages ---------- */
.cat-subnav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.cat-subnav a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.cat-subnav a:hover,
.cat-subnav a.active {
  color: #fff;
  border-color: transparent;
}
.sports-page .cat-subnav a:hover,
.sports-page .cat-subnav a.active {
  background: var(--cat-sports);
}
.politics-page .cat-subnav a:hover,
.politics-page .cat-subnav a.active {
  background: var(--cat-politics);
}

/* ---------- Analysis / opinion callout card ---------- */
.analysis-card {
  background: var(--soft);
  border-radius: 1rem;
  padding: 1.5rem;
  border-left: 4px solid var(--accent);
  height: 100%;
}
.analysis-card .eyebrow {
  color: var(--accent-dark);
}
.analysis-card h3 {
  font-size: 1rem;
  margin: 0.4rem 0 0.5rem;
}
.analysis-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* =========================================================
   HOMEPAGE REDESIGN — GoFree.email email-service sections
   ========================================================= */

/* Shared section heading block */
.section-head {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-head .eyebrow {
  display: inline-block;
  margin-bottom: 0.6rem;
}
.section-head h2 {
  font-size: 2.1rem;
  margin-bottom: 0.75rem;
}
.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}
.section-head.text-start {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
@media (max-width: 767.98px) {
  .section-head h2 {
    font-size: 1.6rem;
  }
}

/* ---------- Email Features grid ---------- */
.features {
  padding: 5.5rem 0;
}
.feature-card {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  box-shadow: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
  box-shadow: 0 1.25rem 2.5rem rgba(16, 27, 45, 0.09);
  transform: translateY(-3px);
  border-color: transparent;
}
.feature-card .card-body {
  padding: 1.85rem 1.6rem;
}
.feature-card .idx-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
}
.feature-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
}
.feature-card p {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 0;
}

/* ---------- Why choose (stat + copy band) ---------- */
.why-choose {
  padding: 5.5rem 0;
  background: var(--soft);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.why-card {
  background: #fff;
  border-radius: 1.1rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
}
.why-card .idx-badge {
  margin-bottom: 1rem;
}
.why-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}
.why-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}
@media (max-width: 991.98px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575.98px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Alternating feature rows (Security / Easy mailbox / Multi-device) ---------- */
.srow {
  padding: 5.5rem 0;
}
.srow .row {
  align-items: center;
}
.srow-copy .eyebrow {
  display: block;
  margin-bottom: 0.6rem;
}
.srow-copy h2 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
}
.srow-copy p.lead-text {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}
.srow-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.srow-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.srow-list li:last-child {
  margin-bottom: 0;
}
.srow-list i {
  color: var(--brand);
  font-size: 1.15rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.srow-list strong {
  display: block;
  margin-bottom: 0.15rem;
}
.srow-list span {
  color: var(--muted);
  font-size: 0.92rem;
}
.srow-reverse .row {
  flex-direction: row-reverse;
}
@media (max-width: 991.98px) {
  .srow-reverse .row {
    flex-direction: column-reverse;
    display: flex;
  }
}

/* Device row visual (Email Anywhere) */
.device-row {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}
.device-chip {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
  flex: 1 1 130px;
  max-width: 160px;
  box-shadow: 0 0.75rem 1.75rem rgba(16, 27, 45, 0.06);
}
.device-chip .idx-badge {
  margin: 0 auto 0.75rem;
}
.device-chip strong {
  display: block;
  font-size: 0.92rem;
}

/* Storage meter visual */
.storage-visual {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 1rem 2.5rem rgba(16, 27, 45, 0.07);
}
.storage-visual .storage-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.6rem;
}
.storage-visual .storage-top strong {
  font-size: 1.4rem;
  color: var(--brand);
}
.storage-bar {
  height: 10px;
  border-radius: 999px;
  background: var(--soft);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.storage-bar span {
  display: block;
  height: 100%;
  width: 22%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.storage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ---------- How it works (numbered steps) ---------- */
.how-it-works {
  padding: 5.5rem 0;
  background: var(--soft);
}
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  counter-reset: step;
}
.step-card {
  background: #fff;
  border-radius: 1.1rem;
  padding: 1.85rem 1.5rem;
  border: 1px solid var(--border);
  position: relative;
}
.step-card .step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.step-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}
.step-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}
@media (max-width: 991.98px) {
  .steps-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575.98px) {
  .steps-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   SIMPLE ECLIPSO-INSPIRED REDESIGN
   Clean, minimal, flat, generous white space
   ========================================================= */

/* ---------- Simple dropdown (replaces old mega-menu) ---------- */
.simple-menu {
  position: relative;
}
.simple-dropdown {
  min-width: 230px;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  box-shadow: 0 1rem 2rem rgba(16, 27, 45, 0.1);
  padding: 0.5rem;
  margin-top: 0.4rem;
}
.simple-dropdown-link {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: 0.55rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
}
.simple-dropdown-link:hover {
  background: var(--soft);
  color: var(--brand);
}

/* ---------- Simple flat hero (icon + left copy / right visual) ---------- */
.hero-simple {
  /* padding: 4rem 0; */
  background: #ffffff;
}
.hero-simple .row {
  align-items: center;
}
.hero-simple-icon {
  width: 42px;
  height: 42px;
  color: var(--brand);
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
  display: inline-flex;
}
.hero-simple h1 {
  font-size: 2.5rem;
  line-height: 1.18;
  margin-bottom: 1.1rem;
  letter-spacing: -0.01em;
}
.hero-simple .hero-simple-lead {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 540px;
}
.hero-simple-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 0.5rem;
}
.hero-simple-actions .btn {
  padding: 0.75rem 1.5rem;
  font-weight: 700;
}
@media (max-width: 991.98px) {
  .hero-simple {
    padding: 2.75rem 0;
    text-align: center;
  }
  .hero-simple h1 {
    font-size: 2rem;
  }
  .hero-simple-icon {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-simple .hero-simple-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-simple-actions {
    justify-content: center;
  }
  .hero-simple-visual {
    margin-top: 2.5rem;
  }
}

/* Laptop-frame visual used in simple heroes */
.laptop-frame {
  max-width: 480px;
  margin: 0 auto;
}
.laptop-screen {
  background: #1b2330;
  border-radius: 14px 14px 0 0;
  padding: 10px 10px 0;
}
.laptop-screen-inner {
  background: #fff;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}
.laptop-base {
  height: 14px;
  background: linear-gradient(180deg, #cfd8e3, #aeb9c9);
  border-radius: 0 0 10px 10px;
  position: relative;
}
.laptop-base::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 70px;
  height: 5px;
  background: #97a3b5;
  border-radius: 0 0 6px 6px;
}

/* ---------- Flat, simple feature cards (icon over title over text) ---------- */
.feature-card {
  box-shadow: none !important;
  border: 1px solid var(--border) !important;
  border-radius: 0.85rem !important;
  transform: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}
.feature-card:hover {
  transform: none !important;
  border-color: var(--brand) !important;
  box-shadow: 0 0.5rem 1.25rem rgba(16, 27, 45, 0.07) !important;
}
.feature-card .card-body {
  padding: 2.25rem 1.5rem !important;
}
.feature-card .idx-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  font-size: 1.5rem;
  margin: 0 auto 1.2rem;
  background: var(--soft);
  color: var(--brand);
}
.why-card {
  box-shadow: none;
  text-align: center;
}
.why-card .idx-badge {
  margin: 0 auto 1rem;
}

/* Flatten other content cards used across business/sports/politics to match simple aesthetic */
.biz-panel,
.storage-visual,
.mail-box,
.device-chip {
  box-shadow: none !important;
}
.news-card,
.analysis-card {
  box-shadow: none !important;
}

/* ---------- Simple two-column login / auth layout (eclipso style) ---------- */
.auth-simple {
  padding: 3.5rem 0 4.5rem;
  background: #ffffff;
}
.auth-simple-frame {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
}
.auth-simple-form-col {
  flex: 1 1 380px;
}
.auth-simple-form-col h1 {
  font-size: 2rem;
  margin-bottom: 1.75rem;
}
.auth-simple-field {
  margin-bottom: 1.4rem;
}
.auth-simple-field label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}
.auth-simple-field label .req {
  color: #d64545;
}
.auth-simple-input {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
}
.auth-simple-input:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 1px;
}
.auth-simple-input-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  flex-shrink: 0;
  background: var(--soft);
  color: var(--muted);
  border-right: 1px solid var(--border);
}
.auth-simple-input input {
  border: 0;
  box-shadow: none;
  flex: 1;
  min-width: 0;
  padding: 0.65rem 0.85rem;
}
.auth-simple-input input:focus {
  outline: none;
  box-shadow: none;
}
.auth-simple-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  font-size: 0.88rem;
}
.auth-simple-links a {
  color: var(--brand);
  font-weight: 600;
}
.auth-simple-submit {
  min-width: 160px;
}

.auth-simple-panel {
  flex: 1 1 320px;
  background: var(--brand);
  color: #fff;
  border-radius: 1.1rem;
  padding: 2.25rem;
}
.auth-simple-panel h2 {
  font-size: 1.25rem;
  margin-bottom: 1.4rem;
}
.auth-simple-panel-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.auth-simple-panel-item {
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.auth-simple-panel-item:first-child {
  border-top: 0;
}
.auth-simple-panel-item .date {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.25rem;
}
.auth-simple-panel-item a {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
}
.auth-simple-panel-item a:hover {
  text-decoration: underline;
}
.auth-simple-panel-more {
  display: inline-block;
  margin-top: 1.25rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
}

/* ---------- Simple policy / legal page (no sidebar TOC, plain content) ---------- */
.legal-simple-hero {
  background: var(--soft);
  padding: 2.5rem 0;
}
.legal-simple-hero h1 {
  margin: 0.35rem 0 0.5rem;
  font-size: 2rem;
}
.legal-simple-body {
  padding: 3rem 0 4rem;
}
.legal-simple-card {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2.5rem;
}
.legal-simple-card h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.legal-simple-card > h2:first-child {
  margin-top: 0;
}
.legal-simple-card p,
.legal-simple-card li {
  color: var(--muted);
  line-height: 1.75;
}
.legal-simple-card ul {
  padding-left: 1.2rem;
}
@media (max-width: 767.98px) {
  .legal-simple-card {
    padding: 1.5rem;
  }
  .legal-simple-hero h1 {
    font-size: 1.6rem;
  }
}

/* ---------- Section spacing normalised for simple look ---------- */
.section-head p {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================================
   REDESIGN 2026 — Modern Hero, News, Sports, Politics & Newsletter
   ===================================================================== */

/* ---------- Latest News: trending list (.news) ---------- */
.news {
  padding: 3.5rem 0;
  background: var(--soft);
}
.news-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.news-head .cat-badge {
  margin-bottom: 0.5rem;
}
.news-trending {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}
.trend {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 0.125rem 0.5rem rgba(18, 23, 43, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.trend:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 1.75rem rgba(18, 23, 43, 0.1);
}
.trend-link {
  display: flex;
  gap: 1.1rem;
  padding: 0.9rem;
  align-items: flex-start;
}
.trend-img {
  width: 140px;
  height: 100px;
  border-radius: 0.75rem;
  object-fit: cover;
  flex-shrink: 0;
}
.trend-body {
  flex: 1;
  min-width: 0;
}
.trend-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.3rem;
}
.trend-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}
.trend-link:hover .trend-title {
  color: var(--brand);
}
.trend-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.trend-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.trend-source,
.trend-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.trend-source {
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Latest News: category cards (.ccards) ---------- */
.news-cats-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}
.ccards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.ccard {
  position: relative;
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 290px;
  isolation: isolate;
}
.ccard-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ccard:hover .ccard-img {
  transform: scale(1.06);
}
.ccard-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 16, 28, 0.1) 0%, rgba(9, 16, 28, 0.88) 100%);
}
.ccard-body {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}
.ccard-tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.ccard-sports .ccard-tag {
  background: var(--cat-sports);
}
.ccard-business .ccard-tag {
  background: var(--cat-business);
}
.ccard-politics .ccard-tag {
  background: var(--cat-politics);
}
.ccard-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: #fff;
}
.ccard-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.85rem;
}
.ccard-link {
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
}
@media (max-width: 991.98px) {
  .ccards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767.98px) {
  .trend-link {
    flex-direction: column;
  }
  .trend-img {
    width: 100%;
    height: 180px;
  }
  .ccards {
    grid-template-columns: 1fr;
  }
}

/* ---------- Sports section: overlay hero card + polished mini cards ---------- */
.sports-feature-wrap {
  margin-bottom: 1rem;
}
.shero {
  border-radius: 1.25rem;
  overflow: hidden;
}
.shero-link {
  position: relative;
  display: block;
  min-height: 440px;
  isolation: isolate;
}
.shero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.shero-link:hover .shero-img {
  transform: scale(1.05);
}
.shero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 16, 28, 0.05) 30%, rgba(9, 16, 28, 0.92) 100%);
}
.shero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.25rem;
  max-width: 720px;
}
.shero-content .cat-pill {
  align-self: flex-start;
}
.shero-title {
  color: #fff;
  font-size: 1.85rem;
  line-height: 1.25;
  margin: 0.75rem 0 0.6rem;
}
.shero-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.shero-byline {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  margin: 0;
}
.shero-byline .dot {
  margin: 0 0.3rem;
}

.sfeat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.75rem;
}
.smini {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.smini:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(18, 23, 43, 0.1);
  border-color: transparent;
}
.smini-media {
  position: relative;
  display: block;
}
.smini-media img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}
.smini-tag {
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  background: rgba(9, 16, 28, 0.75);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}
.smini-body {
  padding: 1.1rem 1.1rem 1.25rem;
}
.smini-title {
  font-size: 1rem;
  line-height: 1.35;
  margin: 0 0 0.6rem;
}
.smini-title a {
  color: var(--ink);
}
.smini-title a:hover {
  color: var(--cat-sports);
}
.smini-byline {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}
.smini-byline i {
  color: var(--cat-sports);
}

@media (max-width: 991.98px) {
  .shero-link {
    min-height: 380px;
  }
  .shero-title {
    font-size: 1.55rem;
  }
  .sfeat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (max-width: 575.98px) {
  .shero-link {
    min-height: 320px;
  }
  .shero-content {
    padding: 1.5rem;
  }
  .shero-title {
    font-size: 1.3rem;
  }
  .sfeat-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Politics (homepage): non-tab grid layout (.pgrid) ---------- */
.pgrid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
.pgrid-feature {
  background: #fff;
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 0.125rem 0.5rem rgba(18, 23, 43, 0.06);
  border-top: 4px solid var(--cat-politics);
}
.pgrid-feature h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  margin: 0.6rem 0 0.6rem;
}
.pgrid-feature h3 a {
  color: var(--ink);
}
.pgrid-feature h3 a:hover {
  color: var(--cat-politics);
}
.pgrid-feature p {
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.pgrid-col {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 0.125rem 0.5rem rgba(18, 23, 43, 0.06);
}
.pgrid-col-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cat-politics);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.pgrid-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.pgrid-list li {
  padding-left: 1rem;
  position: relative;
  font-size: 0.92rem;
  line-height: 1.45;
}
.pgrid-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cat-politics);
}
.pgrid-list a {
  color: var(--ink);
  font-weight: 600;
}
.pgrid-list a:hover {
  color: var(--cat-politics);
}
@media (max-width: 991.98px) {
  .pgrid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Politics page: coverage columns without tabs (.pcov) ---------- */
.pcov {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.pcov-col {
  background: #fff;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 0.125rem 0.5rem rgba(18, 23, 43, 0.06);
}
.pcov-col-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cat-politics);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.pcov-col .ticket {
  box-shadow: none;
  border: 1px solid var(--border);
  align-items: flex-start;
}
@media (max-width: 991.98px) {
  .pcov {
    grid-template-columns: 1fr;
  }
}

/* ---------- Newsletter page redesign (.nls) ---------- */
.nls {
  padding: 3.5rem 0;
}
.nls-hero {
  background: linear-gradient(180deg, var(--soft) 0%, #ffffff 100%);
  padding-top: 3.5rem;
}
.nls-intro {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.nls-intro-center {
  margin-bottom: 2.75rem;
}
.nls-intro h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin: 0.6rem 0 1rem;
  letter-spacing: -0.01em;
}
.nls-lead {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.7;
}
.nls-panel {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: 0 0.75rem 2rem rgba(18, 23, 43, 0.07);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.nls-form-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.nls .nlf {
  background: transparent;
  padding: 0;
  border-radius: 0;
  max-width: none;
  box-shadow: none;
}
.nlf-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  color: var(--ink);
}
.nlf-group {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.nlf-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.nlf-input {
  flex: 1 1 240px;
  min-width: 0;
  border: 1.5px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem 0.85rem 2.6rem;
  font-size: 1rem;
  color: var(--ink);
  background: var(--soft);
}
.nlf-input:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
}
.nlf-submit {
  flex: 0 0 auto;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  border-radius: 0.75rem;
}
.nlf-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.9rem 0 0;
}
.nls-preview-col .mock-panel {
  margin: 0;
}

.newsletter-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.nlb {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem 1.4rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.nlb:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: 0 0.5rem 1.25rem rgba(16, 27, 45, 0.07);
}
.nlb-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--brand);
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.nlb-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.nlb-desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.nls-cta {
  padding-bottom: 4rem;
}
.nls-cta-panel {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 1.25rem;
  padding: 3rem 2rem;
  color: #fff;
}
.nls-cta-panel h2 {
  margin-bottom: 0.75rem;
}
.nls-cta-panel p {
  max-width: 480px;
  margin: 0 auto 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 991.98px) {
  .nls-panel {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .nls-preview-col {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
  }
  .newsletter-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575.98px) {
  .nls-intro h1 {
    font-size: 1.9rem;
  }
  .nls-panel {
    padding: 1.5rem;
    border-radius: 1rem;
  }
  .nlf-group {
    flex-direction: column;
  }
  .nlf-submit {
    width: 100%;
  }
  .newsletter-benefits-grid {
    grid-template-columns: 1fr;
  }
  .nls-cta-panel {
    padding: 2.25rem 1.5rem;
  }
}
