/*
Theme Name: Horex Classic Fullwidth
Theme URI: https://www.horex.ch/
Description: Astra-Free-Child-Theme fuer den Schweizer HOREX Club mit rahmenlosem Fullwidth-Header.
Author: Schweizer HOREX Club
Template: astra
Version: 1.6.0
Text Domain: horex-classic
*/
:root{--horex-blue:#183ea8;--horex-blue-dark:#102f82;--horex-red:#b41414;--chrome:#d9d9d9;--content:1200px;--text:#222}
html{scroll-behavior:smooth}body{margin:0;color:var(--text);background:linear-gradient(180deg,#f8f8f8,#d0d0d0);font-family:Arial,Helvetica,sans-serif}body,button,input,select,textarea{font-size:17px;line-height:1.65}img{max-width:100%;height:auto}.ast-container{max-width:var(--content)}
.horex-banner-wrap{width:100%;max-width:none;margin:0;padding:0;overflow:hidden;border:0;background:linear-gradient(90deg,#ececec,#c9c9c9 55%,#e7e7e7)}.horex-banner-wrap a{display:block;width:100%}.horex-banner-wrap img{display:block;width:100%;height:auto;margin:0;border:0}.site-branding{display:none}
.main-header-bar,.ast-primary-header-bar{width:100%;max-width:none;margin:0;padding:0;background:linear-gradient(180deg,#efefef,#aaa 50%,#d7d7d7);border:0;border-bottom:2px solid var(--horex-blue);box-shadow:inset 0 1px 0 rgba(255,255,255,.85),inset 0 -1px 0 rgba(0,0,0,.18)}.main-header-bar .ast-container,.ast-primary-header-bar .ast-container{width:100%;max-width:var(--content);margin-inline:auto;padding-inline:16px}.main-header-menu>.menu-item>a{color:#1e1e1e;font-weight:700}.main-header-menu>.menu-item:hover>a,.main-header-menu>.current-menu-item>a,.main-header-menu>.current-menu-ancestor>a{color:#fff;background:linear-gradient(#2f65f0,var(--horex-blue))}.ast-mobile-menu-trigger-minimal{color:var(--horex-blue-dark)}.ast-header-break-point .main-header-menu{background:linear-gradient(#eee,#c8c8c8)}
.site-content{max-width:var(--content);margin-inline:auto;background:linear-gradient(180deg,rgba(248,248,248,.98),rgba(215,215,215,.98));border-inline:2px solid var(--horex-blue)}.horex-frontpage{overflow:hidden}.horex-hero{min-height:430px;display:grid;align-items:center;background:linear-gradient(90deg,rgba(7,18,48,.82),rgba(15,28,62,.33)),linear-gradient(135deg,#68727b,#d2d5d7 52%,#7e878f);border-bottom:2px solid var(--horex-blue)}.horex-hero-inner{width:min(100% - 40px,1100px);margin:auto}.horex-hero-content{max-width:680px;padding:clamp(24px,5vw,46px);color:#fff;background:rgba(8,16,36,.76);border-left:5px solid #2f65f0;border-radius:6px;box-shadow:0 14px 30px rgba(0,0,0,.26)}.horex-hero h1{margin:0 0 12px;color:#fff;font-size:clamp(2.1rem,5vw,4rem);line-height:1.08}.horex-hero p{margin:0 0 26px;color:#fff;font-size:clamp(1.05rem,2vw,1.35rem)}
.horex-section{padding:clamp(42px,7vw,76px) 20px}.horex-section-inner{width:min(100%,1100px);margin:auto}.horex-section-title{margin:0 0 28px;color:var(--horex-blue-dark);text-align:center}.horex-intro{text-align:center}.horex-intro p{max-width:820px;margin:auto}.horex-grid,.horex-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.horex-card,.horex-news-item,.widget{background:linear-gradient(#fbfbfb,#ededed 48%,#d9d9d9);border:1px solid #b8b8b8;border-top:4px solid var(--horex-blue);border-radius:6px;box-shadow:inset 0 1px 0 rgba(255,255,255,.92),0 3px 10px rgba(0,0,0,.12)}.horex-card{padding:28px}.horex-card h3,.horex-news-item h3,h1,h2,h3,.entry-title{color:var(--horex-blue-dark)}.horex-news-item{padding:24px}.horex-button,.ast-button,.button,.wp-element-button,.wp-block-button__link{display:inline-block;padding:12px 24px;color:#fff;background:linear-gradient(#d72727,#850d0d);border:1px solid #690808;border-radius:4px;font-weight:700;text-decoration:none}a{color:var(--horex-blue)}a:hover{color:var(--horex-red)}
.site-footer,.site-primary-footer-wrap,.site-below-footer-wrap{color:#fff;background:linear-gradient(90deg,#535353,#a0a0a0 50%,#535353)}.site-primary-footer-wrap,.site-below-footer-wrap{max-width:var(--content);margin:auto;border-inline:2px solid var(--horex-blue)}.site-primary-footer-wrap{border-top:2px solid var(--horex-blue)}.site-below-footer-wrap{border-bottom:2px solid var(--horex-blue)}.site-footer a{color:#fff}
@media(max-width:921px){body{font-size:16px}.horex-grid,.horex-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.horex-hero{min-height:380px}.site-content,.site-primary-footer-wrap,.site-below-footer-wrap{border-inline-width:1px}}
@media(max-width:600px){.horex-grid,.horex-news-grid{grid-template-columns:1fr}.horex-hero{min-height:350px}.horex-hero-inner{width:min(100% - 24px,1100px)}.horex-hero-content{padding:22px}.horex-section{padding-inline:14px}}

/* HOREX 1.2 - eigenes Menü direkt unter Header */
.site-header .main-header-bar,.site-header .ast-primary-header-bar{display:none!important}
.horex-nav{position:relative;z-index:50;width:100%;margin:0;padding:0;background:linear-gradient(180deg,#555,#222 52%,#383838);border-bottom:2px solid var(--horex-blue);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 2px 5px rgba(0,0,0,.18)}
.horex-nav-inner{width:100%;max-width:var(--content);margin:0 auto;padding:0 16px}.horex-menu{display:flex;align-items:stretch;flex-wrap:wrap;list-style:none;margin:0;padding:0}.horex-menu>li{position:relative;margin:0}.horex-menu a{display:block;padding:14px 20px;color:#fff;font-family:Arial,Helvetica,sans-serif;font-size:15px;font-weight:600;line-height:1.2;text-decoration:none;border-right:1px solid rgba(255,255,255,.12)}.horex-menu .current-menu-item>a,.horex-menu .current_page_item>a,.horex-menu a:hover,.horex-menu a:focus{color:#fff;background:linear-gradient(180deg,#2f65f0,var(--horex-blue))}.horex-menu .sub-menu,.horex-menu .children{display:none;position:absolute;top:100%;left:0;z-index:100;min-width:230px;margin:0;padding:0;list-style:none;background:#303030;box-shadow:0 6px 14px rgba(0,0,0,.28)}.horex-menu li:hover>.sub-menu,.horex-menu li:focus-within>.sub-menu,.horex-menu li:hover>.children,.horex-menu li:focus-within>.children{display:block}.horex-menu .sub-menu a,.horex-menu .children a{border-bottom:1px solid rgba(255,255,255,.1)}.horex-menu-toggle{display:none}
@media(max-width:921px){.horex-nav-inner{padding:0}.horex-menu-toggle{display:block;width:100%;padding:13px 18px;color:#fff;background:linear-gradient(#444,#222);border:0;border-radius:0;text-align:right;font-weight:700}.horex-menu{display:none;width:100%;flex-direction:column}.horex-menu.is-open{display:flex}.horex-menu>li{width:100%}.horex-menu a{padding:13px 18px;border-top:1px solid rgba(255,255,255,.1)}.horex-menu .sub-menu,.horex-menu .children{display:block;position:static;min-width:0;box-shadow:none;background:#3a3a3a}.horex-menu .sub-menu a,.horex-menu .children a{padding-left:34px}}


/* =====================================================
   HOREX 1.4 - BEARBEITBARER HOME-INHALT
   ===================================================== */
.horex-home-content {
    width: min(100% - 40px, 1100px);
    margin: 0 auto;
    padding: clamp(36px, 6vw, 72px) 0;
}

.horex-home-article {
    margin: 0;
    padding: clamp(24px, 4vw, 42px);
    background: linear-gradient(180deg, #fbfbfb 0%, #ededed 52%, #dadada 100%);
    border: 1px solid #b8b8b8;
    border-top: 4px solid var(--horex-blue);
    border-radius: 6px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 3px 12px rgba(0,0,0,.12);
}

.horex-home-title {
    margin: 0 0 24px;
    color: var(--horex-blue-dark);
}

.horex-home-entry > :first-child { margin-top: 0; }
.horex-home-entry > :last-child { margin-bottom: 0; }
.horex-home-entry .alignwide { max-width: 1100px; }
.horex-home-entry .alignfull {
    width: calc(100% + clamp(48px, 8vw, 84px));
    max-width: none;
    margin-left: calc(clamp(24px, 4vw, 42px) * -1);
}

.horex-edit-link {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(24,62,168,.22);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

@media (max-width: 600px) {
    .horex-home-content { width: min(100% - 24px, 1100px); }
    .horex-home-article { padding: 22px; }
    .horex-home-entry .alignfull {
        width: calc(100% + 44px);
        margin-left: -22px;
    }
}


/* =====================================================
   HOREX 1.5 - FULLWIDTH SEITENFLAECHE
   Aussen vollbreit, Home-Box bleibt auf Lesebreite
   ===================================================== */
.site-content {
    width: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    background: linear-gradient(
        180deg,
        #f8f8f8 0%,
        #e8e8e8 46%,
        #d5d5d5 100%
    );
}

/* Astra-Innencontainer im Content darf die Hintergrundflaeche nicht wieder einengen. */
.site-content > .ast-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Keine seitlichen blauen Linien mehr auf Tablet/Mobil. */
@media (max-width: 921px) {
    .site-content {
        border: 0;
    }
}


/* =====================================================
   HOREX 1.6 - ARIAL ALS STANDARDTYPOGRAFIE
   ===================================================== */
body,
button,
input,
select,
textarea,
.site-content,
.entry-content,
.horex-home-entry,
.horex-home-article,
.widget,
.site-footer {
    font-family: Arial, Helvetica, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.horex-home-title {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
}

.horex-home-entry {
    font-size: 17px;
    line-height: 1.65;
}
