/* ========== VARIABLES ========== */
:root, [data-theme="light"] {
    --bg-primary: #F7F8FC; --bg-secondary: #FFFFFF; --bg-tertiary: #EEF1F8;
    --bg-card: #FFFFFF; --bg-card-hover: #FFF8F0; --bg-nav: #FFFFFF;
    --bg-header: linear-gradient(135deg, #FF6800 0%, #FF8C33 100%);
    --bg-footer: #2D3748; --bg-dropdown: #FFFFFF;
    --text-primary: #1A202C; --text-secondary: #4A5568; --text-tertiary: #718096;
    --text-on-header: #FFFFFF; --text-on-footer: #E2E8F0;
    --text-link: #FC8C33; --text-link-hover: #E07420;
    --accent-primary: #FF6800; --accent-blue: #FF6800; --accent-green: #5B9F6B; --accent-warm: #FF6800;
    --accent-coral: #E8735A; --accent-purple: #FF8C33;
    --border-light: #E2E8F0; --border-card: #E8ECF4;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06); --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12); --shadow-card-hover: 0 8px 25px rgba(255,104,0,0.15);
    --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-xl: 24px;
    --nav-shadow: 0 2px 20px rgba(0,0,0,0.08);
    --toggle-bg: #E2E8F0; --toggle-knob: #FFFFFF; --toggle-icon: #FF6800;
    --search-border: #E2E8F0; --badge-bg: rgba(255,104,0,0.1); --badge-text: #FF6800;
}
[data-theme="dark"] {
    --bg-primary: #0F1117; --bg-secondary: #1A1D2E; --bg-tertiary: #232738;
    --bg-card: #1E2235; --bg-card-hover: #2A2520; --bg-nav: #1A1D2E;
    --bg-header: linear-gradient(135deg, #CC5500 0%, #FF6800 100%);
    --bg-footer: #0B0D14; --bg-dropdown: #1E2235;
    --text-primary: #E8ECF4; --text-secondary: #A0AEC0; --text-tertiary: #718096;
    --text-on-header: #FFFFFF; --text-on-footer: #A0AEC0;
    --text-link: #FC8C33; --text-link-hover: #FFA55C;
    --accent-primary: #FF6800; --accent-blue: #FF8C33; --accent-green: #6DB87D; --accent-warm: #FF8C33;
    --accent-coral: #ED8A74; --accent-purple: #FFA55C;
    --border-light: #2D3348; --border-card: #2D3348;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3); --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.5); --shadow-card-hover: 0 8px 25px rgba(255,104,0,0.1);
    --nav-shadow: 0 2px 20px rgba(0,0,0,0.3);
    --toggle-bg: #2D3348; --toggle-knob: #FF8C33; --toggle-icon: #FF8C33;
    --search-border: #2D3348; --badge-bg: rgba(255,104,0,0.15); --badge-text: #FF8C33;
}

/* ========== RESET ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary); color: var(--text-primary);
    line-height: 1.7; transition: background 0.4s, color 0.3s;
    -webkit-font-smoothing: antialiased;
}

/* ========== COMPACT HEADER ========== */
.header-compact {
    background: var(--bg-header); color: var(--text-on-header);
    padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: center; gap: 0.8rem;
}
.header-compact i { font-size: 1.6rem; animation: float 3s ease-in-out infinite; }
.header-compact h1 { font-size: 1.3rem; font-weight: 700; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }

/* ========== HERO (LANDING) ========== */
.hero {
    position: relative; min-height: 480px; display: flex; align-items: center; justify-content: center;
    text-align: center; color: #fff; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.45); z-index: 0;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; padding: 2rem 1.5rem; }
.hero h2 { font-size: 2.8rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.8rem; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.hero p { font-size: 1.15rem; opacity: 0.92; font-weight: 300; margin-bottom: 2rem; }
.hero .search-box { background: rgba(255,255,255,0.95); border: none; box-shadow: 0 8px 40px rgba(0,0,0,0.2); }
[data-theme="dark"] .hero .search-box { background: rgba(30,34,53,0.95); }
.hero .search-box input { color: var(--text-primary); }
.hero .search-box input::placeholder { color: var(--text-tertiary); }
.hero-search-wrapper { max-width: 560px; margin: 0 auto; }
.search-results-dropdown {
    position: absolute; top: 100%; left: 0; right: 0; margin-top: 0.5rem;
    background: var(--bg-card); border: 1px solid var(--border-card);
    border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
    max-height: 320px; overflow-y: auto; display: none; z-index: 200;
}
.search-results-dropdown.visible { display: block; }
.search-results-dropdown a {
    display: flex; align-items: center; gap: 0.8rem; padding: 0.8rem 1.2rem;
    color: var(--text-primary); text-decoration: none; font-size: 0.9rem;
    border-bottom: 1px solid var(--border-light); transition: background 0.2s;
}
.search-results-dropdown a:last-child { border-bottom: none; }
.search-results-dropdown a:hover { background: var(--bg-tertiary); }
.search-results-dropdown .sr-cat {
    font-size: 0.72rem; color: var(--badge-text); background: var(--badge-bg);
    padding: 0.15rem 0.5rem; border-radius: 8px; white-space: nowrap;
}

/* ========== DROPDOWN NAV ========== */
.nav {
    background: var(--bg-nav); position: sticky; top: 0; z-index: 1000;
    box-shadow: var(--nav-shadow); border-bottom: 1px solid var(--border-light);
}
.nav-inner {
    max-width: 1280px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; padding: 0 1rem;
}
.nav-menu { list-style: none; display: flex; align-items: center; flex: 1; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    display: flex; align-items: center; gap: 0.4rem;
    color: var(--text-secondary); text-decoration: none; padding: 1rem 1rem;
    font-weight: 500; font-size: 0.9rem; white-space: nowrap;
    transition: color 0.2s; border-bottom: 3px solid transparent;
}
.nav-menu > li > a:hover, .nav-menu > li:hover > a,
.nav-menu > li.active > a { color: var(--accent-blue); border-bottom-color: var(--accent-blue); }
.nav-menu > li > a .caret { font-size: 0.6rem; margin-left: 0.2rem; transition: transform 0.3s; }
.nav-menu > li:hover > a .caret { transform: rotate(180deg); }
.dropdown {
    position: absolute; top: 100%; left: 0; min-width: 240px;
    background: var(--bg-dropdown); border: 1px solid var(--border-light);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden;
    transform: translateY(-8px); transition: all 0.25s ease; z-index: 100;
    padding: 0.4rem 0;
}
.nav-menu > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.7rem 1.2rem; color: var(--text-secondary); text-decoration: none;
    font-size: 0.88rem; font-weight: 500; transition: all 0.2s;
}
.dropdown a:hover { background: var(--bg-tertiary); color: var(--accent-blue); padding-left: 1.5rem; }
.dropdown a i { font-size: 0.75rem; color: var(--text-tertiary); width: 16px; text-align: center; }
.dropdown .dd-count {
    margin-left: auto; font-size: 0.72rem; color: var(--text-tertiary);
    background: var(--bg-tertiary); padding: 0.1rem 0.5rem; border-radius: 10px;
}

/* Theme toggle */
.theme-toggle { display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem; flex-shrink: 0; margin-left: 0.5rem; }
.theme-toggle-btn {
    position: relative; width: 52px; height: 28px; background: var(--toggle-bg);
    border: none; border-radius: 14px; cursor: pointer; transition: all 0.4s; padding: 0;
}
.theme-toggle-btn::after {
    content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px;
    background: var(--toggle-knob); border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.68,-0.15,0.27,1.15);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
[data-theme="dark"] .theme-toggle-btn::after { left: 27px; }
.theme-toggle-icon { font-size: 1rem; color: var(--toggle-icon); transition: transform 0.4s; }
[data-theme="dark"] .theme-toggle-icon { transform: rotate(360deg); }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; color: var(--text-primary); font-size: 1.4rem; }

/* ========== SEARCH ========== */
.search-wrapper { max-width: 600px; margin: 1.5rem auto 2rem; padding: 0 1rem; position: relative; z-index: 50; }
.search-box {
    display: flex; align-items: center; background: var(--bg-card);
    border: 2px solid var(--search-border); border-radius: var(--radius-xl);
    padding: 0.2rem 0.5rem 0.2rem 1.5rem; box-shadow: var(--shadow-sm);
    transition: border-color 0.3s;
}
.search-box:focus-within { border-color: var(--accent-blue); box-shadow: var(--shadow-lg); }
.search-box i { color: var(--text-tertiary); }
.search-box input {
    flex: 1; border: none; background: transparent; padding: 0.85rem 1rem;
    font-size: 1rem; font-family: inherit; color: var(--text-primary); outline: none;
}
.search-box input::placeholder { color: var(--text-tertiary); }
.search-clear { background: none; border: none; color: var(--text-tertiary); cursor: pointer; padding: 0.5rem; display: none; }
.search-clear.visible { display: block; }

/* ========== BREADCRUMB ========== */
.breadcrumb {
    display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
    padding: 0; margin-bottom: 1.5rem; font-size: 0.88rem;
}
.breadcrumb a { color: var(--text-link); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { color: var(--text-link-hover); text-decoration: underline; }
.breadcrumb-sep { color: var(--text-tertiary); }
.breadcrumb-current { color: var(--text-tertiary); font-weight: 500; }

/* ========== CONTAINER / STATS ========== */
.container { max-width: 1280px; margin: 0 auto; padding: 2.5rem 1.5rem; }
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; margin-bottom: 3rem; }
.stat-card {
    background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-md);
    padding: 1.5rem; text-align: center; box-shadow: var(--shadow-sm); transition: transform 0.3s;
}
.stat-card:hover { transform: translateY(-3px); }
.stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 0.8rem; font-size: 1.2rem; }
.stat-card:nth-child(1) .stat-icon { background: rgba(74,144,217,0.12); color: var(--accent-blue); }
.stat-card:nth-child(2) .stat-icon { background: rgba(91,159,107,0.12); color: var(--accent-green); }
.stat-card:nth-child(3) .stat-icon { background: rgba(245,166,35,0.12); color: var(--accent-warm); }
.stat-number { font-size: 2.2rem; font-weight: 800; line-height: 1.1; }
.stat-label { font-size: 0.85rem; color: var(--text-tertiary); font-weight: 500; margin-top: 0.3rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* ========== FEATURED ARTICLES (LANDING) ========== */
.section-title { font-size: 1.6rem; font-weight: 700; color: var(--text-primary); margin-bottom: 1.5rem; }
.featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.featured-card {
    display: flex; flex-direction: column; background: var(--bg-card);
    border: 1px solid var(--border-card); border-radius: var(--radius-lg);
    overflow: hidden; text-decoration: none; transition: all 0.3s;
}
.featured-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); border-color: var(--accent-blue); }
.featured-card .fc-img { width: 100%; height: 200px; object-fit: cover; }
.featured-card .fc-body { padding: 1.3rem 1.5rem; flex: 1; }
.featured-card .fc-cat {
    display: inline-block; font-size: 0.72rem; font-weight: 600; color: var(--badge-text);
    background: var(--badge-bg); padding: 0.2rem 0.7rem; border-radius: 12px; margin-bottom: 0.6rem;
}
.featured-card .fc-title { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); line-height: 1.4; transition: color 0.2s; }
.featured-card:hover .fc-title { color: var(--text-link); }

