/* =========================================================
   Kinky Culture – Theme v12
   Kopfbereich, Rubrikblöcke, Newsletter-Band der Startseite.
   Eigene Datei: kc-ads.css und screen.css bleiben unverändert.
   ========================================================= */


/* ---------------------------------------------------------
   1. Kopfbereich (Layout „Stacked“): Logo mittig und größer,
      darunter die Rubrikzeile. Ab 768 px: 88 px + 42 px = 130 px.
      Bis 767 px bleibt der Kopf 64 px hoch (Logo 48 px).
   --------------------------------------------------------- */

@media (min-width: 768px) {
    .gh-navigation.is-stacked {
        height: 130px;
    }

    .gh-navigation.is-stacked .gh-navigation-inner {
        grid-template-columns: 1fr auto 1fr;
        grid-template-rows: 88px 42px;
        row-gap: 0;
        height: 130px;
        padding: 0;
    }

    .gh-navigation.is-stacked .gh-navigation-brand {
        display: flex;
        align-items: center;
        justify-content: center;
        grid-row: 1;
        grid-column: 2;
        height: 88px;
        min-height: 0;
    }

    .gh-navigation.is-stacked .gh-navigation-logo img {
        max-height: 60px;
    }

    .gh-navigation.is-stacked .gh-navigation-menu {
        grid-row: 2;
        grid-column: 1 / 4;
        justify-content: center;
        height: 42px;
        margin: 0;
        border-top: 1px solid var(--color-border);
        border-bottom: 1px solid var(--color-border);
    }

    .gh-navigation.is-stacked .gh-navigation-menu::before,
    .gh-navigation.is-stacked .gh-navigation-menu::after {
        content: none;
        display: none;
    }

    .gh-navigation.is-stacked .gh-navigation-actions {
        grid-row: 1;
        grid-column: 1;
        justify-content: flex-start;
        background-color: transparent;
    }

    .gh-navigation.is-stacked .gh-navigation-actions .gh-search {
        display: flex;
    }
}

@media (max-width: 767px) {
    #gh-navigation .gh-navigation-logo img {
        max-height: 48px;
    }
}


/* ---------------------------------------------------------
   2. Format-Etikett im Aufmacher („Menschen & Szene · Reportage“)
   --------------------------------------------------------- */

.kc-format-after-tag .kc-format::before,
.gh-card-tag .kc-format + .kc-format::before {
    content: " · ";
}


/* ---------------------------------------------------------
   3. Gemeinsame Bausteine der Startseite
   --------------------------------------------------------- */

.kc-home-main {
    display: block;
}

.kc-label {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4a4a4a;
}

.kc-rubrik {
    margin-top: 64px;
}

.kc-rubrik-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--color-darker-gray);
}

.kc-rubrik-titles {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 18px;
    row-gap: 4px;
    min-width: 0;
}

.kc-rubrik-title {
    margin: 0;
    font-family: var(--gh-font-heading, var(--font-serif));
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.kc-rubrik-title a {
    color: inherit;
}

.kc-rubrik-sub {
    margin: 0;
    font-size: 1.6rem;
    line-height: 1.4;
    color: #4a4a4a;
}

.kc-rubrik-all,
.kc-rubrik-button {
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 550;
    line-height: 1.2;
    white-space: nowrap;
}

.kc-rubrik-all {
    display: inline-flex;
    flex: none;
}

.kc-rubrik-button {
    display: none;
}

.kc-rubrik-all svg,
.kc-rubrik-button svg {
    width: 16px;
    height: 16px;
}

/* Karten in den Rubrikblöcken: Etikett zeigt das Format */
.kc-rubrik .gh-card-tag {
    display: block;
    margin-bottom: 6px;
}

.kc-rubrik .gh-card-tag:empty {
    display: none;
}

.kc-rubrik .gh-card-meta:not(:empty) {
    margin-top: 12px;
}


/* ---------------------------------------------------------
   4. Raster (Menschen & Szene, Kultur & Gesellschaft, Wissen)
   --------------------------------------------------------- */

.kc-rubrik-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--grid-gap);
    align-items: start;
    margin-top: 30px;
}

@media (min-width: 1200px) {
    .kc-rubrik-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* „Außerdem“ unter Menschen & Szene */
.kc-rubrik-more {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 36px;
    row-gap: 8px;
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
}

.kc-rubrik-more .kc-label {
    flex: none;
}

.kc-rubrik-more-link {
    font-family: var(--gh-font-heading, var(--font-serif));
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.35;
}


/* ---------------------------------------------------------
   5. Psychologie: ein großer Beitrag, daneben vier Zeilen
   --------------------------------------------------------- */

.kc-rubrik-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--grid-gap);
    align-items: start;
    margin-top: 30px;
}

@media (min-width: 1200px) {
    .kc-rubrik-split {
        grid-template-columns: minmax(0, 524fr) minmax(0, 754fr);
    }
}

.kc-rubrik-lead .gh-card-title {
    font-size: 2.7rem;
    line-height: 1.2;
}

