/* =====================================================

   BESCHLÜSSE

   FDP ANHALT-BITTERFELD

   MOBILE FIRST

===================================================== */



/* =====================================================

   GRUNDLAGE

===================================================== */

.resolution-archive,

.resolution-single {

    min-height: 70vh;

    background: var(--fdp-white);

    color: #171717;

    font-family:

        "Public Sans",

        Arial,

        sans-serif;

    font-weight: 500;

}



/*

 * Verhindert horizontales Überlaufen

 * auf der Einzelansicht.

 */

.resolution-single {

    overflow-x: clip;

}



.resolution-single article {

    min-width: 0;

}



/* =====================================================

   EINHEITLICHE INHALTSBREITE

===================================================== */

.resolution-layout {

    width: 100%;

    min-width: 0;

    margin-right: auto;

    margin-left: auto;

}



/* =====================================================

   SEITENTITEL

   Einheitliches System wie:

   - Aktuelles

   - Personen

   - Initiativen

===================================================== */

.resolution-archive__hero,

.resolution-single__header {

    padding:

        48px

        0

        28px;

}



.resolution-archive__hero h1,

.resolution-single__header h1 {

    max-width: 100%;

    margin: 0;

    color: var(--fdp-blue);

    font-family:

        "Public Sans",

        Arial,

        sans-serif;

    font-size:

        clamp(

            2.15rem,

            10vw,

            3rem

        );

    font-weight: 800;

    letter-spacing: -0.04em;

    line-height: 1;

    white-space: normal;

    overflow-wrap: anywhere;

    word-break: normal;

    hyphens: auto;

}



/* =====================================================

   CYAN-BALKEN

===================================================== */

.resolution-title-line {

    display: block;

    width: 105px;

    height: 7px;

    margin-top: 14px;

    background: var(--fdp-cyan);

}



/* =====================================================

   ARCHIVINHALT

===================================================== */

.resolution-archive__content {

    padding:

        15px

        0

        65px;

}



/* =====================================================

   FILTER

===================================================== */

.resolution-filter {

    margin-bottom: 34px;

}



.resolution-filter__search {

    display: grid;

    grid-template-columns: 1fr;

    gap: 9px;

    margin-bottom: 18px;

}



.resolution-filter__search input {

    width: 100%;

    min-height: 52px;

    padding:

        11px

        14px;

    border:

        2px solid

        rgba(

            3,

            45,

            103,

            0.18

        );

    border-radius: 9px;

    outline: none;

    background: var(--fdp-white);

    color: #171717;

    font-family:

        "Public Sans",

        Arial,

        sans-serif;

    font-size: 1rem;

    font-weight: 500;

    transition:

        border-color var(--transition),

        box-shadow var(--transition);

}



.resolution-filter__search input:focus {

    border-color: var(--fdp-cyan);

    box-shadow:

        0 0 0 4px

        rgba(

            0,

            167,

            231,

            0.1

        );

}



.resolution-filter__search button {

    display: inline-flex;

    width: 100%;

    min-height: 50px;

    align-items: center;

    justify-content: center;

    gap: 9px;

    padding:

        10px

        18px;

    border:

        2px solid

        var(--fdp-cyan);

    border-radius: 9px;

    background: var(--fdp-cyan);

    color: var(--fdp-white);

    cursor: pointer;

    font-family:

        "Public Sans",

        Arial,

        sans-serif;

    font-size: 0.9rem;

    font-weight: 800;

    transition:

background var(--transition),

        color var(--transition),

        transform var(--transition);

}



.resolution-filter__search button:hover {

    background: var(--fdp-white);

    color: var(--fdp-cyan);

    transform: translateY(-1px);

}



.resolution-filter__search svg {

    width: 20px;

    height: 20px;

    fill: none;

    stroke: currentColor;

    stroke-linecap: round;

    stroke-linejoin: round;

    stroke-width: 2;

}



/* =====================================================

   FILTERFELDER

===================================================== */

.resolution-filter__fields {

    display: grid;

    grid-template-columns: 1fr;

    gap: 12px;

}



