/* =========================================
   AGBOR KINGDOM
   YOU MISSED
========================================= */

.you-missed-section {
    width: 100%;
    max-width: 1440px;
    margin: 70px auto 80px;
    padding: 0 28px;
    box-sizing: border-box;
}


/* =========================================
   HEADING
========================================= */

.you-missed-heading {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 30px;
}

.you-missed-heading h2 {
    margin: 0;
    padding: 13px 24px;
    background: #1657d8;
    color: #ffffff;
    font-size: clamp(19px, 2vw, 24px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

.you-missed-heading span {
    flex: 1;
    height: 2px;
    background: #1657d8;
}


/* =========================================
   GRID
========================================= */

.you-missed-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 26px;
}


/* =========================================
   CARD
========================================= */

.you-missed-card {
    position: relative;
    min-width: 0;
    height: 360px;
    overflow: hidden;
    background: #111111;
    border-radius: 4px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.you-missed-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.20);
}


/* =========================================
   CARD LINK
========================================= */

.you-missed-card-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}


/* =========================================
   IMAGE
========================================= */

.you-missed-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.65s cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}

.you-missed-card:hover
.you-missed-image {
    transform: scale(1.07);
}


/* =========================================
   IMAGE OVERLAY
========================================= */

.you-missed-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.92) 0%,
            rgba(0, 0, 0, 0.68) 32%,
            rgba(0, 0, 0, 0.22) 68%,
            rgba(0, 0, 0, 0.04) 100%
        );

    z-index: 1;
}


/* =========================================
   CONTENT
========================================= */

.you-missed-content {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 26px;

    z-index: 2;
}


/* =========================================
   CATEGORY
========================================= */

.you-missed-category {
    display: inline-flex;
    align-items: center;

    margin-bottom: 12px;
    padding: 7px 11px;

    background: #1657d8;
    color: #ffffff;

    font-size: 10px;
    font-weight: 800;
    line-height: 1;

    text-transform: uppercase;
    letter-spacing: 0.7px;

    border-radius: 2px;
}


/* =========================================
   TITLE
========================================= */

.you-missed-content h3 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(
        20px,
        2vw,
        27px
    );

    font-weight: 700;
    line-height: 1.14;

    letter-spacing: -0.35px;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    overflow: hidden;
}


/* =========================================
   DATE
========================================= */

.you-missed-date {
    margin-top: 15px;

    color:
        rgba(255, 255, 255, 0.88);

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.15px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .you-missed-section {
        padding: 0 22px;
    }

    .you-missed-grid {
        gap: 20px;
    }

    .you-missed-card {
        height: 330px;
    }

    .you-missed-content {
        padding: 22px;
    }

}


/* =========================================
   SMALL TABLET
========================================= */

@media (max-width: 850px) {

    .you-missed-section {
        margin: 55px auto 65px;
    }

    .you-missed-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .you-missed-card {
        height: 320px;
    }

    .you-missed-content h3 {
        font-size: 22px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .you-missed-section {
        margin: 45px auto 55px;
        padding: 0 16px;
    }

    .you-missed-heading {
        margin-bottom: 20px;
    }

    .you-missed-heading h2 {
        padding: 11px 17px;
        font-size: 18px;
    }

    .you-missed-heading span {
        height: 2px;
    }

    .you-missed-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .you-missed-card {
        height: 310px;
        border-radius: 3px;
    }

    .you-missed-content {
        padding: 20px;
    }

    .you-missed-category {
        margin-bottom: 10px;
        padding: 6px 9px;
        font-size: 9px;
    }

    .you-missed-content h3 {
        font-size: 21px;
        line-height: 1.16;
    }

    .you-missed-date {
        margin-top: 12px;
        font-size: 12px;
    }

}


/* =========================================
   VERY SMALL PHONES
========================================= */

@media (max-width: 380px) {

    .you-missed-section {
        padding: 0 12px;
    }

    .you-missed-card {
        height: 290px;
    }

    .you-missed-content {
        padding: 18px;
    }

    .you-missed-content h3 {
        font-size: 19px;
    }

}