/* ================================================================
   MUNDO FAUNISTA — mundofaunista.css
   Estilo inspirado en News Mart, identidad Federación FAUNA
   PHP 7.4+ | Bootstrap 5 | Font Awesome 6
================================================================ */

/* ── Variables ── */
:root {
    --mf-green:       #1a3a2e;
    --mf-green-mid:   #2d5c47;
    --mf-red:         #c0001a;
    --mf-terra:       #c4622d;
    --mf-gold:        #f5c200;
    --mf-dark:        #111614;
    --mf-dark-mid:    #1e2820;
    --mf-grey-bg:     #f4f1eb;
    --mf-grey-light:  #e8e2d8;
    --mf-text:        #1c1c1c;
    --mf-text-muted:  #6b6b6b;
    --mf-border:      #d4c9b8;
    --mf-font-head:   'Khand', 'DM Sans', sans-serif;
    --mf-font-body:   'Source Serif 4', Georgia, serif;
    --mf-font-ui:     'DM Sans', system-ui, sans-serif;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--mf-font-body);
    background: var(--mf-grey-bg);
    color: var(--mf-text);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: var(--mf-green); text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--mf-terra); }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5,h6 {
    font-family: var(--mf-font-head);
    font-weight: 700;
    line-height: 1.15;
    color: var(--mf-text);
    letter-spacing: .01em;
}

/* ================================================================
   TOP BAR
================================================================ */
#mf-topbar {
    background: var(--mf-dark);
    padding: 7px 0;
    font-family: var(--mf-font-ui);
    font-size: 11.5px;
    color: rgba(255,255,255,.65);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
