/*
Theme Name: Pfotenschmiede Theme
Theme URI: 
Author: Udo Tillmann / volmestrand.de
Description: Ein frisches, modernes und aufgeräumtes WordPress-Theme für die Hundeschule Danzeglocke Hagen.
Version: 1.0

Text Domain: pfotenschmiede
*/

/* ==========================================================================
   1. Design-System & Variablen (60-30-10 Regel)
   ========================================================================== */
:root {
    /* 60% Basis: Reine, aufgeräumte Hintergründe und Basistexte */
    --color-bg-light: #ffffff;
    --color-bg-tint: #f4f7f9; /* Extrem helles Graublau für Sektionstrennung */
    --color-text-main: #333333;
    --color-text-muted: #666666;
    
    /* 30% Struktur & Vertrauen: Deep Dark Blue für Headings & Navigation */
    --color-primary: #1a365d;
    --color-primary-light: #74cbe9;
    
    /* 10% Akzent & Energie: Frisches Orange für CTA & wichtige Highlights */
    --color-accent: #ff7a00;
    --color-accent-hover: #f08116;
    
    /* Schriften & Abstände */
    --font-main: 'Poppins', 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --max-width: 1200px;
    --transition-smooth: all 0.3s ease;
}

/* ==========================================================================
   2. Grund-Setup
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.85rem; position: relative; margin-bottom: 2.5rem; }


h3 { font-size: 1.4rem; }
h3::first-letter {
  font-size: 2rem;
  color: #b1c6db;
    line-height: 0.8;
}


h4 { font-size: 1.4rem; }
h4::first-letter {
  font-size: 2rem;
  color: #b1c6db;
    line-height: 0.8;
}


a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   3. Header & Navigation (Clean & Lineares Layout)
   ========================================================================== */
.site-header {
    background-color: var(--color-bg-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
      height: 175px;
    background-color: #74cbe9;
}

/* .header-container {
    display: table;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
  height: 150px;
} */


.header-container {
    display: flex;
    align-items: center;      /* vertikal zentrieren */
    justify-content: left;  /* horizontal zentrieren */
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    height: 150px;
}

.site-logo, .main-navigation, .header-cta {
    display: table-cell;
    vertical-align: middle;
}

/* Logo */
.site-logo {
    width: 25%;
}

.site-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

.site-logo .logo-text span {
    color: var(--color-accent);
}

.site-logo img {
    max-height: auto;
}

/* Navigation */
.main-navigation {
    width: 55%;
    text-align: center;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-block;
}

.nav-menu li {
    display: inline-block;
    margin: 0 15px;
}

.nav-menu a {
    color: var(--color-primary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
    color: var(--color-primary-light);
    border-bottom-color: var(--color-accent);
}

/* Header Button (10% Akzent) */
.header-cta {
    width: 20%;
    text-align: right;
}


/* --- Grundlayout --- */
.kopf-navigation {
    position: relative;
}


.kopf-navigation a {
    color: #ffffff;
}

.kopf-navigation a:hover {
    color: #ffffff;
    text-decoration: underline;
}


.kopf-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
    background-color: #74cbe9;
}

.kopf-links a {
  list-style: none;
  background-color: #74cbe9;
}

.kopf-links li {
    position: relative;
    background-color: #74cbe9;
    padding: 10px 25px;
}

/* --- Dropdown verstecken --- */
.kopf-links .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    
    list-style: none;
    padding: .5rem 0;
    
    
    min-width: 180px;
    z-index: 20;
}

/* --- Desktop: Dropdown anzeigen --- */
@media (min-width: 800px) {
    .kopf-links li:hover > .sub-menu {
        display: block;
    }
}









/* --- Mobile Menü Button --- */
.kopf-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

/* --- Mobile Layout --- */
@media (max-width: 799px) {

    .kopf-toggle {
        display: block;
        margin-bottom: 1rem;
    }

    .kopf-links {
        display: none;
        flex-direction: column;
        gap: 0;
    }

    .kopf-links.open {
        display: flex;
    }

    /* Mobile Dropdown */
    .kopf-links .sub-menu {
        position: static;
        border: none;
        padding-left: 1rem;
    }

    .kopf-links .open-sub > .sub-menu {
        display: block;
    }

    /* Pfeile */
    .kopf-arrow {
        float: right;
        opacity: .6;
        font-size: .8rem;
    }
}

