/* --------------------------------
   FONT OVERRIDE — force Astra out
--------------------------------- */
body,
p, li, td, th, label, input, textarea, select, button,
.entry-content, .entry-summary, .widget,
.ast-container, .ast-page-builder-template {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.entry-title, .ast-blog-single-element {
    font-family: 'Playfair Display', Georgia, serif !important;
}

/* --------------------------------
   CUSTOM PROPERTIES
--------------------------------- */
:root {
    --cream: #FAF6EE;
    --terracotta: #C1622A;
    --forest: #2D5A3D;
    --dark: #1C1C1C;
    --mid: #6B6B6B;
    --light-border: #E8E0D4;
    --white: #FFFFFF;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --max-width: 1200px;
    --content-width: 740px;
}

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

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--dark);
    line-height: 1.6;
    font-size: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.2;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --------------------------------
   NAVIGATION
--------------------------------- */
.site-header {
    background: var(--forest);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--terracotta);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--cream);
    letter-spacing: -0.02em;
}

.site-logo span { color: var(--terracotta); }

.primary-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.primary-nav li {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.primary-nav a {
    color: rgba(250, 246, 238, 0.85);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color 0.2s;
}

.primary-nav a:hover { color: var(--cream); }

.nav-cta {
    background: var(--terracotta) !important;
    color: var(--cream) !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 2px;
    opacity: 1 !important;
    transition: opacity 0.2s !important;
}

.nav-cta:hover { opacity: 0.85 !important; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cream);
    transition: all 0.3s;
}

/* --------------------------------
   BUTTONS
--------------------------------- */
.btn {
    display: inline-block;
    background: var(--terracotta);
    color: var(--cream);
    padding: 0.85rem 1.75rem;
    border: 2px solid var(--terracotta);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.btn:hover { opacity: 0.85; color: var(--cream); }

.btn--outline {
    background: transparent;
    color: var(--terracotta);
}

.btn--outline:hover {
    background: var(--terracotta);
    color: var(--cream);
    opacity: 1;
}

.btn--light {
    background: var(--cream);
    color: var(--terracotta);
    border-color: var(--cream);
}

.btn--light:hover { opacity: 0.9; color: var(--terracotta); }

/* --------------------------------
   SECTION UTILITIES
--------------------------------- */
.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--terracotta);
    display: block;
    margin-bottom: 0.6rem;
}

.section-eyebrow--light {
    color: rgba(250, 246, 238, 0.6);
}

/* --------------------------------
   HERO
--------------------------------- */
.hero {
    background: var(--forest);
    color: var(--cream);
    padding: 5rem 1.5rem 2.5rem;
    text-align: center;
    min-height: calc(100vh - 120px); /* leave ~120px of next section peeking */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    color: var(--cream);
    max-width: 820px;
    margin: 0 auto 1.25rem;
}

.hero__subhead {
    font-size: 1.1rem;
    color: rgba(250, 246, 238, 0.78);
    max-width: 540px;
    margin: 0 auto 1.5rem;
    line-height: 1.75;
}

.hero__form {
    display: flex;
    gap: 0.65rem;
    max-width: 480px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.hero__form input[type="email"] {
    flex: 1;
    min-width: 220px;
    padding: 0.85rem 1.25rem;
    border: 2px solid rgba(250, 246, 238, 0.3);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: rgba(250, 246, 238, 0.1);
    color: var(--cream);
}

.hero__form input[type="email"]::placeholder { color: rgba(250, 246, 238, 0.5); }

.hero__form input[type="email"]:focus {
    outline: none;
    border-color: var(--terracotta);
    background: rgba(250, 246, 238, 0.15);
}

.hero__disclaimer {
    margin-top: 1rem;
    font-size: 0.78rem;
    color: rgba(250, 246, 238, 0.45);
}

/* --------------------------------
   POST CARD GRID
--------------------------------- */
.posts-section { padding: 3rem 0 5rem; }

.posts-section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.posts-section__header h2 { margin: 0; }

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

/* Related articles on single posts — enforces 3-col on desktop, inherits breakpoints */
.posts-grid--related {
    grid-template-columns: repeat(3, 1fr);
}

.post-card {
    background: var(--white);
    border: 1px solid var(--light-border);
    border-radius: 3px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(28, 28, 28, 0.09);
}

.post-card__thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.post-card__thumb--placeholder {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--forest) 0%, #1e3d2a 100%);
}