#mf-topbar .mf-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.mf-topbar-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mf-topbar-date { opacity: .55; font-size: 11px; }
.mf-topbar-badge {
    background: var(--mf-terra);
    color: #fff;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 2px 9px;
    line-height: 1.8;
}
.mf-topbar-right { display: flex; align-items: center; gap: 14px; }
.mf-topbar-right a { color: rgba(255,255,255,.6); font-size: 11.5px; }
.mf-topbar-right a:hover { color: #fff; }
.mf-topbar-social { display: flex; gap: 10px; }
.mf-topbar-social a {
    color: rgba(255,255,255,.5);
    font-size: 13px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.12);
    transition: all .2s;
}
.mf-topbar-social a:hover { color: #fff; border-color: var(--mf-terra); background: var(--mf-terra); }

/* ================================================================
   HEADER
================================================================ */
#mf-header {
    background: #fff;
    border-bottom: 1px solid var(--mf-border);
    padding: 18px 0 14px;
}
.mf-header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}
/* Left: FAUNA logo */
.mf-header-left { display: flex; align-items: center; gap: 10px; }
.mf-fauna-logo-link { display: flex; align-items: center; gap: 10px; }
.mf-fauna-logo-link img { height: 40px; width: auto; }
.mf-fauna-logo-fallback {
    font-family: var(--mf-font-head);
    font-size: 24px;
    font-weight: 900;
    color: var(--mf-dark);
    letter-spacing: -.02em;
}
.mf-fauna-label {
    font-family: var(--mf-font-ui);
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--mf-text-muted);
    line-height: 1.5;
}
.mf-fauna-label strong {
    display: block;
    color: var(--mf-green);
    font-weight: 600;
    font-size: 8.5px;
    letter-spacing: .15em;
}
/* Center: site logo */
.mf-header-center { text-align: center; }
.mf-site-title {
    font-family: var(--mf-font-head);
    font-size: 46px;
    font-weight: 900;
    color: var(--mf-green);
    letter-spacing: -.01em;
    line-height: 1;
    display: block;
}
.mf-site-title span { color: var(--mf-terra); }
.mf-site-desc {
    font-family: var(--mf-font-ui);
    font-size: 9px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--mf-text-muted);
    margin-top: 4px;
    display: block;
}
/* Right: Faunismo + search */
.mf-header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; }
.mf-faunismo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--mf-border);
    padding: 5px 11px;
    background: var(--mf-grey-bg);
    transition: border-color .2s, background .2s;
    font-family: var(--mf-font-ui);
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--mf-text-muted);
}
.mf-faunismo-link img { height: 24px; width: auto; }
.mf-faunismo-link:hover { border-color: var(--mf-gold); background: #fff; color: var(--mf-green); }
.mf-header-actions { display: flex; align-items: center; gap: 8px; }
.mf-search-form {
    display: flex;
    border: 1px solid var(--mf-border);
    border-radius: 3px;
    overflow: hidden;
    background: #fff;
}
.mf-search-form input[type="search"] {
    border: none;
    outline: none;
    padding: 7px 13px;
    font-family: var(--mf-font-ui);
    font-size: 13px;
    background: transparent;
    width: 170px;
    color: var(--mf-text);
}
.mf-search-form button {
    border: none;
    background: var(--mf-green);
    color: #fff;
    padding: 7px 13px;
    cursor: pointer;
    font-size: 13px;
    transition: background .2s;
}
.mf-search-form button:hover { background: var(--mf-terra); }
.mf-btn-subscribe {
    background: var(--mf-terra);
    color: #fff !important;
    border: none;
    padding: 8px 16px;
    font-family: var(--mf-font-ui);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
    border-radius: 2px;
    display: inline-block;
}
.mf-btn-subscribe:hover { background: var(--mf-green); color: #fff !important; }

/* ================================================================
   MEMBERSHIP BAND
================================================================ */
.mf-member-band {
    background: linear-gradient(90deg, var(--mf-green) 0%, var(--mf-green-mid) 100%);
    padding: 6px 0;
    font-family: var(--mf-font-ui);
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.mf-member-band span { color: rgba(255,255,255,.7); }
.mf-member-band .sep { color: rgba(255,255,255,.2); }
.mf-member-band a { color: var(--mf-gold); font-size: 10.5px; }
.mf-member-band a:hover { color: #fff; }

/* ================================================================
   NAVIGATION
================================================================ */
#mf-navbar {
    background: var(--mf-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.mf-nav-inner { display: flex; align-items: center; }
/* WP nav menu */
#mf-primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
#mf-primary-menu > li > a {
    font-family: var(--mf-font-head);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: rgba(255,255,255,.78);
    padding: 14px 17px;
    display: block;
    border-bottom: 3px solid transparent;
    transition: all .2s;
    white-space: nowrap;
}
#mf-primary-menu > li > a:hover,
#mf-primary-menu > li.current-menu-item > a,
#mf-primary-menu > li.current-menu-ancestor > a {
    color: #fff;
    border-bottom-color: var(--mf-gold);
    background: rgba(255,255,255,.04);
}
/* Dropdowns */
#mf-primary-menu .sub-menu {
    position: absolute;
    background: var(--mf-dark-mid);
    min-width: 210px;
    border-top: 3px solid var(--mf-terra);
    display: none;
    z-index: 1001;
    box-shadow: 0 4px 16px rgba(0,0,0,.3);
    list-style: none;
    padding: 0;
    margin: 0;
}
#mf-primary-menu li:hover > .sub-menu { display: block; }
#mf-primary-menu .sub-menu li a {
    font-family: var(--mf-font-ui);
    font-size: 12px;
    color: rgba(255,255,255,.7);
    padding: 11px 18px;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: all .2s;
}
#mf-primary-menu .sub-menu li a:hover { background: var(--mf-green); color: #fff; }
#mf-primary-menu li { position: relative; }

/* Mobile toggle */
.mf-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: rgba(255,255,255,.8);
    font-size: 20px;
    padding: 14px 20px;
    cursor: pointer;
    margin-left: auto;
    font-family: var(--mf-font-ui);
    font-weight: 500;
    letter-spacing: .05em;
}

/* ================================================================
   BREAKING NEWS TICKER
================================================================ */
#mf-ticker {
    background: var(--mf-red);
    padding: 8px 0;
    overflow: hidden;
}
.mf-ticker-inner { display: flex; align-items: center; gap: 0; }
.mf-ticker-label {
    background: rgba(0,0,0,.25);
    color: #fff;
    font-family: var(--mf-font-head);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 0 14px;
    height: 28px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 16px;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
    padding-right: 22px;
}
.mf-ticker-track { overflow: hidden; flex: 1; }
.mf-ticker-scroll {
    display: flex;
    gap: 56px;
    animation: mfTickerScroll 40s linear infinite;
    white-space: nowrap;
}
.mf-ticker-scroll span {
    font-family: var(--mf-font-ui);
    font-size: 12px;
    color: rgba(255,255,255,.92);
}
.mf-ticker-scroll span::before { content: '\25C6  '; opacity: .6; font-size: 8px; }
@keyframes mfTickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ================================================================
   LAYOUT UTILITIES
