:root {
  --barca-red: #8b3a62;       /* гранатовый (основной) */
  --barca-blue: #004d99;      /* тёмно‑синий (цвета Барсы) */
  --barca-light: #e6f2ff;     /* светло‑голубой (акцент) */
  --white: #ffffff;
  --gray-dark: #333333;
  --gray-mid: #777777;
  --radius: 14px;             /* Apple‑style скругления */
  --shadow: 0 8px 24px rgba(0,0,0,0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background-color: var(--barca-red); /* весь фон гранатовый */
  color: var(--gray-dark);
  font-family: 'Roboto', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
}

body.is-home h2.name {
    display: none;
}
h2.name {
      padding: 20px;
}
a {
  text-decoration: none;
  color: #333;
}

/* Контейнер 1000px по центру */
.container {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}



/* Header */
/* Твой базовый стиль */
.site-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* Логотип-ссылка: убираем лишние обёртки, делаем ссылку блочной */
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none; /* чтобы не подчёркивало */
}
.logo-area:hover {
    opacity: 0.9;
}

.logo-img {
    height: 38px;
    width: auto;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--barca-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
}

.main-nav li {
    position: relative;
    display: flex;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--gray-dark);
    font-weight: 600;
    transition: color 0.2s;
    flex-grow: 1;
}

.main-nav a:hover {
    color: var(--barca-red);
}

.submenu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    color: var(--gray-mid);
    font-size: 11px;
    line-height: 1;
    display: flex;
    align-items: center;
    margin-left: 8px;
}

.submenu-toggle:hover {
    color: var(--barca-red);
}

.arrow-down {
    margin-left: 4px;
    transition: transform 0.2s;
    display: inline-block;
}

.has-submenu {
    position: relative;
}

.user_menu {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user_menu a {
    text-decoration: none;
    color: var(--gray-dark);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.user_menu a:hover {
    color: var(--barca-red);
}

.user.flex-icon {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon {
    display: inline-block;
    width: 16px;
    height: 16px;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}
.burger-line {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--barca-blue);
    margin: 4px 0;
    transition: 0.3s;
}
.mobile-toggle.active .burger-line:nth-child(1) { transform: rotate(-45deg) translate(-4px, 6px); }
.mobile-toggle.active .burger-line:nth-child(2) { opacity: 0; }
.mobile-toggle.active .burger-line:nth-child(3) { transform: rotate(45deg) translate(-4px, -6px); }


/* --- Десктоп: подменю с уменьшенным текстом --- */
@media (min-width: 1025px) {
    .has-submenu:hover > .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .has-submenu:hover > .submenu-toggle .arrow-down {
        transform: rotate(180deg);
    }

    .submenu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 220px;
        background: var(--white);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        padding: 8px 0;
        margin-top: 8px;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
        z-index: 99;
        list-style: none;
    }

    .submenu li {
        width: 100%;
    }

    /* Уменьшенный текст в выпадающем меню */
    .submenu a {
        color: var(--gray-dark);
        padding: 10px 16px;
        display: block;
        font-weight: 500;
        font-size: 13px; /* меньше, чем в главном меню */
        border-radius: 0;
    }

    .submenu a:hover {
        color: var(--barca-blue);
        background: rgba(139, 58, 98, 0.04);
    }
}

/* --- Мобильный: подменю по клику, текст чуть меньше, но читаемый --- */
@media (max-width: 1024px) {
    .mobile-toggle {
        display: none;
    }

    .submenu {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        min-width: 240px;
        background: var(--white);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        padding: 8px 0;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
        z-index: 999;
        list-style: none;
    }

    .submenu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .has-submenu.open > .submenu-toggle .arrow-down,
    .has-submenu:hover > .submenu-toggle .arrow-down {
        transform: rotate(180deg);
    }

    .main-nav li {
        position: relative;
    }

    .main-nav a,
    .submenu-toggle {
        padding: 12px 16px;
        font-size: 16px;
    }

    /* Текст в подменю на мобильном тоже чуть меньше */
    .submenu a {
        padding: 12px 16px;
        font-size: 14px; /* чуть компактнее, но удобно для пальца */
    }
}



/* Layout Grid (3 колонки) */
.layout-grid {
  display: grid;
  grid-template-columns: 260px 1fr 280px; /* лево / центр / право */
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 32px;
}

.col {
  display: block;
}

.box {
  padding: 20px;
}

/* Виджеты в колонках */
.widget-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}