.kc-rubrik-lead .gh-card-excerpt {
    font-size: 1.6rem;
    line-height: 1.5;
    -webkit-line-clamp: 3;
}

.kc-rubrik-list .gh-card {
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}

.kc-rubrik-list .gh-card:first-child {
    padding-top: 0;
}

.kc-rubrik-list .gh-card:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.kc-rubrik-list .gh-card-link {
    flex-direction: row;
    align-items: flex-start;
    gap: 22px;
}

.kc-rubrik-list .gh-card-image {
    flex: none;
    width: 168px;
}

.kc-rubrik-list .gh-card-wrapper {
    min-width: 0;
}

.kc-rubrik-list .gh-card-tag {
    margin-bottom: 5px;
}

.kc-rubrik-list .gh-card-excerpt {
    display: none;
}

.kc-rubrik-list .gh-card-meta:not(:empty) {
    margin-top: 8px;
}

@media (max-width: 1199px) {
    .kc-rubrik-list .gh-card-link {
        gap: 16px;
    }

    .kc-rubrik-list .gh-card-image {
        width: 124px;
    }

    .kc-rubrik-list .gh-card-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .kc-rubrik-list .gh-card-tag {
        font-size: 1.1rem;
    }
}


/* ---------------------------------------------------------
   6. Wissen: heller Hintergrund, Register von A bis Z
   --------------------------------------------------------- */

.kc-rubrik-wissen {
    padding-top: 56px;
    padding-bottom: 64px;
    background-color: #f5f5f3;
}

.kc-az {
    padding: 22px 24px 14px;
    background-color: #ffffff;
    border: 1px solid #dddddd;
}

.kc-az-list {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    font-family: var(--gh-font-heading, var(--font-serif));
    font-size: 1.5rem;
    line-height: 1.3;
}

.kc-az-list li {
    border-bottom: 1px solid #ececec;
}

.kc-az-list li:last-child {
    border-bottom: 0;
}

.kc-az-list a {
    display: flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 0;
}


/* ---------------------------------------------------------
   7. Newsletter-Band
   --------------------------------------------------------- */

.kc-newsletter {
    margin-top: 64px;
    padding-top: 64px;
    padding-bottom: 64px;
    background-color: #000000;
    color: #ffffff;
}

.kc-newsletter-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
    gap: 84px;
    align-items: center;
}

.kc-newsletter-kicker {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #cfcfcf;
}

.kc-newsletter-title {
    margin: 14px 0 0;
    font-family: var(--gh-font-heading, var(--font-serif));
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.015em;
    color: #ffffff;
}

.kc-newsletter-lead {
    max-width: 600px;
    margin: 16px 0 0;
    font-size: 1.8rem;
    line-height: 1.5;
    color: #e2e2e2;
}

.kc-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kc-newsletter-label {
    font-size: 1.4rem;
    color: #e2e2e2;
}

.kc-newsletter-fields {
    display: flex;
    gap: 10px;
}

.kc-newsletter-input {
    flex: 1;
    min-width: 0;
    height: 52px;
    padding: 0 16px;
    font-size: 1.6rem;
    color: #15171a;
    background-color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 0;
    outline: none;
}

.kc-newsletter-input::placeholder {
    color: rgb(0 0 0 / 0.45);
}

.kc-newsletter-button {
    flex: none;
    height: 52px;
    padding: 0 24px;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1;
    color: #000000;
    background-color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 0;
    cursor: pointer;
}

.kc-newsletter-button:hover {
    opacity: 0.9;
}

.kc-newsletter-input:focus-visible,
.kc-newsletter-button:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.kc-newsletter-state-loading,
.kc-newsletter-state-success,
.kc-newsletter-success {
    display: none;
}

.kc-newsletter-form.loading .kc-newsletter-state-default,
.kc-newsletter-form.success .kc-newsletter-state-default {
    display: none;
}

.kc-newsletter-form.loading .kc-newsletter-state-loading,
.kc-newsletter-form.success .kc-newsletter-state-success {
    display: inline;
}

.kc-newsletter-form.success {
    pointer-events: none;
}

.kc-newsletter-form.success .kc-newsletter-success {
    display: block;
}

.kc-newsletter-success {
    margin: 4px 0 0;
    font-size: 1.5rem;
    line-height: 1.5;
    color: #ffffff;
}

.kc-newsletter-error {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #ffb4b4;
}

.kc-newsletter-error:empty {
    display: none;
}

.kc-newsletter-micro {
    margin: 14px 0 0;
    font-size: 1.25rem;
    line-height: 1.5;
    color: #c4c4c4;
}

.kc-newsletter-micro a {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 1199px) {
    .kc-newsletter-inner {
        gap: 48px;
    }
}

@media (max-width: 991px) {
    .kc-newsletter-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
}

/* Auf der Startseite steht das Newsletter-Band; die zweite Anmeldung im Footer entfällt dort */
.home-template .gh-footer-signup {
    display: none;
}

.home-template .gh-footer {
    margin-top: 64px;
}


/* ---------------------------------------------------------
   8. Rubrik-Schaltflächen (nur mobil)
   --------------------------------------------------------- */

