/*
Theme Name: Hello Elementor Child
Template: hello-elementor
*/
/* WBC Button Style */
.wbc-btn {
    display: inline-block;
    padding: 8px 14px;
    margin-right: 8px;
    margin-bottom: 6px;
    background: #0073aa;
    color: #fff !important;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.wbc-btn:hover {
    background: #005f8d;
    color: #fff !important;
}

.wbc-btn-red {
    background: #cc0000;
}

.wbc-btn-red:hover {
    background: #a30000;
}
/* WBC Button Style – Enhanced */
.wbc-btn {
    display: inline-block;
    padding: 10px 18px;
    margin-right: 10px;
    margin-bottom: 10px;

    background: #1e73be; /* stronger blue */
    color: #fff !important;

    border: 2px solid #0f4c8a; /* thicker border */
    border-radius: 6px;

    text-decoration: none;
    font-size: 15px;
    font-weight: 600;

    box-shadow: 0 2px 4px rgba(0,0,0,0.15); /* subtle lift */
    transition: all 0.15s ease-in-out;
}

.wbc-btn:hover {
    background: #155a99;
    border-color: #0d3e6c;
    color: #fff !important;
    box-shadow: 0 3px 6px rgba(0,0,0,0.25);
}

/* Red button (Restore Match) */
.wbc-btn-red {
    background: #d62828;
    border-color: #a71d1d;
}

.wbc-btn-red:hover {
    background: #b71f1f;
    border-color: #8a1616;
}
/* Archived Matches page buttons only */
.wbc-archive-container .wbc-btn {
    display: inline-block;
    padding: 10px 18px;
    margin-right: 10px;
    margin-bottom: 10px;

    background: #1e73be;        /* stronger blue */
    color: #fff !important;

    border: 3px solid #0f4c8a;  /* thicker border */
    border-radius: 6px;

    text-decoration: none;
    font-size: 15px;
    font-weight: 600;

    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.15s ease-in-out;
}

.wbc-archive-container .wbc-btn:hover {
    background: #155a99;
    border-color: #0d3e6c;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

/* Red restore button (archive page only) */
.wbc-archive-container .wbc-btn-red {
    background: #d62828;
    border-color: #a71d1d;
}

.wbc-archive-container .wbc-btn-red:hover {
    background: #b71f1f;
    border-color: #8a1616;
}
add_filter('protected_title_format',function(){return'%s';});

.archive-match-block {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.archive-buttons {
    margin-top: 10px;
}

.archive-btn {
    display: inline-block;
    padding: 8px 14px;
    margin-right: 10px;
    background: #004d40;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.archive-btn:hover {
    background: #00695c;
}
/* GRID WRAPPER */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;                 /* narrow gap between cards */
    max-width: 1100px;         /* indent from left */
    margin-left: 40px;         /* indent from left side */
    margin-top: 20px;
}

/* CARD STYLE */
.archive-card {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    background: #fafafa;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* HEADER */
.archive-card-header h3 {
    margin: 0;
    font-size: 20px;
}

.archive-card-header p {
    margin: 4px 0 10px 0;
    font-size: 15px;
    color: #555;
}

/* META */
.archive-card-meta p {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #444;
}

/* BUTTONS */
.archive-card-buttons {
    margin-top: 10px;
}

.archive-btn {
    display: inline-block;
    padding: 8px 14px;
    margin-right: 10px;
    background: #004d40;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.archive-btn:hover {
    background: #00695c;
}

/* MOBILE */
@media (max-width: 768px) {
    .archive-grid {
        grid-template-columns: 1fr;
        margin-left: 0;
    }
}
.archive-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.archive-table th,
.archive-table td {
    border: 1px solid #ccc;
    padding: 8px;
}

.archive-table th {
    background: #eee;
}