/* ========== CATEGORY OVERVIEW CARDS (LANDING) ========== */
.cat-overview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.2rem; margin-bottom: 2rem; }
.cat-overview-card {
    background: var(--bg-card); border: 1px solid var(--border-card);
    border-radius: var(--radius-lg); padding: 2rem 1.5rem; text-align: center;
    transition: all 0.3s; text-decoration: none; display: block;
}
.cat-overview-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--accent-blue); }
.cat-overview-card .coc-icon {
    width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center;
    justify-content: center; margin: 0 auto 1rem; font-size: 1.6rem;
}
.cat-overview-card:nth-child(1) .coc-icon { background: rgba(232,115,90,0.12); color: var(--accent-coral); }
.cat-overview-card:nth-child(2) .coc-icon { background: rgba(91,159,107,0.12); color: var(--accent-green); }
.cat-overview-card:nth-child(3) .coc-icon { background: rgba(74,144,217,0.12); color: var(--accent-blue); }
.cat-overview-card:nth-child(4) .coc-icon { background: rgba(245,166,35,0.12); color: var(--accent-warm); }
.cat-overview-card:nth-child(5) .coc-icon { background: rgba(139,92,246,0.12); color: var(--accent-purple); }
.cat-overview-card .coc-title { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.4rem; }
.cat-overview-card .coc-desc { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.8rem; line-height: 1.5; }
.cat-overview-card .coc-count { font-size: 0.78rem; color: var(--badge-text); font-weight: 600; }
.cat-overview-card:hover .coc-title { color: var(--text-link); }

