/*
 * Blaupunkt x Iron Lynx homepage section.
 * This isolated SCSS file deliberately uses CSS-compatible syntax:
 * its compiled CSS output can be shipped as-is without additional mixins.
 * All selectors are scoped to .iron-lynx to avoid changing legacy blocks.
 */
.iron-lynx {
    width: 100%;
    background: #000;
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    isolation: isolate;
}
.iron-lynx,
.iron-lynx *,
.iron-lynx *::before,
.iron-lynx *::after {
    box-sizing: border-box;
}
.iron-lynx__media {
    position: relative;
    aspect-ratio: 1366 / 584;
    overflow: hidden;
    background: #050505;
}
.iron-lynx__picture,
.iron-lynx__video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}
.iron-lynx__hero-image {
    display: block;
    width: 100%;
    height: 100%;
}
.iron-lynx__hero-image,
.iron-lynx__video {
    object-fit: cover;
    object-position: center;
}
.iron-lynx__video-control {
    position: absolute;
    right: clamp(16px, 9.5vw, 145px);
    bottom: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: rgba(0, 0, 0, .22);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color .2s ease;
}
.iron-lynx__video-control:hover,
.iron-lynx__video-control:focus-visible {
    background: rgba(0, 0, 0, .65);
}
.iron-lynx__video-control:focus-visible {
    outline: 2px solid #ffc528;
    outline-offset: 3px;
}
.iron-lynx__video-control-icon {
    display: block;
    width: 9px;
    height: 12px;
    border-left: 2px solid currentColor;
    border-right: 2px solid currentColor;
}
.iron-lynx__video-control[aria-pressed="false"] .iron-lynx__video-control-icon {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid currentColor;
    border-right: 0;
    margin-left: 3px;
}
.iron-lynx__intro {
    min-height: 390px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 54px 24px 78px;
    text-align: center;
}
.iron-lynx__title {
    max-width: 780px;
    margin: 0;
    color: #fff;
    font-size: clamp(25px, 2.3vw, 34px);
    font-weight: 400;
    line-height: 1.28;
    letter-spacing: 0;
    text-transform: none;
}
.iron-lynx__intro-text {
    max-width: 740px;
    margin: 24px 0 0;
    color: #f4f4f4;
    font-size: clamp(13px, 1.16vw, 16px);
    font-weight: 400;
    line-height: 1.5;
}
/* The Discover link remains disabled in PHP until a real URL is provided. */
.iron-lynx__discover {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 32px;
    margin-top: 28px;
    padding: 5px 18px;
    background: #f5f5f5;
    border-radius: 999px;
    color: #111;
    font-size: 14px;
    line-height: 1.25;
    text-decoration: none;
    transition: background-color .2s ease;
}
.iron-lynx__discover:hover,
.iron-lynx__discover:focus-visible {
    background: #ffc528;
    color: #111;
}
.iron-lynx__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
}
.iron-lynx__card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    background: #000;
    color: #fff;
}
.iron-lynx__card--orange {
    order: 1;
}
.iron-lynx__card--pit {
    order: 2;
}
.iron-lynx__card-media {
    aspect-ratio: 682 / 325;
    overflow: hidden;
    background: #111;
}
.iron-lynx__card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.iron-lynx__card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    min-height: 310px;
    padding: 48px 32px 76px;
    text-align: center;
}
.iron-lynx__card-title {
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 2vw, 32px);
    font-weight: 400;
    line-height: 1.25;
    text-transform: none;
}
.iron-lynx__card-text {
    max-width: 475px;
    margin: 22px 0 0;
    color: #f4f4f4;
    font-size: clamp(13px, 1.08vw, 16px);
    line-height: 1.5;
}
/* The yellow arrow links remain disabled in PHP until destinations exist. */
.iron-lynx__card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-top: auto;
    padding: 0;
    background: #ffbd27;
    border-radius: 50%;
    color: #111;
    font-size: 24px;
    line-height: 1;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}
.iron-lynx__card-link:hover,
.iron-lynx__card-link:focus-visible {
    background: #ffce51;
    color: #111;
    transform: translateX(2px);
}
.iron-lynx__card-link:focus-visible,
.iron-lynx__discover:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
@media (max-width: 767px) {
    .iron-lynx__media {
        aspect-ratio: 704 / 460;
    }
    .iron-lynx__video-control {
        right: 18px;
        bottom: 14px;
    }
    .iron-lynx__intro {
        min-height: 0;
        padding: clamp(34px, 8vw, 65px) 6.5% clamp(78px, 12vw, 135px);
    }
    .iron-lynx__title {
        max-width: 680px;
        font-size: clamp(20px, 3.9vw, 30px);
        line-height: 1.26;
    }
    .iron-lynx__intro-text {
        max-width: 615px;
        margin-top: clamp(28px, 6.5vw, 60px);
        font-size: clamp(14px, 3vw, 23px);
        line-height: 1.4;
    }
    .iron-lynx__discover {
        min-height: 35px;
        margin-top: 42px;
        font-size: 15px;
    }
    .iron-lynx__card--orange {
        order: 2;
    }
    .iron-lynx__card--pit {
        order: 1;
    }
    .iron-lynx__card-media {
        aspect-ratio: 1 / 1;
    }
    .iron-lynx__card-body {
        min-height: clamp(200px, 55vw, 420px);
        padding: clamp(28px, 8vw, 62px) 8% clamp(55px, 10vw, 85px);
    }
    .iron-lynx__card-title {
        font-size: clamp(18px, 3.35vw, 29px);
        line-height: 1.25;
    }
    .iron-lynx__card-text {
        max-width: 290px;
        margin-top: clamp(26px, 7vw, 65px);
        font-size: clamp(12px, 2.7vw, 21px);
        line-height: 1.35;
    }
    .iron-lynx__card-link {
        width: 35px;
        height: 35px;
        margin-top: auto;
    }
}
@media (max-width: 359px) {
    .iron-lynx__intro {
        padding-right: 18px;
        padding-left: 18px;
    }
    .iron-lynx__card-body {
        padding-right: 6%;
        padding-left: 6%;
    }
    .iron-lynx__card-text {
        font-size: 12px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .iron-lynx__video-control,
    .iron-lynx__discover,
    .iron-lynx__card-link {
        transition: none;
    }
}
