/*
Theme Name: ClassicPress Child — Custom Design
Theme URI:
Description: Child theme for "The ClassicPress Theme" that replaces the default header, footer, and blog archive markup with a custom charcoal / blue / panache design system (sticky header, hero banner, trust bar, testimonial, card-based blog grid with pagination, and a CTA footer).
Author: Mashariki
Template: the-classicpress-theme
Version: 1.0.0
Text Domain: classicpress-child
*/

/* ==========================================================================
   OPTIONAL — self-hosted fonts
   This design calls for 'DM Sans' (body) and 'DM Sans' (headings/brand).
   Both font stacks already fall back to generic sans-serif, so the site
   will not break if you skip this step. To match the design exactly:
   1. Download the woff2 files for DM Sans (400) and DM Sans (400/600/700)
      from Google Fonts.
   2. Drop them into this child theme's /fonts/ folder.
   3. Uncomment the @font-face blocks below.
   (No Google Fonts CDN is used here, consistent with a no-external-
   dependency build — this only ever loads files from your own server.)
========================================================================== */
/*
@font-face {
	font-family: 'DM Sans';
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url('fonts/DM Sans-variable.woff2') format('woff2');
}
@font-face {
	font-family: 'DM Sans';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('fonts/dm-sans-variable.woff2') format('woff2');
}
*/

/* ==========================================================================
   DESIGN SYSTEM — reproduced exactly from the supplied stylesheet
========================================================================== */
/* dm-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/dm-sans-v17-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/dm-sans-v17-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* dm-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/dm-sans-v17-latin-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/dm-sans-v17-latin-italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* dm-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/dm-sans-v17-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/dm-sans-v17-latin-500.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* dm-sans-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 500;
  src: url('fonts/dm-sans-v17-latin-500italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/dm-sans-v17-latin-500italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* dm-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/dm-sans-v17-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/dm-sans-v17-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* dm-sans-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/dm-sans-v17-latin-800.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/dm-sans-v17-latin-800.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* ── TOKENS ── */
:root {
    --charcoal:      #1c2534;
    --charcoal-deep: #2e4b78;
    --charcoal-mid:  #253040;
    --blue:          #2e4b78;
    --blue-light:    #3b6199;
    --blue-pale:     #d6e3f4;
    --offwhite:      #f4f1ec;
    --cream:         #ede9e0;
    --panache:       #e8c87a;
    --panache-dim:   #c9a94e;
    --text-muted:    #8a94a1;
    --text-body:     #6b7585;
    --text-dark:     #1c2534;
    --border-light:  rgba(28,37,52,0.09);
    --border-dark:   rgba(255,255,255,0.08);
    --wrap:          1100px;
    --pad:           clamp(1.25rem, 4vw, 2.5rem);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--offwhite);
    color: var(--text-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── LAYOUT WRAPPER ── */
.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--pad);
}

/* ── HEADER ── */
.site-header {
    background: var(--charcoal-deep);
    height: 42px;
    position: sticky;
    top: 2;
    z-index: 200; 
    border-bottom: var(--panache);
}
.site-header .wrap {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.brand-name {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--offwhite);
    letter-spacing: 0.04em;
    white-space: nowrap;
    flex-shrink: 0;
}
.brand-name span { color: var(--panache); }
.brand-sub {
    font-size: 0.58rem;
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: white;
    display: block;
    margin-top: -4px;
}
.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.1rem;
}
.nav-list a {
    display: block;
    padding: 0.45rem 0.85rem;
    color: rgba(244,241,236,0.65);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    border-radius: 0.3rem;
}
.nav-list a:hover,
.nav-list a.active { color: var(--offwhite); background: rgba(46,75,120,0.25); }
.header-cta {
    background: var(--panache);
    color: var(--charcoal-deep);
    padding: 0.2rem 0.6rem;
    border-radius: 0.6rem;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── HAMBURGER ── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.4rem;
    margin-left: auto;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--offwhite);
    border-radius: 2px;
}

