/*
Theme Name: futboloff.ru
Theme URI: 
Author: Команда CTR99 
Author URI: https://ctr99.ru/
Description: Тема для информационного портала по футболу
*/

/*Цвета*/


body {
    --white: #FFFFFF;
    --lime-green: #137752;
    --dark-green: #0b4731;
    --black: #4a4a4a;
    --very-dark-gray: #363636;
    --night-gray: #3b3e3b;
    --yellow: #e2c41f;
    --red: #f23838;
}

body {
    color: var(--black);
    background-color: var(--white);
}



h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2rem;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'PT Sans Narrow', sans-serif;
    font-weight: 700;
}



.wallpaper-section {
    height: 400px;
    filter: grayscale(100%);
    background-size: cover;
    position: relative;
}

.wallpaper-section.first {
    background-image: url('assets/img/wallpaper-section.jpeg');
}

.wrapper-description-page {
    padding-top: 40px;
}

/* Оригинальный стиль для ссылок */
a:not(:has(svg)),
a:visited:not(:has(svg)) {
    color: var(--lime-green);
    text-decoration: none;
    line-height: 1.3;
    background-image: linear-gradient(transparent 2px, #137752 0, #137752 4px, transparent 0), linear-gradient(transparent 2px, #d8dce9 0, #d8dce9 4px, transparent 0);
    background-size: 0 6px, 100% 6px;
    background-position: 0 bottom, 0 bottom;
    transition: background-size .3s ease-in-out;
    background-repeat: no-repeat;
    padding-bottom: 4px;
    border-bottom: 6px solid transparent;
    word-break: break-word;
}

nav a.navbar-item,
nav a.navbar-item:hover,
nav a.navbar-link,
nav a.navbar-link:hover {
    background: none;
    color: var(--black);
}

/* Наведение для ссылок без SVG */
a:hover:not(:has(svg)) {
    background-size: 100% 6px;
}


/*стили для страниц поля*/
.info-card {
    font-size: 1.5rem;
}

.info-card.content p {
    margin-bottom: 0;
}

.title-card {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.subtitle {
    display: flex;
    margin-bottom: 1.5rem;
    gap: 8px;
}

.negative-margin-subtitle {
    margin-top: -0.5rem;
}

/*Зеленая секция*/
.hero.is-primary.is-bold {
    background-image: linear-gradient(141deg, #031c0f, #0b4731 71%, #0c60);
}

.hero.is-primary {
    background-color: var(--dark-green);
    color: var(--white);
}

.hero.is-primary .title {
    color: var(--white);
}



/*Черная секция*/
.wrapper-section-name {
    background-color: var(--night-gray);
    color: var(--white);
    padding: 16px 16px;
}

.wrapper-name {
    text-align: center;
    text-transform: uppercase;
}

.wrapper-name h2 {
    font-weight: 600;
}

.wrapper-content {
    padding: 50px 0px;
}


.card-title {
    color: var(--white);
    text-transform: uppercase;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.card.content-card {
    background-size: cover;
    background-position: center;
    height: 380px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}


.card.content-card div.card-content {
    border-radius: 0;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}





.yellow-wrapper {
    background-color: var(--yellow);
    opacity: 0.8;
    color: var(--night-gray);
    padding: 10px;
    text-transform: uppercase;
    position: absolute;
    bottom: 80px;
    width: 100%;
    left: 0;
}


.yellow-wrapper h1 {
    font-weight: bold;
    overflow-wrap: break-word;
}

@media (max-width: 1024px) {
    .container-yellow-wrapper {
        max-width: 90%;
    }

    .yellow-wrapper {
        bottom: 20px;
    }


}

/* Наведение на четные ссылки */
.columns .column:nth-child(even) a:hover .card-content {
    background-color: var(--red);
    /* Красный фон для четных */
    transition: background-color 0.3s ease;
    border: none;
}

/* Наведение на нечетные ссылки */
.columns .column:nth-child(odd) a:hover .card-content {
    background-color: var(--yellow);
    /* Желтый фон для нечетных */
    transition: background-color 0.3s ease;
    border: none;
}



/*Пагинация*/
.pagination {
    align-items: center;
    justify-content: center;
    gap: 10px;
}



.is-justify-content-end-tablet {
    justify-content: flex-end;
}



/*фикс для бульмы*/
@media (max-width: 768px) {
    .column .item-category {
        justify-content: start !important;
    }
}



.card {
    background-color: #fff;
    border-radius: .25rem;
    box-shadow: 0 .5em 1em -.125em rgba(0, 0, 0, .1), 0 0 0 1px rgba(0, 0, 0, .02);
    color: #4a4a4a;
    max-width: 100%;
    border: none;
}

.card-image:first-child img {
    border-start-end-radius: .25rem;
    border-start-start-radius: .25rem;
}

.card-image img {
    width: 100%;
}




.notification a:not(.button):not(.dropdown-item) {
    text-decoration: none;
}


/*фикс для бульмы*/
@media (max-width: 1024px) {
    section.container {
        max-width: 90%;
    }
}

.table-container .table {
    width: 100%;
}