/**
 * bigg.cz — REDESIGN 2026
 * Světlá modrá paleta, vzdušné karty, kompaktní header.
 * Načítá se za style.css → přepisuje proměnné i vybrané komponenty.
 */

:root {
    --primary: #2f7fe8;
    --primary-dark: #1b5fc0;
    --primary-light: #e8f1fd;
    --primary-rgb: 47, 127, 232;
    --gradient: linear-gradient(135deg, #2f7fe8 0%, #1b5fc0 100%);
    --gradient-hover: linear-gradient(135deg, #1b5fc0 0%, #14499a 100%);

    --accent: #4a94f5;
    --accent-dark: #2f7fe8;

    --bg-primary: #eef3f9;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f3f7fc;
    --bg-card: #ffffff;
    --bg-elevated: #ffffff;

    --text-primary: #10294a;
    --text-secondary: #5c6c81;
    --text-muted: #8697ab;

    --border-color: #dbe5f0;

    --brand-navy: #0d2b4e;
    --rd-radius: 16px;
    --rd-shadow: 0 1px 2px rgba(16, 41, 74, .04), 0 6px 18px rgba(16, 41, 74, .05);
    --rd-shadow-hover: 0 10px 30px rgba(16, 41, 74, .11);
}

body {
    background: var(--bg-primary);
}

/* ═══════════════════════ HEADER ═══════════════════════ */

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(16, 41, 74, .05);
}

.header-top {
    padding: 16px 0 12px;
    gap: 24px;
    align-items: flex-start;
}

/* Logo: bigg (navy) + .cz (modrá) + tagline pod tím, bez ikony */
.logo i.fa-bolt { display: none; }

.rd-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-right: auto;
    text-decoration: none;
    flex-shrink: 0;
}
/* přebíjí gradientový .logo span ze style.css */
.logo.rd-brand span,
.footer-brand .logo.rd-brand span {
    background: none !important;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
}
.rd-brand-name {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.9px;
    line-height: 1;
    color: var(--brand-navy);
}
.rd-brand-name em {
    font-style: normal;
    color: var(--primary);
}
.rd-brand-tagline {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1.35;
    max-width: 130px;
}

/* Vyhledávání s viditelným tlačítkem „Hledat" */
.header-search {
    max-width: 560px;
    margin-top: 3px;
}
.header-search input {
    padding: 11px 116px 11px 42px;
    font-size: 15px;
    background: #fff;
    border-color: var(--border-color);
    box-shadow: inset 0 1px 2px rgba(16, 41, 74, .04);
}
.header-search::before {
    content: "\f002";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
    pointer-events: none;
    z-index: 2;
}
.header-search button {
    right: 5px;
    width: auto;
    height: 36px;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 700;
    background: var(--primary);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), .3);
}
.header-search button i { display: none; }
.header-search button::after { content: "Hledat"; }

/* Pravý blok: účet */
.header-actions { margin-top: 4px; }
.rd-account {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 4px 6px 4px 4px;
    border-radius: 999px;
    transition: background .18s;
}
.rd-account:hover { background: var(--bg-tertiary); }
.rd-account-ico {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    overflow: hidden;
    flex-shrink: 0;
}
.rd-account-ico img { width: 100%; height: 100%; object-fit: cover; }
.rd-account-txt { display: flex; flex-direction: column; line-height: 1.25; }
.rd-account-txt strong { font-size: 13.5px; font-weight: 700; color: var(--text-primary); }
.rd-account-txt span { font-size: 11.5px; color: var(--text-muted); }

/* Navigace */
.site-header > .container > .main-nav { border-top: 1px solid var(--border-color); }
.main-nav ul { gap: 4px; }
.main-nav a {
    padding: 11px 14px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
}
.main-nav > ul > li > a > i:not(.nav-dd-arrow) { display: none; }
.main-nav a:hover { color: var(--primary); background: transparent; border-bottom-color: var(--primary); }