/* ========== CATEGORIES ========== */
.category-section { margin-bottom: 2.5rem; scroll-margin-top: 70px; }
.category-header {
    display: flex; align-items: center; gap: 1rem; padding: 1.5rem 2rem;
    background: var(--bg-card); border: 1px solid var(--border-card);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    cursor: pointer; user-select: none; transition: background 0.2s;
}
.category-header:hover { background: var(--bg-card-hover); }
.category-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.cat-zdravie .category-icon { background: rgba(232,115,90,0.12); color: var(--accent-coral); }
.cat-vyziva .category-icon { background: rgba(91,159,107,0.12); color: var(--accent-green); }
.cat-vychova .category-icon { background: rgba(74,144,217,0.12); color: var(--accent-blue); }
.cat-mam-psa .category-icon { background: rgba(245,166,35,0.12); color: var(--accent-warm); }
.cat-plemena .category-icon { background: rgba(139,92,246,0.12); color: var(--accent-purple); }
.category-header h2 { font-size: 1.5rem; font-weight: 700; flex: 1; }
.category-badge { background: var(--badge-bg); color: var(--badge-text); font-size: 0.78rem; font-weight: 600; padding: 0.3rem 0.8rem; border-radius: 20px; }
.category-toggle { color: var(--text-tertiary); font-size: 1rem; transition: transform 0.3s; }
.category-section.collapsed .category-toggle { transform: rotate(-90deg); }
.category-section.collapsed .category-header { border-radius: var(--radius-lg); }
.category-body { overflow: hidden; }
.category-section.collapsed .category-body { max-height: 0 !important; }

/* ========== SUBCATEGORY ========== */
.subcategory { background: var(--bg-card); border: 1px solid var(--border-card); border-top: none; padding: 1.5rem 2rem; }
.subcategory:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.subcategory-header { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.2rem; padding-bottom: 0.8rem; border-bottom: 2px solid var(--bg-tertiary); }
.subcategory-header h3 { font-size: 1.15rem; font-weight: 600; color: var(--text-link); }
.sub-count { font-size: 0.78rem; font-weight: 600; color: var(--text-tertiary); background: var(--bg-tertiary); padding: 0.2rem 0.6rem; border-radius: 10px; }

/* ========== ARTICLE CARDS ========== */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.2rem; }
.article-card {
    display: flex; flex-direction: column; background: var(--bg-card);
    border: 1px solid var(--border-card); border-radius: var(--radius-md);
    transition: all 0.3s ease; text-decoration: none; overflow: hidden;
}
.article-card:hover { border-color: var(--accent-blue); transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.card-thumb { width: 100%; height: 170px; object-fit: cover; display: block; background: var(--bg-tertiary); }
.card-body { padding: 1rem 1.2rem; flex: 1; display: flex; align-items: flex-start; }
.card-title { font-size: 0.93rem; font-weight: 600; color: var(--text-primary); line-height: 1.5; transition: color 0.2s; }
.article-card:hover .card-title { color: var(--text-link); }
.article-card.hidden, .subcategory.hidden, .category-section.hidden { display: none; }
.no-results { text-align: center; padding: 3rem; color: var(--text-tertiary); font-size: 1.1rem; display: none; }
.no-results.visible { display: block; }
.no-results i { font-size: 3rem; margin-bottom: 1rem; display: block; color: var(--border-light); }

/* ========== ARTICLE DETAIL ========== */
.article-detail {
    background: var(--bg-card); border: 1px solid var(--border-card);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
    max-width: 860px; margin: 0 auto; overflow: hidden;
}
.article-hero { width: 100%; height: 380px; object-fit: cover; display: block; }
.article-detail-body { padding: 2.5rem; }
.back-link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--text-link); text-decoration: none; font-weight: 500; font-size: 0.95rem;
    margin-bottom: 1.5rem; transition: color 0.2s;
}
.back-link:hover { color: var(--text-link-hover); }
.article-detail h1 { font-size: 2rem; font-weight: 800; color: var(--text-primary); margin-bottom: 1.5rem; line-height: 1.3; }
.article-content { color: var(--text-secondary); line-height: 1.85; }
.article-content h2 { font-size: 1.4rem; font-weight: 700; color: var(--text-primary); margin: 2rem 0 0.8rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--bg-tertiary); }
.article-content h3 { font-size: 1.15rem; font-weight: 600; color: var(--text-primary); margin: 1.5rem 0 0.6rem; }
.article-content p { margin-bottom: 1rem; }
.article-content ul, .article-content ol { margin: 0.8rem 0 1rem 1.5rem; }
.article-content li { margin-bottom: 0.4rem; }
.article-content strong, .article-content b { color: var(--text-primary); font-weight: 600; }
.article-content blockquote {
    border-left: 4px solid var(--accent-blue); background: var(--bg-tertiary);
    padding: 1rem 1.5rem; margin: 1rem 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic;
}
.article-content table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.article-content th, .article-content td { padding: 0.6rem 1rem; border: 1px solid var(--border-light); text-align: left; }
.article-content th { background: var(--bg-tertiary); font-weight: 600; }

