@charset "UTF-8";

/* ==========================================================================
   Category List (Article Archive) CSS
   ========================================================================== */

/* Breadcrumb
   ----------------------------------------------------------------- */
.p-breadcrumb {
    margin: 20px 0;
    font-size: 12px;
    color: #666;
}

.p-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.p-breadcrumb__item {
    display: flex;
    align-items: center;
}

.p-breadcrumb__item::after {
    content: '\f105';
    /* fa-angle-right */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 10px;
    margin: 0 8px;
    color: #ccc;
}

.p-breadcrumb__item:last-child::after {
    content: none;
}

.p-breadcrumb__item a {
    color: #333;
}

.p-breadcrumb__item a:hover {
    text-decoration: underline;
}

/* Page Heading Area
   ----------------------------------------------------------------- */
.p-archive-head {
    margin-bottom: 40px;
}

.p-archive-head__title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.4;
}

.p-archive-head__desc {
    border: 4px solid #d1d600;
    /* Lime green border */
    padding: 20px;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

@media (max-width: 767px) {
    .p-archive-head__title {
        font-size: 1.4rem;
    }
}

/* Article List (Horizontal Card)
   ----------------------------------------------------------------- */
.p-archive-list {
    margin-bottom: 60px;
}

.c-card-list {
    margin-bottom: 20px;
    background: #fff;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 20px;
}

.c-card-list:last-child {
    border-bottom: none;
}

.c-card-list__link {
    display: flex;
    gap: 20px;
    color: inherit;
    transition: opacity 0.3s;
}

.c-card-list__link:hover {
    opacity: 0.8;
}

.c-card-list__img {
    width: 240px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    height: 150px;
}

.c-card-list__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.c-card-list__link:hover .c-card-list__img img {
    transform: scale(1.1);
}

.c-card-list__body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.c-card-list__title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

.c-card-list__excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.c-card-list__meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.c-card-list__date {
    font-size: 12px;
    color: #999;
}

.c-card-list__more {
    color: var(--color-label-lime);
    font-size: 12px;
    font-weight: bold;
}

/* SP Adjustments for List */
@media (max-width: 767px) {
    .c-card-list__link {
        flex-direction: column;
        gap: 15px;
    }

    .c-card-list__img {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }

    .c-card-list__title {
        font-size: 1.1rem;
    }
}

/* Pagination
   ----------------------------------------------------------------- */
.p-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.p-pagination__current,
.p-pagination__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
}

.p-pagination__current {
    background-color: var(--color-primary);
    color: #fff;
}

.p-pagination__link {
    background-color: #eee;
    color: #333;
    transition: background-color 0.3s;
}

.p-pagination__link:hover {
    background-color: #ddd;
}


/* Sidebar Widgets
   ----------------------------------------------------------------- */
.p-widget {
    margin-bottom: 40px;
}

.p-widget__head {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.c-card--ranking-side {
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: flex-start;
}

.c-card--ranking-side .c-card__img {
    width: 100px;
    height: 70px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.c-card--ranking-side .c-card__title {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 0;
}

.c-card--ranking-side .c-card__rank-badge {
    width: 30px;
    height: 30px;
    font-size: 12px;
    padding-left: 5px;
    padding-top: 3px;
}

/* Social & Banners */
.u-mb-10 {
    margin-bottom: 10px;
}

.p-widget--banner img {
    width: 100%;
    margin-bottom: 10px;
}