html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  scroll-snap-type: y proximity;
}

section {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

section.content-section {
    padding: 5% 5%;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

section.what-next {
    padding: 5% 5%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

section.full-width{
    width: 100%;
}

section.full-width img {
    width: 100%;
    aspect-ratio: 16 / 9;
}

section.full-width video {
    width: 100%;
    min-height: 100vh;
    height: 100vh;
    -o-object-fit: cover;
    object-fit: cover;    
    display: block;
}

section.full-width.snap {
  scroll-snap-align: start;
}

.header-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.work-tag {
    display: flex;
    gap: 1rem;
}

.work-tag span {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    /* background: #8080804F; */
    background: transparent;
    border: 1px solid var(--white, #FFF);
    color: var(--text-white);
    font-size: 1rem;
}

.header-banner {
    width: 100%;
    height: auto;
}

.header-banner img {
    width: 100%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
    aspect-ratio: 19 / 9;
    border-radius: 20px;
}

.header-content {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 5rem;
    margin-top: 2rem;
}

.header-content-detail {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.header-content-detail p {
    color: var(--text-white);
    font-weight: 400;
    font-size: 1rem;
}

.header-content-role {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.header-content-role span {
    color: var(--text-white);
    font-weight: 400;
    font-size: 1rem;
}

.header-content-role span.head {
    font-weight: 600;
}

.header-content-visit {
    padding: 0 5rem;
}

.header-content-visit a{
    display: flex;
    flex-direction: row;
    text-decoration: none;
    scale: 1;
    background: transparent;
    border: 1px solid var(--white);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.header-content-visit a:hover {
    /* scale: 1.2; */
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.header-content-visit span {
    color: var(--text-white);
    font-weight: 400;
    font-size: 1rem;
}

.header-content-visit svg path{
    fill: var(--text-white);
    width: 0.75rem;
    height: 0.75rem;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.content-detail {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
}

.content-detail.more {
    grid-template-columns: 1fr;
}

.content-detail span {
    color: var(--text-white);
    font-weight: 700;
    font-size: clamp(1.5rem, calc(2.25vw + 0.01rem), 2.25rem);
}

.content-detail p {
    color: var(--text-white);
    font-weight: 300;
    font-size: 1rem;
}

.content-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.content-showcase video, .content-showcase img {
    width: calc(50% - 1rem);
    height: auto;
    aspect-ratio: 1 / 1;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 20px;
}

.content-showcase video, .content-showcase img:first-child {
    width: 100%;
    aspect-ratio: 2 / 1;
}

.content-showcase.more img:first-child {
    aspect-ratio: 1 / 1;
    width: calc(50% - 1rem);
}

.what-next-container {
    padding: 0 0 3% 0;
}

.what-next-container h2 {
    font-size: clamp(1.5rem, calc(2.25vw + 0.01rem), 2.25rem);
    color: var(--text-white);
}

.what-next-group {
    width: 100%;
    height: auto;
    /* overflow-x: auto; */
    scrollbar-width: none;
}
.what-next-group::-webkit-scrollbar {
        display: none;
    }

.what-next-warpper {
    --width: 100%;
    --gap: 2rem;
    display: flex;
    flex-direction: row;
    gap: var(--gap);
    width: var(--width);
}

.work-card a:hover .card-media img {
    object-position: center 10px !important;
}

@media screen and (max-width: 1399px) {
    .what-next-warpper {--gap: 1rem;}
}
@media screen and (max-width: 1199px) {
    section.full-width video {
        aspect-ratio: 16 / 9;
        height: auto;
        min-height: unset;
    }

    /* .what-next-warpper {--width:250vw;} */
}
@media screen and (max-width: 991px) {

    section { margin-top: 1.5rem; margin-bottom: 1.5rem; }

    section.content-section {gap: 2rem;}

    .header-content {
        grid-template-columns: 1fr 1fr;
        column-gap: 2rem;
        row-gap: 2rem;
        margin-top: 0;
    }

    .header-content-detail {grid-column: span 2;}
    .header-content-visit {padding: 0;}

    .content { gap: 1rem;}

    .content-detail {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .what-next-warpper {flex-direction: column;}

    .content-showcase {gap: 1rem;}

    .content-showcase video, .content-showcase img {
        width: calc(50% - 0.5rem);
        border-radius: 10px;
    }

    .content-showcase video, .content-showcase img:first-child {
        width: 100%;
        aspect-ratio: 2 / 1;
    }

    .content-showcase.more img:first-child {
        aspect-ratio: 1 / 1;
        width: calc(50% - 0.5rem);
    }

    /* .what-next-warpper {--width:350vw;} */
}
@media screen and (max-width: 767px) {
    /* .what-next-warpper {--width:400vw;} */
}
@media screen and (max-width: 575px) {
    /* .what-next-warpper {--width:450vw;} */
}