/*
Theme Name: Daily Health Cycle
Theme URI: https://dailyhealthcycle.com
Author: Daily Health Cycle
Author URI: https://dailyhealthcycle.com
Description: Blog professionnel sur la santé, le lifestyle, les relations et le bien-être. Optimisé Google AdSense, SEO, responsive.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dhc
Tags: blog, health, lifestyle, relationships, travel, adsense, responsive, professional
*/

/* ============================================================
   TOKENS
============================================================ */
:root {
    --green-dark:   #1b6b3a;
    --green-mid:    #2e9e5b;
    --green-light:  #e8f5ee;
    --green-pale:   #f3faf6;
    --accent:       #e05c2a;
    --accent-light: #fdf0e8;
    --ink:          #1a1a1a;
    --ink-2:        #3c3c3c;
    --ink-3:        #6b6b6b;
    --ink-4:        #9e9e9e;
    --rule:         #e4e4e4;
    --rule-2:       #f0f0f0;
    --bg:           #ffffff;
    --bg-2:         #f8faf9;
    --bg-3:         #f0f4f2;
    --cat-lifestyle:#c0392b;
    --cat-health:   #1b6b3a;
    --cat-rel:      #6c3483;
    --cat-travel:   #1a5276;
    --f-display:    'Georgia', 'Times New Roman', serif;
    --f-body:       'Arial', 'Helvetica Neue', sans-serif;
    --radius:       5px;
    --max-w:        1200px;
}

/* ============================================================
   RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--f-body);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green-mid); }
img, video { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--f-display); line-height: 1.2; color: var(--ink); }
p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   LAYOUT
============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; padding: 2rem 0 3rem; }
.content-area {
    display: grid;
    grid-template-columns: minmax(0,1fr) 310px;
    gap: 2.5rem;
    align-items: start;
}

/* ============================================================
   TOP BAR
============================================================ */
.topbar {
    background: var(--green-dark);
    color: rgba(255,255,255,.75);
    font-size: .6875rem;
    font-family: var(--f-body);
    padding: 6px 0;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; }
.topbar-left { display: flex; align-items: center; gap: 1rem; }
.topbar-tagline { font-style: italic; color: rgba(255,255,255,.6); }
.topbar-social { display: flex; gap: 10px; }
.topbar-social a { color: rgba(255,255,255,.6); font-size: .6875rem; transition: color .15s; }
.topbar-social a:hover { color: #fff; }

/* ============================================================
   HEADER
============================================================ */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--rule);
}
.header-ad-wrap {
    padding: 10px 0;
    border-bottom: 1px solid var(--rule-2);
    display: flex;
    justify-content: center;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 0;
    gap: 1.5rem;
}
.site-branding { flex-shrink: 0; }
.site-title {
    font-family: var(--f-display);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1;
    color: var(--ink);
}
.site-title .title-daily  { color: var(--ink); }
.site-title .title-health { color: var(--green-dark); }
.site-title .title-cycle  { color: var(--accent); }
.site-tagline {
    font-size: .6875rem;
    color: var(--ink-4);
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-top: 4px;
}
.header-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.btn-search {
    display: flex; align-items: center; gap: 6px;
    padding: 7px 14px;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: transparent;
    font-size: .8125rem;
    color: var(--ink-3);
    cursor: pointer;
    font-family: var(--f-body);
    transition: border-color .15s, color .15s;
}
.btn-search:hover { border-color: var(--green-mid); color: var(--green-dark); }