================================================================ */
.mf-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.mf-section { padding: 28px 0; }

/* ================================================================
   SECTION TITLE  (News Mart style: left border + category colour)
================================================================ */
.mf-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--mf-border);
    gap: 12px;
}
.mf-section-title h2,
.mf-section-title h3 {
    font-family: var(--mf-font-head);
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    background: var(--mf-green);
    padding: 4px 14px 4px 12px;
    margin: 0;
    letter-spacing: .05em;
    text-transform: uppercase;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
    padding-right: 24px;
    white-space: nowrap;
    flex-shrink: 0;
}
.mf-section-title .mf-view-all {
    font-family: var(--mf-font-ui);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--mf-text-muted);
    border: 1px solid var(--mf-border);
    padding: 4px 12px;
    transition: all .2s;
    white-space: nowrap;
}
.mf-section-title .mf-view-all:hover {
    background: var(--mf-green);
    color: #fff;
    border-color: var(--mf-green);
}

/* ================================================================
   OVERLAY CARD  (image fills card, text overlay at bottom)
   — Core card style of News Mart —
================================================================ */
.mf-overlay-card {
    position: relative;
    overflow: hidden;
    background: #111;
    display: block;
    cursor: pointer;
}
.mf-overlay-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.mf-overlay-card:hover img { transform: scale(1.06); }
.mf-overlay-card .mf-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px 16px;
    background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 60%, transparent 100%);
}
.mf-overlay-card .mf-card-content.mf-card-content--tall {
    padding: 32px 20px 20px;
}
/* Category badge */
.mf-cat-badge {
    display: inline-block;
    background: var(--mf-terra);
    color: #fff;
    font-family: var(--mf-font-head);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 2px 9px;
    margin-bottom: 7px;
    line-height: 1.7;
    transition: background .2s;
}
.mf-cat-badge:hover { background: var(--mf-green); color: #fff; }
.mf-cat-badge.cat-avicultura     { background: #8b4513; }
.mf-cat-badge.cat-acuarios       { background: #0066aa; }
.mf-cat-badge.cat-terrarios      { background: #2d5c20; }
.mf-cat-badge.cat-mamiferos      { background: #6b4c2a; }
.mf-cat-badge.cat-animales-de-renta { background: #9a7040; }
.mf-cat-badge.cat-legislacion    { background: #2f4f4f; }
.mf-cat-badge.cat-tecnologia     { background: #1c4477; }
.mf-cat-badge.cat-opinion        { background: #5c2d6b; }

/* Card title */
.mf-overlay-card .mf-card-title {
    font-family: var(--mf-font-head);
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin: 0 0 8px;
    letter-spacing: .01em;
}
.mf-overlay-card .mf-card-title a { color: #fff; }
.mf-overlay-card .mf-card-title a:hover { color: var(--mf-gold); }
.mf-overlay-card.mf-card-hero .mf-card-title { font-size: 24px; }
.mf-overlay-card.mf-card-hero .mf-card-title a:hover { text-decoration-color: var(--mf-gold); }

/* Card meta */
.mf-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-family: var(--mf-font-ui);
    font-size: 11.5px;
    color: rgba(255,255,255,.7);
}
.mf-card-meta .mf-author { display: flex; align-items: center; gap: 6px; }
.mf-card-meta .mf-author img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,.3);
}
.mf-card-meta a { color: rgba(255,255,255,.75); }
.mf-card-meta a:hover { color: #fff; }
.mf-card-meta i { font-size: 11px; margin-right: 3px; opacity: .7; }

/* ================================================================
   HERO / BIG NEWS SECTION
================================================================ */
.mf-hero-section {
    background: var(--mf-dark);
    padding: 0;
    margin-bottom: 0;
}
.mf-hero-section .mf-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    background: var(--mf-dark);
}
/* Left: main slider */
.mf-hero-slider-wrap {
    position: relative;
    overflow: hidden;
    height: 480px;
}
.mf-hero-slider { height: 100%; }
.mf-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .7s ease;
}
.mf-slide.active { opacity: 1; z-index: 1; }
.mf-slide img { width: 100%; height: 100%; object-fit: cover; }
.mf-slide .mf-card-content { padding: 40px 24px 24px; }

/* Slider dots */
.mf-slider-dots {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 6px;
    z-index: 5;
}
.mf-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .2s;
}
.mf-slider-dot.active { background: var(--mf-gold); }

/* Slider arrows */
.mf-slider-prev,
.mf-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(0,0,0,.4);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background .2s;
}
.mf-slider-prev { left: 8px; }
.mf-slider-next { right: 8px; }
.mf-slider-prev:hover,
.mf-slider-next:hover { background: var(--mf-terra); }

/* Right: 2x2 static grid */
.mf-hero-grid-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 3px;
    height: 480px;
}
.mf-hero-grid-right .mf-overlay-card { height: 100%; }
.mf-hero-grid-right .mf-card-title { font-size: 14px; }

/* ================================================================
   STANDARD (HORIZONTAL) LIST CARD
================================================================ */
.mf-list-card {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--mf-border);
    align-items: flex-start;
    transition: opacity .2s;
    cursor: pointer;
}
.mf-list-card:last-child { border-bottom: none; }
.mf-list-card:hover { opacity: .82; }
.mf-list-card .mf-list-thumb {
    width: 90px;
    height: 68px;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform .4s;
}
.mf-list-card:hover .mf-list-thumb { transform: scale(1.04); }
.mf-list-card .mf-list-cat { font-family: var(--mf-font-ui); font-size: 9.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--mf-terra); margin-bottom: 4px; }
.mf-list-card .mf-list-title { font-family: var(--mf-font-head); font-size: 15px; font-weight: 700; line-height: 1.25; color: var(--mf-text); margin-bottom: 5px; }
.mf-list-card:hover .mf-list-title { color: var(--mf-terra); }
.mf-list-card .mf-list-meta { font-family: var(--mf-font-ui); font-size: 11px; color: var(--mf-text-muted); }
.mf-list-card .mf-list-meta i { font-size: 10px; margin-right: 3px; }

/* ================================================================
   VERTICAL CARD (image top, text below)
================================================================ */
.mf-v-card { cursor: pointer; transition: transform .25s; }
.mf-v-card:hover { transform: translateY(-3px); }
.mf-v-card .mf-v-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
    transition: transform .4s;
    overflow: hidden;
}
.mf-v-card .mf-v-img-wrap {
    overflow: hidden;
    aspect-ratio: 16/10;
    margin-bottom: 12px;
}
.mf-v-card:hover .mf-v-img { transform: scale(1.04); }
.mf-v-card .mf-v-cat { font-family: var(--mf-font-ui); font-size: 9.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--mf-terra); margin-bottom: 6px; }
.mf-v-card .mf-v-title { font-family: var(--mf-font-head); font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--mf-text); margin-bottom: 7px; }
.mf-v-card:hover .mf-v-title { color: var(--mf-terra); }
.mf-v-card .mf-v-excerpt { font-size: 13px; line-height: 1.65; color: var(--mf-text-muted); margin-bottom: 8px; }
.mf-v-card .mf-v-meta { font-family: var(--mf-font-ui); font-size: 11.5px; color: var(--mf-text-muted); display: flex; gap: 10px; flex-wrap: wrap; }
.mf-v-card .mf-v-meta i { font-size: 10px; margin-right: 3px; }
.mf-v-card .mf-v-meta .mf-v-author { font-weight: 600; color: var(--mf-green); }

