/*
 Theme Name: gp-child
 Template: generatepress
*/

/* -------------------------------------- */
/* GLOBAL LAYOUT – Hersteller-Niveau      */
/* -------------------------------------- */

body.single-filter .inside-article {
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px;
    box-sizing: border-box;
}

body.single-filter .filter-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    column-gap: 60px;
    align-items: start;
}

/* -------------------------------------- */
/* LINKER BILDBLOCK                       */
/* -------------------------------------- */

body.single-filter .filter-left:not(:has(img)) {
    display: none;
}

body.single-filter .filter-left:has(img) {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

body.single-filter .filter-left img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: white;
    padding: 10px;
}

/* -------------------------------------- */
/* GLOBAL TYPOGRAFIE                      */
/* -------------------------------------- */

body.single-filter {
    font-size: 17px;
    line-height: 1.6;
    color: #222;
    letter-spacing: 0.1px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
}

body.single-filter p {
    margin: 15px 0;
}

/* -------------------------------------- */
/* H1 / H2 – Premium Kontrast             */
/* -------------------------------------- */

@media (min-width: 901px) {
    body.single-filter h1.filter-title.wp-block-post-title {
        margin-left: -2px;
    }
}

body.single-filter h1.filter-title.wp-block-post-title {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: 0.35px;
    color: #1a1a1a;
    line-height: 1.15;
    margin: 10px 0 46px;
    padding-bottom: 12px;
    border-bottom: 3px solid #d9dde0;
}

body.single-filter h2 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.25px;
    color: #222;
    margin: 58px 0 16px;
    padding-bottom: 9px;
    border-bottom: 2px solid #e6e9ec;
}

body.single-filter h2 + * {
    margin-top: 6px;
}

/* -------------------------------------- */
/* LISTEN – Cross & Engine                */
/* -------------------------------------- */

.cross-list,
.engine-list {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
}

.cross-list {
    columns: 2;
    column-gap: 52px;
}

.cross-list li,
.engine-list li {
    display: block;
    position: relative;
    padding: 10px 0 10px 10px;
    margin-bottom: 2px;
    line-height: 1.58;
    color: #2a2a2a;
    break-inside: avoid;
}

.cross-list li::before,
.engine-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 51%;
    transform: translateY(-50%);
    font-size: 13px;
    color: var(--accent);
}

.engine-list li {
    border-bottom: 1px solid #e8e8e8;
}

.engine-list li:last-child {
    border-bottom: none;
    padding-bottom: 8px;
}

/* -------------------------------------- */
/* DIMENSIONS TABLE – ECHTES ZEBRA        */
/* -------------------------------------- */

/* Überschrift direkt an die Tabelle rücken */
.filter-dimensions h2 {
    margin-bottom: 0;
}

/* Tabelle */
.dimensions-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    overflow: hidden;
}

/* Zebra: WEISS – GRAU – WEISS – GRAU – WEISS */
.dimensions-table tr:nth-child(odd) td {
    background: #ffffff; /* weiß */
}

.dimensions-table tr:nth-child(even) td {
    background: #f2f2f2; /* grau */
}

/* Linien & Typografie */
.dimensions-table td {
    border-bottom: 1px solid #dcdcdc;
    border-right: 1px solid