.resolution-filter__fields label {

    display: grid;

    gap: 6px;

    color: var(--fdp-blue);

    font-size: 0.78rem;

    font-weight: 800;

}



.resolution-filter__fields select {

    width: 100%;

    min-height: 50px;

    padding:

        10px

        13px;

    border:

        2px solid

        rgba(

            3,

            45,

            103,

            0.16

        );

    border-radius: 9px;

    outline: none;

    background: var(--fdp-white);

    color: #171717;

    font-family:

        "Public Sans",

        Arial,

        sans-serif;

    font-size: 0.92rem;

    font-weight: 500;

    transition:

        border-color var(--transition),

        box-shadow var(--transition);

}



.resolution-filter__fields select:focus {

    border-color: var(--fdp-cyan);

    box-shadow:

        0 0 0 4px

        rgba(

            0,

            167,

            231,

            0.08

        );

}



/* =====================================================

   FILTERAKTIONEN

===================================================== */

.resolution-filter__actions {

    display: flex;

    flex-direction: column;

    gap: 12px;

    margin-top: 18px;

}



.resolution-filter__apply {

    min-height: 48px;

    padding:

        10px

        18px;

    border:

        2px solid

        var(--fdp-blue);

    border-radius: 9px;

    background: var(--fdp-blue);

    color: var(--fdp-white);

    cursor: pointer;

    font-family:

        "Public Sans",

        Arial,

        sans-serif;

    font-size: 0.87rem;

    font-weight: 800;

    transition:

background var(--transition),

        color var(--transition),

        transform var(--transition);

}



.resolution-filter__apply:hover {

    background: var(--fdp-white);

    color: var(--fdp-blue);

    transform: translateY(-1px);

}



.resolution-filter__reset {

    display: inline-flex;

    min-height: 42px;

    align-items: center;

    color: var(--fdp-blue);

    font-size: 0.82rem;

    font-weight: 800;

    text-decoration: underline;

    text-decoration-color: var(--fdp-link-underline-color);

    text-decoration-thickness: var(--fdp-link-underline-thickness);

    text-underline-offset: var(--fdp-link-underline-offset);

}



/* =====================================================

   ERGEBNISANZAHL

===================================================== */

.resolution-results-count {

    margin:

        0

        0

        18px;

    color: #666;

    font-size: 0.9rem;

    font-weight: 500;

}



/* =====================================================

   BESCHLUSSLISTE

===================================================== */

.resolution-list {

    display: grid;

    gap: 17px;

}



/* =====================================================

   BESCHLUSSKARTE

===================================================== */

.resolution-card {

    position: relative;

    padding:

        23px

        20px

        24px;

    overflow: hidden;

    border:

        1px solid

        rgba(

            3,

            45,

            103,

            0.09

        );

    border-radius: 18px;

    background: var(--fdp-white);

    box-shadow:

        0 7px 24px

        rgba(

            3,

            45,

            103,

            0.07

        );

    transition:

        transform var(--transition),

        box-shadow var(--transition),

        border-color var(--transition);

}



.resolution-card:hover {

    border-color:

        rgba(

            3,

            45,

            103,

            0.16

        );

    transform: translateY(-3px);

    box-shadow:

        0 14px 34px

        rgba(

            3,

            45,

            103,

            0.11

        );

}



.resolution-card__main-link {

    position: absolute;

    z-index: 1;

    inset: 0;

}



/* =====================================================

   KARTENMETA

===================================================== */

.resolution-card__meta {

    position: relative;

    z-index: 2;

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 7px;

    margin-bottom: 13px;

    pointer-events: none;

}



.resolution-card__meta time {

    color: #555;

    font-size: 0.78rem;

    font-weight: 500;

}



.resolution-card__type {

    display: inline-flex;

    padding:

        4px

        9px;

    border-radius: 6px;

    background: var(--fdp-yellow);

    color: var(--fdp-blue);

    font-size: 0.72rem;

    font-weight: 800;

}