/* ========== SCROLL TOP ========== */
.scroll-top {
    position: fixed; bottom: 2rem; right: 2rem; width: 48px; height: 48px;
    border-radius: 50%; background: var(--accent-blue); color: #fff; border: none;
    cursor: pointer; font-size: 1.2rem; box-shadow: var(--shadow-md);
    opacity: 0; transform: translateY(20px); transition: all 0.3s; z-index: 90;
    display: flex; align-items: center; justify-content: center;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-3px); }

/* ========== FOOTER ========== */
.footer { background: var(--bg-footer); color: var(--text-on-footer); text-align: center; padding: 2.5rem 1.5rem; font-size: 0.9rem; }

.fade-in { opacity: 0; transform: translateY(16px); animation: fadeInUp 0.5s ease forwards; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* ========== RESPONSIVE TABLET ========== */
@media (max-width: 900px) {
    .articles-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .nav-menu > li > a { padding: 0.9rem 0.7rem; font-size: 0.85rem; }
    .hero h2 { font-size: 2.2rem; }
    .featured-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}

/* ========== RESPONSIVE MOBILE ========== */
@media (max-width: 768px) {
    .header-compact h1 { font-size: 1.1rem; }
    .hero { min-height: 380px; }
    .hero h2 { font-size: 1.7rem; }
    .hero p { font-size: 0.95rem; }

    .nav-inner { flex-wrap: wrap; }
    .nav-hamburger { display: flex; align-items: center; }
    .nav-menu {
        display: none; flex-direction: column; width: 100%; order: 3;
        border-top: 1px solid var(--border-light); max-height: 70vh; overflow-y: auto;
    }
    .nav-menu.open { display: flex; }
    .nav-menu > li > a {
        padding: 0.85rem 1.2rem; border-bottom: 1px solid var(--border-light);
        border-left: 3px solid transparent; justify-content: space-between;
    }
    .nav-menu > li > a:hover { border-left-color: var(--accent-blue); background: var(--bg-tertiary); border-bottom-color: var(--border-light); }
    .dropdown {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: none; border-radius: 0;
        display: none; background: var(--bg-tertiary);
    }
    .nav-menu > li.dd-open .dropdown { display: block; }
    .dropdown a { padding-left: 2.5rem; }
    .theme-toggle { order: 2; margin-left: auto; }

    .container { padding: 1.5rem 1rem; }
    .stats { gap: 0.6rem; }
    .stat-card { padding: 1rem 0.5rem; }
    .stat-icon { width: 36px; height: 36px; font-size: 1rem; margin-bottom: 0.5rem; }
    .stat-number { font-size: 1.6rem; }
    .stat-label { font-size: 0.7rem; }
    .category-header { padding: 1.2rem 1rem; gap: 0.8rem; }
    .category-icon { width: 40px; height: 40px; font-size: 1.1rem; }
    .category-header h2 { font-size: 1.15rem; }
    .subcategory { padding: 1.2rem 1rem; }
    .articles-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
    .card-thumb { height: 120px; }
    .card-body { padding: 0.7rem 0.9rem; }
    .card-title { font-size: 0.82rem; }
    .article-hero { height: 220px; }
    .article-detail-body { padding: 1.5rem 1rem; }
    .article-detail h1 { font-size: 1.4rem; }
    .scroll-top { bottom: 1.2rem; right: 1.2rem; width: 42px; height: 42px; }
    .featured-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
    .featured-card .fc-img { height: 140px; }
    .featured-card .fc-body { padding: 0.9rem 1rem; }
    .featured-card .fc-title { font-size: 0.9rem; }
    .cat-overview-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
    .cat-overview-card { padding: 1.2rem 1rem; }
}

@media (max-width: 420px) {
    .articles-grid { grid-template-columns: 1fr; }
    .card-thumb { height: 180px; }
    .featured-grid { grid-template-columns: 1fr; }
    .cat-overview-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE DOPLNKY — mobil/tablet/landscape/desktop
   Cieľ: všetko krásne od 320px po 4K, vrátane landscape smartfónu
   ============================================================ */

/* --- globálne: touch-friendly ciele (min 44px) --- */
button, .btn, input[type="submit"], input[type="button"],
.nav-menu a, .dropdown a {
    min-height: 44px;
    touch-action: manipulation;
}
input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="tel"], input[type="date"],
textarea, select {
    min-height: 44px;
    font-size: 16px; /* zabráni iOS zoomu pri focus */
    padding: 0.6rem 0.8rem;
}

/* --- univerzálny form layout --- */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 640px) {
    .form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
    .form-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 960px) {
    .form-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label { font-weight: 500; color: var(--text-secondary); font-size: 0.92rem; }
.form-row .hint { font-size: 0.82rem; color: var(--text-tertiary); }

/* --- kartička (generic) --- */
.card-box {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

/* --- platba QR layout --- */
.payment-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}
@media (min-width: 720px) {
    .payment-layout { grid-template-columns: minmax(240px, 320px) 1fr; }
}
.payment-qr {
    background: #fff;
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.payment-qr svg { width: 100%; height: auto; max-width: 280px; }

/* --- dog profile form (účelová šírka) --- */
.dog-form-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1rem;
}
.dog-form-section h3 {
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
    color: var(--accent-primary);
}

/* --- landscape smartfón (napr. iPhone 13 landscape ~844x390) --- */
@media (max-height: 500px) and (orientation: landscape) {
    .header-compact { padding: 0.5rem 1rem; }
    .header-compact h1 { font-size: 1.1rem; }
    .hero { min-height: 320px; }
    .hero h2 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; margin-bottom: 1rem; }
    .hero-content { padding: 1.2rem; }
    main, .container { padding-top: 1rem; padding-bottom: 1rem; }
}

