/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


body {
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Global text wrapping */
p, h1, h2, h3, h4, h5, h6, li, a, span, div {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a {
    color: var(--base-3);
    background-color: var(--accent);
	font-weight: 900;
}

/* =============================================
   POST CARDS (für Related Posts auf Theme Pages)
   ============================================= */



/* Related Posts Container - Responsive Grid */
.post-content-wrapper > div[style*="display: grid"],
.post-content-container > div[style*="display: grid"],
.post-content-wrapper [style*="grid-template-columns"],
.post-content-container [style*="grid-template-columns"] {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    margin-bottom: 3rem !important;
}

/* Desktop: 3 Spalten */
@media (min-width: 1200px) {
    .post-content-wrapper > div[style*="display: grid"],
    .post-content-container > div[style*="display: grid"],
    .post-content-wrapper [style*="grid-template-columns"],
    .post-content-container [style*="grid-template-columns"] {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Tablet: 2 Spalten */
@media (max-width: 1199px) and (min-width: 769px) {
    .post-content-wrapper > div[style*="display: grid"],
    .post-content-container > div[style*="display: grid"],
    .post-content-wrapper [style*="grid-template-columns"],
    .post-content-container [style*="grid-template-columns"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

/* Mobile: 1 Spalte */
@media (max-width: 768px) {
    .post-content-wrapper > div[style*="display: grid"],
    .post-content-container > div[style*="display: grid"],
    .post-content-wrapper [style*="grid-template-columns"],
    .post-content-container [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}


.post-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.post-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 0.375rem;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
}

.post-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.post-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
    color: var(--accent);
}

.post-card__footer svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.post-card-link:hover .post-card__footer svg {
    transform: translateX(4px);
}

.post-card__date {
    font-family: 'Epilogue', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
}

.post-card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-card__content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

.post-card__badges-top {
    margin-bottom: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.post-card__content h3 {
    margin: 0 0 0.75rem 0;
    font-family: 'Epilogue', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #333;
    line-height: 1.5;
}

.post-card__content h3 a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-card__content h3 a:hover {
    color: var(--accent);
}

.post-card__content p {
    margin: 0 0 0.75rem 0;
    font-family: 'Garamond EB', serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    flex-grow: 1;
}

.post-card__badges-bottom {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Remove site-main margin for partner pages */
.single-partner .site-main {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Remove site-main margin for post pages (nur Post-Type "post", nicht Pages) */
body.single-post .site-main {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.single-post .sidebar {
    display: none;
}

body.single-post .site-content {
    display: flex;
    flex-direction: column;
}

/* Themen-Pages also need flex column layout */
body.page-template-page-theme .site-content {
    display: flex;
    flex-direction: column;
}

/* Erkunden-Pages also need flex column layout */
body.page-template-page-explore .site-content {
    display: flex;
    flex-direction: column;
}

/* Forum-Pages also need flex column layout */
body.page-template-page-forum .site-content {
    display: flex;
    flex-direction: column;
}

/* Remove top margin from main content on pages */
.separate-containers .site-main {
    margin-top: 0px;
}

/* =============================================
   GLOBAL FONT & TYPOGRAPHY
   ============================================= */


   


/* =============================================
   PARTNER SINGLE PAGE STYLES
   ============================================= */

.partner-single {
    width: 100%;
    margin-top: 0;
}

/* HERO SECTION */
.partner-hero {
    background: var(--accent);
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}



/* CONTENT SECTION */
.partner-content-wrapper {
    width: 100%;
    background: #fff;
    padding: 3rem 2rem;
}

.partner-content-container {
    max-width: 1440px;
    margin: 0 auto;
}

.partner-content-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

.partner-logo-section {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.partner-logo-section img {
    width: 100%;
    max-width: 30rem;
    height: auto;
}

.partner-text-section {
    display: flex;
    flex-direction: column;
    width: 100%;
}



.partner-body p {
    margin: 0 0 1.5rem 0;
    font-family: 'Garamond EB', serif;
    font-size: 1.3rem;
    line-height: 1.8;
    max-width: 65rem;
}

.partner-body h2 {
    font-family: 'Epilogue', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--accent);
    margin: 2rem 0 1rem 0;
}

.partner-body h3 {
    font-family: 'Epilogue', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 1.5rem 0 0.75rem 0;
}

.partner-body a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.partner-body a:hover {
    text-decoration: underline;
}

.partner-body img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 0.5rem;
}

.partner-body ul,
.partner-body ol {
    margin: 1.5rem 0 1.5rem 2rem;
}

.partner-body li {
    margin-bottom: 0.5rem;
}

/* WEBSITE BUTTON */
.partner-website-btn,.wp-element-button {
    display: inline-block;
    color: var(--accent);
    padding: 0.75rem 2rem;
    border-radius: 0.35rem;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    align-self: center;
    margin-top: 1rem;
    border: var(--accent) solid 1px;
}



.partner-website-btn:hover,.wp-element-button:hover {
    background: var(--accent);
    text-decoration: none;
    color: white;
    text-decoration: none!important ;
}

.wp-block-file__button {
    background: #ffffff;
    color: #fff;
    text-decoration: none;
}

/* KONTAKT SECTION */
.partner-contact-wrapper {
    width: 100%;
    padding: 3rem 2rem;
}

.partner-contact-block {
    max-width: 1000px;
    margin: 0 auto;
    background: #0a2b4e;
    color: #fff;
    padding: 3rem 2rem;
    border-radius: 0.5rem;
}

.partner-contact-title {

    margin: 0 0 2rem 0;
    text-align: center;
}

.partner-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.partner-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

.partner-contact-icon {
    width: 48px;
    height: 48px;
    color: #fff;
    margin-bottom: 1rem;
    stroke: currentColor;
}

.partner-contact-item h4 {
    font-family: 'Epilogue', sans-serif;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partner-contact-item a {
    color: #fff;
    text-decoration: none;
    word-break: break-word;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.partner-contact-item a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.partner-address {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #fff;
}

/* BACK NAV */
.partner-nav {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.partner-nav-back {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-family: 'Epilogue', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.partner-nav-back:hover {
    transform: translateX(-5px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .partner-hero {
        padding: 3rem 1.5rem;
    }

    .partner-title {
        font-size: 2rem;
    }

    .partner-content-wrapper {
        padding: 2rem 1.5rem;
    }

    .partner-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .partner-logo-section {
        order: -1;
    }

    .partner-contact-block {
        padding: 2rem 1.5rem;
    }

    .partner-contact-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .partner-content-wrapper {
        padding: 1.5rem;
    }

    .partner-hero {
        padding: 2rem 1rem;
    }

    .partner-title {
        font-size: 1.5rem;
    }

    .partner-body {
        font-size: 0.95rem;
    }

    .partner-contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .partner-contact-icon {
        font-size: 2rem;
    }

    .partner-nav {
        padding: 0 1.5rem;
    }
    
}

@media (max-width: 60rem) {
    .partner-hero-content {
        padding: 1.5rem;
    }

    .partner-title {
        font-size: 2rem;
    }

    .partner-body h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 40rem) {
    .partner-content-wrapper {
        padding: 1rem;
    }

    .partner-hero-content {
        padding: 1rem;
    }

    .partner-title {
        font-size: 1.5rem;
    }

    .partner-body {
        font-size: 0.95rem;
    }

    .partner-body h2 {
        font-size: 1.25rem;
    }

    .partner-nav {
        padding: 0 1rem;
    }
}

/* =============================================
   AKTUELLES / ERKUNDEN - POST CARDS
   ============================================= */

#ajaxsearchprores4_1.vertical .results .item .asp_image, #ajaxsearchprores4_2.vertical .results .item .asp_image, div.asp_r.asp_r_4.vertical .results .item .asp_image {
    width: -webkit-fill-available;
    height: auto;
    margin: 2px 8px 0 0;
}

#ajaxsearchprores4_1.vertical .results .item .asp_content, #ajaxsearchprores4_2.vertical .results .item .asp_content, div.asp_r.asp_r_4.vertical .results .item .asp_content {
    overflow: hidden;
    width: auto;
    height: auto;
    background: transparent;
    margin: 0;
    padding: 8px;
    display: flex;
    flex-direction: column;
}

#ajaxsearchprores4_1 .results .item .asp_content h3 a, #ajaxsearchprores4_2 .results .item .asp_content h3 a, div.asp_r.asp_r_4 .results .item .asp_content h3 a {
    font-size: 1.25rem;
    color: var(--contrast);
    margin: 0.75rem 0 0.5rem 0!important;
    
}

#ajaxsearchprores4_1.vertical .results .item .asp_content, #ajaxsearchprores4_2.vertical .results .item .asp_content, div.asp_r.asp_r_4.vertical .results .item .asp_content {
    overflow: hidden;
    width: auto;
    height: auto;
    background: transparent;
    margin: 0;
    padding: 20px!important;
    border: black solid 1px;
      border-radius: 0.5rem !important;

}

p.card-title {
    margin-top: 0.75rem!important;
}

p.card-content {
    margin-bottom: 0.75rem!important;
}

p.right {
    float: right;
}

.asp_select2-container .asp_select2-search--inline .asp_select2-search__field {
    background: transparent !important;
    box-sizing: border-box;
    border: none;
    font-size: 100%;
    margin-top: 5px;
    padding: 0;
    padding-left: 1rem;
    font-family: Epilogue;
    letter-spacing: 0.5px;
    border: black solid 1px;
    border-radius: 0.25rem;
    height: 3rem;
}


span.asp__af-tt-nolink {
    display: inline-block;
    background: #fff;
    color: #333;
    padding: 0.45rem 0.75rem 0.35rem 0.75rem !important;
    border: #000 solid 1px !important;
    border-radius: 0.2rem !important;
    font-family: 'Epilogue', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    text-decoration: none !important;
    letter-spacing: 0.05em !important;
    line-height: 1.5;
    margin: 0.25rem 0.5rem 0.25rem 0rem !important;
}

span.asp__af-tt-separator 
    {display: none !important;   
    }
        


/* Post Items in template */
.wp-block-post-template li.wp-block-post {
    display: flex;
    flex-direction: column;
}

/* Alle Post-Terms Container */
.wp-block-post-template .wp-block-post-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

/* Post-Terms Links (Badge-Styling) */
.wp-block-post-template .wp-block-post-terms a {
    display: inline-block;
    background: #fff;
    color: #333;
    padding: 0.45rem 0.75rem 0.35rem 0.75rem;
    border: #000 solid 1px;
    border-radius: 0.2rem;
    font-family: 'Epilogue', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: default;
    pointer-events: none;
}

.wp-block-post-template .wp-block-post-terms a:hover {
    background: #fff;
    color: #333;
    border-color: #000;
    text-decoration: none;
}

/* Prefix-Styling (falls vorhanden) */
.wp-block-post-template .wp-block-post-terms__prefix {
    font-family: 'Epilogue', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 0.1em;
    margin-right: 0.75rem;
    display: none;
}

/* Separator (Kommas) verstecken */
.wp-block-post-template .wp-block-post-terms__separator {
    display: none;
}

/* Excerpt-Text Abstände */
.wp-block-post-template .wp-block-post-excerpt {
    margin-bottom: 1rem;
}

/* Card Inner Container - weniger Padding */
.wp-block-post-template .wp-block-group__inner-container {
    padding: 0;
}
.gb-text-62ac046c, .wp-block-button {

    color: var(--contrast)!important;
    padding: 0.75rem 1rem!important;
}

.gb-text-62ac046c:hover, .wp-block-button:hover {

    color: var(--accent)!important;
    border-color: var(--accent)!important;
    padding: 0.75rem 1rem!important;
}

/* =============================================
   THEMEN - PAGES CARDS
   ============================================= */



/* Seitentyp Thema Links - weiße Schrift mit Border */
.seitentyp-thema a {
    color: #fff;
    border: 1px solid #fff;
    border-radius: 0.35rem;
    padding: 0.5rem 1rem;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.seitentyp-thema a:hover {
    background: #fff;
    color: var(--accent);
}

/* =============================================
   SINGLE POST - BEITRAGSSEITE
   ============================================= */

/* HERO SECTION */
.post-hero {
    position: relative;
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
}

.post-hero__background {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1440px;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.post-hero__overlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1440px;
    height: 100%;
    background: rgba(10, 43, 78, 0.5);
    z-index: 1;
}

.post-hero__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.post-hero__overline {
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.post-hero__title, .partner-title {
    font-size: 3.25rem;
    line-height: 120%;
    max-width: 1440px;
    text-align: center;
    margin: auto;
}

.post-hero__subtitle {
    margin: 0 auto;
    max-width: 33rem;
}

.post-hero__underline {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

/* Badge Styling */
.badge {
    display: inline-block;
    background: #fff;
    color: #333;
    padding: 0.45rem 0.75rem 0.35rem 0.75rem;
    border: #000 solid 1px;
    border-radius: 0.2rem;
    font-family: 'Epilogue', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* CONTENT SECTION */
.post-content-wrapper {
    width: 100%;
    background: #fff;
    padding: 3rem 2rem;
}

.post-content-container {
    max-width: 1440px;
    margin: 1.5rem auto;
}

.post-body {
    font-family: 'Garamond EB', serif;
    font-size: 1.3rem;
    line-height: 1.8;
    color: #333;
   
}

/* Themen-Pages haben vollbreite normale Seiten-Struktur */
.post-body--page {
    max-width: 100%;
    width: 100%;
}

.post-body p, .Themen p {
    
    max-width: 65rem;
    margin: 1.5rem auto;
}



/* Responsive: Tablet und Mobile */
@media (max-width: 1200px) {
    .post-body {
        max-width: 100%;
    }
}

/* .post-body h2 {
    font-family: 'Epilogue', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--accent);
    margin: 2rem 0 1rem 0;
} */

.post-body h3 {
    font-family: 'Epilogue', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 1.5rem 0 0.75rem 0;
}

.post-body a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-body a:hover {
    text-decoration: underline;
}

.post-body img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 0.5rem;
}

/* PARTNER GRID */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
    margin: 3rem 0;
}

.partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.partner-card__image {
    width: 100%;
    max-width: 200px;
    height: auto;
}

.partner-card__image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-card__image a:hover img {
    filter: grayscale(0%);
}

/* CONTACT SECTION */
.post-contact-wrapper {
    width: 100%;
    background: #fff;
    padding: 3rem 2rem;
}

.post-contact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.post-contact-container h2 {
    font-family: 'Epilogue', sans-serif;
    color: var(--accent);
    margin: 0 0 2rem 0;
    text-align: center;
}

.post-contact-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.post-contact-card {
    background: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.post-contact-card__image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f0f0f0;
    border-radius: 0.5rem 0.5rem 0 0;
}

.post-contact-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0);
    margin:0;
}

.post-contact-card__image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent) 0%, rgba(10, 43, 78, 0) 100%);
    opacity: 0.6;
}

.post-contact-card__content {
    padding: 1.5rem;
    border: #000 solid 1px;
    border-radius: 0 0 0.5rem 0.5rem;
}

.post-contact-card__content h3 {
    
    font-size: 1.25rem;
   
    color: var(--contrast);
    margin: 0 0 0.5rem 0;
}

.post-contact-card__content p {
 
    font-size: 1rem;
    
    color: var(--contrast);
    margin: 0 0 0.75rem 0;
}

.post-contact-card__content a {
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    overflow: hidden;
}

.post-contact-card__content a:hover {
    text-decoration: underline;
}

.post-contact-card__content .badge {
    background: #fff;
    color: #333;
    padding: 0.45rem 0.75rem 0.35rem 0.75rem;
    border: #000 solid 1px;
    border-radius: 0.2rem;
    font-family: 'Epilogue', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-right: 0.5rem;
    margin-top: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 0.5rem);
}

/* =============================================
   RESPONSIVE CONTACT GRID
   ============================================= */
@media (max-width: 1200px) {
    .post-contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .post-contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* =============================================
   EXPLORE PAGE STYLES
   ============================================= */

.explore-search-section {
    margin: 3rem 0;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 0.5rem;
}

.explore-search-section .asp-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.explore-search-section input[type="text"],
.explore-search-section select {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    font-size: 0.95rem;
}

.explore-search-section input[type="text"] {
    flex: 1;
    min-width: 200px;
}

.explore-search-section select {
    min-width: 150px;
}

.explore-search-section button {
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.explore-search-section button:hover {
    background: var(--accent-dark, #0056b3);
}

.explore-results-section {
    margin: 3rem 0;
}

.explore-results-section .post-card {
    display: flex;
    flex-direction: column;
}

/* Newsletter CTA Section */
.post-content-wrapper--cta {
    background: var(--accent);
    color: #fff;
    padding: 4rem 2rem;
    margin-top: 4rem;
}

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

.newsletter-cta h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-cta .button {
    background: #fff;
    color: var(--accent);
    padding: 0.875rem 2rem;
    font-weight: 600;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-cta .button:hover {
    background: #f0f0f0;
}

/* =============================================
   ODF VIEWEROVERRIDES
   ============================================= */

.wp-block-file__embed {
    margin-bottom: 1em;
    height: 100vh!important;
}

/* =============================================
   AJAX SEARCH PRO ISOTOPIC OVERRIDES
   ============================================= */

/* Override Ajax Search Pro inline styles for cards */
.asp_isotopic_item {
    height: auto !important;
    min-height: auto !important;
}

.asp_isotopic_item .post-card {
    height: auto !important;
    min-height: auto !important;
    display: flex;
    flex-direction: column;
}

.asp_isotopic_item .post-card__content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.asp_isotopic_item .post-card__footer {
    margin-top: auto;
}


/*Full width Groups*/


.wp-block-group.alignfull.fuller.has-accent-background-color.has-background {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* =============================================
   ALLE ANZEIGEN BUTTON - RESPONSIVE
   ============================================= */

.alle-btn,
a.alle-btn,
button.alle-btn {
    display: inline-block !important;
   
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 0.375rem !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    cursor: pointer !important;
    width: auto !important;
    
    color: #fff !important;
    border: none !important;
}

.alle-btn:hover,
a.alle-btn:hover,
button.alle-btn:hover {

    text-decoration: none !important;
}

@media (max-width: 768px) {
    .alle-btn,
    a.alle-btn,
    button.alle-btn {
        display: block !important;
        width: 100% !important;
        padding: 1rem !important;
        font-size: 0.95rem !important;
    }
}

@media (max-width: 480px) {
    .alle-btn,
    a.alle-btn,
    button.alle-btn {
        padding: 0.875rem !important;
        font-size: 0.9rem !important;
    }
}

/* =============================================
   RESPONSIVE HEADINGS - MOBILE
   ============================================= */

@media (max-width: 768px) {
    .wp-block-heading,
    .post-contact-container h2,
    .post-hero__title,
    .partner-title {
        font-size: 2.25rem !important;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .wp-block-heading,
    .post-contact-container h2,
    .post-hero__title,
    .partner-title {
        font-size: 2,25rem !important;
        line-height: 1.2;
    }
}

