/* ============================================================
   WroclawZoo Theme — Main Stylesheet
   ============================================================ */

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

:root {
    --green-900: #0d2b1a;
    --green-800: #1a4a2e;
    --green-700: #245f3c;
    --green-600: #2e7a4d;
    --green-500: #3a9660;
    --green-400: #5cb87e;
    --green-300: #8dd4a8;
    --green-200: #b8e0c8;
    --green-100: #d9f0e4;
    --green-50:  #f0faf4;
    --sand-700:  #8a6c3a;
    --sand-500:  #c4965a;
    --sand-200:  #e8d5b0;
    --sand-100:  #f5ecd7;
    --sand-50:   #fdf8f0;
    --amber:     #d4872a;
    --amber-light: #f5c96e;
    --white:     #ffffff;
    --gray-50:   #f7f7f5;
    --gray-100:  #ededea;
    --gray-300:  #c4c4be;
    --gray-500:  #888882;
    --gray-700:  #4a4a45;
    --gray-900:  #1e1e1a;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Source Sans 3', system-ui, sans-serif;
    --radius-sm:  6px;
    --radius-md:  10px;
    --radius-lg:  16px;
    --radius-xl:  24px;
    --shadow-sm:  0 1px 4px rgba(13,43,26,.08);
    --shadow-md:  0 4px 16px rgba(13,43,26,.12);
    --shadow-lg:  0 8px 32px rgba(13,43,26,.16);
    --max-w:      1180px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--gray-900);
    background: #fff;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}

/* ── BUTTONS ── */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--amber); color: #fff;
    font-family: var(--font-body); font-weight: 700; font-size: .95rem;
    padding: 14px 28px; border-radius: var(--radius-md);
    border: none; cursor: pointer;
    transition: background .2s, transform .15s;
    text-decoration: none;
}
.btn-primary:hover { background: var(--sand-700); transform: translateY(-1px); color: #fff; }

.btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: #fff;
    font-family: var(--font-body); font-weight: 600; font-size: .95rem;
    padding: 13px 24px; border-radius: var(--radius-md);
    border: 1.5px solid rgba(255,255,255,.35);
    transition: background .2s; text-decoration: none;
}
.btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }

.btn-cta {
    display: inline-block;
    background: var(--amber); color: #fff;
    font-weight: 700; padding: 13px 28px;
    border-radius: var(--radius-md);
    transition: background .2s; white-space: nowrap;
    text-decoration: none;
}
.btn-cta:hover { background: #b8711e; color: #fff; }

/* ── NAVIGATION ── */
.site-nav {
    position: sticky; top: 0; z-index: 100;
    background: var(--green-900);
    border-bottom: 2px solid var(--green-700);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 60px; max-width: var(--max-w);
    margin: 0 auto; padding: 0 20px;
}
.nav-logo {
    font-family: var(--font-display);
    font-size: 1.25rem; color: #fff; font-weight: 700; letter-spacing: -.5px;
}
.nav-logo span { color: var(--amber-light); }
/* Custom logo image (uploaded via WP Customizer) */
.nav-logo-img {
    display: block;
    max-height: 40px;
    width: auto;
    object-fit: contain;
}
.nav-menu { display: flex; gap: 4px; }
.nav-menu li a {
    color: rgba(255,255,255,.82); font-size: .875rem; font-weight: 500;
    padding: 6px 12px; border-radius: var(--radius-sm);
    transition: background .15s, color .15s; display: block;
}
.nav-menu li a:hover,
.nav-menu li.current-menu-item > a,
.nav-menu li.current_page_item > a {
    background: rgba(255,255,255,.15); color: #fff;
}
.nav-burger {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 8px; background: none; border: none;
}
.nav-burger span {
    display: block; width: 22px; height: 2px;
    background: #fff; border-radius: 2px; transition: .3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── BREADCRUMBS ── */
.breadcrumbs-wrap {
    background: var(--gray-50); border-bottom: 1px solid var(--gray-100); padding: 10px 0;
}
.breadcrumbs-inner {
    display: flex; gap: 8px; align-items: center;
    font-size: .82rem; color: var(--gray-500);
    max-width: var(--max-w); margin: 0 auto; padding: 0 20px; flex-wrap: wrap;
}
.breadcrumbs-inner a { color: var(--green-600); font-weight: 500; }
.breadcrumbs-inner a:hover { text-decoration: underline; }
.bc-sep { color: var(--gray-300); }

/* ── SECTION UTILITIES ── */
.section { padding: 72px 0; }
.section-alt { background: var(--gray-50); }
.section-sand { background: var(--sand-50); }

.section-eyebrow {
    font-size: .75rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--green-500); margin-bottom: 8px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 900; color: var(--green-900); margin-bottom: 12px; line-height: 1.2;
}
.section-sub {
    font-size: 1.05rem; color: var(--gray-500); max-width: 520px; line-height: 1.5;
}
.section-head { margin-bottom: 40px; }

/* ── HERO ── */
.hero {
    background: var(--green-900);
    padding: 72px 0 80px; position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.9); font-size: .8rem; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase;
    padding: 6px 14px; border-radius: 99px; margin-bottom: 28px;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: #fff; line-height: 1.15; font-weight: 900; margin-bottom: 20px;
}
.hero h1 em { color: var(--amber-light); font-style: normal; }
.hero-sub {
    font-size: 1.1rem; color: rgba(255,255,255,.78);
    max-width: 560px; margin-bottom: 36px; line-height: 1.6;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
    display: flex; gap: 32px; margin-top: 56px;
    padding-top: 32px; border-top: 1px solid rgba(255,255,255,.14); flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-num {
    font-family: var(--font-display); font-size: 2rem;
    font-weight: 900; color: var(--amber-light); line-height: 1;
}
.hero-stat-label {
    font-size: .8rem; color: rgba(255,255,255,.6);
    margin-top: 4px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em;
}

/* ── PLANNER ── */
.planner { background: var(--sand-50); border-bottom: 1px solid var(--sand-200); }
.planner-inner { max-width: var(--max-w); margin: 0 auto; padding: 48px 20px; }
.planner-eyebrow {
    font-size: .75rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--green-600); margin-bottom: 8px;
}
.planner-title {
    font-family: var(--font-display); font-size: 1.9rem;
    font-weight: 900; color: var(--green-900); line-height: 1.2; margin-bottom: 32px;
}
.planner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.planner-card {
    background: #fff; border: 1px solid var(--sand-200);
    border-radius: var(--radius-lg); padding: 20px 24px;
    display: flex; flex-direction: column; gap: 6px;
}
.planner-card-label {
    font-size: .75rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--gray-500);
}
.planner-card-value { font-size: 1.05rem; font-weight: 600; color: var(--gray-900); }
.planner-card-wide { grid-column: 1 / -1; }
.planner-tip {
    background: var(--green-50); border: 1px solid var(--green-200);
    border-radius: var(--radius-md); padding: 16px 20px;
    grid-column: 1 / -1; font-size: .95rem; color: var(--green-800);
}
.planner-tip strong {
    display: block; font-size: .75rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--green-600); margin-bottom: 4px;
}
.status-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: var(--radius-md);
    font-weight: 700; font-size: .95rem;
}
.status-pill.good { background: var(--green-100); color: var(--green-800); }
.status-pill.good::before { content: '●'; color: var(--green-500); font-size: .6rem; }
.status-pill.warn { background: #fff8e6; color: #7a5800; }
.status-pill.warn::before { content: '●'; color: var(--amber); font-size: .6rem; }

/* ── TOPIC CARDS ── */
.topics-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;
}
.topic-card {
    background: #fff; border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg); padding: 28px 24px;
    transition: box-shadow .2s, transform .2s; cursor: pointer;
    position: relative; overflow: hidden; display: block;
}
.topic-card::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 4px; background: var(--green-500);
    border-radius: 4px 0 0 4px; opacity: 0; transition: opacity .2s;
}
.topic-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.topic-card:hover::before { opacity: 1; }
.topic-icon { font-size: 2rem; margin-bottom: 14px; line-height: 1; }
.topic-title {
    font-family: var(--font-display); font-size: 1.15rem;
    font-weight: 700; color: var(--green-900); margin-bottom: 6px;
}
.topic-desc { font-size: .875rem; color: var(--gray-500); line-height: 1.5; }
.topic-link {
    display: inline-flex; align-items: center; gap: 4px;
    margin-top: 14px; font-size: .85rem; font-weight: 600; color: var(--green-600);
}
.topic-link::after { content: '→'; transition: transform .2s; }
.topic-card:hover .topic-link::after { transform: translateX(4px); }

