/* =========================
   RESET + BASE
========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #ffffff;
    color: #222222;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
}

/* =========================
   GLOBAL HELPERS
========================= */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

.meta-date {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 999px;
    font-size: 10px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    background: #EEF4F3;
    color: #3A6F6B;
}

.meta-minute {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 999px;
    font-size: 10px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    background: #F1F5E9;
    color: #556B2F;
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 999px;
    font-size: 10px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    background: #FFF4E5;
    color: #8A4B08;
}

/* =========================
   TYPOGRAPHY
========================= */
h1,
h2,
h3,
h4,
.site-logo {
    font-family: Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 600;
}

h1 { font-size: 30px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }

/* =========================
   TOP BAR + HEADER
========================= */
.top-bar {
    background: #f5f5f5;
    font-size: 12px;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.top-bar-inner a {
    color: #666666;
    padding: 4px 12px; /* gives left/right breathing room on tablet/desktop */
}

.site-header {
    border-bottom: 1px solid #e0e0e0;
    padding: 16px 0;
}

.site-header-inner {
    text-align: center;
}

.site-logo {
    font-size: 34px;
    color: #d32f2f;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.site-logo-tag {
  display: inline-block;
  margin-left: 6px;
  font-size: 14px;
  color: #666;
  font-weight: 400;
  vertical-align: middle;
}

/* optional: soften italic for wellness feel */
.site-logo-tag i {
  font-style: italic;
  opacity: 0.9;
}

.site-tagline {
    margin-top: 4px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #888;
}

/* =========================
   NAVIGATION
========================= */
.main-nav {
    border-bottom: 1px solid #eeeeee;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}

.nav-list a {
    display: block;
    padding: 10px 14px;
    font-size: 13px;
}

.nav-list a.active {
    border-bottom: 2px solid #d32f2f;
    color: #d32f2f;
}

/* =========================
   ACTIVE MENU STATE
========================= */
.nav-list a.active {
    color: #d32f2f !important; /* Forces the Theme Red */
    font-weight: 700;
    border-bottom-color: #d32f2f; /* Ensures the underline is red */
}

/* =========================
   MAIN LAYOUT
========================= */
.main-container {
    padding-top: 24px;
    padding-bottom: 32px;
}

/* =========================
   IMAGE SYSTEM (FINAL: 16:9)
========================= */
.post-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #e5e5e5;                 /* placeholder */
    border-radius: 6px;
    border: 1px solid #efefef;           /* makes images stand out on white */
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

/* Use this for hero / article image emphasis */
.post-image.is-hero {
    border-radius: 8px;
}

/* If you later switch to <img>, keep layout identical */
.post-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

/* Sponsored / banner placeholder (same 16:9 system) */
.sidebar-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #e5e5e5;
    border-radius: 6px;
    border: 1px solid #efefef;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

/* =========================
   CARD COMMON
========================= */
.post-card {
    border: 1px solid #eeeeee;
    border-radius: 6px;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.post-content {
    padding: 12px 14px 14px;
}

.post-meta {
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-title {
    font-size: 17px;
    margin-bottom: 6px;
}

.post-title-small {
    font-size: 14px;
}

.post-excerpt {
    font-size: 14px;
    color: #555555;
}

.link-more {
    margin-top: 8px;
    font-size: 13px;
    color: #d32f2f;
}

/* Horizontal card: image + text */
.post-card.horizontal {
    flex-direction: row;
}

.post-card.horizontal .post-image {
    flex: 0 0 40%;
    border-radius: 6px 0 0 6px;
    box-shadow: none;            /* optional: keeps horizontal cards cleaner */
    border-right: 1px solid #eeeeee;
}

.post-card.horizontal .post-content {
    flex: 1;
}

/* Mini hero cards (right stack) */
/*
.mini-hero {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
}
*/
/* Mini hero cards (right stack) - FIXED ALIGNMENT */
.mini-hero{
    display:grid;
    grid-template-columns: clamp(120px, 28vw, 170px) 1fr; /* keeps thumbs compact */
    align-items: stretch;
}

.mini-hero .post-image{
    height: 100%;
    aspect-ratio: 16 / 9;   /* stays 16:9 */
    box-shadow: none;       /* keeps mini cards neat */
    border-right: 1px solid #eeeeee;
    border-radius: 6px 0 0 6px;
}

.mini-hero .post-content{
    padding: 10px 12px;
}

/* =========================
   HOME PAGE GRIDS
========================= */
.hero-grid {
    display: grid;
    grid-template-columns: 1.9fr 1.3fr;
    gap: 24px;
    margin-bottom: 28px;
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.row-grid {
    display: grid;
    gap: 24px;
    margin-bottom: 32px;
}

.row-three {
    grid-template-columns: 1.1fr 1.1fr 0.8fr;
}

.row-decor {
    grid-template-columns: 1.7fr 0.9fr;
}

.col-main,
.col-wide,
.col-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.col-side {
    gap: 18px;
}

/* Section headers on home */
.section-header {
    border-top: 3px solid #d32f2f;
    padding-top: 6px;
    margin-bottom: 4px;
}

.section-header h2 {
    font-size: 18px;
}

/* Mini list under large cards */
.mini-list {
    margin-top: 8px;
    border-top: 1px solid #f0f0f0;
    padding-top: 8px;
}

.mini-list li + li {
    margin-top: 6px;
}

.mini-title {
    display: block;
    font-size: 13px;
}

.mini-meta {
    display: block;
    font-size: 11px;
    color: #999999;
}

.section-more {
    margin-top: 8px;
    font-size: 12px;
    color: #d32f2f;
}

/* Shared 2-column grids (category + decor) */
.decor-grid,
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

/* =========================
   SIDEBAR (HOME ONLY)
========================= */
.sidebar-block {
    border: 1px solid #eeeeee;
    border-radius: 6px;
    padding: 12px 14px 14px;
    background: #ffffff;
}

.sidebar-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    border-left: 3px solid #d32f2f;
    padding-left: 6px;
}

.sidebar-text {
    font-size: 13px;
    color: #555555;
    margin-top: 8px;
}

.sidebar-list li + li {
    margin-top: 8px;
}

/* =========================
   PAGE HEADERS (Category/Article/Contact/etc.)
========================= */
.page-header {
    padding-top: 8px;
    margin-bottom: 18px;
}

.page-header h1 {
    font-size: 24px;
    margin-bottom: 6px;
}

.page-subtitle {
    font-size: 14px;
    color: #777777;
}

.breadcrumb {
    font-size: 12px;
    color: #999999;
    margin-bottom: 4px;
}

.page-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #999999;
}

.page-meta .meta-dot {
    font-size: 10px;
}

/* =========================
   ARTICLE PAGE
========================= */
.article-image-block {
    margin: 0 0 24px 0;
}

.article-body {
    font-size: 15px;
    color: #444444;
}

.article-body p {
    margin-bottom: 14px;
}

.article-body h2 {
    font-size: 18px;
    margin: 22px 0 10px;
}

.article-body ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 14px;
}

.article-body ul li {
    margin-bottom: 6px;
}

/* =========================
   CONTACT PAGE
========================= */
.contact-block {
    max-width: 640px;
    margin: 0 auto 40px auto;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
    color: #444444;
}

.required {
    color: #d32f2f;
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #dddddd;
    font-size: 14px;
    font-family: inherit;
    background: #ffffff;
}

.form-control:focus {
    outline: none;
    border-color: #d32f2f;
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.btn-primary {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 6px;
    border: none;
    background: #d32f2f;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary:hover {
    background: #b71c1c;
}

.contact-success {
    margin-bottom: 16px;
    padding: 10px 12px;
    border-radius: 6px;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 13px;
}

/* =========================
   FOOTER (FINAL: ONLY 2 LINES, CENTERED)
========================= */
.site-footer {
    border-top: 1px solid #eeeeee;
    padding: 22px 0;
    text-align: center;
    font-size: 13px;
    color: #777777;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-links {
    display: flex;
    gap: 22px;
    justify-content: center;
}

.footer-links a {
    color: #777777;
    font-size: 13px;
}

.footer-copy {
    font-size: 13px;
    color: #777777;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .row-three,
    .row-decor {
        grid-template-columns: 1fr;
    }

    .post-card.horizontal {
        flex-direction: column;
    }

    .post-card.horizontal .post-image {
        flex: none;
        border-radius: 6px 6px 0 0;
        border-right: none;
        box-shadow: 0 6px 18px rgba(0,0,0,.06);
    }
}

@media (max-width: 640px) {
    .site-logo {
        font-size: 28px;
    }

    .hero-grid {
        gap: 16px;
    }

    .decor-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .nav-list {
        /* justify-content: flex-start; */
		justify-content: center;
        overflow-x: auto;
    }

    /* keep top bar links side-by-side on mobile */
    .top-bar-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        width: 100%;
    }

    .top-bar-inner a {
        padding: 6px 10px;
        font-size: 13px;
    }
}

/* =========================
   PAGINATION STYLES 
========================= */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0 20px;
    padding-top: 20px;
    /* border-top: 1px solid #eee; */
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.page-link:hover {
    border-color: #d32f2f; /* Match your theme Red */
    color: #d32f2f;
}

.page-link.active {
    background: #d32f2f;
    color: #fff;
    border-color: #d32f2f;
}

.page-link.disabled {
    opacity: 0.5;
    pointer-events: none;
    background: #f9f9f9;
}

/* =========================
   ABOUT HERO (IMAGE + TEXT)
========================= */
.about-hero {
  padding: 24px 0 32px;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
  align-items: center;
}

/* Ensure the hero image uses your 16:9 system and stands out */
.about-hero-media {
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
}

/* Text block */
.about-hero-title {
  font-size: 44px;          /* similar to your screenshot */
  line-height: 1.05;
  margin-bottom: 12px;
}

.about-hero-title .title-line {
  display: block;
}

.about-hero-title .title-line.is-accent {
  color: #d32f2f;           /* theme red */
}

.about-hero-lead {
  font-size: 15px;
  color: #333333;
  margin-bottom: 12px;
  max-width: 54ch;
}

.about-hero-text {
  font-size: 14px;
  color: #666666;
  max-width: 62ch;
}

/* badge row */
.about-hero-meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* Responsive */
@media (max-width: 992px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-hero-title {
    font-size: 36px;
  }
}

@media (max-width: 640px) {
  .about-hero-title {
    font-size: 30px;
  }
}