/* Today bar — decentní proužek */
.today-bar {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.today-bar .today-bar-inner { padding: 10px 0 0 !important; }

/* ═══════════════════════ HOMEPAGE: skrytí prvků, které návrh nemá ═══════════════════════ */

/* Today bar (datum/svátek/počasí) — počasí je nově widget v obsahu */
.today-bar { display: none !important; }

/* H1 blok zůstává v DOM kvůli SEO, ale vizuálně ustupuje (návrh ho nemá) */
.hp-seo-header {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}
.homepage-hero { padding-top: 24px !important; }

/* ═══════════════════════ HERO dle návrhu ═══════════════════════ */

.hero-main a { position: relative; display: block; height: 100%; }
.hero-main .hero-overlay {
    position: absolute !important;
    left: 0; right: 0; bottom: 0; top: auto !important;
    background:
        linear-gradient(0deg, rgba(6, 22, 43, .95) 16%, rgba(6, 22, 43, .62) 60%, rgba(6, 22, 43, .05) 100%),
        linear-gradient(90deg, rgba(6, 22, 43, .5) 0%, rgba(6, 22, 43, 0) 60%);
    padding: 80px 26px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    transform: none !important;
}
.hero-main .hero-overlay p:empty { display: none; }
/* Náhledovky bigg.cz mají textový panel vlevo — v hero ho odřízneme,
   titulek se vypisuje v overlayi, takže by se text dubloval. */
.hero-main img {
    object-position: 100% center;
    transform: scale(1.55);
    transform-origin: 100% 50%;
}
.hero-side-card img { object-position: 88% center !important; }
.hero-main .hero-overlay h2 { margin: 8px 0 6px; }
.hero-main .hero-overlay p {
    color: rgba(255, 255, 255, .88);
    margin: 0 0 10px;
    max-width: 78%;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-cat {
    background: var(--primary);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
}
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .8);
}
.hero-meta i { margin-right: 5px; opacity: .8; }

/* kulaté tlačítko se šipkou */
.hero-go {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), .45);
    transition: .2s;
    z-index: 3;
}
.hero-main a:hover .hero-go,
.hero-side-card:hover .hero-go { transform: translateX(3px); background: var(--primary-dark); }

/* boční karty: foto vlevo, text vpravo + perex a meta */
.hero-side-card { position: relative; min-height: 168px !important; grid-template-columns: 168px 1fr !important; }
.hero-side-card .hero-overlay { padding: 16px 54px 16px 18px !important; gap: 8px !important; }
.hero-side-card h3 { -webkit-line-clamp: 2; }
.hero-side-card .hero-side-excerpt:empty { display: none; }
.hero-side-card .hero-side-excerpt {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-side-card .hero-meta { color: var(--text-muted); gap: 12px; font-size: 11.5px; }
.hero-side-card .hero-go { right: 14px; bottom: 50%; transform: translateY(50%); width: 32px; height: 32px; font-size: 12px; }
.hero-side-card:hover .hero-go { transform: translateY(50%) translateX(3px); }
.hero-side-card .hero-cat { font-size: 9.5px; padding: 4px 10px; }

/* ═══════════════════════ OBECNÉ KARTY / SEKCE ═══════════════════════ */

.section-header { margin-bottom: 18px; }
.section-header h2 {
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -.4px;
}
.section-header a {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.article-card,
.sidebar-block,
.hp-panel {
    border-radius: var(--rd-radius);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    box-shadow: var(--rd-shadow);
}
.article-card { overflow: hidden; transition: transform .2s, box-shadow .2s; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--rd-shadow-hover); }

/* nadpis panelu s podtitulkem */
.hp-panel-head h2 small {
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-top: 3px;
    letter-spacing: 0;
}
.hp-panel-head h2 > span { display: block; }
.hp-ico-green { background: #e4f7ee; color: #17a56a; }
.hp-ico-sky   { background: #e2f2fd; color: #3aa2e8; }
.hp-ico-violet{ background: #efe8fd; color: #7c4dff; }

/* ═══════════════════════ SEKCE APLIKACE — bílý panel dle návrhu ═══════════════════════ */

.homepage-apps > .container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--rd-radius);
    box-shadow: var(--rd-shadow);
    padding: 24px 26px 26px;
}
.homepage-apps { padding: 6px 0 !important; }
.homepage-apps .apps-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.homepage-apps .apps-showcase-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 13px;
    padding: 16px;
}
.homepage-apps .apps-cat-header {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 14px;
    border: 0;
    padding: 0;
}
.homepage-apps .apps-cat-header i {
    width: 34px; height: 34px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    background: var(--bg-tertiary);
}
.homepage-apps .apps-showcase-desc,
.homepage-apps .apps-showcase-icon { display: none !important; }
.homepage-apps .apps-showcase-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 4px;
    border-bottom: 1px solid var(--border-color);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary);
}
.homepage-apps .apps-showcase-item::before {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 9px;
    color: var(--text-muted);
}
.homepage-apps .apps-showcase-item:last-of-type { border-bottom: 0; }
.homepage-apps .apps-showcase-item:hover { color: var(--primary); }
.homepage-apps .apps-showcase-arrow { margin-left: auto; font-size: 10px; color: var(--text-muted); }
.homepage-apps .apps-cat-all {
    margin-top: 10px !important;
    border: 0 !important;
    color: var(--primary) !important;
    font-size: 12.5px !important;
    padding: 6px 0 0 !important;
}
.homepage-apps .apps-cat-all:hover { background: none !important; color: var(--primary-dark) !important; }