/* ── INFO BLOCKS ── */
.info-block {
    background: #fff; border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm);
}
.info-block h3 {
    font-family: var(--font-display); font-size: 1.3rem;
    font-weight: 700; color: var(--green-900);
    margin-bottom: 20px; padding-bottom: 14px;
    border-bottom: 2px solid var(--green-100);
}
.info-row {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 10px 0; border-bottom: 1px solid var(--gray-100);
    font-size: .95rem; gap: 12px;
}
.info-row:last-child { border-bottom: none; }
.info-label { color: var(--gray-500); font-weight: 500; }
.info-val { font-weight: 700; color: var(--gray-900); text-align: right; }
.info-val.green { color: var(--green-600); }
.info-val.warn { color: var(--amber); }

/* ── QUICK FACTS BOX ── */
.quick-facts-box {
    background: var(--green-900); border-radius: var(--radius-xl);
    padding: 36px; color: #fff;
}
.quick-facts-box h3 {
    font-family: var(--font-display); font-size: 1.3rem;
    color: var(--amber-light); margin-bottom: 20px;
}
.qf-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .9rem; }
.qf-item:last-child { border-bottom: none; }
.qf-icon { font-size: 1.1rem; flex-shrink: 0; width: 24px; text-align: center; }
.qf-text { color: rgba(255,255,255,.85); line-height: 1.4; }
.qf-text strong { color: #fff; }

/* ── RATING ── */
.rating-card {
    background: #fff; border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg); padding: 28px;
}
.rating-title {
    font-family: var(--font-display); font-size: 1.1rem;
    font-weight: 700; color: var(--green-900); margin-bottom: 20px;
}
.rating-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.rating-label { font-size: .9rem; color: var(--gray-700); min-width: 160px; font-weight: 500; }
.rating-bar { flex: 1; height: 8px; background: var(--gray-100); border-radius: 4px; overflow: hidden; }
.rating-fill {
    height: 100%; border-radius: 4px;
    background: linear-gradient(90deg, var(--green-500), var(--green-400));
}
.rating-num { font-size: .9rem; font-weight: 700; color: var(--green-700); min-width: 32px; text-align: right; }

/* ── AFRYKARIUM ── */
.afrykarium-block {
    background: linear-gradient(135deg, #0d1f2b 0%, #1a3a4a 50%, #0d2b1a 100%);
    border-radius: var(--radius-xl); padding: 48px; color: #fff;
    position: relative; overflow: hidden;
}
.afrykarium-block::before {
    content: '🌊'; position: absolute; right: -20px; bottom: -20px;
    font-size: 8rem; opacity: .08; transform: rotate(-15deg);
}
.afrykarium-badge {
    display: inline-block; background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.9);
    font-size: .75rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; padding: 5px 12px; border-radius: 99px; margin-bottom: 20px;
}
.afrykarium-block h2 {
    font-family: var(--font-display); font-size: 2rem;
    font-weight: 900; margin-bottom: 16px; line-height: 1.2;
}
.afrykarium-block p { color: rgba(255,255,255,.78); font-size: 1rem; line-height: 1.65; margin-bottom: 28px; }
.afrykarium-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.af-fact {
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-md); padding: 20px; text-align: center;
}
.af-fact-num {
    font-family: var(--font-display); font-size: 1.8rem;
    font-weight: 900; color: var(--amber-light);
}
.af-fact-label { font-size: .8rem; color: rgba(255,255,255,.6); margin-top: 4px; line-height: 1.3; }