.post-card__body {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-card__cat {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terracotta);
    margin-bottom: 0.5rem;
}

.post-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: var(--dark);
    flex: 1;
}

.post-card__title a:hover { color: var(--forest); }

.post-card__excerpt {
    font-size: 0.88rem;
    color: var(--mid);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.post-card__meta {
    font-size: 0.78rem;
    color: var(--mid);
    display: flex;
    gap: 1rem;
    border-top: 1px solid var(--light-border);
    padding-top: 1rem;
    margin-top: auto;
}

/* --------------------------------
   ABOUT TEASER
--------------------------------- */
.about-teaser {
    background: var(--terracotta);
    padding: 5.5rem 0;
}

.about-teaser__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-teaser h2 {
    color: var(--cream);
    margin-bottom: 1.25rem;
}

.about-teaser p {
    font-size: 1.05rem;
    color: rgba(250, 246, 238, 0.88);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-teaser__visual {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 3px;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2rem;
    color: rgba(250, 246, 238, 0.25);
}

/* --------------------------------
   EMAIL CAPTURE STRIP
--------------------------------- */
.email-strip {
    background: var(--dark);
    padding: 5rem 0;
    text-align: center;
}

.email-strip h2 {
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.email-strip p {
    color: rgba(250, 246, 238, 0.65);
    font-size: 1.05rem;
    margin-bottom: 2.25rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.email-strip .hero__form { margin-top: 0; }

.email-strip input[type="email"] {
    flex: 1;
    min-width: 220px;
    padding: 0.85rem 1.25rem;
    border: 2px solid rgba(250, 246, 238, 0.2);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: rgba(250, 246, 238, 0.08);
    color: var(--cream);
}

.email-strip input[type="email"]::placeholder { color: rgba(250, 246, 238, 0.4); }
.email-strip input[type="email"]:focus {
    outline: none;
    border-color: var(--terracotta);
}

/* --------------------------------
   FOOTER
--------------------------------- */
.site-footer {
    background: var(--forest);
    color: var(--cream);
    padding: 3.5rem 0 2rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(250, 246, 238, 0.12);
    margin-bottom: 2rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.footer-logo span { color: var(--terracotta); }

.footer-brand p {
    font-size: 0.88rem;
    color: rgba(250, 246, 238, 0.55);
    line-height: 1.75;
    max-width: 280px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terracotta);
    margin-bottom: 1.1rem;
}

.footer-col ul,
.footer-col .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left !important;
}

.footer-col ul li,
.footer-col .menu li {
    margin-bottom: 0.55rem;
    padding: 0;
    text-align: left !important;
}

.footer-col ul a,
.footer-col .menu a {
    font-size: 0.88rem;
    color: rgba(250, 246, 238, 0.65);
    transition: color 0.2s;
    text-decoration: none;
    display: block;
    text-align: left !important;
}

.footer-col ul a:hover,
.footer-col .menu a:hover { color: var(--cream); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: rgba(250, 246, 238, 0.38);
}

/* --------------------------------
   BLOG INDEX
--------------------------------- */
.blog-header {
    background: var(--forest);
    color: var(--cream);
    padding: 4rem 0 3.5rem;
}

.blog-header h1 { color: var(--cream); margin-bottom: 0.5rem; }

.blog-header p {
    color: rgba(250, 246, 238, 0.7);
    font-size: 1.05rem;
    margin-top: 0.5rem;
}

.blog-content {
    padding: 4rem 0 !important;
    background: var(--cream) !important;
}

.blog-content .posts-grid { margin-bottom: 3rem; }

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.pagination a,
.pagination span {
    padding: 0.6rem 1rem;
    border: 1px solid var(--light-border);
    border-radius: 2px;
    font-size: 0.88rem;
    color: var(--dark);
    transition: all 0.2s;
}

.pagination a:hover,
.pagination .current {
    background: var(--terracotta);
    border-color: var(--terracotta);
    color: var(--cream);
}

/* --------------------------------
   SINGLE POST
--------------------------------- */
.post-header {
    background: var(--forest);
    color: var(--cream);
    padding: 3.25rem 0 2.5rem;
}

.post-header__cat {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terracotta);
    display: block;
    margin-bottom: 1rem;
}

.post-header h1 {
    color: var(--cream);
    max-width: 820px;
}

.post-header__meta {
    margin-top: 1.5rem;
    font-size: 0.82rem;
    color: rgba(250, 246, 238, 0.55);
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.post-header__meta span { display: flex; align-items: center; gap: 0.35rem; }

.post-featured-image {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 2.5rem 1.5rem 0;
}

.post-featured-image img {
    width: 100%;
    border-radius: 3px;
}

/* Force white background on single post pages — overrides Astra's light blue */
body.single-post,
body.single {
    background: var(--white) !important;
}
body.single .site-content,
body.single #content,
body.single .ast-container,
body.single .entry-content,
body.single .ast-article-single {
    background: var(--white) !important;
}

.post-body {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
    background: var(--white) !important;
}

.post-body p { margin-bottom: 1.5rem; line-height: 1.85; font-size: 1.05rem; }
.post-body h2 { margin: 2.75rem 0 1rem; }
.post-body h3 { margin: 2.25rem 0 0.75rem; }

.post-body ul,
.post-body ol {
    margin: 0 0 1.5rem 1.5rem;
}

.post-body li { margin-bottom: 0.5rem; line-height: 1.75; font-size: 1.05rem; }

.post-body a {
    color: var(--terracotta);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* --------------------------------
   POST BODY — TABLES
--------------------------------- */
.post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2.25rem 0;
    font-size: 0.95rem;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(28,28,28,0.07);
}

.post-body table thead {
    background: var(--forest);
    color: var(--cream);
}

.post-body table thead th {
    padding: 0.85rem 1.25rem;
    text-align: left;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border: none;
}

.post-body table tbody tr {
    border-bottom: 1px solid var(--light-border);
    transition: background 0.15s;
}

.post-body table tbody tr:last-child {
    border-bottom: none;
}

.post-body table tbody tr:nth-child(even) {
    background: rgba(250, 246, 238, 0.55);
}

.post-body table tbody tr:hover {
    background: rgba(193, 98, 42, 0.05);
}

.post-body table tbody td {
    padding: 0.8rem 1.25rem;
    color: var(--dark);
    vertical-align: top;
    line-height: 1.6;
    border: none;
}

/* First column slightly bolder for label-style tables — prevent wrapping */
.post-body table thead th:first-child,
.post-body table tbody td:first-child {
    white-space: nowrap;
    width: 1%;          /* shrink to content width, then nowrap holds it */
}

.post-body table tbody td:first-child {
    font-weight: 600;
    color: var(--dark);
}

/* Responsive: scroll on small screens */
.post-body .table-wrap,
.post-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.post-body .table-wrap table {
    display: table;
    min-width: 480px;
}

.post-body blockquote {
    border-left: 4px solid var(--terracotta);
    padding: 1rem 1.5rem;
    margin: 2.25rem 0;
    background: rgba(193, 98, 42, 0.06);
    border-radius: 0 3px 3px 0;
}

.post-body blockquote p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--dark);
}

.post-body img {
    border-radius: 3px;
    margin: 2rem 0;
}

.post-cta-strip {
    background: var(--forest);
    color: var(--cream);
    padding: 2.5rem;
    border-radius: 3px;
    margin: 3rem 0;
    text-align: center;
}

.post-cta-strip h3 { color: var(--cream); margin-bottom: 0.5rem; font-size: 1.3rem; }

.post-cta-strip p {
    color: rgba(250, 246, 238, 0.72);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.post-cta-strip .hero__form { margin: 0 auto; }

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-border);
}

