/*
Theme Name: OncoAI Academy
Theme URI: https://oncowiz.theaitrendz.com/
Description: Professional medical blog child theme for Kadence - Oncology Education & AI in Oncology.
Author: OncoAI Academy
Author URI: https://oncowiz.theaitrendz.com/
Template: kadence
Version: 1.2.0
License: GNU General Public License v2 or later
Text Domain: oncoai-academy
*/

/* ============================================
   Design Tokens
   ============================================ */
:root {
  --onco-primary: #0F9D9A;
  --onco-primary-dark: #0B2342;
  --onco-primary-light: #E6FFFA;
  --onco-secondary: #20B8D6;
  --onco-accent: #7C5CFC;
  --onco-bg: #ffffff;
  --onco-bg-alt: #F7FAFC;
  --onco-bg-elevated: #ffffff;
  --onco-text: #0B2342;
  --onco-text-secondary: #1E293B;
  --onco-text-muted: #475569;
  --onco-border: #E2E8F0;
  --onco-border-subtle: #F1F5F9;
  --onco-success: #059669;
  --onco-warning: #d97706;
  --onco-error: #dc2626;
  --onco-radius: 0.5rem;
  --onco-radius-lg: 0.75rem;
  --onco-shadow-sm: 0 1px 2px 0 rgb(15 23 42 / 0.04);
  --onco-shadow: 0 4px 6px -1px rgb(15 23 42 / 0.06), 0 2px 4px -2px rgb(15 23 42 / 0.04);
  --onco-shadow-lg: 0 10px 15px -3px rgb(15 23 42 / 0.06), 0 4px 6px -4px rgb(15 23 42 / 0.04);
}

/* ============================================
   Base & Reset
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  margin: 0;
  /* Native system font stack â€” renders as San Francisco on Apple devices,
     Segoe UI Variable on Windows 11, Roboto on Android/Chrome OS, and
     Ubuntu/Cantarell on Linux. Zero external requests, no GDPR/CDN
     concern, and it matches the OS the visitor is already using rather
     than fighting it â€” a look several premium editorial sites use
     deliberately instead of a webfont. */
  font-family: system-ui, -apple-system, "Segoe UI", "Segoe UI Variable", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--onco-text);
  background: var(--onco-bg);
  line-height: 1.6;
  font-size: 1.0625rem;
  overflow-x: hidden;
}

/* Long unbroken clinical/drug/gene terms (e.g. "trastuzumab deruxtecan",
   "immunohistochemistry") can otherwise force horizontal scroll on
   narrow phone screens. */
h1, h2, h3, h4, h5, h6, p, li, blockquote, figcaption {
  overflow-wrap: break-word;
  word-break: break-word;
}

table {
  max-width: 100%;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--onco-primary-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--onco-accent);
}

/* ============================================
   Typography System
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.75em;
  line-height: 1.2;
  color: var(--onco-text);
  font-weight: 650;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw + 0.5rem, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw + 0.5rem, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw + 0.5rem, 1.875rem); }
h4 { font-size: clamp(1.1rem, 1.5vw + 0.5rem, 1.35rem); }

p {
  margin: 0 0 1.25rem;
  max-width: 65ch;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--onco-text-secondary);
  max-width: 70ch;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--onco-primary);
  margin: 0 0 0.75rem;
}

/* ============================================
   Layout
   ============================================ */
.site {
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.content-area {
  display: block;
}

.site-content {
  display: block;
}

/* ============================================
   Site Header - Clean Light Background
   ============================================ */
.site-header {
  background: var(--onco-bg);
  border-bottom: 1px solid var(--onco-border-subtle);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.875rem 0;
}

.site-branding {
  flex-shrink: 0;
}

.site-logo img,
.custom-logo {
  max-height: 44px;
  width: auto;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

.site-title a { color: var(--onco-text); text-decoration: none; }

.site-description { font-size: 0.8rem; color: var(--onco-text-muted); margin: 0.25rem 0 0; }

.main-navigation {
  flex: 1 1 auto;
}

.main-navigation-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.primary-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.primary-menu a { color: var(--onco-text-secondary); text-decoration: none; font-weight: 500; font-size: 0.9rem; transition: color 0.2s ease; position: relative; }

.primary-menu a:hover,
.primary-menu a.current-menu-item {
  color: #20B8D6;
}

.primary-menu a.current-menu-item::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: #20B8D6;
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.search-toggle {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--onco-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--onco-radius);
  transition: color 0.2s ease, background 0.2s ease;
}

.search-toggle svg {
  width: 20px;
  height: 20px;
}

.search-toggle:hover {
  color: #20B8D6;
  background: var(--onco-bg-alt);
}

.btn-subscribe {
  padding: 0.5rem 1.25rem;
  background: var(--onco-primary);
  color: #fff;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-subscribe:hover {
  background: var(--onco-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  line-height: 1.4;
}

.btn-primary {
  background: var(--onco-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--onco-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 157, 154, 0.25);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--onco-border);
  border-radius: var(--onco-radius);
  cursor: pointer;
  color: var(--onco-text);
  flex-shrink: 0;
}

.menu-toggle:hover {
  background: var(--onco-bg-alt);
}

.menu-toggle-icon--close {
  display: none;
}

.menu-toggle.is-active .menu-toggle-icon--open {
  display: none;
}

.menu-toggle.is-active .menu-toggle-icon--close {
  display: flex;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--onco-radius);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.4;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--onco-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--onco-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--onco-primary-dark);
  border: 1.5px solid var(--onco-primary-dark);
}

.btn-secondary:hover {
  background: var(--onco-primary-dark);
  color: #fff;
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 4rem 0;
}

.section-header {
  margin-bottom: 2.5rem;
  max-width: 720px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw + 0.5rem, 2.25rem);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--onco-text-muted);
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 60ch;
}

.section-view-all {
  margin-top: 2rem;
  text-align: center;
}

/* ============================================
   Hero - Premium Background with AVIF
   ============================================ */
