/*
Theme Name: Kadence Child
Template: kadence
Version: 1.0
*/
/* ============================================================
   Agrocaballo – Schriftgrößen-Fix
   Datei: /wp-content/themes/kadence-child/style.css
   (diesen Block ANhängen an die bestehende style.css)
   ============================================================ */

/* ── Globale Base-Schriftgröße ────────────────────────────── */
body {
    font-size: 16px !important;
    line-height: 1.7 !important;
}

/* ── Fließtext / Paragraphen ──────────────────────────────── */
p, li, td, th, label, input, select, textarea, span {
    font-size: 15px;
    line-height: 1.7;
}

/* ── Navigationslinks ─────────────────────────────────────── */
.main-navigation a,
.nav-link,
header nav a {
    font-size: 15px !important;
}

/* ── Seitenüberschriften ──────────────────────────────────── */
h1 { font-size: 2rem !important; line-height: 1.25 !important; }
h2 { font-size: 1.5rem !important; line-height: 1.3 !important; }
h3 { font-size: 1.2rem !important; line-height: 1.35 !important; }
h4 { font-size: 1.05rem !important; line-height: 1.4 !important; }

/* ── Stellenanzeigen-Archiv (ac-*) ───────────────────────── */
.ac-job-title       { font-size: 17px !important; }
.ac-job-meta        { font-size: 14px !important; }
.ac-tag             { font-size: 13px !important; padding: 3px 11px !important; }
.ac-badge           { font-size: 12px !important; }
.ac-count           { font-size: 14px !important; }
.ac-section-label   { font-size: 12px !important; }
.ac-section-title   { font-size: 1.3rem !important; }
.ac-search-bar input[type="text"] { font-size: 16px !important; }
.ac-filters select  { font-size: 15px !important; }
.ac-search-btn      { font-size: 16px !important; }

/* ── Single Stellenanzeige ────────────────────────────────── */
.ac-header-body h1        { font-size: 1.6rem !important; }
.ac-header-company        { font-size: 16px !important; }
.ac-header-meta           { font-size: 14.5px !important; }
.ac-header-tags .ac-tag   { font-size: 13px !important; }

.ac-content-box .entry-content p,
.ac-content-box .entry-content li  { font-size: 16px !important; line-height: 1.75 !important; }
.ac-content-box .entry-content h2  { font-size: 1.25rem !important; }
.ac-content-box .entry-content h3  { font-size: 1.1rem !important; }

.ac-overview-label  { font-size: 12px !important; }
.ac-overview-value  { font-size: 15px !important; }
.ac-sidebar-box h3  { font-size: 12px !important; }
.ac-sidebar-company { font-size: 14.5px !important; }
.ac-sidebar-apply   { font-size: 16px !important; }
.ac-btn-apply       { font-size: 16px !important; }

.ac-similar-card-title { font-size: 15px !important; }
.ac-similar-card-meta  { font-size: 13.5px !important; }
.ac-breadcrumb         { font-size: 13.5px !important; }

/* ── Mobil ────────────────────────────────────────────────── */
@media (max-width: 600px) {
    body { font-size: 15px !important; }
    .ac-header-body h1 { font-size: 1.35rem !important; }
    .ac-job-title { font-size: 16px !important; }
    .ac-content-box .entry-content p,
    .ac-content-box .entry-content li { font-size: 15.5px !important; }
}
/* ============================================================
   Agrocaballo – Transparent Header → Sticky beim Scrollen
   In /wp-content/themes/kadence-child/style.css ANhängen
   (oder in Customizer → Zusätzliches CSS einfügen zum Testen)
   ============================================================ */

/* ── Basis: Header über dem Hero ──────────────────────────── */
#masthead {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    transition: background-color .3s ease, box-shadow .3s ease !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* ── Beim Scrollen: weiß + Schatten ───────────────────────── */
#masthead.scrolled {
    background: #fff !important;
    box-shadow: 0 2px 12px rgba(0,0,0,.09) !important;
}

/* ── Logo + Nav-Links im transparenten Zustand: weiß ─────── */
#masthead:not(.scrolled) .site-branding a,
#masthead:not(.scrolled) .site-header-item .menu-item a {
    color: #fff !important;
}

