/* Scoped to a profile's Cornerstone elements or its standalone shortcode. */
.sms-bio {
    --sms-purple: #6d4083;
    --sms-ink: #332b35;
    --sms-paper: #f7f3f8;
    --sms-pad: clamp(1.35rem, 5vw, 4.75rem);
    box-sizing: border-box;
    width: 100%;
    max-width: 76rem;
    margin-inline: auto;
    color: #4b4949;
    font: 400 1rem/1.7 "Nanum Gothic", Arial, sans-serif;
    text-align: left;
    overflow-wrap: anywhere;
}
.sms-bio *, .sms-bio *::before { box-sizing: border-box; }
.sms-bio h1, .sms-bio h2 {
    margin: 0;
    font-family: Prata, Georgia, serif;
    font-weight: 400;
    line-height: 1.14;
    text-transform: none;
    letter-spacing: -.045em;
    color: var(--sms-ink);
}
.sms-bio h1 { font-size: clamp(3rem, 6.7vw, 6.3rem); max-width: 10ch; }
.sms-bio h2 { font-size: clamp(1.8rem, 3.5vw, 3.1rem); }
.sms-bio-hero {
    display: grid;
    grid-template-columns: 1.09fr 1fr;
    align-items: stretch;
    position: relative;
    background: var(--sms-paper);
    border-top: 4px solid var(--sms-purple);
}
.sms-bio-text-only { grid-template-columns: 1fr; }
.sms-bio-hero-copy { align-self: center; padding: clamp(2rem, 5.4vw, 5.2rem) var(--sms-pad); }
.sms-bio .sms-bio-role {
    margin: 0 0 1.35rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--sms-purple);
}
.sms-bio-deck { margin: 1.5rem 0 0; max-width: 42ch; font-size: clamp(1rem, 1.4vw, 1.125rem); line-height: 1.75; }
.sms-bio .sms-bio-genres { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .8rem; padding: 0; margin: 1.3rem 0 0; list-style: none; }
.sms-bio-genres li { list-style: none; margin: 0; color: #604369; font-size: .78rem; font-weight: 700; }
.sms-bio-genres li + li::before { content: '·'; margin-right: .8rem; color: #9170a0; }
.sms-bio .sms-bio-actions { display: flex; flex-wrap: wrap; gap: .8rem 1.35rem; align-items: center; margin: 1.85rem 0 0; }
.sms-bio a.sms-bio-button {
    display: inline-block;
    padding: .82rem 1.25rem;
    border: 1px solid transparent;
    border-radius: .22rem;
    color: white;
    background: var(--sms-purple);
    text-decoration: none;
    font-family: inherit;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: normal;
}
.sms-bio a.sms-bio-button:hover { background: #52315e; color: white; }
.sms-bio .sms-bio-link, .sms-bio .sms-bio-external { color: var(--sms-purple); text-decoration: underline; text-underline-offset: .2em; }
.sms-bio .sms-bio-link { font-weight: 700; }
.sms-bio a:focus-visible, .sms-bio button:focus-visible { outline: 3px solid #9170a0; outline-offset: 3px; }
.sms-bio-portrait { position: relative; background: white; overflow: hidden; min-height: 23rem; }
.sms-bio-portrait img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; object-position: center 32%; }
.sms-bio-intro, .sms-bio-panel, .sms-bio-story, .sms-bio-reviews {
    margin: 0;
    padding: clamp(2rem, 4vw, 3.75rem) var(--sms-pad);
}
.sms-bio-intro {
    display: grid; grid-template-columns: minmax(8rem, .62fr) minmax(0, 1.38fr); align-items: center;
    gap: var(--sms-pad); background: #372c3b; color: white;
}
.sms-bio-intro h2, .sms-bio-intro a.sms-bio-external { color: white; }
.sms-bio-panel { background: white; border-bottom: 1px solid #e6e0e8; }
.sms-bio-panel h2 { margin-bottom: 1.4rem; }
.sms-bio-players { display: grid; gap: 1.15rem; }
.sms-bio-list-instagram { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.sms-bio-media { min-width: 0; }
.sms-bio-media iframe { display: block; width: 100%; border: 0; border-radius: .28rem; margin: 0; }
.sms-bio-youtube iframe, .sms-bio-youtube .sms-bio-play { aspect-ratio: 16 / 9; width: 100%; height: auto; background: #201a23; }
.sms-bio-instagram iframe { height: clamp(30rem, 48vw, 39rem); background: #f6f2f7; }
.sms-bio-instagram .sms-bio-play { width: 100%; aspect-ratio: 3 / 4; }
.sms-bio-mixcloud iframe { height: 120px; background: #f6f2f7; }
.sms-bio-media .sms-bio-external { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .12rem; font-size: .83rem; }
.sms-bio .sms-bio-play {
    display: grid; place-items: center; position: relative; overflow: hidden; margin: 0; padding: 0;
    border: 0; border-radius: .28rem; background: #332b35; cursor: pointer; box-shadow: none;
}
.sms-bio-play img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; object-fit: cover; }
.sms-bio-play::before {
    content: ''; z-index: 1; width: 3.6rem; height: 3.6rem; border-radius: 50%;
    background: rgba(37, 25, 42, .79); border: 1px solid rgba(255, 255, 255, .8);
}
.sms-bio-play::after {
    content: ''; position: absolute; z-index: 2; width: 0; height: 0; transform: translateX(.14rem);
    border-top: .48rem solid transparent; border-bottom: .48rem solid transparent; border-left: .8rem solid white;
}
.sms-bio-play:hover::before { background: #6d4083; }
.sms-bio-story { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: clamp(1.65rem, 5vw, 5rem); background: #f7f4f7; }
.sms-bio-story p { margin: 1.05rem 0 0; }
.sms-bio-reviews .sms-review-area { margin: 0; width: 100%; max-width: none; }
.sms-bio-close { padding: clamp(2.3rem, 5vw, 4.6rem) var(--sms-pad); background: #ede6f0; text-align: center; }
.sms-bio-close h2 { margin: 0 0 1.35rem; }
@media (max-width: 700px) {
    .sms-bio-hero { grid-template-columns: 1fr; }
    .sms-bio-portrait { min-height: 0; aspect-ratio: 4 / 3; max-height: 31rem; }
    .sms-bio-portrait img { object-position: center 24%; }
    .sms-bio-hero-copy { padding-bottom: 1.8rem; }
    .sms-bio-intro { grid-template-columns: 1fr; gap: 1.2rem; }
    .sms-bio-list-instagram { grid-template-columns: 1fr; gap: 1.2rem; }
    .sms-bio-instagram .sms-bio-play { aspect-ratio: 4 / 3; }
}

.sms-bio-share { padding: 1.5rem; background: var(--sms-paper); border-radius: .28rem; }

/* Expand only the theme ancestors of an imported DJ bio. Header and footer retain their own inner containers. */
#x-site:has(.sms-native-bio), .x-site.site:has(.sms-native-bio) {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    border-inline-width: 0;
}
:is(.x-container, .x-main, .entry-wrap, .entry-content, .x-content, article.hentry, main.site-main):has(.sms-native-bio) {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
    border-inline-width: 0;
    float: none !important;
}
.x-container:has(> .x-main .sms-native-bio) { display: block; }
.x-container:has(> .x-main .sms-native-bio) > .x-sidebar { display: none; }
.entry-wrap:has(.sms-native-bio) { box-shadow: none; }
.sms-native-bio .sms-native-player, .sms-native-bio .sms-review-area { width:100%; max-width:none; margin:0; }
.sms-native-bio .sms-bio-share { display:block; }


.sms-native-player .sms-bio-instagram {
    width: 100%;
    max-width: 540px;
    margin-inline: auto;
    container-type: inline-size;
}
.sms-native-player .sms-bio-instagram iframe {
    height: 650px;
    height: calc(125cqw + 210px);
}