.post-tags a {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.85rem;
    border: 1px solid var(--light-border);
    border-radius: 2px;
    color: var(--mid);
    text-decoration: none;
    transition: all 0.2s;
}

.post-tags a:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
}

.author-bio {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--light-border);
    border-radius: 3px;
    padding: 2rem;
    margin-top: 3rem;
}

.author-bio__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--light-border);
    flex-shrink: 0;
    object-fit: cover;
}

.author-bio__name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.author-bio__desc {
    font-size: 0.9rem;
    color: var(--mid);
    line-height: 1.7;
    margin: 0;
}

/* --------------------------------
   ABOUT PAGE
--------------------------------- */
.about-hero {
    background: var(--forest);
    color: var(--cream);
    padding: 3.5rem 0;
}

.about-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-hero__content .section-eyebrow { color: rgba(250, 246, 238, 0.55); }

.about-hero h1 { color: var(--cream); margin-bottom: 1.25rem; }

.about-hero p {
    color: rgba(250, 246, 238, 0.82);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.about-hero__photo {
    aspect-ratio: 4 / 5;
    background: rgba(0,0,0,0.15);
    border-radius: 3px;
    overflow: hidden;
}

.about-hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.about-body { padding: 5rem 0; }

.about-body__inner {
    max-width: 760px;
    margin: 0 auto;
}

.about-body h2 { margin-bottom: 1.25rem; }

.about-body p {
    font-size: 1.05rem;
    color: var(--mid);
    line-height: 1.85;
    margin-bottom: 1.5rem;
}

.about-values {
    background: var(--cream);
    border-top: 1px solid var(--light-border);
    padding: 5rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.value-card {
    border-top: 3px solid var(--terracotta);
    padding-top: 1.5rem;
}

.value-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }

.value-card p { font-size: 0.92rem; color: var(--mid); line-height: 1.75; }

/* --------------------------------
   CONTACT PAGE
--------------------------------- */
.contact-header {
    background: var(--forest);
    color: var(--cream);
    padding: 3rem 0 2.5rem;
    text-align: center;
}

.contact-header h1 { color: var(--cream); }

.contact-header p {
    color: rgba(250, 246, 238, 0.7);
    margin-top: 0.85rem;
    font-size: 1.05rem;
}

.contact-body { padding: 3.5rem 0; }

.contact-body__inner {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 5rem;
    max-width: 960px;
    margin: 0 auto;
}

.contact-form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
    color: var(--dark);
}

