/* THREE & TWO BASEBALL – TEAM PAGES */

/* =========================
   GLOBAL / RESET
   ========================= */
html {
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: inherit;
}

html,
body {
    margin: 0;
    padding: 0;
    background: #000;
    color: #75F0BB;
    font-family: "Courier New", monospace;
}

/* =========================
   HEADER
   ========================= */
.site-header {
    padding: 20px;
    border-bottom: 2px solid #75F0BB;
}

.brand {
    font-size: 18px;
    letter-spacing: 2px;
}

.team-title {
    font-size: 28px;
    margin-top: 6px;
}

.back-link {
    display: inline-block;
    margin-top: 10px;
    color: #75F0BB;
    text-decoration: none;
    font-size: 14px;
}

/* =========================
   CARD GRID
   ========================= */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 20px;
}

/* Card */
.card {
    border: 1px solid #75F0BB;
    background: #020202;
    padding: 14px;
    height: 400px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.card-title {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.card-content {
    flex: 1;
    overflow-y: auto;
}

.card span {
    font-size: 12px;
    opacity: 0.8;
}

.card strong {
    font-size: 20px;
    margin-top: 6px;
    display: block;
}

/* =========================
   TABLES
   ========================= */
.table-block {
    padding: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border: 1px solid #75F0BB;
    padding: 8px;
    font-size: 14px;
}

/* =========================
   RESPONSIVE BREAKPOINTS
   ========================= */

/* Tablet */
@media (max-width: 900px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile – REAL resizing */
@media (max-width: 600px) {

    .site-header {
        padding: 12px;
    }

    .brand {
        font-size: 15px;
    }

    .team-title {
        font-size: 20px;
    }

    .back-link {
        font-size: 12px;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
    }

    .card {
        padding: 10px;          /* shrink internal size */
        height: auto;           /* let content define height */
    }

    .card-title {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .card span {
        font-size: 11px;
    }

    .card strong {
        font-size: 16px;        /* big visual fix */
    }

    .table-block {
        padding: 10px;
    }

    th,
    td {
        padding: 6px;
        font-size: 12px;
    }
}
