/*
Theme Name: Kateřina Dvorská
Description: Podřízená šablona k Twenty Twenty-Four pro web katerinadvorska.cz (akné a rosacea + SOS Průvodce krizovou situací v salonu).
Author: Kateřina Lukeš Dvorská
Template: twentytwentyfour
Version: 0.4.1
Requires at least: 6.4
Text Domain: kd-sablona
*/

/* Písma uložená přímo na webu (bez Google Fonts) */
@font-face { font-family: 'League Spartan'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('assets/fonts/kd-league-spartan-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'League Spartan'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('assets/fonts/kd-league-spartan-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('assets/fonts/kd-nunito-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('assets/fonts/kd-nunito-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Bez mezer mezi hlavičkou, obsahem a patičkou */
.wp-site-blocks > * + * { margin-block-start: 0; }
.kd-full { margin-block-start: 0 !important; }

h1, h2, h3, .t { font-family: 'League Spartan', sans-serif; }
.kd a { color: #4EA5AD; }
.kd a:hover { color: #2f7f87; }
.kd a.btn, .kd a.btn:hover { text-decoration: none; }
.btn:hover { filter: brightness(.96); }

/* Hlavička */
.kd-head nav a { color: #403E3E; text-decoration: none; }
.kd-head nav a:hover { color: #4EA5AD; }
.kd-menu-m { display: none; position: relative; }
.kd-menu-m summary { list-style: none; cursor: pointer; }
.kd-menu-m summary::-webkit-details-marker { display: none; }
.kd-menu-m[open] .kd-menu-panel { display: flex; }
.kd-menu-panel { display: none; position: absolute; right: 0; top: 54px; z-index: 30; flex-direction: column; gap: 4px; background: #fff; border-radius: 18px; padding: 12px; min-width: 230px; box-shadow: 0 16px 40px rgba(64, 62, 62, .15); }
.kd-menu-panel a { padding: 12px 14px; border-radius: 12px; font-weight: 700; color: #403E3E; text-decoration: none; }
.kd-menu-panel a:hover { background: #E7F2F1; }
.kd-menu-h { padding: 12px 14px 4px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #2f7f87; }
.kd-menu-panel a.kd-menu-i { padding-left: 26px; }
/* Podmenu Pro podnikatele */
.kd-sub { position: relative; }
.kd-sub-panel { display: none; position: absolute; left: 50%; transform: translateX(-50%); top: 100%; padding-top: 12px; z-index: 30; }
.kd-sub-panel::before { content: ""; position: absolute; inset: 12px 0 0; background: #fff; border-radius: 18px; box-shadow: 0 16px 40px rgba(64, 62, 62, .15); }
.kd-sub-panel a { position: relative; display: block; white-space: nowrap; padding: 12px 18px; margin: 0 8px; border-radius: 12px; }
.kd-sub-panel a:first-child { margin-top: 8px; }
.kd-sub-panel a:last-child { margin-bottom: 8px; }
.kd-sub-panel a:hover { background: #E7F2F1; color: #403E3E; }
.kd-sub:hover .kd-sub-panel, .kd-sub:focus-within .kd-sub-panel { display: block; }

/* Rozbalovací otázky */
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq .plus { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #B9DADD; display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.faq[open] .plus { transform: rotate(45deg); background: #F6C6CF; }

/* Mobil */
@media (max-width: 760px) {
  .kd-head nav { display: none !important; }
  .kd-menu-m { display: block; }
}
@media (max-width: 640px) {
  .kd section > div { padding-top: 48px !important; padding-bottom: 48px !important; }
  .kd section a.btn { display: block !important; text-align: center; padding: 18px 20px !important; font-size: 17px !important; }
  .qrow { flex-direction: column; align-items: flex-start !important; gap: 6px !important; }
  .hide-m { display: none !important; }
  .sticky-cta { display: block !important; }
  .foot { padding-bottom: 96px !important; }
}

/* Rychlý test ANO / NE */
.yn{flex:none;display:flex;gap:8px}
.yn input{position:absolute;opacity:0;width:1px;height:1px}
.yn label{display:inline-block;min-width:58px;text-align:center;padding:10px 14px;border-radius:999px;border:2px solid #E7F2F1;background:#fff;cursor:pointer;font-family:'League Spartan',sans-serif;font-weight:700;font-size:15px;color:#6B6969}
.yn label:hover{border-color:#B9DADD}
.yn input:focus-visible+label{outline:3px solid #4EA5AD;outline-offset:2px}
.yn input[value=ano]:checked+label{background:#4EA5AD;border-color:#4EA5AD;color:#fff}
.yn input[value=ne]:checked+label{background:#F6C6CF;border-color:#F6C6CF;color:#403E3E}
.quiz .res-ne{display:none}
.quiz:has(input[value=ne]:checked) .res-ne{display:block}
.quiz:has(input[value=ne]:checked) .res-def{display:none}

/* Štítky v úvodu */
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{display:inline-flex;gap:6px;align-items:baseline;background:#E7F2F1;color:#2f7f87;font-weight:700;font-size:15px;padding:8px 14px;border-radius:999px}
.chip b{font-family:'League Spartan',sans-serif;font-size:17px}
@media (max-width:640px){
.chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.chip{flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:2px;border-radius:16px;padding:12px 6px;font-size:13px;line-height:1.25}
.chip b{font-size:24px;line-height:1}
}

@media (max-width:640px){
#top-p h1{font-size:32px !important}
#top-p > div{gap:28px !important}
.quiz [style*="border-radius:28px"]{padding:24px 16px !important}
.quiz button[style*="min-width:150px"]{min-width:0 !important;flex:1}
}

/* Ohlasy – sloupce */
.kd-ref{columns:3 300px}