.hero-section {
  position: relative;
  padding: 6rem 0 5rem;
  background: linear-gradient(135deg, #071F49, #0A2858, #0F9D9A);
  color: #fff;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  mix-blend-mode: screen;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  max-width: 640px;
}

.hero-title {
  font-size: clamp(2.25rem, 4.5vw + 0.5rem, 4rem);
  margin: 0 0 1.25rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #fff;
}

.hero-gradient {
  background: linear-gradient(135deg, #20B8D6, #7C5CFC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 1.75rem;
  line-height: 1.7;
  max-width: 55ch;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.75rem;
  line-height: 1.6;
  max-width: 55ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-item {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-item::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #20B8D6;
}

/* Hero-specific button overrides for dark background */
.hero-section .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
}

/* ============================================
   Page Hero - Inner Page Hero with AVIF
   ============================================ */
.page-hero {
  position: relative;
  padding: 4rem 0 3.5rem;
  background: linear-gradient(135deg, #071F49, #0A2858, #0F9D9A);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  mix-blend-mode: screen;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .page-header {
  margin: 0;
}

.page-hero .section-eyebrow {
  color: #20B8D6;
}

.page-hero .page-title {
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw + 0.5rem, 2.75rem);
  margin: 0 0 0.75rem;
}

.page-hero .page-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 65ch;
}

/* ============================================
   Home Footer Hero - Pre-Footer AVIF Section
   ============================================ */
.home-footer-hero {
  position: relative;
  padding: 5rem 0 4.5rem;
  background: linear-gradient(135deg, #071F49, #0A2858, #0F9D9A);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.home-footer-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.home-footer-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  mix-blend-mode: screen;
}

.home-footer-hero .container {
  position: relative;
  z-index: 1;
}

.home-footer-hero-content {
  max-width: 640px;
}

.home-footer-hero .section-eyebrow {
  color: #20B8D6;
}

.home-footer-hero-title {
  font-size: clamp(1.75rem, 3.5vw + 0.5rem, 2.75rem);
  margin: 0 0 1rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #fff;
}

.home-footer-hero-description {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0 0 1.75rem;
  max-width: 55ch;
}

.home-footer-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.home-footer-hero .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.home-footer-hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
}

/* ============================================
   Trust / Features Strip
   ============================================ */
.trust-stats {
  background: var(--onco-bg);
  border-bottom: 1px solid var(--onco-border-subtle);
  padding: 2rem 0;
}

.trust-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem 3rem;
}

@media (min-width: 400px) {
  .trust-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.trust-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--onco-radius);
  background: var(--onco-primary-light);
  color: var(--onco-primary);
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.trust-feature-icon img {
  width: 22px;
  height: 22px;
  display: block;
}

.trust-feature:hover .trust-feature-icon {
  transform: scale(1.08);
  background: var(--onco-primary);
  color: #fff;
}

.trust-feature:hover .trust-feature-icon img {
  filter: brightness(0) invert(1);
}

.trust-feature-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--onco-text);
}

/* ============================================
   AI Across Cancer Care Journey
   ============================================ */
.ai-journey {
  background: var(--onco-bg);
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.journey-item {
  padding: 1.75rem;
  background: var(--onco-bg);
  border: 1px solid var(--onco-border);
  border-radius: var(--onco-radius-lg);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.journey-item:hover {
  box-shadow: var(--onco-shadow);
  border-color: var(--onco-primary);
  transform: translateY(-3px);
}

.journey-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--onco-radius);
  background: var(--onco-primary-light);
  color: var(--onco-primary-dark);
  margin-bottom: 1rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.journey-icon svg {
  width: 24px;
  height: 24px;
}

.journey-item:hover .journey-icon {
  transform: scale(1.08);
  background: var(--onco-primary);
  color: #fff;
}

.journey-item:hover .journey-icon svg {
  stroke: #fff;
}

.journey-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.journey-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--onco-text-muted);
  line-height: 1.6;
}

/* ============================================
   Featured Research
   ============================================ */
.featured-research {
  background: var(--onco-bg-alt);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.research-card {
  background: var(--onco-bg);
  border: 1px solid var(--onco-border);
  border-radius: var(--onco-radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.research-card:hover {
  box-shadow: var(--onco-shadow);
  border-color: var(--onco-primary);
}

.research-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--onco-bg-alt);
}

.research-card-media a {
  display: block;
  height: 100%;
}

.research-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.research-card:hover .research-card-media img {
  transform: scale(1.04);
}

.research-card-body {
  padding: 1.5rem;
}

.research-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  color: var(--onco-text-muted);
}

.research-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
}

.research-card-title a {
  color: inherit;
  text-decoration: none;
}

.research-card-title a:hover {
  color: var(--onco-primary-dark);
}

.research-card-excerpt {
  font-size: 0.9rem;
  color: var(--onco-text-muted);
  margin: 0 0 1rem;
  line-height: 1.6;
}

.research-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--onco-primary-dark);
  text-decoration: none;
}

.research-card-link:hover {
  color: var(--onco-accent);
}

/* ============================================
   Medical Education
   ============================================ */
.medical-education {
  background: var(--onco-bg);
}

.education-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.education-content {
  max-width: 600px;
}

.education-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.education-tag {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: var(--onco-bg-alt);
  border: 1px solid var(--onco-border);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--onco-text-secondary);
}

.education-posts {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.education-post {
  padding: 1.5rem;
  background: var(--onco-bg-alt);
  border: 1px solid var(--onco-border);
  border-radius: var(--onco-radius-lg);
  transition: box-shadow 0.25s ease;
}

.education-post:hover {
  box-shadow: var(--onco-shadow);
}

.education-post h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.education-post h3 a {
  color: inherit;
  text-decoration: none;
}

.education-post h3 a:hover {
  color: var(--onco-primary-dark);
}

.education-post p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--onco-text-muted);
  line-height: 1.6;
}

.post-date {
  font-size: 0.8rem;
  color: var(--onco-text-muted);
}

/* ============================================
   Case Studies
   ============================================ */
.case-studies {
  background: var(--onco-bg-alt);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.case-card {
  background: var(--onco-bg);
  border: 1px solid var(--onco-border);
  border-radius: var(--onco-radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.case-card:hover {
  box-shadow: var(--onco-shadow);
  border-color: var(--onco-primary);
}

.case-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--onco-bg-alt);
}

.case-card-media a {
  display: block;
  height: 100%;
}

.case-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card:hover .case-card-media img {
  transform: scale(1.04);
}

.case-card-body {
  padding: 1.5rem;
}

.case-label {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--onco-primary-light);
  color: var(--onco-primary-dark);
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.case-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
}

.case-card h3 a {
  color: inherit;
  text-decoration: none;
}

.case-card h3 a:hover {
  color: var(--onco-primary-dark);
}

.case-card p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--onco-text-muted);
  line-height: 1.6;
}

.case-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--onco-primary-dark);
  text-decoration: none;
}

.case-link:hover {
  color: var(--onco-accent);
}

/* ============================================
   Cards - Minimal Treatment
   ============================================ */