/* --- tablet (portrait 768px, landscape 1024px) --- */
@media (min-width: 768px) and (max-width: 1024px) {
    .container { max-width: 95%; }
    .articles-grid { grid-template-columns: repeat(3, 1fr); }
    .featured-grid { grid-template-columns: repeat(3, 1fr); }
    .cat-overview-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- desktop a hore --- */
@media (min-width: 1200px) {
    .articles-grid { grid-template-columns: repeat(4, 1fr); }
    .featured-grid { grid-template-columns: repeat(4, 1fr); }
}

/* --- malé smartfóny (≤360px) — kompaktnejšia typografia --- */
@media (max-width: 360px) {
    .hero h2 { font-size: 1.6rem; }
    .hero p { font-size: 0.95rem; }
    .stats { grid-template-columns: 1fr 1fr; }
    .header-compact h1 { font-size: 1.1rem; }
}

/* --- breed card (pre plemeno detail) --- */
.breed-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 720px) {
    .breed-header { grid-template-columns: 320px 1fr; }
}
.breed-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}
.breed-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem 1.2rem;
}
@media (min-width: 480px) {
    .breed-meta { grid-template-columns: repeat(3, 1fr); }
}
.breed-meta .mk-label { color: var(--text-tertiary); font-size: 0.82rem; }
.breed-meta .mk-value { font-weight: 600; color: var(--text-primary); }

/* --- reklamné sloty (vyhradené miesto aj keď prázdne, zabráni CLS) --- */
.ad-slot {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-light);
    color: var(--text-tertiary);
    font-size: 0.85rem;
}
.ad-slot.ad-sponsored::before { content: "Sponzorované"; font-size: 0.72rem; opacity: 0.6; position: absolute; top: 6px; right: 10px; }
.ad-slot { position: relative; }

/* --- footer — clickable spacing --- */
footer a, footer button { padding: 0.3rem 0; display: inline-block; }

/* --- obrázky: responsive by default --- */
img { max-width: 100%; height: auto; }

/* --- tabulky — scroll na mobile --- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media (min-width: 820px) {

/* ============ EXPERT CARD (sekundárna, malá) ============ */
.expert-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    margin: 2.5rem 0 1rem;
    max-width: 640px;
}
.expert-card img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    flex-shrink: 0;
    border: 2px solid var(--accent-primary);
}
.expert-card h3 {
    margin: 0 0 0.3rem;
    font-size: 1rem;
    color: var(--text-primary);
}
.expert-card p {
    margin: 0;
    font-size: 0.92em;
    color: var(--text-secondary);
    line-height: 1.5;
}
@media (max-width: 480px) {
    .expert-card { flex-direction: column; text-align: center; }
    .expert-card img { width: 72px; height: 72px; }
}

/* ============ LANDING V2 ============ */
.hero-v2 { min-height: 560px; }
.hero-title-v2 {
    font-size: 2.8rem; font-weight: 800; letter-spacing: -0.02em;
    margin-bottom: 1rem; text-shadow: 0 2px 20px rgba(0,0,0,.35);
    max-width: 820px;
}
.hero-sub-v2 {
    font-size: 1.2rem; opacity: .94; font-weight: 400;
    margin-bottom: 2rem; max-width: 720px; line-height: 1.5;
    text-shadow: 0 1px 8px rgba(0,0,0,.3);
}
.hero-ctas {
    display: flex; gap: 0.8rem; flex-wrap: wrap;
    justify-content: center;
}

.btn-primary-xl {
    display: inline-block; padding: 1.1rem 2.2rem;
    background: var(--accent-primary); color: #fff;
    border-radius: 999px; font-weight: 700; font-size: 1.05rem;
    text-decoration: none; box-shadow: 0 6px 20px rgba(255,104,0,.35);
    transition: transform .15s, box-shadow .15s;
    border: none; cursor: pointer;
}
.btn-primary-xl:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255,104,0,.45); }
.btn-primary-md {
    display: inline-block; padding: 0.9rem 1.6rem;
    background: var(--accent-primary); color: #fff;
    border-radius: 8px; font-weight: 600;
    text-decoration: none; border: none; cursor: pointer;
}
.btn-outline-xl {
    display: inline-block; padding: 1.1rem 2rem;
    background: rgba(255,255,255,.15); color: #fff;
    border: 2px solid rgba(255,255,255,.6); border-radius: 999px;
    font-weight: 600; text-decoration: none;
    backdrop-filter: blur(4px);
}
.btn-outline-xl:hover { background: rgba(255,255,255,.25); }
.section-block + .section-block .btn-outline-xl,
main .btn-outline-xl {
    color: var(--accent-primary); border-color: var(--accent-primary); background: transparent;
}
.btn-outline-block {
    display: block; width: 100%; padding: 0.9rem;
    border: 2px solid var(--accent-primary); color: var(--accent-primary);
    background: transparent; border-radius: 8px;
    font-weight: 600; text-align: center; text-decoration: none;
}
.btn-primary-block {
    display: block; width: 100%; padding: 0.9rem;
    background: var(--accent-primary); color: #fff;
    border-radius: 8px; font-weight: 700; text-align: center; text-decoration: none;
}

/* --- Proof strip --- */
.proof-strip {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-card);
    border-bottom: 1px solid var(--border-card);
    padding: 2rem 1.5rem; text-align: center;
}
@media (min-width: 720px) { .proof-strip { grid-template-columns: repeat(4, 1fr); } }
.proof-num {
    font-size: 2.4rem; font-weight: 800;
    color: var(--accent-primary); line-height: 1; margin-bottom: 0.3rem;
}
.proof-label { font-size: .92em; color: var(--text-secondary); line-height: 1.4; }
.proof-label small { display: block; font-size: .82em; color: var(--text-tertiary); }

/* --- Section block base --- */
.section-block { margin: 4rem 0; }
.section-h2 {
    font-size: 2rem; font-weight: 800; text-align: center;
    margin-bottom: 0.6rem; color: var(--text-primary);
}
.section-lead {
    text-align: center; color: var(--text-secondary);
    margin: 0 auto 2rem; max-width: 640px; font-size: 1.08rem;
}