.contact-form-field { margin-bottom: 1.25rem; }

.contact-form-field input[type="text"],
.contact-form-field input[type="email"],
.contact-form-field select,
.contact-form-field textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 2px solid var(--light-border);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--white);
    color: var(--dark);
    transition: border-color 0.2s;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus,
.contact-form-field select:focus {
    outline: none;
    border-color: var(--terracotta);
}

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

.contact-sidebar h3 { font-size: 1.2rem; margin-bottom: 1.25rem; }

.contact-info-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.75rem;
}

.contact-info-item strong {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--terracotta);
    margin-bottom: 0.25rem;
}

.contact-info-item span {
    font-size: 0.95rem;
    color: var(--mid);
    line-height: 1.65;
}

/* --------------------------------
   BREADCRUMBS
--------------------------------- */
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: rgba(250, 246, 238, 0.5);
}

.breadcrumbs a {
    color: rgba(250, 246, 238, 0.65);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover { color: var(--cream); }

.breadcrumbs__sep {
    color: rgba(250, 246, 238, 0.3);
    font-size: 0.7rem;
}

.breadcrumbs__current {
    color: rgba(250, 246, 238, 0.45);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}

/* --------------------------------
   BLOG HUB — HEADER TOP ROW
--------------------------------- */
.blog-header__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.blog-header__top h1 {
    color: var(--cream);
    margin-bottom: 0.35rem;
}

.blog-header__sub {
    color: rgba(250, 246, 238, 0.68);
    font-size: 1rem;
    margin: 0;
}

.blog-header .blog-filters {
    margin-top: 0;
    flex-shrink: 0;
}

/* --------------------------------
   BLOG HUB — FEATURED CARD IN HEADER
--------------------------------- */
.blog-featured-card {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    background: rgba(0, 0, 0, 0.22) !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    border: 1px solid rgba(250, 246, 238, 0.12) !important;
    margin-top: 0.5rem;
}

.blog-featured-card__image {
    position: relative !important;
    min-height: 340px !important;
    display: block !important;
}

.blog-featured-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.blog-featured-card__placeholder {
    width: 100% !important;
    height: 100% !important;
    min-height: 340px !important;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.12) 100%) !important;
    display: block !important;
}