/* Logo-Text "Agrocaballo" weiß wenn transparent ───────────── */
#masthead:not(.scrolled) .site-title a,
#masthead:not(.scrolled) .site-title {
    color: #fff !important;
}

/* ── Grüner Button bleibt immer grün ─────────────────────── */
#masthead .site-header-item a[href*="stellenanzeige"] {
    background: #3d9e62 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 6px 15px !important;
    font-weight: 700 !important;
    margin-left: 6px !important;
    display: inline-block !important;
}
#masthead .site-header-item a[href*="stellenanzeige"]:hover {
    background: #2d7a4a !important;
}

/* ── Hero muss bis ganz nach oben: padding-top entfernen ──── */
/* (damit das Hero-Bild den Header überlappt)                  */
.site-main > *:first-child,
.entry-content > *:first-child,
#ac-hero {
    margin-top: 0 !important;
}


/* ── "Stellenanzeige schalten" als grüner Button ─────────── */
/* Kadence Navigation: .site-header-item > nav > ul > li > a   */

header#masthead .site-header-item a[href*="stellenanzeige"] {
    background-color: #3d9e62 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 6px 15px !important;
    font-weight: 700 !important;
    margin-left: 6px !important;
    display: inline-block !important;
    line-height: 1.5 !important;
    transition: background-color .15s ease !important;
}

header#masthead .site-header-item a[href*="stellenanzeige"]:hover {
    background-color: #2d7a4a !important;
    color: #fff !important;
}
#masthead {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,.09);
}

#masthead .site-header-item a[href*="stellenanzeige"] {
    background: #3d9e62 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 6px 15px !important;
    font-weight: 700 !important;
}
#masthead .site-header-item a[href*="stellenanzeige"]:hover {
    background: #2d7a4a !important;
}
/* ============================================================
   Agrocaballo – Transparent Header → Sticky beim Scrollen
   In /wp-content/themes/kadence-child/style.css ANhängen
   (oder in Customizer → Zusätzliches CSS einfügen zum Testen)
   ============================================================ */

/* ── Basis: Header über dem Hero ──────────────────────────── */
#masthead {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    transition: background-color .3s ease, box-shadow .3s ease !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* ── Beim Scrollen: weiß + Schatten ───────────────────────── */
#masthead.scrolled {
    background: #fff !important;
    box-shadow: 0 2px 12px rgba(0,0,0,.09) !important;
}

/* ── Logo + Nav-Links im transparenten Zustand: weiß ─────── */
#masthead:not(.scrolled) .site-branding a,
#masthead:not(.scrolled) .site-header-item .menu-item a {
    color: #fff !important;
}

/* Logo-Text "Agrocaballo" weiß wenn transparent ───────────── */
#masthead:not(.scrolled) .site-title a,
#masthead:not(.scrolled) .site-title {
    color: #fff !important;
}

/* ── Grüner Button bleibt immer grün ─────────────────────── */
#masthead .site-header-item a[href*="stellenanzeige"] {
    background: #3d9e62 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 6px 15px !important;
    font-weight: 700 !important;
    margin-left: 6px !important;
    display: inline-block !important;
}
#masthead .site-header-item a[href*="stellenanzeige"]:hover {
    background: #2d7a4a !important;
}

/* ── Hero muss bis ganz nach oben: padding-top entfernen ──── */
/* (damit das Hero-Bild den Header überlappt)                  */
.site-main > *:first-child,
.entry-content > *:first-child,
#ac-hero {
    margin-top: 0 !important;
}
/* Site Title neben Logo ausblenden */
.site-branding .site-title,
.site-branding span.site-title {
    display: none !important;
}
/* Site Title neben Logo ausblenden */
.site-title-wrap {
    display: none !important;
}
/* Site Title neben Logo ausblenden */
#masthead .site-title-wrap,
#masthead .site-title-wrap p.site-title,
#masthead p.site-title {
    display: none !important;
}
/* Site Title neben Logo ausblenden */
.site-branding.branding-layout-standard .site-title-wrap {
    display: none !important;
}
.site-branding .site-title-wrap,
.site-branding .site-title-wrap p,
p.site-title {
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
}
.site-branding .site-title-wrap {
    display: none !important;
}
.site-branding .site-title[style] {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    width: 0 !important;
    overflow: hidden !important;
}