.resolution-card__topic {

    position: relative;

    z-index: 2;

    display: block;

    margin-bottom: 8px;

    color: var(--fdp-cyan);

    font-size: 0.73rem;

    font-weight: 800;

    letter-spacing: 0.025em;

    pointer-events: none;

}



/* =====================================================

   KARTENTITEL

===================================================== */

.resolution-card h2 {

    position: relative;

    z-index: 2;

    margin:

        0

        0

        11px;

    color: var(--fdp-blue);

    font-family:

        "Public Sans",

        Arial,

        sans-serif;

    font-size: 1.4rem;

    font-weight: 800;

    letter-spacing: -0.025em;

    line-height: 1.13;

    pointer-events: none;

    transition:

        color var(--transition);

}



.resolution-card:hover h2 {

    color: var(--fdp-cyan);

}



/* =====================================================

   KARTENBESCHREIBUNG

===================================================== */

.resolution-card p {

    position: relative;

    z-index: 2;

    margin:

        0

        0

        17px;

    color: #171717;

    font-size: 0.95rem;

    font-weight: 500;

    line-height: 1.6;

    pointer-events: none;

}



/* =====================================================

   BESCHLUSS ANSEHEN

===================================================== */

.resolution-card__more {

    position: relative;

    z-index: 2;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--fdp-blue);

    font-size: 0.78rem;

    font-weight: 800;

    pointer-events: none;

}



.resolution-card__more > span {

    transition:

        transform var(--transition);

}



.resolution-card:hover

.resolution-card__more > span {

    transform: translateX(4px);

}



/* =====================================================

   PAGINIERUNG

===================================================== */

.resolution-pagination {

    margin-top: 45px;

}







/* =====================================================

   KEINE ERGEBNISSE

===================================================== */

.resolution-empty {

    padding:

        28px

        22px;

    border-radius: 18px;

    background: #f7f7f7;

}



.resolution-empty h2 {

    margin:

        0

        0

        8px;

    color: var(--fdp-blue);

    font-size: 1.35rem;

    font-weight: 800;

}



.resolution-empty p {

    margin: 0;

    color: #171717;

    font-size: 1rem;

    font-weight: 500;

    line-height: 1.65;

}



/* =====================================================

   EINZELNER BESCHLUSS – META

===================================================== */

.resolution-single__meta {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 7px;

    margin-bottom: 21px;

    color: #555;

    font-family:

        "Public Sans",

        Arial,

        sans-serif;

    font-size: 0.8rem;

    font-weight: 500;

    line-height: 1.4;

}



.resolution-single__meta strong {

    color: var(--fdp-blue);

    font-weight: 700;

}



.resolution-single__separator {

    color: #777;

}



/* =====================================================

   LEAD / AUSZUG

   Gleiche Schriftgröße wie Fließtext,

   aber bewusst Bold.

===================================================== */

.resolution-single__lead {

    width: 100%;

    max-width: 800px;

    margin-top: 25px;

    color: #171717;

    font-family:

        "Public Sans",

        Arial,

        sans-serif;

    font-size: 1rem;

    font-weight: 700;

    line-height: 1.65;

}



.resolution-single__lead p {

    margin: 0;

    color: inherit;

    font-family: inherit;

    font-size: inherit;

    font-weight: inherit;

    line-height: inherit;

}



/* =====================================================

   FLIESSTEXT – CONTAINER

===================================================== */

.resolution-single__content {

    padding:

        15px

        0

        25px;

}



/* =====================================================

   FLIESSTEXT

   Public Sans Medium / 500

===================================================== */

.resolution-single__text {

    color: #171717;

    font-family: var(--fdp-font);

    font-size: var(--fdp-body-font-size);

    font-weight: var(--fdp-body-weight);

    line-height: var(--fdp-body-line-height);

    letter-spacing: var(--fdp-body-letter-spacing);

    hyphens: auto;

    -webkit-hyphens: auto;

    word-break: normal;

    overflow-wrap: normal;
}



/* =====================================================

   ABSÄTZE

===================================================== */

.resolution-single__text p {

    margin:

        0

        0

        22px;

    color: #171717;

    font-family: inherit;

    font-size: inherit;

    font-weight: inherit;

    line-height: inherit;

    letter-spacing: inherit;
}