/* ── TIP BLOCKS ── */
.tip-block {
    border-radius: var(--radius-md); padding: 20px 24px;
    margin-bottom: 16px; display: flex; gap: 16px;
}
.tip-block.tip { background: var(--green-50); border: 1px solid var(--green-200); }
.tip-block.warn { background: #fff8e6; border: 1px solid #ffe0a0; }
.tip-block.info { background: #eef4ff; border: 1px solid #c3d9ff; }
.tip-icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.tip-label {
    font-size: .7rem; font-weight: 800; letter-spacing: .12em;
    text-transform: uppercase; margin-bottom: 4px;
}
.tip-block.tip .tip-label { color: var(--green-600); }
.tip-block.warn .tip-label { color: #7a5800; }
.tip-block.info .tip-label { color: #1e4faa; }
.tip-text { font-size: .925rem; line-height: 1.55; color: var(--gray-700); }

/* ── ARTICLE CARDS ── */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.article-card {
    background: #fff; border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: box-shadow .2s, transform .2s; display: block;
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.article-thumb {
    height: 180px; background: var(--green-800);
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; position: relative; overflow: hidden;
}
.article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 20px; }
.article-tag {
    font-size: .72rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--green-600);
    background: var(--green-50); padding: 3px 10px;
    border-radius: 99px; display: inline-block; margin-bottom: 10px;
}
.article-title {
    font-family: var(--font-display); font-size: 1.1rem;
    font-weight: 700; color: var(--green-900); line-height: 1.3; margin-bottom: 8px;
}
.article-excerpt { font-size: .875rem; color: var(--gray-500); line-height: 1.5; margin-bottom: 14px; }
.article-meta { font-size: .78rem; color: var(--gray-300); display: flex; gap: 12px; }

/* ── FAQ ── */
.faq-section { display: flex; flex-direction: column; gap: 8px; }
.faq-section details {
    background: #fff; border: 1px solid var(--gray-100);
    border-radius: var(--radius-md); overflow: hidden; transition: box-shadow .2s;
}
.faq-section details[open] { box-shadow: var(--shadow-sm); }
.faq-section summary {
    padding: 18px 20px; font-weight: 600; color: var(--gray-900);
    cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; font-size: .95rem;
}
.faq-section summary::after {
    content: '＋'; font-size: 1.2rem; color: var(--green-500);
    flex-shrink: 0; transition: transform .3s;
}
.faq-section details[open] summary::after { transform: rotate(45deg); }
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section details > div {
    padding: 14px 20px 18px; font-size: .9rem;
    color: var(--gray-500); line-height: 1.65;
    border-top: 1px solid var(--gray-100);
}

/* ── INTERNAL LINKS ── */
.internal-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.internal-link {
    display: flex; align-items: center; gap: 10px;
    background: #fff; border: 1px solid var(--gray-100);
    border-radius: var(--radius-md); padding: 12px 16px;
    font-size: .875rem; font-weight: 600; color: var(--green-700);
    transition: background .15s, border-color .15s;
}
.internal-link:hover { background: var(--green-50); border-color: var(--green-200); }
.internal-link::before { content: '→'; color: var(--green-400); font-size: .9rem; }

/* ── LAYOUT GRIDS ── */
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: start; }
.three-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }

/* ── ARTICLE LAYOUT ── */
.article-wrap {
    display: grid; grid-template-columns: 1fr 300px;
    gap: 48px; max-width: var(--max-w); margin: 0 auto; padding: 48px 20px; align-items: start;
}
.article-sidebar { position: sticky; top: 80px; }
.article-tag-hero {
    display: inline-block; font-size: .72rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--green-600); background: var(--green-50);
    padding: 4px 12px; border-radius: 99px; margin-bottom: 16px;
}
.article-h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900; color: var(--green-900); line-height: 1.2; margin-bottom: 20px;
}
.article-meta-bar {
    display: flex; gap: 16px; flex-wrap: wrap;
    font-size: .82rem; color: var(--gray-500);
    padding-bottom: 20px; border-bottom: 1px solid var(--gray-100); margin-bottom: 28px;
}

/* ── SUMMARY BOX ── */
.summary-box {
    background: var(--green-900); color: #fff;
    border-radius: var(--radius-lg); padding: 28px; margin-bottom: 32px;
}
.summary-box-title {
    font-family: var(--font-display); font-weight: 700;
    color: var(--amber-light); margin-bottom: 16px;
    text-transform: uppercase; letter-spacing: .05em; font-size: .82rem;
}
.summary-items { display: flex; flex-direction: column; gap: 10px; }
.summary-item { display: flex; gap: 10px; font-size: .9rem; align-items: flex-start; }
.summary-dot {
    width: 6px; height: 6px; background: var(--amber-light);
    border-radius: 50%; flex-shrink: 0; margin-top: .55em;
}
.summary-text { color: rgba(255,255,255,.88); line-height: 1.45; }
.summary-text strong { color: #fff; }

/* ── TOC ── */
.toc {
    background: var(--sand-50); border: 1px solid var(--sand-200);
    border-radius: var(--radius-lg); padding: 24px; margin-bottom: 32px;
}
.toc-title {
    font-size: .75rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--gray-500); margin-bottom: 14px;
}
.toc-list { display: flex; flex-direction: column; gap: 6px; }
.toc-list a {
    font-size: .875rem; color: var(--green-700); font-weight: 500;
    display: flex; gap: 8px; align-items: center;
}
.toc-list a::before {
    content: ''; width: 4px; height: 4px; background: var(--green-400);
    border-radius: 50%; flex-shrink: 0;
}
.toc-list a:hover { color: var(--green-500); text-decoration: underline; }

