/* =========================================================
   ARTICLE.CSS
   Bosch / Háztartásigép szerviz cikkek
   Piros, modern, tömör magazin elrendezés
   ========================================================= */

.article-page {
    --red: #c62828;
    --red-dark: #941b1b;
    --red-light: #fff4f4;
    --text: #292929;
    --muted: #777;
    --border: #eadada;

    color: var(--text);
    background: #fff;
}


/* =========================================================
   CIKK TARTALOM
   ========================================================= */

.article-page .article-content {
    padding: 55px 45px 90px;
}


/* =========================================================
   HERO
   ========================================================= */

.article-page .article-hero {
    position: relative;
    overflow: hidden;

    margin-bottom: 25px;

    border-radius: 14px;

    background: #8e1b1b;

    box-shadow:
        0 10px 30px rgba(80, 0, 0, .13);
}

.article-page .article-hero img {
    display: block;

    width: 100%;
    height: 390px;

    object-fit: cover;
}

.article-page .article-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(55, 0, 0, .82),
            rgba(90, 0, 0, .12) 65%
        );

    pointer-events: none;
}


/* =========================================================
   DÁTUM
   ========================================================= */

.article-page .article-date {
    position: absolute;

    z-index: 5;

    top: 20px;
    left: 20px;

    width: 72px;

    padding: 10px 7px;

    text-align: center;

    color: #fff;

    background: var(--red);

    border-radius: 8px;

    box-shadow:
        0 5px 15px rgba(0,0,0,.2);
}

.article-page .article-date-day {
    display: block;

    font-size: 25px;
    font-weight: 700;

    line-height: 1;
}

.article-page .article-date-month {
    display: block;

    margin-top: 5px;

    font-size: 10px;

    text-transform: uppercase;
}


/* =========================================================
   HERO CÍM
   ========================================================= */

.article-page .article-hero-title {
    position: absolute;

    z-index: 5;

    left: 30px;
    right: 30px;
    bottom: 25px;

    margin: 0;

    color: #fff;

    font-size: clamp(27px, 3vw, 43px);

    line-height: 1.15;

    font-weight: 700;

    text-shadow:
        0 2px 8px rgba(0,0,0,.35);
}


/* =========================================================
   META
   ========================================================= */

.article-page .article-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 6px 12px;

    padding: 0 3px 22px;

    margin-bottom: 30px;

    color: var(--muted);

    font-size: 13px;

    border-bottom:
        1px solid var(--border);
}

.article-page .article-meta strong {
    color: var(--red-dark);
}

.article-page .article-meta-separator {
    color: #cdaaaa;
}


/* =========================================================
   SZÖVEG - KESKENYEBB OLVASÁSI SZÉLESSÉG
   ========================================================= */

.article-page .article-text {
    max-width: 860px;

    margin: 0 auto;
}


/* =========================================================
   BEVEZETŐ
   ========================================================= */

.article-page .article-lead {
    margin: 0 0 32px;

    padding: 20px 24px;

    color: #444;

    font-size: 18px;
    line-height: 1.7;

    background: var(--red-light);

    border-left:
        4px solid var(--red);

    border-radius:
        0 8px 8px 0;
}


/* =========================================================
   BEKEZDÉSEK
   ========================================================= */

.article-page .article-text p {
    margin: 0 0 20px;

    color: var(--text);

    font-size: 16px;
    line-height: 1.78;
}

.article-page .article-text strong {
    color: var(--red-dark);
    font-weight: 700;
}


/* =========================================================
   CÍMSOROK
   ========================================================= */

.article-page .article-text h2 {
    position: relative;

    margin: 46px 0 20px;

    padding-bottom: 10px;

    color: var(--red-dark);

    font-size: 27px;
    line-height: 1.3;

    font-weight: 700;

    border-bottom:
        1px solid var(--border);
}

.article-page .article-text h2::after {
    content: "";

    position: absolute;

    bottom: -1px;
    left: 0;

    width: 65px;
    height: 3px;

    background: var(--red);

    border-radius: 3px;
}


/* =========================================================
   KÉPEK - NINCS Felesleges ÜRES TERÜLET
   ========================================================= */

.article-page .article-image {
    position: relative;

    margin: 30px 0;

    overflow: hidden;

    border-radius: 10px;

    background: #f3f3f3;

    box-shadow:
        0 5px 18px rgba(0,0,0,.09);
}

.article-page .article-image img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;
}


/* =========================================================
   KÉPALÁÍRÁS
   ========================================================= */