.card {
  background: var(--onco-bg);
  border: 1px solid var(--onco-border);
  border-radius: var(--onco-radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  box-shadow: var(--onco-shadow);
  border-color: var(--onco-border);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--onco-bg-alt);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover .card-media img {
  transform: scale(1.04);
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.card-title a {
  color: inherit;
  text-decoration: none;
}

.card-title a:hover {
  color: var(--onco-primary-dark);
}

.card-excerpt {
  font-size: 0.9rem;
  color: var(--onco-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   Badges & Tags
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--onco-primary-light);
  color: var(--onco-primary-dark);
  text-decoration: none;
  line-height: 1.4;
}

.badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.badge:hover {
  background: var(--onco-primary);
  color: #fff;
}

.badge:hover svg {
  stroke: #fff;
}

.post-categories {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

/* ============================================
   Latest Articles - 4-Column Grid
   ============================================ */
.latest-articles {
  background: var(--onco-bg);
  padding: 5rem 0;
}

.section-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.view-all-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--onco-primary-dark);
  text-decoration: none;
  white-space: nowrap;
}

.view-all-link:hover {
  color: var(--onco-accent);
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Asymmetric 3-column layout only kicks in at tablet+ width (see the
   min-width: 768px rule below) â€” on mobile this inherits the fluid
   single-column auto-fill from .feature-grid instead of squeezing
   3 columns into a phone-width screen. */
.feature-grid--asymmetric .article-card--featured {
  grid-row: span 2;
}

/* ============================================
   Article Card - Blog Grid
   ============================================ */
.article-card {
  background: var(--onco-bg);
  border: 1px solid var(--onco-border);
  border-radius: var(--onco-radius-lg);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card:hover {
  box-shadow: var(--onco-shadow-lg);
  border-color: var(--onco-border);
  transform: translateY(-4px);
}

.article-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--onco-bg-alt);
}

.article-card-media a {
  display: block;
  height: 100%;
}

.article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-card:hover .article-card-media img {
  transform: scale(1.05);
}

.article-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.article-card-badge .badge {
  background: var(--onco-primary);
  color: #fff;
  padding: 0.35rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
  gap: 0.3rem;
}

.article-card-badge .badge svg {
  width: 14px;
  height: 14px;
}

.article-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.article-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--onco-text-muted);
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--onco-border-subtle);
}

.meta-sep {
  opacity: 0.5;
}

.article-card-title {
  font-size: 1.125rem;
  margin: 0;
  line-height: 1.35;
  font-weight: 650;
  color: var(--onco-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-title a {
  color: inherit;
  text-decoration: none;
}

.article-card-title a:hover {
  color: var(--onco-primary-dark);
}

.article-card-excerpt {
  font-size: 0.95rem;
  color: var(--onco-text-muted);
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-author {
  font-size: 0.85rem;
  color: var(--onco-text-muted);
  padding-top: 0.75rem;
  border-top: 1px solid var(--onco-border-subtle);
}

/* ============================================
   Article List Item - Horizontal Feed
   ============================================ */
.articles-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.article-list-item {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--onco-border);
  transition: background 0.2s ease;
}

.article-list-item:first-child {
  padding-top: 0;
}

.article-list-item:last-child {
  border-bottom: none;
}

.article-list-item:hover {
  background: var(--onco-bg-alt);
  border-radius: var(--onco-radius);
  margin: 0 -0.75rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.article-list-item-media {
  flex-shrink: 0;
  width: 160px;
  height: 110px;
  border-radius: var(--onco-radius);
  overflow: hidden;
  display: block;
  background: var(--onco-bg-alt);
}

.article-list-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-list-item:hover .article-list-item-media img {
  transform: scale(1.06);
}

.article-list-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}

.article-list-item-category .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--onco-primary);
  color: #fff;
  padding: 0.2rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 9999px;
  text-decoration: none;
  width: fit-content;
}

.article-list-item-category .badge svg {
  width: 12px;
  height: 12px;
}

.article-list-item-title {
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.35;
  margin: 0;
  color: var(--onco-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-list-item-title a {
  color: inherit;
  text-decoration: none;
}

.article-list-item-title a:hover {
  color: var(--onco-primary-dark);
}

.article-list-item-excerpt {
  font-size: 0.88rem;
  color: var(--onco-text-muted);
  margin: 0;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-list-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.78rem;
  color: var(--onco-text-muted);
  margin-top: auto;
}

.article-list-item-meta .post-author {
  font-weight: 600;
  color: var(--onco-text-secondary);
}

/* Mobile: stack the list item vertically */
@media (max-width: 575px) {
  .article-list-item {
    flex-direction: column;
    gap: 0.75rem;
  }

  .article-list-item-media {
    width: 100%;
    height: 180px;
  }

  .article-list-item:hover {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }
}

/* ============================================
   Featured Category Card
   ============================================ */
.featured-category-card {
  background: var(--onco-bg);
  border: 1px solid var(--onco-border);
  border-radius: var(--onco-radius-lg);
  padding: 1.75rem;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.featured-category-card:hover {
  box-shadow: var(--onco-shadow);
  border-color: var(--onco-primary);
}

.featured-category-card h4 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.featured-category-card p {
  font-size: 0.875rem;
  color: var(--onco-text-muted);
  margin: 0;
  line-height: 1.5;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--onco-primary-dark);
}

/* ============================================
   Trending Posts - List with Number
   ============================================ */
.trending-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.trending-post {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--onco-border-subtle);
  transition: background 0.2s ease;
}

.trending-post:first-child {
  border-top: 1px solid var(--onco-border-subtle);
}

.trending-post:hover {
  background: var(--onco-bg-alt);
  margin: 0 -1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  border-radius: var(--onco-radius);
}

.trending-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--onco-primary);
  min-width: 2.5rem;
  text-align: center;
  line-height: 1;
  opacity: 0.7;
}

.trending-content {
  flex: 1;
  min-width: 0;
}

.trending-content h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
}

.trending-content a {
  text-decoration: none;
  color: var(--onco-text);
}

.trending-content a:hover {
  color: var(--onco-primary-dark);
}

.trending-meta {
  font-size: 0.8rem;
  color: var(--onco-text-muted);
}

/* ============================================
   Newsletter
   ============================================ */
.newsletter-section {
  background: var(--onco-bg-alt);
  border-top: 1px solid var(--onco-border-subtle);
  border-bottom: 1px solid var(--onco-border-subtle);
}

.newsletter-box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
}

.newsletter-description {
  color: var(--onco-text-muted);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.newsletter-form-inner {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter-form-inner input[type="email"] {
  flex: 1 1 260px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--onco-border);
  border-radius: var(--onco-radius);
  font-size: 0.95rem;
  background: var(--onco-bg);
  color: var(--onco-text);
}

.newsletter-form-inner input[type="email"]:focus {
  outline: none;
  border-color: var(--onco-primary);
  box-shadow: 0 0 0 3px var(--onco-primary-light);
}

.newsletter-note {
  font-size: 0.8rem;
  color: var(--onco-text-muted);
  margin: 1rem 0 0;
}

/* ============================================
   Global Newsletter Section
   ============================================ */
.newsletter-global-section {
  background: linear-gradient(135deg, #071F49, #0A2858, #0F9D9A);
  padding: 3rem 0;
}

.newsletter-global-box {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.25rem;
  padding: 2.5rem;
  backdrop-filter: blur(8px);
}

.newsletter-global-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  color: #20B8D6;
}

.newsletter-global-icon svg {
  width: 32px;
  height: 32px;
}

.newsletter-global-content {
  flex: 1;
  min-width: 0;
}

.newsletter-global-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.newsletter-global-description {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 50ch;
}

.newsletter-global-form-wrap {
  flex-shrink: 0;
  min-width: 280px;
}

.newsletter-global-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-global-input-group {
  display: flex;
  gap: 0.5rem;
}

.newsletter-global-input-group input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.75rem;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--onco-text);
  min-width: 0;
}