/* ── PROSE ── */
.prose h2 {
    font-family: var(--font-display); font-size: 1.7rem; font-weight: 900;
    color: var(--green-900); margin: 2.5rem 0 1rem; line-height: 1.25;
    padding-top: 8px; border-top: 2px solid var(--green-100);
}
.prose h3 {
    font-family: var(--font-display); font-size: 1.25rem;
    font-weight: 700; color: var(--green-800); margin: 1.8rem 0 .7rem;
}
.prose p { margin-bottom: 1.1rem; font-size: 1rem; line-height: 1.75; color: var(--gray-700); }
.prose ul, .prose ol { margin: 0 0 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 6px; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { font-size: 1rem; color: var(--gray-700); line-height: 1.65; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem; }
.prose th { background: var(--green-900); color: #fff; padding: 10px 14px; text-align: left; font-weight: 600; font-size: .85rem; }
.prose td { padding: 10px 14px; border-bottom: 1px solid var(--gray-100); }
.prose tr:nth-child(even) td { background: var(--gray-50); }
.prose strong { font-weight: 700; color: var(--gray-900); }
.prose a { color: var(--green-600); text-decoration: underline; }
.prose a:hover { color: var(--green-800); }

/* ── CALLOUT ── */
.callout {
    border-radius: var(--radius-md); padding: 18px 20px;
    margin: 1.5rem 0; display: flex; gap: 14px;
}
.callout.green { background: var(--green-50); border: 1px solid var(--green-200); }
.callout.yellow { background: #fff8e6; border: 1px solid #ffe0a0; }
.callout.blue { background: #eef4ff; border: 1px solid #c3d9ff; }
.callout-icon { font-size: 1.3rem; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.callout-body { font-size: .9rem; color: var(--gray-700); line-height: 1.6; }
.callout-label { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.callout.green .callout-label { color: var(--green-600); }
.callout.yellow .callout-label { color: #7a5800; }
.callout.blue .callout-label { color: #1e4faa; }

/* ── PRICE TABLE ── */
.price-table { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 1.5rem 0; }
.price-card {
    background: #fff; border: 1px solid var(--gray-100);
    border-radius: var(--radius-md); padding: 20px; text-align: center;
}
.price-card.featured { border-color: var(--green-300); border-width: 2px; background: var(--green-50); }
.price-type { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 8px; }
.price-amount { font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: var(--green-800); line-height: 1; }
.price-unit { font-size: .8rem; color: var(--gray-400); margin-top: 4px; }

/* ── SIDEBAR ── */
.sidebar-box {
    background: #fff; border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg); padding: 22px; margin-bottom: 20px;
}
.sidebar-title {
    font-family: var(--font-display); font-size: 1rem;
    font-weight: 700; color: var(--green-900);
    margin-bottom: 16px; padding-bottom: 10px;
    border-bottom: 2px solid var(--green-100);
}
.sidebar-info-row {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 8px 0; border-bottom: 1px solid var(--gray-100); font-size: .875rem;
}
.sidebar-info-row:last-child { border-bottom: none; }
.sidebar-label { color: var(--gray-500); font-weight: 500; }
.sidebar-val { font-weight: 700; color: var(--gray-900); }
.sidebar-val.green { color: var(--green-600); }
.sidebar-cta {
    display: block; background: var(--green-700); color: #fff;
    font-weight: 700; text-align: center; padding: 14px;
    border-radius: var(--radius-md); margin-bottom: 20px; transition: background .2s;
}
.sidebar-cta:hover { background: var(--green-800); color: #fff; }
.related-article { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gray-100); align-items: center; }
.related-article:last-child { border-bottom: none; }
.related-icon { font-size: 1.5rem; flex-shrink: 0; width: 36px; text-align: center; }
.related-title { font-size: .85rem; font-weight: 600; color: var(--green-800); line-height: 1.3; }
.related-title:hover { text-decoration: underline; }

/* ── CTA STRIP ── */
.cta-strip {
    background: var(--green-900); border-radius: var(--radius-lg);
    padding: 32px 36px; display: flex;
    align-items: center; justify-content: space-between;
    gap: 20px; flex-wrap: wrap; margin-top: 48px;
}
.cta-strip-text h3 { font-family: var(--font-display); font-size: 1.3rem; color: #fff; margin-bottom: 6px; }
.cta-strip-text p { font-size: .9rem; color: rgba(255,255,255,.7); }

/* ── GUIDE PAGE ── */
.guide-hero {
    position: relative;
    overflow: hidden;
    background: var(--green-900);
    padding: 72px 0 84px;
}
.guide-hero.has-bg {
    background-image: linear-gradient(90deg, rgba(4, 43, 25, .94) 0%, rgba(4, 43, 25, .86) 42%, rgba(4, 43, 25, .64) 100%), var(--guide-hero-bg);
    background-size: cover;
    background-position: center;
}
.guide-hero.has-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 76% 35%, rgba(255,255,255,.08), transparent 35%);
    pointer-events: none;
}
.guide-hero .container {
    position: relative;
    z-index: 1;
}
.guide-tag {
    display: inline-block; background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.9);
    font-size: .72rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; padding: 4px 14px; border-radius: 99px; margin-bottom: 18px;
}
.guide-h1 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4vw, 3rem);
    color: #fff; font-weight: 900; line-height: 1.2; margin-bottom: 14px;
}
.guide-intro { font-size: 1.05rem; color: rgba(255,255,255,.78); max-width: 580px; line-height: 1.6; margin-bottom: 32px; }
.guide-meta-bar { display: flex; gap: 16px; font-size: .8rem; color: rgba(255,255,255,.55); flex-wrap: wrap; }

.quick-facts-row {
    background: var(--sand-50); border-bottom: 2px solid var(--sand-200); padding: 28px 0;
}
.qf-row-inner {
    display: flex; gap: 0; flex-wrap: wrap;
    max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
}
.qf-stat-item {
    flex: 1; min-width: 140px; padding: 0 24px;
    border-right: 1px solid var(--sand-200); text-align: center;
}
.qf-stat-item:first-child { padding-left: 0; }
.qf-stat-item:last-child { border-right: none; }
.qf-stat-label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 6px; }
.qf-stat-value { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--green-800); line-height: 1.2; }
.qf-stat-note { font-size: .75rem; color: var(--gray-400); margin-top: 3px; }

.guide-body {
    max-width: var(--max-w); margin: 0 auto; padding: 52px 20px;
    display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start;
}
.guide-sidebar { position: sticky; top: 80px; }

.schedule-grid { display: grid; grid-template-columns: 1fr; gap: 4px; margin: 1.5rem 0; }
.schedule-row {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    padding: 12px 16px; border-radius: var(--radius-sm); font-size: .9rem; align-items: center; gap: 12px;
}
.schedule-row:nth-child(even) { background: var(--gray-50); }
.schedule-row.header { background: var(--green-900); color: #fff; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.schedule-hours { color: var(--green-700); font-weight: 700; }
.schedule-last { color: var(--gray-500); font-size: .85rem; }

.practical-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 1.5rem 0; }
.pcard {
    background: #fff; border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg); padding: 22px; transition: box-shadow .2s;
}
.pcard:hover { box-shadow: 0 4px 16px rgba(13,43,26,.1); }
.pcard-icon { font-size: 1.8rem; margin-bottom: 12px; }
.pcard-title { font-weight: 700; color: var(--green-900); margin-bottom: 6px; font-size: .95rem; }
.pcard-text { font-size: .875rem; color: var(--gray-500); line-height: 1.55; }

.related-articles { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 48px; }
.related-card {
    background: #fff; border: 1px solid var(--gray-100);
    border-radius: var(--radius-md); padding: 18px;
    transition: box-shadow .2s; display: block;
}
.related-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.related-card-tag {
    font-size: .7rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--green-600);
    background: var(--green-50); padding: 3px 9px;
    border-radius: 99px; display: inline-block; margin-bottom: 8px;
}
.related-card-title { font-weight: 700; color: var(--green-900); font-size: .9rem; line-height: 1.35; }

/* ── FOOTER ── */
.site-footer {
    background: var(--green-900); color: rgba(255,255,255,.7);
    padding: 48px 0 24px; font-size: .875rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-family: var(--font-display); font-size: 1.3rem; color: #fff; font-weight: 700; margin-bottom: 12px; }
.footer-logo span { color: var(--amber-light); }
.footer-desc { line-height: 1.6; max-width: 280px; }
.footer-col-title {
    font-size: .75rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 14px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,.7); transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 20px; display: flex;
    justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-note { font-size: .78rem; color: rgba(255,255,255,.35); }
.footer-note a { color: rgba(255,255,255,.5); text-decoration: underline; }

/* ── ARCHIVE / BLOG ── */
.archive-header { background: var(--green-900); padding: 40px 0; margin-bottom: 48px; }
.archive-header h1 { font-family: var(--font-display); font-size: 2rem; color: #fff; font-weight: 900; }
.archive-wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 20px 72px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination a, .pagination span {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: var(--radius-sm);
    border: 1px solid var(--gray-100); font-size: .875rem; font-weight: 600;
}
.pagination a { color: var(--green-700); }
.pagination a:hover { background: var(--green-50); border-color: var(--green-200); }
.pagination .current { background: var(--green-700); color: #fff; border-color: var(--green-700); }

/* ── 404 ── */
.page-404 { text-align: center; padding: 100px 20px; }
.page-404 h1 { font-family: var(--font-display); font-size: 6rem; color: var(--green-200); font-weight: 900; margin-bottom: 16px; }
.page-404 h2 { font-family: var(--font-display); font-size: 1.8rem; color: var(--green-900); margin-bottom: 16px; }
.page-404 p { color: var(--gray-500); margin-bottom: 32px; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
    .nav-menu { display: none; }
    .nav-menu.open {
        display: flex; flex-direction: column;
        position: absolute; top: 60px; left: 0; right: 0;
        background: var(--green-900); padding: 12px 20px 20px;
        border-top: 1px solid rgba(255,255,255,.1);
        z-index: 99;
    }
    .nav-burger { display: flex; }
    .article-wrap, .guide-body { grid-template-columns: 1fr; padding: 32px 20px; }
    .article-sidebar, .guide-sidebar { position: static; top: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .two-col, .three-col { grid-template-columns: 1fr; }
    .afrykarium-facts { grid-template-columns: 1fr 1fr; }
    .related-articles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .hero { padding: 48px 0 56px; }
    .hero-stats { gap: 20px; justify-content: center; }
    .planner-grid { grid-template-columns: 1fr; }
    .topics-grid { grid-template-columns: 1fr 1fr; }
    .section { padding: 48px 0; }
    .afrykarium-block { padding: 28px; }
    .afrykarium-facts { grid-template-columns: 1fr; }
    .practical-cards { grid-template-columns: 1fr; }
    .price-table { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .related-articles { grid-template-columns: 1fr; }
    .qf-stat-item { border-right: none; padding: 8px 0; text-align: left; width: 50%; flex: none; min-width: 0; }
    .schedule-last { display: none; }
    .schedule-row { grid-template-columns: 1fr 1fr; }
    .cta-strip { padding: 24px; }
}
@media (max-width: 440px) {
    .topics-grid { grid-template-columns: 1fr; }
    .hero-ctas { flex-direction: column; }
    .btn-primary, .btn-outline { justify-content: center; }
}

/* ── PREMIUM UPGRADE v1.2 ── */
body { font-size: 17px; }
.hero-photo {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 610px;
    display: flex;
    align-items: center;
    /* Hero image: add via WP Admin → Strona główna → Hero: zdjęcie premium */
}
.hero-photo:not([style]) {
    background:
        radial-gradient(circle at 82% 28%, rgba(245,201,110,.20), transparent 28%),
        linear-gradient(135deg, #0b2518 0%, #143b27 48%, #07180f 100%);
}
.hero h1 { text-wrap: balance; letter-spacing: -.035em; }
.hero-sub { font-size: clamp(1.08rem, 1.6vw, 1.28rem); }
.nav-inner { height: 66px; }
.nav-logo { font-size: 1.38rem; }
.nav-menu li a { font-size: .94rem; padding: 8px 13px; }
.planner { position: relative; z-index: 2; }
.planner-inner { margin-top: -34px; background: rgba(253,248,240,.96); border: 1px solid var(--sand-200); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.planner-card { box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.planner-card:hover, .topic-card:hover, .pcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.planner-small { font-size: .92rem; color: var(--gray-700); }
.data-note {
    margin: -8px 0 22px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: #fff7e7;
    border: 1px solid rgba(212,135,42,.25);
    color: #76511e;
    font-size: .88rem;
    line-height: 1.45;
}
.summary-box {
    background: linear-gradient(180deg, #ffffff 0%, #fbfaf6 100%);
    border: 1px solid var(--sand-200);
    box-shadow: var(--shadow-sm);
}
.toc {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-left: 5px solid var(--green-600);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    margin: 26px 0 30px;
    box-shadow: var(--shadow-sm);
}
.toc-title { font-weight: 800; color: var(--green-900); margin-bottom: 10px; }
.toc-list { display: grid; gap: 8px; }
.toc-list a { color: var(--green-700); font-weight: 650; }
.toc-list a:hover { text-decoration: underline; }
.prose h2 { scroll-margin-top: 94px; }
.article-h1, .guide-h1, .section-title { text-wrap: balance; }
.article-main, .guide-body { font-size: 1.03rem; }
.breadcrumbs-wrap { position: relative; z-index: 3; }
.afrykarium-block { box-shadow: var(--shadow-lg); }
@media (min-width: 961px) {
    .planner-inner { position: relative; }
}
@media (max-width: 960px) {
    .hero-photo { min-height: 520px; }
    .planner-inner { margin-top: 0; border-radius: 0; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .hero-photo { min-height: auto; padding-bottom: 40px; }
    .nav-inner { height: 62px; }
    .nav-logo-img { max-height: 34px; }
}

/* ══════════════════════════════════════════════════════════════
   CUSTOMIZER ADDITIONS v1.2.2
   ══════════════════════════════════════════════════════════════ */

/* ── Nav: tagline pod logo ── */
.nav-logo--with-tagline {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.1;
}
.nav-tagline {
    display: block;
    font-family: var(--font-body);
    font-size: .6rem;
    font-weight: 400;
    color: rgba(255,255,255,.5);
    letter-spacing: .04em;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}

/* ── HERO SPLIT LAYOUT ── */
/* Aktywowany gdy Customizer → Hero → Układ = "split" */

.hero-layout-split {
    /* Override: nie używa background-image, więc ciemne tło punktowe */
    background: var(--green-900);
    background-image: none !important; /* anuluje fallback :not([style]) */
    padding: 0;
    min-height: 0;
    align-items: stretch;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 580px;
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
}

/* Kolumna lewa: tekst */
.hero-split-text {
    padding: 72px 48px 72px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Kolumna prawa: zdjęcie */
.hero-split-photo {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    overflow: hidden;
}

/* Subtelna ciemna nakładka na split-photo od lewej krawędzi */
.hero-split-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13,43,26,.35) 0%, transparent 40%);
    pointer-events: none;
}

/* Placeholder gdy brak zdjęcia w split-mode */
.hero-split-no-photo {
    background: linear-gradient(135deg, #143b27 0%, #0b2518 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-split-placeholder {
    display: flex;
    gap: 24px;
    font-size: 4rem;
    opacity: .18;
    filter: grayscale(1);
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px;
}

/* ── Full-background mode ── */
/* Gdy układ = 'full' zachowuje się jak poprzednio */
.hero-layout-full .hero-content { max-width: 760px; }

/* Zdjęcie w split: lekki efekt hover parallax */
@media (hover: hover) {
    .hero-split-photo {
        transition: transform 8s ease-out;
    }
    .hero-split:hover .hero-split-photo {
        transform: scale(1.02);
    }
}

/* ── Responsive: split ── */
@media (max-width: 960px) {
    .hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    /* Tekst na górze */
    .hero-split-text {
        padding: 48px 20px 36px;
        order: 1;
    }
    /* Zdjęcie pod tekstem */
    .hero-split-photo {
        order: 2;
        min-height: 260px;
    }
    .hero-split-photo::before {
        background: linear-gradient(180deg, rgba(13,43,26,.4) 0%, transparent 50%);
    }
}

@media (max-width: 640px) {
    .hero-split-text { padding: 36px 20px 28px; }
    .hero-split-photo { min-height: 200px; }
    .nav-tagline { display: none; } /* za mało miejsca na mobile */
}

/* ══════════════════════════════════════════════════════════════
   VISUAL FIX v1.2.3 — premium spacing, grid alignment, readable facts
   ══════════════════════════════════════════════════════════════ */

:root {
    --max-w: 1180px;
}

body {
    font-size: 16.5px;
    line-height: 1.68;
}

.section {
    padding: clamp(56px, 6vw, 84px) 0;
}

.section-head {
    max-width: 720px;
    margin-bottom: 34px;
}

.section-title {
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.section-sub {
    font-size: clamp(1rem, 1.25vw, 1.14rem);
    line-height: 1.6;
    color: var(--gray-700);
}

/* Topic cards: stable premium 3 × 2 layout instead of awkward 5 + 1 row */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
    max-width: 100%;
}

.topic-card {
    min-height: 232px;
    padding: 30px 28px 26px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.topic-icon {
    font-size: 2.05rem;
    line-height: 1;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.topic-title {
    font-size: clamp(1.18rem, 1.5vw, 1.38rem);
    line-height: 1.18;
    letter-spacing: -0.018em;
    margin-bottom: 10px;
}

.topic-desc {
    font-size: .98rem;
    line-height: 1.58;
    color: var(--gray-700);
    max-width: 30ch;
}

.topic-link {
    margin-top: auto;
    padding-top: 18px;
    font-size: .95rem;
    font-weight: 750;
}

/* Info cards: consistent readable rows, no text jumping/overflowing */
.info-block {
    padding: clamp(24px, 3vw, 34px);
    border-radius: 22px;
}

.info-block h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(1.32rem, 2vw, 1.7rem);
    line-height: 1.16;
    letter-spacing: -0.025em;
}

.info-block .qf-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 1rem;
    text-align: left;
}

.info-block .qf-item:last-child {
    border-bottom: none;
}

.info-block .qf-icon {
    width: 34px;
    min-width: 34px;
    height: 28px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-size: 1.18rem;
    line-height: 1.2;
    text-align: center;
    margin-top: 1px;
}

.info-block .qf-text {
    color: var(--gray-700) !important;
    line-height: 1.55;
    text-align: left;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: normal;
}

.info-block .qf-text strong {
    color: var(--green-900) !important;
    font-weight: 800;
    white-space: nowrap;
}

.two-col {
    align-items: start;
    gap: clamp(24px, 4vw, 42px);
}

@media (max-width: 1100px) {
    .topics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body { font-size: 16px; }

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .topics-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .topic-card {
        min-height: auto;
        padding: 24px 22px;
    }

    .topic-desc {
        max-width: none;
    }

    .info-block .qf-item {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 12px;
        padding: 13px 0;
    }

    .info-block .qf-icon {
        width: 30px;
        min-width: 30px;
    }

    .info-block .qf-text strong {
        white-space: normal;
    }
}


/* Premium vector icons */
.zoo-svg-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(246,250,244,.96));
    border: 1px solid rgba(11, 94, 45, .14);
    box-shadow: 0 10px 24px rgba(9, 31, 18, .08);
    color: var(--green-800);
}
.zoo-svg-icon svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.topic-card:hover .zoo-svg-icon {
    color: var(--amber);
    border-color: rgba(221, 142, 31, .28);
    transform: translateY(-1px);
}
.topic-icon .zoo-svg-icon {
    width: 46px;
    height: 46px;
}
.info-block .qf-icon .zoo-svg-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    box-shadow: none;
    background: rgba(11, 94, 45, .06);
}
.info-block .qf-icon .zoo-svg-icon svg {
    width: 19px;
    height: 19px;
}
.quick-facts-box .qf-icon .zoo-svg-icon {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.18);
    color: #fff;
    box-shadow: none;
}

/* ============================================================
   v1.2.7 — Premium icon system, quick navigation, back-to-top
   ============================================================ */
:root {
    --zoo-gold: #d99224;
    --zoo-gold-soft: #fff2cf;
    --zoo-ink: #08351f;
}

/* Unified premium icon treatment across the homepage */
.zoo-svg-icon {
    position: relative;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--green-800);
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,.98), rgba(255,255,255,.68) 46%, rgba(232,242,228,.92) 100%),
        linear-gradient(145deg, rgba(255,255,255,.95), rgba(241,248,238,.96));
    border: 1px solid rgba(11, 94, 45, .18);
    box-shadow: 0 14px 34px rgba(9, 31, 18, .10), inset 0 1px 0 rgba(255,255,255,.75);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, color .22s ease, background .22s ease;
}

.zoo-svg-icon::after {
    content: '';
    position: absolute;
    inset: auto 10px 7px 10px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(217,146,36,.45), transparent);
}

.zoo-svg-icon svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.topic-card:hover .zoo-svg-icon,
.internal-link:hover .zoo-svg-icon,
.info-block .qf-item:hover .zoo-svg-icon {
    transform: translateY(-2px);
    color: var(--zoo-gold);
    border-color: rgba(217,146,36,.35);
    box-shadow: 0 18px 40px rgba(9, 31, 18, .13), inset 0 1px 0 rgba(255,255,255,.8);
}

.topic-icon .zoo-svg-icon { width: 52px; height: 52px; }
.topic-icon .zoo-svg-icon svg { width: 27px; height: 27px; }

.info-block h3 .zoo-svg-icon,
.tip-icon .zoo-svg-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    flex: 0 0 42px;
}
.info-block h3 .zoo-svg-icon svg,
.tip-icon .zoo-svg-icon svg { width: 22px; height: 22px; }

.info-block .qf-icon .zoo-svg-icon,
.qf-check .zoo-svg-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(244,250,241,.98), rgba(255,255,255,.94));
    box-shadow: 0 8px 20px rgba(9, 31, 18, .07);
}
.info-block .qf-icon .zoo-svg-icon svg,
.qf-check .zoo-svg-icon svg { width: 18px; height: 18px; }

