/* NKG Global Education - Student Learning Portal Style */
:root {
  --primary: #1e3a8a;
  --primary-dark: #0f2b48;
  --primary-light: #3b82f6;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --success: #10b981;
  --danger: #ef4444;
  --radius: 10px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: var(--bg-main);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Security & Protection */
.secure-view {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

@media print {
  body {
    display: none !important;
  }
}

/* Header */
.navbar {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  background-color: var(--accent);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.btn {
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--primary-dark);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: #f1f5f9;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-google {
  background-color: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
  width: 100%;
  justify-content: center;
  padding: 10px;
}

.btn-google:hover {
  background-color: #f8fafc;
}

.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* User Profile Badge in Nav */
.user-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 20px;
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
}

.user-email {
  font-size: 0.85rem;
  color: #e0f2fe;
}

/* Hero Section */
.hero {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.hero p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  flex: 1;
  width: 100%;
}

/* Section Header & Filters */
.section-header {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.search-box {
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  outline: none;
  min-width: 220px;
  background: #ffffff;
}

.search-box:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-unlocked {
  background-color: #d1fae5;
  color: #065f46;
}

.badge-locked {
  background-color: #fee2e2;
  color: #991b1b;
}

.badge-sample {
  background-color: #e0e7ff;
  color: #3730a3;
}

.card h3 {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.document-list {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: auto;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 4px;
}

.doc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  background: #f8fafc;
  margin-bottom: 6px;
  font-size: 0.85rem;
}

.doc-item:hover {
  background: #f1f5f9;
}

.doc-item .doc-title {
  font-weight: 500;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

/* Canvas Document Viewer View */
#viewer-view {
  background: #1e293b;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.viewer-header {
  background: #0f172a;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  position: sticky;
  top: 0;
  z-index: 100;
}

.viewer-title {
  font-size: 1rem;
  font-weight: 600;
  color: #f8fafc;
}

.viewer-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.viewer-btn {
  background: #334155;
  color: #ffffff;
  border: 1px solid #475569;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
}

.viewer-btn:hover:not(:disabled) {
  background: #475569;
}

.viewer-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

#page-indicator {
  color: #cbd5e1;
  font-size: 0.85rem;
  min-width: 90px;
  text-align: center;
}

#canvas-viewport {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 1.5rem 1rem;
  overflow: auto;
  position: relative;
  background: #0f172a;
}

.book-spread-container {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 16px !important;
  margin: auto !important;
}

.book-page-wrapper {
  position: relative;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.book-page-wrapper.left-page {
  border-right: 1px solid #cbd5e1;
  box-shadow: -6px 12px 25px rgba(0, 0, 0, 0.4);
}

.book-page-wrapper.right-page {
  border-left: 1px solid #cbd5e1;
  box-shadow: 6px 12px 25px rgba(0, 0, 0, 0.4);
}

.book-page-wrapper canvas {
  display: block;
  background: #ffffff;
}

.book-page-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e293b;
  border: 1px dashed #334155;
  border-radius: 4px;
  color: #64748b;
  font-size: 0.9rem;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  backdrop-filter: blur(4px);
}

.modal {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border);
}

.divider:not(:empty)::before {
  margin-right: .5em;
}

.divider:not(:empty)::after {
  margin-left: .5em;
}

/* Footer */
footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Alerts */
.alert {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.alert-danger {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #f87171;
}

.alert-info {
  background-color: #e0f2fe;
  color: #0369a1;
  border: 1px solid #7dd3fc;
}

/* Option B: Admin Panel & Validity Styles */
.validity-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(4px);
}

.btn-warning {
  background-color: #f59e0b;
  color: #ffffff;
  border: none;
}

.btn-warning:hover {
  background-color: #d97706;
}

.btn-success {
  background-color: #10b981;
  color: #ffffff;
  border: none;
}

.btn-success:hover {
  background-color: #059669;
}

.admin-modal-content {
  max-width: 900px;
  width: 95%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.admin-modal-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.admin-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.admin-table-container {
  max-height: 340px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 15px;
  background: #ffffff;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.admin-table th {
  background-color: #f1f5f9;
  padding: 10px 14px;
  font-weight: 600;
  color: var(--text-dark);
  position: sticky;
  top: 0;
  border-bottom: 1px solid var(--border);
  z-index: 1;
}

.admin-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.admin-table tr:hover {
  background-color: #f8fafc;
}

.admin-edit-panel {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 16px;
  box-shadow: var(--shadow);
  animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.presets-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.preset-btn {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-dark);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.15s;
}

.preset-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.preset-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.badge-pending {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.badge-active {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.badge-expired {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.badge-revoked {
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

/* ========================================================== */
/* Anti-Screenshot & DRM Security Curtain                     */
/* ========================================================== */
.security-curtain {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 2rem;
  animation: curtainFadeIn 0.15s ease-out;
  cursor: pointer;
}

@keyframes curtainFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.security-curtain-content {
  max-width: 480px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
}

.security-shield-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.security-curtain-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.75rem;
}

.security-curtain-content p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.security-watermark-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.security-hint {
  font-size: 0.8rem !important;
  color: #64748b !important;
  margin-bottom: 0 !important;
}

/* Canvas viewport active protection */
#canvas-viewport {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#canvas-viewport canvas {
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
}

/* Active Obfuscation when Snipping Tool or External Tool activates */
.canvas-obfuscated {
  filter: blur(35px) brightness(0.2) !important;
  pointer-events: none !important;
  transition: filter 0.1s ease;
}

/* Legal Compliance, Footer & AdSense Styles */
.portal-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 1.5rem 0;
  margin-top: 3rem;
  color: #334155;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-disclaimer-box {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #92400e;
  margin-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.footer-col p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.84rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: #94a3b8;
}

/* AdSense Banner Container */
.adsense-banner-wrapper {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
}

.adsense-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  margin-bottom: 6px;
  text-align: center;
}

/* Viewer Disclaimer Tag */
.viewer-disclaimer-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.35);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* ========================================================
   ACADEMIC BLOG STYLES
   ======================================================== */
.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  color: #93c5fd;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 6px 14px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.blog-tag-badge {
  background: #eff6ff;
  color: var(--primary);
  border: 1px solid #bfdbfe;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.blog-read-time {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.blog-card-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--primary-light);
}

.blog-card-excerpt {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.blog-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.84rem;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.blog-read-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Full Article Page Styles */
.article-container {
  max-width: 820px;
  margin: 2rem auto;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 3rem;
}

@media (max-width: 768px) {
  .article-container {
    padding: 1.5rem 1.25rem;
    margin: 1rem;
  }
}

.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.article-category {
  display: inline-block;
  background: #e0e7ff;
  color: #3730a3;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.article-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
}

.article-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0f2b48;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #e2e8f0;
}

.article-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
}

.article-content p {
  margin-bottom: 1.25rem;
}

.article-content ul, .article-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content strong {
  color: #0f172a;
}

.article-cta-box {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1.5px solid #93c5fd;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-cta-box h4 {
  font-size: 1.15rem;
  color: #1e3a8a;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-cta-box p {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.55;
  margin-bottom: 0;
}

.article-cta-btn {
  align-self: flex-start;
  background: #1e3a8a;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.article-cta-btn:hover {
  background: #1d4ed8;
}

.article-breadcrumb {
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.article-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.article-breadcrumb a:hover {
  text-decoration: underline;
}