.newsletter-global-input-group input[type="email"]::placeholder {
  color: #94A3B8;
}

.newsletter-global-input-group input[type="email"]:focus {
  outline: none;
  border-color: #20B8D6;
  box-shadow: 0 0 0 3px rgba(32, 184, 214, 0.25);
}

.newsletter-global-form .btn-primary {
  padding: 0.75rem 1.5rem;
  white-space: nowrap;
}

.newsletter-global-privacy {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-global-message {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.4em;
}

.newsletter-global-message.is-success {
  color: #34D399;
}

.newsletter-global-message.is-error {
  color: #FCA5A5;
}

@media (max-width: 767px) {
  .newsletter-global-box {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }

  .newsletter-global-icon {
    margin: 0 auto;
  }

  .newsletter-global-description {
    max-width: 100%;
  }

  .newsletter-global-form-wrap {
    width: 100%;
    min-width: 0;
  }

  .newsletter-global-input-group {
    flex-direction: column;
  }

  .newsletter-global-input-group input[type="email"] {
    width: 100%;
  }

  .newsletter-global-input-group .btn-primary {
    width: 100%;
    text-align: center;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .newsletter-global-box {
    gap: 1.5rem;
    padding: 2rem;
  }

  .newsletter-global-icon {
    width: 56px;
    height: 56px;
  }

  .newsletter-global-icon svg {
    width: 28px;
    height: 28px;
  }

  .newsletter-global-form-wrap {
    min-width: 240px;
  }
}

/* ============================================
   About Section
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-image img {
  border-radius: var(--onco-radius-lg);
  width: 100%;
  height: auto;
}

.about-placeholder {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--onco-primary-light), var(--onco-bg-alt));
  border-radius: var(--onco-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--onco-primary-dark);
  font-size: 1.25rem;
  font-weight: 600;
  border: 1px dashed var(--onco-primary);
}

.about-content p {
  color: var(--onco-text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ============================================
   Single Post
   ============================================ */
.single-post .entry-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--onco-border-subtle);
}

.single-post .entry-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.875rem;
  color: var(--onco-text-muted);
}

.entry-meta .badge {
  font-size: 0.7rem;
  gap: 0.3rem;
}

.entry-meta .badge svg {
  width: 14px;
  height: 14px;
}

.entry-featured-image {
  margin-bottom: 2.5rem;
  border-radius: var(--onco-radius-lg);
  overflow: hidden;
}

.entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--onco-text-secondary);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 2.5rem;
  color: var(--onco-text);
}

.entry-content h2 { font-size: 1.75rem; }
.entry-content h3 { font-size: 1.4rem; }

.entry-content blockquote {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--onco-primary);
  background: var(--onco-bg-alt);
  font-style: italic;
  color: var(--onco-text-secondary);
  border-radius: 0 var(--onco-radius) var(--onco-radius) 0;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--onco-border-subtle);
}

/* Author Box */
.author-box {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--onco-bg-alt);
  border-radius: var(--onco-radius-lg);
  margin-top: 2.5rem;
  border: 1px solid var(--onco-border-subtle);
}

.author-avatar img {
  border-radius: 50%;
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.author-info {
  flex: 1;
}

.author-name {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.author-bio {
  margin: 0;
  font-size: 0.9rem;
  color: var(--onco-text-muted);
  line-height: 1.6;
}

/* Reviewer Box */
.reviewer-box {
  padding: 1.25rem;
  background: #f0fdfa;
  border-left: 3px solid var(--onco-primary);
  border-radius: 0 var(--onco-radius) var(--onco-radius) 0;
  margin-top: 1.5rem;
}

.reviewer-title {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--onco-primary);
}

/* Related Posts */
.related-posts {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--onco-border-subtle);
}

.related-posts-title {
  margin: 0 0 1.5rem;
  font-size: 1.25rem;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.related-post-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--onco-radius);
  margin-bottom: 0.75rem;
}

.related-post-card h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.related-post-card h4 a {
  text-decoration: none;
  color: var(--onco-text);
}

.related-post-card h4 a:hover {
  color: var(--onco-primary-dark);
}

/* ============================================
   Breadcrumbs
   ============================================ */
.breadcrumbs {
  margin-bottom: 1.25rem;
}

.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  color: var(--onco-text-muted);
}

.breadcrumbs-list li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  opacity: 0.5;
}

.breadcrumbs-list a {
  color: var(--onco-text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.breadcrumbs-list a svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.breadcrumbs-list a:hover {
  color: var(--onco-primary);
}

/* ============================================
   Archive Header
   ============================================ */
.archive-header {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--onco-border-subtle);
  margin-bottom: 2rem;
}

.archive-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw + 0.5rem, 2.25rem);
}

.archive-description {
  color: var(--onco-text-muted);
  margin: 0;
  font-size: 1rem;
}

/* ============================================
   Sidebar Widgets
   ============================================ */
.widget-area .widget {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--onco-bg);
  border: 1px solid var(--onco-border);
  border-radius: var(--onco-radius-lg);
}

.widget-title {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--onco-text);
}

.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--onco-border-subtle);
  font-size: 0.9rem;
}

.widget li:last-child {
  border-bottom: 0;
}

.widget li a {
  color: var(--onco-text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  min-width: 0;
}

.widget li a svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.7;
}

.widget li a:hover {
  color: var(--onco-primary);
}

.widget li a:hover svg {
  opacity: 1;
  stroke: var(--onco-primary);
}

.widget_search form {
  display: flex;
  gap: 0.5rem;
}

.widget_search input[type="search"] {
  flex: 1;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--onco-border);
  border-radius: var(--onco-radius);
  font-size: 0.9rem;
  background: var(--onco-bg);
  color: var(--onco-text);
}

.widget_search input[type="search"]:focus {
  outline: none;
  border-color: var(--onco-primary);
  box-shadow: 0 0 0 3px var(--onco-primary-light);
}