.blog-featured-card__content {
    padding: 2.75rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 1rem !important;
    background: transparent !important;
}

.blog-featured-card__meta {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    font-size: 0.78rem !important;
    color: rgba(250, 246, 238, 0.55) !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    margin: 0 !important;
}

.blog-featured-card__cat {
    color: var(--terracotta) !important;
    font-weight: 700 !important;
}

.blog-featured-card__title {
    font-family: var(--font-display) !important;
    font-size: clamp(1.35rem, 2.5vw, 2rem) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: var(--cream) !important;
    margin: 0 !important;
}

.blog-featured-card__title a,
.blog-featured-card__title a:visited {
    color: var(--cream) !important;
    text-decoration: none !important;
}

.blog-featured-card__title a:hover {
    color: rgba(250, 246, 238, 0.8) !important;
}

.blog-featured-card__excerpt {
    font-size: 0.95rem !important;
    color: rgba(250, 246, 238, 0.72) !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

@media (max-width: 760px) {
    .blog-featured-card { grid-template-columns: 1fr !important; }
    .blog-featured-card__image,
    .blog-featured-card__placeholder { min-height: 220px !important; }
    .blog-header__top { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------
   BLOG HUB — CATEGORY FILTERS
--------------------------------- */
.blog-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.blog-filter {
    display: inline-block;
    padding: 0.5rem 1.15rem;
    border: 2px solid rgba(250, 246, 238, 0.35);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(250, 246, 238, 0.75);
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
}

.blog-filter:hover,
.blog-filter.active {
    background: var(--terracotta) !important;
    border-color: var(--terracotta) !important;
    color: var(--cream) !important;
}

/* --------------------------------
   BLOG HUB — NEWSLETTER CTA
--------------------------------- */
.blog-newsletter-cta {
    background: var(--forest) !important;
    color: var(--cream) !important;
    padding: 5rem 0 !important;
    text-align: center !important;
}

.blog-newsletter-cta__inner {
    max-width: 560px;
    margin: 0 auto;
}

.blog-newsletter-cta h2 {
    color: var(--cream) !important;
    margin-bottom: 0.75rem;
}

.blog-newsletter-cta p {
    color: rgba(250, 246, 238, 0.72) !important;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

/* Fix newsletter form — show input + button side by side */
.blog-newsletter-cta .hero__form {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.65rem !important;
    max-width: 480px !important;
    margin: 0 auto !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

.blog-newsletter-cta .hero__form input[type="email"] {
    display: block !important;
    flex: 1 !important;
    min-width: 200px !important;
    padding: 0.85rem 1.25rem !important;
    background: rgba(250, 246, 238, 0.1) !important;
    border: 2px solid rgba(250, 246, 238, 0.3) !important;
    border-radius: 2px !important;
    color: var(--cream) !important;
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
}

.blog-newsletter-cta .hero__form input[type="email"]::placeholder {
    color: rgba(250, 246, 238, 0.5) !important;
}

/* --------------------------------
   ABOUT PAGE — NEWSLETTER CTA
   Same layout as blog-newsletter-cta
   but terracotta background
--------------------------------- */
.about-newsletter-cta {
    background: var(--cream) !important;
    color: var(--dark) !important;
    padding: 5rem 0 !important;
    text-align: center !important;
}
.about-newsletter-cta .blog-newsletter-cta__inner {
    max-width: 560px;
    margin: 0 auto;
}
.about-newsletter-cta h2 { color: var(--dark) !important; margin-bottom: 0.75rem; }
.about-newsletter-cta p { color: var(--mid) !important; font-size: 1.05rem; margin-bottom: 2rem; }

/* Input: standard light-background styling */
.about-newsletter-cta .md-newsletter-form input[type="email"] {
    background: var(--white) !important;
    border: 2px solid var(--light-border) !important;
    color: var(--dark) !important;
}
.about-newsletter-cta .md-newsletter-form input[type="email"]::placeholder {
    color: var(--mid) !important;
}

/* Button: forest green on cream background */
.about-newsletter-cta .md-newsletter-form button[type="submit"],
.about-newsletter-cta [class*="srfm"] button[type="submit"],
.about-newsletter-cta [class*="srfm"] button[class*="submit"] {
    background: var(--forest) !important;
    border-color: var(--forest) !important;
    color: var(--cream) !important;
}
.about-newsletter-cta .md-newsletter-form button[type="submit"]:hover,
.about-newsletter-cta [class*="srfm"] button[type="submit"]:hover {
    background: #1e3d2a !important;
    border-color: #1e3d2a !important;
}

/* --------------------------------
   BLOG HUB — FEATURED POST
--------------------------------- */
.featured-post {
    background: var(--white);
    border: 1px solid var(--light-border);
    border-radius: 3px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 3rem;
    transition: box-shadow 0.2s;
}

.featured-post:hover {
    box-shadow: 0 8px 28px rgba(28, 28, 28, 0.09);
}

.featured-post__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 320px;
}

.featured-post__thumb--placeholder {
    background: linear-gradient(135deg, var(--forest) 0%, #1e3d2a 100%);
    min-height: 320px;
}

.featured-post__body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-post__label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--terracotta);
    margin-bottom: 0.75rem;
}

.featured-post__title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: var(--dark);
}

.featured-post__title a:hover { color: var(--forest); }

.featured-post__excerpt {
    font-size: 0.95rem;
    color: var(--mid);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.featured-post__meta {
    font-size: 0.78rem;
    color: var(--mid);
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* --------------------------------
   SINGLE POST — TABLE OF CONTENTS
--------------------------------- */
.toc {
    background: var(--white);
    border: 1px solid var(--light-border);
    border-left: 4px solid var(--forest);
    border-radius: 3px;
    padding: 1.5rem 1.75rem;
    margin: 2rem 0 2.5rem;
}

.toc__heading {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--forest);
    margin-bottom: 0.85rem;
}

.toc__list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: toc;
}

.toc__list li {
    counter-increment: toc;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.toc__list li::before {
    content: counter(toc) ".";
    position: absolute;
    left: 0;
    color: var(--terracotta);
    font-weight: 600;
    font-size: 0.8rem;
}

.toc__list a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.2s;
}

.toc__list a:hover { color: var(--terracotta); }

/* --------------------------------
   SINGLE POST — SHARE BAR
--------------------------------- */
.share-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.share-bar__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mid);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--light-border);
    border-radius: 2px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dark);
    transition: all 0.2s;
    text-decoration: none;
}

