:root {
  --editorial-surface: linear-gradient(145deg, rgba(6, 10, 22, 0.82), rgba(16, 24, 42, 0.78));
  --editorial-surface-soft: rgba(15, 23, 42, 0.72);
  --editorial-surface-muted: rgba(15, 23, 42, 0.66);
  --editorial-border: rgba(148, 163, 184, 0.24);
  --editorial-border-strong: rgba(96, 165, 250, 0.44);
  --editorial-heading: #f8fafc;
  --editorial-text: rgba(226, 232, 240, 0.9);
  --editorial-muted: rgba(191, 219, 254, 0.72);
  --editorial-link: #93c5fd;
  --editorial-link-hover: #bfdbfe;
  --editorial-shadow: 0 20px 45px rgba(2, 6, 23, 0.26);
}

body.blog-page {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(59, 130, 246, 0.1), transparent 34%),
    linear-gradient(180deg, #070b15 0%, #05070f 100%);
  color: var(--editorial-text);
}

body.about-page,
body.contact-page,
body.privacy-page,
body.terms-page {
  background:
    radial-gradient(circle at top, rgba(59, 130, 246, 0.1), transparent 34%),
    linear-gradient(180deg, #070b15 0%, #05070f 100%);
  color: var(--editorial-text);
}

body.about-page .page-title,
body.contact-page .page-title,
body.privacy-page .page-title,
body.terms-page .page-title {
  color: var(--editorial-heading);
  font-family: 'Outfit', 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

body.about-page .page-subtitle,
body.contact-page .page-subtitle,
body.privacy-page .page-subtitle,
body.terms-page .page-subtitle {
  color: rgba(226, 232, 240, 0.82);
}

body.about-page .content-section,
body.contact-page .content-section,
body.contact-page .contact-form,
body.privacy-page .content-section,
body.terms-page .content-section,
body.about-page .feature-grid li,
body.about-page .value-card,
.blog-hero,
.article-header,
.article-content,
.article-card,
.category-card,
.sidebar-panel,
.blog-cta,
.related {
  position: relative;
  overflow: hidden;
  background: var(--editorial-surface);
  border: 1px solid var(--editorial-border);
  box-shadow: var(--editorial-shadow);
}

body.about-page .content-section::before,
body.contact-page .content-section::before,
body.contact-page .contact-form::before,
body.privacy-page .content-section::before,
body.terms-page .content-section::before,
.blog-hero::before,
.article-header::before,
.article-content::before,
.blog-cta::before,
.related::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.46), rgba(14, 165, 233, 0.16));
  opacity: 0.95;
}

body.about-page .content-section h2,
body.contact-page .content-section h2,
body.privacy-page .content-section h2,
body.terms-page .content-section h2,
body.about-page .content-section h3,
body.contact-page .content-section h3,
body.privacy-page .content-section h3,
body.terms-page .content-section h3,
.blog-hero h1,
.section-head h2,
.article-header h1,
.article-content h2,
.article-content h3,
.article-card h3,
.category-card h3,
.sidebar-panel h3,
.blog-cta h2,
.related h3,
.live-countdown-title {
  color: var(--editorial-heading);
}

body.about-page .content-section h2,
body.contact-page .content-section h2,
body.privacy-page .content-section h2,
body.terms-page .content-section h2 {
  border-bottom-color: rgba(96, 165, 250, 0.34);
}

body.about-page .content-section h3,
body.contact-page .content-section h3,
body.privacy-page .content-section h3,
body.terms-page .content-section h3 {
  color: #dbeafe;
}

body.about-page .content-section p,
body.about-page .content-section li,
body.contact-page .content-section p,
body.contact-page .content-section li,
body.privacy-page .content-section p,
body.privacy-page .content-section li,
body.terms-page .content-section p,
body.terms-page .content-section li,
body.privacy-page .date-info-box p,
body.privacy-page .important-notice p,
body.terms-page .date-info-box p,
body.terms-page .important-notice p,
body.terms-page .warning-box p,
.blog-hero p,
.section-head p,
.article-content p,
.article-content li,
.article-card p,
.category-card p,
.mini-note,
#filter-count,
.breadcrumb,
.article-header .meta,
.card-meta,
.live-countdown-sub,
body.privacy-page .last-updated,
body.terms-page .last-updated {
  color: var(--editorial-text);
}

