/* =========================================================
   DAYVERO - CATEGORY ARCHIVE
   ========================================================= */

.dayvero-category {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 65px 30px 85px;
    box-sizing: border-box;
}


/* =========================================================
   HEADER
   ========================================================= */

.dayvero-category-header {
    text-align: center;
    margin-bottom: 38px;
}

.dayvero-category-header-inner {
    max-width: 850px;
    margin: 0 auto;
}

.dayvero-category-eyebrow {
    margin-bottom: 10px;

    color: #176b55;

    font-size: 12px;
    line-height: 1.3;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.dayvero-category-header h1 {
    margin: 0 0 15px;

    color: #172238;

    font-size: 48px;
    line-height: 1.15;
    font-weight: 700;
}

.dayvero-category-description {
    max-width: 700px;
    margin: 0 auto;

    color: #61708a;

    font-size: 18px;
    line-height: 1.7;
}


/* =========================================================
   ALT KATEGORİ FİLTRELERİ
   ========================================================= */

.dayvero-category-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 8px;

    width: fit-content;
    max-width: 100%;

    margin: 0 auto 58px;
    padding: 7px;

    background: #ffffff;

    border: 1px solid #e6e9ed;
    border-radius: 16px;

    box-shadow:
        0 5px 20px rgba(23, 34, 56, .05);
}

.dayvero-category-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 0 20px;

    color: #4f5e72 !important;

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

    text-decoration: none !important;

    border-radius: 11px;

    transition:
        background .2s ease,
        color .2s ease;
}

.dayvero-category-filter:hover {
    color: #176b55 !important;
    background: #f3f7f5;
}

.dayvero-category-filter.is-active {
    color: #ffffff !important;
    background: #176b55;
}

.dayvero-category-filter.is-active:hover {
    color: #ffffff !important;
    background: #145b48;
}


/* =========================================================
   SECTION
   ========================================================= */

.dayvero-category-section {
    margin-bottom: 70px;
}

.dayvero-category-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 25px;
}

.dayvero-category-section-eyebrow {
    display: block;

    margin-bottom: 7px;

    color: #176b55;

    font-size: 12px;
    line-height: 1.3;
    font-weight: 800;

    letter-spacing: 1.3px;
}

.dayvero-category-section-header h2 {
    margin: 0;

    color: #172238;

    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
}


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

.dayvero-category-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 30px;

    align-items: stretch;
}


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

.dayvero-category-card {
    min-width: 0;

    background: #ffffff;

    border: 1px solid #e3e7eb;
    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 5px 20px rgba(23, 34, 56, .045);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.dayvero-category-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 40px rgba(23, 34, 56, .09);
}


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

.dayvero-category-image {
    display: block;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #f3f4f2;
}

.dayvero-category-image img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: cover;

    transition: transform .45s ease;
}

.dayvero-category-card:hover .dayvero-category-image img {
    transform: scale(1.035);
}


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

.dayvero-category-card-content {
    display: flex;
    flex-direction: column;

    min-height: 275px;

    padding: 24px 25px 23px;
}


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

.dayvero-category-card-category {
    margin-bottom: 10px;

    color: #176b55;

    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .4px;
}


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

.dayvero-category-card-title {
    margin: 0 0 12px;

    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
}

.dayvero-category-card-title a {
    color: #172033 !important;

    text-decoration: none !important;
}

.dayvero-category-card-title a:hover {
    color: #176b55 !important;
}


/* =========================================================
   SUMMARY
   ========================================================= */

.dayvero-category-card-summary {
    color: #65748a;

    font-size: 16px;
    line-height: 1.65;

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

    overflow: hidden;
}


/* =========================================================
   FOOTER
   ========================================================= */

.dayvero-category-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: auto;
    padding-top: 22px;
}

.dayvero-category-card-footer time {
    color: #8a95a5;

    font-size: 14px;
    line-height: 1.4;
}

.dayvero-category-card-footer a {
    color: #176b55 !important;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none !important;

    white-space: nowrap;
}

.dayvero-category-card-footer a:hover {
    color: #0f4f3f !important;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.dayvero-category-pagination {
    display: flex;
    justify-content: center;

    margin-top: 55px;
}

.dayvero-category-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 42px;

    margin: 0 4px;
    padding: 0 10px;

    color: #526075;

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

    text-decoration: none;

    border: 1px solid #e3e7eb;
    border-radius: 50%;

    background: #ffffff;
}

.dayvero-category-pagination .page-numbers.current {
    color: #ffffff;

    background: #176b55;
    border-color: #176b55;
}

.dayvero-category-pagination .page-numbers:hover {
    color: #176b55;

    border-color: #176b55;
}

.dayvero-category-pagination .page-numbers.prev,
.dayvero-category-pagination .page-numbers.next {
    width: auto;

    padding: 0 18px;

    border-radius: 21px;
}


/* =========================================================
   EMPTY
   ========================================================= */

.dayvero-category-empty {
    padding: 70px 30px;

    text-align: center;

    background: #f8faf7;

    border-radius: 20px;
}

.dayvero-category-empty h2 {
    margin: 0 0 10px;

    color: #172238;

    font-size: 28px;
}

.dayvero-category-empty p {
    margin: 0;

    color: #65748a;

    font-size: 16px;
}


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

@media (max-width: 1023px) {

    .dayvero-category {
        padding: 55px 24px 65px;
    }

    .dayvero-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .dayvero-category-header h1 {
        font-size: 42px;
    }

    .dayvero-category-section-header h2 {
        font-size: 27px;
    }

}


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

@media (max-width: 767px) {

    .dayvero-category {
        padding: 40px 18px 50px;
    }

    .dayvero-category-header {
        margin-bottom: 28px;
    }

    .dayvero-category-header h1 {
        font-size: 36px;
    }

    .dayvero-category-description {
        font-size: 16px;
    }

    .dayvero-category-filters {
        width: 100%;

        margin-bottom: 42px;

        border-radius: 14px;
    }

    .dayvero-category-filter {
        flex: 1 1 auto;

        padding: 0 11px;

        font-size: 14px;
    }

    .dayvero-category-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .dayvero-category-section {
        margin-bottom: 50px;
    }

    .dayvero-category-section-header {
        margin-bottom: 20px;
    }

    .dayvero-category-section-header h2 {
        font-size: 25px;
    }

    .dayvero-category-card-content {
        min-height: 250px;

        padding: 22px 21px 21px;
    }

    .dayvero-category-card-title {
        font-size: 23px;
    }

    .dayvero-category-card-summary {
        font-size: 15px;
    }

}