.resolution-single__text p:last-child {

    margin-bottom: 0;

}



/* =====================================================

   FETTUNGEN

===================================================== */

.resolution-single__text strong,

.resolution-single__text b {

    font-weight: 700;

}



/* =====================================================

   ZWISCHENÜBERSCHRIFT H2

===================================================== */

.resolution-single__text h2 {

    margin:

        40px

        0

        18px;

    color: var(--fdp-blue);

    font-family:

        "Public Sans",

        Arial,

        sans-serif;

    font-size: 1.75rem;

    font-weight: 800;

    letter-spacing: -0.025em;

    line-height: 1.15;

}



/*

 * Verhindert zu großen Abstand,

 * wenn der Beitrag direkt mit H2 beginnt.

 */

.resolution-single__text h2:first-child {

    margin-top: 0;

}



/* =====================================================

   ZWISCHENÜBERSCHRIFT H3

===================================================== */

.resolution-single__text h3 {

    margin:

        32px

        0

        15px;

    color: var(--fdp-blue);

    font-family:

        "Public Sans",

        Arial,

        sans-serif;

    font-size: 1.4rem;

    font-weight: 800;

    letter-spacing: -0.02em;

    line-height: 1.2;

}



/* =====================================================

   LISTEN

===================================================== */

.resolution-single__text ul,

.resolution-single__text ol {

    margin:

        0

        0

        22px;

    padding-left: 1.5em;

    color: #171717;

    font-family: inherit;

    font-size: inherit;

    font-weight: 500;

    line-height: inherit;

}



.resolution-single__text li {

    margin-bottom: 7px;

    color: #171717;

    font-family: inherit;

    font-size: inherit;

    font-weight: inherit;

    line-height: inherit;

    letter-spacing: inherit;
}



.resolution-single__text li:last-child {

    margin-bottom: 0;

}



/* =====================================================

   BLOCKQUOTE

===================================================== */

.resolution-single__text blockquote {

    margin:

        30px

        0;

    padding:

        4px

        0

        4px

        22px;

    border-left:

        5px solid

        var(--fdp-cyan);

    color: var(--fdp-blue);

    font-size: 1rem;

    font-weight: 700;

    line-height: 1.65;

}



.resolution-single__text blockquote p {

    color: inherit;

    font-weight: inherit;

}



/* =====================================================

   LINKS

===================================================== */

.resolution-single__text a {

    color: var(--fdp-blue);

    font-weight: 700;

    text-decoration: underline;

    text-decoration-color: var(--fdp-link-underline-color);

    text-decoration-thickness: var(--fdp-link-underline-thickness);

    text-underline-offset: var(--fdp-link-underline-offset);

    transition:

        color var(--transition);

}



.resolution-single__text a:hover {

    color: var(--fdp-cyan);

}



/* =====================================================

   BILDER IM FLIESSTEXT

===================================================== */

.resolution-single__text img {

    max-width: 100%;

    height: auto;

    margin:

        8px

        0

        24px;

    border-radius: 16px;

}



/* =====================================================

   PDF

===================================================== */

.resolution-document {

    padding:

        20px

        0

        45px;

}



/* =====================================================

   PDF HEADER

===================================================== */

.resolution-document__header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 14px;

    margin-bottom: 17px;

}



.resolution-document__header h2 {

    flex:

        1

        1

        auto;

    margin: 0;

    color: var(--fdp-blue);

    font-family:

        "Public Sans",

        Arial,

        sans-serif;

    font-size: 1.65rem;

    font-weight: 800;

    line-height: 1.1;

}



/* =====================================================

   PDF ÖFFNEN BUTTON

===================================================== */

.resolution-document__open {

    display: inline-flex;

    min-height: 42px;

    flex:

        0

        0

        auto;

    align-items: center;

    justify-content: center;

    gap: 8px;

    margin: 0;

    padding:

        8px

        13px;

    border:

        2px solid

        var(--fdp-yellow);

    border-radius: 8px;

    background: var(--fdp-yellow);

    color: var(--fdp-blue);

    font-family:

        "Public Sans",

        Arial,

        sans-serif;

    font-size: 0.76rem;

    font-weight: 800;

    line-height: 1.2;

    white-space: nowrap;

    text-decoration: none;

    transition:

        transform var(--transition),

        box-shadow var(--transition);

}



