﻿/* ============================================================
   GERMAN-SPOB MOTORSPORT
   ============================================================ */

.motorsport-section {
    width: 100%;
    height: 280px;

    display: grid;
    grid-template-columns: 66% 34%;

    background: #031a36;
    overflow: hidden;
}


/* ============================================================
   BILD
   ============================================================ */

.motorsport-section__image {
    height: 280px;
    min-width: 0;
    overflow: hidden;
}

.motorsport-section__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 48%;
}
/* ============================================================
   TEXTBEREICH
   ============================================================ */

.motorsport-section__content {
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;

    /* Text deutlich weiter nach links */
    padding: 12px 20px;

    color: #ffffff;
    background: #031a36;

    box-sizing: border-box;
}


/* ============================================================
   GERMAN-SPOB MOTORSPORT
   ============================================================ */

.motorsport-section__eyebrow {
    margin: 0 0 5px;

    color: #c4a265;

    font-size: 11px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0.4px;
}


/* ============================================================
   ÜBERSCHRIFT
   ============================================================ */

.motorsport-section__title {
    margin: 0 0 7px;

    color: #ffffff;

    font-size: 27px;
    line-height: 0.98;
    font-weight: 800;
    overflow-wrap: anywhere;
}


/* ============================================================
   BESCHREIBUNG
   ============================================================ */

.motorsport-section__text {
    margin: 0;

    color: #ffffff;

    font-size: 12px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}


/* ============================================================
   VEREIN / TEAM
   ============================================================ */

.motorsport-section__driver {
    display: flex;
    flex-direction: column;
    gap: 1px;

    margin: 7px 0 0;

    color: #ffffff;

    font-size: 11px;
    line-height: 1.3;
}

.motorsport-section__driver span {
    display: block;
}

.motorsport-section__driver strong {
    font-size: inherit;
    font-weight: 700;
}


/* ============================================================
   INSTAGRAM
   ============================================================ */

.motorsport-section__instagram {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 5px;

    margin-top: 4px;

    color: #ffffff;

    font-size: 11px;
    line-height: 1.2;
    font-weight: 600;

    text-decoration: none;
}

.motorsport-section__instagram svg {
    width: 14px;
    height: 14px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.motorsport-section__instagram:hover {
    color: #c4a265;
}


/* ============================================================
   BUTTON
   ============================================================ */

.motorsport-section__button {
    align-self: flex-start;

    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-top: 7px;

    padding: 8px 14px;

    background: #9a7b42;
    border: 1px solid #9a7b42;

    color: #ffffff;

    font-size: 11px;
    line-height: 1;
    font-weight: 700;

    text-decoration: none;

    box-sizing: border-box;
}

.motorsport-section__button:hover {
    background: #80632f;
    border-color: #80632f;
    color: #ffffff;
}


/* ============================================================
   MOBIL
   ============================================================ */

@media (max-width: 900px) {

    .motorsport-section {
        height: auto;
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .motorsport-section__image {
        height: auto;
    }

    .motorsport-section__image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .motorsport-section__content {
        padding: 20px;
    }

    .motorsport-section__title {
        font-size: 24px;
        line-height: 1.08;
    }

}

@media (max-width: 580px) {
    .motorsport-section__content {
        padding: 22px 16px 24px;
    }

    .motorsport-section__title {
        font-size: 23px;
    }

    .motorsport-section__text {
        font-size: 13px;
        line-height: 1.4;
    }

    .motorsport-section__driver {
        gap: 4px;
        font-size: 12px;
    }

    .motorsport-section__button {
        justify-content: center;
        width: 100%;
        min-height: 42px;
        line-height: 1.2;
    }
}