.widget_search button[type="submit"] {
  padding: 0.6rem 1rem;
  background: var(--onco-primary);
  color: #fff;
  border: 0;
  border-radius: var(--onco-radius);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.widget_search button[type="submit"]:hover {
  background: var(--onco-primary-dark);
}

/* ============================================
   Footer - Dark Navy Premium Multi-Column
   ============================================ */
.site-footer {
  background: #071F49;
  color: #fff;
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.footer-col {
  min-width: 0;
}

.footer-brand {
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
}

.footer-brand a {
    display: inline-block;
}

.footer-brand img,
.footer-brand .custom-logo {
    max-height: 80px;
    width: auto;
    height: auto;
}

.footer-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin: 0;
  max-width: 40ch;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 1.25rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.8;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links a:hover svg {
  opacity: 1;
  stroke: #20B8D6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 60ch;
}

/* ============================================
   404 Page
   ============================================ */
.error-404 {
  text-align: center;
  padding: 5rem 0;
}

.error-404 h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw + 0.5rem, 3.5rem);
}

.error-404 p {
  color: var(--onco-text-muted);
  margin: 0 auto 1.5rem;
  max-width: 50ch;
}

.error-404-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.error-404-search {
  max-width: 480px;
  margin: 1.5rem auto 0;
}

.error-404-search form {
  display: flex;
  gap: 0.5rem;
}

.error-404-search input[type="search"] {
  flex: 1 1 auto;
  padding: 0.75rem 1rem;
  border: 1px solid var(--onco-border);
  border-radius: var(--onco-radius);
  font-size: 1rem;
  background: var(--onco-bg);
  color: var(--onco-text);
}

/* ============================================
   Comments
   ============================================ */
.comments-area {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--onco-border-subtle);
}

.comments-title {
  margin: 0 0 1.5rem;
  font-size: 1.25rem;
}

.comment-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.comment-list article {
  padding: 1.5rem;
  border: 1px solid var(--onco-border);
  border-radius: var(--onco-radius-lg);
  margin-bottom: 1rem;
  background: var(--onco-bg);
}

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--onco-border);
  border-radius: var(--onco-radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--onco-bg);
  color: var(--onco-text);
  box-sizing: border-box;
}

.comment-form-comment textarea {
  resize: vertical;
}

.comment-form-comment textarea:focus,
.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus {
  outline: none;
  border-color: var(--onco-primary);
  box-shadow: 0 0 0 3px var(--onco-primary-light);
}

.comment-form-author,
.comment-form-email,
.comment-form-url,
.comment-form-comment,
.comment-form-cookies-consent {
  margin-bottom: 1.25rem;
}

.comment-respond .form-submit input[type="submit"] {
  padding: 0.75rem 1.75rem;
  background: var(--onco-primary);
  color: #fff;
  border: 0;
  border-radius: var(--onco-radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.comment-respond .form-submit input[type="submit"]:hover {
  background: var(--onco-primary-dark);
}

/* Threaded replies â€” a smaller indent on mobile keeps nested comments
   from squeezing reply text into an unreadably narrow column. */
.comment-list .children {
  list-style: none;
  margin: 0 0 0 1.25rem;
  padding: 0;
}

@media (min-width: 768px) {
  .comment-form-author,
  .comment-form-email {
    display: inline-block;
    width: calc(50% - 0.5rem);
    vertical-align: top;
  }

  .comment-form-author {
    margin-right: 1rem;
  }

  .comment-list .children {
    margin-left: 2.5rem;
  }
}

/* ============================================
   Pagination
   ============================================ */
.navigation.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.navigation.pagination a,
.navigation.pagination span {
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--onco-border);
  border-radius: var(--onco-radius);
  text-decoration: none;
  color: var(--onco-text);
  font-size: 0.9rem;
}

.navigation.pagination .current {
  background: var(--onco-primary);
  color: #fff;
  border-color: var(--onco-primary);
}

/* ============================================
   Content Layout
   ============================================ */
.content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 2rem 0;
}

.content-main {
  min-width: 0;
}

.content-sidebar {
  min-width: 0;
}

/* ============================================
   AdSense containers
   ============================================ */
.ad-slot {
  margin: 2rem auto;
  text-align: center;
  min-height: 90px;
  padding: 1rem;
  background: var(--onco-bg-alt);
  border-radius: var(--onco-radius);
  border: 1px dashed var(--onco-border);
  max-width: 100%;
  overflow-x: auto;
}

.ad-slot iframe,
.ad-slot ins {
  max-width: 100%;
}

.ad-slot--header {
  max-width: 728px;
}

.ad-slot--sidebar {
  max-width: 300px;
}

.ad-slot--footer {
  max-width: 728px;
}

/* ============================================
   Accessibility
   ============================================ */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--onco-text);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
  text-decoration: none;
  border-radius: 0 0 var(--onco-radius) 0;
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   Utilities
   ============================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* ============================================
   Responsive
   ============================================ */
@media (min-width: 768px) {
  .content-layout {
    grid-template-columns: 1fr 280px;
  }

  .content-sidebar {
    max-width: 280px;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .site-header-inner {
    padding: 0.5rem 0;
  }

  .hero-section {
    padding: 6rem 0 5rem;
  }

  .section {
    padding: 5rem 0;
  }

  .feature-grid--asymmetric {
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .content-layout {
    grid-template-columns: 1fr 300px;
  }

  .content-sidebar {
    max-width: 300px;
  }

  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .primary-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--onco-bg);
    border-bottom: 1px solid var(--onco-border);
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: var(--onco-shadow-lg);
    max-height: calc(100vh - 100%);
    overflow-y: auto;
  }

  .primary-menu.toggled {
    display: flex;
  }

  .primary-menu a {
    display: block;
    padding: 0.75rem 0.5rem;
    font-size: 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .main-navigation {
    position: relative;
  }

  .site-header-inner {
    gap: 0.75rem;
    flex-wrap: nowrap;
  }

  .site-branding {
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
  }

  .site-title {
    font-size: 1.05rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-logo img,
  .custom-logo {
    max-height: 36px;
  }

  .site-description {
    display: none;
  }

  .btn-subscribe {
    display: none;
  }

  .main-navigation-inner {
    justify-content: flex-end;
    gap: 0.75rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .trending-post {
    gap: 1rem;
  }

  .author-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-form-inner {
    flex-direction: column;
  }

.newsletter-form-inner input[type="email"],
.newsletter-form-inner .btn {
    width: 100%;
  }
}

/* ============================================
   Asymmetric Featured Card
   ============================================ */
.article-card--featured {
  grid-row: span 2;
}

.article-card--featured .article-card-media {
  aspect-ratio: 4 / 3;
}

.article-card--featured .article-card-title {
  font-size: 1.25rem;
}

.article-card--featured .article-card-excerpt {
  font-size: 1rem;
}

@media (max-width: 767px) {
  .article-card--featured {
    grid-row: span 1;
  }

  .article-card--featured .article-card-media {
    aspect-ratio: 16 / 9;
  }
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--onco-border-subtle);
  margin-bottom: 2rem;
}

.page-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.page-description {
  margin: 0;
  color: var(--onco-text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 70ch;
}

/* ============================================
   Page Content
   ============================================ */
.page-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.page-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.page-content p {
  color: var(--onco-text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.page-content ul,
.page-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}

.page-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  color: var(--onco-text-secondary);
}

/* ============================================
   Contact Form
   ============================================ */
.contact-form-wrapper {
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--onco-bg-alt);
  border-radius: var(--onco-radius-lg);
  border: 1px solid var(--onco-border);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--onco-text);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--onco-border);
  border-radius: var(--onco-radius);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--onco-bg);
  color: var(--onco-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--onco-primary);
  box-shadow: 0 0 0 3px var(--onco-primary-light);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

