/*
Theme Name: Evidenzwerk
Description: Eigenständiges Block-Theme für Evidenzwerk. Wissensbereich, OMW und persönliche Fachinformationen mit dem WordPress-Editor gestalten.
Version: 1.0.1
Requires at least: 6.6
Requires PHP: 7.4
Author: Evidenzwerk
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: evidenzwerk
Tags: full-site-editing, block-patterns, blog, education
*/
html { scroll-behavior: smooth; }
body { margin: 0; overflow-wrap: anywhere; }
*, *::before, *::after { box-sizing: border-box; }
.wp-site-blocks { padding-top: 0; padding-bottom: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.ew-header, .ew-footer { padding-inline: clamp(20px, 4vw, 46px); }
.ew-header { padding-block: 22px; border-bottom: 1px solid #dce2d8; gap: 24px; }
.ew-header-inner, .ew-footer-inner { width: 100%; max-width: 1120px; margin-inline: auto; }
.ew-header .wp-block-site-title { font-size: 25px; letter-spacing: -1px; font-weight: 500; margin: 0; }
.ew-header .wp-block-site-title a { text-decoration: none; }
.ew-brand-symbol { background: #1e4e3d; color: #f6f5ef; font: 30px/1 Georgia, serif; width: 33px; height: 33px; border-radius: 7px; display: grid; place-items: center; margin: 0; }
.ew-header .wp-block-navigation { font-size: 14px; }
.ew-header .wp-block-navigation__container { gap: 25px; }
.ew-header .wp-block-navigation-item__content { padding-block: 9px; }
.ew-main { padding-inline: clamp(20px, 4vw, 46px); }
.ew-kicker { font-family: Arial, Helvetica, sans-serif; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: #52645b; }
.ew-hero { padding-block: 64px 48px; gap: 50px; align-items: center !important; }
.ew-hero-heading { font-size: clamp(39px, 5.3vw, 66px); line-height: 1.06; letter-spacing: -2px; font-weight: 400; margin-block: 16px 23px; }
.ew-hero-heading em { color: #1e4e3d; font-style: italic; }
.ew-intro { color: #52645b; max-width: 520px; font-size: 17px; line-height: 1.7; }
.ew-hero .wp-block-buttons { margin-top: 27px; gap: 14px; }
.wp-block-button__link { border-radius: 5px; padding: 13px 22px; font-size: 14px; text-decoration: none; min-height: 46px; }
.is-style-outline .wp-block-button__link { border-width: 1px; }
body .wp-block-group.ew-feature { background: #1e4e3d; color: #f6f5ef; border-radius: 9px; padding: clamp(23px, 3vw, 34px); }
.ew-feature .ew-kicker, .ew-feature a { color: inherit; }
.ew-feature .ew-kicker { opacity: .85; }
.ew-feature h2 { font-size: clamp(30px, 3.5vw, 40px); line-height: 1.18; margin-block: 22px 15px; }
.ew-feature p { font-size: 15px; line-height: 1.75; }
.ew-feature .wp-block-separator { border-color: currentColor; opacity: .5; }
.ew-feature a { text-underline-offset: 5px; }
.ew-topics { border-top: 1px solid #dce2d8; border-bottom: 1px solid #dce2d8; padding-block: 18px; gap: 12px 24px; font-size: 13px; color: #52645b; }
.ew-topics p { margin: 0; }
.ew-section { padding-block: 38px 44px; }
.ew-section-heading { font-size: clamp(29px, 3vw, 36px); line-height: 1.2; margin-block: 7px 24px; }
body .wp-block-group.ew-story { background: #fff; border: 1px solid #dce2d8; border-radius: 7px; padding: 24px; height: 100%; }
.ew-story .wp-block-post-title { font-size: 26px; line-height: 1.25; letter-spacing: -.5px; margin-block: 15px; }
.ew-story .wp-block-post-title a { text-decoration: none; }
.ew-story .wp-block-post-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ew-story .wp-block-post-excerpt { font-size: 14px; color: #52645b; }
.ew-story .wp-block-post-date { font-size: 12px; color: #52645b; border-top: 1px solid #dce2d8; padding-top: 14px; }
.ew-story-topic { font-size: 11px; letter-spacing: .8px; text-transform: uppercase; }
.ew-story-topic a { text-decoration: none; }
.ew-story .wp-block-post-featured-image img { border-radius: 4px; aspect-ratio: 16/10; object-fit: cover; }
.ew-post-grid { gap: 20px !important; }
.ew-post-grid > li { margin: 0; min-width: 0; }
.ew-empty { color: #52645b; border-top: 1px solid #dce2d8; padding-block: 22px; }
.ew-author { border-top: 1px solid #dce2d8; padding-block: 30px 38px; gap: 25px; align-items: flex-start !important; }
.ew-author p { color: #52645b; font-size: 15px; }
.ew-author h2 { margin-top: 0; font-size: 28px; }
.ew-monogram { background: #e7eddf; color: #1e4e3d !important; font: 32px/1 Georgia, serif !important; display: grid; place-items: center; width: 76px; min-width: 76px; height: 88px; border-radius: 7px; margin: 0; }
.ew-footer { border-top: 1px solid #dce2d8; color: #52645b; padding-block: 23px; font-size: 12px; }
.ew-footer a { color: inherit; text-underline-offset: 3px; }
.ew-footer .wp-block-navigation { font-size: 12px; }
.ew-page { padding-top: 46px; padding-bottom: 55px; }
.ew-page-heading { font-size: clamp(37px, 4.6vw, 54px); line-height: 1.1; letter-spacing: -1.3px; margin-block: 12px 29px; }
.ew-page .wp-block-post-content { margin-top: 28px; }
.ew-article-heading { font-size: clamp(36px, 5vw, 56px); line-height: 1.12; letter-spacing: -1.4px; }
.ew-article-meta { font-size: 13px; color: #52645b; border-top: 1px solid #dce2d8; border-bottom: 1px solid #dce2d8; padding-block: 13px; gap: 12px 24px; }
.ew-article-body { font-size: 18px; line-height: 1.8; }
.ew-article-body h2 { font-size: 31px; line-height: 1.25; margin-top: 36px; }
body .wp-block-group.ew-source { background: #e7eddf; border-radius: 7px; padding: 24px; font-size: 15px; }
.ew-mail a { overflow-wrap: anywhere; }
.ew-portrait-placeholder { min-height: 160px; background: #e7eddf; color: #1e4e3d; display: grid; place-items: center; font-family: Georgia, serif; font-size: 54px; border-radius: 7px; }
.ew-article-body .wp-block-file, .wp-block-file { background: #e7eddf; padding: 16px; border-radius: 5px; }
.wp-block-query-pagination { padding-block: 25px; }
.wp-block-image img { max-width: 100%; height: auto; }
.wp-block-post-content a { text-underline-offset: 3px; }
@media(max-width:900px) { .ew-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .ew-hero { gap: 28px; } }
@media(max-width:781px) { .ew-hero { padding-top: 38px; gap: 27px; } .ew-hero-heading { max-width: 650px; } .ew-feature { max-width: 650px; } }
@media(max-width:600px) { .ew-post-grid { grid-template-columns: minmax(0, 1fr) !important; } .ew-header { padding-block: 16px; } .ew-hero-heading { font-size: 44px; letter-spacing: -1.7px; } .ew-author { flex-wrap: nowrap !important; gap: 17px; } .ew-monogram { width: 52px; min-width: 52px; height: 67px; font-size: 25px !important; } .ew-footer-inner { align-items: flex-start !important; } .ew-article-body { font-size: 17px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