.resolution-document__open:hover {

    transform: translateY(-1px);

    box-shadow:

        0 6px 16px

        rgba(

            3,

            45,

            103,

            0.08

        );

}



/* =====================================================

   SMARTPHONE PDF-BOX

   Feste Boxhöhe.

   PDF wird innerhalb dieser Box gescrollt.

===================================================== */

.resolution-document__mobile-viewer {

    position: relative;

    display: block;

    box-sizing: border-box;

    width: 100%;

    height:

        min(

            64vh,

            560px

        );

    min-height: 430px;

    overflow-x: hidden;

    overflow-y: auto;

    padding: 10px;

    border:

        1px solid

        rgba(

            3,

            45,

            103,

            0.15

        );

    border-radius: 16px;

    outline: none;

    background: #eeeeee;

    box-shadow:

        0 5px 18px

        rgba(

            3,

            45,

            103,

            0.05

        );

    -webkit-overflow-scrolling: touch;

    touch-action: pan-y;

    overscroll-behavior-y: auto;

    scrollbar-width: thin;

    scrollbar-color:

        rgba(

            3,

            45,

            103,

            0.38

        )

        transparent;

}



.resolution-document__mobile-viewer::-webkit-scrollbar {

    width: 5px;

}



.resolution-document__mobile-viewer::-webkit-scrollbar-track {

    background: transparent;

}



.resolution-document__mobile-viewer::-webkit-scrollbar-thumb {

    border-radius: 999px;

    background:

        rgba(

            3,

            45,

            103,

            0.34

        );

}



/* =====================================================

   PDF LADEN

===================================================== */

.resolution-document__loading {

    display: flex;

    min-height: 180px;

    align-items: center;

    justify-content: center;

    padding: 24px;

    color: #666;

    font-size: 0.82rem;

    font-weight: 500;

    text-align: center;

}



/* =====================================================

   PDF-SEITEN-CONTAINER

===================================================== */

.resolution-document__mobile-pages {

    display: grid;

    width: 100%;

    gap: 10px;

}



/* =====================================================

   EINZELNE PDF-SEITE

===================================================== */

.resolution-document__page {

    width: 100%;

    overflow: hidden;

    border-radius: 7px;

    background: #ffffff;

    box-shadow:

        0 2px 8px

        rgba(

            3,

            45,

            103,

            0.08

        );

}



.resolution-document__page canvas {

    display: block;

    width: 100% !important;

    height: auto !important;

    margin: 0;

    padding: 0;

    background: #ffffff;

}



/* =====================================================

   DESKTOP-PDF

   Mobil ausgeblendet.

===================================================== */

.resolution-document__viewer {

    display: none;

}



/* =====================================================

   ZURÜCK

===================================================== */

.resolution-single__footer {

    padding:

        20px

        0

        60px;

}









/* =====================================================

   TABLET AB 768 PX

===================================================== */