/* ================================================================
   CATEGORY SECTION BLOCK  (News Mart multi-section style)
================================================================ */
.mf-cat-section {
    background: #fff;
    padding: 18px 16px;
    margin-bottom: 4px;
}

/* ================================================================
   YOU MAY HAVE MISSED  (bottom strip)
================================================================ */
.mf-missed-section {
    background: var(--mf-dark-mid);
    padding: 28px 0;
    margin: 0;
}
.mf-missed-section .mf-section-title h2 { background: var(--mf-red); }
.mf-missed-card {
    display: flex;
    gap: 12px;
    cursor: pointer;
    transition: opacity .2s;
}
.mf-missed-card:hover { opacity: .82; }
.mf-missed-card .mf-missed-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    flex-shrink: 0;
}
.mf-missed-card .mf-missed-cat { font-family: var(--mf-font-ui); font-size: 9.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mf-gold); margin-bottom: 4px; }
.mf-missed-card .mf-missed-title { font-family: var(--mf-font-head); font-size: 14px; font-weight: 700; color: rgba(255,255,255,.88); line-height: 1.25; }
.mf-missed-card:hover .mf-missed-title { color: var(--mf-gold); }
.mf-missed-card .mf-missed-date { font-family: var(--mf-font-ui); font-size: 11px; color: rgba(255,255,255,.45); margin-top: 4px; }

