/*
 * JEY FORCE Blog — Standalone CSS
 * Modeled on css/belgian-malinois-training.css (header/nav/footer/FAQ/CTA/buttons)
 * plus new rules for breadcrumb, table of contents, article body, data tables,
 * figures, and the blog listing grid.
 */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img,
picture,
video,
canvas {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

ul,
ol {
    list-style: none;
}

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

/* ══════════════════════════════════════
   CSS VARIABLES
   ══════════════════════════════════════ */
:root {
    --primary-gold: #D4A574;
    --dark-brown: #5C4033;
    --military-green: #4A5D23;
    --deep-charcoal: #2C2C2C;
    --cream: #F5F1E8;

    --primary-sand: #C4A882;
    --sage-green: #6B7F5E;
    --alert-orange: #E67E22;
    --success-green: #27AE60;
    --white: #FFFFFF;
    --light-gray: #E0E0E0;
    --dark-overlay: rgba(0, 0, 0, 0.6);

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-stats: 'Roboto Condensed', sans-serif;

    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 64px;
    --space-xxl: 96px;

    --mobile: 480px;
    --tablet: 768px;
    --desktop: 1024px;
    --max-width: 1200px;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

/* ══════════════════════════════════════
   TYPOGRAPHY
   ══════════════════════════════════════ */
body {
    font-family: var(--font-body);
    color: var(--deep-charcoal);
    background-color: var(--cream);
    font-size: 16px;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    color: var(--dark-brown);
}

h1 { font-size: 48px; font-weight: 800; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 20px; }

p { margin-bottom: var(--space-md); color: var(--deep-charcoal); }

.text-center { text-align: center; }

.section-title {
    position: relative;
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-lg);
    text-align: center;
    color: var(--dark-brown);
    display: block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-gold);
}

/* ══════════════════════════════════════
   LAYOUT
   ══════════════════════════════════════ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

section {
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
}

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-brown) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.45);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--dark-brown);
    color: var(--dark-brown);
}

.btn-secondary:hover {
    background-color: var(--dark-brown);
    color: var(--cream);
    transform: translateY(-3px);
}

.btn-secondary.dark-mode {
    border-color: var(--white);
    color: var(--white);
}

.btn-secondary.dark-mode:hover {
    background-color: var(--white);
    color: var(--military-green);
}

/* ══════════════════════════════════════
   NAVIGATION (copied from belgian-malinois-training.css)
   ══════════════════════════════════════ */
header {
    background: rgba(44, 44, 44, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--primary-gold);
    height: 70px;
    position: sticky;
    top: 20px;
    z-index: 1000;
    transition: var(--transition-normal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 30px;
    padding: 0 10px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
}

.logo img {
    height: 44px;
    width: 44px;
    border-radius: 50%;
    object-fit: contain;
    background-color: var(--white);
}

.logo span { color: var(--primary-gold); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.2);
    padding: 5px;
    border-radius: 30px;
}

.nav-link {
    font-family: var(--font-stats);
    font-weight: 700;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
    padding: 8px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--dark-brown);
    background: var(--primary-gold);
    box-shadow: 0 0 10px var(--primary-gold);
}