@media (max-width: 800px) {
    /* 1. Header relative halten, damit sich das Menü daran orientieren kann */
    header {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 2px;
    }

    /* 2. Der Toggle-Button (Burger) */
    .kopf-toggle {
        display: block;
        background: none;
        border: none;
        color: #ffffff;
        font-size: 25px;
        cursor: pointer;
        z-index: 1001;
        position: absolute;
        right: 10px;
    }

    /* Wenn geöffnet durch das Skript (.is-open) */
    .kopf-navigation .kopf-links.is-open,
    ul.kopf-links.is-open {
        display: flex !important;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        
        /* Das ist neu für das Scrollen: */
        max-height: calc(100vh - 205px); /* Begrenzt die Höhe auf den restlichen Bildschirm unter dem 205px Header */
        overflow-y: auto; /* Aktiviert das Scrollen, wenn der Inhalt zu lang ist */
        -webkit-overflow-scrolling: touch; /* Sorgt für flüssiges Scrollen auf iOS (iPhone) */
        margin-top: 605px;
    }


    .kopf-links a {
    list-style: none;
    
    font-size: 24px;
}


 /* 5. Unterpunkte (Sub-Menüs) im Mobilmenü */
    .kopf-links .sub-menu,
    .kopf-links .children {
        display: block;
        list-style: none;
        padding: 0;
        margin: 0;
        background-color: rgba(0, 0, 0, 0.1); /* Leicht abgedunkelt für die Hierarchie */
        
    }

    .kopf-links .sub-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .kopf-links .sub-menu a {
        font-size: 20px;
        
        font-weight: normal;
        text-transform: none;
    }




}




/* ==========================================================================
   4. Buttons & Komponenten
   ========================================================================== */
.btn-cta-orange {
    display: inline-block;
    background-color: var(--color-accent);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 22px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(255, 122, 0, 0.15);
}

.btn-cta-orange:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 122, 0, 0.25);
}

.btn-secondary {
    display: inline-block;
    background-color: #fff;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 22px;
    border-radius: 4px;
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: #ffffff;
}

/* Utilities */
.section-padding {
    padding: 0px 0;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}







/* ==========================================================================
   5. Hero-Sektion (Großzügig & Aufgeräumt)
   ========================================================================== */
.hero-section {
    background-color: var(--color-bg-tint);
    padding: 100px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
    background-image: url("start.JPG");
    background-size: cover;
  background-position: center 20%;
}



.hero-container {
    max-width: 800px; /* Linearer Fokus auf den Text */
    text-align: center;
    margin: 0 auto;
   
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    text-shadow: 2px 1px 2px #333333;
}

.hero-actions .btn-cta-orange {
    margin-right: 15px;
}


.headlinestart {
  z-index: 3;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 60px;
  font-weight: 700;
  color: #ffffff;
    text-shadow: 2px 1px 2px #333333;
}

.headlinestart h1 {
  z-index: 3;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 60px;
  font-weight: 700;
  color: #ffffff;
  padding-bottom: 25px;
  padding-top: 25px;
  text-shadow: 2px 1px 2px #333333;
}





/* ==========================================================================
   6. 4 Unterrichtsfächer (2x2 Grid via Table-Layout für maximale Kompatibilität)
   ========================================================================== */

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.card {
    
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s;
  flex: 1 1 calc(50% - 15px);
  background: var(--color-bg-light);
  
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition-smooth);
}

.card:hover {
     transform: translateY(-5px); 
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(26, 54, 93, 0.04);
}



.card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.card-content { padding: 20px; }
.card-content h3 { margin: 0 0 10px 0; color: var(--primary-blue); }









.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    flex: 1 1 calc(50% - 15px); /* Teilt das Grid sauber in 2er-Reihen */
    background: var(--color-bg-light);
    padding: 40px 30px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition-smooth);
}

@media (max-width: 768px) {
    .service-card {
        flex: 1 1 100%; /* Mobil untereinander */
    }
}

.service-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(26, 54, 93, 0.04);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ==========================================================================
   7. Die Trainerin (Zweispaltiges Magazin-Layout)
   ========================================================================== */

#trainer {
    scroll-margin-top: -115px;
}



   .trainer-section {
    background-color: var(--color-bg-light);
}

.trainer-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.trainer-image, .trainer-content {
    flex: 1;
    
}




@media (max-width: 768px) {
    .trainer-grid {
        flex-direction: column;
        gap: 30px;
        align-items: unset;
    }
}

.image-placeholder {
    background: var(--color-bg-tint);
    
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background-image: url("strand.JPG");
    background-size: cover;
    background-position: center 20%;
}

.image-placeholder span {
    color: var(--color-text-muted);
    font-weight: 500;
}