.share-btn:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
}

/* --------------------------------
   SINGLE POST — RELATED POSTS
--------------------------------- */
.related-posts {
    border-top: 1px solid var(--light-border);
    padding: 3rem 0 4rem;
}

.related-posts__heading {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terracotta);
    margin-bottom: 0.5rem;
}

.related-posts h2 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

/* --------------------------------
   SUREFORMS OVERRIDES
   Use element selectors + wildcard
   class matching so we don't depend
   on SureForms' internal class names
--------------------------------- */

/* Nuke the white container SureForms wraps everything in.
   Targets any element whose class starts with "srfm" */
[class*="srfm-main"],
[class*="srfm-form-container"] {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

/* Base inputs — light-background default */
[class*="srfm"] input[type="email"],
[class*="srfm"] input[type="text"],
[class*="srfm"] input[type="tel"],
[class*="srfm"] textarea,
[class*="srfm"] select {
    width: 100% !important;
    padding: 0.85rem 1.25rem !important;
    border: 2px solid var(--light-border) !important;
    border-radius: 2px !important;
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
    background: var(--white) !important;
    color: var(--dark) !important;
    box-shadow: none !important;
    transition: border-color 0.2s !important;
}

[class*="srfm"] input:focus,
[class*="srfm"] textarea:focus,
[class*="srfm"] select:focus {
    outline: none !important;
    border-color: var(--terracotta) !important;
    box-shadow: none !important;
}

/* Labels */
[class*="srfm"] label {
    font-family: var(--font-body) !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: var(--dark) !important;
    margin-bottom: 0.4rem !important;
    display: block !important;
}

/* Submit button — terracotta .btn style */
[class*="srfm"] button[type="submit"],
[class*="srfm"] button[class*="submit"] {
    display: inline-block !important;
    background: var(--terracotta) !important;
    color: var(--cream) !important;
    border: 2px solid var(--terracotta) !important;
    padding: 0.85rem 1.75rem !important;
    font-family: var(--font-body) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    border-radius: 2px !important;
    cursor: pointer !important;
    transition: background 0.2s, border-color 0.2s !important;
    width: auto !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}

[class*="srfm"] button[type="submit"]:hover {
    background: #a8541f !important;
    border-color: #a8541f !important;
}

/* -----------------------------------------------
   NEWSLETTER FORM — dark green background contexts
   Wrapped in .md-newsletter-form by our PHP helper
----------------------------------------------- */

/* Strip any remaining container backgrounds */
.md-newsletter-form,
.md-newsletter-form > div,
.md-newsletter-form [class*="srfm"] {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Center the whole form block */
.md-newsletter-form {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
}

/* Hide label — placeholder text handles the hint */
.md-newsletter-form label {
    display: none !important;
}

/* Cream input on dark green — centered, capped width */
.md-newsletter-form input[type="email"],
.md-newsletter-form input[type="text"] {
    background: rgba(250, 246, 238, 0.1) !important;
    border: 2px solid rgba(250, 246, 238, 0.3) !important;
    color: var(--cream) !important;
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 auto !important;
    display: block !important;
}

.md-newsletter-form input::placeholder {
    color: rgba(250, 246, 238, 0.5) !important;
}

/* Center field wrappers and submit within the form */
.md-newsletter-form [class*="srfm-block"],
.md-newsletter-form [class*="srfm-field"],
.md-newsletter-form [class*="srfm-submit"] {
    width: 100% !important;
    max-width: 420px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* Center the button, tighten gap, keep it hug-content wide */
.md-newsletter-form button[type="submit"],
.md-newsletter-form button[class*="submit"] {
    margin: 0.3rem auto 0 !important;
    display: block !important;
    width: auto !important;
    min-width: 160px !important;
}

/* -----------------------------------------------
   CONTACT PAGE — full form, light background
----------------------------------------------- */
.contact-form [class*="srfm"] label {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: var(--dark) !important;
    margin-bottom: 0.4rem !important;
}

.contact-form [class*="srfm"] textarea {
    min-height: 140px !important;
    resize: vertical !important;
}

.contact-form [class*="srfm"] button[type="submit"] {
    margin-top: 0.5rem !important;
}

/* --------------------------------
   RESPONSIVE
--------------------------------- */
@media (max-width: 960px) {
    .posts-grid,
    .posts-grid--related { grid-template-columns: repeat(2, 1fr); }
    .featured-post { grid-template-columns: 1fr; }
    .featured-post__thumb, .featured-post__thumb--placeholder { min-height: 240px; }
    .about-teaser__inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-hero__photo { aspect-ratio: 16 / 9; }
    .contact-body__inner { grid-template-columns: 1fr; gap: 3rem; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .posts-grid,
    .posts-grid--related { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .posts-section__header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .hero { padding: 3.5rem 1.5rem; }
    .hamburger { display: flex; }
    .primary-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--forest);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.25rem;
        border-top: 1px solid rgba(250, 246, 238, 0.1);
    }
    .primary-nav.is-open { display: flex; }
    .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
    .author-bio { flex-direction: column; }
}
