:root {
    --adhpm-primary: var(--theme-color-text_link, var(--e-global-color-primary, var(--accent-100, #385bce)));
    --adhpm-primary-hover: var(--theme-color-text_hover, var(--e-global-color-accent, var(--accent-80, #2d49a8)));
    --adhpm-button-text: #fff;
    --adhpm-radius: 9px;
    --adhpm-ink: #15263d;
    --adhpm-muted: #627086;
    --adhpm-border: #dfe5ee;
    --adhpm-soft: #f6f8fc;
    --adhpm-icon-bg: #eef2ff;
    --adhpm-icon-bg: color-mix(in srgb, var(--adhpm-primary) 10%, #fff);
}

.masterstudy-account-menu__list-item[data-menu-place="provider"] {
    display: flex !important;
}

.adhpm-account-container,
.adhpm-page,
.adhpm-gateway,
.adhpm-public-registration {
    min-width: 0;
    color: var(--adhpm-ink);
}

.adhpm-page,
.adhpm-public-registration {
    width: 100%;
    max-width: 980px;
}

.adhpm-page *,
.adhpm-gateway *,
.adhpm-public-registration * {
    box-sizing: border-box;
}

.adhpm-page__heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 24px;
}

.adhpm-page__heading h1 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.2;
}

.adhpm-page__heading p,
.adhpm-private-note,
.adhpm-details dd {
    color: #4d5e6f;
}

.adhpm-page__heading p,
.adhpm-details,
.adhpm-private-note {
    margin-top: 0;
}

.adhpm-card {
    box-sizing: border-box;
    margin: 0 0 20px;
    padding: 24px;
    border: 1px solid #dbe0e9;
    border-radius: 12px;
    background: #fff;
}

.adhpm-card h2 {
    margin: 0 0 16px;
    font-size: 21px;
}

.adhpm-grid {
    display: grid;
    gap: 18px;
}

.adhpm-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.adhpm-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.adhpm-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #001931;
    font-size: 14px;
    font-weight: 600;
}

.adhpm-field--full {
    margin-top: 18px;
}

.adhpm-field small {
    color: #808c98;
    font-weight: 400;
}

.adhpm-form__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.adhpm-button,
.adhpm-login-submit,
.adhpm-provider-form input[type="submit"],
.adhpm-provider-form button[type="submit"],
.adhpm-instructor-application input[type="submit"],
.adhpm-instructor-application button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border: 0 !important;
    border-radius: var(--adhpm-radius) !important;
    background: var(--adhpm-primary) !important;
    color: var(--adhpm-button-text) !important;
    font: inherit;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.adhpm-button:hover,
.adhpm-login-submit:hover,
.adhpm-provider-form input[type="submit"]:hover,
.adhpm-provider-form button[type="submit"]:hover,
.adhpm-instructor-application input[type="submit"]:hover,
.adhpm-instructor-application button[type="submit"]:hover {
    background: var(--adhpm-primary-hover) !important;
    transform: translateY(-1px);
}

.adhpm-button--secondary {
    border: 1px solid var(--adhpm-border) !important;
    background: #fff !important;
    color: var(--adhpm-primary) !important;
}

.adhpm-button--secondary:hover {
    background: var(--adhpm-soft) !important;
}

.adhpm-link,
.adhpm-profile-card__avatar a,
.adhpm-account-notice a {
    color: var(--adhpm-primary);
    font-weight: 700;
    text-decoration: none;
}

.adhpm-provider-status,
.adhpm-alert {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 0 20px;
    padding: 14px 16px;
    border-radius: 8px;
}

.adhpm-provider-status--verified,
.adhpm-alert--success {
    background: #eaf8ef;
    color: #166534;
}

.adhpm-provider-status--unverified {
    background: #fff7e6;
    color: #8a4b08;
}

.adhpm-provider-status--suspended,
.adhpm-alert--warning,
.adhpm-alert--error {
    background: #fff0f0;
    color: #9f1239;
}

.adhpm-status {
    display: inline-flex;
    width: max-content;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.adhpm-status--publish {
    background: #eaf8ef;
    color: #166534;
}

.adhpm-status--pending {
    background: #fff7e6;
    color: #8a4b08;
}

.adhpm-status--draft,
.adhpm-status--suspended {
    background: #fff0f0;
    color: #9f1239;
}

.adhpm-profile-card,
.adhpm-studio-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.adhpm-profile-card__avatar,
.adhpm-profile-card__summary {
    display: flex;
    align-items: center;
    gap: 16px;
}

.adhpm-profile-card__avatar img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
}

.adhpm-studio-card__header {
    margin-bottom: 20px;
}

.adhpm-studio-card__header h2 {
    margin-bottom: 8px;
}

.adhpm-private-note {
    margin-bottom: 18px;
}

.adhpm-details {
    display: grid;
    grid-template-columns: minmax(130px, 190px) 1fr;
    gap: 10px 18px;
}

.adhpm-details dt {
    font-weight: 700;
}

.adhpm-details dd {
    margin: 0;
}

.adhpm-empty {
    margin-bottom: 20px;
    padding: 32px;
    border: 1px dashed #bac3cc;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.adhpm-empty h2,
.adhpm-empty h3 {
    margin-top: 0;
}

.adhpm-inline-actions,
.adhpm-existing-account-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.adhpm-existing-account-actions {
    justify-content: flex-start;
    margin-top: 16px;
}

.adhpm-registration-success {
    margin: 0;
}

.adhpm-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Login gateway */
.adhpm-gateway {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.adhpm-login-stack {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
}

.adhpm-login-card {
    overflow: hidden;
    border: 1px solid var(--adhpm-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(25, 43, 72, .09);
}

.adhpm-login-option + .adhpm-login-option {
    border-top: 1px solid var(--adhpm-border);
}

.adhpm-login-option__toggle {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 17px;
    width: 100%;
    min-height: 100px;
    padding: 21px 26px;
    border: 0;
    background: #fff;
    color: var(--adhpm-ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color .18s ease;
}

.adhpm-login-option__toggle:hover,
.adhpm-login-option.is-open .adhpm-login-option__toggle {
    background: linear-gradient(90deg, color-mix(in srgb, var(--adhpm-primary) 6%, #fff), #fff 75%);
}

.adhpm-login-card__icon,
.adhpm-action-card__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: var(--adhpm-icon-bg);
    color: var(--adhpm-primary);
    line-height: 0;
}

.adhpm-login-card__icon svg,
.adhpm-action-card__icon svg {
    display: block;
    width: 27px;
    height: 27px;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.adhpm-login-option__copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.adhpm-login-option__copy strong {
    color: var(--adhpm-ink);
    font-size: 20px;
    line-height: 1.25;
}

.adhpm-login-option__copy small {
    color: var(--adhpm-muted);
    font-size: 14px;
    line-height: 1.55;
}

.adhpm-login-option__chevron {
    width: 11px;
    height: 11px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    color: var(--adhpm-primary);
    transform: rotate(45deg) translateY(-3px);
    transition: transform .18s ease;
}

.adhpm-login-option.is-open .adhpm-login-option__chevron {
    transform: rotate(225deg) translate(-2px, -2px);
}

.adhpm-login-option__body[hidden] {
    display: none !important;
}

.adhpm-login-option__body {
    overflow: hidden;
    padding: 4px 28px 28px 97px;
    background: linear-gradient(180deg, #fff, #fbfcff);
    transform-origin: top;
    will-change: height, opacity, transform;
}

.adhpm-login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.adhpm-login-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0;
}

.adhpm-login-field label {
    color: var(--adhpm-ink);
    font-size: 13px;
    font-weight: 700;
}

.adhpm-login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
}

.adhpm-login-row a,
.adhpm-register-toggle,
.adhpm-login-secondary-action {
    color: var(--adhpm-primary);
    font: inherit;
    font-weight: 800;
    text-decoration: none;
}

.adhpm-remember {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--adhpm-muted);
}

.adhpm-login-submit {
    width: 100%;
    min-height: 47px;
}

.adhpm-login-card__register {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--adhpm-border);
    color: var(--adhpm-muted);
    font-size: 13px;
    text-align: center;
}

.adhpm-register-toggle:not(.adhpm-action-card) {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.adhpm-registration-shell {
    width: 100%;
    max-width: 980px;
    margin: 24px auto 0;
}

.adhpm-registration-panel[hidden] {
    display: none !important;
}

.adhpm-registration-panel {
    opacity: 0;
    transform: translateY(-10px);
    padding: 30px;
    border: 1px solid var(--adhpm-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(25, 43, 72, .08);
    transform-origin: top;
    will-change: height, opacity, transform;
}

.adhpm-registration-panel.is-open {
    opacity: 1;
    transform: translateY(0);
}

.adhpm-registration-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.adhpm-registration-panel__header h2 {
    margin: 4px 0 0;
    font-size: 27px;
}

.adhpm-eyebrow {
    margin: 0;
    color: var(--adhpm-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.adhpm-registration-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--adhpm-border);
    border-radius: 50%;
    background: #fff;
    color: var(--adhpm-muted);
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.adhpm-account-notice {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
    padding: 13px 15px;
    border-radius: 10px;
    background: #eef7ff;
    color: #173a65;
}

.adhpm-account-notice span {
    font-size: 14px;
}

.adhpm-account-notice a {
    width: max-content;
    font-size: 13px;
}

.adhpm-account-notice--neutral {
    background: var(--adhpm-soft);
    color: var(--adhpm-ink);
}

.adhpm-provider-register__selector {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 22px;
}

.adhpm-provider-kind {
    min-height: 48px;
    border: 1px solid var(--adhpm-border);
    border-radius: var(--adhpm-radius);
    background: #fff;
    color: var(--adhpm-ink);
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

.adhpm-provider-kind.is-active {
    border-color: var(--adhpm-primary);
    background: var(--adhpm-icon-bg);
    color: var(--adhpm-primary);
    box-shadow: inset 0 0 0 1px var(--adhpm-primary);
}

.adhpm-provider-form[hidden] {
    display: none !important;
}

.adhpm-provider-form h3 {
    margin: 0 0 7px;
    font-size: 22px;
}

.adhpm-provider-form > p {
    margin-top: 0;
    color: var(--adhpm-muted);
}

.adhpm-provider-form .wpcf7,
.adhpm-studio-registration .wpcf7,
.adhpm-instructor-application .wpcf7 {
    margin-top: 18px;
}

.adhpm-provider-form input[readonly],
.adhpm-instructor-application input[readonly],
.adhpm-field input[readonly] {
    background: #f1f4f8 !important;
    color: #59677a !important;
    cursor: not-allowed;
}

/* Logged-in gateway */
.adhpm-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    padding: 26px;
    border: 1px solid var(--adhpm-border);
    border-radius: 18px;
    background: linear-gradient(135deg, #f7f9ff, #fff);
}

.adhpm-welcome__identity {
    display: flex;
    align-items: center;
    gap: 16px;
}

.adhpm-welcome__identity img {
    border-radius: 50%;
}

.adhpm-welcome h2 {
    margin: 4px 0 5px;
    font-size: 27px;
}

.adhpm-welcome p:not(.adhpm-eyebrow) {
    margin: 0;
    color: var(--adhpm-muted);
}

.adhpm-role-badges {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
    flex-wrap: wrap;
}

.adhpm-role-badges span {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--adhpm-icon-bg);
    color: var(--adhpm-primary);
    font-size: 12px;
    font-weight: 800;
}

.adhpm-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.adhpm-action-card {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 108px;
    padding: 18px;
    border: 1px solid var(--adhpm-border);
    border-radius: 14px;
    background: #fff;
    color: var(--adhpm-ink) !important;
    font: inherit;
    text-align: left;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.adhpm-action-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--adhpm-primary) 35%, var(--adhpm-border));
    box-shadow: 0 10px 25px rgba(25, 43, 72, .08);
}

.adhpm-action-card__icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 13px;
}

.adhpm-action-card strong,
.adhpm-action-card small {
    display: block;
}

.adhpm-action-card strong {
    font-size: 15px;
}

.adhpm-action-card small {
    margin-top: 4px;
    color: var(--adhpm-muted);
    font-size: 12px;
    line-height: 1.45;
}

/* Consistent icons and control reset */
.adhpm-provider-form .wpcf7-form,
.adhpm-instructor-application .wpcf7-form {
    display: grid;
    gap: 16px;
}

.adhpm-provider-form .wpcf7-form p,
.adhpm-instructor-application .wpcf7-form p {
    margin: 0;
}

.adhpm-provider-form .wpcf7-form label,
.adhpm-instructor-application .wpcf7-form label {
    display: block;
    color: var(--adhpm-ink);
    font-weight: 700;
}

.adhpm-provider-form .wpcf7-form-control-wrap,
.adhpm-instructor-application .wpcf7-form-control-wrap {
    display: block;
    margin-top: 7px;
}

.adhpm-control-with-icon {
    position: relative;
    display: block;
    width: 100%;
    line-height: 1.4;
}

.adhpm-field-icon {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    color: var(--adhpm-primary);
    line-height: 0;
    pointer-events: none;
    transform: translateY(-50%);
}


.adhpm-control--multiline .adhpm-field-icon {
    top: 16px;
    transform: none;
}

.adhpm-field-icon svg {
    display: block;
    width: 19px;
    height: 19px;
    overflow: visible;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.adhpm-icon-normalized .adhpm-legacy-field-icon {
    display: none !important;
}

.adhpm-icon-normalized .adhpm-legacy-icon-container,
.adhpm-icon-normalized .style-line {
    border: 0 !important;
    background: none !important;
    background-image: none !important;
    box-shadow: none !important;
}

.adhpm-icon-normalized .adhpm-legacy-icon-container::before,
.adhpm-icon-normalized .adhpm-legacy-icon-container::after,
.adhpm-icon-normalized .style-line::before,
.adhpm-icon-normalized .style-line::after {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    border: 0 !important;
    content: none !important;
    box-shadow: none !important;
}

.adhpm-control-with-icon input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.adhpm-control-with-icon select,
.adhpm-control-with-icon textarea,
.adhpm-login-field input,
.adhpm-field input,
.adhpm-field textarea,
.adhpm-provider-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.adhpm-provider-form select,
.adhpm-provider-form textarea,
.adhpm-instructor-application input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.adhpm-instructor-application select,
.adhpm-instructor-application textarea {
    width: 100% !important;
    min-height: 46px;
    margin: 0;
    padding: 10px 13px 10px 44px !important;
    border: 1px solid #cfd7e4 !important;
    border-radius: var(--adhpm-radius) !important;
    background: #fff;
    color: var(--adhpm-ink);
    font: inherit;
    font-weight: 400;
    line-height: 1.4;
    outline: none !important;
    background-image: none !important;
    box-shadow: none !important;
}

.adhpm-control-with-icon textarea,
.adhpm-provider-form textarea,
.adhpm-instructor-application textarea {
    min-height: 130px;
    resize: vertical;
}


.adhpm-control-with-icon:hover input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.adhpm-control-with-icon:hover select,
.adhpm-control-with-icon:hover textarea {
    border-color: color-mix(in srgb, var(--adhpm-primary) 48%, #cfd7e4) !important;
    box-shadow: none !important;
}

.adhpm-control-with-icon:focus-within input,
.adhpm-control-with-icon:focus-within select,
.adhpm-control-with-icon:focus-within textarea {
    border-color: var(--adhpm-primary) !important;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--adhpm-primary) 30%, transparent) !important;
}

.adhpm-control-with-icon:focus-within .adhpm-field-icon {
    color: var(--adhpm-primary-hover);
}

.adhpm-password-wrap {
    position: relative;
    display: block;
    width: 100%;
}

.adhpm-password-wrap .adhpm-field-icon {
    left: 14px;
}

.adhpm-password-wrap input {
    padding-right: 84px !important;
}

.adhpm-password-toggle {
    position: absolute !important;
    z-index: 3;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 72px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 0 var(--adhpm-radius) var(--adhpm-radius) 0 !important;
    background: transparent !important;
    color: var(--adhpm-primary) !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    box-shadow: none !important;
    cursor: pointer;
    transform: none !important;
    appearance: none;
}

.adhpm-password-toggle:hover,
.adhpm-password-toggle:focus-visible {
    background: var(--adhpm-soft) !important;
    color: var(--adhpm-primary-hover) !important;
    box-shadow: none !important;
    transform: none !important;
}

.adhpm-control--file {
    min-height: 48px;
}

.adhpm-control--file .adhpm-field-icon {
    top: 24px;
}

.adhpm-control--file input[type="file"] {
    min-height: 48px;
    padding: 9px 10px 9px 44px !important;
    background: #f7f9fc;
}

.adhpm-control--choice {
    display: block;
    min-height: 24px;
    padding-left: 0;
}

.adhpm-control--choice > .adhpm-field-icon {
    display: none !important;
}

.adhpm-control--choice .wpcf7-list-item {
    margin: 0 !important;
}

.adhpm-control--choice label,
.adhpm-control--choice .wpcf7-list-item-label {
    vertical-align: top;
}

.adhpm-control--choice label {
    display: inline-flex !important;
    align-items: flex-start;
    gap: 8px;
}

.adhpm-control--choice input[type="checkbox"],
.adhpm-control--choice input[type="radio"] {
    flex: 0 0 18px;
    width: 18px !important;
    min-width: 18px;
    height: 18px;
    min-height: 18px;
    margin: 1px 0 0 !important;
    padding: 0 !important;
    border: 1px solid color-mix(in srgb, var(--adhpm-primary) 55%, #9aa4b2) !important;
    background-color: #fff !important;
    box-shadow: none !important;
    accent-color: var(--adhpm-primary);
}

.adhpm-provider-form .wpcf7-not-valid-tip,
.adhpm-instructor-application .wpcf7-not-valid-tip {
    margin-top: 5px;
    font-size: 13px;
}

.adhpm-provider-form .wpcf7-response-output,
.adhpm-instructor-application .wpcf7-response-output {
    margin: 4px 0 0 !important;
    padding: 12px 14px !important;
    border-radius: 8px;
}

/* Header Login / account icon */
.adh-account-menu {
    position: relative;
}

.adh-account-menu > a,
.adh-account-menu > a > span,
.adh-account-menu > a .adhpm-menu-user-content {
    display: inline-flex !important;
    align-items: center !important;
}

.adh-account-menu > a {
    white-space: nowrap !important;
}

.adhpm-menu-user-content {
    gap: 7px;
    white-space: nowrap;
    line-height: inherit;
}

/* Choreo's menu hover animation assumes plain text and draws a detached dash
   when a title contains custom icon markup. Disable that decoration only for
   this account item; the plugin supplies a stable line chevron instead. */
.adh-account-menu::before,
.adh-account-menu::after,
.adh-account-menu > a::before,
.adh-account-menu > a::after,
.adh-account-menu > a > span::before,
.adh-account-menu > a > span::after,
.adh-account-menu > a .item_text::before,
.adh-account-menu > a .item_text::after,
.adh-account-menu > a .menu-item-title::before,
.adh-account-menu > a .menu-item-title::after,
.adh-account-menu > a .menu-item-text::before,
.adh-account-menu > a .menu-item-text::after {
    display: none !important;
    content: none !important;
}

.adhpm-menu-user-icon,
.adhpm-menu-chevron {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: currentColor;
    line-height: 0;
}

.adhpm-menu-user-icon {
    width: 19px;
    height: 19px;
}

.adhpm-menu-user-icon svg {
    display: block;
    width: 19px;
    height: 19px;
    overflow: visible;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.adhpm-menu-user-label {
    display: inline-block;
    white-space: nowrap;
}

.adhpm-menu-chevron {
    width: 12px;
    height: 12px;
    margin-left: 1px;
    opacity: .68;
    transition: transform .18s ease, opacity .18s ease;
}

.adhpm-menu-chevron svg {
    display: block;
    width: 12px;
    height: 12px;
    fill: none !important;
    stroke: currentColor !important;
}

.adh-account-menu.adhpm-account-menu--logged-in:hover .adhpm-menu-chevron,
.adh-account-menu.adhpm-account-menu--open .adhpm-menu-chevron {
    opacity: 1;
    transform: rotate(180deg);
}

.adh-account-menu.adhpm-account-menu--logged-in > .sub-menu {
    min-width: 230px;
}

.adh-account-submenu-item a {
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .adhpm-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .adh-account-menu.adhpm-account-menu--logged-in > .sub-menu {
        display: none !important;
    }

    .adh-account-menu.adhpm-account-menu--open > .sub-menu {
        display: block !important;
    }
}

@media (max-width: 800px) {
    .adhpm-grid--2,
    .adhpm-grid--3,
    .adhpm-action-grid,
    .adhpm-provider-register__selector {
        grid-template-columns: 1fr;
    }

    .adhpm-profile-card,
    .adhpm-studio-card__header,
    .adhpm-welcome {
        align-items: flex-start;
        flex-direction: column;
    }

    .adhpm-role-badges {
        justify-content: flex-start;
    }

    .adhpm-form__actions {
        justify-content: stretch;
    }

    .adhpm-button {
        width: 100%;
    }

    .adhpm-details {
        grid-template-columns: 1fr;
    }

    .adhpm-details dd {
        margin-bottom: 8px;
    }

    .adhpm-login-option__toggle {
        grid-template-columns: 48px minmax(0, 1fr) 14px;
        gap: 13px;
        min-height: 88px;
        padding: 18px;
    }

    .adhpm-login-card__icon {
        width: 46px;
        height: 46px;
        border-radius: 13px;
    }

    .adhpm-login-option__copy strong {
        font-size: 17px;
    }

    .adhpm-login-option__copy small {
        font-size: 13px;
    }

    .adhpm-login-option__body {
        padding: 2px 18px 22px;
    }

    .adhpm-login-row {
        align-items: center;
        flex-wrap: wrap;
    }

    .adhpm-login-card__register {
        flex-direction: column;
    }

    .adhpm-registration-panel {
        padding: 22px;
    }

    .adhpm-inline-actions,
    .adhpm-existing-account-actions {
        flex-direction: column;
    }

    .adhpm-inline-actions .adhpm-button,
    .adhpm-existing-account-actions .adhpm-button {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .adhpm-login-option__toggle {
        grid-template-columns: 42px minmax(0, 1fr) 12px;
        gap: 11px;
        padding: 16px 14px;
    }

    .adhpm-login-card__icon {
        width: 40px;
        height: 40px;
    }

    .adhpm-login-card__icon svg {
        width: 22px;
        height: 22px;
    }

    .adhpm-login-option__copy small {
        line-height: 1.4;
    }

    .adhpm-login-row {
        align-items: flex-start;
        flex-direction: column;
    }
}


@media (prefers-reduced-motion: reduce) {
    .adhpm-login-option__chevron,
    .adhpm-login-option__toggle,
    .adhpm-registration-panel,
    .adhpm-login-option__body {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* v1.4.7 complete profile editors */
.adhpm-profile-editor {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.adhpm-profile-editor__section {
    padding: 0 0 24px;
    border-bottom: 1px solid var(--adhpm-border);
}

.adhpm-profile-editor__section:last-of-type {
    padding-bottom: 0;
    border-bottom: 0;
}

.adhpm-profile-editor__section > h2,
.adhpm-profile-editor__section > h3 {
    margin: 0 0 8px;
}

.adhpm-profile-card__date {
    display: block;
    margin-top: 4px;
    color: var(--adhpm-muted);
    font-size: 12px;
}

.adhpm-media-field,
.adhpm-gallery-field {
    min-width: 0;
}

.adhpm-media-current {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--adhpm-border);
    border-radius: var(--adhpm-radius);
    background: var(--adhpm-soft);
}

.adhpm-media-current img {
    display: block;
    width: 116px;
    height: 86px;
    border-radius: calc(var(--adhpm-radius) - 2px);
    object-fit: cover;
}

.adhpm-remove-control {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--adhpm-muted);
    font-size: 12px;
    font-weight: 600;
}

.adhpm-remove-control input,
.adhpm-media-gallery__item input {
    width: 17px !important;
    min-width: 17px !important;
    height: 17px !important;
    min-height: 17px !important;
    margin: 0 !important;
    padding: 0 !important;
    accent-color: var(--adhpm-primary);
}

.adhpm-media-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.adhpm-media-gallery__item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 7px;
    padding: 8px;
    border: 1px solid var(--adhpm-border);
    border-radius: var(--adhpm-radius);
    background: var(--adhpm-soft);
    color: var(--adhpm-muted);
    font-size: 12px;
    font-weight: 600;
}

.adhpm-media-gallery__item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: calc(var(--adhpm-radius) - 3px);
    object-fit: cover;
}

.adhpm-media-gallery__item > span,
.adhpm-video-current {
    display: flex;
    align-items: center;
    gap: 7px;
}

.adhpm-video-current {
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 11px 12px;
    border: 1px solid var(--adhpm-border);
    border-radius: var(--adhpm-radius);
    background: var(--adhpm-soft);
}

.adhpm-video-current a {
    color: var(--adhpm-primary);
    font-weight: 700;
}

/* Choreo CF7 column classes must not dictate plugin form widths. */
.adhpm-provider-register .columns_wrap {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
    margin: 0 !important;
}

.adhpm-provider-register .columns_wrap > [class*="column-"] {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.adhpm-provider-register .columns_wrap > .column-1_1,
.adhpm-provider-register .wpcf7-form > p {
    grid-column: 1 / -1;
}

/* The dashboard Studio form contains two separate Choreo columns_wrap rows.
 * Flatten both into one shared grid so every field aligns to the same columns. */
.adhpm-studio-registration .form-style-3 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
    margin: 0 !important;
    align-items: start;
}

.adhpm-studio-registration .form-style-3 > .columns_wrap {
    display: contents !important;
}

.adhpm-studio-registration .form-style-3 > .columns_wrap::before,
.adhpm-studio-registration .form-style-3 > .columns_wrap::after {
    display: none !important;
    content: none !important;
}

.adhpm-studio-registration .form-style-3 > .columns_wrap > [class*="column-"],
.adhpm-studio-registration .form-style-3 > [class*="column-"] {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.adhpm-studio-registration .form-style-3 > p,
.adhpm-studio-registration .form-style-3 > .wpcf7-response-output,
.adhpm-studio-registration .form-style-3 > .screen-reader-response {
    grid-column: 1 / -1;
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.adhpm-studio-registration .adhpm-provider-register,
.adhpm-studio-registration .adhpm-provider-register__forms,
.adhpm-studio-registration .adhpm-provider-form,
.adhpm-studio-registration .wpcf7,
.adhpm-studio-registration .wpcf7-form {
    width: 100%;
    max-width: none;
}

/* Public detail extensions preserve the theme template and fill unsupported fields. */
.adhpm-public-cover {
    margin: 0 0 30px;
}

.adhpm-public-cover img {
    display: block;
    width: 100%;
    max-height: 620px;
    object-fit: cover;
}

.adhpm-public-extension {
    clear: both;
    margin: 34px 0 0;
}

.adhpm-public-extension > h3 {
    margin: 0 0 16px;
}

.adhpm-public-details dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--adhpm-border);
    border-radius: var(--adhpm-radius);
    background: var(--adhpm-border);
}

.adhpm-public-details dl > div {
    padding: 14px 16px;
    background: #fff;
}

.adhpm-public-details dt {
    margin-bottom: 4px;
    color: var(--adhpm-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.adhpm-public-details dd {
    margin: 0;
}

.adhpm-public-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.adhpm-public-gallery a,
.adhpm-public-gallery img {
    display: block;
    width: 100%;
}

.adhpm-public-gallery img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.adhpm-public-video iframe,
.adhpm-public-video video {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
}

.adhpm-public-socials > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.adhpm-public-socials a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--adhpm-border);
    border-radius: 999px;
    color: var(--adhpm-primary);
    font-weight: 700;
    text-decoration: none;
}

.adhpm-public-socials a:hover {
    border-color: var(--adhpm-primary);
    color: var(--adhpm-primary-hover);
}

@media (max-width: 800px) {
    .adhpm-media-gallery,
    .adhpm-public-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .adhpm-studio-registration .form-style-3,
    .adhpm-provider-register .columns_wrap,
    .adhpm-public-details dl {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 520px) {
    .adhpm-media-gallery,
    .adhpm-public-gallery {
        grid-template-columns: 1fr;
    }

    .adhpm-media-current {
        flex-direction: column;
    }
}

/* v1.4.11: AED currency marker and in-place profile-save feedback. */
.adhpm-field-icon--price {
    width: 31px;
    left: 10px;
}

.adhpm-field-icon--price + input,
.adhpm-field-icon--price + select,
.adhpm-field-icon--price + textarea {
    padding-left: 49px !important;
}

.adhpm-currency-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .04em;
    color: currentColor;
}

.adhpm-inline-save-status {
    margin: 0 0 16px;
}
.adhpm-alert--info {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #334155;
}

/* v1.4.12: compact profile editors, upload progress and reliable Studio media output. */
.adhpm-profile-editor {
    gap: 16px;
}

.adhpm-profile-editor__section {
    padding-bottom: 18px;
}

.adhpm-profile-editor__section > h2,
.adhpm-profile-editor__section > h3 {
    margin-bottom: 12px;
}

.adhpm-profile-editor__media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.adhpm-profile-editor__media-grid .adhpm-field,
.adhpm-profile-editor__media-grid .adhpm-gallery-field {
    width: 100%;
    min-width: 0;
}

.adhpm-profile-editor__media-grid .adhpm-media-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.adhpm-profile-editor textarea[rows="2"] {
    min-height: 76px !important;
}

.adhpm-profile-editor textarea[rows="5"] {
    min-height: 148px !important;
}

.adhpm-upload-progress {
    display: grid;
    gap: 7px;
    margin: 2px 0 4px;
}

.adhpm-upload-progress[hidden] {
    display: none !important;
}

.adhpm-upload-progress__track {
    position: relative;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--adhpm-primary) 12%, #eef2f7);
}

.adhpm-upload-progress__track span {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: inherit;
    background: var(--adhpm-primary);
    transition: width .18s ease;
}

.adhpm-upload-progress small {
    color: var(--adhpm-muted);
    font-size: 12px;
    font-weight: 600;
}

.adhpm-profile-editor--saving .adhpm-form__actions .adhpm-button {
    cursor: progress;
    opacity: .78;
}

.adhpm-public-media-caption {
    margin: 12px 0 0;
    color: var(--adhpm-muted);
}

@media (max-width: 800px) {
    .adhpm-profile-editor__media-grid {
        grid-template-columns: 1fr;
    }
}

/* v1.4.14: reliable profile refresh, managed Studio gallery output and normalized archive cards. */
.adhpm-gallery-remove-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin: 0;
    color: var(--adhpm-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    cursor: pointer;
}

.adhpm-gallery-remove-control input {
    flex: 0 0 17px;
    width: 17px !important;
    min-width: 17px !important;
    height: 17px !important;
    min-height: 17px !important;
    margin: 0 !important;
    padding: 0 !important;
    accent-color: var(--adhpm-primary);
    cursor: pointer;
}

.adhpm-media-gallery__item {
    transition: opacity .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.adhpm-media-gallery__item.is-marked-for-removal {
    border-color: #c2410c;
    box-shadow: inset 0 0 0 1px rgba(194, 65, 12, .18);
    opacity: .62;
}

.adhpm-media-gallery__item.is-marked-for-removal img {
    filter: grayscale(.65);
}

.adhpm-registration-success small {
    display: block;
    margin-top: 8px;
    color: var(--adhpm-muted);
    font-weight: 600;
}

.adhpm-studio-archive-details {
    display: grid;
    gap: 4px;
    margin: 8px 0 10px;
    color: var(--adhpm-muted);
    font-size: 13px;
    line-height: 1.45;
}

.adhpm-studio-archive-location strong,
.adhpm-studio-archive-price strong {
    color: var(--adhpm-ink);
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
}


.adhpm-studio-archive-intro {
    margin-top: 0 !important;
}

.adhpm-studio-archive-read-more {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 8px;
    color: var(--adhpm-primary);
    font-weight: 700;
    text-decoration: none;
}

.adhpm-studio-archive-page canvas[data-curtains],
.adhpm-studio-archive-page .curtains-canvas {
    display: none !important;
}

.adhpm-studio-archive-card .adh-studio-card-meta,
.adhpm-studio-archive-card .post_description_content {
    display: none !important;
}


/* v1.4.16: managed Studio comments are disabled server-side; this hides theme wrappers that render unconditionally. */
body.adhpm-managed-studio .comments_wrap,
body.adhpm-managed-studio .comments-area,
body.adhpm-managed-studio #comments,
body.adhpm-managed-studio .comment-respond {
    display: none !important;
}

/* v1.4.19: modern managed Dancer profile, private DOB/public age, and scoped comment removal. */
body.adhpm-managed-dancer .team_member_page > .team_member_featured,
body.adhpm-managed-dancer .team_member_page > .team_member_details,
body.adhpm-managed-dancer .team_member_page .team_member_description_socials,
body.adhpm-managed-dancer .team_member_page .team_member_brief_info,
body.adhpm-managed-dancer .team_member_page .team_member_socials,
body.adhpm-managed-dancer.adhpm-provider-detail .team_member_position,
body.adhpm-managed-dancer.adhpm-provider-detail .team_member_subtitle,
body.adhpm-managed-dancer.adhpm-provider-detail .team_page_position,
body.adhpm-managed-dancer.adhpm-provider-detail .team_page_subtitle,
body.adhpm-managed-dancer .team_member_page > .team_member_title,
body.adhpm-managed-dancer .comments_wrap,
body.adhpm-managed-dancer .comments-area,
body.adhpm-managed-dancer #comments,
body.adhpm-managed-dancer .comment-respond {
    display: none !important;
}

.adhpm-dancer-profile {
    --adhpm-dancer-surface: #f7f5f3;
    --adhpm-dancer-surface: color-mix(in srgb, var(--adhpm-primary) 4%, #fff);
    display: grid;
    gap: clamp(42px, 7vw, 84px);
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.adhpm-dancer-hero {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
    gap: clamp(32px, 6vw, 78px);
    align-items: center;
}

.adhpm-dancer-hero__media {
    position: relative;
    min-height: 560px;
    overflow: visible;
    border-radius: calc(var(--adhpm-radius) + 8px);
    background: var(--adhpm-dancer-surface);
}

.adhpm-dancer-hero__image,
.adhpm-dancer-hero__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 560px;
    aspect-ratio: 4 / 5;
    border-radius: inherit;
    object-fit: cover;
}

.adhpm-dancer-hero__placeholder {
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--adhpm-primary) 18%, #fff), #f5f3f0);
}

.adhpm-dancer-hero__portrait {
    position: absolute;
    right: -28px;
    bottom: 28px;
    width: 132px;
    height: 132px;
    padding: 6px;
    overflow: hidden;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 18px 45px rgba(20, 20, 20, .16);
}

.adhpm-dancer-hero__portrait img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.adhpm-dancer-hero__content {
    min-width: 0;
}

.adhpm-dancer-hero__eyebrow,
.adhpm-dancer-section-label {
    display: block;
    margin-bottom: 12px;
    color: var(--adhpm-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.adhpm-dancer-hero__content h1 {
    margin: 0 0 18px;
    font-size: clamp(38px, 5vw, 68px);
    line-height: .98;
}

.adhpm-dancer-hero__intro {
    max-width: 680px;
    margin: 0 0 28px;
    color: var(--adhpm-muted);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.65;
}

.adhpm-dancer-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    border-top: 1px solid var(--adhpm-border);
    border-left: 1px solid var(--adhpm-border);
}

.adhpm-dancer-facts > div {
    min-width: 0;
    padding: 16px 18px;
    border-right: 1px solid var(--adhpm-border);
    border-bottom: 1px solid var(--adhpm-border);
    background: rgba(255, 255, 255, .68);
}

.adhpm-dancer-facts dt {
    margin: 0 0 5px;
    color: var(--adhpm-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.adhpm-dancer-facts dd {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--adhpm-ink);
    font-size: 15px;
    font-weight: 600;
}

.adhpm-dancer-hero__rate {
    display: flex;
    gap: 12px;
    align-items: baseline;
    margin: 17px 0 0;
    color: var(--adhpm-ink);
}

.adhpm-dancer-hero__rate span {
    color: var(--adhpm-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.adhpm-dancer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.adhpm-dancer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--adhpm-border);
    border-radius: 50%;
    color: var(--adhpm-ink);
    background: #fff;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, color .18s ease;
}

.adhpm-dancer-socials a:hover {
    transform: translateY(-2px);
    border-color: var(--adhpm-primary);
    color: var(--adhpm-primary);
}

.adhpm-dancer-socials svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.adhpm-dancer-socials span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.adhpm-dancer-biography {
    display: grid;
    grid-template-columns: minmax(130px, .28fr) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 64px);
    padding: clamp(30px, 5vw, 58px);
    border-radius: calc(var(--adhpm-radius) + 6px);
    background: var(--adhpm-dancer-surface);
}

.adhpm-dancer-biography__content {
    font-size: 17px;
    line-height: 1.8;
}

.adhpm-dancer-biography__content > :first-child {
    margin-top: 0;
}

.adhpm-dancer-biography__content > :last-child {
    margin-bottom: 0;
}

.adhpm-dancer-additional-styles {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 22px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--adhpm-border);
}

.adhpm-dancer-additional-styles strong {
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.adhpm-dancer-gallery > h3,
.adhpm-dancer-showreel > h3 {
    margin-bottom: 24px;
}

.adhpm-dancer-gallery .adhpm-public-gallery {
    display: block;
    column-count: 2;
    column-gap: 18px;
}

.adhpm-dancer-gallery .adhpm-public-gallery a {
    display: block;
    margin: 0 0 18px;
    break-inside: avoid;
    overflow: hidden;
    border-radius: var(--adhpm-radius);
}

.adhpm-dancer-gallery .adhpm-public-gallery img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    transition: transform .35s ease;
}

.adhpm-dancer-gallery .adhpm-public-gallery a:hover img {
    transform: scale(1.025);
}

.adhpm-dancer-showreel {
    padding: clamp(26px, 4vw, 44px);
    border: 1px solid var(--adhpm-border);
    border-radius: calc(var(--adhpm-radius) + 4px);
    background: #fff;
}

@media (max-width: 900px) {
    .adhpm-dancer-hero {
        grid-template-columns: 1fr;
    }

    .adhpm-dancer-hero__media,
    .adhpm-dancer-hero__image,
    .adhpm-dancer-hero__placeholder {
        min-height: 0;
        max-height: 720px;
    }

    .adhpm-dancer-hero__portrait {
        right: 22px;
    }
}

@media (max-width: 620px) {
    .adhpm-dancer-profile {
        gap: 42px;
    }

    .adhpm-dancer-facts,
    .adhpm-dancer-biography {
        grid-template-columns: 1fr;
    }

    .adhpm-dancer-biography {
        padding: 26px 22px;
    }

    .adhpm-dancer-additional-styles {
        grid-column: 1;
    }

    .adhpm-dancer-gallery .adhpm-public-gallery {
        column-count: 1;
    }

    .adhpm-dancer-hero__portrait {
        width: 96px;
        height: 96px;
        right: 16px;
        bottom: 16px;
    }
}

/* v1.4.20: meaningful Dancer profile completion guidance in the owner dashboard. */
.adhpm-profile-completion {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
    padding: clamp(20px, 3vw, 28px);
    border: 1px solid var(--adhpm-border);
    background: color-mix(in srgb, var(--adhpm-primary) 3%, #fff);
}

.adhpm-profile-completion__header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
}

.adhpm-profile-completion__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--adhpm-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.adhpm-profile-completion__header h2 {
    margin: 0;
    font-size: clamp(18px, 2.4vw, 24px);
    line-height: 1.25;
}

.adhpm-profile-completion__header > strong {
    color: var(--adhpm-primary);
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1;
}

.adhpm-profile-completion__track {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--adhpm-primary) 12%, #eee);
}

.adhpm-profile-completion__track > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--adhpm-primary);
}

.adhpm-profile-completion__next > span {
    color: var(--adhpm-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.adhpm-profile-completion__next ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 22px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.adhpm-profile-completion__next li {
    position: relative;
    margin: 0;
    padding-left: 18px;
    color: var(--adhpm-ink);
    font-size: 14px;
}

.adhpm-profile-completion__next li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--adhpm-primary);
}

.adhpm-profile-completion__done {
    margin: 0;
    color: var(--adhpm-muted);
}

@media (max-width: 620px) {
    .adhpm-profile-completion__header,
    .adhpm-profile-completion__next ul {
        grid-template-columns: 1fr;
    }

    .adhpm-profile-completion__header {
        display: grid;
        gap: 10px;
    }
}

/* v1.4.20: compact breadcrumb, owner-only completion prompts, and three Dancer layouts. */
.adhpm-detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 clamp(22px, 4vw, 38px);
    color: var(--adhpm-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.adhpm-detail-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.adhpm-detail-breadcrumb a:hover {
    color: var(--adhpm-primary);
}

.adhpm-dancer-hero__placeholder {
    position: relative;
    display: grid;
    place-items: center;
}

.adhpm-dancer-hero__placeholder span {
    color: color-mix(in srgb, var(--adhpm-primary) 45%, #777);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.adhpm-owner-completion-prompt {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-top: 24px;
    padding: 18px 20px;
    border: 1px dashed color-mix(in srgb, var(--adhpm-primary) 42%, #ccc);
    border-radius: var(--adhpm-radius);
    background: color-mix(in srgb, var(--adhpm-primary) 4%, #fff);
}

.adhpm-owner-completion-prompt--section {
    width: 100%;
    margin: 0;
    padding: clamp(24px, 4vw, 34px);
}

.adhpm-owner-completion-prompt__badge {
    display: block;
    margin-bottom: 6px;
    color: var(--adhpm-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.adhpm-owner-completion-prompt strong {
    display: block;
    color: var(--adhpm-ink);
    font-size: 16px;
}

.adhpm-owner-completion-prompt p,
.adhpm-owner-completion-prompt ul {
    margin: 6px 0 0;
    color: var(--adhpm-muted);
    font-size: 13px;
    line-height: 1.55;
}

.adhpm-owner-completion-prompt ul {
    padding-left: 18px;
}

.adhpm-owner-completion-prompt .adhpm-button {
    flex: 0 0 auto;
    white-space: nowrap;
}

/* Layout 1: Editorial Split — calm image-led two-column profile. */
.adhpm-dancer-profile--editorial .adhpm-dancer-hero {
    grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
}

/* Layout 2: Minimal Portfolio — wide visual with a floating editorial information card. */
.adhpm-dancer-profile--portfolio {
    max-width: 1240px;
}

.adhpm-dancer-profile--portfolio .adhpm-dancer-hero {
    grid-template-columns: 1fr;
    gap: 0;
}

.adhpm-dancer-profile--portfolio .adhpm-dancer-hero__media,
.adhpm-dancer-profile--portfolio .adhpm-dancer-hero__image,
.adhpm-dancer-profile--portfolio .adhpm-dancer-hero__placeholder {
    min-height: clamp(420px, 58vw, 690px);
    max-height: 690px;
    aspect-ratio: 16 / 9;
}

.adhpm-dancer-profile--portfolio .adhpm-dancer-hero__content {
    position: relative;
    z-index: 2;
    width: min(920px, calc(100% - 48px));
    margin: clamp(-100px, -8vw, -72px) auto 0;
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid var(--adhpm-border);
    border-radius: calc(var(--adhpm-radius) + 6px);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 24px 60px rgba(40, 26, 24, .09);
    backdrop-filter: blur(10px);
}

.adhpm-dancer-profile--portfolio .adhpm-dancer-hero__content h1 {
    max-width: 780px;
    font-size: clamp(38px, 6vw, 74px);
}

.adhpm-dancer-profile--portfolio .adhpm-dancer-facts {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.adhpm-dancer-profile--portfolio .adhpm-dancer-biography {
    background: transparent;
    border-top: 1px solid var(--adhpm-border);
    border-bottom: 1px solid var(--adhpm-border);
    border-radius: 0;
}

.adhpm-dancer-profile--portfolio .adhpm-dancer-gallery .adhpm-public-gallery {
    column-count: 3;
}

/* Layout 3: Profile Spotlight — information-forward card with portrait/media opposite. */
.adhpm-dancer-profile--spotlight .adhpm-dancer-hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
    gap: clamp(28px, 5vw, 64px);
}

.adhpm-dancer-profile--spotlight .adhpm-dancer-hero__content {
    order: 1;
    padding: clamp(28px, 5vw, 52px);
    border: 1px solid var(--adhpm-border);
    border-radius: calc(var(--adhpm-radius) + 8px);
    background: color-mix(in srgb, var(--adhpm-primary) 3%, #fff);
}

.adhpm-dancer-profile--spotlight .adhpm-dancer-hero__media {
    order: 2;
    min-height: 480px;
}

.adhpm-dancer-profile--spotlight .adhpm-dancer-hero__image,
.adhpm-dancer-profile--spotlight .adhpm-dancer-hero__placeholder {
    min-height: 480px;
    aspect-ratio: 4 / 5;
}

.adhpm-dancer-profile--spotlight .adhpm-dancer-hero__content h1 {
    font-size: clamp(38px, 5.3vw, 64px);
}

.adhpm-dancer-profile--spotlight .adhpm-dancer-facts {
    grid-template-columns: 1fr;
    border-left: 0;
}

.adhpm-dancer-profile--spotlight .adhpm-dancer-facts > div {
    display: grid;
    grid-template-columns: minmax(130px, .42fr) 1fr;
    gap: 18px;
    align-items: baseline;
    border-left: 1px solid var(--adhpm-border);
}

.adhpm-dancer-profile--spotlight .adhpm-dancer-biography {
    grid-template-columns: minmax(150px, .25fr) minmax(0, 1fr);
    border: 1px solid var(--adhpm-border);
    background: #fff;
}

@media (max-width: 900px) {
    .adhpm-dancer-profile--editorial .adhpm-dancer-hero,
    .adhpm-dancer-profile--spotlight .adhpm-dancer-hero {
        grid-template-columns: 1fr;
    }

    .adhpm-dancer-profile--spotlight .adhpm-dancer-hero__media {
        order: 1;
    }

    .adhpm-dancer-profile--spotlight .adhpm-dancer-hero__content {
        order: 2;
    }

    .adhpm-dancer-profile--portfolio .adhpm-dancer-gallery .adhpm-public-gallery {
        column-count: 2;
    }
}

@media (max-width: 620px) {
    .adhpm-owner-completion-prompt {
        align-items: stretch;
        flex-direction: column;
    }

    .adhpm-owner-completion-prompt .adhpm-button {
        width: 100%;
        justify-content: center;
    }

    .adhpm-dancer-profile--portfolio .adhpm-dancer-hero__content {
        width: calc(100% - 24px);
        margin-top: -44px;
        padding: 26px 20px;
    }

    .adhpm-dancer-profile--portfolio .adhpm-dancer-gallery .adhpm-public-gallery {
        column-count: 1;
    }

    .adhpm-dancer-profile--spotlight .adhpm-dancer-facts > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }
}

/* v1.4.20: shared image-free provider detail shell. */
body.adhpm-provider-detail .top_panel_title,
body.adhpm-provider-detail .sc_layouts_title,
body.adhpm-provider-detail .sc_layouts_title.with_bg_image,
body.adhpm-provider-detail .page_title_wrap {
    background-image: none !important;
    background-color: color-mix(in srgb, var(--adhpm-primary) 2%, #fbf8f6) !important;
}

body.adhpm-provider-detail .top_panel_title::before,
body.adhpm-provider-detail .sc_layouts_title::before,
body.adhpm-provider-detail .page_title_wrap::before {
    background: none !important;
    opacity: 0 !important;
}

body.adhpm-provider-detail .top_panel_title .content_wrap,
body.adhpm-provider-detail .sc_layouts_title_content,
body.adhpm-provider-detail .page_title_wrap .content_wrap {
    min-height: 0 !important;
    padding-top: clamp(20px, 3vw, 34px) !important;
    padding-bottom: clamp(20px, 3vw, 34px) !important;
}

body.adhpm-provider-detail .sc_layouts_title_caption,
body.adhpm-provider-detail .top_panel_title .page_title,
body.adhpm-provider-detail .page_title_wrap .page_title {
    margin: 0 !important;
    font-family: "Coconat", serif !important;
    font-size: clamp(28px, 4vw, 44px) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -.025em !important;
}

body.adhpm-provider-detail .breadcrumbs,
body.adhpm-provider-detail .sc_layouts_title_breadcrumbs {
    margin-top: 7px !important;
    font-family: inherit !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase;
}

/* Plugin-managed Dancers use the in-profile hero and should not show the theme title banner, subtitle, or theme breadcrumb area. */
body.adhpm-managed-dancer.adhpm-provider-detail .top_panel_title,
body.adhpm-managed-dancer.adhpm-provider-detail .sc_layouts_title,
body.adhpm-managed-dancer.adhpm-provider-detail .sc_layouts_title.with_bg_image,
body.adhpm-managed-dancer.adhpm-provider-detail .page_title_wrap {
    display: none !important;
}

/* ThemeREX title widgets often sit inside a background-image layout row. Hide the containing row as well, otherwise an empty hero image remains. */
body.adhpm-managed-dancer.adhpm-provider-detail .sc_layouts_row:has(.sc_layouts_title),
body.adhpm-managed-dancer.adhpm-provider-detail .elementor-section:has(.sc_layouts_title),
body.adhpm-managed-dancer.adhpm-provider-detail .e-con:has(.sc_layouts_title),
body.adhpm-managed-dancer.adhpm-provider-detail .vc_row:has(.sc_layouts_title) {
    display: none !important;
}

body.adhpm-managed-dancer.adhpm-provider-detail .post_subtitle,
body.adhpm-managed-dancer.adhpm-provider-detail .page_subtitle,
body.adhpm-managed-dancer.adhpm-provider-detail .sc_item_subtitle,
body.adhpm-managed-dancer.adhpm-provider-detail .sc_layouts_title .post_subtitle,
body.adhpm-managed-dancer.adhpm-provider-detail .sc_layouts_title .sc_item_subtitle,
body.adhpm-managed-dancer.adhpm-provider-detail .page_title_wrap .post_subtitle,
body.adhpm-managed-dancer.adhpm-provider-detail .page_title_wrap .sc_item_subtitle {
    display: none !important;
}


/* v1.4.24: keep managed dancer content close to the site header after removing Choreo's title hero. */
body.adhpm-managed-dancer.adhpm-provider-detail .page_content_wrap {
    padding-top: clamp(2.25rem, 4vw, 3.25rem) !important;
}

/* Keep provider detail typography restrained even when a broad display font is globally assigned to headings. */
body.adhpm-provider-detail main h1,
body.adhpm-provider-detail main h2,
body.adhpm-provider-detail main h3,
body.adhpm-provider-detail .content_wrap h1,
body.adhpm-provider-detail .content_wrap h2,
body.adhpm-provider-detail .content_wrap h3,
body.adhpm-provider-detail .adhpm-dancer-profile h1,
body.adhpm-provider-detail .adhpm-dancer-profile h2,
body.adhpm-provider-detail .adhpm-dancer-profile h3 {
    font-family: "Coconat", serif !important;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

/* Managed Studio: preserve Choreo structure while making the page calmer and more editorial. */
body.adhpm-managed-studio .portfolio_page,
body.adhpm-managed-studio .portfolio_page_details_wrap,
body.adhpm-managed-studio .portfolio_page_content,
body.adhpm-managed-studio .portfolio_page_gallery,
body.adhpm-managed-studio .portfolio_page_video,
body.adhpm-managed-studio .adhpm-public-extension {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

body.adhpm-managed-studio .portfolio_page_featured img,
body.adhpm-managed-studio .portfolio_page_gallery img,
body.adhpm-managed-studio .adhpm-public-gallery img,
body.adhpm-managed-studio .adhpm-public-video iframe,
body.adhpm-managed-studio .adhpm-public-video video {
    border-radius: calc(var(--adhpm-radius) + 4px);
}

body.adhpm-managed-studio .portfolio_page_details_wrap {
    gap: clamp(28px, 5vw, 68px) !important;
    align-items: start;
}

body.adhpm-managed-studio .portfolio_page_details,
body.adhpm-managed-studio .portfolio_page_content {
    font-size: 15px;
    line-height: 1.75;
}

body.adhpm-managed-studio .portfolio_page_details h1,
body.adhpm-managed-studio .portfolio_page_details h2,
body.adhpm-managed-studio .portfolio_page_details h3,
body.adhpm-managed-studio .portfolio_page_content h1,
body.adhpm-managed-studio .portfolio_page_content h2,
body.adhpm-managed-studio .portfolio_page_content h3 {
    margin-bottom: 14px !important;
    font-family: "Coconat", serif !important;
    line-height: 1.08 !important;
    letter-spacing: -.02em !important;
}

body.adhpm-managed-studio .adhpm-public-extension {
    margin-top: clamp(38px, 6vw, 72px);
}

body.adhpm-managed-studio .adhpm-public-extension > h3 {
    margin-bottom: 22px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
}

body.adhpm-managed-studio .adhpm-public-gallery {
    gap: clamp(12px, 2vw, 20px);
}

body.adhpm-managed-studio .adhpm-public-gallery a {
    overflow: hidden;
    border-radius: calc(var(--adhpm-radius) + 4px);
}

body.adhpm-managed-studio .adhpm-public-gallery img {
    transition: transform .3s ease;
}

body.adhpm-managed-studio .adhpm-public-gallery a:hover img {
    transform: scale(1.02);
}

/* Instructor Magazine Story: preserve content, correct scale/spacing and long-heading wrapping. */
body.adhpm-provider-detail--instructor main,
body.adhpm-provider-detail--instructor .page_content_wrap,
body.adhpm-provider-detail--instructor .content_wrap {
    --adhpm-instructor-reading: 1180px;
}

body.adhpm-provider-detail--instructor main h1,
body.adhpm-provider-detail--instructor main h2,
body.adhpm-provider-detail--instructor main h3,
body.adhpm-provider-detail--instructor .content_wrap h1,
body.adhpm-provider-detail--instructor .content_wrap h2,
body.adhpm-provider-detail--instructor .content_wrap h3 {
    font-family: "Coconat", serif !important;
    max-width: 100%;
    line-height: 1.04 !important;
    letter-spacing: -.025em !important;
}

body.adhpm-provider-detail--instructor main h1,
body.adhpm-provider-detail--instructor .content_wrap h1 {
    font-size: clamp(36px, 5vw, 64px) !important;
}

body.adhpm-provider-detail--instructor main h2,
body.adhpm-provider-detail--instructor .content_wrap h2 {
    font-size: clamp(28px, 4vw, 46px) !important;
}

body.adhpm-provider-detail--instructor main h3,
body.adhpm-provider-detail--instructor .content_wrap h3 {
    font-size: clamp(19px, 2.3vw, 28px) !important;
}

body.adhpm-provider-detail--instructor main p,
body.adhpm-provider-detail--instructor .content_wrap p {
    line-height: 1.72;
}

@media (max-width: 720px) {
    body.adhpm-provider-detail .top_panel_title .content_wrap,
    body.adhpm-provider-detail .sc_layouts_title_content,
    body.adhpm-provider-detail .page_title_wrap .content_wrap {
        padding-top: 18px !important;
        padding-bottom: 18px !important;
    }
}

/* v1.4.20: Dancer card TikTok safety icon, including homepage/AJAX/Load More cards. */
.adhpm-dancer-archive-tiktok {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
    vertical-align: middle;
}

.adhpm-dancer-archive-tiktok svg {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.adhpm-dancer-archive-tiktok .social_icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.adhpm-dancer-archive-tiktok .social_icon svg {
    stroke: currentColor !important;
}

.adhpm-dancer-archive-socials-fallback {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.adhpm-dancer-archive-socials-fallback .adhpm-dancer-archive-tiktok {
    width: 34px;
    height: 34px;
    border: 1px solid currentColor;
    border-radius: 50%;
}

/* v1.4.21: Arab Dance Hub Editorial Dancer profile.
 * Scope is intentionally limited to the profile article; the existing booking/contact form is untouched. */
.adhpm-dancer-profile--brand {
    --adhpm-brand-imperial: #660033;
    --adhpm-brand-sand: #EDE9DF;
    --adhpm-brand-periwinkle: #8191EA;
    --adhpm-brand-lime: #D6CE2B;
    --adhpm-brand-black: #000000;
    --adhpm-brand-display: "Coconat Regular", "Coconat", Georgia, serif;
    --adhpm-brand-display-demi: "Coconat Demi", "Coconat", Georgia, serif;
    --adhpm-brand-body: "Montserrat", Arial, sans-serif;
    gap: clamp(32px, 4.5vw, 56px);
    max-width: 1180px;
    color: var(--adhpm-brand-black);
    font-family: var(--adhpm-brand-body);
}

.adhpm-dancer-profile--brand .adhpm-detail-breadcrumb {
    margin-bottom: -14px;
    color: rgba(0, 0, 0, .58);
    font-family: var(--adhpm-brand-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.adhpm-dancer-profile--brand .adhpm-detail-breadcrumb a {
    color: var(--adhpm-brand-imperial);
}

.adhpm-dancer-profile--brand .adhpm-dancer-hero {
    grid-template-columns: minmax(270px, .78fr) minmax(0, 1.22fr);
    gap: clamp(30px, 4.5vw, 54px);
    align-items: center;
}

.adhpm-dancer-profile--brand .adhpm-dancer-hero__media {
    width: min(100%, 400px);
    min-height: 0;
    aspect-ratio: 4 / 5;
    justify-self: start;
    border-radius: clamp(12px, 1.5vw, 20px);
    background: var(--adhpm-brand-sand);
}

.adhpm-dancer-profile--brand .adhpm-dancer-hero__image,
.adhpm-dancer-profile--brand .adhpm-dancer-hero__placeholder {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: 4 / 5;
    border-radius: inherit;
    object-fit: cover;
}

.adhpm-dancer-profile--brand .adhpm-dancer-hero__placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--adhpm-brand-sand), rgba(129, 145, 234, .18));
}

.adhpm-dancer-profile--brand .adhpm-dancer-hero__placeholder span {
    color: var(--adhpm-brand-imperial);
    font-family: var(--adhpm-brand-display-demi);
    font-size: clamp(18px, 2vw, 26px);
    letter-spacing: .035em;
    text-transform: uppercase;
}

.adhpm-dancer-profile--brand .adhpm-dancer-hero__portrait {
    right: -18px;
    bottom: 24px;
    width: 106px;
    height: 106px;
    padding: 5px;
    border: 1px solid rgba(102, 0, 51, .14);
    background: var(--adhpm-brand-sand);
    box-shadow: 0 16px 38px rgba(102, 0, 51, .14);
}

.adhpm-dancer-profile--brand .adhpm-dancer-hero__content {
    max-width: 620px;
}

.adhpm-dancer-profile--brand .adhpm-dancer-hero__eyebrow,
.adhpm-dancer-profile--brand .adhpm-dancer-section-label {
    margin-bottom: 11px;
    color: var(--adhpm-brand-imperial);
    font-family: var(--adhpm-brand-display-demi);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .11em;
    text-transform: uppercase;
}

body.adhpm-provider-detail .adhpm-dancer-profile--brand .adhpm-dancer-hero__content h1 {
    max-width: 680px;
    margin: 0 0 14px;
    color: var(--adhpm-brand-imperial);
    font-family: var(--adhpm-brand-display) !important;
    font-size: clamp(34px, 3.6vw, 48px) !important;
    font-weight: 400 !important;
    line-height: 1.03;
    letter-spacing: -.025em;
    text-transform: uppercase;
}

.adhpm-dancer-profile--brand .adhpm-dancer-hero__intro {
    max-width: 620px;
    margin-bottom: 21px;
    color: rgba(0, 0, 0, .72);
    font-family: var(--adhpm-brand-body);
    font-size: clamp(15px, 1.45vw, 17px);
    font-weight: 400;
    line-height: 1.7;
}

.adhpm-dancer-profile--brand .adhpm-dancer-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(102, 0, 51, .14);
    border-radius: 14px;
    background: var(--adhpm-brand-sand);
}

.adhpm-dancer-profile--brand .adhpm-dancer-facts > div {
    padding: 15px 17px;
    border: 0;
    border-right: 1px solid rgba(102, 0, 51, .12);
    border-bottom: 1px solid rgba(102, 0, 51, .12);
    background: transparent;
}

.adhpm-dancer-profile--brand .adhpm-dancer-facts > div:nth-child(2n) {
    border-right: 0;
}

.adhpm-dancer-profile--brand .adhpm-dancer-facts > div:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.adhpm-dancer-profile--brand .adhpm-dancer-facts dt {
    color: rgba(102, 0, 51, .72);
    font-family: var(--adhpm-brand-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .085em;
}

.adhpm-dancer-profile--brand .adhpm-dancer-facts dd {
    color: var(--adhpm-brand-black);
    font-family: var(--adhpm-brand-body);
    font-size: 14px;
    font-weight: 500;
}

.adhpm-dancer-profile--brand .adhpm-dancer-hero__rate {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    margin: 20px 0 0;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--adhpm-brand-black);
    background: var(--adhpm-brand-lime);
    font-family: var(--adhpm-brand-body);
    font-size: 15px;
    font-weight: 600;
}

.adhpm-dancer-profile--brand .adhpm-dancer-hero__rate span {
    color: rgba(0, 0, 0, .64);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .09em;
}

.adhpm-dancer-profile--brand .adhpm-dancer-socials {
    gap: 9px;
    margin-top: 20px;
}

.adhpm-dancer-profile--brand .adhpm-dancer-socials a {
    width: 40px;
    height: 40px;
    border-color: rgba(102, 0, 51, .24);
    color: var(--adhpm-brand-imperial);
    background: transparent;
}

.adhpm-dancer-profile--brand .adhpm-dancer-socials a:hover {
    border-color: var(--adhpm-brand-periwinkle);
    color: var(--adhpm-brand-imperial);
    background: rgba(129, 145, 234, .13);
}

.adhpm-dancer-profile--brand .adhpm-dancer-biography {
    grid-template-columns: minmax(115px, .22fr) minmax(0, 1fr);
    gap: clamp(24px, 3.5vw, 42px);
    padding: clamp(28px, 3.8vw, 42px);
    border: 0;
    border-radius: 18px;
    background: var(--adhpm-brand-sand);
}

.adhpm-dancer-profile--brand .adhpm-dancer-biography__content {
    color: rgba(0, 0, 0, .78);
    font-family: var(--adhpm-brand-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.78;
}

.adhpm-dancer-profile--brand .adhpm-dancer-additional-styles {
    grid-column: 2;
    gap: 10px 18px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(102, 0, 51, .16);
    color: var(--adhpm-brand-imperial);
    font-family: var(--adhpm-brand-body);
}

.adhpm-dancer-profile--brand .adhpm-dancer-additional-styles strong {
    font-family: var(--adhpm-brand-display-demi);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .075em;
}

.adhpm-dancer-profile--brand .adhpm-dancer-additional-styles span {
    color: rgba(0, 0, 0, .76);
}

body.adhpm-provider-detail .adhpm-dancer-profile--brand .adhpm-dancer-gallery > h3,
body.adhpm-provider-detail .adhpm-dancer-profile--brand .adhpm-dancer-showreel > h3 {
    margin: 0 0 18px;
    color: var(--adhpm-brand-imperial);
    font-family: var(--adhpm-brand-display-demi) !important;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 600 !important;
    line-height: 1.08;
    letter-spacing: -.015em;
    text-transform: uppercase;
}

.adhpm-dancer-profile--brand .adhpm-dancer-showreel {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.adhpm-dancer-profile--brand .adhpm-dancer-showreel iframe,
.adhpm-dancer-profile--brand .adhpm-dancer-showreel video {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 16px;
    background: var(--adhpm-brand-black);
}

.adhpm-dancer-profile--brand .adhpm-dancer-showreel > p {
    max-width: 720px;
    margin: 13px 0 0;
    color: rgba(0, 0, 0, .64);
    font-family: var(--adhpm-brand-body);
    font-size: 13px;
    line-height: 1.65;
}

.adhpm-dancer-profile--brand .adhpm-dancer-gallery .adhpm-public-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 18px;
    column-gap: 18px;
    column-count: initial;
}

.adhpm-dancer-profile--brand .adhpm-dancer-gallery .adhpm-public-gallery a {
    display: block;
    aspect-ratio: 4 / 5;
    margin: 0;
    overflow: hidden;
    break-inside: auto;
    border-radius: 14px;
    background: var(--adhpm-brand-sand);
}

.adhpm-dancer-profile--brand .adhpm-dancer-gallery .adhpm-public-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform .32s ease, filter .32s ease;
}

.adhpm-dancer-profile--brand .adhpm-dancer-gallery .adhpm-public-gallery a:hover img {
    transform: scale(1.025);
    filter: saturate(1.04);
}

.adhpm-dancer-profile--brand .adhpm-owner-completion-prompt {
    border-color: rgba(102, 0, 51, .14);
    background: rgba(237, 233, 223, .72);
    font-family: var(--adhpm-brand-body);
}

@media (max-width: 900px) {
    .adhpm-dancer-profile--brand .adhpm-dancer-hero {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .adhpm-dancer-profile--brand .adhpm-dancer-hero__media {
        width: min(100%, 520px);
        justify-self: center;
    }

    .adhpm-dancer-profile--brand .adhpm-dancer-hero__content {
        max-width: 760px;
    }

    .adhpm-dancer-profile--brand .adhpm-dancer-gallery .adhpm-public-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .adhpm-dancer-profile--brand {
        gap: 38px;
    }

    .adhpm-dancer-profile--brand .adhpm-detail-breadcrumb {
        margin-bottom: -4px;
    }

    .adhpm-dancer-profile--brand .adhpm-dancer-hero {
        gap: 26px;
    }

    .adhpm-dancer-profile--brand .adhpm-dancer-hero__media {
        width: min(100%, 420px);
    }

    .adhpm-dancer-profile--brand .adhpm-dancer-hero__portrait {
        right: 14px;
        bottom: 14px;
        width: 88px;
        height: 88px;
    }

    body.adhpm-provider-detail .adhpm-dancer-profile--brand .adhpm-dancer-hero__content h1 {
        font-size: clamp(32px, 10vw, 40px) !important;
    }

    .adhpm-dancer-profile--brand .adhpm-dancer-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .adhpm-dancer-profile--brand .adhpm-dancer-biography {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 26px 22px;
    }

    .adhpm-dancer-profile--brand .adhpm-dancer-additional-styles {
        grid-column: 1;
    }

    .adhpm-dancer-profile--brand .adhpm-dancer-gallery .adhpm-public-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (max-width: 390px) {
    .adhpm-dancer-profile--brand .adhpm-dancer-facts {
        grid-template-columns: 1fr;
    }

    .adhpm-dancer-profile--brand .adhpm-dancer-facts > div,
    .adhpm-dancer-profile--brand .adhpm-dancer-facts > div:nth-child(2n),
    .adhpm-dancer-profile--brand .adhpm-dancer-facts > div:nth-last-child(-n + 2) {
        border-right: 0;
        border-bottom: 1px solid rgba(102, 0, 51, .12);
    }

    .adhpm-dancer-profile--brand .adhpm-dancer-facts > div:last-child {
        border-bottom: 0;
    }

    .adhpm-dancer-profile--brand .adhpm-dancer-gallery .adhpm-public-gallery {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .adhpm-dancer-profile--brand .adhpm-dancer-gallery .adhpm-public-gallery a {
        width: min(100%, 280px);
    }
}

/* v1.4.25 / Core 1.0.8: keep the repaired TikTok SVG visually consistent with
 * Choreo's white social icons on Dancer card image overlays (archive + homepage). */
.sc_team_item_socials .adhpm-dancer-archive-tiktok,
.trx_addons_hover_info .adhpm-dancer-archive-tiktok {
    color: #fff !important;
}

.sc_team_item_socials .adhpm-dancer-archive-tiktok .social_icon,
.sc_team_item_socials .adhpm-dancer-archive-tiktok svg,
.trx_addons_hover_info .adhpm-dancer-archive-tiktok .social_icon,
.trx_addons_hover_info .adhpm-dancer-archive-tiktok svg {
    color: #fff !important;
    stroke: #fff !important;
}


/* ADH Core 1.0.10 UI fixes */
.adhpm-provider-form select:hover,
.adhpm-provider-form select:focus,
.adhpm-instructor-application select:hover,
.adhpm-instructor-application select:focus,
.wpcf7 select:hover,
.wpcf7 select:focus {
    border-color: var(--adhpm-primary) !important;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--adhpm-primary) 18%, transparent);
    outline: none;
}

.adhpm-social-links,
.adhpm-profile-public .adhpm-social-links,
.adhpm-archive .adhpm-social-links {
    display: none !important;
}

.adhpm-field--duration,
.adhpm-booking-duration {
    max-width: 170px;
}

.adhpm-booking-duration select {
    width: 100%;
}

.adhpm-studio-register label,
.adhpm-provider-register label {
    color: var(--adhpm-ink);
}

.adhpm-studio-register input::placeholder,
.adhpm-studio-register textarea::placeholder,
.adhpm-provider-register input::placeholder,
.adhpm-provider-register textarea::placeholder {
    color: #7a8797;
}

.adhpm-studio-register input[type="checkbox"],
.adhpm-studio-register input[type="checkbox"]:checked {
    accent-color: var(--adhpm-primary);
}