/* ── MOBILE NAV ── */
.mobile-nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    background: #192030;
    z-index: 190;
    padding: 1rem 1.5rem 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a {
    display: block;
    padding: 0.75rem 0.5rem;
    color: rgba(244,241,236,0.7);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-nav a:hover { color: var(--offwhite); }

/* ── BREADCRUMB ── */
.breadcrumb-bar {
    background: var(--cream);
    border-bottom: 1px solid var(--border-light);
    padding: 0.65rem 0;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.76rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--blue-light); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb-sep { opacity: 0.4; }

/* ── HERO ── */
.hero {
    background: var(--charcoal-deep);
    padding: 5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    right: -120px;
    top: -100px;
    width: 500px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46,75,120,0.18) 0%, transparent 65%);
    pointer-events: none;
}
.hero .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(46,75,120,0.3);
    border: 1px solid rgba(46,75,120,0.5);
    color: var(--blue-pale);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.2rem 0.8rem;
    border-radius: 2rem;
    margin-bottom: 0.2rem;
}
.hero-title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--offwhite);
    line-height: 1.15;
    margin-bottom: 1.4rem;
    letter-spacing: -0.01em;
}
.hero-title em { font-style: normal; font-size:0.6em; color: var(--panache); font-weight: 400; display:block;}
.hero-body {
    color: rgba(244,241,236,0.72);
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 2rem;
    max-width: 100%;
}
.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.btn-gold {
    background: var(--panache);
    color: var(--charcoal-deep);
    padding: 0.85rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    display: inline-block;
    white-space: nowrap;
}
.btn-ghost {
    color: rgba(244,241,236,0.7);
    padding: 0.85rem 2rem;
    border-radius: 2rem;
    font-size: 0.88rem;
    font-weight: 400;
    border: 1px solid rgba(244,241,236,0.2);
    display: inline-block;
    white-space: nowrap;
}
.btn-ghost:hover { color: var(--offwhite); border-color: rgba(244,241,236,0.55); }

/* Hero image panel */
.hero-image-wrap {
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    background: var(--charcoal-mid);
}
.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
}
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    background: rgba(17,25,37,0.82);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: space-around;
    padding: 1.1rem 1.5rem;
    border-top: 1px solid rgba(46,75,120,0.3);
}
.stat-item { text-align: center; }
.stat-num {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--panache);
    line-height: 1;
    display: block;
}
.stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.2rem;
}

/* ── TRUST BAR ── */
.trust-bar {
    background: var(--charcoal-mid);
    border-bottom: 1px solid rgba(46,75,120,0.2);
    padding: 1.2rem 0;
}
.trust-bar .wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}
.trust-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--panache);
    flex-shrink: 0;
}

/* ── PULL QUOTE ── */
.pull-quote {
    padding: 4rem 0;
}
.pull-quote.dark {
    background: var(--charcoal-deep);
}
.pull-quote.light {
    background: var(--cream);
}
.pull-quote blockquote {
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
}
.pull-quote blockquote p {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.55;
    margin-bottom: 1.1rem;
}
.pull-quote.dark blockquote p { color: var(--offwhite); }
.pull-quote.light blockquote p { color: var(--charcoal); }
.pull-quote blockquote cite {
    font-size: 0.78rem;
    font-style: normal;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}
.pull-quote.dark blockquote cite { color: var(--panache); }
.pull-quote.light blockquote cite { color: var(--panache-dim); }
.quote-rule {
    width: 40px;
    height: 2px;
    background: var(--panache);
    margin: 0 auto 1.6rem;
}

/* ── SECTION HEADER ── */
.section-head {
    margin-bottom: 3rem;
}
.section-head.center { text-align: center; max-width: 560px; margin-inline: auto; margin-bottom: 3rem; }
.section-eyebrow {
    display: inline-block;
    background: rgba(46,75,120,0.1);
    color: var(--blue-light);
    border: 1px solid rgba(46,75,120,0.18);
    font-size: 0.68rem;
    font-weight: 500;
    padding: 0.32rem 0.9rem;
    border-radius: 2rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}
.section-title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.2;
    margin-bottom: 0.8rem;
}
.section-sub {
    color: var(--text-body);
    line-height: 1.75;
    font-size: 0.93rem;
    font-weight: 300;
}

/* ── BLOG SECTION ── */
.blog-section {
    padding: 5.5rem 0;
    background: var(--offwhite);
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}
.blog-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}
.blog-card-body {
    padding: 1.4rem 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
}
.blog-card-date, .blog-card-source {
    font-size: 0.72rem;
    color: var(--text-muted);
}
.meta-sep {
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--text-muted);
    flex-shrink: 0;
}
.blog-card-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.45;
    margin-bottom: 0.6rem;
}
.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: var(--blue-light); }
.blog-card-excerpt {
    color: var(--text-body);
    font-size: 0.83rem;
    line-height: 1.7;
    font-weight: 300;
    flex: 1;
    margin-bottom: 1.1rem;
}
.blog-read-link {
    color: var(--blue-light);
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.blog-read-link:hover { color: var(--blue); }

/* ── PAGINATION ── */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 0.45rem;
    font-size: 0.83rem;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    border: 1.5px solid var(--border-light);
    color: var(--text-body);
    background: white;
}
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination span.current {
    background: var(--charcoal-deep);
    border-color: var(--charcoal-deep);
    color: white;
}
.pagination .pg-prev,
.pagination .pg-next {
    width: auto;
    padding: 0 1rem;
    gap: 0.3rem;
    font-size: 0.7rem;
}

