.awo-startseiten-layout {
    --home-red: #a71f2c;
    --home-ink: #302826;
    --home-muted: #675b57;
    --home-line: #e7dcd6;
    --home-paper: #f8f4f0;
}

#masthead {
    isolation: isolate;
    border-block-start: 1px solid #fff;
    border-block-end: 1px solid #d8c6be;
    background: linear-gradient(180deg, #fff 0%, #fcfaf8 60%, #f5eee9 100%);
    box-shadow: inset 0 1px 0 #fff, 0 4px 0 #e3d6ce, 0 12px 26px #3b231f26;
}

#masthead #header-text-nav-container {
    border-bottom: 0;
}

#masthead #header-right-sidebar:has(> .awo-preview-navigation) {
    border: 1px solid #e4d8d0;
    border-radius: .8rem;
    background: #fffaf7;
    box-shadow: inset 0 1px 0 #fff, 0 3px 0 #e9ddd5, 0 7px 13px #3b231f17;
}

#masthead :is(.awo-preview-shortcuts, .awo-preview-navigation) {
    background: transparent;
}

#masthead .awo-preview-navigation {
    border-bottom: 0;
}

#masthead #wp-custom-header {
    border-bottom: 1px solid #e4d8d0;
    box-shadow: 0 4px 12px #3b231f1a;
}


.awo-startseiten-layout #main {
    padding-block: clamp(1.25rem, 4vw, 3.5rem);
    background: var(--home-paper);
    color: var(--home-ink);
}

.awo-startseiten-layout #main > .inner-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 28%);
    align-items: start;
    gap: clamp(1.25rem, 3vw, 2.75rem);
    width: min(92%, 76rem);
}

.awo-startseiten-layout #main > .inner-wrap::after {
    display: none;
}

.awo-startseiten-layout #main :is(#primary, #secondary) {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
}

.awo-startseiten-layout #content > .post {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    margin: 0 0 1.15rem;
    padding: clamp(1rem, 2.4vw, 1.8rem);
    border: 1px solid var(--home-line);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 .2rem .85rem #5033260a;
}

.awo-startseiten-layout #content > .post:first-child {
    border-top: .3rem solid var(--home-red);
    background: linear-gradient(125deg, #fff 34%, #f6e4df);
}

.awo-startseiten-layout #content .entry-title {
    margin: 0;
    padding: 0;
    font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem);
    line-height: 1.13;
    letter-spacing: -.025em;
    font-weight: 730;
}

.awo-startseiten-layout #content > .post:first-child .entry-title {
    font-size: clamp(1.8rem, 1.3rem + 1.9vw, 3.2rem);
}

.awo-startseiten-layout #content .entry-title a {
    color: var(--home-red);
    overflow-wrap: anywhere;
}

.awo-startseiten-layout #content .post-image-content-wrap {
    display: grid;
    gap: 1rem;
    align-items: start;
}

.awo-startseiten-layout #content .post-image-content-wrap:has(.post-featured-image) {
    grid-template-columns: minmax(7rem, 30%) minmax(0, 1fr);
}

.awo-startseiten-layout #content > .post:first-child .post-image-content-wrap:has(.post-featured-image) {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
}

.awo-startseiten-layout #content .post-image-content-wrap::after {
    display: none;
}

.awo-startseiten-layout #content .post-image-content-wrap > :is(.post-featured-image, .entry-content) {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.awo-startseiten-layout #content .post:not(:first-child) .post-featured-image a {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
}

.awo-startseiten-layout #content .post:not(:first-child) .post-featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    margin: 0;
}

.awo-startseiten-layout #content .entry-content {
    line-height: 1.6;
}

.awo-startseiten-layout #content .entry-content p:last-child {
    margin-bottom: 0;
}

.awo-startseiten-layout #content .entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .85rem;
    padding-top: .7rem;
    border-top: 1px solid var(--home-line);
    color: var(--home-muted);
}

.awo-startseiten-layout #content .entry-meta > span {
    float: none;
    margin: 0;
    border: 0;
}

.awo-startseiten-layout #content .entry-meta > :not(.read-more-link) a {
    color: var(--home-muted);
}

.awo-startseiten-layout #content .entry-meta > .read-more-link {
    margin-inline-start: auto;
    padding: .35rem .8rem;
    border-radius: .35rem;
    background: var(--home-red);
}

.awo-startseiten-layout #content .read-more {
    color: #fff;
    font-weight: 650;
}

.awo-startseiten-layout #secondary .widget {
    margin: 0 0 .85rem;
    padding: 0;
}

.awo-startseiten-layout #secondary :is(.widget_search, #text-11, #block-16) {
    padding: 1rem;
    border: 1px solid var(--home-line);
    border-radius: .85rem;
    background: #fff;
}

.awo-startseiten-layout #secondary .widget-title {
    margin-bottom: .55rem;
    padding-bottom: .45rem;
    border-bottom: 1px solid var(--home-line);
    color: var(--home-red);
    font-size: 1.16rem;
    font-weight: 700;
}

.awo-startseiten-layout #secondary .awo-preview-heart-links {
    gap: .65rem;
}

.awo-startseiten-layout #secondary .awo-preview-heart-link {
    border-radius: .8rem;
    background: #fff;
}

.awo-startseiten-layout #secondary .awo-preview-heart-link:hover {
    background: #f6e4df;
}

.awo-startseiten-layout #secondary #block-20 :is(p, mark) {
    color: var(--home-red) !important;
}

.awo-startseiten-layout #secondary .wp-block-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    justify-content: center;
    margin: 0;
}

.awo-startseiten-layout #secondary .wp-block-tag-cloud a {
    margin: 0;
    padding: .25rem .55rem;
    border: 1px solid var(--home-line);
    border-radius: 2rem;
    background: var(--home-paper);
    color: var(--home-muted);
    font-size: .86rem !important;
    line-height: 1.35;
}

.awo-startseiten-layout #secondary #text-11 {
    border-top: .25rem solid var(--home-red);
}

.awo-startseiten-layout #main a:focus-visible {
    outline: 2px solid var(--home-red);
    outline-offset: 3px;
}

@media (max-width: 850px) {
    .awo-startseiten-layout #main > .inner-wrap {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 490px) {
    .awo-startseiten-layout #content .post:not(:first-child) .post-image-content-wrap:has(.post-featured-image) {
        grid-template-columns: minmax(0, 1fr);
    }

    .awo-startseiten-layout #content .post:not(:first-child) .post-featured-image a {
        aspect-ratio: 16 / 9;
    }

    .awo-startseiten-layout #content .entry-meta > .read-more-link {
        margin-inline-start: 0;
    }
}
