/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

.ms-loop-card{position:relative;overflow:hidden;border-radius:4px}
.model-card { position:relative;}
.model-card::after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent,#0009);
  border-radius: 4px;
  pointer-events: none;
}
.ms-loop-photo img{height:405px;width:100%;object-fit:cover;object-position:center 25%}
.ms-loop-title{position:absolute!important;bottom:24px;left:0;width:100%;z-index:2;text-shadow:0 2px 10px #000}
.ms-loop-card .ms-code-helper{display:none!important}



.ms-content {
    background:#191919;
    color:#fff;
    overflow:hidden;
}

.ms-content .elementor-heading-title {
    color:inherit;
}

.ms-content .ms-code-helper {
    display:none!important;
}

.ms-content a {
    color:inherit;
}

.ms-hero {
    position:relative;
    min-height:790px;
    isolation:isolate;
    overflow:hidden;
    background:#171716;
}

.ms-hero-visual {
    position:absolute!important;
    right:0;
    top:0;
    width:67%!important;
    height:100%;
    min-height:100%;
    filter:grayscale(1) brightness(.72);
    mask-image:linear-gradient(90deg,transparent,#000 32%),linear-gradient(0deg,transparent,#000 20%);
    mask-composite:intersect;
}

.ms-hero-copy {
    position:relative;
    z-index:2;
    width:80%;
    padding:150px 0 90px 10vw!important;
}

.ms-hero h1 {
    letter-spacing:-3px;
}

.ms-hero .elementor-button {
    line-height:1.5;
}

.ms-section-title {
    display:flex;
    justify-content:center;
    align-items:center;
    gap:32px;
}

.ms-section-title:before,.ms-section-title:after {
    content:'';
    width:13vw;
    height:1px;
    background:#b69b52;
}

.ms-section-title .elementor-widget-container {
    flex-shrink:0;
}

.ms-welcome-photo img {
    filter:grayscale(1);
    border-radius:3px;
}

.ms-model-carousel .e-loop-item {
    overflow:hidden;
    border-radius:4px;
}

.ms-loop-card {
    position:relative;
    overflow:hidden;
}

.ms-loop-card .ms-loop-photo {
    width:100%;
}

.ms-loop-card .ms-loop-photo img {
    width:100%;
    height:405px;
    object-fit:cover;
    object-position:50% 25%;
    border-radius:4px;
}

.ms-loop-title {
    position:absolute!important;
    bottom:24px;
    left:0;
    width:100%;
    z-index:2;
    text-shadow:0 2px 10px #000;
}

.ms-join {
    position:relative;
    isolation:isolate;
}

.ms-join:before {
    z-index:-1;
}

.ms-top-model {
    position:relative;
    height:610px;
    isolation:isolate;
    overflow:hidden;
}

.ms-top-photo {
    position:absolute!important;
    width:40%!important;
    left:15%;
    top:0;
    opacity:0;
    transition:opacity .35s;
    pointer-events:none;
}

.ms-top-photo img {
    height:610px!important;
    width:100%;
    object-fit:cover;
    filter:saturate(.55);
    mask-image:linear-gradient(90deg,transparent,#000 18%,#000 75%,transparent),linear-gradient(0deg,transparent,#000 18%);
    mask-composite:intersect;
}

.ms-top-photo.is-active {
    opacity:1;
}

.ms-top-content {
    position:relative;
    z-index:3;
    margin-left:31%;
    width:38%!important;
    padding-top:95px!important;
    text-align:center;
    align-items:center;
}

.ms-top-content .elementor-heading-title {
    text-align:center;
}

.ms-top-content .ms-top-kicker {
    margin-bottom:30px;
}

.ms-top-name .elementor-button {
    font:400 48px/1.08 Georgia,serif!important;
    padding:0!important;
    background:none!important;
    border:0!important;
    color:white!important;
    letter-spacing:0!important;
}

.ms-top-name.is-active .elementor-button,.ms-top-name .elementor-button:hover {
    color:#ffcc46!important;
}

.ms-top-controls {
    position:absolute!important;
    top:230px;
    right:20%;
    width:44px!important;
    z-index:4;
}

.ms-top-controls .elementor-button {
    width:44px;
    height:44px;
    padding:12px 0!important;
    background:white!important;
    color:#171717!important;
    border:0!important;
    letter-spacing:0!important;
}

.ms-top-names {
    gap:0!important;
}

.ms-posts .elementor-post {
    background:#fff;
    padding:36px 22px;
    border-radius:3px;
    text-align:center;
    min-height:205px;
}

.ms-posts .elementor-post__title a {
    font:400 18px/1.3 Georgia,serif!important;
    color:#111!important;
}

.ms-posts .elementor-post__meta-data {
    font:8px Arial!important;
    letter-spacing:2px;
    color:#bd9126!important;
}

.ms-posts .elementor-post__text {
    width:100%;
}

.ms-posts .elementor-post__read-more {
    font:8px Arial!important;
    letter-spacing:2px;
    color:#111!important;
}

.ms-faq .elementor-accordion-item {
    border:0!important;
    border-bottom:1px solid #ffffff25!important;
}

.ms-faq .elementor-tab-title {
    padding:22px 0!important;
}

.ms-faq .elementor-tab-content {
    padding:0 0 22px!important;
    border:0!important;
}

.ms-faq .elementor-accordion-title {
    font:400 21px Georgia!important;
}

.ms-faq .elementor-accordion-icon {
    color:#ffcc46;
}

.elementor-editor-active .ms-top-name .elementor-button {
    pointer-events:auto;
}

@media(max-width:1024px) {
    .ms-top-content {
        margin-left:35%;
        width:45%!important;
    }

    .ms-top-photo {
        left:2%;
        width:55%!important;
    }

    .ms-top-controls {
        right:7%;
    }

    .ms-top-name .elementor-button {
        font-size:50px!important;
    }

}

@media(max-width:767px) {
    .ms-hero {
        min-height:610px;
    }

    .ms-hero-visual {
        width:100%!important;
        opacity:.7;
    }

    .ms-hero-copy {
        width:100%;
        padding:230px 25px 60px!important;
    }

    .ms-hero h1 {
        font-size:60px!important;
    }

    .ms-section-title {
        gap:15px;
    }

    .ms-top-model {
        height:530px;
    }

    .ms-top-photo {
        width:75%!important;
        left:-15%;
        opacity:0;
    }

    .ms-top-photo.is-active {
        opacity:.75;
    }

    .ms-top-photo img {
        height:530px!important;
    }

    .ms-top-content {
        margin-left:27%;
        width:68%!important;
        padding-top:85px!important;
    }

    .ms-top-name .elementor-button {
        font-size:28px!important;
    }

    .ms-top-controls {
        top:auto;
        bottom:22px;
        right:25px;
        width:auto!important;
        flex-direction:row!important;
    }

    .ms-posts .elementor-post {
        padding:27px 15px;
        min-height:225px;
    }

    .ms-posts .elementor-post__title a {
        font-size:17px!important;
    }

    .ms-loop-card .ms-loop-photo img {
        height:390px;
    }

    .ms-faq .elementor-accordion-title {
        font-size:18px!important;
    }

}


/* Top Model：固定展示区域 */
.ms-top-model {
    position: relative !important;
    height: 610px !important;
    min-height: 610px !important;
    overflow: hidden !important;
    isolation: isolate;
}

.ms-top-model > .e-con-inner {
    position: static !important;
    width: 100%;
    height: 100%;
}

/* 所有照片叠放在同一个位置 */
.ms-top-model .ms-top-photo {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 8% !important;
    right: auto !important;
    width: 55% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 1;
    transition: opacity 0.35s ease;
}

.ms-top-model .ms-top-photo.is-active {
    opacity: 1 !important;
    visibility: visible !important;
}

.ms-top-model .ms-top-photo > .elementor-widget-container,
.ms-top-model .ms-top-photo a,
.ms-top-model .ms-top-photo picture {
    display: block;
    width: 100%;
    height: 100%;
}

/* contain：完整显示人物，避免强制裁切 */
.ms-top-model .ms-top-photo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
}

/* 姓名区域 */
.ms-top-model .ms-top-content {
    position: absolute !important;
    top: 0 !important;
    left: 42% !important;
    width: 40% !important;
    margin: 0 !important;
    padding: 95px 0 0 !important;
    z-index: 3;
}

.ms-top-model .ms-top-names {
    flex-direction: column !important;
    gap: 0 !important;
}

/* 右侧切换按钮 */
.ms-top-model .ms-top-controls {
    position: absolute !important;
    top: 230px !important;
    right: 12% !important;
    bottom: auto !important;
    width: 44px !important;
    margin: 0 !important;
    z-index: 5;
}

/* 没有姓名按钮时，照片居中 */
.ms-top-model.ms-photo-only .ms-top-photo {
    left: 20% !important;
    width: 60% !important;
}

@media (max-width: 767px) {
    .ms-top-model {
        height: 530px !important;
        min-height: 530px !important;
    }

    .ms-top-model .ms-top-photo {
        left: -10% !important;
        width: 85% !important;
    }

    .ms-top-model .ms-top-content {
        left: 35% !important;
        width: 60% !important;
        padding-top: 85px !important;
    }

    .ms-top-model .ms-top-controls {
        top: auto !important;
        bottom: 22px !important;
        right: 25px !important;
        width: auto !important;
        flex-direction: row !important;
    }

    .ms-top-model.ms-photo-only .ms-top-photo {
        left: 5% !important;
        width: 90% !important;
    }
}





/*##############################################*/
@media (max-width: 1024px){}

@media(max-width:767px){
    .ms-loop-photo img{height:390px}
}

@media (max-width: 580px){}

@media (max-width:480px){}

@media (max-width: 360px){}