/* =========================================================
   2. ARCHIVE / SPORTS LISTING GRID STYLES
========================================================= */

/* Modernized Section Header */
.cad-section-header {
    margin-bottom: 45px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cad-section-subtitle {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--cad-accent);
    font-weight: 700;
}

.cad-section-header h2 {
    font-size: 38px;
    font-weight: 800;
    margin: 0;
    color: var(--cad-text-dark);
    letter-spacing: -0.02em;
}

.cad-header-line {
    width: 60px;
    height: 4px;
    background: var(--cad-primary);
    margin-top: 12px;
    border-radius: 2px;
}

/* Flex Grid Fix for proper alignments */
.cad-sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

/* Cards UI Overhaul */
.cad-sports-card {
    background: var(--cad-white);
    border-radius: var(--cad-border-radius);
    overflow: hidden;
    box-shadow: var(--cad-shadow-sm);
    border: 1px solid #f1f5f9;
    transition: var(--cad-transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cad-sports-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--cad-shadow-lg);
    border-color: rgba(30, 58, 138, 0.15);
}

/* Image Containers inside Cards */
.cad-card-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.cad-sports-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--cad-transition);
}

.cad-sports-card:hover img {
    transform: scale(1.04);
}

.cad-card-image-wrapper .cad-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Card Content Area Structuring */
.cad-sports-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Pushes the button to the absolute bottom evenly */
}

.cad-sports-title {
    font-size: 20px;
    line-height: 1.4;
    margin: 0 0 16px 0;
    font-weight: 700;
    text-decoration:none !important;
}

.cad-sports-title a {
 
    text-decoration:none !important;
}

.cad-sports-title a {
    color: var(--cad-text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cad-sports-title a:hover {
    color: var(--cad-primary);
}

/* Internal Meta Rows styling */
.cad-match-meta {
    background: var(--cad-bg-light);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    margin-top: auto; /* Alignment Anchor */
}

.cad-meta-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cad-meta-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--cad-text-muted);
    letter-spacing: 0.05em;
}

.cad-meta-value {
    font-size: 14px;
    color: var(--cad-text-dark);
    font-weight: 600;
}

.cad-highlight-teams {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cad-vs {
    font-size: 11px;
    font-weight: 800;
    color: var(--cad-accent);
    background: rgba(245, 158, 11, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.cad-card-footer {
    display: flex;
    margin-top: auto;
}
a.cad-read-more{text-decoration:none !important;}
/* Empty query box */
.cad-no-news {
    text-align: center;
    padding: 60px 20px;
    background: var(--cad-bg-light);
    border-radius: var(--cad-border-radius);
    border: 2px dashed #e2e8f0;
}

.cad-no-news-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.cad-no-news p {
    color: var(--cad-text-muted);
    font-size: 16px;
    margin: 0;
}

/* Responsive Handling */
@media(max-width: 767px) {
    .cad-sports-grid { grid-template-columns: 1fr; }
    .cad-section-header h2 { font-size: 30px; }
}