.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.nav-dropdown:hover::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 25px;
    background: transparent;
    z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: rgba(44, 44, 44, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    min-width: 280px;
    border-radius: 20px;
    border: 1px solid var(--primary-gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    overflow: hidden;
    padding: 10px 0;
    transition: all 0.25s ease;
    opacity: 0;
    visibility: hidden;
}

.nav-dropdown-content a {
    display: block;
    padding: 12px 24px;
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: var(--font-stats);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(212, 165, 116, 0.1);
    white-space: normal;
    line-height: 1.4;
    text-decoration: none !important;
}

.nav-dropdown-content a:last-child { border-bottom: none; }

.nav-dropdown-content a:hover {
    background: var(--primary-gold) !important;
    color: var(--dark-brown) !important;
}

/* Locations mega menu (same pattern as every other page) */
.nav-locations-panel {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 95vw;
    max-width: 1100px;
    background: rgba(28, 22, 16, 0.97);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-top: 2px solid var(--primary-gold);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    z-index: 999;
    padding: 28px 32px 24px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    border-radius: 12px;
}

body:has(.nav-dropdown-locations:hover) .nav-locations-panel,
.nav-locations-panel:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.loc-mega-body { display: flex; gap: 0; min-height: 260px; }
.loc-states-col { flex: 0 0 160px; border-right: 1px solid rgba(212,165,116,0.2); padding-right: 20px; }
.loc-states-label { font-family: var(--font-heading); font-size: 9px; font-weight: 700; color: var(--primary-gold); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 14px; }
.loc-state-tab { display: block; padding: 9px 12px; font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,0.72); border-radius: 6px; text-decoration: none; cursor: pointer; transition: color 0.18s, background 0.18s; margin-bottom: 2px; border-left: 2px solid transparent; }
.loc-state-tab:hover, .loc-state-tab.active { background: rgba(212,165,116,0.12); color: var(--primary-gold); font-weight: 600; border-left-color: var(--primary-gold); }
.loc-services-col { flex: 1; padding-left: 28px; }
.loc-state-pane { display: none; }
.loc-state-pane.active { display: block; }
.loc-svc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(212,165,116,0.2); }
.loc-svc-header-title { font-family: var(--font-heading); font-size: 13px; font-weight: 700; color: #fff; }
.loc-svc-hub-link { font-size: 11.5px; color: var(--primary-gold); text-decoration: none; opacity: 0.75; transition: opacity 0.18s; }
.loc-svc-hub-link:hover { opacity: 1; }
.loc-svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.loc-svc-group-title { font-family: var(--font-heading); font-size: 9px; font-weight: 700; color: var(--primary-gold); text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 10px; padding-bottom: 7px; border-bottom: 1px solid rgba(212,165,116,0.2); }
.loc-svc-group a { display: block; padding: 6px 8px; font-family: var(--font-body); font-size: 12.5px; color: rgba(255,255,255,0.72); text-decoration: none; border-radius: 4px; transition: color 0.18s, background 0.18s; }
.loc-svc-group a:hover { background: rgba(212,165,116,0.1); color: var(--primary-gold); }
.loc-all-states-bar { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(212,165,116,0.2); }
.loc-all-states-label { font-family: var(--font-heading); font-size: 9px; font-weight: 700; color: var(--primary-gold); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 12px; }
.loc-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.loc-pills a { display: inline-block; padding: 5px 12px; font-family: var(--font-body); font-size: 11.5px; color: rgba(255,255,255,0.65); border: 1px solid rgba(212,165,116,0.25); border-radius: 20px; text-decoration: none; transition: color 0.18s, background 0.18s, border-color 0.18s; }
.loc-pills a:hover { background: rgba(212,165,116,0.12); color: var(--primary-gold); border-color: var(--primary-gold); }
.loc-pills a.loc-view-all { color: var(--primary-gold); border-color: var(--primary-gold); font-weight: 600; }

@media (max-width: 768px) {
    .nav-locations-panel { display: none; }
}

.mobile-submenu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 20px;
    margin-bottom: 15px;
    width: 100%;
    align-items: center;
}

.mobile-submenu .nav-link {
    font-size: 14px !important;
    margin: 0 !important;
    text-transform: none !important;
    color: rgba(255, 255, 255, 0.6) !important;
    letter-spacing: 0.5px !important;
}

.mobile-submenu .nav-link:hover { color: var(--primary-gold) !important; }

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--primary-gold);
}