/* ============================================================
   NAVIGATION
============================================================ */
.nav-wrap {
    background: var(--green-dark);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.main-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-menu { display: flex; align-items: stretch; }
.nav-menu li { position: relative; }
.nav-menu li a {
    display: flex;
    align-items: center;
    padding: 0 1.1rem;
    height: 50px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: rgba(255,255,255,.8);
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.nav-menu li a:hover,
.nav-menu li.current-menu-item > a { color: #fff; background: rgba(255,255,255,.12); }

/* Accent couleur par catégorie */
.nav-menu li.menu-lifestyle > a:hover      { color: #ff8a65; }
.nav-menu li.menu-health > a:hover         { color: #69f0ae; }
.nav-menu li.menu-relationships > a:hover  { color: #ce93d8; }
.nav-menu li.menu-travel > a:hover         { color: #81d4fa; }

/* Sous-menu */
.nav-menu li ul {
    display: none; position: absolute; top: 100%; left: 0;
    min-width: 200px; background: #fff;
    border-top: 3px solid var(--green-mid);
    border: 1px solid var(--rule);
    box-shadow: 0 8px 24px rgba(0,0,0,.1); z-index: 300;
}
.nav-menu li:hover > ul { display: block; }
.nav-menu li ul li a {
    height: auto; padding: 10px 16px;
    color: var(--ink-2); font-size: .8125rem;
    border-bottom: 1px solid var(--rule-2);
}
.nav-menu li ul li:last-child a { border-bottom: none; }
.nav-menu li ul li a:hover { background: var(--green-pale); color: var(--green-dark); }

/* Hamburger */
.menu-toggle {
    display: none; flex-direction: column; justify-content: center;
    gap: 5px; width: 40px; height: 50px;
    background: transparent; border: none; cursor: pointer; padding: 0 10px;
}
.menu-toggle span { display: block; height: 2px; background: rgba(255,255,255,.8); border-radius: 2px; }

/* ============================================================
   BREAKING BAR
============================================================ */
.breaking-bar {
    background: var(--accent);
    color: #fff;
    font-size: .8125rem;
    padding: 7px 0;
    overflow: hidden;
}
.breaking-inner { display: flex; align-items: center; gap: 1rem; }
.breaking-label {
    background: #fff; color: var(--accent);
    font-size: .6875rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    padding: 3px 10px; border-radius: 2px; flex-shrink: 0;
}
.breaking-ticker { overflow: hidden; white-space: nowrap; flex: 1; }
.breaking-ticker ul { display: flex; gap: 3rem; animation: ticker 30s linear infinite; }
.breaking-ticker ul li a { color: rgba(255,255,255,.9); }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ============================================================
   AD SLOTS
============================================================ */
.ad-label {
    display: block; font-size: .6875rem; color: var(--ink-4);
    text-align: center; letter-spacing: .06em;
    text-transform: uppercase; margin-bottom: 4px;
}
.ad-slot {
    display: flex; flex-direction: column; align-items: center;
    background: #fafafa; border: 1px dashed #ddd; border-radius: var(--radius);
}
.ad-slot .ad-inner {
    background: var(--bg-3); display: flex; align-items: center;
    justify-content: center; font-size: .6875rem; color: var(--ink-4);
    max-width: 100%;
}
.ad-leaderboard { padding: 8px; }
.ad-leaderboard .ad-inner { width: 728px; height: 90px; }
.ad-rectangle { padding: 8px; }
.ad-rectangle .ad-inner { width: 300px; height: 250px; }
.ad-skyscraper { padding: 8px; }
.ad-skyscraper .ad-inner { width: 160px; height: 600px; }
.ad-in-content { margin: 2rem auto; text-align: center; }
.sidebar-ad-block { margin-bottom: 2rem; }

/* ============================================================
   HERO
============================================================ */
.hero-section { padding: 2rem 0; border-bottom: 1px solid var(--rule); }
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px; background: var(--rule);
    border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden;
}
.hero-main {
    grid-column: 1; grid-row: 1/3;
    position: relative; background: var(--bg-3); min-height: 420px;
}
.hero-main .post-thumb {
    width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
}
.hero-main .post-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,.88) 0%, transparent 100%);
}
.hero-main .post-title { font-size: 1.6rem; color: #fff; margin-bottom: .5rem; }
.hero-main .post-title a { color: #fff; }
.hero-main .post-title a:hover { color: #a5d6b5; }
.hero-sub { background: #fff; padding: 1.25rem; border-bottom: 1px solid var(--rule); }
.hero-sub:last-child { border-bottom: none; }
.hero-sub .post-title { font-size: 1.1rem; margin-bottom: .35rem; }
.hero-sub .post-title a:hover { color: var(--green-dark); }
.hero-sub .post-excerpt {
    font-size: .8125rem; color: var(--ink-3); line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ============================================================
   CATEGORY BADGES
============================================================ */
.cat-badge {
    display: inline-block; font-size: .6875rem; font-weight: 700;
    letter-spacing: .07em; text-transform: uppercase;
    padding: 3px 9px; border-radius: 2px; margin-bottom: .5rem;
}
.cat-lifestyle     { background: #fdf0ec; color: var(--cat-lifestyle); }
.cat-health        { background: var(--green-light); color: var(--cat-health); }
.cat-relationships { background: #f5eef8; color: var(--cat-rel); }
.cat-travel        { background: #eaf4fb; color: var(--cat-travel); }
.cat-default       { background: var(--bg-3); color: var(--ink-3); }

/* ============================================================
   POST META
============================================================ */
.post-meta {
    display: flex; align-items: center; flex-wrap: wrap;
    gap: .4rem .75rem; font-size: .6875rem; color: var(--ink-4);
    margin-bottom: .75rem; font-family: var(--f-body);
}
.meta-author { color: var(--ink-2); font-weight: 700; }
.meta-sep::before { content: '·'; }

/* ============================================================
   CARDS
============================================================ */
.card {
    background: var(--bg); border: 1px solid var(--rule);
    border-radius: var(--radius); overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.09); transform: translateY(-2px); }
.card-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--bg-3); }
.card-body { padding: 1rem 1.125rem 1.25rem; }
.card-title { font-size: 1.05rem; margin-bottom: .4rem; line-height: 1.3; }
.card-title a:hover { color: var(--green-dark); }
.card-excerpt {
    font-size: .8125rem; color: var(--ink-3); line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    margin-bottom: .75rem;
}
.card-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: .75rem; border-top: 1px solid var(--rule-2);
}
.read-more {
    font-size: .6875rem; font-weight: 700; letter-spacing: .05em;
    text-transform: uppercase; color: var(--green-dark);
    display: flex; align-items: center; gap: 4px;
}
.read-more::after { content: '→'; }
.read-more:hover { color: var(--green-mid); }
.cards-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.cards-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; }

/* ============================================================
   SECTION TITLES
============================================================ */
.section-title {
    font-family: var(--f-body); font-size: .6875rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
    padding-bottom: .6rem; border-bottom: 3px solid var(--green-dark);
    margin-bottom: 1.25rem; display: flex; align-items: center; gap: .5rem;
}
.section-title-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0;
}

/* ============================================================
   SINGLE ARTICLE
============================================================ */
.single-header { max-width: 820px; margin-bottom: 1.75rem; }
.single-title { font-size: clamp(1.5rem,4vw,2.4rem); line-height: 1.15; margin-bottom: 1rem; }
.single-featured-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.5rem; }
.single-content {
    font-size: 1.0625rem; line-height: 1.85; color: var(--ink-2); max-width: 740px;
}
.single-content h2 { font-size: 1.5rem; margin: 2.25rem 0 .75rem; color: var(--green-dark); }
.single-content h3 { font-size: 1.2rem; margin: 1.75rem 0 .6rem; }
.single-content p { margin-bottom: 1.5rem; }
.single-content ul, .single-content ol { margin: 0 0 1.5rem 1.5rem; }
.single-content ul { list-style: disc; }
.single-content ol { list-style: decimal; }
.single-content li { margin-bottom: .5rem; }
.single-content blockquote {
    margin: 2rem 0; padding: 1.25rem 1.75rem;
    border-left: 4px solid var(--green-mid);
    background: var(--green-pale);
    font-family: var(--f-display); font-size: 1.15rem;
    color: var(--green-dark); font-style: italic;
}
.single-content a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.single-content strong { color: var(--ink); }
.single-content .intro-paragraph {
    font-size: 1.15rem; color: var(--ink-2); font-family: var(--f-display);
    font-style: italic; border-left: 3px solid var(--accent); padding-left: 1rem;
    margin-bottom: 2rem;
}

/* Tags */
.post-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.tag-item {
    font-size: .6875rem; padding: 4px 12px;
    border: 1px solid var(--rule); border-radius: 20px; color: var(--ink-3);
    transition: border-color .15s, color .15s, background .15s;
}
.tag-item:hover { border-color: var(--green-mid); color: var(--green-dark); background: var(--green-pale); }

/* Author box */
.author-box {
    display: grid; grid-template-columns: 80px 1fr; gap: 1.25rem;
    padding: 1.5rem; border: 1px solid var(--rule);
    border-radius: var(--radius); margin-top: 2.5rem;
    background: var(--green-pale);
}
.author-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; background: var(--bg-3); }
.author-name { font-size: 1rem; font-family: var(--f-display); margin-bottom: .25rem; }
.author-bio { font-size: .8125rem; color: var(--ink-3); line-height: 1.55; }

/* Related posts */
.related-section { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--rule); }

/* ============================================================
   SIDEBAR
============================================================ */
.sidebar { position: sticky; top: 66px; }
.sidebar-widget { margin-bottom: 2rem; }
.widget-title {
    font-family: var(--f-body); font-size: .6875rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
    padding-bottom: .5rem; border-bottom: 2px solid var(--green-dark); margin-bottom: 1rem;
}
.popular-list { display: flex; flex-direction: column; gap: 1rem; }
.popular-item { display: grid; grid-template-columns: 72px 1fr; gap: .75rem; align-items: start; }
.popular-thumb { width: 72px; height: 58px; object-fit: cover; border-radius: 3px; background: var(--bg-3); }
.popular-title { font-family: var(--f-display); font-size: .875rem; font-weight: 700; line-height: 1.3; }
.popular-title a:hover { color: var(--green-dark); }
.popular-meta { font-size: .6875rem; color: var(--ink-4); margin-top: 3px; }

/* Newsletter */
.newsletter-widget {
    background: var(--green-dark); color: #fff;
    padding: 1.5rem; border-radius: var(--radius);
}
.newsletter-title { font-family: var(--f-display); font-size: 1.1rem; color: #fff; margin-bottom: .5rem; }
.newsletter-desc { font-size: .8125rem; color: rgba(255,255,255,.65); margin-bottom: 1rem; line-height: 1.5; }
.newsletter-form { display: flex; flex-direction: column; gap: .5rem; }
.newsletter-input {
    width: 100%; padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius);
    background: rgba(255,255,255,.1); color: #fff;
    font-size: .8125rem; outline: none;
}
.newsletter-input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-input:focus { border-color: rgba(255,255,255,.5); }
.btn-newsletter {
    width: 100%; padding: 10px;
    background: var(--accent); color: #fff;
    font-size: .8125rem; font-weight: 700;
    border: none; border-radius: var(--radius); cursor: pointer;
    transition: background .15s;
}
.btn-newsletter:hover { background: #c0502a; }

/* ============================================================
   BREADCRUMBS
============================================================ */
.breadcrumbs {
    font-size: .6875rem; color: var(--ink-4);
    padding: .75rem 0; border-bottom: 1px solid var(--rule-2); margin-bottom: 1.5rem;
}
.breadcrumbs a { color: var(--ink-3); }
.breadcrumbs a:hover { color: var(--green-dark); }
.breadcrumbs .sep { margin: 0 6px; }
.breadcrumbs .current { color: var(--ink-2); }

/* ============================================================
   PAGINATION
============================================================ */
.pagination { display: flex; align-items: center; justify-content: center; gap: .35rem; margin-top: 3rem; }
.page-numbers {
    display: flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 8px;
    border: 1px solid var(--rule); border-radius: var(--radius);
    font-size: .8125rem; color: var(--ink-2);
    transition: background .15s, color .15s;
}
.page-numbers:hover, .page-numbers.current {
    background: var(--green-dark); border-color: var(--green-dark); color: #fff;
}

/* ============================================================
   STATIC PAGES (About, Privacy, Contact)
============================================================ */
.page-hero {
    background: var(--green-dark);
    color: #fff;
    padding: 3.5rem 0 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}
.page-hero h1 { font-size: 2.25rem; color: #fff; margin-bottom: .75rem; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,.75); max-width: 600px; margin: 0 auto; }

.static-content {
    max-width: 780px;
    margin: 0 auto;
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--ink-2);
}
.static-content h2 {
    font-size: 1.5rem; color: var(--green-dark);
    margin: 2.5rem 0 .75rem; padding-bottom: .5rem;
    border-bottom: 2px solid var(--green-light);
}
.static-content h3 { font-size: 1.15rem; margin: 1.75rem 0 .5rem; }
.static-content p { margin-bottom: 1.5rem; }
.static-content ul { list-style: none; margin: 0 0 1.5rem; }
.static-content ul li {
    padding: .4rem 0 .4rem 1.5rem; position: relative;
}
.static-content ul li::before {
    content: ''; position: absolute; left: 0; top: .85rem;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--green-mid);
}
.static-content a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.static-content strong { color: var(--ink); }

/* Info box */
.info-box {
    background: var(--green-pale); border-left: 4px solid var(--green-mid);
    padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0;
    margin: 2rem 0;
}
.info-box p { margin-bottom: 0; }

/* Team cards */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin: 2rem 0; }
.team-card {
    background: var(--bg); border: 1px solid var(--rule);
    border-radius: var(--radius); padding: 1.5rem;
    text-align: center;
}
.team-avatar {
    width: 80px; height: 80px; border-radius: 50%;
    background: var(--green-light); margin: 0 auto 1rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; font-family: var(--f-display); font-weight: 700;
    color: var(--green-dark);
}
.team-name { font-family: var(--f-display); font-weight: 700; font-size: 1rem; margin-bottom: .25rem; }
.team-role { font-size: .8125rem; color: var(--green-mid); margin-bottom: .5rem; }
.team-bio { font-size: .8125rem; color: var(--ink-3); line-height: 1.5; margin-bottom: 0; }

/* Contact form */
.contact-form { max-width: 640px; }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .8125rem; font-weight: 700; color: var(--ink-2); margin-bottom: .4rem; }
.form-input, .form-textarea, .form-select {
    width: 100%; padding: 11px 14px;
    border: 1px solid var(--rule); border-radius: var(--radius);
    background: var(--bg); color: var(--ink);
    font-size: .9375rem; font-family: var(--f-body);
    transition: border-color .15s;
    outline: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--green-mid); box-shadow: 0 0 0 3px rgba(46,158,91,.1); }