/* ============================================
   Animation Keyframes
   ============================================ */
@keyframes onco-fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes onco-scaleIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes onco-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes onco-pulse {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.015);
    filter: brightness(1.03);
  }
}

/* ============================================
   Hero Content â€” Stagger Fade-In on Load
   ============================================ */
.hero-content > .section-eyebrow,
.hero-content > .hero-title,
.hero-content > .hero-subtitle,
.hero-content > .hero-actions {
  opacity: 0;
  animation: onco-fadeUp 600ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content > .section-eyebrow {
  animation-delay: 0ms;
}

.hero-content > .hero-title {
  animation-delay: 100ms;
}

.hero-content > .hero-subtitle {
  animation-delay: 200ms;
}

.hero-content > .hero-actions {
  animation-delay: 400ms;
}

/* ============================================
   Hero Visual â€” Scale-In + Float
   ============================================ */
.hero-visual {
  opacity: 0;
  animation: onco-scaleIn 1000ms cubic-bezier(0.16, 1, 0.3, 1) 200ms forwards;
}

.hero-visual img {
  animation: onco-float 7s ease-in-out 1200ms infinite;
}

/* ============================================
   AI Brain / Network â€” Subtle Pulse
   ============================================ */
.hero-visual img {
  animation: onco-float 7s ease-in-out 1200ms infinite,
             onco-pulse 5s ease-in-out 1200ms infinite;
}

/* ============================================
   Hero Information Panels (ready for future use)
   â€” Apply .hero-panel to CT Scan, Tumor Detection,
     Pathology AI, Genomic Insights cards/blocks
   ============================================ */
.hero-panel {
  opacity: 0;
  transform: translateY(10px);
  animation: onco-fadeUp 600ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-panel:nth-child(1) { animation-delay: 300ms; }
.hero-panel:nth-child(2) { animation-delay: 450ms; }
.hero-panel:nth-child(3) { animation-delay: 600ms; }
.hero-panel:nth-child(4) { animation-delay: 750ms; }

/* ============================================
   Scroll-Reveal System (via Intersection Observer)
   ============================================ */
.onco-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.onco-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   CTA Button Micro-Interactions (enhanced)
   ============================================ */
.btn {
  transition: transform 200ms ease,
              box-shadow 200ms ease,
              background-color 200ms ease,
              filter 200ms ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -2px rgba(13, 148, 136, 0.35);
  filter: brightness(1.06);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -2px rgba(15, 118, 110, 0.2);
}

.btn:active {
  transform: scale(0.97) translateY(0);
  transition-duration: 80ms;
}

/* ============================================
   Featured Categories - Premium Cards
   ============================================ */
.featured-categories {
  background: var(--onco-bg-alt);
  padding: 5rem 0;
}

.featured-categories .container {
  background: var(--onco-bg);
  border-radius: var(--onco-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--onco-shadow);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.featured-category-card {
  background: var(--onco-bg);
  border: 1px solid var(--onco-border);
  border-radius: var(--onco-radius-lg);
  padding: 1.75rem;
  transition: box-shadow 0.25s ease,
              border-color 0.25s ease,
              transform 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.featured-category-card:hover {
  box-shadow: var(--onco-shadow);
  border-color: var(--onco-primary);
  transform: translateY(-3px);
}

.category-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--onco-radius);
  background: var(--onco-primary-light);
  color: var(--onco-primary-dark);
  margin-bottom: 1rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.featured-category-card:hover .category-card-icon {
  transform: scale(1.08);
  background: var(--onco-primary);
  color: #fff;
}

.featured-category-card:hover .category-card-icon svg {
  stroke: #fff;
}

.featured-category-card h4 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.featured-category-card p {
  font-size: 0.875rem;
  color: var(--onco-text-muted);
  margin: 0 0 1rem;
  line-height: 1.6;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--onco-primary-dark);
}

/* ============================================
   Newsletter - Premium Gradient CTA
   ============================================ */
.newsletter-section {
  background: linear-gradient(100deg, #24A7C1 0%, #24A7C1 40%, #2869C9 40%, #2869C9 70%, #7465D9 70%, #7465D9 100%);
  padding: 5rem 0;
}

.newsletter-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--onco-radius-lg);
  padding: 3rem 2rem;
}

.newsletter-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.newsletter-title {
  color: #fff;
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw + 0.5rem, 2rem);
}

.newsletter-description {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.6;
}

