/* LDJ Leader Bio - Public Styles (Mobile Card) */

/*@font-face {
    font-family: "Noto Sans TC";
    src: url("../fonts/NotoSansTC/NotoSansTC-VariableFont_wght.ttf") format("truetype");
    font-style: normal;
    font-display: swap;
}*/
@font-face {
    font-family: "Noto Serif SC";
    src: url("../fonts/NotoSerifSC/NotoSerifSC-Regular.ttf") format("truetype");
    font-style: normal;
    font-display: swap;
    font-weight: 400;
}
@font-face {
    font-family: "Noto Serif SC";
    src: url("../fonts/NotoSerifSC/NotoSerifSC-Bold.ttf") format("truetype");
    font-style: normal;
    font-display: swap;
    font-weight: 700;
}
@font-face {
    font-family: "Noto Serif TC";
    src: url("../fonts/NotoSerifTC/NotoSerifTC-Regular.ttf") format("truetype");
    font-style: normal;
    font-display: swap;
    font-weight: 400;
}
@font-face {
    font-family: "Noto Serif TC";
    src: url("../fonts/NotoSerifTC/NotoSerifTC-Bold.ttf") format("truetype");
    font-style: normal;
    font-display: swap;
    font-weight: 700;
}
@font-face {
    font-family: "Trajan";
    src: url("../fonts/Trajan/SFUTrajanRegular_0.TTF") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Trajan";
    src: url("../fonts/Trajan/SFUTrajanBold_0.TTF") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Trajan";
    src: url("../fonts/Trajan/Trajan-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Beautique Display";
    src: url("../fonts/Beautique_Display/BeautiqueDisplay-Black.otf") format("opentype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Beautique Display";
    src: url("../fonts/Beautique_Display/BeautiqueDisplay-BlackItalic.otf") format("opentype");
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Beautique Display";
    src: url("../fonts/Beautique_Display/BeautiqueDisplay-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Beautique Display";
    src: url("../fonts/Beautique_Display/BeautiqueDisplay-BoldItalic.otf") format("opentype");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Beautique Display";
    src: url("../fonts/Beautique_Display/BeautiqueDisplay-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Beautique Display";
    src: url("../fonts/Beautique_Display/BeautiqueDisplay-MediumItalic.otf") format("opentype");
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Beautique Display";
    src: url("../fonts/Beautique_Display/BeautiqueDisplay-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Beautique Display";
    src: url("../fonts/Beautique_Display/BeautiqueDisplay-Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Beautique Display";
    src: url("../fonts/Beautique_Display/BeautiqueDisplay-LightItalic.otf") format("opentype");
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Beautique Display";
    src: url("../fonts/Beautique_Display/BeautiqueDisplay-Italic.otf") format("opentype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
:root {
    --ldj-maroon: rgba(137, 24, 26, 1);
    --ldj-maroon-2: #8a141b;
    --ldj-text: #000;
    --ldj-muted: #6b7280;
    --ldj-cream: rgba(249, 240, 233, 1);
    --ldj-border: #e9d6d6;
    --ldj-border-maroon: rgba(137, 24, 26, 1);
}

body.ldj-profile-standalone {
    margin: 0 !important;
}

body.ldj-profile-standalone #wpadminbar {
    display: none !important;
}

body.single-leader_profile {
    background: var(--ldj-cream);
    font-family: "Beautique Display", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif !important;
}

body[data-lang="zh-cn"].single-leader_profile [data-i18n-scan="text"],
body[data-lang="zh-cn"].single-leader_profile .ldj-name {
    font-family: "Noto Serif SC", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif !important;
}


body[data-lang="zh-hant"].single-leader_profile [data-i18n-scan="text"],
body[data-lang="zh-hant"].single-leader_profile .ldj-name {
    font-family: "Noto Serif TC", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif !important;
}

.d-none {
    display: none !important;
}

/* Wrapper:max 390,center top */
.ldj-profile-page {
    max-width: 420px;
    margin: 0 auto;
    padding: 0;
}

/* Card */
.ldj-card-shell {
    overflow: hidden;
    background: transparent;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .12);
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Banner */
.ldj-banner {
    height: 196px;
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);

}

.ldj-content {
    position: relative;
    padding: 90px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Logo circle overlaps banner and content */
.ldj-logo-wrap {
    position: absolute;
    left: 50%;
    top: 114px;
    transform: translateX(-50%);
    width: 159px;
    height: 159px;
    border-radius: 999px;
    background: rgba(249, 240, 233, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}
.ldj-logo {
    position: relative;
    width: 145px;
    height: 145px;
    border-radius: 999px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}
.ldj-logo img {
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    object-fit: cover;
    display: block;
}

/* Header text */
.ldj-name {
    position: relative;
    z-index: 2;
    margin: 0;
    text-align: center;
    font-size: 40px;
    font-family: "Trajan", sans-serif;
    line-height: 100%;
    letter-spacing: .5px;
    color: var(--ldj-maroon);
    font-weight: 700;
    text-transform: uppercase;
}
.ldj-title {
    position: relative;
    z-index: 2;
    margin: 6px 0 0 0;
    text-align: center;
    color: #000;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1.1px;
}

/* Contact list */
.ldj-contacts {
    position: relative;
    z-index: 2;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 12px;
}
.ldj-contact-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px 8px 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--ldj-border-maroon);
    text-decoration: none;
    color: var(--ldj-maroon);
    backdrop-filter: blur(2.5px);
}
.ldj-contact-item:hover {
    background: rgba(255, 255, 255, .9);
}
.ldj-contact-btn{
    appearance: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}
.ldj-contact-btn:focus{
    outline: none;
}
.ldj-contact-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.ldj-contact-label {
    font-family: "Beautique Display", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--ldj-maroon);
    line-height: 21px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}
.ldj-contact-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--ldj-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ldj-contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Footer WYSIWYG */
.ldj-footer {
    position: relative;
    z-index: 2;
    margin-top: auto;
    margin-bottom: 16px;
    padding-top: 44px;
    color: #000;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}
/* Footer WYSIWYG */
.ldj-footer a {
    font-weight: 900;
    font-size: 20px;
    color: var(--ldj-maroon);
    text-decoration: none;
}
.ldj-brochure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding-bottom: 24px;
}

.ldj-brochure img {
    height: 30px;
    width: auto;
    max-width: 100%;
}

.ldj-toast {
    position: fixed;
    right: 16px;
    bottom: 16px;
    background: var(--ldj-maroon);
    color: #fff;
    padding: 10px 12px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    font-size: 14px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease;
    z-index: 99999;
}
.ldj-toast.is-show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 340px){
    .ldj-name {
        font-size: 32px;
    }
    .ldj-brochure {
        flex-direction: column;
    }
    .ldj-contacts {
        padding: 0;
    }
}

.ldj-langbar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 0 12px;
}
.ldj-langbtn {
	font-family: "Beautique Display", system-ui, -apple-system, "Segoe UI", Roboto, 	"Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif !important;
    appearance: none;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, 1);
    color: var(--ldj-maroon);
    padding: 6px 8px;
    border-radius: 999px;
    font-weight: 400;
    font-size: 10px;
    cursor: pointer;
    transition: transform .08s ease, background .15s ease, border-color .15s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}
.ldj-langbtn[data-ldj-lang="zh-cn"] {
    font-family: "Noto Serif SC", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif !important;
}
.ldj-langbtn[data-ldj-lang="zh-hant"] {
    font-family: "Noto Serif TC", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif !important;
}
.ldj-langbtn:active {
    transform: scale(1);
}
.ldj-langbtn.is-active {
    background: #fff;
    border-color: rgb(115 14 16);
}
.ldj-profile-3584 .ldj-name {
    font-size: 34px;
}