.article-thumb .zoo-svg-icon {
    width: 74px;
    height: 74px;
    border-radius: 24px;
}
.article-thumb .zoo-svg-icon svg { width: 38px; height: 38px; }

/* Cleaner quick navigation: balanced 4 + 4 grid with icons */
.quick-nav-head {
    display: grid;
    gap: 8px;
    margin-bottom: 24px;
    max-width: 760px;
}
.quick-nav-title {
    margin: 0;
    font-family: var(--font-serif);
    color: var(--green-950);
    font-size: clamp(1.65rem, 2.5vw, 2.35rem);
    line-height: 1.1;
    letter-spacing: -.03em;
}
.quick-nav-sub {
    margin: 0;
    color: var(--gray-600);
    font-size: 1.02rem;
    line-height: 1.55;
}
.internal-links.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.internal-link {
    position: relative;
    min-height: 86px;
    padding: 16px 48px 16px 16px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 13px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(11,94,45,.10);
    box-shadow: 0 10px 28px rgba(9,31,18,.05);
    color: var(--green-900);
    font-weight: 800;
    letter-spacing: -.01em;
}
.internal-link::before { content: none !important; }
.internal-link span { line-height: 1.2; }
.internal-link em {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-style: normal;
    color: var(--zoo-gold);
    opacity: .95;
    transition: transform .2s ease;
}
.internal-link:hover {
    background: #fff;
    border-color: rgba(217,146,36,.24);
    box-shadow: 0 16px 40px rgba(9,31,18,.08);
    transform: translateY(-2px);
}
.internal-link:hover em { transform: translate(4px, -50%); }
.internal-link .zoo-svg-icon {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    flex: 0 0 38px;
}
.internal-link .zoo-svg-icon svg { width: 20px; height: 20px; }

