/*==========================
BLOG SECTION
==========================*/

.blog_1i{
    background:#fff;
    border-radius:.5rem;
    overflow:hidden;
    box-shadow:0 .125rem .25rem rgba(0,0,0,.075);
}

.blog_1i img{
    width:100%;
    display:block;
}

.blog_1i2{
    padding:1.5rem;
}

.blog_1i2 h5{
    margin-bottom:1rem;
}

.blog_1i2 p{
    color:#6c757d;
}

.blog_1i h5 a{
    color:#212529;
    text-decoration:none;
}

.blog_1i h5 a:hover{
    color:#fd7e14;
}

.blog_1i .button{
    display:inline-block;
    margin-top:1rem;
}

.blog_1i .rounded-circle{
    object-fit:cover;
}

.center_home{
    position:relative;
    height:100vh;
    overflow:hidden;
}

.youtube-video{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:-2;
    overflow:hidden;
}

.youtube-video iframe{
    position:absolute;
    top:50%;
    left:50%;
    width:100vw;
    height:56.25vw;
    min-width:177.77vh;
    min-height:100vh;
    transform:translate(-50%,-50%);
    pointer-events:none;
}

.bg_back{
    position:absolute;
    inset:0;
    /* background:rgba(0,0,0,.45); */
    z-index:-1;
}

.hero-content{
    max-width:550px;
    background:#9c3f12;
    color:#fff;
    padding:30px;
}

.hero-content h1{
    font-size:48px;
    font-weight:700;
}

.hero-content p{
    margin-top:15px;
}
/* Mobile */
@media (max-width:768px){

    .container.position-relative{
        justify-content:center;
        align-items:flex-end !important;
        padding:15px;
    }

    .hero-content{
        width:100%;
        max-width:100%;
        padding:20px;
        margin-bottom:20px !important;
    }

    .hero-content h1{
        font-size:34px;
        line-height:1.2;
    }

    .hero-content p{
        font-size:15px;
        line-height:1.6;
    }
}

/* =========================================================
   MODERN GALLERY
========================================================= */

.gallery-experience {
    position: relative;
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(241, 133, 44, 0.07),
            transparent 28%
        ),
        #faf9f6;

}


/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */

.gallery-head-enhanced {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.gallery-intro {
    max-width: 680px;
    margin: 14px 0 0;
    color: #777;
    font-size: 16px;
    line-height: 1.8;
}

.gallery-counter {
    flex-shrink: 0;
    min-width: 110px;
    padding: 18px 22px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.gallery-counter strong {
    display: block;
    font-size: 30px;
    line-height: 1;
    color: #e8892f;
}

.gallery-counter span {
    display: block;
    margin-top: 6px;
    color: #777;
    font-size: 13px;
}


/* ---------------------------------------------------------
   TOOLBAR
--------------------------------------------------------- */

.gallery-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gallery-filter-btn {
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    color: #555;
    border-radius: 50px;
    padding: 9px 18px;
    font-size: 14px;
    cursor: pointer;
    transition:
        color .25s ease,
        background .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.gallery-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.gallery-filter-btn.active {
    color: #fff;
    background: #e8892f;
    border-color: #e8892f;
    box-shadow: 0 8px 20px rgba(232, 137, 47, .22);
}

.gallery-sort select {
    appearance: none;
    border: 1px solid rgba(0, 0, 0, .08);
    background: #fff;
    border-radius: 50px;
    padding: 10px 38px 10px 18px;
    color: #555;
    font-size: 14px;
    cursor: pointer;
}


/* ---------------------------------------------------------
   TRUE RESPONSIVE MASONRY
========================================================= */

.gallery-grid {
    columns: 4 280px;
    column-gap: 20px;
}

.gallery-card {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 0 0 20px;
    break-inside: avoid;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;

    opacity: 0;
    transform: translateY(30px) scale(.98);

    transition:
        opacity .65s ease var(--animation-delay),
        transform .65s cubic-bezier(.2,.8,.2,1) var(--animation-delay);
}

.gallery-card.gallery-card-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.gallery-card-media {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #e9e7e3;
}

.gallery-card-media img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 180px;
    object-fit: cover;
    transition:
        transform .8s cubic-bezier(.2,.8,.2,1),
        filter .6s ease;
}

.gallery-card:hover img {
    transform: scale(1.055);
    filter: saturate(1.08);
}


/* ---------------------------------------------------------
   OVERLAY
--------------------------------------------------------- */

.gallery-card-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.15),
            transparent 35%,
            rgba(0,0,0,.82)
        );

    opacity: .72;

    transition: opacity .35s ease;
}

