/**
Theme Name: Shape Blog Child
Theme URI: https://internet-pr-beratung.de
Description: Modernes Astra Child Theme fuer Shape-Blog.
Author: Sammy Zimmermanns
Author URI: https://internet-pr-beratung.de
Template:     astra
Version: 4.8.3
Requires at least: 5.3
Tested up to: 6.6
Requires PHP: 5.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shape-blog-child
Domain Path: /languages
Tags: custom-menu, custom-logo, entertainment, one-column, two-columns, left-sidebar, e-commerce, right-sidebar, custom-colors, editor-style, featured-images, full-width-template, microformats, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready, blog
AMP: true
*/

@import url("../astra/style.css");

:root {
    --sb-ink: #17211d;
    --sb-muted: #66746d;
    --sb-soft: #f5f7f4;
    --sb-line: #dfe7e1;
    --sb-green: #176b54;
    --sb-lime: #c7ef55;
    --sb-coral: #dcedc8;
    --sb-sky: #e9f5d6;
    --sb-white: #ffffff;
    --sb-shadow: 0 20px 60px rgba(23, 33, 29, 0.11);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--sb-soft);
    color: var(--sb-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

a {
    color: inherit;
}

.site-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(23, 33, 29, 0.08);
    backdrop-filter: blur(18px);
}

.main-header-bar {
    border: 0;
}

.site-title,
.site-title a {
    color: var(--sb-ink);
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    font-weight: 850;
    letter-spacing: 0;
}

.site-description {
    color: var(--sb-green);
    font-size: 0.9rem;
    font-weight: 700;
}

.main-header-menu .menu-link {
    color: var(--sb-ink);
    font-size: 0.94rem;
    font-weight: 750;
    letter-spacing: 0;
}

.main-header-menu .menu-link:hover,
.main-header-menu .current-menu-item > .menu-link {
    color: var(--sb-green);
}

.site-header .ast-primary-header-bar,
.site-header .main-header-bar {
    background: #ffffff;
}

.site-header .ast-above-header-bar,
.site-header .ast-mobile-header-content,
.site-header .ast-desktop-header-content {
    background: #f2f7f4;
}

.site-header .custom-logo {
    width: 250px;
    max-width: 100%;
    height: auto;
}

#ast-desktop-header .ast-primary-header-bar .ast-grid-center-col-layout {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.site-header .site-logo-img {
    flex-shrink: 0;
}

.site-header .main-header-menu .sub-menu {
    background: #f2f7f4;
    border-color: #dcedc8;
}

.entry-content a:not(.sb-button):not(.skfa a),
.entry-meta a {
    color: var(--sb-green);
}

.entry-content a:hover,
.entry-meta a:hover {
    color: #11513f;
}

.site-footer .ast-small-footer,
.site-footer .site-primary-footer-wrap,
.site-footer .site-below-footer-wrap,
.site-footer .site-above-footer-wrap,
.site-footer .footer-adv {
    background: #173e30;
    color: #f2f7f4;
    border-color: #315744;
}

.site-footer h2,
.site-footer .widget-title,
.site-footer p {
    color: #f2f7f4;
}

.site-footer a {
    color: #dcedc8;
}

.site-footer a:hover {
    color: #ffffff;
}

@media (max-width: 640px) {
    .site-header .custom-logo {
        width: 220px;
    }
}

.sb-site {
    background:
        radial-gradient(circle at 8% 0%, rgba(199, 239, 85, 0.32), transparent 28rem),
        linear-gradient(180deg, #ffffff 0%, var(--sb-soft) 44rem);
}

.sb-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.sb-hero {
    padding: clamp(48px, 7vw, 96px) 0 34px;
}

.sb-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}

.sb-hero__copy h1 {
    max-width: 760px;
    margin: 0;
    color: var(--sb-ink);
    font-size: clamp(2.65rem, 5.8vw, 5.45rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: 0;
    overflow-wrap: break-word;
}

.sb-hero__copy p {
    max-width: 650px;
    margin: 24px 0 0;
    color: var(--sb-muted);
    font-size: clamp(1.05rem, 1.5vw, 1.28rem);
    line-height: 1.7;
}

.sb-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.sb-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sb-ink);
    color: var(--sb-white);
    font-size: 0.95rem;
    font-weight: 850;
    line-height: 1;
    padding: 0 22px;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.sb-button:hover {
    background: var(--sb-green);
    color: var(--sb-white);
    transform: translateY(-2px);
}

