﻿/* Hero Section - Desktop */
.ldr-hero {
    position: relative;
    min-height: 630px;
    padding-top: 130px;
    color: #fff;
    background-image: url("/img/img-b-006.jpg");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

    .ldr-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(13, 44, 83, .9);
        pointer-events: none;
    }

.ldr-hero__inner {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    height: 100%;
    padding: 0 1.5rem 2.5rem;
}

.ldr-hero__text {
    max-width: 540px;
    flex: 1 1 auto;
}

.ldr-name {
    font-size: clamp(2.2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: #e6f3ff;
    text-shadow: 0 1px 6px rgba(0,0,0,.25);
    margin-bottom: .4rem;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
}

.ldr-title {
    font-size: 1.05rem;
    color: #ff2f4a;
}

.ldr-hero__photo {
    width: 300px;
    height: 380px;
    background: #fff;
    overflow: hidden;
    flex: 0 0 300px;
    margin-top: 10px;
    border-radius: 8px;
}

    .ldr-hero__photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Body Section */
.ldr-body {
    background: #fff;
    padding: 3rem 0;
}

.ldr-body__wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Support for content inside editable area */
.ldr-body__wrapper .ldr-body__inner,
.ldr-body .ldr-body__inner {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.ldr-body__photo {
    width: 100%;
    max-width: 320px;
}

    .ldr-body__photo img {
        width: 100%;
        border-radius: 12px;
        object-fit: cover;
    }

.ldr-body__content h2 {
    font-size: 1.35rem;
    margin-bottom: 1.1rem;
    color: #0b2d4b;
    font-weight: bold;
}

.ldr-about-text {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

    .ldr-about-text p {
        margin-bottom: 1rem;
        font-size: 15px;
    }

/* Contact Section */
.ldr-contact {
    background: #f1f2f3;
    padding: 2.5rem 1.5rem 3rem;
    text-align: center;
}

.ldr-contact__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.ldr-contact h3 {
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 1rem;
    color: #0b2d4b;
}

.ldr-contact p {
    margin-bottom: .4rem;
    color: #0b2d4b;
}

.ldr-contact a {
    color: #0b2d4b;
    text-decoration: underline;
}

/* Desktop - ensure layout stays side-by-side above 900px */
@media (min-width: 901px) {
    .ldr-hero__inner {
        flex-direction: row;
        align-items: center;
    }

    .ldr-hero__text {
        text-align: left;
        order: 0;
    }

    .ldr-hero__photo {
        order: 0;
        width: 300px;
        height: 380px;
        flex: 0 0 300px;
        margin: 10px 0 0 0;
        max-width: 300px;
    }

    .ldr-name {
        white-space: nowrap;
        text-align: left;
    }

    .ldr-title {
        text-align: left;
    }
}

/* Tablet and below */
@media (max-width: 900px) {
    .ldr-hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 2.5rem;
    }

    .ldr-hero__inner {
        flex-direction: column;
        align-items: center;
        padding: 0 1.5rem 2rem;
        gap: 1.5rem;
    }

    .ldr-hero__text {
        text-align: center;
        max-width: 100%;
        order: 1;
    }

    .ldr-hero__photo {
        width: 100%;
        max-width: 240px;
        height: auto;
        aspect-ratio: 3 / 4;
        margin-top: 0;
        margin-bottom: 0;
        order: 2;
        border-radius: 12px;
        flex: 0 0 auto;
    }

    .ldr-name {
        font-size: 1.75rem;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
    }

    .ldr-title {
        text-align: center;
        font-size: 1rem;
    }

    /* Body section stacks on tablet */
    .ldr-body {
        padding: 2rem 0;
    }

    .ldr-body__wrapper .ldr-body__inner,
    .ldr-body .ldr-body__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ldr-body__photo {
        max-width: 100%;
        margin: 0 auto;
    }

    .ldr-body__photo img {
        border-radius: 12px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .ldr-hero {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 2rem;
    }

    .ldr-hero__inner {
        flex-direction: column;
        align-items: stretch;
        padding: 0 1rem 1.5rem;
        gap: 1.25rem;
    }

    .ldr-hero__text {
        order: 1;
        text-align: center;
    }

    .ldr-hero__photo {
        width: 100%;
        max-width: 220px;
        height: auto;
        aspect-ratio: 3 / 4;
        margin: 0 auto;
        order: 2;
        border-radius: 12px;
    }

    .ldr-name {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: .3rem;
    }

    .ldr-title {
        text-align: center;
        font-size: 0.95rem;
    }

    .ldr-body {
        padding: 1.5rem 0;
    }

    .ldr-body__wrapper {
        padding: 0 1rem;
    }

    .ldr-body__wrapper .ldr-body__inner,
    .ldr-body .ldr-body__inner {
        gap: 1.5rem;
    }

    .ldr_body__photo {
        max-width: 100%;
    }

    .ldr-body__photo img {
        border-radius: 12px;
    }

    .ldr-body__content h2 {
        font-size: 1.2rem;
    }

    .ldr-about-text p {
        font-size: 14px;
    }

    .ldr-contact {
        padding: 2rem 1rem 2.5rem;
    }
}