/* =========================
   TAG PAGE STYLES
   ========================= */

/* Tag page heading */
.tag-header h1 {
    font-family: "NoelFont";
    font-size: 36px;
    margin-bottom: 0.25rem;
    letter-spacing: 1px;
}

.tag-header p {
    font-family: "OasisFont";
    font-size: 16px;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Intro paragraph */
.tag-intro {
    font-family: "OasisFont";
    font-size: 17px;
    line-height: 1.6;
    max-width: 900px;
    margin-bottom: 2rem;
    color: #333;
}

/* Article cards – inherit News card feel */
.tag-articles .card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tag-articles .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.tag-articles .card-title {
    font-family: "OasisFont";
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.tag-articles .card-text {
    font-family: "OasisFont";
    font-size: 15px;
    color: #555;
}

/* Card images */
.tag-articles .card-img-top {
    height: 220px;
    object-fit: cover;
    object-position: center;
}

/* Read more button */
.tag-articles .btn {
    font-family: "OasisFont";
    font-size: 14px;
}

/* Pagination */
.tag-pagination .pagination {
    margin-top: 2.5rem;
}

.tag-pagination .page-link {
    font-family: "OasisFont";
    color: #0d6efd;
}

.tag-pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

/* Mobile tweaks */
@media (max-width: 768px) {
    .tag-header h1 {
        font-size: 28px;
    }

    .tag-intro {
        font-size: 15px;
    }

    .tag-articles .card-img-top {
        height: 180px;
    }
}
