/*
Theme Name: HNO Köln-Rodenkirchen
Template: twentytwentyfive
Description: Child-Theme für die HNO-Praxis Dr. Jan Bosch, Köln-Rodenkirchen. Ruhiges, barrierearmes Layout, Schriften lokal, keine externen Dienste.
Version: 0.3.6
Text Domain: hno-koeln
*/
.hno-termin-btn .wp-block-button__link{white-space:nowrap}
.wp-block-navigation .wp-block-navigation-item__content{padding:.25rem 0}
.hno-tiles .wp-block-column{position:relative;transition:background-color .15s,box-shadow .15s,transform .15s;background:var(--wp--preset--color--accent-5);border-radius:10px;padding:1.25rem}
.hno-tiles h3{margin-top:0;font-size:1.15rem}
.hno-tiles a{text-decoration:none}
.hno-tiles a:hover,.hno-tiles a:focus{text-decoration:underline}
.entry-content table,.wp-block-table table{border-collapse:collapse;width:100%}
.wp-block-table td,.wp-block-table th{border:1px solid #cfdcdd;padding:.5rem .65rem;vertical-align:top}
.wp-block-table thead th{background:var(--wp--preset--color--accent-2);color:var(--wp--preset--color--contrast)}
.hno-cta{background:var(--wp--preset--color--accent-5);border-radius:10px;padding:1.25rem 1.5rem}
.hno-placeholder{background:var(--wp--preset--color--accent-5);aspect-ratio:4/5;border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--wp--preset--color--accent-1)}
.hno-notice{border-radius:10px;background:var(--wp--preset--color--accent-5);padding:.75rem 1rem}
:focus-visible{outline:3px solid #b35c00;outline-offset:2px}
:where(.wp-site-blocks) :focus:not(:focus-visible){outline:none}
.wp-block-table thead{border-bottom:0}
@media (max-width:600px){
 .wp-block-table table{table-layout:fixed;font-size:.9rem}
 .wp-block-table td,.wp-block-table th{padding:.4rem .45rem;overflow-wrap:anywhere;hyphens:auto}
}
.wp-site-blocks{min-height:100vh;display:flex;flex-direction:column}
.wp-site-blocks>main{flex:1 0 auto}
.hno-ratgeber-liste{list-style:none;padding:0;margin:1.5rem 0}
.hno-ratgeber-liste li{padding:.9rem 0;border-bottom:1px solid #cfdcdd}
.hno-ratgeber-liste a{font-weight:600}
.hno-ratgeber-liste span{display:inline-block;margin-top:.2rem}
header.wp-block-template-part{border-bottom:4px solid var(--wp--preset--color--accent-2)}
.hno-team-foto img{border-radius:8px;aspect-ratio:4/5;object-fit:cover}
.wp-block-gallery.hno-praxis-fotos img{border-radius:8px}

/* 0.2.0: Praxis-Türkis (#33BBCC) als Akzent. Für Text bleibt das dunklere Türkis wegen des Kontrasts. */
.hno-termin-btn .wp-block-button__link{background:transparent;color:var(--wp--preset--color--contrast);border:2px solid var(--wp--preset--color--accent-2);padding:.5rem 1rem}
.hno-termin-btn .wp-block-button__link:hover,.hno-termin-btn .wp-block-button__link:focus{background:var(--wp--preset--color--accent-2);color:var(--wp--preset--color--contrast)}
main h1.wp-block-heading,main h1.wp-block-post-title{text-decoration:underline;text-decoration-color:var(--wp--preset--color--accent-2);text-decoration-thickness:4px;text-underline-offset:.3em;text-decoration-skip-ink:none}
.wp-block-post-content a,.entry-content a,main p a,main li a{text-decoration-color:var(--wp--preset--color--accent-2);text-decoration-thickness:2px;text-underline-offset:3px}
main ul.wp-block-list li::marker{color:var(--wp--preset--color--accent-2)}
footer.wp-block-template-part{border-top:4px solid var(--wp--preset--color--accent-2)}
.hno-hinweis:has(.wp-block-post-template li){background:var(--wp--preset--color--accent-5);padding:.75rem 1.25rem;border-radius:10px;margin:1rem 0}
.hno-hinweis .wp-block-post-template{list-style:none;margin:0;padding:0}
.hno-hinweis h2{font-size:1.2rem;margin:0 0 .25rem}
.hno-aktuelles{list-style:none;padding:0}
.hno-aktuelles li{padding:.6rem 0;border-bottom:1px solid var(--wp--preset--color--accent-6)}
.hno-aktuelles time{display:block;font-size:.9rem;color:var(--wp--preset--color--accent-4)}
/* 0.2.1 */
.hno-tiles h3 a::after{content:"";position:absolute;inset:0;border-radius:10px}
.hno-tiles .wp-block-column:hover,.hno-tiles .wp-block-column:focus-within{background:#dcefF1;box-shadow:0 4px 14px rgba(29,43,51,.12);transform:translateY(-2px)}
.hno-tiles .wp-block-column:hover h3 a{text-decoration:underline}
@media (prefers-reduced-motion:reduce){.hno-tiles .wp-block-column{transition:none}.hno-tiles .wp-block-column:hover{transform:none}}
.wp-block-gallery.hno-praxis-fotos.columns-1{max-width:760px}
.wp-block-gallery.hno-praxis-fotos .wp-block-image{flex-direction:column!important}
.wp-block-gallery.hno-praxis-fotos .wp-block-image img{height:auto!important;flex:none!important}
.wp-block-gallery.hno-praxis-fotos .wp-block-image figcaption{position:static!important;background:none!important;color:var(--wp--preset--color--contrast)!important;text-shadow:none!important;font-size:1.1rem!important;line-height:1.5!important;padding:.4rem 0 0!important;margin:0!important;text-align:left!important;max-height:none!important;overflow:visible!important}
.wp-block-gallery.hno-praxis-fotos .wp-block-image figcaption:empty{display:none}
.hno-team-foto figcaption{font-size:1.05rem}
.hno-termin-btn .wp-block-button__link:hover,.hno-termin-btn .wp-block-button__link:focus{color:var(--wp--preset--color--contrast)}
.wp-block-gallery.hno-praxis-fotos.columns-1 .wp-block-image{width:100%!important}

/* Aktuelles ausblenden, solange es keine Meldung gibt */
main h2:has(+ ul.hno-aktuelles:empty),ul.hno-aktuelles:empty,ul.hno-aktuelles:empty + p{display:none}
.hno-zurueck{margin-top:var(--wp--preset--spacing--50)}
.wp-block-table thead th{font-weight:600}
/* Ratgeber: Hinweis zur medizinischen Prüfung */
.hno-autor{display:flex;gap:1rem;align-items:center;background:var(--wp--preset--color--accent-5);border-radius:10px;padding:1rem 1.25rem;margin:var(--wp--preset--spacing--50) 0}
.hno-autor img{width:72px;height:72px;border-radius:50%;object-fit:cover;object-position:50% 20%;flex:none}
.hno-autor p{margin:0;line-height:1.5}
/* Mehr Abstand vor Abschnitten (0.3.3) */
.entry-content > h2.wp-block-heading:not(:first-child){margin-top:clamp(2.5rem,5vw,3.5rem)}