.sb-button--ghost {
    background: var(--sb-white);
    box-shadow: inset 0 0 0 1px var(--sb-line);
    color: var(--sb-ink);
}

.sb-featured {
    overflow: hidden;
    border: 1px solid rgba(23, 33, 29, 0.08);
    border-radius: 8px;
    background: var(--sb-white);
    box-shadow: var(--sb-shadow);
}

.sb-featured__media {
    display: block;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--sb-sky), var(--sb-lime));
    overflow: hidden;
}

.sb-featured__media img,
.sb-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.sb-featured:hover img,
.sb-card:hover img {
    transform: scale(1.045);
}

.sb-featured__body {
    padding: clamp(22px, 3vw, 34px);
}

.sb-meta {
    color: var(--sb-green);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.sb-featured h2,
.sb-card h3 {
    margin: 10px 0 0;
    color: var(--sb-ink);
    font-weight: 900;
    line-height: 1.08;
}

.sb-featured h2 {
    font-size: clamp(1.55rem, 2.6vw, 2.25rem);
}

.sb-featured p,
.sb-card p {
    color: var(--sb-muted);
    line-height: 1.65;
}

.sb-card .entry-meta,
.sb-featured .entry-meta {
    margin: 0.75rem 0;
    color: var(--sb-muted);
    font-size: 0.82rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.sb-card .entry-meta a,
.sb-featured .entry-meta a {
    color: inherit;
}

.sb-featured p {
    margin: 14px 0 0;
}

.sb-featured a,
.sb-card a {
    text-decoration: none;
}

.sb-categories {
    padding: 12px 0 34px;
}

.sb-categories__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sb-categories a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    border: 1px solid rgba(23, 33, 29, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--sb-ink);
    font-size: 0.88rem;
    font-weight: 800;
    padding: 0 16px;
    text-decoration: none;
}

.sb-categories a:hover {
    border-color: var(--sb-green);
    background: var(--sb-green);
    color: var(--sb-white);
}

.sb-section {
    padding: clamp(42px, 6vw, 76px) 0 clamp(68px, 8vw, 110px);
}

.sb-section__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.sb-section__heading h2,
.sb-page-title h1,
.sb-page-title .page-title {
    margin: 0;
    color: var(--sb-ink);
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
}

.sb-section__heading p {
    max-width: 420px;
    margin: 0;
    color: var(--sb-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.sb-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.sb-start {
    padding: 20px 0 0;
}

.sb-start .sb-section__heading h2 {
    font-size: clamp(1.65rem, 3vw, 2.6rem);
    line-height: 1.12;
}

.sb-start-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 26px;
    border: 1px solid var(--sb-line);
    border-radius: 8px;
    background: var(--sb-white);
    text-decoration: none;
}

.sb-start-card:hover,
.sb-start-card:focus-visible {
    border-color: var(--sb-green);
}

.sb-start-card h3 {
    margin: 12px 0;
    color: var(--sb-ink);
    font-size: 1.35rem;
    line-height: 1.25;
}

.sb-start-card p {
    color: var(--sb-muted);
    line-height: 1.6;
}

.sb-start-card__link {
    margin-top: auto;
    padding-top: 14px;
    color: var(--sb-green);
    font-weight: 750;
}

.sb-reader-path {
    margin: 24px 0;
    padding: 22px;
    border-left: 4px solid var(--sb-green);
    background: var(--sb-soft);
}

.sb-reader-path h2 {
    margin-top: 0;
}

.sb-card {
    overflow: hidden;
    min-width: 0;
    border: 1px solid rgba(23, 33, 29, 0.08);
    border-radius: 8px;
    background: var(--sb-white);
    box-shadow: 0 14px 34px rgba(23, 33, 29, 0.07);
}

.sb-card__media {
    display: grid;
    min-height: 210px;
    aspect-ratio: 1.33;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--sb-sky), var(--sb-lime) 58%, #ffffff);
    color: var(--sb-ink);
    font-size: 0.9rem;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
}

.sb-card__media span {
    max-width: 70%;
}

.sb-card__body {
    padding: 22px;
}

.sb-card h3 {
    font-size: clamp(1.18rem, 2vw, 1.42rem);
}

.sb-card p {
    margin: 12px 0 0;
    font-size: 0.96rem;
}

.sb-archive-page {
    padding: clamp(34px, 5vw, 74px) 0;
}

.sb-page-title {
    margin-bottom: 30px;
}

.sb-archive-page .ast-row,
.blog .ast-row,
.archive .ast-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.sb-archive-page .ast-article-post,
.blog .ast-article-post,
.archive .ast-article-post {
    overflow: hidden;
    border: 1px solid rgba(23, 33, 29, 0.08);
    border-radius: 8px;
    background: var(--sb-white);
    box-shadow: 0 14px 34px rgba(23, 33, 29, 0.07);
}

.sb-archive-page .ast-article-post .post-thumb-img-content,
.blog .ast-article-post .post-thumb-img-content,
.archive .ast-article-post .post-thumb-img-content {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--sb-sky);
}