@media (min-width: 768px) {



    /* =================================================

       INHALTSBREITE

    ================================================= */

    .resolution-layout {

        width:

            min(

                920px,

                100%

            );

    }



    /* =================================================

       SEITENTITEL

    ================================================= */

    .resolution-archive__hero,

    .resolution-single__header {

        padding:

            68px

            0

            36px;

    }



    .resolution-archive__hero h1,

    .resolution-single__header h1 {

        font-size:

            clamp(

                2.5rem,

                4vw,

                3.8rem

            );

    }



    .resolution-title-line {

        width: 140px;

        height: 8px;

        margin-top: 16px;

    }



    /* =================================================

       FILTER

    ================================================= */

    .resolution-filter__search {

        grid-template-columns:

            minmax(

                0,

                1fr

            )

            auto;

    }



    .resolution-filter__search button {

        width: auto;

        padding-right: 22px;

        padding-left: 22px;

    }



    .resolution-filter__fields {

        grid-template-columns:

            repeat(

                2,

                minmax(

                    0,

                    1fr

                )

            );

    }



    .resolution-filter__actions {

        flex-direction: row;

        align-items: center;

    }



    .resolution-filter__apply {

        padding-right: 22px;

        padding-left: 22px;

    }



    /* =================================================

       KARTEN

    ================================================= */

    .resolution-card {

        padding:

            28px

            30px;

        border-radius: 22px;

    }



    .resolution-card h2 {

        font-size:

            clamp(

                1.5rem,

                2.2vw,

                1.9rem

            );

    }



    .resolution-card p {

        max-width: 760px;

    }



    /* =================================================

       EINZELSEITE – META

    ================================================= */

    .resolution-single__meta {

        font-size: 0.9rem;

    }



    /* =================================================

       LEAD

       Bewusst nicht größer als Fließtext.

    ================================================= */

    .resolution-single__lead {

        font-size: 1rem;

        font-weight: 700;

    }



    /* =================================================

       FLIESSTEXT

       Auch auf Desktop 1rem / Medium.

    ================================================= */

    .resolution-single__text {

        font-size: var(--fdp-body-font-size);

        font-weight: var(--fdp-body-weight);

    font-family: var(--fdp-font);

    line-height: var(--fdp-body-line-height);

    letter-spacing: var(--fdp-body-letter-spacing);

    hyphens: auto;

    -webkit-hyphens: auto;

    word-break: normal;

    overflow-wrap: normal;
}



    /* =================================================

       DOKUMENT

    ================================================= */

    .resolution-document__header {

        gap: 20px;

    }



    .resolution-document__header h2 {

        font-size: 1.8rem;

    }



    .resolution-document__open {

        min-height: 45px;

        padding:

            9px

            16px;

        font-size: 0.8rem;

    }



    /* =================================================

       MOBILE PDF AUSBLENDEN

    ================================================= */

    .resolution-document__mobile-viewer {

        display: none;

    }



    /* =================================================

       DESKTOP PDF

    ================================================= */

    .resolution-document__viewer {

        display: block;

        width: 100%;

        height:

            min(

                80vh,

                950px

            );

        min-height: 620px;

        overflow: hidden;

        border:

            1px solid

            rgba(

                3,

                45,

                103,

                0.15

            );

        border-radius: 16px;

        background: #eeeeee;

    }



    .resolution-document__viewer iframe {

        display: block;

        width: 100%;

        height: 100%;

        border: 0;

    }

}



/* =====================================================

   DESKTOP AB 1050 PX

===================================================== */

@media (min-width: 1050px) {



    /* =================================================

       SEITENKOPF

    ================================================= */

    .resolution-archive__hero,

    .resolution-single__header {

        padding-top: 76px;

    }



    /* =================================================

       ARCHIV

    ================================================= */

    .resolution-archive__content {

        padding-bottom: 100px;

    }



    .resolution-filter {

        margin-bottom: 42px;

    }



    .resolution-list {

        gap: 20px;

    }



    .resolution-card {

        padding:

            30px

            34px;

    }

}

/* =====================================================
   ANTRAGSBUCH (KREISPARTEITAG)
   Seitenaufbau und Filter wie bei den Beschlüssen;
   die Antragskarten selbst stehen in party-conventions.css.
===================================================== */

.motion-archive .party-back {
    margin-bottom: 27px;
}


@media (min-width: 1050px) {

    .resolution-filter__fields--three {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }
}


/* =====================================================
   PDF AUF TABLETS
   Seitenansicht wie auf dem Handy, Höhe wie am Computer.
   Klasse fdp-touch-pdf setzt inc/enqueue.php.
===================================================== */

@media (min-width: 768px) {

    html.fdp-touch-pdf .resolution-document__mobile-viewer {
        display: block;

        height: min(80vh, 950px);
        min-height: 620px;
    }

    html.fdp-touch-pdf .resolution-document__viewer {
        display: none;
    }
}