/* ═══════════════════════ IQ PROMO — světlý pruh dle návrhu ═══════════════════════ */

.hp-iq-promo { padding: 6px 0 !important; }
.hp-iq-promo .hp-iq-card {
    position: relative;
    background: linear-gradient(110deg, #f1f7ff 0%, #ffffff 55%, #eef4fd 100%) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--rd-radius) !important;
    box-shadow: var(--rd-shadow) !important;
    color: var(--text-primary) !important;
    padding: 26px 30px !important;
    align-items: center;
}
.hp-iq-promo .hp-iq-icon {
    background: #e2f2fd !important;
    color: #2f7fe8 !important;
    box-shadow: none !important;
}
.hp-iq-promo h2 { color: var(--text-primary) !important; font-size: 26px; }
.hp-iq-promo p,
.hp-iq-promo .hp-iq-stats,
.hp-iq-promo .hp-iq-stats span { color: var(--text-secondary) !important; }
.hp-iq-promo .hp-iq-badge {
    background: #e4f7ee !important;
    color: #17a56a !important;
}
.hp-iq-promo .hp-iq-cta {
    background: var(--primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), .35);
    border: 0 !important;
}
.hp-iq-promo .hp-iq-cta:hover { background: var(--primary-dark) !important; }
.hp-iq-hint {
    position: absolute;
    right: 26px;
    top: 26px;
    font-family: "Playfair Display", Georgia, serif;
    font-style: italic;
    font-size: 15px;
    color: var(--primary);
    transform: rotate(-4deg);
}
@media (max-width: 1100px) { .hp-iq-hint { display: none; } }

/* ═══════════════════════ TV PROGRAM dle návrhu ═══════════════════════ */

.hp-tv-section { padding: 6px 0 !important; }
.hp-tv-section > .container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--rd-radius);
    box-shadow: var(--rd-shadow);
    padding: 24px 26px 26px;
}
.hp-tv-headright { display: flex; align-items: center; gap: 18px; }
.hp-tv-datebox {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 13px;
    white-space: nowrap;
}
.hp-tv-datebox span { display: flex; flex-direction: column; line-height: 1.3; }
.hp-tv-datebox strong { color: var(--text-primary); font-size: 13.5px; }
.hp-tv-datebox > i:first-child { color: var(--primary); font-size: 15px; }
.hp-tv-datebox > i:last-child { color: var(--text-muted); font-size: 11px; }

