/* Partner detail hero — from hero.html, scoped to .mcm-partner-hero */

.mcm-partner-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        linear-gradient(
            110deg,
            #ffffff 0%,
            #ffffff 55%,
            #f7eeee 55%,
            #8b1e2d 100%
        );
}

.mcm-partner-hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: 18%;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.mcm-partner-hero .hero-container {
    width: min(1400px, 92%);
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.mcm-partner-hero .hero-content {
    width: 52%;
    padding: 70px 0;
}

.mcm-partner-hero .company-logo {
    margin-bottom: 70px;
}

.mcm-partner-hero .company-logo img {
    width: 210px;
    height: auto;
    display: block;
}

.mcm-partner-hero .hero-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8b1e2d;
    margin-bottom: 20px;
}

.mcm-partner-hero .hero-label::before {
    content: "";
    width: 38px;
    height: 2px;
    background: #8b1e2d;
}

.mcm-partner-hero .hero-title {
    font-size: clamp(55px, 6.5vw, 96px);
    line-height: 0.98;
    font-weight: 500;
    letter-spacing: -3px;
    color: #18233b;
    margin-bottom: 28px;
}

.mcm-partner-hero .hero-title span {
    color: #8b1e2d;
}

.mcm-partner-hero .hero-position {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 500;
    color: #333333;
    margin-bottom: 20px;
}

.mcm-partner-hero .hero-description {
    max-width: 600px;
    font-size: 17px;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 38px;
}

.mcm-partner-hero .hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.mcm-partner-hero .hero-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    padding: 15px 28px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mcm-partner-hero .hero-actions .btn-primary {
    background: #8b1e2d;
    color: #ffffff;
    border: 1px solid #8b1e2d;
}

.mcm-partner-hero .hero-actions .btn-primary:hover {
    background: #701723;
    border-color: #701723;
    transform: translateY(-2px);
    color: #ffffff;
}

.mcm-partner-hero .hero-actions .btn-outline {
    color: #8b1e2d;
    border: 1px solid #8b1e2d;
    background: transparent;
}

.mcm-partner-hero .hero-actions .btn-outline:hover {
    background: #8b1e2d;
    color: #ffffff;
    transform: translateY(-2px);
}

.mcm-partner-hero .hero-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mcm-partner-hero .hero-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 3px;
    border: 1px solid #8b1e2d;
    color: #8b1e2d;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mcm-partner-hero .hero-social a:hover {
    background: #8b1e2d;
    color: #ffffff;
    transform: translateY(-2px);
}

.mcm-partner-hero .hero-image-wrapper {
    width: 48%;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

.mcm-partner-hero .hero-image {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.mcm-partner-hero .hero-image img {
    display: block;
    max-width: 100%;
    max-height: 94vh;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
}

.mcm-partner-hero .hero-side-line {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 65%;
    background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 1100px) {
    .mcm-partner-hero {
        background:
            linear-gradient(
                110deg,
                #ffffff 0%,
                #ffffff 50%,
                #f7eeee 50%,
                #8b1e2d 100%
            );
    }

    .mcm-partner-hero .hero-title {
        font-size: clamp(48px, 7vw, 75px);
    }

    .mcm-partner-hero .hero-position {
        font-size: 19px;
    }

    .mcm-partner-hero .hero-description {
        font-size: 15px;
    }

    .mcm-partner-hero .company-logo {
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {
    .mcm-partner-hero {
        min-height: auto;
        background:
            linear-gradient(
                180deg,
                #ffffff 0%,
                #ffffff 52%,
                #8b1e2d 52%,
                #8b1e2d 100%
            );
    }

    .mcm-partner-hero .hero-container {
        width: 90%;
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
    }

    .mcm-partner-hero .hero-content {
        width: 100%;
        padding: 45px 0 25px;
    }

    .mcm-partner-hero .company-logo {
        margin-bottom: 45px;
    }

    .mcm-partner-hero .company-logo img {
        width: 170px;
    }

    .mcm-partner-hero .hero-title {
        font-size: clamp(48px, 14vw, 70px);
        letter-spacing: -2px;
        margin-bottom: 20px;
    }

    .mcm-partner-hero .hero-position {
        font-size: 18px;
    }

    .mcm-partner-hero .hero-description {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 28px;
    }

    .mcm-partner-hero .hero-actions .btn {
        min-width: 145px;
    }

    .mcm-partner-hero .hero-image-wrapper {
        width: 100%;
        height: 55vh;
        min-height: 400px;
    }

    .mcm-partner-hero .hero-image img {
        max-width: 95%;
        max-height: 55vh;
    }

    .mcm-partner-hero::before {
        width: 350px;
        height: 350px;
        right: 50%;
        top: 78%;
    }

    .mcm-partner-hero .hero-side-line {
        display: none;
    }
}

@media (max-width: 480px) {
    .mcm-partner-hero .hero-content {
        padding-top: 30px;
    }

    .mcm-partner-hero .company-logo img {
        width: 145px;
    }

    .mcm-partner-hero .hero-title {
        font-size: 45px;
    }

    .mcm-partner-hero .hero-position {
        font-size: 16px;
    }

    .mcm-partner-hero .hero-description {
        font-size: 14px;
    }

    .mcm-partner-hero .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .mcm-partner-hero .hero-actions .btn {
        width: 100%;
    }

    .mcm-partner-hero .hero-image-wrapper {
        height: 430px;
        min-height: 430px;
    }

    .mcm-partner-hero .hero-image img {
        max-height: 420px;
    }
}

/* RTL: mirror the layout so the red band sits under the portrait on the left */
[dir="rtl"] .mcm-partner-hero {
    background:
        linear-gradient(
            250deg,
            #ffffff 0%,
            #ffffff 55%,
            #f7eeee 55%,
            #8b1e2d 100%
        );
}

[dir="rtl"] .mcm-partner-hero::before {
    right: auto;
    left: 18%;
}

[dir="rtl"] .mcm-partner-hero .hero-side-line {
    right: auto;
    left: 0;
}

@media (max-width: 1100px) {
    [dir="rtl"] .mcm-partner-hero {
        background:
            linear-gradient(
                250deg,
                #ffffff 0%,
                #ffffff 50%,
                #f7eeee 50%,
                #8b1e2d 100%
            );
    }
}

@media (max-width: 768px) {
    [dir="rtl"] .mcm-partner-hero {
        background:
            linear-gradient(
                180deg,
                #ffffff 0%,
                #ffffff 52%,
                #8b1e2d 52%,
                #8b1e2d 100%
            );
    }

    [dir="rtl"] .mcm-partner-hero::before {
        right: 50%;
        left: auto;
    }
}
