/* =========================================================
   ENTERTAINMENT TAG PAGE
========================================================= */

.entertainment-tag-page {
    padding: 45px 0 65px;
}


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

.entertainment-tag-header {
    margin-bottom: 30px;
    padding-bottom: 20px;

    border-bottom: 1px solid #e5e7eb;
}

.entertainment-tag-header .section-label {
    display: block;

    margin-bottom: 7px;

    color: #7c3aed;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}

.entertainment-tag-header h1 {
    margin: 0;

    color: #111827;

    font-size: 30px;
    font-weight: 800;

    line-height: 1.25;
}

.entertainment-tag-header p {
    margin: 8px 0 0;

    color: #6b7280;

    font-size: 11px;
}


/* =========================================================
   PAGE LAYOUT
========================================================= */

.archive-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        310px;

    gap: 40px;

    align-items: start;
}

.archive-main {
    min-width: 0;
}

.archive-sidebar {
    min-width: 0;
}


/* =========================================================
   ENTERTAINMENT LIST
========================================================= */

.entertainment-list {
    display: flex;
    flex-direction: column;

    gap: 0;

    background: #ffffff;
}

.entertainment-list-item {
    display: grid;

    grid-template-columns:
        220px
        minmax(0, 1fr);

    gap: 20px;

    padding: 20px 0;

    border-bottom: 1px solid #e5e7eb;
}

.entertainment-list-item:first-child {
    padding-top: 0;
}

.entertainment-list-item:last-child {
    border-bottom: 0;
}


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

.entertainment-list-image {
    position: relative;

    display: block;

    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    border-radius: 6px;

    background: #f3f4f6;
}

.entertainment-list-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;
}

.entertainment-list-item:hover
.entertainment-list-image img {
    transform: scale(1.035);
}


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

.entertainment-list-content {
    min-width: 0;
}

.entertainment-list-date {
    display: block;

    margin-bottom: 7px;

    color: #7c3aed;

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

    text-transform: uppercase;

    letter-spacing: 0.5px;
}

.entertainment-list-content h2 {
    margin: 0 0 8px;

    color: #111827;

    font-size: 19px;
    font-weight: 800;

    line-height: 1.35;
}

.entertainment-list-content h2 a {
    color: inherit;

    text-decoration: none;
}

.entertainment-list-content h2 a:hover {
    color: #7c3aed;
}

.entertainment-list-content p {
    margin: 0 0 11px;

    color: #6b7280;

    font-size: 12px;

    line-height: 1.65;
}

.entertainment-list-content .read-more {
    display: inline-flex;
    align-items: center;

    color: #7c3aed;

    font-size: 10px;
    font-weight: 800;

    text-decoration: none;
}

.entertainment-list-content .read-more:hover {
    text-decoration: underline;
}


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

.entertainment-tag-page .empty-state {
    padding: 45px 20px;

    border: 1px solid #e5e7eb;
    border-radius: 6px;

    background: #ffffff;

    color: #6b7280;

    font-size: 12px;

    text-align: center;
}


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

.archive-pagination {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 6px;

    margin-top: 30px;
}

.archive-pagination a,
.archive-pagination span {
    min-width: 36px;
    height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 11px;

    border: 1px solid #e5e7eb;
    border-radius: 4px;

    background: #ffffff;

    color: #374151;

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

    text-decoration: none;
}

.archive-pagination a:hover {
    border-color: #7c3aed;

    color: #7c3aed;
}

.archive-pagination .active {
    border-color: #7c3aed;

    background: #7c3aed;

    color: #ffffff;
}


/* =========================================================
   INLINE ARTICLE TAG LINKS
========================================================= */

.entertainment-inline-tag {
    color: #7c3aed;

    font-weight: 600;

    text-decoration: none;
}

.entertainment-inline-tag:hover {
    text-decoration: underline;
}


/* =========================================================
   TAG CHIPS
========================================================= */

.entertainment-tag-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;
}

.entertainment-tag {
    display: inline-flex;
    align-items: center;

    min-height: 30px;

    padding: 0 10px;

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

    background: #fafafa;

    color: #52525b;

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

    text-decoration: none;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.entertainment-tag:hover {
    border-color: #7c3aed;

    background: #f5f3ff;

    color: #7c3aed;
}


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

@media (max-width: 950px) {

    .archive-layout {
        grid-template-columns:
            minmax(0, 1fr)
            270px;

        gap: 28px;
    }

    .entertainment-list-item {
        grid-template-columns:
            190px
            minmax(0, 1fr);
    }

}


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

@media (max-width: 760px) {

    .entertainment-tag-page {
        padding: 32px 0 45px;
    }

    .archive-layout {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .archive-sidebar {
        width: 100%;
    }

    .entertainment-tag-header {
        margin-bottom: 22px;
    }

    .entertainment-tag-header h1 {
        font-size: 25px;
    }

    .entertainment-list-item {
        grid-template-columns:
            120px
            minmax(0, 1fr);

        gap: 13px;

        padding: 15px 0;
    }

    .entertainment-list-content h2 {
        margin-bottom: 5px;

        font-size: 15px;

        line-height: 1.35;
    }

    .entertainment-list-content p {
        display: none;
    }

    .entertainment-list-date {
        margin-bottom: 5px;

        font-size: 8px;
    }

    .entertainment-list-content .read-more {
        font-size: 9px;
    }

}


/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 480px) {

    .entertainment-list-item {
        grid-template-columns:
            105px
            minmax(0, 1fr);

        gap: 11px;
    }

    .entertainment-list-image {
        aspect-ratio: 1 / 1;
    }

    .entertainment-list-content h2 {
        font-size: 14px;
    }

}