.form-textarea { height: 150px; resize: vertical; }
.btn-submit {
    padding: 12px 2rem;
    background: var(--green-dark); color: #fff;
    font-size: .9375rem; font-weight: 700;
    border: none; border-radius: var(--radius);
    cursor: pointer; transition: background .15s;
}
.btn-submit:hover { background: var(--green-mid); }

/* Contact info */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 2rem 0; }
.contact-info-box {
    background: var(--green-pale); border-radius: var(--radius);
    padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start;
}
.contact-icon {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--green-light); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.contact-info-title { font-family: var(--f-display); font-weight: 700; margin-bottom: .25rem; }
.contact-info-text { font-size: .8125rem; color: var(--ink-3); margin-bottom: 0; }

/* Privacy policy */
.privacy-toc {
    background: var(--bg-2); border: 1px solid var(--rule);
    border-radius: var(--radius); padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
}
.privacy-toc h3 { font-size: 1rem; margin-bottom: .75rem; color: var(--green-dark); }
.privacy-toc ol { list-style: decimal; padding-left: 1.25rem; }
.privacy-toc ol li { margin-bottom: .35rem; font-size: .875rem; }
.privacy-toc ol li a { color: var(--green-dark); text-decoration: underline; }
.last-updated {
    font-size: .8125rem; color: var(--ink-4);
    background: var(--bg-2); padding: 8px 14px;
    border-radius: var(--radius); display: inline-block; margin-bottom: 2rem;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer { background: #111; color: #999; margin-top: 3rem; }
.footer-ad-bar { background: #1a1a1a; padding: 12px 0; border-bottom: 1px solid #222; display: flex; justify-content: center; }
.footer-main { padding: 3rem 0 2rem; border-bottom: 1px solid #222; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-logo { font-family: var(--f-display); font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: .75rem; }
.footer-logo .tl-daily  { color: #fff; }
.footer-logo .tl-health { color: #6fcf97; }
.footer-logo .tl-cycle  { color: var(--accent); }
.footer-about { font-size: .8125rem; color: #666; line-height: 1.65; margin-bottom: 1.25rem; max-width: 280px; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid #333; color: #777; font-size: .7rem;
    transition: border-color .15s, color .15s;
}
.footer-social a:hover { border-color: #6fcf97; color: #6fcf97; }
.footer-col-title {
    font-size: .6875rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: #fff;
    margin-bottom: 1rem; padding-bottom: .5rem;
    border-bottom: 1px solid #2a2a2a;
}
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
    font-size: .8125rem; color: #666;
    display: flex; align-items: center; gap: 6px;
    transition: color .15s, padding-left .15s;
}
.footer-links a::before {
    content: ''; width: 4px; height: 1px;
    background: #6fcf97; display: inline-block; flex-shrink: 0;
    transition: width .15s;
}
.footer-links a:hover { color: #ccc; padding-left: 4px; }
.footer-links a:hover::before { width: 8px; }
.footer-bottom { padding: 1.25rem 0; }
.footer-bottom-inner {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: .75rem;
}
.footer-copy { font-size: .6875rem; color: #444; }
.footer-legal { display: flex; align-items: center; }
.footer-legal a {
    font-size: .6875rem; color: #555;
    padding: 0 .75rem; border-right: 1px solid #333;
    line-height: 1; transition: color .15s;
}
.footer-legal a:last-child { border-right: none; padding-right: 0; }
.footer-legal a:first-child { padding-left: 0; }
.footer-legal a:hover { color: #ccc; }

/* ============================================================
   UTILITIES & ACCESSIBILITY
============================================================ */
.sr-only { position: absolute!important; width: 1px; height: 1px; clip: rect(1px,1px,1px,1px); overflow: hidden; }
:focus-visible { outline: 3px solid var(--green-mid); outline-offset: 3px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms!important; transition-duration: .01ms!important; } }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 960px) {
    .content-area { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-grid > :first-child { grid-column: 1/-1; }
    .cards-grid-3 { grid-template-columns: repeat(2,1fr); }
    .team-grid { grid-template-columns: repeat(2,1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}
@media (max-width: 620px) {
    .topbar { display: none; }
    .header-ad-wrap { display: none; }
    .site-title { font-size: 1.35rem; }
    .nav-menu {
        display: none; flex-direction: column;
        position: absolute; top: 50px; left: -1.5rem; right: -1.5rem;
        background: #1b6b3a; z-index: 500; border-top: 2px solid var(--accent);
    }
    .nav-menu.is-open { display: flex; }
    .nav-menu li a { height: auto; padding: .875rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.08); }
    .nav-menu li ul { position: static; box-shadow: none; padding-left: 1rem; }
    .menu-toggle { display: flex; }
    .cards-grid-3, .cards-grid-2 { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-main { grid-row: auto; min-height: 250px; }
    .breaking-bar { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > :first-child { grid-column: auto; }
    .footer-bottom-inner { flex-direction: column; gap: .5rem; }
    .footer-legal { flex-wrap: wrap; }
    .footer-legal a { border: none; padding: 0; margin-right: .75rem; }
    .page-hero h1 { font-size: 1.6rem; }
    .ad-skyscraper, .ad-leaderboard { display: none; }
}
@media print {
    .site-header, .main-navigation, .breaking-bar, .sidebar,
    .site-footer, .ad-slot, .ad-in-content, .topbar { display: none!important; }
    .content-area { grid-template-columns: 1fr; }
    body { font-size: 12pt; color: #000; }
}
