/*
Theme Name: Christian Blab
Template: ollie
Description: Child-Theme von Ollie für christianblab: Fraunces für Überschriften, Source Serif im Fließtext, Petrol-Palette, Buch-Hero und Karten.
Author: Christian Blab
Version: 2.0.1
Text Domain: christian-blab
*/

.cb-kicker { font-size: .8125rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--primary); margin: 0 !important; }
.cb-hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; margin-top: .4rem; }
.cb-lead { font-size: clamp(1.15rem, 1.5vw, 1.35rem); color: var(--wp--preset--color--secondary); max-width: 32em; }
.cb-covers { display: flex; justify-content: center; align-items: flex-end; padding: 1rem 0 2rem; }
.cb-covers figure { margin: 0; width: 47%; border-radius: 3px; overflow: hidden; box-shadow: 0 24px 44px -20px rgba(25,33,35,.55); }
.cb-covers figure img { display: block; width: 100%; height: auto; }
.cb-covers figure:first-child { transform: rotate(-3deg) translateX(7%); z-index: 1; }
.cb-covers figure:last-child { transform: rotate(2.5deg) translate(-7%, -5%); }

.cb-section-title { padding-bottom: .75rem; border-bottom: 1px solid var(--wp--preset--color--border-light); }
.cb-card { background: var(--wp--preset--color--tertiary); border: 1px solid var(--wp--preset--color--border-light); border-radius: 8px; padding: var(--wp--preset--spacing--medium); height: 100%; }
.cb-card h3 { margin-top: 0; }
.cb-card h3 a { text-decoration: none; }
.cb-card h3 a:hover { text-decoration: underline; }
.cb-card .wp-block-image { margin: 0; }
.cb-card .wp-block-image img { border-radius: 3px; box-shadow: 0 14px 28px -16px rgba(25,33,35,.6); }
.cb-empty { padding: 1.25rem 1.5rem; border: 1px dashed var(--wp--preset--color--border-light); border-radius: 8px; color: var(--wp--preset--color--secondary); }

/* Lesen: Serifenschrift im Beitrag, Fokus sichtbar, große Zielflächen */
.wp-block-post-content { hyphens: auto; }
.wp-block-post-content > :is(h2, h3) { margin-top: 2.2em; }
:where(a, button, input, summary):focus-visible { outline: 3px solid var(--wp--preset--color--primary); outline-offset: 3px; }
.wp-block-navigation .wp-block-navigation-item__content { padding-block: .6rem; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
.cb-cover-shadow img { border-radius: 3px; box-shadow: 0 24px 44px -20px rgba(25,33,35,.55); max-width: 100%; height: auto; }
.wp-block-post-content > .wp-block-columns:first-child { margin-top: var(--wp--preset--spacing--large); }

/* Video: Click-to-load, keine Verbindung zu YouTube vor dem Abspielen */
.cb-video { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #0c1112; border: 1px solid var(--wp--preset--color--border-dark); }
.cb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cb-video__poster { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .5rem; padding: clamp(1rem, 3vw, 2rem); background: linear-gradient(135deg, #12303a 0%, #0c1112 70%); }
.cb-video__kicker { margin: 0; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--primary-accent); font-weight: 650; }
.cb-video__title { margin: 0; font-family: var(--wp--preset--font-family--fraunces); font-weight: 700; font-size: clamp(1.15rem, 2.4vw, 1.7rem); line-height: 1.2; color: #fff; max-width: 22em; }
.cb-video__play { margin-top: .5rem; min-height: 44px; padding: .7rem 1.3rem; border: 0; border-radius: 4px; background: #fff; color: #192123; font-weight: 650; cursor: pointer; font-family: inherit; }
.cb-video__play:hover { background: var(--wp--preset--color--primary-accent); }
.cb-video__note { margin: 0; font-size: .75rem; color: var(--wp--preset--color--main-accent); }
.cb-yt .wp-block-column { min-width: 0; }