.sb-archive-page .ast-article-post img,
.blog .ast-article-post img,
.archive .ast-article-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sb-archive-page .entry-title,
.blog .entry-title,
.archive .entry-title {
    color: var(--sb-ink);
    font-weight: 900;
    line-height: 1.12;
}

.sb-archive-page .entry-meta,
.blog .entry-meta,
.archive .entry-meta {
    color: var(--sb-green);
    font-size: 0.82rem;
    font-weight: 800;
}

.sb-archive-page .entry-content,
.blog .entry-content,
.archive .entry-content {
    color: var(--sb-muted);
}

.ast-pagination,
.navigation.pagination {
    margin-top: 34px;
}

.ast-pagination .page-numbers,
.navigation.pagination .page-numbers {
    border-radius: 999px;
    font-weight: 800;
}

@media (max-width: 921px) {
    .sb-hero__grid,
    .sb-section__heading {
        grid-template-columns: 1fr;
    }

    .sb-section__heading {
        display: block;
    }

    .sb-section__heading p {
        margin-top: 12px;
    }

    .sb-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .sb-shell {
        width: min(100% - 28px, 1180px);
    }

    .sb-hero {
        padding-top: 38px;
    }

    .sb-hero__copy h1 {
        font-size: clamp(2.15rem, 11vw, 3.15rem);
        line-height: 1.02;
    }

    .sb-hero__actions,
    .sb-categories__inner {
        flex-direction: column;
    }

    .sb-button,
    .sb-categories a {
        width: 100%;
    }

    .sb-post-grid,
    .sb-archive-page .ast-row,
    .blog .ast-row,
    .archive .ast-row {
        grid-template-columns: 1fr;
    }

    .sb-card__media {
        min-height: 180px;
    }
}

.page-id-70 .ezfc-form .ezfc-element-radio-text label {
    color: #fff;
}

/* Suppress the entire misplaced ad; retain correctly sized ads and table scrolling. */
ins.adsbygoogle.sb-ad-overflow {
    display: none !important;
}

@media (max-width: 640px) {
    .postid-81079 .entry-content {
        font-size: max(1rem, 16px);
        line-height: 1.7;
    }

    .postid-81079 .entry-content h2,
    .postid-81079 .entry-content h3 {
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .postid-81079 .entry-content [role="region"]::before {
        content: "Tabelle seitlich wischen oder mit den Pfeiltasten verschieben \2192";
        display: block;
        margin-bottom: 0.65rem;
        color: var(--sb-green);
        font-size: 0.875em;
        font-weight: 600;
    }

    .postid-81079 .entry-content [role="region"]:focus-visible {
        outline: 2px solid var(--sb-green);
        outline-offset: 3px;
    }
}


@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
