/* =====================================
   COLLECTION GRID LAYOUT
===================================== */
.pd_collection_post_wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}


.collection-card {
    position: relative;
    min-height: 500px;
    border-radius: 22px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    transition: transform 0.4s ease;

}


/* Dark gradient overlay */
.collection-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.65),
        rgba(0, 0, 0, 0.25),
        rgba(0, 0, 0, 0)
    );
    z-index: 1;
}

.collection-card__content {
    position: relative;
    z-index: 2;
    padding: 32px;
    max-width: 85%;
    color: #ffffff;
}

.collection-card__meta {
    display: inline-block;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 12px;

    font-family: inherit;
    font-weight: 700;
    text-transform: uppercase;
    font-style: normal;
    font-size: 12px;
    letter-spacing: 4.8px;
    line-height: 140%;
}

.collection-card__title {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 12px;

    font-family: brockmannsemibold;
    line-height: 120%;
}

.collection-card__excerpt {

    opacity: 0.9;
    margin-bottom: 20px;

    font-family: Inter, sans-serif;
    font-size: 16px;
    line-height: 140%;
}

.collection-card__btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 20px;
    background: #ffffff;
    color: #000000;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.25s ease;

    font-family: Inter, sans-serif;
    font-weight: bold;
    font-size: 16px;
    line-height: 140%;
}

.collection-card__btn:hover{
    transform: translate3d(0, -5px, 0);
    transition: all 0.5s ease;
}

.collection-card__btn:hover {
    background: #000000;
    color: #ffffff;
}

/* =====================================
   SHIMMER PLACEHOLDER
===================================== */
.pd_collection_post_item.shimmer {
    height: 420px;
    border-radius: 22px;
    background: linear-gradient(
        90deg,
        #eeeeee 25%,
        #dddddd 37%,
        #eeeeee 63%
    );
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
}

@keyframes shimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}



/* =========================================
   EVENT GRID LAYOUT
========================================= */

.event_post_wrapper {
    padding-top: 30px;
    padding-bottom: 30px;
}

.event_post_grid,
.event-post-shimmer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.load_more_container,
.event-load-more {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}
.load_more_container a,
.event-load-more a {
    text-decoration: none;
    border: 1px solid #0a1547;
    padding: 14px 56px;
    border-radius: 30px;
    color: #0a1547;
    /* background-color: #0a1547; */
}
.event-load-more a:focus,
.event-load-more a:hover{
    color: #fff;
    background-color: #0a1547;
}



/* =========================================
   EVENT CARD
========================================= */
.event-card {
    background: #d9eef6;
    border-radius: 26px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.event-card__image {
    height: 300px;
    background-size: cover;
    background-position: center;
}

.event-card__content {
    padding: 32px 30px 36px;
    display: flex;
    flex-direction: column;
}

.event-card__title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 18px;
    color: #081a42;
    font-family: Inter, sans-serif;
    font-size: 24px;
    line-height: 140%;
}

.event-card__meta {
    font-size: 20px;
    font-weight: 500;
    color: #081a42;
    margin-bottom: 12px;
    font-family: Inter, sans-serif;
    line-height: 140%;
}

.event-card__excerpt {
    font-size: 20px;
    line-height: 1.6;
    color: #081a42;
    margin-bottom: 28px;
    font-family: inherit;
    font-style: inherit;
    font-weight: inherit;
}

.post-category {
    position: absolute;
    top: 15px;
    left: 5%;
    background-color: #fff;
    border-radius: 18px;
    padding: 5px 20px;
    text-transform: capitalize;
}

/* =========================================
   BUTTON
========================================= */
.event-card__btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: #0a1547;
    color: #ffffff;
    border-radius: 30px;
    text-decoration: none;
    width: fit-content;
    transition: all 0.25s ease;

    font-family: Inter, sans-serif;
    font-weight: bold;
    font-size: 16px;
    line-height: 140%;
}

.event-card__btn:hover {
    background: #020b2d;
    color: #ffffff;
    transform: translate3d(0, -5px, 0);
    transition: all 0.5s ease;
}

/* =========================================
   SHIMMER PLACEHOLDER
========================================= */
.event-card.shimmer {
    height: 480px;
    background: linear-gradient(
        90deg,
        #e5eef3 25%,
        #d6e4ec 37%,
        #e5eef3 63%
    );
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
}

@keyframes shimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

.post-filter {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.filter-item {
    position: relative;
}

.filter-item label {
    position: absolute;
    top: -8px;
    left: 14px;
    background: #fff;
    font-size: 12px;
    color: #6b7280;
    padding: 0 6px;
    z-index: 1;
}

.filter-item select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    padding: 12px 40px 12px 14px;
    min-width: 160px;

    border: 1px solid #cbd5e1;
    border-radius: 8px;

    font-size: 14px;
    color: #1f2937;
    background-color: #fff;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;

    cursor: pointer;
}

.filter-item select:focus {
    outline: none;
    border-color: #6366f1;
}


@media (max-width: 1200px) {
    .event_post_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .pd_collection_post_wrap {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 768px) {
    .event_post_grid {
        grid-template-columns: 1fr;
    }
}