.gallery-card:hover .gallery-card-overlay {
    opacity: .9;
}


/* ---------------------------------------------------------
   TOP BADGES
--------------------------------------------------------- */

.gallery-card-top {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    z-index: 3;
}

.gallery-featured,
.gallery-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 7px 11px;

    border-radius: 50px;

    color: #fff;
    background: rgba(0,0,0,.35);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    font-size: 11px;
    font-weight: 600;
}

.gallery-featured {
    background: rgba(232, 137, 47, .92);
}


/* ---------------------------------------------------------
   VIEW BUTTON
--------------------------------------------------------- */

.gallery-view-btn {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 52px;
    height: 52px;

    transform:
        translate(-50%, -42%)
        scale(.75);

    border: 0;
    border-radius: 50%;

    display: grid;
    place-items: center;

    color: #fff;
    background: rgba(255,255,255,.18);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    opacity: 0;

    cursor: pointer;

    transition:
        opacity .35s ease,
        transform .35s cubic-bezier(.2,.8,.2,1);
}

.gallery-card:hover .gallery-view-btn {
    opacity: 1;
    transform:
        translate(-50%, -50%)
        scale(1);
}

.gallery-view-btn:hover {
    background: #e8892f;
}


/* ---------------------------------------------------------
   CARD CONTENT
--------------------------------------------------------- */

.gallery-card-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 22px;

    color: #fff;

    z-index: 3;
}

.gallery-card-info time {
    display: block;
    margin-bottom: 7px;

    font-size: 11px;
    opacity: .78;
}

.gallery-card-info h3 {
    margin: 0;

    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;

    color: #fff;
}

.gallery-card-info p {
    margin: 7px 0 0;

    font-size: 13px;
    line-height: 1.5;

    color: rgba(255,255,255,.82);

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ---------------------------------------------------------
   SKELETON
--------------------------------------------------------- */

.gallery-loader {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-skeleton {
    height: 280px;
    border-radius: 22px;

    background:
        linear-gradient(
            90deg,
            #eee 25%,
            #f7f7f7 50%,
            #eee 75%
        );

    background-size: 200% 100%;

    animation: gallerySkeleton 1.5s infinite;
}

.skeleton-two {
    height: 390px;
}

.skeleton-three {
    height: 240px;
}

.skeleton-four {
    height: 330px;
}

.skeleton-five {
    height: 290px;
}

.skeleton-six {
    height: 400px;
}

@keyframes gallerySkeleton {

    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }

}


/* ---------------------------------------------------------
   EMPTY
--------------------------------------------------------- */

.gallery-empty {
    text-align: center;
    padding: 80px 20px;
}

.gallery-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(232,137,47,.1);
    color: #e8892f;

    font-size: 30px;
}

.gallery-empty h3 {
    margin-bottom: 8px;
}

.gallery-empty p {
    margin: 0;
    color: #777;
}


/* ---------------------------------------------------------
   LIGHTBOX
--------------------------------------------------------- */

.gallery-lightbox {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;

    background: rgba(10, 10, 10, .94);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .35s ease,
        visibility .35s ease;
}

.gallery-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox-open {
    overflow: hidden;
}

.lightbox-content {
    position: relative;

    width: min(1100px, 90vw);
    max-height: 90vh;

    display: flex;
    flex-direction: column;
    align-items: center;

    transform: scale(.94) translateY(15px);

    transition: transform .4s cubic-bezier(.2,.8,.2,1);
}