.widget-title {
  margin: 0 0 16px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--barca-blue);
  border-bottom: 2px solid var(--barca-light);
  padding-bottom: 8px;
}

/* Левая колонка — список новостей */
/* Контейнер списка */
.news-list-small {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bc-news-item {
  margin-bottom: 16px;
}

/* Wrapper: flex, чтобы картинка была слева, текст справа */
.bc-news-wrapper {
  display: flex;
  gap: 12px;
  align-items: flex-start; /* начало по верхнему краю */
}

/* Блок картинки: фиксированная высота, object-fit покрывает всё */
.bc-news-image {
  flex: 0 0 76px; /* ширина 76px, не сжимается */
  height: 76px;   /* одинаковая высота для всех */
  overflow: hidden;
  border-radius: 8px;
}

.bc-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* картинка заполняет блок, не искажаясь */
  display: block;
}

/* Текстовый блок */
.bc-news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* заголовок сверху, мета снизу */
  min-height: 76px; /* чтобы высота текста совпадала с картинкой */
}

/* Заголовок: без отступов, сразу от верха */
.bc-news-title {
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
}

.bc-news-title a {
  text-decoration: none;
  color: var(--gray-dark);
  font-weight: 600;
}

.bc-news-title a:hover {
  color: var(--barca-red);
}

/* Мета: сразу внизу, без лишних отступов */
.bc-news-meta {
  margin-top: auto; /* прижимает вниз */
  font-size: 12px;
  color: var(--gray-mid);
  display: flex;
  align-items: center;
  gap: 4px;
}


/* Центральная колонка — большая карточка новости */
.big-news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden; 
  box-shadow: var(--shadow); 
}



.big-news-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.big-news-header {
  padding: 20px;
}

.big-news-date {
  font-size: 13px;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.big-news-title {
  margin: 10px 1px 10px 0;
  font-size: 25px;
  font-weight: 700;
  color: var(--gray-dark);
  line-height: 1.2;
}

.big-news-body {
  padding: 0 20px 20px;
}

.big-news-body p {
  margin: 0 0 16px 0;
}

.btn-read-more {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 20px;
  background: var(--barca-blue);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s;
}

.btn-read-more:hover {
  background: #003a77;
}

.more-news-section .section-title {
  margin: 32px 0 16px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--white); /* белый на гранатовом фоне виджета */
}

.news-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.news-card-sm {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.news-card-sm img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.news-card-sm h4 {
  margin: 12px;
  font-size: 15px;
  line-height: 1.4;
}

.news-card-sm h4 a {
  text-decoration: none;
  color: var(--gray-dark);
  font-weight: 600;
}

.news-card-sm h4 a:hover {
  color: var(--barca-red);
}

/* Отступ от предыдущего блока */
.la-liga-table-widget {
  margin-top: 28px;
}

.la-liga-table-widget .widget-title {
  margin: 0 0 16px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--barca-blue);
  border-bottom: 2px solid var(--barca-light);
  padding-bottom: 8px;
}

/* Таблица */
.la-liga-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
  background: transparent;
}

.la-liga-table th,
.la-liga-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-color);
}

.la-liga-table thead th {
  color: var(--gray-mid);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255,255,255,0.7);
}

/* Позиция */
.pos {
  font-weight: 700;
  color: var(--barca-red);
  min-width: 30px;
  text-align: center;
}

/* Название команды */
.team-name {
  font-weight: 600;
  color: var(--gray-dark);
}

/* Выделение первой строки (Барселона) */
.top-team {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 1px solid rgba(139, 58, 98, 0.15);
  border-radius: 8px;
}

.top-team .team-name {
  color: var(--barca-blue);
}

.points-high {
  color: var(--barca-red);
  font-weight: 700;
}

/* Убираем нижнюю границу у последней строки */
.la-liga-table tbody tr:last-child td {
  border-bottom: none;
}