body.about-page .content-section strong,
body.contact-page .content-section strong,
body.privacy-page .content-section strong,
body.terms-page .content-section strong,
body.privacy-page .date-info-box strong,
body.privacy-page .info-box strong,
body.terms-page .date-info-box strong,
body.terms-page .info-box strong,
body.terms-page .legal-term,
.article-content strong,
.live-countdown-box strong {
  color: #f8fafc;
}

body.about-page .content-section a,
body.contact-page .content-section a,
body.contact-page .form-note a,
body.contact-page .info-box a,
body.contact-page .form-error a,
body.privacy-page .content-section a,
body.privacy-page .info-box a,
body.privacy-page .resource-list a,
body.terms-page .content-section a,
body.terms-page .info-box a,
.blog-hero a,
.hero-link,
.sidebar-list a,
.article-content a,
.article-card .card-footer,
.category-card .card-footer,
.breadcrumb a,
.back-link,
.site-footer a,
.article-note a,
.related a,
.live-countdown-box a {
  color: var(--editorial-link);
}

body.about-page .content-section a:hover,
body.contact-page .content-section a:hover,
body.contact-page .form-note a:hover,
body.contact-page .info-box a:hover,
body.contact-page .form-error a:hover,
body.privacy-page .content-section a:hover,
body.privacy-page .info-box a:hover,
body.privacy-page .resource-list a:hover,
body.terms-page .content-section a:hover,
body.terms-page .info-box a:hover,
.blog-hero a:hover,
.hero-link:hover,
.sidebar-list a:hover,
.article-content a:hover,
.article-card:hover .card-footer,
.category-card:hover .card-footer,
.breadcrumb a:hover,
.back-link:hover,
.site-footer a:hover,
.article-note a:hover,
.related a:hover,
.live-countdown-box a:hover {
  color: var(--editorial-link-hover);
}

body.contact-page .info-box,
body.privacy-page .date-info-box,
body.privacy-page .info-box,
body.terms-page .date-info-box,
body.terms-page .info-box,
.article-note,
.live-countdown-box {
  background: var(--editorial-surface-soft);
  border: 1px solid var(--editorial-border);
  box-shadow: var(--editorial-shadow);
}

body.contact-page .info-box,
body.privacy-page .date-info-box,
body.privacy-page .info-box,
body.terms-page .date-info-box,
body.terms-page .info-box,
.article-note,
.live-countdown-box {
  border-left: 4px solid var(--editorial-border-strong);
}

body.privacy-page .important-notice,
body.terms-page .important-notice,
body.terms-page .warning-box,
body.contact-page .form-success,
body.contact-page .form-error {
  background: var(--editorial-surface-soft);
  box-shadow: var(--editorial-shadow);
}

body.privacy-page .important-notice,
body.terms-page .important-notice {
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-left: 4px solid rgba(96, 165, 250, 0.82);
}

body.terms-page .warning-box,
body.contact-page .form-error {
  border-color: rgba(248, 113, 113, 0.24);
  border-left-color: rgba(248, 113, 113, 0.88);
}

body.contact-page .form-success {
  border-color: rgba(74, 222, 128, 0.24);
}

body.contact-page .info-box p,
body.privacy-page .important-notice p,
body.terms-page .important-notice p,
body.terms-page .warning-box p,
body.contact-page .form-success p,
body.contact-page .form-error p {
  color: var(--editorial-text);
}

body.contact-page .info-box strong,
body.privacy-page .important-notice strong,
body.terms-page .important-notice strong,
body.terms-page .warning-box strong,
body.contact-page .form-success h3,
body.contact-page .form-error h3,
body.privacy-page .last-updated strong,
body.terms-page .last-updated strong {
  color: var(--editorial-heading);
}