.gallery-lightbox.is-open .lightbox-content {
    transform: scale(1) translateY(0);
}

.lightbox-image-wrap {
    position: relative;

    max-width: 100%;
    max-height: 72vh;

    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image-wrap img {
    display: block;

    max-width: 100%;
    max-height: 72vh;

    object-fit: contain;

    border-radius: 12px;

    opacity: 0;

    transition: opacity .3s ease;
}

.lightbox-image-wrap img.loaded {
    opacity: 1;
}

.lightbox-info {
    width: min(800px, 100%);
    padding-top: 18px;
    text-align: center;
    color: #fff;
}

.lightbox-info span {
    display: inline-block;

    padding: 6px 12px;

    border-radius: 50px;

    background: #e8892f;

    font-size: 11px;
}

.lightbox-info h3 {
    margin: 10px 0 5px;

    color: #fff;
}

.lightbox-info p {
    margin: 0 auto 5px;

    color: rgba(255,255,255,.72);
}

.lightbox-info time {
    font-size: 12px;
    color: rgba(255,255,255,.5);
}


/* ---------------------------------------------------------
   LIGHTBOX CONTROLS
--------------------------------------------------------- */

.lightbox-close,
.lightbox-nav {
    position: fixed;

    display: grid;
    place-items: center;

    border: 0;

    color: #fff;

    background: rgba(255,255,255,.12);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    cursor: pointer;

    transition:
        background .25s ease,
        transform .25s ease;
}

.lightbox-close {
    top: 25px;
    right: 25px;

    width: 48px;
    height: 48px;

    border-radius: 50%;

    z-index: 5;
}

.lightbox-nav {
    top: 50%;
    width: 52px;
    height: 52px;

    border-radius: 50%;

    transform: translateY(-50%);

    z-index: 5;
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: #e8892f;
}

.lightbox-prev:hover {
    transform: translateY(-50%) translateX(-3px);
}

.lightbox-next:hover {
    transform: translateY(-50%) translateX(3px);
}


/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 1199px) {

    .gallery-grid {
        columns: 3 260px;
    }

    .gallery-loader {
        grid-template-columns: repeat(3, 1fr);
    }

}


@media (max-width: 767px) {

    .gallery-experience {
        padding: 70px 0 80px;
    }

    .gallery-head-enhanced {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .gallery-counter {
        min-width: 90px;
    }

    .gallery-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .gallery-filter {
        overflow-x: auto;
        flex-wrap: nowrap;

        padding-bottom: 5px;

        scrollbar-width: none;
    }

    .gallery-filter::-webkit-scrollbar {
        display: none;
    }

    .gallery-filter-btn {
        flex-shrink: 0;
    }

    .gallery-sort select {
        width: 100%;
    }

    .gallery-grid {
        columns: 2 160px;
        column-gap: 12px;
    }

    .gallery-card {
        margin-bottom: 12px;
        border-radius: 16px;
    }

    .gallery-card-info {
        padding: 14px;
    }

    .gallery-card-info h3 {
        font-size: 15px;
    }

    .gallery-card-info p {
        display: none;
    }

    .gallery-view-btn {
        width: 42px;
        height: 42px;
    }

    .gallery-loader {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-lightbox {
        padding: 20px;
    }

    .lightbox-nav {
        width: 42px;
        height: 42px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
    }

}


@media (max-width: 420px) {

    .gallery-grid {
        columns: 1;
    }

    .gallery-loader {
        grid-template-columns: 1fr;
    }

}


/* ==========================================================
   VIDEO GALLERY — PREMIUM MINIMAL
========================================================== */

.video-experience {
    position: relative;
}


/* ==========================================================
   SECTION
========================================================== */

.video-gallery-section {
    position: relative;
    overflow: hidden;

    padding: 105px 0 125px;

    background:
        linear-gradient(
            180deg,
            #fbfaf8 0%,
            #ffffff 100%
        );
}


/* ==========================================================
   MINIMAL PATTERN
========================================================== */

.video-pattern {
    position: absolute;
    inset: 0;

    pointer-events: none;

    opacity: .38;

    background-image:
        radial-gradient(
            circle at 1px 1px,
            rgba(31, 50, 75, .08) 1px,
            transparent 1px
        );

    background-size: 32px 32px;

    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            black 20%,
            black 80%,
            transparent
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            transparent,
            black 20%,
            black 80%,
            transparent
        );
}


/* subtle orange glow */

.video-gallery-section::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    top: -220px;
    right: -140px;

    border-radius: 50%;

    background: rgba(232, 137, 47, .08);

    filter: blur(50px);

    pointer-events: none;
}