/* Back to top button */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
    background: linear-gradient(145deg, var(--green-900), var(--green-700));
    color: #fff;
    box-shadow: 0 18px 44px rgba(9,31,18,.28);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .22s ease, transform .22s ease, box-shadow .22s ease;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1;
}
.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.back-to-top:hover {
    box-shadow: 0 22px 52px rgba(9,31,18,.35);
    transform: translateY(-2px);
}
.back-to-top span { display: block; margin-top: -2px; }

@media (max-width: 1024px) {
    .internal-links.quick-nav-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .internal-links.quick-nav-grid { grid-template-columns: 1fr; }
    .internal-link { min-height: 74px; }
    .back-to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}

/* ============================================================
   v1.2.8 — Replace remaining emoji-style homepage icons
   ============================================================ */
.hero-badge .zoo-svg-icon,
.btn-primary .zoo-svg-icon,
.btn-outline .zoo-svg-icon,
.planner-card-label .zoo-svg-icon,
.planner-tip strong .zoo-svg-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 8px;
    box-shadow: none;
    background: rgba(255,255,255,.13);
    border-color: rgba(255,255,255,.20);
    color: currentColor;
    vertical-align: middle;
}
.hero-badge .zoo-svg-icon svg,
.btn-primary .zoo-svg-icon svg,
.btn-outline .zoo-svg-icon svg,
.planner-card-label .zoo-svg-icon svg,
.planner-tip strong .zoo-svg-icon svg {
    width: 15px;
    height: 15px;
}
.hero-badge .zoo-svg-icon::after,
.btn-primary .zoo-svg-icon::after,
.btn-outline .zoo-svg-icon::after,
.planner-card-label .zoo-svg-icon::after,
.planner-tip strong .zoo-svg-icon::after,
.info-label-icon .zoo-svg-icon::after,
.qf-step-number::after {
    display: none;
}
.btn-primary,
.btn-outline,
.hero-badge,
.planner-card-label,
.planner-tip strong,
.rating-title,
.section-title-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.planner-card-label { display: flex; }
.planner-tip strong { margin-bottom: 8px; }

