/*
    The speaker page at /seminar/speakers/{slug}, drawn to match the Grand
    Conference template's own speaker layout: a grey band with the round
    portrait and the name, then the biography, the social profiles and the
    sessions as a card per day.

    Only what the theme has no class for lives here. The accent is the
    group's, from ibrothers.css, with the theme's pink as the fallback.
*/

.wb-speaker-head {
    padding: 70px 0 60px;
    background: #F7F7F7;
}

.wb-speaker-head-inner {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.wb-speaker-portrait {
    flex: none;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    background: #E4E4E4;
}

.wb-speaker-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wb-speaker-portrait-blank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #9A9A9A;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 60px;
    font-weight: 700;
}

.wb-speaker-headline {
    flex: 1 1 320px;
    min-width: 0;
}

.wb-speaker-name {
    margin: 0;
    color: var(--wb-accent, #FF2D55);
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 62px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    word-break: break-word;
}

.wb-speaker-role {
    margin-top: 14px;
    color: #555555;
    font-size: 17px;
}

.wb-speaker-site {
    display: inline-block;
    margin-top: 22px;
    color: var(--wb-accent, #FF2D55);
    font-size: 15px;
    font-weight: 600;
    word-break: break-all;
}

.wb-speaker-site i {
    margin-right: 6px;
}

/* ---------- the body: biography, socials, sessions ---------- */

.wb-speaker-body {
    padding: 64px 0 80px;
}

.wb-speaker-bio {
    margin-bottom: 22px;
    color: #4A4A4A;
    font-size: 16px;
    line-height: 1.85;
}

.wb-speaker-subhead {
    margin: 46px 0 22px;
    color: #111111;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.wb-speaker-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wb-speaker-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #6C7A89;
    color: #FFFFFF;
    font-size: 18px;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.wb-speaker-socials a:hover,
.wb-speaker-socials a:focus-visible {
    transform: translateY(-2px);
    opacity: 0.92;
    color: #FFFFFF;
}

/* Each network in its own colour, as the template has them. */
.wb-speaker-socials .is-twitter { background: #1DA1F2; }
.wb-speaker-socials .is-facebook { background: #3B5998; }
.wb-speaker-socials .is-linkedin { background: #0077B5; }
.wb-speaker-socials .is-instagram { background: #C13584; }
.wb-speaker-socials .is-youtube { background: #FF0000; }

.wb-speaker-rule {
    margin: 52px 0 0;
    border: 0;
    border-top: 1px solid #E6E6E6;
}

.wb-speaker-days {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2px;
    background: #FFFFFF;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.07);
}

.wb-speaker-day-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 28px;
    background: var(--wb-accent, #FF2D55);
    color: #FFFFFF;
}

.wb-speaker-day-head i {
    font-size: 20px;
}

.wb-speaker-day-head strong {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 19px;
    font-weight: 700;
}

.wb-speaker-day-head span {
    font-size: 14px;
    opacity: 0.9;
}

.wb-speaker-day-sessions {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wb-speaker-day-sessions li {
    padding: 24px 28px;
    border-bottom: 1px solid #EFEFEF;
}

.wb-speaker-day-sessions li:last-child {
    border-bottom: 0;
}

.wb-speaker-session-time {
    color: #8A8A8A;
    font-size: 14px;
}

.wb-speaker-session-title {
    margin-top: 6px;
    color: #111111;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 17px;
    font-weight: 600;
}

.wb-speaker-session-detail {
    margin: 8px 0 0;
    color: #6B6B6B;
    font-size: 15px;
    line-height: 1.7;
}

.wb-speaker-back {
    margin-top: 48px;
    font-size: 15px;
}

@media screen and (max-width: 767px) {
    .wb-speaker-head {
        padding: 48px 0 40px;
    }

    .wb-speaker-head-inner {
        gap: 26px;
    }

    .wb-speaker-portrait {
        width: 112px;
        height: 112px;
    }

    .wb-speaker-name {
        font-size: 38px;
    }
}
