/*
Theme Name: IVHB Modern
Theme URI: https://ivhb.ch/
Author: Lanpool / ChatGPT
Description: Modernes eigenständiges WordPress-Theme für ivhb.ch, PHP 8.3/8.4 kompatibel. Rekonstruiert das klassische IVHB Layout ohne Parent-Theme-Abhängigkeit.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: ivhb-modern
*/

:root{--ivhb-blue:#2d52a5;--ivhb-grey:#959182;--ivhb-light:#cccbc6;--ivhb-border:#d8d8d8;--ivhb-text:#333;}
*{box-sizing:border-box} body{margin:0;background:#fff;color:var(--ivhb-text);font-size:16px;line-height:1.75;font-family:Frutiger, "Frutiger Next", Helvetica, Arial, sans-serif;font-weight:300;}
a{color:var(--ivhb-grey);text-decoration:none} a:hover{color:var(--ivhb-blue);text-decoration:underline}.site-shell{max-width:1170px;margin:0 auto;background:#fff}.site-header{min-height:180px;background:#fff url("/wp-content/uploads/2014/09/bg.jpg") no-repeat right top;position:relative}.topbar{display:flex;gap:1rem;align-items:flex-start;justify-content:space-between;padding:14px 10px 0 40px}.top-menu{list-style:none;margin:0;padding:0;display:flex;gap:8px;flex-wrap:wrap}.top-menu a{font-size:13px;text-transform:uppercase;font-weight:400;color:var(--ivhb-grey)}.searchform input[type=search]{width:125px;text-transform:uppercase;font-size:12px;border:0;background:var(--ivhb-light);padding:5px;color:#000}.brand{width:450px;padding:42px 0 20px 20px}.brand-title{display:block;font-size:3.5em;font-weight:700;line-height:1;color:var(--ivhb-blue)}.brand-title a{color:var(--ivhb-blue);text-decoration:none}.brand-tagline{display:block;color:var(--ivhb-grey);font-size:1.5em;text-transform:uppercase;font-weight:700;margin-top:4px}.mobile-nav{display:none;background:var(--ivhb-blue);padding:10px 15px}.mobile-nav a{color:#fff;margin-right:14px}.wrapper{border-top:10px solid var(--ivhb-blue);padding:0 10px 10px}.layout{display:grid;grid-template-columns:18% minmax(0,1fr) 22%;gap:18px}.left-sidebar{padding-top:10px}.right-sidebar{padding-top:20px}.sidebox{border:1px solid var(--ivhb-border);padding:10px;margin-bottom:16px}.left-menu{list-style:none;padding:0;margin:0}.left-menu li{margin:0;padding:0}.left-menu a{display:block;border-bottom:1px solid var(--ivhb-grey);padding:3px 0;color:var(--ivhb-grey)}.left-menu a:hover,.left-menu .current-menu-item>a{color:var(--ivhb-blue);font-weight:500;text-decoration:none}.content{padding:16px 15px;min-height:420px}h1,h2,h3,h4{color:var(--ivhb-blue);font-weight:500;line-height:1.25;margin:0 0 .75em}h1{font-size:30px}h2{font-size:24px}h3{font-size:18px}.entry-content img{max-width:100%;height:auto}.entry-content ul{padding-left:1.3em}.doc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin:16px 0}.doc-card{border:1px solid var(--ivhb-border);padding:12px;background:#fafafa}.doc-card strong{color:var(--ivhb-blue);display:block}.hero-note{background:#f7f7f7;border-left:6px solid var(--ivhb-blue);padding:14px 18px;margin-bottom:20px}.site-footer{background:var(--ivhb-grey);color:#fff;font-size:13px;text-align:center;padding:12px}.site-footer a{color:#fff}.right-sidebar h3{margin-bottom:8px}.right-sidebar p{margin-top:0}.team-img{width:100%;height:auto;margin:4px 0 8px}.wp-caption,.aligncenter{text-align:center;margin-left:auto;margin-right:auto}.post-list article{border-bottom:1px solid var(--ivhb-border);padding-bottom:15px;margin-bottom:15px}.button-link{display:inline-block;background:var(--ivhb-blue);color:#fff!important;padding:6px 10px;margin:3px 0}.button-link:hover{color:#fff;text-decoration:underline}
@media(max-width:980px){.layout{grid-template-columns:1fr}.left-sidebar{display:none}.right-sidebar{padding-top:0}.mobile-nav{display:block}.topbar{display:none}.site-header{min-height:150px}.brand{width:auto;padding:25px 10px 25px 10px}.brand-title{font-size:3em}.brand-tagline{font-size:1em}.wrapper{padding:0 10px}.content{padding:15px 0}.site-footer{text-align:left}}
@media(max-width:650px){.site-header{background:#fff url("/wp-content/uploads/2014/09/bg-mobile.jpg") no-repeat right top}.brand-title{font-size:2.4em}.layout{gap:0}}