.newsletter-form-inner {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter-form-inner input[type="email"] {
  flex: 1 1 260px;
  padding: 0.875rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--onco-radius);
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.newsletter-form-inner input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form-inner input[type="email"]:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.newsletter-form-inner .btn-primary {
  background: #05809C;
  color: #fff;
  border: none;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  border-radius: var(--onco-radius);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.newsletter-form-inner .btn-primary:hover {
  background: #046A85;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.newsletter-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 1rem 0 0;
}

/* Subtle glass highlight on hero visual container */
.hero-visual img {
  box-shadow: var(--onco-shadow-lg),
              0 0 40px -8px rgba(13, 148, 136, 0.12);
}

/* ============================================
   Section Headers â€” Reveal Enhancement
   ============================================ */
.section .section-header.onco-reveal {
  transform: translateY(12px);
}

/* ============================================
   Accessibility â€” Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .hero-content > .section-eyebrow,
  .hero-content > .hero-title,
  .hero-content > .hero-subtitle,
  .hero-content > .hero-actions {
    opacity: 1;
    animation: none;
    transform: none;
  }

  .hero-visual {
    opacity: 1;
    animation: none;
    transform: none;
  }

  .hero-visual img {
    animation: none;
  }

  .hero-panel {
    opacity: 1;
    animation: none;
    transform: none;
  }

  .onco-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn {
    transition: background-color 200ms ease;
  }

  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
    filter: none;
  }

  .btn:active {
    transform: none;
  }
}

/* ============================================
   Responsive - New Sections
   ============================================ */
@media (min-width: 768px) {
  .trust-features {
    grid-template-columns: repeat(4, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .education-layout {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .hero-section {
    min-height: auto;
    padding: 4rem 0 3rem;
  }

  .hero-trust {
    flex-direction: column;
    gap: 0.75rem;
  }

  .trust-stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .journey-grid {
    grid-template-columns: 1fr;
  }

  .research-grid {
    grid-template-columns: 1fr;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .education-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================
   Mobile Animation Optimization
   ============================================ */
@media (max-width: 767px) {
  @keyframes onco-float {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-3px);
    }
  }

  .hero-visual img {
    animation: onco-float 7s ease-in-out 1200ms infinite;
  }

  .onco-reveal {
    transform: translateY(10px);
  }

  .section .section-header.onco-reveal {
    transform: translateY(8px);
  }
}



/* ============================================
   Featured Article - Category Pages
   ============================================ */
.featured-article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--onco-border);
  margin-bottom: 1rem;
}

.featured-article-media {
  display: block;
  border-radius: var(--onco-radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--onco-bg-alt);
}

.featured-article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-article:hover .featured-article-media img {
  transform: scale(1.03);
}

.featured-article-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.featured-article-category .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--onco-primary);
  color: #fff;
  padding: 0.25rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 9999px;
  text-decoration: none;
  width: fit-content;
}

.featured-article-category .badge svg {
  width: 12px;
  height: 12px;
}

.featured-article-title {
  font-size: clamp(1.25rem, 2.5vw + 0.5rem, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: var(--onco-text);
}

.featured-article-title a {
  color: inherit;
  text-decoration: none;
}

.featured-article-title a:hover {
  color: var(--onco-primary-dark);
}

.featured-article-excerpt {
  font-size: 0.95rem;
  color: var(--onco-text-muted);
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--onco-text-muted);
}

.featured-article-meta .post-author {
  font-weight: 600;
  color: var(--onco-text-secondary);
}

/* ============================================
   News Page
   ============================================ */
.news-intro {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--onco-primary-light), rgba(32, 184, 214, 0.08));
  border-radius: var(--onco-radius-lg);
  border-left: 4px solid var(--onco-primary);
  margin-bottom: 2rem;
}

.news-intro-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--onco-primary);
  color: #fff;
  border-radius: var(--onco-radius);
}

.news-intro-text h2 {
  font-size: 1.25rem;
  margin: 0 0 0.25rem;
  color: var(--onco-primary-dark);
}

.news-intro-text p {
  font-size: 0.95rem;
  color: var(--onco-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Featured article on News page */
.news-featured-article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--onco-bg);
  border: 1px solid var(--onco-border);
  border-radius: var(--onco-radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.news-featured-article:hover {
  box-shadow: var(--onco-shadow-lg);
  transform: translateY(-2px);
}

.news-featured-media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--onco-bg-alt);
}

.news-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-featured-article:hover .news-featured-media img {
  transform: scale(1.03);
}

.news-featured-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: #fff;
  padding: 0.3rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
  animation: news-badge-pulse 2s ease-in-out infinite;
}

@keyframes news-badge-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.news-featured-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.news-featured-category .post-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.news-featured-category .badge {
  background: var(--onco-primary);
  color: #fff;
  padding: 0.25rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.news-featured-category .badge svg {
  width: 12px;
  height: 12px;
}

.news-featured-title {
  font-size: clamp(1.25rem, 2.5vw + 0.5rem, 1.6rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: var(--onco-text);
}

.news-featured-title a {
  color: inherit;
  text-decoration: none;
}

.news-featured-title a:hover {
  color: var(--onco-primary-dark);
}

.news-featured-excerpt {
  font-size: 0.95rem;
  color: var(--onco-text-muted);
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--onco-text-muted);
}

.news-featured-meta .post-author {
  font-weight: 600;
  color: var(--onco-text-secondary);
}

.news-featured-cta {
  width: fit-content;
  margin-top: 0.25rem;
}

/* Category tabs */
.news-category-tabs {
  margin-bottom: 2rem;
}

.news-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--onco-primary-dark);
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--onco-border);
}

.news-section-title svg {
  color: var(--onco-primary);
}

.news-tabs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.news-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--onco-text-muted);
  background: var(--onco-bg-alt);
  border: 1px solid var(--onco-border);
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.news-tab svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.news-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  background: var(--onco-border);
  color: var(--onco-text-muted);
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
}

.news-tab:hover {
  background: var(--onco-primary);
  color: #fff;
  border-color: var(--onco-primary);
  transform: translateY(-1px);
}

.news-tab:hover svg {
  opacity: 1;
}

.news-tab:hover .news-tab-count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* News grid specific */
.news-grid {
  margin-bottom: 2rem;
}

/* Pagination */
.news-pagination {
  display: flex;
  justify-content: center;
  padding: 2rem 0 1rem;
}

.news-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.news-pagination .page-numbers li {
  display: inline-flex;
}

.news-pagination .page-numbers a,
.news-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--onco-text-muted);
  background: var(--onco-bg);
  border: 1px solid var(--onco-border);
  border-radius: var(--onco-radius);
  text-decoration: none;
  transition: all 0.2s ease;
}

.news-pagination .page-numbers a:hover {
  background: var(--onco-primary);
  color: #fff;
  border-color: var(--onco-primary);
}

.news-pagination .page-numbers .current {
  background: var(--onco-primary);
  color: #fff;
  border-color: var(--onco-primary);
}

.news-pagination .page-numbers .prev,
.news-pagination .page-numbers .next {
  font-size: 0.8rem;
}

/* Responsive News */
@media (min-width: 768px) {
  .news-featured-article {
    grid-template-columns: 1fr 1fr;
  }

  .news-featured-media {
    aspect-ratio: auto;
    min-height: 280px;
  }

  .news-featured-body {
    padding: 2rem;
    justify-content: center;
  }
}

/* ============================================
   Disclaimer Page
   ============================================ */
.disclaimer-notice {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #FEF3C7, #FDE68A33);
  border: 1px solid #F59E0B33;
  border-left: 4px solid var(--onco-warning);
  border-radius: var(--onco-radius-lg);
  margin-bottom: 2.5rem;
}

.disclaimer-notice-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--onco-warning);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.disclaimer-notice-text strong {
  display: block;
  font-size: 1.1rem;
  color: #92400E;
  margin-bottom: 0.25rem;
}

.disclaimer-notice-text p {
  font-size: 0.95rem;
  color: #78350F;
  margin: 0;
  line-height: 1.6;
}

/* Disclaimer sections */
.disclaimer-content {
  margin-bottom: 2rem;
}

