@charset "utf-8";

/* =============================================
   MAGAZINE HOMEPAGE — Editorial Layout
   ============================================= */

.mag-home {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 100px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

/* =============================================
   SHARED
   ============================================= */

.mag-title {
    font-family: "Oswald", 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    color: #fff;
    margin: 0 0 10px 0;
    line-height: 1.1;
}

.mag-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875em;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.mag-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75em;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 10px;
}

.mag-btn {
    display: inline-block;
    padding: 14px 38px;
    min-width: 180px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75em;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.6);
    background: transparent;
    color: #fff !important;
    transition: all 0.25s ease;
    width: fit-content;
}

    .mag-btn:hover {
        background: #fff;
        color: #000 !important;
        border-color: #fff;
    }

/* =============================================
   FULL WIDTH (IMAGE + VIDEO)
   ============================================= */

.mag-block-full {
    position: relative;
    overflow: hidden;
}

    .mag-block-full img,
    .mag-block-full video {
        width: 100%;
        height: 520px;
        object-fit: cover;
        display: block;
    }

.mag-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 120px 40px 50px;
    background: linear-gradient( to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0) 100% );
}

/* =============================================
   SPLIT BLOCK
   ============================================= */

.mag-block-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

    .mag-block-split img,
    .mag-block-split video {
        width: 100%;
        height: 520px;
        object-fit: cover;
    }

.mag-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px;
    background: #000;
}

.mag-split-reverse {
    direction: rtl;
}

    .mag-split-reverse .mag-text {
        direction: ltr;
    }

.mag-block-split .mag-btn {
    margin: 0 auto;
}

.mag-block-split .mag-title,
.mag-block-split .mag-subtitle {
    text-align: center;
}

/* =============================================
   HALF WIDTH ROW
   ============================================= */

.mag-block-half {
    width: calc(50% - 2px);
    position: relative;
    overflow: hidden;
}

.mag-block-full,
.mag-block-split {
    width: 100%;
}

    .mag-block-half img,
    .mag-block-half video {
        width: 100%;
        height: 520px;
        object-fit: cover;
    }

/* =============================================
   VIDEO PLAY ICON
   ============================================= */

.mag-play-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 38px;
    height: 38px;
    border: 1px solid #fff;
    border-radius: 50%;
}

    .mag-play-icon::after {
        content: '';
        position: absolute;
        left: 15px;
        top: 11px;
        border-left: 10px solid #fff;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
    }

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 992px) {

    .mag-block-split,
    .mag-row {
        grid-template-columns: 1fr;
    }

    .mag-text {
        padding: 50px 40px;
    }

    .mag-block-full img,
    .mag-block-full video,
    .mag-block-half img,
    .mag-block-half video,
    .mag-block-split img,
    .mag-block-split video {
        height: 420px;
    }

    .mag-title {
        font-size: 1.9em;
    }

    @media (max-width: 992px) {

        .mag-block-half {
            width: 100%;
            padding: 0 0 35px;
        }
    }
}

@media (max-width: 600px) {

    .mag-home {
        padding: 20px 15px 60px;
    }

    .mag-block-full img,
    .mag-block-half img,
    .mag-block-split img,
    .mag-block-full video,
    .mag-block-half video,
    .mag-block-split video {
        height: 320px;
    }

    .mag-text {
        padding: 35px 25px;
    }

    .mag-title {
        font-size: 1.6em;
    }
}