/* ── CTA ── */
.cta-section {
    background: var(--charcoal-deep);
    padding: 1rem 0;
    border-top: 1px solid rgba(46,75,120,0.3);
}
.cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}
.cta-copy .cta-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--panache);
    margin-bottom: 0.2rem;
}
.cta-copy h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 600;
    color: var(--offwhite);
    line-height: 1;
    margin-bottom: 0.4rem;
}
.cta-copy p {
    color: rgba(244,241,236,0.6);
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 300;
    max-width: 500px;
}
.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    align-items: flex-end;
    flex-shrink: 0;
}
.btn-gold-lg {
    background: var(--panache);
    color: var(--charcoal-deep);
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    white-space: nowrap;
}
.btn-wa {
    background: rgba(37,211,102,0.12);
    color: #4ade80;
    border: 1px solid rgba(37,211,102,0.25);
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-block;
    white-space: nowrap;
}
.btn-wa:hover { background: rgba(37,211,102,0.18); }

/* ── FOOTER ── */
.site-footer {
    background: var(--charcoal-mid);
    border-top: 1px solid rgba(46,75,120,0.25);
    padding: 3rem 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem 4rem;
    align-items: start;
}
.footer-brand {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--offwhite);
    margin-bottom: 0.25rem;
}
.footer-brand span { color: var(--panache); }
.footer-tagline {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.footer-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    list-style: none;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 0.82rem;
}
.footer-links a:hover { color: var(--offwhite); }
.footer-copy {
    grid-column: 1 / -1;
    font-size: 0.74rem;
    color: rgba(138,148,161,0.5);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1.5rem;
    margin-top: 0.5rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
    .main-nav { display: none; }
    .hamburger { display: flex; }
    .mobile-nav { display: block; }
    .header-cta { display: none; }
}
@media (max-width: 768px) {
    .hero .wrap { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-image-wrap { aspect-ratio: 16/9; }
    .hero-body { max-width: 100%; }
    .blog-grid { grid-template-columns: 1fr; }
    .cta-inner { grid-template-columns: 1fr; gap: 2rem; }
    .cta-actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
    .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-links { justify-content: flex-start; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   SMALL ADDITIONS — not part of the original spec, needed to wire the
   design onto real WordPress markup without changing any rule above.
========================================================================== */

/* Skip link (kept from the parent theme's accessibility pattern) */
.skip-link {
    position: absolute !important;
    left: -9999px;
    top: 1rem;
    z-index: 999;
    background: var(--panache);
    color: var(--charcoal-deep);
    padding: 0.6rem 1.2rem;
    border-radius: 0.4rem;
    font-weight: 600;
    font-size: 0.85rem;
}
.skip-link:focus {
    left: 1rem;
}

/* Visible keyboard focus across the new design's interactive elements */
.nav-list a:focus-visible,
.mobile-nav a:focus-visible,
.header-cta:focus-visible,
.btn-gold:focus-visible,
.btn-ghost:focus-visible,
.btn-gold-lg:focus-visible,
.btn-wa:focus-visible,
.blog-card-title a:focus-visible,
.blog-read-link:focus-visible,
.pagination a:focus-visible,
.hamburger:focus-visible,
.footer-links a:focus-visible {
    outline: 2px solid var(--panache);
    outline-offset: 2px;
}

/* Featured image fill inside a blog-card (parent .blog-card has no image
   rule of its own since the original spec only styled the text body) */
.blog-card-thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--cream);
}
.blog-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

/* Article card — single posts/pages route through the parent theme's
   own #primary > #main / #sidebar markup (untouched by this child
   theme), now re-centered inside #content (see header.php/footer.php).
   This wraps the article column itself in a bordered, rounded panel so
   it reads as a distinct block on the page. */
#main {
    background: #fff;
    border: 1px solid #E5F3FD;
    border-radius: 1em;
    padding: 1.8em;
	margin-top:0em;font-size:1rem;line-height:1.6rem;font-weight:300px;box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
@media (max-width: 899px) {
    #main {
        padding: 1.8em 1.25rem 2rem;
    }
}

table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 16px; text-align: left; }

th, td {
padding: 12px;
border: 1px solid #ddd;
}

th {
background-color: #f4f4f4;
font-weight: bold;
}

tr:nth-child(even) {
background-color: #EDF4FE;
}

@media screen and (max-width: 600px) {
table {
display: block;
overflow-x: auto;
white-space: nowrap;
}

th, td {
font-size: 14px;
padding: 8px;
}
}


th {

  background-color: #db007e;
font-size:14px;
  color: #fff;
font-weight:500px;
  padding: 4px;

  transition: background-color 0.3s ease; /* Smooth transition */

}

th:hover {

  background-color: #0056b3; /* Darker blue on hover */

}
td {
font-size:12px;
border-width:1px;border-color:#f7f7f7;border-style:solid;
}