/* Кнопка «Вся таблица» — теперь с жёлтой обводкой */
.btn-full-table {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 12px;
  background: var(--white);
  color: var(--barca-blue);
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  /* Жёлтая обводка */
  border: 2px solid #ffd700;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.btn-full-table:hover {
  background: #ffd700;
  color: #333;
  border-color: #d4af37;
}
/* Отступ от предыдущего блока */
.la-liga-table-widget {
  margin-top: 28px;
}

.la-liga-table-widget .widget-title {
  margin: 0 0 16px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--barca-blue);
  border-bottom: 2px solid var(--barca-light);
  padding-bottom: 8px;
}

/* Таблица */
.la-liga-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
  background: transparent;
}

.la-liga-table th,
.la-liga-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-color);
}

.la-liga-table thead th {
  color: var(--gray-mid);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255,255,255,0.7);
}

/* Позиция */
.pos {
  font-weight: 700;
  color: var(--barca-red);
  min-width: 30px;
  text-align: center;
}

/* Название команды */
.team-name {
  font-weight: 600;
  color: var(--gray-dark);
}

/* Выделение первой строки (Барселона) */
.top-team {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 1px solid rgba(139, 58, 98, 0.15);
  border-radius: 8px;
}

.top-team .team-name {
  color: var(--barca-blue);
}

.points-high {
  color: var(--barca-red);
  font-weight: 700;
}

/* Убираем нижнюю границу у последней строки */
.la-liga-table tbody tr:last-child td {
  border-bottom: none;
}

/* Кнопка «Вся таблица» — теперь с жёлтой обводкой */
.btn-full-table {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 12px;
  background: var(--white);
  color: var(--barca-blue);
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  /* Жёлтая обводка */
  border: 2px solid #ffd700;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.btn-full-table:hover {
  background: #ffd700;
  color: #333;
  border-color: #d4af37;
}





/* Правая колонка: матчи */
.match-widget .match-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
  border: 1px solid var(--barca-light);
}