/* --- How it works --- */
.how-grid {
    display: grid; grid-template-columns: 1fr; gap: 1.5rem;
    align-items: center;
}
@media (min-width: 820px) {
    .how-grid { grid-template-columns: 1fr auto 1fr auto 1fr; gap: 1.5rem; }
}
.how-step {
    background: var(--bg-card); border: 1px solid var(--border-card);
    border-radius: var(--radius-lg); padding: 2rem 1.5rem; text-align: center;
    position: relative;
}
.how-num {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--accent-primary); color: #fff;
    font-size: 1.4rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}
.how-step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.how-step p { color: var(--text-secondary); line-height: 1.6; margin: 0; }
.how-arrow { font-size: 2rem; color: var(--accent-primary); text-align: center; }
@media (max-width: 819px) { .how-arrow { transform: rotate(90deg); } }

/* --- Calc showcase --- */
.calc-showcase {
    display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 720px) { .calc-showcase { grid-template-columns: 1fr 1fr; } }
.calc-card {
    display: flex; flex-direction: column;
    padding: 2rem 1.8rem; background: var(--bg-card);
    border: 2px solid var(--border-card); border-radius: var(--radius-lg);
    text-decoration: none; color: var(--text-primary);
    transition: transform .18s, border-color .18s, box-shadow .18s;
}
.calc-card:hover {
    transform: translateY(-4px); border-color: var(--accent-primary);
    box-shadow: 0 12px 30px rgba(255,104,0,.12);
}
.calc-icon { font-size: 3rem; margin-bottom: 0.8rem; }
.calc-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.calc-card p { color: var(--text-secondary); line-height: 1.6; flex: 1; margin-bottom: 1rem; }
.calc-cta { color: var(--accent-primary); font-weight: 600; }

/* --- Breeds grid (top plemená) --- */
.breeds-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
@media (min-width: 640px) { .breeds-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .breeds-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .breeds-grid { grid-template-columns: repeat(6, 1fr); } }
.breed-card {
    display: flex; flex-direction: column;
    background: var(--bg-card); border: 1px solid var(--border-card);
    border-radius: var(--radius-md); overflow: hidden;
    text-decoration: none; color: var(--text-primary);
    transition: transform .18s, box-shadow .18s;
}
.breed-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.breed-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.breed-noimg { aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; font-size: 3rem; background: var(--bg-tertiary); }
.breed-card-body { padding: 0.7rem 0.9rem; }
.breed-card-title { font-weight: 600; font-size: 0.92rem; line-height: 1.3; }
.breed-card-size { font-size: 0.78em; color: var(--text-tertiary); margin-top: 0.2rem; }

/* --- Expert block (väčšia sekcia) --- */
.expert-block {
    display: grid; grid-template-columns: 1fr; gap: 2rem;
    align-items: center; margin: 4rem 0;
    background: linear-gradient(135deg, rgba(255,104,0,.04), rgba(91,159,107,.03));
    border-radius: var(--radius-lg); padding: 2.5rem;
    border: 1px solid var(--border-card);
}
@media (min-width: 820px) {
    .expert-block { grid-template-columns: 280px 1fr; gap: 2.5rem; }
}
.expert-photo-big img {
    width: 100%; aspect-ratio: 1/1; object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    max-width: 280px;
}
.expert-body .expert-badge {
    display: inline-block; padding: 0.3rem 0.9rem;
    background: rgba(255,104,0,.12); color: var(--accent-primary);
    border-radius: 999px; font-size: 0.82em; font-weight: 600;
    margin-bottom: 0.6rem;
}
.expert-body h2 { font-size: 1.8rem; margin-bottom: 0.8rem; }
.expert-lead-text {
    color: var(--text-secondary); line-height: 1.7;
    margin-bottom: 1.2rem; font-size: 1.02rem;
}
.expert-creds {
    list-style: none; padding: 0; line-height: 2;
    margin-bottom: 1.2rem;
}
.expert-creds li { padding: 0.2rem 0; }

/* --- Pricing --- */
.pricing-grid {
    display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 820px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.price-card {
    padding: 2rem 1.5rem; background: var(--bg-card);
    border: 2px solid var(--border-card); border-radius: var(--radius-lg);
    position: relative;
}
.price-card h3 { font-size: 1.2rem; margin-bottom: 0.8rem; }
.price-card .price {
    font-size: 2.4rem; font-weight: 800; color: var(--accent-primary);
    margin-bottom: 1rem; line-height: 1;
}
.price-card .price small { font-size: 0.9rem; color: var(--text-tertiary); font-weight: 400; }
.price-original {
    text-decoration: line-through; color: var(--text-tertiary);
    font-size: 1.2rem; font-weight: 600; margin-right: 0.4rem;
}
.price-card ul {
    list-style: none; padding: 0; line-height: 2;
    margin-bottom: 1.5rem;
}
.price-card ul li {
    padding: 0.3rem 0; border-bottom: 1px solid var(--border-light);
}
.price-card ul li:last-child { border: 0; }
.price-card.price-featured {
    border-color: var(--accent-primary); box-shadow: 0 12px 30px rgba(255,104,0,.12);
    transform: scale(1.02);
}
.price-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--accent-primary); color: #fff;
    padding: 0.4rem 1rem; border-radius: 999px;
    font-size: 0.8em; font-weight: 700;
    white-space: nowrap;
}
.price-promo {
    display: inline-block; padding: 0.3rem 0.8rem;
    background: rgba(91,159,107,.12); color: var(--accent-green);
    border-radius: 999px; font-size: 0.78em; font-weight: 600;
    margin-bottom: 0.8rem;
}

/* --- FAQ list --- */
.faq-list {
    max-width: 720px; margin: 0 auto;
}
.faq-list details {
    background: var(--bg-card); border: 1px solid var(--border-card);
    border-radius: var(--radius-md); margin-bottom: 0.6rem;
    padding: 0 1.2rem;
}
.faq-list summary {
    cursor: pointer; padding: 1rem 0;
    font-size: 1rem;
}
.faq-list p { padding: 0 0 1rem; color: var(--text-secondary); line-height: 1.7; }