.hp-tv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hp-tv-card {
    border: 1px solid var(--border-color);
    border-radius: 13px;
    background: var(--bg-card);
    overflow: hidden;
}
.hp-tv-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    padding: 13px 15px;
    border-bottom: 1px solid var(--border-color);
}
.hp-tv-logo {
    min-width: 40px;
    height: 26px;
    padding: 0 8px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    font-weight: 800;
    color: #fff;
    background: #64748b;
    letter-spacing: .02em;
}
.hp-tv-ct1  .hp-tv-logo { background: #e11d2e; }
.hp-tv-ct2  .hp-tv-logo { background: #f0a500; }
.hp-tv-ct24 .hp-tv-logo { background: #1f5fa9; }
.hp-tv-ctsport .hp-tv-logo { background: #16a34a; }
.hp-tv-ctd  .hp-tv-logo { background: #8b5cf6; }
.hp-tv-nova .hp-tv-logo { background: #d81f26; text-transform: lowercase; }
.hp-tv-prima .hp-tv-logo { background: #ef6c1a; }
.hp-tv-barrandov .hp-tv-logo { background: #0ea5e9; }

/* ═══════════════════════ HOMEPAGE — ŘÁDKY DLE NÁVRHU ═══════════════════════ */

.hp-row {
    display: grid;
    gap: 22px;
    margin: 26px 0;
    align-items: start;
}
.hp-row--main { grid-template-columns: minmax(0, 2.25fr) minmax(0, 1fr); }
.hp-row--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 2.25fr); }

.hp-panel { padding: 22px 24px; }
.hp-panel--plain { background: transparent; border: 0; box-shadow: none; padding: 0; }

.hp-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}
.hp-panel-head h2 {
    font-size: 21px;
    font-weight: 800;
    margin: 0;
    color: var(--text-primary);
    letter-spacing: -.3px;
    display: flex;
    align-items: center;
    gap: 11px;
}
.hp-panel-head h2 .hp-ico {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    background: var(--primary-light);
    color: var(--primary);
    flex-shrink: 0;
}
.hp-panel-head p { margin: 4px 0 0; font-size: 13.5px; color: var(--text-secondary); }
.hp-panel-head a.hp-more {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

/* Nejčtenější — číslovaný seznam */
.hp-popular-list { display: flex; flex-direction: column; }
.hp-popular-item {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 12px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid var(--border-color);
}
.hp-popular-item:last-child { border-bottom: 0; padding-bottom: 0; }
.hp-popular-num {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hp-popular-item a {
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
}
.hp-popular-item a:hover { color: var(--primary); }

/* Oblíbená témata — chipy */
.hp-topics { display: flex; flex-wrap: wrap; gap: 10px; }
.hp-topics a {
    display: inline-flex;
    align-items: center;
    padding: 9px 17px;
    border-radius: 999px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: .16s;
}
.hp-topics a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}

/* Denní výzvy + Horoskopy v řádku (widgety mají třídu .sidebar-block) */
.hp-row .sidebar-block {
    margin: 0;
    padding: 22px 24px;
    border-radius: var(--rd-radius);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    box-shadow: var(--rd-shadow);
    align-self: start;
}
.hp-row .sidebar-block > h3 {
    font-size: 21px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -.3px;
    margin: 0 0 16px;
    padding: 0 0 0 50px;
    border: 0 !important;
    position: relative;
    min-height: 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* ikonu nadpisu do barevného čtverce jako v návrhu */
.hp-row .sidebar-block > h3 > i:first-child {
    position: absolute;
    left: 0; top: 0;
    width: 38px; height: 38px;
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    margin: 0 !important;
}
.hp-row .dg-widget > h3 > i:first-child { background: #e2f2fd; color: #3aa2e8 !important; }
.hp-row .horoscope-widget > h3 > i:first-child { background: #efe8fd; color: #7c4dff !important; }
.hp-row .sidebar-block > h3::after {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-top: 3px;
}
.hp-row .dg-widget > h3::after { content: "Potrénujte svůj mozek. Každý den nová výzva."; }
.hp-row .horoscope-widget > h3::after { content: "Co vám dnes říkají hvězdy."; }
.hp-row--games .dg-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.hp-row--games .dg-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 16px;
    background: var(--bg-tertiary);
}
.hp-row--games .dg-card-info strong { font-size: 15px; }
/* tlačítko místo kolečka s play (jako v návrhu) */
.hp-row--games .dg-card-play {
    width: auto !important;
    height: auto !important;
    border-radius: 9px !important;
    background: var(--primary) !important;
    color: #fff !important;
    padding: 8px 15px !important;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}
.hp-row--games .dg-card-play i { font-size: 10px; }
.hp-row--games .dg-card-play::before { content: "Začít"; }
.hp-row--games .dg-leaderboard-link { margin-top: 14px; }

/* Počasí widget */
.hp-weather-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 6px 0 14px;
}
.hp-weather-now i { font-size: 42px; color: #f5a623; }
.hp-weather-temp { font-size: 40px; font-weight: 800; color: var(--text-primary); line-height: 1; }
.hp-weather-desc { font-size: 13.5px; color: var(--text-secondary); margin-top: 4px; }
.hp-weather-days {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
}
.hp-weather-day { text-align: center; }
.hp-weather-day b { display: block; font-size: 12.5px; font-weight: 700; color: var(--text-secondary); margin-bottom: 6px; }
.hp-weather-day i { font-size: 19px; color: var(--primary); display: block; margin-bottom: 6px; }
.hp-weather-day span { font-size: 13.5px; font-weight: 700; color: var(--text-primary); }
.hp-weather-city {
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 600;
}

/* ═══════════════════════ FOOTER ═══════════════════════ */

.site-footer {
    background: #fff;
    padding: 52px 0 0;
    margin-top: 48px;
}
.footer-grid {
    grid-template-columns: 1.35fr .9fr .9fr .8fr 1.35fr;
    gap: 32px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--border-color);
    align-items: start;
}
.footer-brand .logo i.fa-bolt { display: none; }
.footer-brand .logo.rd-brand { font-size: inherit; margin-bottom: 18px; }
.footer-brand .rd-brand-name { font-size: 27px; }
.footer-brand .rd-brand-tagline { max-width: none; }
.footer-section h4 {
    font-size: 14px;
    margin-bottom: 16px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 800;
    color: var(--text-primary);
}
.footer-section ul li { margin-bottom: 9px; }
.footer-section a { font-size: 14.5px; }

.footer-quote { text-align: right; align-self: center; }
.footer-quote .rd-footer-quote-line { margin-left: auto; display: block; }
.rd-footer-quote {
    font-size: 19px;
    font-weight: 700;
    font-style: italic;
    line-height: 1.45;
    color: var(--brand-navy);
    margin: 0 0 10px;
}
.rd-footer-quote-line {
    width: 92px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), transparent);
    opacity: .55;
}
.rd-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}
.rd-footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: .18s;
}
.rd-footer-social a:hover { background: var(--primary-dark); transform: translateY(-2px); padding-left: 0; }

.footer-bottom { padding: 20px 0; }
.footer-bottom .copyright, .footer-legal a { color: var(--text-muted); }
.footer-legal a:hover { color: var(--primary); }

/* ═══════════════════════ OBSAH ČLÁNKŮ — sjednocení staré teal ═══════════════════════ */
/* Starší články mají v inline <style> natvrdo teal #0f8a86. Přebarvíme na novou paletu. */
.gd-table th,
.article-content .gd-table th {
    background: var(--primary) !important;
    color: #fff !important;
}

/* ═══════════════════════ RESPONZIVITA ═══════════════════════ */

@media (max-width: 980px) {
    .hp-row--main, .hp-row--flip { grid-template-columns: 1fr; }
    .hp-row--games .dg-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 780px) {
    .header-top { flex-wrap: wrap; gap: 12px; }
    .header-search { order: 3; flex-basis: 100%; max-width: none; }
    .rd-brand-tagline { display: none; }
    .rd-account-txt { display: none; }
    .header-search button { padding: 0 16px; }
}

@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hp-panel, .hp-row .sidebar-block { padding: 18px 16px; }
    .hp-row--games .dg-list { grid-template-columns: 1fr; }
    .hp-row--games .dg-card { flex-direction: row; align-items: center; }
    .hp-row--games .dg-card-play { align-self: center; margin-top: 0; }
}