/* ==========================================================
   HEADER
========================================================== */

.video-gallery-heading {
    position: relative;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 48px;
}


.heading-content {
    max-width: 760px;
}


.video-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #e8892f;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.8px;
    text-transform: uppercase;
}


.eyebrow-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #e8892f;

    box-shadow:
        0 0 0 5px rgba(232, 137, 47, .12);
}


.video-gallery-heading h2 {
    margin: 12px 0 10px;

    color: #182536;

    font-size: clamp(30px, 4vw, 48px);

    font-weight: 700;

    letter-spacing: -.8px;

    line-height: 1.15;
}


.video-gallery-heading h2 span {
    color: #e8892f;
}


.video-gallery-heading p {
    max-width: 650px;

    margin: 0;

    color: #78818b;

    font-size: 16px;

    line-height: 1.8;
}


/* ==========================================================
   COUNTER
========================================================== */

.video-total {
    position: relative;

    min-width: 110px;

    padding: 18px 22px;

    text-align: center;

    border: 1px solid rgba(24, 37, 54, .08);

    border-radius: 18px;

    background: rgba(255,255,255,.78);

    box-shadow:
        0 14px 35px rgba(24,37,54,.06);

    backdrop-filter: blur(10px);
}


.video-total strong {
    display: block;

    color: #e8892f;

    font-size: 32px;

    line-height: 1;

    font-weight: 700;
}


.video-total span {
    display: block;

    margin-top: 6px;

    color: #7d858e;

    font-size: 12px;
}


/* ==========================================================
   GALLERY GRID
========================================================== */

.video-gallery {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}


/* ==========================================================
   VIDEO CARD
========================================================== */

.video-card {
    position: relative;

    min-width: 0;

    overflow: hidden;

    border-radius: 22px;

    background: #101923;

    box-shadow:
        0 15px 40px rgba(19, 32, 45, .10);

    opacity: 0;

    transform:
        translateY(35px)
        scale(.98);

    animation:
        videoCardReveal .75s
        cubic-bezier(.2,.8,.2,1)
        forwards;

    animation-delay: var(--delay);

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}


.video-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 25px 55px rgba(19, 32, 45, .18);
}


/* ==========================================================
   FEATURED
========================================================== */

.video-card-featured {
    grid-column: span 2;
    grid-row: span 2;
}


.video-card-featured .video-card-media {
    min-height: 610px;
}


/* ==========================================================
   MEDIA
========================================================== */

.video-card-media {
    position: relative;

    width: 100%;

    min-height: 300px;

    overflow: hidden;
}


.video-card-featured
.video-card-media {
    min-height: 610px;
}


.video-thumbnail {
    position: absolute;
    inset: 0;

    overflow: hidden;
}


.video-thumbnail iframe {
    position: absolute;

    inset: -1px;

    width: calc(100% + 2px);
    height: calc(100% + 2px);

    border: 0;

    pointer-events: none;

    transform: scale(1.01);

    transition:
        transform .7s ease,
        filter .7s ease;
}


.video-card:hover
.video-thumbnail iframe {
    transform: scale(1.045);

    filter: saturate(1.08);
}


/* ==========================================================
   DARK OVERLAY
========================================================== */

.video-shade {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(9,18,27,.18) 0%,
            transparent 35%,
            rgba(7,14,22,.92) 100%
        );

    pointer-events: none;
}


/* ==========================================================
   TOP LABELS
========================================================== */