.article-page .article-caption {
    padding: 9px 14px;

    color: #777;

    font-size: 12px;
    line-height: 1.45;

    background: #fff;

    border-top:
        1px solid #eee;
}


/* =========================================================
   NAGY KÉP UTÁNI SZÖVEG
   ========================================================= */

.article-page .article-image + p {
    margin-top: 24px;
}


/* =========================================================
   KÉP + SZÖVEG KÖZEL TARTÁSA
   ========================================================= */

.article-page .article-text > p + .article-image {
    margin-top: 24px;
}

.article-page .article-text > .article-image + h2 {
    margin-top: 38px;
}


/* =========================================================
   HÁROM ÁZTATÁSI KÉP
   ========================================================= */

.article-page .article-gallery {
    display: grid;

    grid-template-columns:
        1.35fr .9fr;

    grid-template-rows:
        auto auto;

    gap: 14px;

    margin: 30px 0 34px;
}


/* Első kép nagy */

.article-page .article-gallery .article-image:first-child {
    grid-row:
        1 / 3;

    margin: 0;
}


/* Jobb oldali képek */

.article-page .article-gallery .article-image {
    margin: 0;
}

.article-page .article-gallery .article-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   INFORMÁCIÓS DOBOZ
   ========================================================= */

.article-page .article-info-box {
    margin: 28px 0;

    padding: 20px 24px;

    background: var(--red-light);

    border-left:
        4px solid var(--red);

    border-radius:
        0 8px 8px 0;
}

.article-page .article-info-box-title {
    margin-bottom: 7px;

    color: var(--red-dark);

    font-size: 17px;

    font-weight: 700;
}

.article-page .article-info-box p {
    margin-bottom: 0;
}


/* =========================================================
   FIGYELMEZTETŐ
   ========================================================= */

.article-page .article-warning {
    margin: 28px 0;

    padding: 19px 24px;

    background: #fff7f7;

    border:
        1px solid #edd1d1;

    border-left:
        4px solid var(--red);

    border-radius:
        0 8px 8px 0;
}

.article-page .article-warning p {
    margin-bottom: 0;
}


/* =========================================================
   VÉGSŐ PIROS BLOKK
   ========================================================= */

.article-page .article-conclusion {
    margin-top: 38px;

    padding: 24px 27px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #941b1b,
            #c62828
        );

    border-radius: 10px;

    box-shadow:
        0 8px 22px rgba(100,0,0,.15);
}

.article-page .article-conclusion p {
    margin: 0;

    color: #fff;

    font-size: 17px;
    line-height: 1.6;
}

.article-page .article-conclusion strong {
    color: #fff;
}


/* =========================================================
   KÉPHELY
   ========================================================= */

.article-page .article-image-placeholder {
    min-height: 220px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 30px 0;

    padding: 25px;

    color: var(--red-dark);

    text-align: center;

    background: var(--red-light);

    border:
        1px dashed #d8aaaa;

    border-radius: 10px;
}

.article-page .article-image-placeholder span {
    font-weight: 700;
}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 767px) {

    .article-page .article-content {
        padding:
            35px 20px 60px;
    }

    .article-page .article-hero img {
        height: 300px;
    }

    .article-page .article-hero-title {
        left: 20px;
        right: 20px;
        bottom: 20px;

        font-size: 29px;
    }

    .article-page .article-lead {
        padding: 18px 20px;

        font-size: 17px;
    }

    .article-page .article-text p {
        font-size: 16px;
        line-height: 1.72;
    }

    .article-page .article-text h2 {
        margin-top: 38px;

        font-size: 25px;
    }

    .article-page .article-gallery {
        grid-template-columns: 1fr;

        grid-template-rows: auto;

        gap: 12px;
    }

    .article-page .article-gallery .article-image:first-child {
        grid-row: auto;
    }

    .article-page .article-gallery .article-image img {
        height: auto;
    }
}


/* =========================================================
   KIS MOBIL
   ========================================================= */

@media (max-width: 480px) {

    .article-page .article-content {
        padding:
            25px 15px 50px;
    }

    .article-page .article-hero img {
        height: 250px;
    }

    .article-page .article-hero-title {
        font-size: 25px;
    }

    .article-page .article-date {
        top: 15px;
        left: 15px;

        width: 65px;
    }

    .article-page .article-date-day {
        font-size: 22px;
    }

    .article-page .article-text h2 {
        font-size: 23px;
    }
}