.info-label-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.info-label-icon .zoo-svg-icon {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 9px;
    box-shadow: none;
    background: rgba(11,94,45,.055);
    border-color: rgba(11,94,45,.12);
}
.info-label-icon .zoo-svg-icon svg {
    width: 15px;
    height: 15px;
}

.quick-facts-box .qf-step-number {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: .82rem;
    font-weight: 800;
    color: var(--green-900);
    background: linear-gradient(145deg, #f6d889, #d99224);
    border: 1px solid rgba(255,255,255,.28);
    box-shadow: 0 8px 20px rgba(0,0,0,.14);
}

.rating-title .zoo-svg-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 12px;
    color: var(--green-800);
    box-shadow: none;
}
.rating-title .zoo-svg-icon svg { width: 18px; height: 18px; }
.rating-title .zoo-svg-icon::after { display: none; }

.section-title-with-icon .zoo-svg-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 18px;
}
.section-title-with-icon .zoo-svg-icon svg { width: 28px; height: 28px; }

.info-block h3 {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 700px) {
    .section-title-with-icon { align-items: flex-start; }
    .section-title-with-icon .zoo-svg-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }
    .btn-primary .zoo-svg-icon,
    .btn-outline .zoo-svg-icon { display: none; }
}

/* Premium Polylang language switcher */
.zoo-lang-switcher{
    display:flex;
    align-items:center;
    gap:6px;
    margin-left:14px;
    padding:4px;
    border:1px solid rgba(21,128,61,.16);
    border-radius:999px;
    background:rgba(255,255,255,.82);
    box-shadow:0 8px 24px rgba(15,23,42,.06);
    backdrop-filter:blur(10px);
}
.zoo-lang-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:34px;
    height:30px;
    padding:0 10px;
    border-radius:999px;
    font-size:12px;
    line-height:1;
    font-weight:800;
    letter-spacing:.04em;
    text-decoration:none!important;
    color:#234333;
    transition:background .18s ease,color .18s ease,transform .18s ease;
}
.zoo-lang-link:hover{background:rgba(21,128,61,.10);transform:translateY(-1px)}
.zoo-lang-link.is-active{background:#14532d;color:#fff;box-shadow:0 6px 16px rgba(20,83,45,.22)}
@media (max-width: 920px){
    .zoo-lang-switcher{margin-left:auto;margin-right:8px;gap:3px;padding:3px}
    .zoo-lang-link{min-width:30px;height:28px;padding:0 8px;font-size:11px}
}
@media (max-width: 520px){
    .zoo-lang-link{min-width:28px;padding:0 7px}
}

/* ── FEATURED IMAGE HERO FOR POSTS/PAGES ── */
.article-hero {
    position: relative;
    overflow: hidden;
    background: var(--green-900);
    color: #fff;
    padding: clamp(64px, 8vw, 112px) 20px clamp(56px, 7vw, 92px);
}
.article-hero.has-bg {
    background-image: linear-gradient(90deg, rgba(4, 43, 25, .92) 0%, rgba(4, 43, 25, .82) 42%, rgba(4, 43, 25, .62) 100%), var(--article-hero-bg);
    background-size: cover;
    background-position: center;
}
.article-hero.has-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 78% 35%, rgba(255,255,255,.08), transparent 34%);
    pointer-events: none;
}
.article-hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--max-w);
    margin: 0 auto;
}
.article-hero .article-h1 {
    max-width: 860px;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 2px 22px rgba(0,0,0,.22);
}
.article-hero .article-meta-bar {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    color: rgba(255,255,255,.78);
}
.article-hero.page-hero {
    padding-top: clamp(56px, 7vw, 96px);
    padding-bottom: clamp(48px, 6vw, 82px);
}
@media (max-width: 720px) {
    .article-hero { padding: 48px 18px 44px; }
    .article-hero.has-bg { background-position: center; }
}

/* v1.3.3: hide guide category/badge in hero */
.guide-hero .guide-tag{display:none!important;}