.video-card-top {
    position: absolute;

    top: 17px;
    left: 17px;
    right: 17px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    z-index: 4;
}


.featured-badge,
.video-category {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 7px 11px;

    border-radius: 50px;

    color: #fff;

    background:
        rgba(255,255,255,.12);

    border:
        1px solid rgba(255,255,255,.14);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: .3px;
}


.featured-badge {
    background:
        rgba(232,137,47,.92);

    border-color:
        rgba(232,137,47,.5);
}


/* ==========================================================
   PLAY BUTTON
========================================================== */

.video-play {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 66px;
    height: 66px;

    display: grid;

    place-items: center;

    border: 0;

    border-radius: 50%;

    background:
        rgba(255,255,255,.17);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

    transform:
        translate(-50%, -50%)
        scale(.8);

    opacity: .9;

    cursor: pointer;

    z-index: 5;

    transition:
        transform .4s cubic-bezier(.2,.8,.2,1),
        background .3s ease,
        box-shadow .3s ease;
}


.video-play::before {
    content: "";

    position: absolute;

    inset: -7px;

    border-radius: inherit;

    border:
        1px solid rgba(255,255,255,.28);

    animation:
        playPulse 2.2s infinite;
}


.video-play span {
    width: 48px;
    height: 48px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color: #fff;

    background: #e8892f;

    padding-left: 3px;
}


.video-play:hover {
    transform:
        translate(-50%, -50%)
        scale(1.08);

    background:
        rgba(232,137,47,.28);

    box-shadow:
        0 12px 35px rgba(0,0,0,.25);
}


@keyframes playPulse {

    0%,
    100% {
        transform: scale(1);

        opacity: .6;
    }

    50% {
        transform: scale(1.15);

        opacity: 0;
    }

}


/* ==========================================================
   CARD CONTENT
========================================================== */

.video-card-content {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 24px;

    color: #fff;

    z-index: 4;
}


.video-card-content time {
    display: block;

    margin-bottom: 7px;

    color: rgba(255,255,255,.6);

    font-size: 11px;
}


.video-card-content h3 {
    margin: 0;

    color: #fff;

    font-size: 20px;

    line-height: 1.35;

    font-weight: 600;
}


.video-card-featured
.video-card-content h3 {
    font-size: 29px;
}


.video-card-content p {
    max-width: 650px;

    margin: 8px 0 0;

    color: rgba(255,255,255,.72);

    font-size: 13px;

    line-height: 1.6;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;
}


.video-watch {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 14px;

    color: #e8892f;

    font-size: 12px;

    font-weight: 600;

    transition: gap .3s ease;
}


.video-card:hover .video-watch {
    gap: 13px;
}


/* ==========================================================
   LOADING
========================================================== */

.video-loader {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 22px;

    margin-bottom: 20px;
}


.video-skeleton {
    height: 300px;

    border-radius: 22px;

    background:
        linear-gradient(
            90deg,
            #eeeeec 25%,
            #f7f7f5 50%,
            #eeeeec 75%
        );

    background-size: 200% 100%;

    animation:
        skeletonLoading 1.5s infinite;
}


.video-skeleton-large {
    height: 610px;
}


@keyframes skeletonLoading {

    from {
        background-position: 200% 0;
    }

    to {
        background-position: -200% 0;
    }

}


/* ==========================================================
   EMPTY
========================================================== */

.video-empty {
    padding: 80px 20px;

    text-align: center;
}


.empty-icon {
    width: 74px;
    height: 74px;

    display: grid;

    place-items: center;

    margin: 0 auto 20px;

    border-radius: 50%;

    color: #e8892f;

    background:
        rgba(232,137,47,.09);

    font-size: 25px;
}


.video-empty h3 {
    color: #182536;

    margin-bottom: 7px;
}


.video-empty p {
    color: #7c848c;

    margin: 0;
}


/* ==========================================================
   MODAL
========================================================== */

.video-modal {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px;

    background:
        rgba(8,14,21,.94);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity .35s ease,
        visibility .35s ease;
}