.phone-btn {
    background: linear-gradient(135deg, var(--military-green), #3a4a1c);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: var(--space-md);
    transition: var(--transition-normal);
    border: 1px solid var(--primary-gold);
    box-shadow: 0 0 5px rgba(212, 165, 116, 0.3);
    font-family: var(--font-stats);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.phone-btn:hover {
    background: var(--primary-gold);
    color: var(--dark-brown);
    transform: scale(1.05);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(44, 44, 44, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1001;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.mobile-nav-overlay.active { right: 0; }

.mobile-nav-overlay .nav-link {
    color: var(--white);
    font-size: 24px;
    margin: var(--space-sm) 0;
    background: none;
    padding: 10px;
}

.mobile-nav-overlay .nav-link:hover {
    color: var(--primary-gold);
    background: none;
    box-shadow: none;
    text-shadow: 0 0 10px var(--primary-gold);
}

.mobile-nav-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: var(--primary-gold);
    font-size: 32px;
    background: none;
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.mobile-nav-close:hover {
    transform: rotate(90deg);
    background: var(--primary-gold);
    color: var(--dark-brown);
}

/* ══════════════════════════════════════
   FOOTER (copied from belgian-malinois-training.css)
   ══════════════════════════════════════ */
footer {
    background-color: #1a1a1a;
    color: var(--cream);
    padding: var(--space-xl) 0 var(--space-md);
    font-size: 14px;
    border-top: 2px solid var(--primary-gold);
}

footer > .container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    flex: 1;
    min-width: 0;
}

.footer-map {
    width: 300px;
    flex-shrink: 0;
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-map iframe { display: block; }

.footer-bottom {
    flex-basis: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
    text-align: center;
    color: #888;
    font-size: 13px;
}

.footer-col h4 {
    color: var(--primary-gold);
    font-size: 18px;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.footer-col p {
    line-height: 1.6;
    margin-bottom: var(--space-md);
    color: #ccc;
}

ul.footer-links li { margin-bottom: 12px; }

ul.footer-links li a {
    color: #ccc;
    font-size: 15px;
    transition: var(--transition-fast);
    display: inline-block;
}

ul.footer-links li a:hover {
    color: var(--primary-gold);
    transform: translateX(5px);
}

.social-icons { display: flex; gap: 15px; }

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.social-icons a:hover {
    background: var(--primary-gold);
    color: var(--dark-brown) !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.3);
}

.social-icons a:hover svg { stroke: var(--dark-brown); }

/* ══════════════════════════════════════
   CTA BLOCK
   ══════════════════════════════════════ */
.cta-block {
    background-color: var(--deep-charcoal);
    color: var(--cream);
    text-align: center;
    border-radius: var(--radius-lg);
    margin: var(--space-lg);
    padding: var(--space-xxl) var(--space-md);
}

.cta-block h2 {
    color: var(--primary-sand);
    margin-bottom: var(--space-sm);
}

.cta-block p {
    color: var(--cream);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

/* ══════════════════════════════════════
   FAQ (copied verbatim from css/belgian-malinois-training.css)
   ══════════════════════════════════════ */
.faq-section {
    background-color: var(--cream);
    padding: var(--space-xxl) 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: var(--space-sm);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--primary-gold);
}

.faq-question {
    padding: var(--space-md);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--dark-brown);
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
}

.faq-answer {
    padding: 0 var(--space-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: var(--deep-charcoal);
}

.faq-item.active .faq-answer {
    padding: 0 var(--space-md) var(--space-md);
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ══════════════════════════════════════
   BLOG — PAGE HERO
   ══════════════════════════════════════ */
.blog-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), var(--blog-hero-img, url('../assets/images/compressed/5.avif'));
    background-size: cover;
    background-position: center;
    padding: 120px 0 60px;
    text-align: center;
    color: var(--white);
}

.blog-hero h1 {
    color: var(--white);
    font-size: 44px;
    max-width: 900px;
    margin: 0 auto var(--space-sm);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.blog-hero .post-byline {
    color: var(--light-gray);
}

/* ══════════════════════════════════════
   BREADCRUMB
   ══════════════════════════════════════ */
.breadcrumb {
    max-width: 900px;
    margin: 0 auto var(--space-md);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--primary-gold);
}

.breadcrumb a:hover { text-decoration: underline; }

.breadcrumb span[aria-current] { color: var(--white); }

/* ══════════════════════════════════════
   BYLINE
   ══════════════════════════════════════ */
.post-byline {
    font-size: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* ══════════════════════════════════════
   ARTICLE LAYOUT
   ══════════════════════════════════════ */
.post-body-section {
    background: var(--white);
}

.post-body {
    max-width: 800px;
    margin: 0 auto;
}

.post-body h2 {
    font-size: 30px;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
    scroll-margin-top: 110px;
}

.post-body h2:first-of-type { margin-top: 0; }

.post-body p {
    font-size: 17px;
    line-height: 1.8;
}

.post-body ul {
    margin-bottom: var(--space-md);
}

.post-body ul li {
    font-size: 16px;
    line-height: 1.7;
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.post-body ul li::before {
    content: "\2713";
    color: var(--primary-gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Hero image */
.post-hero-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-lg);
}

/* In-body figures */
.post-figure {
    margin: var(--space-lg) 0;
}

.post-figure img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.post-figure figcaption {
    font-size: 14px;
    color: #666;
    padding-top: 10px;
    text-align: center;
    font-style: italic;
}

/* Table of Contents */
.post-toc {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-left: 4px solid var(--primary-gold);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: var(--space-md) var(--space-lg);
    margin: 0 auto var(--space-xl);
    max-width: 800px;
}

.post-toc h2 {
    font-size: 18px;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-brown);
}

.post-toc ol {
    counter-reset: toc-counter;
}

.post-toc ol li {
    counter-increment: toc-counter;
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    font-size: 15px;
}

.post-toc ol li::before {
    content: counter(toc-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-gold);
    color: var(--white);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-toc a {
    color: var(--dark-brown);
    font-weight: 600;
}

.post-toc a:hover {
    color: var(--military-green);
    text-decoration: underline;
}

/* Data tables */
.post-table-wrap {
    overflow-x: auto;
    margin: var(--space-lg) 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.post-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    background: var(--white);
}

.post-table caption {
    text-align: left;
    font-size: 14px;
    font-style: italic;
    color: #666;
    padding: 10px 16px;
    background: #faf9f5;
}

.post-table th,
.post-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.post-table th {
    background: var(--dark-brown);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.post-table tr:nth-child(even) td {
    background: #faf9f5;
}

/* Related posts */
.related-posts {
    background-color: #F9F9F9;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    max-width: 1000px;
    margin: 0 auto;
}

/* ══════════════════════════════════════
   BLOG LISTING
   ══════════════════════════════════════ */
.blog-listing-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/images/compressed/5.avif');
    background-size: cover;
    background-position: center;
    padding: 120px 0 70px;
    text-align: center;
    color: var(--white);
}

.blog-listing-hero h1 {
    color: var(--white);
    font-size: 44px;
    margin-bottom: var(--space-sm);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.blog-listing-hero p {
    color: var(--light-gray);
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card-content {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-date {
    font-size: 13px;
    color: var(--military-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.blog-card h3 {
    font-size: 20px;
    margin-bottom: var(--space-sm);
}

.blog-card h3 a {
    color: var(--dark-brown);
}

.blog-card h3 a:hover { color: var(--military-green); }

.blog-card p {
    font-size: 15px;
    color: #555;
    flex-grow: 1;
}

.blog-card-link {
    font-weight: 700;
    color: var(--military-green);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-link:hover { text-decoration: underline; }

/* ══════════════════════════════════════
   FLOATING ACTION BUTTONS (copied from belgian-malinois-training.css)
   ══════════════════════════════════════ */
.floating-actions {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 24px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.float-btn:hover { transform: scale(1.1); }

.float-whatsapp { background-color: #25D366; }

.float-call { background-color: var(--alert-orange); }

/* ══════════════════════════════════════
   MOBILE RESPONSIVE (copied pattern from belgian-malinois-training.css)
   ══════════════════════════════════════ */
@media (max-width: 768px) {
    :root { --max-width: 100%; }

    body { font-size: 15px; }

    h1 { font-size: 28px; line-height: 1.2; }
    h2 { font-size: 24px; line-height: 1.3; }
    h3 { font-size: 20px; }
    h4 { font-size: 18px; }

    .section-title { margin-bottom: var(--space-md); font-size: 24px; }

    header {
        width: 95%;
        top: 10px;
        height: 60px;
        padding: 0 5px;
        border-radius: 30px;
    }

    .nav-links,
    .phone-btn {
        display: none;
    }

    .mobile-menu-btn { display: block; }

    footer > .container { flex-direction: column; }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }

    .footer-content > div:first-child { grid-column: 1 / -1; }

    .footer-map {
        width: 150px;
        height: 150px;
        margin: var(--space-md) 0 0;
        flex-shrink: 0;
    }

    .footer-map iframe { height: 100%; }

    .footer-bottom { font-size: 12px; }

    .blog-hero,
    .blog-listing-hero {
        padding: 100px 20px 50px;
    }

    .blog-hero h1,
    .blog-listing-hero h1 {
        font-size: 26px;
        line-height: 1.3;
    }

    .post-body h2 { font-size: 22px; }
    .post-body p { font-size: 16px; }

    .post-hero-image,
    .post-figure img {
        height: 240px;
    }

    .post-toc {
        padding: var(--space-md);
    }

    .blog-grid,
    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 14px 28px;
        font-size: 14px;
        min-height: 48px;
    }

    .flex-center {
        flex-direction: column;
        gap: var(--space-sm) !important;
        width: 100%;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .floating-actions {
        bottom: 15px;
        right: 15px;
    }
}

/* Numbered lists inside articles (base.css strips list markers) */
.post-body ol {
    list-style: decimal;
    padding-left: 1.5rem;
    margin-bottom: var(--space-md);
}

.post-body ol li {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 10px;
}

/* In-article links: visible (brown text + gold underline); base.css makes links inherit colour with no underline */
.post-body p a,
.post-body li a,
.post-body td a {
    color: var(--dark-brown);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--primary-gold);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.post-body p a:hover,
.post-body li a:hover,
.post-body td a:hover {
    color: var(--primary-gold);
}