.disclaimer-section {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--onco-border-subtle);
}

.disclaimer-section:last-child {
  border-bottom: none;
}

.disclaimer-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.disclaimer-section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--onco-primary), var(--onco-secondary));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 50%;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.disclaimer-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: var(--onco-primary-dark);
}

.disclaimer-section p {
  font-size: 0.95rem;
  color: var(--onco-text-muted);
  line-height: 1.7;
  margin: 0 0 0.75rem;
}

.disclaimer-section p:last-child {
  margin-bottom: 0;
}

.disclaimer-last-updated {
  color: var(--onco-text-muted);
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* Emergency callout box */
.disclaimer-emergency-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #FEE2E2, #FECACA33);
  border: 1px solid #FCA5A533;
  border-left: 4px solid var(--onco-error);
  border-radius: var(--onco-radius);
  margin-top: 0.75rem;
}

.disclaimer-emergency-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--onco-error);
  color: #fff;
  border-radius: 50%;
  animation: emergency-pulse 2s ease-in-out infinite;
}

@keyframes emergency-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
}

.disclaimer-emergency-box p {
  font-size: 0.9rem;
  color: #991B1B;
  margin: 0 0 0.5rem;
}

.disclaimer-emergency-box p:last-child {
  margin-bottom: 0;
}

/* Contact CTA */
.disclaimer-contact-cta {
  margin-top: 1.5rem;
}

.disclaimer-contact-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--onco-primary-light), rgba(15, 157, 154, 0.06));
  border: 1px solid rgba(15, 157, 154, 0.15);
  border-radius: var(--onco-radius-lg);
}

.disclaimer-contact-inner > svg {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--onco-primary);
  padding: 8px;
  background: rgba(15, 157, 154, 0.1);
  border-radius: 50%;
}

.disclaimer-contact-inner > div {
  flex: 1;
  min-width: 200px;
}

.disclaimer-contact-inner h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
  color: var(--onco-primary-dark);
}

.disclaimer-contact-inner p {
  font-size: 0.9rem;
  color: var(--onco-text-muted);
  margin: 0;
}
    min-height: 280px;
  }

  .news-featured-body {
    padding: 2rem;
    justify-content: center;
  }
}

/* ============================================
   Disclaimer Page
   ============================================ */
.disclaimer-notice {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #FEF3C7, #FDE68A33);
  border: 1px solid #F59E0B33;
  border-left: 4px solid var(--onco-warning);
  border-radius: var(--onco-radius-lg);
  margin-bottom: 2.5rem;
}

.disclaimer-notice-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--onco-warning);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.disclaimer-notice-text strong {
  display: block;
  font-size: 1.1rem;
  color: #92400E;
  margin-bottom: 0.25rem;
}

.disclaimer-notice-text p {
  font-size: 0.95rem;
  color: #78350F;
  margin: 0;
  line-height: 1.6;
}

/* Disclaimer sections */
.disclaimer-content {
  margin-bottom: 2rem;
}

.disclaimer-section {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--onco-border-subtle);
}

.disclaimer-section:last-child {
  border-bottom: none;
}

.disclaimer-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.disclaimer-section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--onco-primary), var(--onco-secondary));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 50%;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.disclaimer-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: var(--onco-primary-dark);
}

.disclaimer-section p {
  font-size: 0.95rem;
  color: var(--onco-text-muted);
  line-height: 1.7;
  margin: 0 0 0.75rem;
}

.disclaimer-section p:last-child {
  margin-bottom: 0;
}

.disclaimer-last-updated {
  color: var(--onco-text-muted);
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* Emergency callout box */
.disclaimer-emergency-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #FEE2E2, #FECACA33);
  border: 1px solid #FCA5A533;
  border-left: 4px solid var(--onco-error);
  border-radius: var(--onco-radius);
  margin-top: 0.75rem;
}

.disclaimer-emergency-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--onco-error);
  color: #fff;
  border-radius: 50%;
  animation: emergency-pulse 2s ease-in-out infinite;
}

@keyframes emergency-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
}

.disclaimer-emergency-box p {
  font-size: 0.9rem;
  color: #991B1B;
  margin: 0 0 0.5rem;
}

.disclaimer-emergency-box p:last-child {
  margin-bottom: 0;
}

/* Contact CTA */
.disclaimer-contact-cta {
  margin-top: 1.5rem;
}

.disclaimer-contact-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--onco-primary-light), rgba(15, 157, 154, 0.06));
  border: 1px solid rgba(15, 157, 154, 0.15);
  border-radius: var(--onco-radius-lg);
}

.disclaimer-contact-inner > svg {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--onco-primary);
  padding: 8px;
  background: rgba(15, 157, 154, 0.1);
  border-radius: 50%;
}

.disclaimer-contact-inner > div {
  flex: 1;
  min-width: 200px;
}

.disclaimer-contact-inner h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
  color: var(--onco-primary-dark);
}

.disclaimer-contact-inner p {
  font-size: 0.9rem;
  color: var(--onco-text-muted);
  margin: 0;
}

.disclaimer-contact-inner .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ============================================
   Topics Overview Grid (Research & Education)
   ============================================ */
.topics-overview-section {
  margin: 3.5rem 0;
}

.topics-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.topic-overview-item {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--onco-radius-lg);
  border: 1px solid var(--onco-border);
  box-shadow: var(--onco-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topic-overview-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--onco-shadow-md);
  border-color: rgba(15, 157, 154, 0.3);
}

.topic-overview-item h4 {
  font-size: 1.15rem;
  color: var(--onco-primary-dark);
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topic-overview-item p {
  font-size: 0.95rem;
  color: var(--onco-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   Education Modules Grid (2x2)
   ============================================ */
.edu-modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .edu-modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.edu-module-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 2.5rem;
  border: 1px solid rgba(15, 157, 154, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.edu-module-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--onco-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.edu-module-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(15, 157, 154, 0.12);
  border-color: rgba(15, 157, 154, 0.3);
}

.edu-module-card:hover::before {
  transform: scaleX(1);
}

.edu-module-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(15, 157, 154, 0.1), rgba(32, 184, 214, 0.05));
  color: var(--onco-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.edu-module-card:hover .edu-module-icon {
  background: var(--onco-primary);
  color: #fff;
  transform: scale(1.05);
}

.edu-module-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--onco-text);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.edu-module-desc {
  font-size: 1rem;
  color: var(--onco-text-muted);
  line-height: 1.6;
  flex-grow: 1;
  margin: 0 0 2rem;
}

.edu-module-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--onco-primary);
  font-size: 0.95rem;
  transition: gap 0.3s ease, color 0.3s ease;
  margin-top: auto;
}

.edu-module-card:hover .edu-module-cta {
  gap: 0.75rem;
  color: var(--onco-primary-dark);
}
