/* ---- Layout general ---- */
.archive-page #cuerpo,
#cuerpo.archive-page {
    padding: 50px 0 60px;
}

@media (width > 767px){
    #cuerpo.archive-page{
        border-left: solid 30px #651c34;
    }
}

/* ---- Header del archivo ---- */
.archive-header {
    text-align: center;
    margin-bottom: 45px;
}

.archive-header__title {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.archive-header__desc {
    font-size: 16px;
    color: #777;
    max-width: 600px;
    margin: 0 auto 15px;
}

.archive-header__line {
    width: 60px;
    height: 3px;
    background: #b89d6a;
    margin: 0 auto;
}

/* ---- Sección de categoría ---- */
.archive-category {
    margin-bottom: 55px;
}

.archive-category__header {
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid #b89d6a;
}

.archive-category__title {
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.archive-category__title i {
    color: #b89d6a;
}

.archive-category__title a {
    color: #333;
    text-decoration: none;
    transition: color .3s ease;
}

.archive-category__title a:hover {
    color: #b89d6a;
    text-decoration: none;
}

.archive-category__count {
    font-size: .75rem;
    font-weight: 600;
    color: #b89d6a;
    background: #f5f0e7;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 0;
    text-transform: none;
}

/* ---- Card ---- */
.archive-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}


/* Thumbnail */
.archive-card__thumb-link {
    display: block;
    text-decoration: none;
}

.archive-card__thumbnail {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.archive-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.archive-card:hover .archive-card__thumbnail img {
    transform: scale(1.06);
}

.archive-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, .15) 100%);
    pointer-events: none;
}

/* Body */
.archive-card__body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    font-size: 16px;
}

/* Meta */
.archive-card__meta {
    font-size: .8em;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.archive-card__meta i {
    color: #b89d6a;
    margin-right: 4px;
}

/* Título de card */
.archive-card__title {
    font-size: 1.2em;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 10px;
}

.archive-card__title a {
    color: #222;
    text-decoration: none;
    transition: color .3s ease;
}

.archive-card__title a:hover {
    color: #b89d6a;
}

/* Excerpt */
.archive-card__excerpt {
    font-size: 1.05em;
    line-height: 1.3;
    color: #666;
    margin-bottom: 18px;
    flex: 1;
}

/* Botón Ver más */
.archive-card__btn {
    display: inline;
    align-items: center;
    background: transparent;
    font-size: 1em;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all .3s ease;
    align-self: flex-start;
    color: #888;
}

.archive-card__btn:hover {
    color: #b89d6a;
}


/* ---- Ver todas ---- */
.archive-category__see-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    padding: 4px 14px;
    border: 0px solid #e0e0e0;
    border-radius: 6px;
    font-size: .8em;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    transition: all .3s ease;
}

.archive-pagination .page-numbers li a:hover {
    background: #b89d6a;
    border-color: #b89d6a;
    color: #fff;
    text-decoration: none;
}

.archive-pagination .page-numbers li span.current {
    background: #b89d6a;
    border-color: #b89d6a;
    color: #fff;
}

.archive-pagination .page-numbers li a .fas {
    font-size: .75rem;
}

/* ---- Responsive ---- */
@media (max-width: 767px) {

    .archive-category__title {
        font-size: 1.05rem;
    }

    .archive-card__thumbnail {
        height: 170px;
    }

    .archive-pagination .page-numbers li a,
    .archive-pagination .page-numbers li span {
        min-width: 36px;
        height: 36px;
        padding: 4px 10px;
        font-size: .8rem;
    }
}