/* --- Newsletter block --- */
.newsletter-block {
    text-align: center; padding: 3rem 1.5rem;
    background: linear-gradient(135deg, rgba(255,104,0,.08), rgba(255,140,51,.05));
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-card);
    margin: 4rem 0;
}
.newsletter-block h2 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.newsletter-block p { color: var(--text-secondary); max-width: 540px; margin: 0 auto 1.5rem; }
.newsletter-form {
    display: flex; gap: 0.6rem; max-width: 480px; margin: 0 auto;
    flex-wrap: wrap;
}
.newsletter-form input {
    flex: 1; min-width: 220px;
    padding: 0.9rem 1rem; border: 1px solid var(--border-card);
    border-radius: 8px; background: #fff; font-size: 1rem;
}

/* --- Final CTA --- */
.final-cta {
    text-align: center; padding: 3rem 1.5rem;
    background: var(--bg-header); color: #fff;
    border-radius: var(--radius-lg); margin: 4rem 0;
}
.final-cta h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.final-cta p { opacity: .92; margin-bottom: 1.5rem; font-size: 1.05rem; }
.final-cta .btn-primary-xl {
    background: #fff; color: var(--accent-primary);
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

/* ============ BREED SEARCH (na landing) ============ */
.breed-search-wrap {
    max-width: 680px;
    margin: 1.5rem auto 2rem;
    position: relative;
}
.breed-search-form {
    position: relative;
    display: flex; align-items: center;
    background: var(--bg-card);
    border: 2px solid var(--border-card);
    border-radius: 999px;
    padding: 0 0.6rem 0 1.2rem;
    box-shadow: var(--shadow-md);
    transition: border-color .15s, box-shadow .15s;
}
.breed-search-form:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 8px 24px rgba(255,104,0,.18);
}
.bs-icon {
    color: var(--text-tertiary);
    flex-shrink: 0;
}
.breed-search-form input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 1.05rem 0.8rem !important;
    font-size: 1.05rem;
    color: var(--text-primary);
    outline: none;
    min-height: auto !important;
}
.breed-search-form input::placeholder { color: var(--text-tertiary); }
.bs-clear {
    background: var(--bg-tertiary);
    border: none;
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--text-secondary);
    display: flex; align-items: center; justify-content: center;
    min-height: auto !important;
}
.bs-clear:hover { background: var(--accent-primary); color: #fff; }

.breed-search-dropdown {
    position: absolute;
    top: calc(100% + 6px); left: 0; right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-height: 360px;
    overflow-y: auto;
    z-index: 100;
}
.bs-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.85rem 1.2rem;
    text-decoration: none;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
    transition: background .1s;
    min-height: auto;
}
.bs-row:last-child { border-bottom: 0; }
.bs-row:hover, .bs-row:focus { background: var(--bg-card-hover); color: var(--accent-primary); }
.bs-name { font-weight: 500; }
.bs-name mark { background: rgba(255,104,0,.25); color: inherit; padding: 1px 2px; border-radius: 3px; }
.bs-arrow { color: var(--text-tertiary); font-size: 1.1rem; }
.bs-empty {
    padding: 1.2rem 1.5rem;
    text-align: center;
    color: var(--text-secondary);
}

.breed-search-chips {
    display: flex; gap: 0.5rem; flex-wrap: wrap;
    align-items: center; justify-content: center;
    margin-top: 1rem;
}
.chip-label {
    font-size: 0.88em; color: var(--text-tertiary);
    margin-right: 0.2rem;
}
.chip {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-card);
    border-radius: 999px;
    font-size: 0.88em;
    color: var(--text-primary);
    text-decoration: none;
    transition: all .15s;
    min-height: auto;
}
.chip:hover {
    border-color: var(--accent-primary);
    background: var(--bg-card-hover);
    color: var(--accent-primary);
}
.chip-all {
    background: rgba(255,104,0,.08);
    color: var(--accent-primary);
    border-color: rgba(255,104,0,.2);
    font-weight: 600;
}

@media (max-width: 480px) {
    .breed-search-form { padding: 0 0.5rem 0 1rem; }
    .breed-search-form input { padding: 0.9rem 0.6rem !important; font-size: 1rem; }
    .chip-label { width: 100%; text-align: center; margin-bottom: 0.3rem; }
}

/* ============ GLOBAL LINK COLOR (fc8c33) ============ */
/* Pre všetky <a> v tele okrem tých, čo majú vlastnú farbu (tlačidlá, karty, nav) */
main a:not(.btn):not(.btn-primary-xl):not(.btn-outline-xl):not(.btn-primary-md):not(.btn-primary-block):not(.btn-outline-block):not(.chip):not(.chip-all):not(.calc-card):not(.breed-card):not(.featured-card):not(.cat-overview-card):not(.how-step):not(.price-card):not(.bs-row),
.card-box a,
details a,
footer a,
p a {
    color: var(--text-link);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    transition: color .15s;
}
main a:not(.btn):not(.btn-primary-xl):not(.btn-outline-xl):not(.btn-primary-md):not(.btn-primary-block):not(.btn-outline-block):not(.chip):not(.chip-all):hover,
.card-box a:hover,
p a:hover {
    color: var(--text-link-hover);
    text-decoration-thickness: 2px;
}

/* Mailto linky — vždy v brand farbe */
a[href^="mailto:"] { color: var(--text-link) !important; text-decoration: underline; }
a[href^="mailto:"]:hover { color: var(--text-link-hover) !important; }

/* Hint/small-text linky — force brand color */
.hint a, .form-row .hint a, span.hint a,
small a, .meta a, .meta-note a,
.breed-meta a, .card-meta a {
    color: var(--text-link) !important;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    font-weight: 500;
}
.hint a:hover, small a:hover {
    color: var(--text-link-hover) !important;
    text-decoration-thickness: 2px;
}