.video-modal.active {
    opacity: 1;

    visibility: visible;
}


.video-modal-content {
    width: min(1100px, 94vw);

    transform:
        translateY(25px)
        scale(.97);

    transition:
        transform .45s
        cubic-bezier(.2,.8,.2,1);
}


.video-modal.active
.video-modal-content {
    transform:
        translateY(0)
        scale(1);
}


.video-modal-player {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 18px;

    background: #000;

    box-shadow:
        0 30px 100px rgba(0,0,0,.5);
}


.video-modal-player iframe {
    width: 100%;
    height: 100%;

    border: 0;
}


.video-modal-info {
    padding: 18px 5px;

    color: #fff;
}


.video-modal-info span {
    display: inline-block;

    padding: 6px 10px;

    border-radius: 50px;

    background: #e8892f;

    font-size: 10px;
}


.video-modal-info h3 {
    margin: 10px 0 5px;

    color: #fff;

    font-size: 24px;
}


.video-modal-info p {
    margin: 0 0 5px;

    color: rgba(255,255,255,.65);
}


.video-modal-info time {
    color: rgba(255,255,255,.4);

    font-size: 11px;
}


.video-modal-close {
    position: fixed;

    top: 24px;
    right: 24px;

    width: 48px;
    height: 48px;

    display: grid;

    place-items: center;

    border: 0;

    border-radius: 50%;

    color: #fff;

    background:
        rgba(255,255,255,.12);

    backdrop-filter: blur(10px);

    cursor: pointer;

    z-index: 10;

    transition:
        background .25s ease,
        transform .25s ease;
}


.video-modal-close:hover {
    background: #e8892f;

    transform: rotate(90deg);
}


.video-modal-open {
    overflow: hidden;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 991px) {

    .video-gallery {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .video-card-featured {
        grid-column: span 2;
        grid-row: auto;
    }


    .video-card-featured
    .video-card-media {
        min-height: 480px;
    }


    .video-loader {
        grid-template-columns:
            1fr 1fr;
    }


    .video-skeleton-large {
        grid-column: span 2;

        height: 480px;
    }

}


@media (max-width: 767px) {

    .video-gallery-section {
        padding: 75px 0 85px;
    }


    .video-gallery-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 20px;

        margin-bottom: 32px;
    }


    .video-gallery-heading h2 {
        font-size: 31px;
    }


    .video-total {
        min-width: 95px;
    }


    .video-gallery {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    .video-card-featured {
        grid-column: auto;
    }


    .video-card-media,
    .video-card-featured
    .video-card-media {
        min-height: 350px;
    }


    .video-card-featured
    .video-card-content h3 {
        font-size: 23px;
    }


    .video-loader {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    .video-skeleton,
    .video-skeleton-large {
        height: 330px;
    }


    .video-modal {
        padding: 15px;
    }


    .video-modal-close {
        top: 12px;
        right: 12px;
    }


    .video-modal-info h3 {
        font-size: 20px;
    }

}


@media (max-width: 480px) {

    .video-card-media,
    .video-card-featured
    .video-card-media {
        min-height: 285px;
    }


    .video-card-content {
        padding: 18px;
    }


    .video-card-content h3 {
        font-size: 17px;
    }


    .video-card-content p {
        display: none;
    }


    .video-play {
        width: 56px;
        height: 56px;
    }


    .video-play span {
        width: 42px;
        height: 42px;
    }

}

.video-thumbnail {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #111923;
}

.video-thumbnail img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    opacity: 0;

    transform: scale(1.03);

    transition:
        opacity .7s ease,
        transform .8s cubic-bezier(.2,.8,.2,1),
        filter .6s ease;
}

.video-card.image-ready
.video-thumbnail img {
    opacity: 1;
}

.video-card:hover
.video-thumbnail img {
    transform: scale(1.08);
    filter: saturate(1.08);
}


/* =========================================
   VIDEO CARD REVEAL ANIMATION
========================================= */

@keyframes videoCardReveal {

    0% {
        opacity: 0;
        transform: translateY(35px) scale(.97);
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}