/*======================================================================

MC-18
VIDEO SECTION

Version : 1.0

======================================================================*/

.ms-video-section{

    position:relative;

    overflow:hidden;

    background:var(--ms-bg);

    padding:140px 0;

}

.ms-video-section::before{

    content:"";

    position:absolute;

    inset:0;

    pointer-events:none;

    background:

    radial-gradient(

        circle at top left,

        rgba(197,165,114,.05),

        transparent 60%

    ),

    radial-gradient(

        circle at bottom right,

        rgba(197,165,114,.04),

        transparent 55%

    );

}

.ms-video-section-layout{

    position:relative;

    z-index:2;

}

.ms-video-section-header{

    max-width:760px;

    margin:0 auto 96px;

    text-align:center;

}

.ms-video-section-title{

    color:var(--ms-white);

    font-size:clamp(36px,5vw,56px);

    font-weight:700;

    line-height:1.08;

    letter-spacing:-.02em;

    margin-bottom:28px;

}

.ms-video-section-description{

    max-width:720px;

    margin:0 auto;

    color:var(--ms-text-soft);

    font-size:clamp(16px,2vw,19px);

    line-height:1.9;

}

.ms-video-wrapper{

    position:relative;

    width:100%;

    max-width:1100px;

    margin:0 auto;

}

.ms-video-card{

    position:relative;

    overflow:hidden;

    border:1px solid var(--ms-border);

    border-radius:32px;

    background:var(--ms-surface);

    transition:

        transform .45s ease,

        border-color .45s ease,

        box-shadow .45s ease;

}

.ms-video-card:hover{

    transform:translateY(-8px);

    border-color:rgba(197,165,114,.35);

    box-shadow:0 24px 52px rgba(0,0,0,.30);

}

.ms-video-frame{

    position:relative;

    aspect-ratio:16/9;

    overflow:hidden;

    background:#161c1d;

}

.ms-video-frame iframe,

.ms-video-frame video{

    width:100%;

    height:100%;

    display:block;

    border:0;

}

.ms-video-overlay{

    position:absolute;

    inset:0;

    display:flex;

    align-items:center;

    justify-content:center;

    background:

    linear-gradient(

        180deg,

        rgba(0,0,0,.08),

        rgba(0,0,0,.35)

    );

    pointer-events:none;

}

.ms-video-play{

    display:flex;

    align-items:center;

    justify-content:center;

    width:96px;

    height:96px;

    border-radius:50%;

    background:rgba(13,17,17,.82);

    border:1px solid rgba(197,165,114,.25);

    backdrop-filter:blur(12px);

    color:var(--ms-gold);

    transition:

        transform .35s ease,

        background .35s ease;

}

.ms-video-card:hover .ms-video-play{

    transform:scale(1.08);

    background:rgba(197,165,114,.10);

}

.ms-video-play svg{

    width:34px;

    height:34px;

    fill:currentColor;

}

.ms-video-content{

    display:flex;

    flex-direction:column;

    padding:38px;

}

.ms-video-badge{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    align-self:flex-start;

    padding:10px 18px;

    margin-bottom:22px;

    border-radius:999px;

    background:rgba(197,165,114,.08);

    border:1px solid rgba(197,165,114,.18);

    color:var(--ms-gold);

    font-size:13px;

    font-weight:600;

    letter-spacing:.08em;

    text-transform:uppercase;

}

.ms-video-title{

    color:var(--ms-white);

    font-size:clamp(28px,3vw,38px);

    font-weight:700;

    line-height:1.20;

    margin-bottom:18px;

}

.ms-video-description{

    color:var(--ms-text-soft);

    font-size:clamp(16px,1.8vw,18px);

    line-height:1.9;

    display:-webkit-box;

    -webkit-box-orient:vertical;

    -webkit-line-clamp:4;

    overflow:hidden;

    min-height:calc(1.9em * 4);

}

.ms-video-spacer{

    flex:1;

    min-height:24px;

}

.ms-video-link{

    display:inline-flex;

    align-items:center;

    gap:10px;

    align-self:flex-start;

    margin-top:auto;

    color:var(--ms-gold);

    font-size:15px;

    font-weight:600;

    text-decoration:none;

    transition:

        color .30s ease,

        transform .30s ease;

}

.ms-video-link svg{

    width:16px;

    height:16px;

    transition:transform .30s ease;

}

.ms-video-link:hover{

    color:var(--ms-white);

}

.ms-video-link:hover svg{

    transform:translateX(5px);

}

.ms-video-footer{

    display:flex;

    justify-content:center;

    margin-top:80px;

}

.ms-video-all{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    padding:16px 36px;

    border-radius:999px;

    border:1px solid rgba(197,165,114,.20);

    background:transparent;

    color:var(--ms-gold);

    font-size:15px;

    font-weight:600;

    text-decoration:none;

    transition:

        background .35s ease,

        border-color .35s ease,

        color .35s ease,

        transform .35s ease;

}

.ms-video-all:hover{

    background:rgba(197,165,114,.08);

    border-color:rgba(197,165,114,.35);

    color:var(--ms-white);

    transform:translateY(-2px);

}

@media (max-width:1024px){

    .ms-video-section{

        padding:110px 0;

    }

    .ms-video-section-header{

        margin-bottom:72px;

    }

    .ms-video-content{

        padding:32px;

    }

}

@media (max-width:767px){

    .ms-video-section{

        padding:84px 0;

    }

    .ms-video-section-header{

        margin-bottom:48px;

    }

    .ms-video-content{

        padding:24px;

    }

    .ms-video-play{

        width:72px;

        height:72px;

    }

    .ms-video-play svg{

        width:26px;

        height:26px;

    }

    .ms-video-footer{

        margin-top:56px;

    }

    .ms-video-all{

        width:100%;

        justify-content:center;

    }

}

.ms-video-link:focus-visible,
.ms-video-all:focus-visible{

    outline:2px solid var(--ms-gold);

    outline-offset:4px;

}