/* ================================================================
   SIDEBAR
================================================================ */
.mf-sidebar { padding-left: 10px; }
.mf-widget {
    background: #fff;
    padding: 18px 16px;
    margin-bottom: 20px;
}
.mf-widget-title {
    font-family: var(--mf-font-head);
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    background: var(--mf-green);
    padding: 5px 14px 5px 12px;
    margin: 0 0 16px;
    letter-spacing: .07em;
    text-transform: uppercase;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
    padding-right: 22px;
    display: inline-block;
}
/* WP widget styles */
.widget_recent_entries ul,
.widget_categories ul,
.widget_archive ul,
.widget_nav_menu ul { list-style: none; padding: 0; margin: 0; }
.widget_recent_entries ul li,
.widget_categories ul li,
.widget_archive ul li { padding: 8px 0; border-bottom: 1px solid var(--mf-grey-light); font-family: var(--mf-font-ui); font-size: 13px; }
.widget_recent_entries ul li:last-child,
.widget_categories ul li:last-child,
.widget_archive ul li:last-child { border-bottom: none; }

/* Newsletter sidebar widget */
.mf-widget-newsletter { background: var(--mf-green); color: #fff; }
.mf-widget-newsletter .mf-widget-title { background: rgba(0,0,0,.25); }
.mf-widget-newsletter h4 { font-family: var(--mf-font-head); font-size: 20px; color: #fff; margin-bottom: 8px; }
.mf-widget-newsletter p { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 14px; line-height: 1.6; }
.mf-widget-newsletter input[type="email"] {
    width: 100%; padding: 9px 13px; border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.1); color: #fff; font-family: var(--mf-font-ui);
    font-size: 13px; margin-bottom: 9px; outline: none; display: block;
}
.mf-widget-newsletter input::placeholder { color: rgba(255,255,255,.38); }
.mf-widget-newsletter button {
    width: 100%; background: var(--mf-terra); color: #fff; border: none;
    padding: 10px; font-family: var(--mf-font-head); font-size: 13px;
    font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
    transition: background .2s;
}
.mf-widget-newsletter button:hover { background: rgba(255,255,255,.2); }

/* FAUNA promo widget */
.mf-widget-fauna { background: var(--mf-dark); text-align: center; }
.mf-widget-fauna img { height: 44px; width: auto; margin: 0 auto 12px; }
.mf-widget-fauna p { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.65; margin-bottom: 14px; }
.mf-widget-fauna a.mf-fauna-btn {
    display: block; background: var(--mf-terra); color: #fff; padding: 9px;
    font-family: var(--mf-font-head); font-size: 12px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase; margin-bottom: 7px;
    transition: background .2s;
}
.mf-widget-fauna a.mf-fauna-btn:hover { background: var(--mf-green); color: #fff; }
.mf-widget-fauna a.mf-fauna-btn.alt {
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
}
.mf-widget-fauna a.mf-fauna-btn.alt:hover { background: rgba(255,255,255,.18); }

/* Popular posts in sidebar */
.mf-pop-item {
    display: flex; gap: 12px; padding: 11px 0;
    border-bottom: 1px solid var(--mf-grey-light); cursor: pointer;
    transition: opacity .2s;
}
.mf-pop-item:last-child { border-bottom: none; }
.mf-pop-item:hover { opacity: .78; }
.mf-pop-n {
    font-family: var(--mf-font-head); font-size: 26px; font-weight: 900;
    color: var(--mf-grey-light); line-height: 1; min-width: 28px;
}
.mf-pop-title { font-family: var(--mf-font-head); font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--mf-text); }
.mf-pop-date { font-family: var(--mf-font-ui); font-size: 11px; color: var(--mf-text-muted); margin-top: 2px; }

/* Tags cloud */
.mf-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.mf-tag {
    background: transparent; border: 1px solid var(--mf-border);
    color: var(--mf-text-muted); font-family: var(--mf-font-ui); font-size: 11.5px;
    padding: 4px 11px; cursor: pointer; transition: all .2s; display: inline-block;
    text-decoration: none;
}
.mf-tag:hover { background: var(--mf-green); color: #fff; border-color: var(--mf-green); }

/* ================================================================
   SINGLE POST
================================================================ */
.mf-single-header { padding: 28px 0 24px; border-bottom: 1px solid var(--mf-border); margin-bottom: 28px; }
.mf-single-cat-badge { margin-bottom: 14px; }
.mf-single-title { font-family: var(--mf-font-head); font-size: 40px; font-weight: 900; color: var(--mf-green); letter-spacing: -.01em; line-height: 1.1; margin-bottom: 14px; }
.mf-single-subtitle { font-size: 18px; color: var(--mf-text-muted); line-height: 1.6; font-style: italic; margin-bottom: 18px; }
.mf-single-meta {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    font-family: var(--mf-font-ui); font-size: 12.5px; color: var(--mf-text-muted);
    padding-top: 14px; border-top: 1px solid var(--mf-border);
}
.mf-single-meta .mf-s-author { font-weight: 600; color: var(--mf-green); }
.mf-single-meta i { font-size: 11px; margin-right: 3px; }
.mf-single-hero-img { width: 100%; max-height: 500px; object-fit: cover; margin-bottom: 8px; }
.mf-img-caption { font-family: var(--mf-font-ui); font-size: 12px; color: var(--mf-text-muted); font-style: italic; border-left: 3px solid var(--mf-border); padding-left: 12px; margin-bottom: 28px; }
/* Content typography */
.mf-entry-content { font-size: 16px; line-height: 1.85; color: var(--mf-text); }
.mf-entry-content p { margin-bottom: 1.4em; }
.mf-entry-content h2 { font-family: var(--mf-font-head); font-size: 28px; color: var(--mf-green); margin: 2em 0 .7em; }
.mf-entry-content h3 { font-family: var(--mf-font-head); font-size: 22px; color: var(--mf-green); margin: 1.8em 0 .6em; }
.mf-entry-content blockquote {
    border-left: 4px solid var(--mf-terra);
    padding: 14px 20px;
    background: var(--mf-grey-bg);
    font-size: 20px;
    font-style: italic;
    color: var(--mf-green);
    margin: 2em 0;
    line-height: 1.5;
}
.mf-entry-content a { color: var(--mf-terra); border-bottom: 1px solid rgba(196,98,45,.3); }
.mf-entry-content a:hover { color: var(--mf-green); }
.mf-entry-content img { margin: 1.5em auto; }
/* Share */
.mf-share {
    display: flex; align-items: center; gap: 8px; padding: 18px 0;
    border-top: 1px solid var(--mf-border); border-bottom: 1px solid var(--mf-border);
    margin: 28px 0; flex-wrap: wrap; font-family: var(--mf-font-ui);
    font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--mf-text-muted);
}
.mf-share-btn {
    padding: 6px 14px; border: 1px solid var(--mf-border); color: var(--mf-text-muted);
    font-family: var(--mf-font-ui); font-size: 11px; font-weight: 600; letter-spacing: .06em;
    text-transform: uppercase; cursor: pointer; transition: all .2s; display: inline-block;
}
.mf-share-btn:hover { background: var(--mf-green); color: #fff; border-color: var(--mf-green); }
/* Author bio */
.mf-author-bio {
    background: var(--mf-grey-bg); padding: 22px;
    display: flex; gap: 18px; align-items: flex-start;
    margin: 28px 0; border-left: 4px solid var(--mf-green);
}
.mf-author-bio img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.mf-author-bio .mf-bio-name { font-family: var(--mf-font-head); font-size: 18px; font-weight: 800; color: var(--mf-green); margin-bottom: 5px; }
.mf-author-bio .mf-bio-label { font-family: var(--mf-font-ui); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--mf-text-muted); margin-bottom: 4px; }
.mf-author-bio p { font-size: 13px; color: var(--mf-text-muted); line-height: 1.7; margin: 0; }

/* ================================================================
   PAGINATION
================================================================ */
.mf-pagination {
    display: flex; justify-content: center; align-items: center;
    gap: 4px; padding: 28px 0; font-family: var(--mf-font-ui);
}
.mf-pagination a,
.mf-pagination span {
    min-width: 38px; height: 38px; display: flex; align-items: center;
    justify-content: center; border: 1px solid var(--mf-border);
    font-size: 13px; color: var(--mf-text); transition: all .2s; padding: 0 8px;
}
.mf-pagination a:hover { background: var(--mf-green); color: #fff; border-color: var(--mf-green); }
.mf-pagination .current { background: var(--mf-green); color: #fff; border-color: var(--mf-green); }

/* ================================================================
   FOOTER
================================================================ */
#mf-footer { background: var(--mf-dark); color: rgba(255,255,255,.65); padding-top: 44px; }
.mf-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.mf-footer-logo { height: 44px; width: auto; margin-bottom: 14px; }
.mf-footer-desc { font-size: 13px; line-height: 1.75; color: rgba(255,255,255,.45); margin-bottom: 16px; }
.mf-footer-partner {
    display: flex; align-items: center; gap: 9px;
    border: 1px solid rgba(255,255,255,.1); padding: 8px 13px;
    margin-bottom: 14px; transition: border-color .2s; text-decoration: none;
}
.mf-footer-partner:hover { border-color: rgba(255,255,255,.28); }
.mf-footer-partner img { height: 18px; width: auto; filter: brightness(0) invert(1); opacity: .55; }
.mf-footer-partner span { font-family: var(--mf-font-ui); font-size: 10.5px; letter-spacing: .08em; color: rgba(255,255,255,.45); }
.mf-footer-social { display: flex; gap: 6px; }
.mf-footer-social a {
    width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.12);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.45); font-size: 12px; transition: all .2s;
}
.mf-footer-social a:hover { background: var(--mf-terra); border-color: var(--mf-terra); color: #fff; }
.mf-footer-col-title {
    font-family: var(--mf-font-head); font-size: 14px; font-weight: 800;
    color: #fff; letter-spacing: .07em; text-transform: uppercase;
    border-bottom: 2px solid var(--mf-terra); padding-bottom: 9px; margin-bottom: 14px;
}
.mf-footer-link {
    display: block; font-family: var(--mf-font-ui); font-size: 12.5px;
    color: rgba(255,255,255,.55); padding: 5px 0; transition: color .2s;
    text-decoration: none; word-spacing: normal; letter-spacing: normal;
}
.mf-footer-link:hover { color: #fff; }
.mf-footer-bottom {
    padding: 16px 0; display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 8px;
    font-family: var(--mf-font-ui); font-size: 11.5px; color: rgba(255,255,255,.28);
}
.mf-footer-fauna-badge { display: flex; align-items: center; gap: 7px; }
.mf-footer-fauna-badge img { height: 16px; width: auto; filter: brightness(0) invert(1); opacity: .3; }
.mf-footer-fauna-badge span { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }

/* Scroll to top */
.mf-scroll-top {
    position: fixed; bottom: 24px; right: 24px; z-index: 9999;
    background: var(--mf-green); color: #fff; border: none;
    width: 40px; height: 40px; cursor: pointer; display: none;
    align-items: center; justify-content: center; font-size: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,.25); transition: background .2s;
}
.mf-scroll-top:hover { background: var(--mf-terra); }
.mf-scroll-top.visible { display: flex; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
    .mf-header-inner { grid-template-columns: 1fr; text-align: center; gap: 12px; }
    .mf-header-left, .mf-header-right { align-items: center; }
    .mf-hero-section .mf-hero-grid { grid-template-columns: 1fr; }
    .mf-hero-slider-wrap, .mf-hero-grid-right { height: 360px; }
    .mf-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .mf-site-title { font-size: 34px; }
    #mf-primary-menu { display: none; flex-direction: column; width: 100%; }
    #mf-primary-menu.is-open { display: flex; }
    .mf-menu-toggle { display: flex; align-items: center; gap: 6px; }
    .mf-hero-grid-right { grid-template-columns: 1fr 1fr; height: auto; }
    .mf-hero-grid-right .mf-overlay-card { height: 180px; }
    .mf-hero-slider-wrap { height: 300px; }
    .mf-sidebar { padding-left: 0; margin-top: 24px; }
    .mf-footer-grid { grid-template-columns: 1fr; }
    .mf-footer-bottom { flex-direction: column; text-align: center; }
}