.hero-link,
#blog-search,
#blog-category,
.top-page-nav,
.top-page-nav-toggle-button,
.top-page-nav-link,
.holiday-nav-menu,
.holiday-nav-link,
.badge {
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hero-link,
#blog-search,
#blog-category,
.top-page-nav,
.top-page-nav-toggle-button,
.top-page-nav-link,
.holiday-nav-menu {
  background: rgba(15, 23, 42, 0.78);
  border-color: var(--editorial-border);
  color: var(--editorial-text);
}

.top-page-nav {
  background: rgba(7, 11, 21, 0.82);
  border-bottom-color: var(--editorial-border);
}

.top-page-nav-toggle-button:hover,
.top-page-nav-link:hover,
.holiday-nav-link:hover,
.hero-link:hover {
  background: rgba(15, 23, 42, 0.94);
  border-color: rgba(96, 165, 250, 0.4);
  text-decoration: none;
}

.top-page-nav-link.active,
.top-page-nav-link[aria-current='page'],
.holiday-nav-link[aria-current='page'],
.badge {
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(96, 165, 250, 0.38);
  color: #dbeafe;
}

body.about-page .top-page-nav-link,
body.about-page .top-page-nav-link--featured,
body.about-page .holiday-nav-toggle,
body.about-page .holiday-nav-link,
body.about-page .top-page-nav-toggle-button {
  color: var(--editorial-text);
}

body.about-page .top-page-nav-link:hover,
body.about-page .top-page-nav-link--featured:hover,
body.about-page .holiday-nav-toggle:hover,
body.about-page .holiday-nav-link:hover,
body.about-page .top-page-nav-toggle-button:hover {
  color: #f8fafc;
}

body.about-page .top-page-nav-link.active,
body.about-page .top-page-nav-link[aria-current='page'],
body.about-page .holiday-nav-link[aria-current='page'] {
  color: #dbeafe;
}

.holiday-nav-group-title,
.search-box label,
.filter-box label {
  color: var(--editorial-muted);
}

.blog-wrap,
.article-wrap,
.site-footer {
  color: var(--editorial-text);
}

.site-footer {
  border-top-color: var(--editorial-border);
  color: rgba(191, 219, 254, 0.7);
}

.blog-hero,
.article-header {
  padding: 30px 28px;
}

.blog-hero h1,
.section-head h2,
.article-header h1,
.article-content h2,
.article-content h3,
.blog-cta h2,
.related h3 {
  font-family: 'Outfit', 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

.article-content h2 {
  border-left: 3px solid rgba(96, 165, 250, 0.7);
  padding-left: 0.72rem;
}

.article-content th {
  background: rgba(30, 41, 59, 0.9);
  color: var(--editorial-heading);
}

.article-content th,
.article-content td {
  border-color: var(--editorial-border);
  color: var(--editorial-text);
}

.related,
.article-note,
.live-countdown-box {
  border-radius: 16px;
}

.article-note {
  color: var(--editorial-text);
}

body.contact-page .form-group label {
  color: #dbeafe;
}

body.contact-page .form-group input,
body.contact-page .form-group select,
body.contact-page .form-group textarea {
  background: rgba(15, 23, 42, 0.82);
  border-color: rgba(148, 163, 184, 0.28);
  color: var(--editorial-heading);
}

body.contact-page .form-group input::placeholder,
body.contact-page .form-group textarea::placeholder {
  color: rgba(191, 219, 254, 0.42);
}

body.contact-page .form-group input:focus,
body.contact-page .form-group select:focus,
body.contact-page .form-group textarea:focus {
  background: rgba(15, 23, 42, 0.94);
  border-color: rgba(96, 165, 250, 0.54);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
}

body.contact-page .submit-btn,
body.contact-page .reset-btn {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  border: 1px solid rgba(147, 197, 253, 0.72);
  color: #eff6ff;
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.28);
}

body.contact-page .submit-btn:hover,
body.contact-page .reset-btn:hover {
  background: linear-gradient(135deg, #3b82f6, #38bdf8);
}

body.contact-page .retry-btn {
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(248, 113, 113, 0.34);
  color: #fee2e2;
}

body.contact-page .retry-btn:hover {
  background: rgba(30, 41, 59, 0.96);
}

.article-card:hover,
.category-card:hover,
.hero-link:hover {
  box-shadow: 0 16px 30px rgba(2, 6, 23, 0.3);
}

@media (max-width: 720px) {
  .blog-hero,
  .article-header,
  .article-content,
  .blog-cta {
    padding: 20px 18px;
  }
}