.match-header {
  font-size: 14px;
  font-weight: 700;
  color: var(--barca-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.team-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.team-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.team-name {
  font-weight: 600;
  color: var(--gray-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}

.vs {
  color: var(--gray-mid);
  font-weight: 700;
}

.match-info,
.match-info.result {
  font-size: 13px;
  color: var(--gray-mid);
}

.match-info.result {
  color: var(--barca-red);
  font-weight: 700;
}

/* --- Блок опроса (компактный, чередование фона, заголовок #111) --- */
.cms-poll-widget {
    margin-bottom: 20px;
}

.cms-poll-question {
    margin: 0 0 10px 0;
    font-size: 15px;       /* чуть компактнее */
    font-weight: 700;
    color: #111;           /* как просил */
    line-height: 1.3;
}

.cms-poll-total {
    margin: 0 0 12px 0;
    font-size: 11px;       /* очень мелкий */
    color: var(--gray-mid);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Форма голосования (до голоса) --- */
.cms-poll-form {
    display: flex;
    flex-direction: column;
    gap: 4px;               /* максимально плотно */
}

/* Чередование: нечётный — белый, чётный — светло‑серый */
.cms-poll-option-label:nth-child(odd) {
    background: #ffffff;
}
.cms-poll-option-label:nth-child(even) {
    background: #f4f6f8;   /* мягкий серый */
}

.cms-poll-option-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;     /* небольшой отступ по бокам для читаемости */
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    font-size: 13px;      /* мелкий текст пункта */
}

.cms-poll-option-label:hover {
    background: #eef2f7 !important; /* при наведении — общий светлый оттенок */
    color: var(--barca-red);
}

.cms-poll-option-label input[type="radio"] {
    width: 14px;
    height: 14px;
    accent-color: var(--barca-red);
    cursor: pointer;
}

.cms-poll-submit {
    margin-top: 10px;
    padding: 7px 12px;     /* компактная кнопка */
    background: var(--barca-blue);
    color: var(--white);
    border: none;
    font-size: 12px;      /* мелкий шрифт кнопки */
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.cms-poll-submit:hover {
    background: #003a77;
}

.cms-poll-submit:active {
    transform: scale(0.98);
}

/* --- Результаты (после голоса) --- */
/* Чередование фона и для результатов */
.cms-poll-results .cms-poll-option-result:nth-child(odd) {
    background: #ffffff;
}
.cms-poll-results .cms-poll-option-result:nth-child(even) {
    background: #f4f6f8;
}

.cms-poll-results {
    display: flex;
    flex-direction: column;
    gap: 2px;              /* очень плотно */
}

.cms-poll-option-result {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 5px 8px;
}

.cms-poll-option-result span {
    font-size: 12px;       /* мелкий текст */
    color: var(--gray-dark);
}

.cms-poll-option-result b {
    color: var(--barca-red);
    font-weight: 700;
}

/* Полоса прогресса */
.cms-poll-bar {
    height: 3px;
    background: linear-gradient(90deg, var(--barca-red), #d32f2f);
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}

/* Сообщение «Вы уже проголосовали» */
.cms-poll-already-voted {
    margin: 10px 0;
    padding: 6px 10px;
    border-left: 3px solid var(--barca-red);
    color: var(--gray-dark);
    font-size: 12px;       /* компактный текст */
}


/* Footer */
.site-footer {
    background-color: #0f1923; /* тёмный, почти чёрный */
    color: #d1d1d1;
    padding-top: 40px;
    padding-bottom: 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4.footer-title {
    color: #fff;
    font-size: 18px;
    margin: 0 0 12px;
    border-left: 4px solid #ffcd00; /* акцент под «Барселону» */
    padding-left: 8px;
}

.footer-desc {
    line-height: 1.6;
    color: #a0a0a0;
    margin-bottom: 16px;
}

.footer-stats {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-item {
    font-size: 14px;
    color: #e0e0e0;
}
.stat-item strong {
    color: #ffcd00;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: #d1d1d1;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}
.social-link {
    display: inline-block;
    padding: 8px 14px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
}
.social-link:hover {
    background: #ffcd00;
    color: #0f1923;
}

.email-link {
    color: #4da6ff;
    text-decoration: none;
}
.email-link:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.copyright {
    margin: 0;
    font-size: 14px;
    color: #888;
}
.legal-links a {
    color: #888;
    text-decoration: none;
    margin-left: 16px;
}
.legal-links a:hover {
    color: #fff;
}

.news-item {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-content {
    display: flex;
    align-items: center;
    justify-content: space-between; /* ссылка слева, дата справа */
    gap: 12px;
}

.news-title {
    margin: 0;
    flex: 1; /* чтобы заголовок занимал свободное место и прижимал дату вправо */
}

.news-link {
    text-decoration: none;
    color: var(--gray-dark);
    font-weight: 600;
}

.news-link:hover {
    color: var(--barca-blue);
}

.news-meta {
    display: inline-block;
}

.news-date {
    font-size: 13px;
    color: #666;
}

.obvodka {
padding-bottom: 20px; padding-right: 20px; padding-left: 20px;



}

.barca-squad-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;                /* уменьшен базовый размер */
  color: var(--gray-dark);
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-radius: 8px;
  overflow: hidden;
}

.barca-squad-table thead {
  background: var(--barca-blue);
  color: #fff;
}

.barca-squad-table th {
  padding: 10px 12px;             /* уменьшены отступы */
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  font-size: 12px;               /* заголовки ещё меньше */
}

.barca-squad-table td {
  padding: 8px 12px;             /* компактнее ячейки */
  vertical-align: middle;
  border-bottom: 1px solid #eee;
  line-height: 1.3;              /* плотная высота строки */
}

/* Номер: чуть компактнее */
.number-cell {
  font-weight: 700;
  color: var(--barca-blue);
  min-width: 36px;
  text-align: center;
  background: #f5f6f8;
  border-radius: 6px;
  font-size: 13px;
}

/* Позиции: уменьшенные бейджи */
.position-goalkeeper,
.position-defender,
.position-midfielder,
.position-forward {
  display: inline-block;
  padding: 3px 8px;              /* меньше отступы внутри бейджа */
  border-radius: 16px;
  font-size: 11px;               /* мелкий текст в бейдже */
  font-weight: 600;
  white-space: nowrap;
}

.position-goalkeeper {
  background: rgba(139, 58, 98, 0.08);
  color: var(--barca-red);
  border: 1px solid rgba(139, 58, 98, 0.15);
}

.position-defender {
  background: rgba(0, 77, 153, 0.06);
  color: var(--barca-blue);
  border: 1px solid rgba(0, 77, 153, 0.12);
}

.position-midfielder {
  background: rgba(255, 215, 0, 0.08);
  color: #b37100;
  border: 1px solid rgba(255, 215, 0, 0.15);
}

.position-forward {
  background: rgba(220, 20, 60, 0.08);
  color: #c00;
  border: 1px solid rgba(220, 20, 60, 0.15);
}

/* Чередование фона строк */
.barca-squad-table tbody tr:nth-child(even) {
  background: #fafafa;
}

.barca-squad-table tbody tr:hover {
  background: #eef6ff;
}

/* Разделитель между группами позиций */
.barca-squad-table tr[data-position-group=defenders]:first-of-type,
.barca-squad-table tr[data-position-group=midfielders]:first-of-type,
.barca-squad-table tr[data-position-group=forwards]:first-of-type {
  border-top: 2px solid var(--barca-light);  /* чуть тоньше линия */
}

/* Адаптив: на мобильных — горизонтальная прокрутка */
@media (max-width: 768px) {
  .barca-squad-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .barca-squad-table thead,
  .barca-squad-table tbody,
  .barca-squad-table tr,
  .barca-squad-table th,
  .barca-squad-table td {
    display: unset;
    vertical-align: middle;
  }

  .number-cell,
  .position-goalkeeper,
  .position-defender,
  .position-midfielder,
  .position-forward {
    white-space: nowrap;
  }
}



/* --- Планшеты (769–1024px): одна колонка, без наездов --- */
@media (min-width: 769px) and (max-width: 1024px) {
  .layout-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .col-left, .col-center, .col-right {
    width: 100%;
    position: static;
    z-index: auto;
  }
    .btn-read-more {
    display: none !important;
  }
}

/* --- Мобильные (до 768px): одна колонка, меню-гамбургер, центр строго сверху --- */
@media (max-width: 768px) {
  /* Гамбургер */
  .mobile-toggle {
    display: block !important;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
  }
      .btn-read-more {
    display: none !important;
  }

  .burger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #111;
    margin: 5px 0;
  }

  /* Главное меню: скрыто по умолчанию, показывается по .open */
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 12px 0;
    display: none !important;
    flex-direction: column;
    z-index: 1000;
    overflow-y: auto;
    max-height: calc(100vh - 80px);
  }

  .main-nav.open {
    display: flex !important;
  }

  .main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .main-nav li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .main-nav a {
    display: block;
    padding: 14px 16px;
    color: #111;
    font-size: 16px;
    font-weight: 600;
  }

  .main-nav a:hover {
    background-color: #f9f9f9;
  }

  /* Подменю */
  .submenu {
    display: none;
    list-style: none;
    margin-left: 16px;
    padding: 0;
  }

  .has-submenu.open .submenu {
    display: block;
  }

  .submenu li {
    border-bottom: none;
  }

  .submenu a {
    padding: 10px 16px;
    font-size: 15px;
    color: #555;
  }

  /* Сетка: отключаем Grid, делаем обычный поток */
  .layout-grid {
    display: block;
    margin-top: 16px;
    margin-bottom: 16px;
    gap: 0;
  }

  .col, .col-left, .col-center, .col-right {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    position: static !important;
    z-index: auto !important;
  }

    .layout-grid {
    display: flex !important;       /* Было block, стало flex — это ключ */
    flex-direction: column !important; /* Колонки друг под другом */
    grid-template-columns: auto !important;
    gap: 16px !important;           /* Расстояние между блоками */
    margin-top: 16px;
    margin-bottom: 16px;
  }

      /* === ТЕПЕРЬ ORDER РАБОТАЕТ, ПОТОМУ ЧТО РОДИТЕЛЬ — FLEX === */
  .col-center { order: 1 !important; } /* ЦЕНТР ПЕРВЫЙ */
  .col-left  { order: 2 !important; }  /* ЛЕВЫЙ ВТОРОЙ */
  .col-right { order: 3 !important; }  /* ПРАВЫЙ ТРЕТИЙ */

  /* Чтобы виджеты и картинки не вылезали */
  .widget-box, .big-news-card, .wps-widget {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Убираем user_menu на мобильных */
  .user_menu {
    display: none !important;
  }
}

сделай в этом коде все в цвтеах интер милан


