/*
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0.1745633186
Updated: 2025-04-26 05:06:26

*/

#archive-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.game-card {
    width: 100%;
    max-width: 400px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #fff;
    border: 1px solid #ddd;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -o-border-radius: 8px;
    border-radius: 8px;
    text-align: center;
    padding: 15px;
}
.game-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.team {
    display: flex;
    width: 30%;
    align-items: center;
    flex-direction: column;
}
.team-logo {
    width: 80px;
    margin-bottom: 10px;
    height: 80px;
}
.team-logo-img {
    width: 100%;
    height: 100%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    object-fit: contain;
}
.team-name {
    font-size: 14px;
    font-weight: bold;
}
.game-info {
    display: flex;
    width: 40%;
    align-items: center;
    flex-direction: column;
}
.arena {
    margin-bottom: 5px;
    font-size: 12px;
    color: #fff;
    background-color: #ff4d4d;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    padding: 5px 10px;
}
.division {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: bold;
}
.date {
    margin-bottom: 5px;
    font-size: 12px;
}
.time {
    font-size: 16px;
    font-weight: bold;
}
.stream-link {
    margin-top: 10px;
}
.stream-link a {
    font-size: 12px;
    text-decoration: none;
    color: #ff4d4d;
}
.stream-link a:hover {
    text-decoration: underline;
}

td.team_1--qef-type-post_object--.column-team_1--qef-type-post_object-- {
    color: red;
}
td.team_2--qef-type-post_object--.column-team_1--qef-type-post_object-- {
    color: red;
}

/* Меню околохоккей */
.custom-subpages-menu ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin: 0;
}

.custom-subpages-menu li {
    flex: 1;
}

.custom-subpages-menu li a {
    display: block;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 6px;
    border: 2px solid #f23d66;
    background-color: #ffffff;
    color: #000;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
    position: relative;
}

.custom-subpages-menu li a:hover {
    background-color: #f23d66;
    color: #ffffff;
}

.custom-subpages-menu li a:hover {
    transform: translateY(-4px);
}

.custom-subpages-menu .current-page-item a {
    background-color: #f23d66;
    color: #ffffff;
}

/* Адаптив: 2 колонки на экранах < 600px */
@media (max-width: 600px) {
    .custom-subpages-menu li {
        width: calc(50% - 0.5em);
    }
}