.kc-home-rubriknav {
    display: none;
}


/* ---------------------------------------------------------
   9. Mobil bis 767 px: Blöcke als Zeilen
   --------------------------------------------------------- */

@media (max-width: 767px) {
    .kc-home-rubriknav {
        display: block;
        margin-top: 32px;
    }

    .kc-home-rubriknav-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin: 10px 0 0;
        padding: 0;
        list-style: none;
    }

    .kc-home-rubriknav-list a {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 48px;
        padding: 0 8px;
        font-size: 1.45rem;
        font-weight: 550;
        line-height: 1.2;
        text-align: center;
        border: 1px solid var(--color-darker-gray);
    }

    .kc-rubrik {
        margin-top: 40px;
    }

    .kc-rubrik-head {
        display: block;
        padding-bottom: 12px;
    }

    .kc-rubrik-titles {
        display: block;
    }

    .kc-rubrik-title {
        font-size: 2.5rem;
        line-height: 1.15;
    }

    .kc-rubrik-sub {
        margin-top: 4px;
        font-size: 1.5rem;
    }

    .kc-rubrik-all {
        display: none;
    }

    .kc-rubrik-button {
        display: flex;
        justify-content: center;
        height: 48px;
        margin-top: 24px;
        border: 1px solid var(--color-darker-gray);
    }

    .kc-rubrik-grid,
    .kc-rubrik-split {
        display: block;
        margin-top: 0;
    }

    .kc-rubrik-grid .gh-card,
    .kc-rubrik-list .gh-card,
    .kc-rubrik-lead .gh-card {
        padding: 20px 0;
        border-bottom: 1px solid var(--color-border);
    }

    .kc-rubrik-list .gh-card:first-child {
        padding-top: 20px;
    }

    .kc-rubrik-list .gh-card:last-child,
    .kc-rubrik-grid:not(.kc-has-mobile-lead) .gh-card:last-of-type {
        padding-bottom: 20px;
        border-bottom: 0;
    }

    .kc-rubrik-grid .gh-card-link {
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
    }

    .kc-rubrik-grid .gh-card-image {
        flex: none;
        width: 124px;
    }

    .kc-rubrik-grid .gh-card-wrapper {
        min-width: 0;
    }

    .kc-rubrik-grid .gh-card-excerpt {
        display: none;
    }

    .kc-rubrik-grid .gh-card-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .kc-rubrik-grid .gh-card-tag {
        margin-bottom: 5px;
        font-size: 1.1rem;
    }

    .kc-rubrik-grid .gh-card-meta:not(:empty),
    .kc-rubrik-list .gh-card-meta:not(:empty) {
        margin-top: 8px;
    }

    /* erster Beitrag in Menschen & Szene und der große Psychologie-Beitrag */
    .kc-has-mobile-lead .gh-card:first-child .gh-card-link,
    .kc-rubrik-lead .gh-card-link {
        flex-direction: column;
        gap: 20px;
    }

    .kc-has-mobile-lead .gh-card:first-child .gh-card-image,
    .kc-rubrik-lead .gh-card-image {
        width: 100%;
    }

    .kc-has-mobile-lead .gh-card:first-child .gh-card-title,
    .kc-rubrik-lead .gh-card-title {
        font-size: 2.1rem;
        line-height: 1.24;
    }

    .kc-has-mobile-lead .gh-card:first-child .gh-card-tag,
    .kc-rubrik-lead .gh-card-tag {
        margin-bottom: 6px;
        font-size: 1.2rem;
    }

    .kc-has-mobile-lead .gh-card:first-child .gh-card-excerpt {
        display: -webkit-box;
    }

    .kc-rubrik-lead .gh-card-excerpt {
        font-size: 1.45rem;
        line-height: 1.4;
        -webkit-line-clamp: 2;
    }

    .kc-has-mobile-lead .gh-card:first-child .gh-card-meta:not(:empty),
    .kc-rubrik-lead .gh-card-meta:not(:empty) {
        margin-top: 12px;
    }

    .kc-rubrik-more {
        display: block;
        margin-top: 0;
        padding-top: 16px;
        border-top: 0;
    }

    .kc-rubrik-more-link {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 6px 0;
    }

    .kc-rubrik-wissen {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .kc-az {
        margin-top: 28px;
        padding: 20px 20px 8px;
    }

    .kc-az-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
        margin-top: 8px;
        font-size: 1.4rem;
    }

    .kc-az-list li:nth-last-child(2):nth-child(odd) {
        border-bottom: 0;
    }

    .kc-az-list a {
        min-height: 46px;
    }

    .kc-newsletter {
        margin-top: 40px;
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .kc-newsletter-title {
        margin-top: 12px;
        font-size: 2.6rem;
        line-height: 1.2;
    }

    .kc-newsletter-lead {
        margin-top: 12px;
        font-size: 1.6rem;
    }

    .kc-newsletter-fields {
        flex-direction: column;
    }

    .kc-newsletter-input,
    .kc-newsletter-button {
        flex: none;
        width: 100%;
    }

    .home-template .gh-footer {
        margin-top: 48px;
    }
}