/* ============ PAYWALL + TEASER (kalkulacka) ============ */
.paywall {
    background: linear-gradient(135deg, rgba(255,104,0,.08), rgba(255,140,51,.05));
    border: 2px solid var(--accent-primary);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem; text-align: center;
    margin-top: 1rem;
}
.paywall h3 { font-size: 1.4rem; margin-bottom: .5rem; color: var(--text-primary); }
.paywall > p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 1rem; }
.paywall-benefits {
    text-align: left; max-width: 440px; margin: 1.5rem auto;
    list-style: none; padding: 0; line-height: 2;
}
.paywall-benefits li { padding: .35rem 0; border-bottom: 1px solid var(--border-light); }
.paywall-benefits li:last-child { border: 0; }
.paywall-cta { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin-top: 1.5rem; }

.teaser-card {
    background: var(--bg-card); border: 1px solid var(--border-card);
    border-radius: var(--radius-md); padding: 1.2rem;
    margin: 1rem 0; position: relative; text-align: center;
}
.teaser-card .res-label { font-size: .85em; color: var(--text-tertiary); margin-bottom: .4rem; }
.teaser-card .teaser-value {
    font-size: 1.8rem; font-weight: 700; color: var(--text-primary);
    filter: blur(6px); user-select: none; -webkit-user-select: none;
    margin: .4rem 0;
}
.teaser-card .teaser-range {
    font-size: .9em; color: var(--text-tertiary); margin-top: .5rem;
}
.teaser-card::after {
    content: "🔒 Len pre členov";
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: var(--accent-primary); color: #fff;
    padding: .3rem .9rem; border-radius: 999px;
    font-size: .85em; font-weight: 600;
    pointer-events: none;
}

.hint-warn { color: #c05020 !important; }

/* ============ FINAL FIX: links + search (2026-04-24) ============ */
/* Chips musia byť ORANGE, nie browser default modrá */
a.chip, .breed-search-chips a {
    color: var(--text-primary) !important;
    text-decoration: none !important;
}
a.chip:hover { color: var(--accent-primary) !important; border-color: var(--accent-primary); }
a.chip-all { color: var(--accent-primary) !important; font-weight: 700; }

/* Mailto linky — vždy oranžové */
a[href^="mailto:"], a[href^="mailto:"]:visited {
    color: #FC8C33 !important;
    text-decoration: underline;
}

/* Force všetky anchor linky v článkoch/textoch na oranžovú */
.card-box a:not(.btn):not([class*="btn-"]):not(.chip):not(.chip-all):not(.bs-row):not(.coop-type-card),
.wiz-card a:not(.btn):not([class*="btn-"]),
main p a, main ul a, main ol a, main dd a,
details a:not(.btn) {
    color: #FC8C33 !important;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* ========== SEARCH BOX — väčší, výrazný ========== */
.breed-search-wrap {
    max-width: 720px !important;
    margin: 1.8rem auto 2.2rem !important;
}
.breed-search-form {
    display: flex !important;
    align-items: center !important;
    gap: 0.8rem;
    background: var(--bg-card) !important;
    border: 2px solid var(--border-card) !important;
    border-radius: 999px !important;
    padding: 0.4rem 0.6rem 0.4rem 1.5rem !important;
    box-shadow: 0 6px 24px rgba(0,0,0,.12);
    transition: all .2s;
}
.breed-search-form:focus-within {
    border-color: var(--accent-primary) !important;
    box-shadow: 0 10px 32px rgba(255,104,0,.22);
    transform: translateY(-1px);
}
.breed-search-form .bs-icon {
    width: 22px !important;
    height: 22px !important;
    color: var(--accent-primary) !important;
    flex-shrink: 0;
}
.breed-search-form input[type="text"],
#breedSearchInput {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    border: none !important;
    background: transparent !important;
    padding: 1.1rem 0.4rem !important;
    font-size: 1.1rem !important;
    color: var(--text-primary) !important;
    outline: none !important;
    min-height: auto !important;
    box-shadow: none !important;
}
#breedSearchInput::placeholder { color: var(--text-tertiary); opacity: .7; }

.bs-clear {
    flex-shrink: 0;
    background: var(--bg-tertiary) !important;
    border: none !important;
    width: 36px !important; height: 36px !important;
    border-radius: 50% !important;
    cursor: pointer;
    font-size: 1.4rem !important; line-height: 1;
    color: var(--text-secondary) !important;
    display: flex !important; align-items: center; justify-content: center;
    min-height: auto !important;
    padding: 0 !important;
}
.bs-clear:hover {
    background: var(--accent-primary) !important;
    color: #fff !important;
}

/* Chips rad — pekne zarovnaný */
.breed-search-chips {
    display: flex !important;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 1.2rem;
    padding: 0 .5rem;
}
.breed-search-chips .chip-label {
    color: var(--text-tertiary);
    font-size: .9em;
    margin-right: 0.3rem;
    font-weight: 500;
}
.breed-search-chips .chip {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-card);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.92em;
    transition: all .15s;
}
.breed-search-chips .chip:hover {
    border-color: var(--accent-primary);
    background: var(--bg-card-hover);
    color: var(--accent-primary) !important;
}
.breed-search-chips .chip-all {
    border-color: var(--accent-primary) !important;
    background: rgba(255,104,0,.08) !important;
    color: var(--accent-primary) !important;
    font-weight: 700;
}

/* Expert CTA button — force white text (mailto globálny rule prepíše inak) */
.btn-primary-md, a.btn-primary-md, a.expert-cta-btn, a.btn-primary-md[href^="mailto:"] {
    color: #fff !important;
    background: var(--accent-primary);
    text-decoration: none !important;
}
.btn-primary-md:hover, a.btn-primary-md:hover, a.expert-cta-btn:hover {
    color: #fff !important;
    opacity: .92;
}
.btn-primary-xl, a.btn-primary-xl, a.btn-primary-xl[href^="mailto:"] {
    color: #fff !important;
    text-decoration: none !important;
}
.btn-primary-block, a.btn-primary-block {
    color: #fff !important;
    text-decoration: none !important;
}