.trainer-quote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-primary-light);
    border-left: 3px solid var(--color-accent);
    margin: 0 0 25px 0;
    padding-left: 20px;
    font-weight: 500;
    line-height: 1.5;
}




.trainer-quote-name {
  color: var(--color-text-main);
  font-size: 14px;
}


/* ==========================================================================
   8. Aktuelle Meldungen (3 Spalten)
   ========================================================================== */
.news-section {
    background-color: var(--color-bg-tint);
}

.news-grid {
    display: flex;
    gap: 30px;
}

.news-card {
    flex: 1;
    background: var(--color-bg-light);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

@media (max-width: 768px) {
    .news-grid {
        flex-direction: column;
    }
}

.news-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-card-content {
    padding: 25px;
}

.news-date {
    display: block;
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.news-card h3 a {
    color: var(--color-primary);
}

.news-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden; /* Schneidet zu langen Text sauber ab */
}

.news-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: 2px;
}

.news-link:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}


/* ==========================================================================
   9. Footer (Struktur & dunkle Trennung)
   ========================================================================== */
.site-footer {
    background-color: #f08116; /*  */
    color: #ffffff;
    padding: 60px 0 0 0;
    font-size: 0.95rem;
}

.footer-container {
    display: flex;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-column {
    flex: 1;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
}

.footer-title {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-title span {
    color: var(--color-accent); /* Orangefarbener Punkt am Ende des Logonamens */
}

.footer-desc {
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-info li {
    margin-bottom: 10px;
    color: #ffffff;
}


.footer-contact-info a {
    color: #eee;
    text-decoration: none;
}



.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color:#ffffff;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-accent); /* Orangefarbener Hover-Effekt */
    padding-left: 5px; /* Kleiner, dynamischer Versatz beim Hovern */
}

/* Urheberrecht-Balken ganz unten */
.footer-bottom {
    background-color: #984215; /* Nahezu schwarz-blau */
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    margin: 0;
}


.fuss-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fuss-links li {
    position: relative;
}

.fuss-links > li {
    margin-bottom: .5rem;
}

.fuss-links a {
    color: #ffffff;
}


.fuss-links a:hover {
   color: var(--color-accent); /* Orangefarbener Hover-Effekt */
    padding-left: 5px; /* Kleiner, dynamischer Versatz beim Hovern */
}


/* Untermenü verstecken */
.fuss-links li ul {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    padding: .5rem 0;
    list-style: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 180px;
    z-index: 10;
}

/* Untermenü anzeigen */
.fuss-links li:hover > ul {
    display: block;
}

/* Links im Dropdown */
.fuss-links li ul li a {
    display: block;
    padding: .4rem .8rem;
    color: #333;
}

.fuss-links li ul li a:hover {
    background: #f2f2f2;
}



/* ==========================================================================
   10. Standard-Seiten (page.php)
   ========================================================================== */
.page-entry-header {
    background-color: var(--color-bg-tint);
    padding: 60px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.page-entry-header .page-title {
    margin: 0;
    font-size: 2.25rem;
    color: var(--color-primary);
}

/* Schmalerer Container für Fließtext (optimale Lesbarkeit) */
.container-narrow {
    max-width: 750px;
    margin: 0 auto;
}

.entry-content {
    line-height: 1.75;
    color: var(--color-text-main);
    font-size: 1.05rem;
}

/* Formatierung für Standard-HTML-Elemente aus dem WordPress-Editor */
.entry-content p {
    margin-top: 0;
    margin-bottom: 1.75rem;
}

.entry-content h2, 
.entry-content h3 {
    margin-top: 0;
    margin-bottom: 3.25rem;
}

.entry-content ul, 
.entry-content ol {
    margin-top: 0;
    margin-bottom: 1.75rem;
    padding-left: 20px;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

/* Seitennummerierung bei langen Texten */
.page-links {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 600;
}


/* ==========================================================================
   11. Beitrags-Detailseite (single.php)
   ========================================================================== */


   






   .post-title {
    
color: #f08116;
}





.single-post-article .post-entry-header {
    
    padding: 50px 0 10px 0;
}

.post-meta {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 15px;
    display: block;
}

.post-meta span {
    margin: 0 10px;
}

.post-meta .post-date {
    color: var(--color-accent); /* Orangefarbener Akzent für das Datum */
    font-weight: 600;
}

.post-meta a {
    color: var(--color-primary-light);
}

/* Bild-Präsentation */
.post-hero-image-container {
    background-color: var(--color-bg-tint);
    margin-bottom: 40px;
    
}

.post-hero-thumbnail img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Navigation unter dem Beitrag */
.post-navigation {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-previous a, .nav-next a {
    color: var(--color-primary);
    transition: var(--transition-smooth);
}

.nav-previous a:hover, .nav-next a:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   12. Unterrichtsfächer Detailansicht (content-unterricht.php)
   ========================================================================== */
.unterricht-badge {
    display: inline-block;
    background-color: rgba(43, 108, 176, 0.1);
    color: var(--color-primary-light);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Die Key-Facts Box */
.unterricht-meta-box-area {
    background-color: var(--color-bg-light);
    margin-top: -20px;
    margin-bottom: 40px;
}

.unterricht-meta-grid {
    display: flex;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 6px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(26, 54, 93, 0.03);
    gap: 20px;
}

.meta-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

@media (max-width: 768px) {
    .unterricht-meta-grid {
        flex-direction: column;
        gap: 20px;
    }
}

.meta-icon {
    font-size: 1.8rem;
    background: var(--color-bg-tint);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.meta-text strong {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.meta-text span {
    font-size: 1.05rem;
    color: var(--color-primary);
    font-weight: 600;
}

/* Beitragsbild im Unterricht */
.unterricht-featured-image {
    margin-bottom: 40px;
}

.unterricht-featured-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 6px;
}

/* Call to Action Box am Ende des Fachs */
.unterricht-cta-box {
    background-color: var(--color-bg-tint);
    border: 1px dashed rgba(26, 54, 93, 0.1);
    border-radius: 6px;
    padding: 40px;
    margin-top: 60px;
}

.unterricht-cta-box h3 {
    margin-bottom: 10px;
}

.unterricht-cta-box p {
    color: var(--color-text-muted);
    max-width: 500px;
    margin: 0 auto 25px auto;
}

#trainer {
    scroll-margin-top: 0px;
}



  /* Preise */

  .einzelpreisschild {
    float: none;
    width: 50%;
    
  }


  .preisschild {
    float: left;
    width: 33.3%;
    padding: 8px;
  }
  
  /*  */
  .preis {
    list-style-type: none;
    border: 1px solid #eee;
    margin: 0;
    padding: 0;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    list-style: none;
    text-align: center;
    padding: 10px;
  }

  .entry-content .preis ul {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-left: 0 !important;
}


  .entry-content .preis ol {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-left: 0 !important;
}

.entry-content .preis h3 {
    margin-top: 0;
    margin-bottom: 0;
}

  .preis .header {
  background-color: #74cbe9;
  color: white;
  font-size: 25px;
  text-align: center;
}

.klein {
  color: #000000;
  font-size: 12px;
  width: 100%;
  text-align: center;
}


.kurs-hinweis-mini {
    margin-top: 1rem;
    padding: .6rem;
    background: #74cbe9;
    border-radius: 6px;
    font-size: .95rem;
}
  

/* ==========================================================================
   13. Archiv- & Indexseite (index.php)
   ========================================================================== */
.archive-grid {
    flex-wrap: wrap; /* Erlaubt es Beiträgen, bei mehr als 3 Stück in die nächste Zeile zu springen */
    margin-bottom: 50px;
}

.archive-grid .news-card {
    flex: 1 1 calc(33.333% - 20px); /* Dreispaltiges Layout */
    margin-bottom: 10px;
}

@media (max-width: 992px) {
    .archive-grid .news-card {
        flex: 1 1 calc(50% - 15px); /* Zweispaltig auf Tablets */
    }
}

@media (max-width: 768px) {
    .archive-grid .news-card {
        flex: 1 1 100%; /* Einspaltig auf Smartphones */
    }
}

/* Seitennummerierung */
.archive-pagination {
    text-align: center;
    margin-top: 40px;
    font-weight: 600;
}

.archive-pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    color: var(--color-primary);
    background: var(--color-bg-light);
    transition: var(--transition-smooth);
}

.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers.current {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.archive-pagination .page-numbers.current {
    background-color: var(--color-accent); /* Aktive Seite erhält den Orangen Akzent */
    border-color: var(--color-accent);
}

.no-posts-found {
    padding: 60px 0;
}

.no-posts-found p {
    color: var(--color-text-muted);
    margin-bottom: 30px;
}



/* ==========================================================================
   Sonstiges
   ========================================================================== */

/* Überschreibt padding in Media Text Blöcken*/
.wp-block-media-text > .wp-block-media-text__content {
    padding: 0 !important;
}


.responsive-iframe-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* Passt das Seitenverhältnis an (z.B. für Videos oder Formulare) */
}

.responsive-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cky-btn-revisit-wrapper {
    display: none !important;
}
