/* =========================================================
   IPC 54th Annual Session 2026 — Speaker Detail
   ========================================================= */

.speaker-detail-2026 {
    background: #f7f8f5;
    color: #19352e;
}

.speaker-detail-hero {
    position: relative;
    overflow: hidden;
    padding: 42px 0 92px;
    background:
        radial-gradient(circle at 85% 20%, rgba(178, 138, 59, .16), transparent 28%),
        linear-gradient(135deg, #103d31 0%, #174d3f 62%, #0d332a 100%);
    color: #fff;
}

.speaker-detail-hero:after {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    right: -120px;
    bottom: -180px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
}

.speaker-detail-hero .container {
    position: relative;
    z-index: 1;
}

.speaker-back-link,
.speaker-profile-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all .25s ease;
}

.speaker-back-link {
    color: rgba(255,255,255,.86);
}

.speaker-back-link:hover {
    color: #d8bd76;
    text-decoration: none;
}

.speaker-detail-hero-copy {
    max-width: 720px;
    margin-top: 58px;
}

.speaker-detail-kicker,
.speaker-profile-label {
    display: block;
    color: #c29b4b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.speaker-detail-hero h1 {
    margin: 10px 0 10px;
    color: #fff;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
    font-weight: 600;
}

.speaker-detail-hero p {
    margin: 0;
    max-width: 620px;
    color: rgba(255,255,255,.74);
    font-size: 16px;
}

.speaker-profile-section {
    padding: 0 0 90px;
}

.speaker-profile-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(320px, 38%) 1fr;
    margin-top: -58px;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(17, 55, 45, .12);
}

.speaker-profile-image-wrap {
    min-height: 570px;
    background: #eef1ed;
}

.speaker-profile-image {
    display: block;
    width: 100%;
    height: 570px;
    object-fit: contain;
    object-position: center center;
    background: #eef1ed;
}

.speaker-profile-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 570px;
    color: #6d7d76;
    font-size: 18px;
    font-weight: 600;
}

.speaker-profile-content {
    padding: 58px 58px 54px;
}

.speaker-profile-content h2 {
    margin: 10px 0 14px;
    color: #123d32;
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.1;
    font-weight: 600;
}

.speaker-profile-title {
    color: #2c433d;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 700;
}

.speaker-profile-company {
    margin-top: 3px;
    color: #75817d;
    font-size: 14px;
    line-height: 1.5;
}

.speaker-topic-box {
    margin: 34px 0 36px;
    padding: 20px 22px;
    border-left: 3px solid #b28a3b;
    background: #f6f4ed;
}

.speaker-topic-box span {
    display: block;
    margin-bottom: 7px;
    color: #8d7137;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.speaker-topic-box strong {
    display: block;
    color: #29443c;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 600;
}

.speaker-biography {
    padding-top: 4px;
}

.speaker-biography h3 {
    margin: 0 0 16px;
    color: #123d32;
    font-size: 20px;
    font-weight: 600;
}

.speaker-biography-text,
.speaker-biography-text p,
.speaker-biography p {
    color: #63716c;
    font-size: 15px;
    line-height: 1.85;
}

.speaker-biography-text p {
    margin: 0 0 16px;
}

.speaker-biography-text p:last-child {
    margin-bottom: 0;
}

.speaker-biography-text ul,
.speaker-biography-text ol {
    margin: 0 0 18px;
    padding-left: 22px;
}

.speaker-biography-text li {
    margin-bottom: 7px;
}

.speaker-profile-back {
    margin-top: 34px;
    color: #174c3d;
}

.speaker-profile-back:hover {
    color: #a1782f;
    text-decoration: none;
}

.speaker-detail-not-found {
    padding: 110px 0;
    text-align: center;
}

.speaker-detail-not-found h1 {
    margin: 12px 0 10px;
    color: #123d32;
}

.speaker-detail-not-found p {
    color: #6c7974;
}

.speaker-detail-not-found .speaker-back-link {
    margin-top: 18px;
    color: #174c3d;
}

@media (max-width: 991px) {
    .speaker-profile-card {
        grid-template-columns: 1fr;
    }

    .speaker-profile-image-wrap,
    .speaker-profile-placeholder {
        min-height: 480px;
    }

    .speaker-profile-image {
        height: 480px;
        min-height: 0;
    }

    .speaker-profile-image-wrap {
        max-height: 560px;
    }
}

@media (max-width: 767px) {
    .speaker-detail-hero {
        padding: 28px 0 72px;
    }

    .speaker-detail-hero-copy {
        margin-top: 42px;
    }

    .speaker-detail-hero p {
        font-size: 14px;
    }

    .speaker-profile-section {
        padding-bottom: 55px;
    }

    .speaker-profile-card {
        margin-top: -42px;
        border-radius: 14px;
    }

    .speaker-profile-image-wrap,
    .speaker-profile-image,
    .speaker-profile-placeholder {
        min-height: 380px;
    }

    .speaker-profile-content {
        padding: 34px 26px 38px;
    }

    .speaker-profile-content h2 {
        font-size: 32px;
    }

    .speaker-topic-box {
        margin: 28px 0 30px;
    }
}
