:root {
      --primary-red: #c00d1e;
      --dark-red: #77050e;
      --card-gradient: linear-gradient(145deg, #b0101f 0%, #68050e 100%);
      --bg-body: #ffffff;
      --card-bg: #ffffff;
      --text-dark: #1a1a1a;
      --text-muted: #666666;
      --border-radius: 16px;
      --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
      --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
      --max-width: 1400px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Montserrat', sans-serif;
      background-color: var(--bg-body);
      color: var(--text-dark);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    .header-wrapper {
      background-color: #ffffff;
      position: sticky;
      top: 0;
      z-index: 100;
      border-bottom: 3.5px solid var(--primary-red);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    }

    .header-content {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 20px;
      height: 84px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: relative;
    }

    .header-brand {
      display: flex;
      align-items: center;
      text-decoration: none;
      cursor: pointer;
    }

    .main-logo-img {
      height: 60px;
      width: auto;
      display: block;
      transition: transform 0.2s ease;
    }

    .header-brand:hover .main-logo-img {
      transform: scale(1.03);
    }

    .desktop-nav-container {
      display: none;
      height: 100%;
    }

    .desktop-nav {
      list-style: none;
      display: flex;
      align-items: stretch;
      gap: 4px;
      height: 100%;
    }

    .desktop-nav li {
      display: flex;
      align-items: stretch;
    }

    .desktop-nav a {
      color: #222222;
      text-decoration: none;
      font-family: 'Oswald', sans-serif;
      font-size: 1.05rem;
      font-weight: 600;
      letter-spacing: 0.8px;
      text-transform: uppercase;
      padding: 0 16px;
      display: flex;
      align-items: center;
      position: relative;
      transition: color 0.2s ease;
    }

    .desktop-nav a::after {
      content: '';
      position: absolute;
      bottom: -3.5px;
      left: 0;
      width: 100%;
      height: 3.5px;
      background: var(--primary-red);
      transform: scaleX(0);
      transform-origin: bottom center;
      transition: transform 0.2s ease;
    }

    .desktop-nav a:hover {
      color: var(--primary-red);
    }

    .desktop-nav a:hover::after,
    .desktop-nav a.active::after {
      transform: scaleX(1);
    }

    .desktop-nav a.active {
      color: var(--primary-red);
    }

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

    .header-socials {
      display: none;
      align-items: center;
      gap: 10px;
    }

    .header-socials a {
      color: #666666;
      font-size: 1.05rem;
      text-decoration: none;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: #f4f5f8;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s ease;
    }

    .header-socials a:hover {
      background: var(--primary-red);
      color: #ffffff;
    }

    .menu-toggle-btn {
      background: #f4f5f8;
      border: none;
      color: #111111;
      font-size: 1.25rem;
      cursor: pointer;
      width: 44px;
      height: 44px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .hero-container {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 20px 20px 0;
    }

    .hero-container.hidden {
      display: none;
    }

    .hero-banner {
      position: relative;
      width: 100%;
      height: 260px;
      border-radius: var(--border-radius);
      overflow: hidden;
      box-shadow: var(--shadow-md);
      background-size: cover;
      background-position: center;
      background-image: url('BG/nluriwwopr.jpg');
      display: flex;
      align-items: flex-end;
      cursor: pointer;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .hero-banner:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    }

    .hero-banner::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.85) 100%);
      transition: background 0.25s ease;
    }

    .hero-overlay-content {
      position: relative;
      z-index: 2;
      padding: 28px;
      color: #ffffff;
      max-width: 800px;
    }

    .hero-tag {
      display: inline-block;
      background: var(--primary-red);
      color: #ffffff;
      font-family: 'Oswald', sans-serif;
      font-size: 0.85rem;
      font-weight: 600;
      padding: 4px 12px;
      border-radius: 4px;
      text-transform: uppercase;
      margin-bottom: 8px;
      letter-spacing: 0.5px;
    }

    .hero-title {
      font-family: 'Oswald', sans-serif;
      font-size: 1.8rem;
      line-height: 1.2;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    }

    .drawer-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.6);
      z-index: 150;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }

    .drawer-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .drawer {
      position: fixed;
      top: 0;
      left: -210px;
      width: 210px;
      height: 100%;
      background: var(--dark-red);
      z-index: 160;
      transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      display: flex;
      flex-direction: column;
      box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
      overflow-y: auto;
    }

    .drawer.open {
      left: 0;
    }

    .drawer-header {
      padding: 24px 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
      background: #ffffff;
      cursor: pointer;
    }

    .drawer-header img {
      width: auto;
      height: 50px;
    }

    .drawer-header .close-btn {
      color: var(--primary-red);
      font-family: 'Oswald', sans-serif;
      font-size: 1.1rem;
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 8px;
    }

    .drawer-menu {
      list-style: none;
      padding: 16px 0;
      display: flex;
      flex-direction: column;
    }

    .drawer-item {
      padding: 16px 24px;
      color: #ffffff;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      cursor: pointer;
      font-family: 'Oswald', sans-serif;
      font-size: 1.15rem;
      transition: background 0.2s;
      border-bottom: none;
    }

    .drawer-item + .drawer-item {
      position: relative;
    }

    .drawer-item + .drawer-item::before {
      content: '';
      position: absolute;
      top: 0;
      left: 20px;
      right: 20px;
      height: 1px;
      background: rgba(255, 255, 255, 0.75);
    }
    .drawer-item i {
      font-size: 1.8rem;
      margin-bottom: 6px;
    }

    .drawer-item img.drawer-custom-icon {
      width: 38px;
      height: 38px;
      object-fit: contain;
      margin-bottom: 6px;
      filter: brightness(0) invert(1);
    }

    .drawer-item:hover, .drawer-item.active {
      background: rgba(255, 255, 255, 0.12);
    }

    .main-container {
      flex: 1;
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 24px 20px 48px;
    }

    .page-section {
      display: none;
      animation: fadeIn 0.3s ease;
    }

    .page-section.active {
      display: block;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(8px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .section-headline {
      font-family: 'Oswald', sans-serif;
      font-size: 1.75rem;
      text-transform: uppercase;
      margin-bottom: 20px;
      letter-spacing: 0.5px;
      color: var(--primary-red);
      text-align: center;
    }

    .breadcrumb-bar {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 20px;
      font-size: 0.9rem;
      font-weight: 600;
      text-transform: uppercase;
      font-family: 'Oswald', sans-serif;
    }

    .breadcrumb-bar a {
      color: var(--primary-red);
      text-decoration: none;
      cursor: pointer;
    }

    .breadcrumb-bar span {
      color: var(--text-muted);
    }

    .home-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 24px;
    }

    .match-card {
      position: relative;
      border-radius: var(--border-radius);
      overflow: hidden;
      color: #fff;
      box-shadow: var(--shadow-md);
      background: url('BG/nluriwwopr.jpg') center/cover no-repeat;
      min-height: 380px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .match-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(15, 15, 15, 0.45) 0%, rgba(119, 5, 14, 0.88) 100%);
    }

    .match-content {
      position: relative;
      z-index: 2;
      width: 100%;
      max-width: 480px;
      padding: 30px 24px;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .match-league-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(4px);
      padding: 4px 12px;
      border-radius: 20px;
      font-family: 'Oswald', sans-serif;
      font-size: 0.82rem;
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 20px;
    }

    .teams-versus {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 24px;
      margin-bottom: 12px;
    }

    .team-logo-wrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      width: 90px;
    }

    .team-logo {
      width: 80px;
      height: 80px;
      object-fit: contain;
      filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
    }

    .team-name-label {
      font-family: 'Oswald', sans-serif;
      font-size: 1.05rem;
      font-weight: 600;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      text-shadow: 0 2px 4px rgba(0,0,0,0.6);
      white-space: nowrap;
    }

    .vs-text {
      font-family: 'Oswald', sans-serif;
      font-size: 1.5rem;
      font-weight: 700;
      letter-spacing: 1px;
      color: rgba(255, 255, 255, 0.6);
    }

    .score-display {
      font-family: 'Oswald', sans-serif;
      font-size: 2.2rem;
      font-weight: 700;
      letter-spacing: 2px;
      line-height: 1.2;
      margin: 10px 0 24px;
      text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    }

    .match-actions {
      display: flex;
      width: 100%;
      justify-content: center;
    }

    .btn-ticket {
      background: var(--primary-red);
      color: #ffffff;
      box-shadow: 0 6px 16px rgba(192, 13, 30, 0.3);
      padding: 14px 32px;
      border-radius: 8px;
      font-family: 'Oswald', sans-serif;
      font-size: 1.15rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      cursor: pointer;
      border: none;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      max-width: 210px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .btn-ticket:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(192, 13, 30, 0.4);
    }

    .spinner {
      border: 3px solid rgba(255,255,255,0.3);
      border-top: 3px solid #fff;
      border-radius: 50%;
      width: 30px;
      height: 30px;
      animation: spin 1s linear infinite;
      margin: 20px auto;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    .news-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 24px;
    }

    .news-card {
      position: relative;
      height: 320px;
      border-radius: var(--border-radius);
      overflow: hidden;
      box-shadow: var(--shadow-md);
      cursor: pointer;
      display: flex;
      flex-direction: column;
      background: #ffffff;
      transition: transform 0.25s ease;
    }

    .news-card:hover {
      transform: translateY(-4px);
    }

    .news-card-img-wrap {
      position: relative;
      flex-grow: 1;
      width: 100%;
      overflow: hidden;
      background: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .news-card-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      padding: 24px;
      transition: transform 0.4s ease;
    }

    .news-card:hover .news-card-img-wrap img {
      transform: scale(1.05);
    }

    .news-card-title-bar {
      width: 100%;
      background: var(--primary-red);
      color: #ffffff;
      font-family: 'Oswald', sans-serif;
      font-size: 1.55rem;
      font-weight: 600;
      letter-spacing: 0.5px;
      padding: 18px 20px;
      text-align: center;
      text-transform: uppercase;
    }

    .blog-posts-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 28px;
    }

    .blog-card {
      background: var(--card-bg);
      border-radius: var(--border-radius);
      overflow: hidden;
      box-shadow: var(--shadow-md);
      border: 1px solid #f0f0f0;
      display: flex;
      flex-direction: column;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      cursor: pointer;
      text-decoration: none;
    }

    .blog-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
    }

    .blog-body {
      padding: 28px 24px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }

    .blog-meta {
      display: flex;
      align-items: center;
      gap: 14px;
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-bottom: 12px;
    }

    .blog-meta i {
      color: var(--primary-red);
    }

    .blog-post-title {
      font-family: 'Oswald', sans-serif;
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--text-dark);
      margin-bottom: 12px;
      line-height: 1.3;
      text-transform: uppercase;
    }

    .blog-excerpt {
      font-size: 0.92rem;
      color: var(--text-muted);
      line-height: 1.5;
      margin-bottom: 22px;
      flex-grow: 1;
    }

    .blog-read-btn {
      align-self: flex-start;
      background: transparent;
      color: var(--primary-red);
      border: 1.5px solid var(--primary-red);
      padding: 8px 18px;
      border-radius: 6px;
      font-family: 'Oswald', sans-serif;
      font-size: 0.9rem;
      font-weight: 600;
      text-transform: uppercase;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: all 0.2s ease;
    }

    .blog-card:hover .blog-read-btn {
      background: var(--primary-red);
      color: #ffffff;
    }

    .post-highlight {
      border: 2px solid var(--primary-red);
      background: #fffafa;
    }

    .live-fetch-status {
      text-align: center;
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-bottom: 16px;
      font-style: italic;
    }

    .tiles-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 24px;
    }

    .tile-card {
      position: relative;
      height: 280px;
      border-radius: var(--border-radius);
      overflow: hidden;
      box-shadow: var(--shadow-md);
      cursor: pointer;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      background-size: cover;
      background-position: center;
    }

    .tile-forum {
      text-decoration: none;
      isolation: isolate;
    }

    .tile-forum::after {
      content: '';
      position: absolute;
      inset: -6px;
      z-index: -2;
      background: url('BG/qifdrymbou.png') center / cover no-repeat;
      filter: blur(2px);
    }

    .tile-card.tile-forum::before {
      z-index: -1;
    }

    .tile-encyklopedia {
      text-decoration: none;
      isolation: isolate;
    }

    .tile-encyklopedia::after {
      content: '';
      position: absolute;
      inset: -6px;
      z-index: -2;
      background: #ffffff url('BG/cdamvohecz.jpg') center calc(60% + 16px) / auto 90% no-repeat;
      filter: blur(2px);
    }

    .tile-card.tile-encyklopedia::before {
      z-index: -1;
    }

    .tile-statystyki {
      isolation: isolate;
    }

    .tile-statystyki::after {
      content: '';
      position: absolute;
      inset: -6px;
      z-index: -2;
      background: url('BG/iqmpsdthlz.png') center calc(50% + 16px) / cover no-repeat;
      filter: blur(2px);
    }

    .tile-card.tile-statystyki::before {
      z-index: -1;
    }

    .tile-terminarz {
      isolation: isolate;
    }

    .tile-terminarz::after {
      content: '';
      position: absolute;
      inset: -6px;
      z-index: -2;
      background: url('BG/yivbbpiiuo.png') center / cover no-repeat;
      filter: blur(2px);
    }

    .tile-card.tile-terminarz::before {
      z-index: -1;
    }

    .tile-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(15, 15, 15, 0.4) 0%, rgba(130, 8, 18, 0.88) 100%);
      transition: background 0.3s ease;
    }

    .tile-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
    }

    .tile-card:hover::before {
      background: linear-gradient(180deg, rgba(15, 15, 15, 0.25) 0%, rgba(192, 13, 30, 0.9) 100%);
    }

    .tile-content {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 20px;
    }

    .tile-card i {
      font-size: 3.5rem;
      margin-bottom: 16px;
      text-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
      transition: transform 0.3s ease;
    }

    .tile-card:hover i {
      transform: scale(1.1);
    }

    .tile-card span {
      font-family: 'Oswald', sans-serif;
      font-size: 1.85rem;
      font-weight: 600;
      letter-spacing: 1px;
      text-transform: uppercase;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    }

    .schedule-controls {
      display: flex;
      gap: 12px;
      margin-bottom: 20px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .filter-btn {
      background: #f4f5f8;
      border: 1px solid #dce0e6;
      color: var(--text-dark);
      padding: 8px 18px;
      border-radius: 20px;
      font-family: 'Oswald', sans-serif;
      font-size: 0.9rem;
      font-weight: 600;
      text-transform: uppercase;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .filter-btn.active, .filter-btn:hover {
      background: var(--primary-red);
      color: #ffffff;
      border-color: var(--primary-red);
    }

    .schedule-table-container {
      background: var(--card-bg);
      border-radius: var(--border-radius);
      box-shadow: var(--shadow-md);
      width: 100%;
      overflow: hidden;
      border: 1px solid #f0f0f0;
    }

    .schedule-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.95rem;
      table-layout: fixed;
    }

    .schedule-table th, .schedule-table td {
      padding: 14px 12px;
      border-bottom: 1px solid #f0f0f0;
      color: var(--text-dark);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      text-align: center;
    }

    .col-res-th {
      white-space: nowrap;
    }

    .schedule-table th {
      background: var(--primary-red);
      color: #ffffff;
      font-family: 'Oswald', sans-serif;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      position: relative;
    }

    .schedule-table th:not(:last-child)::after {
      content: '';
      position: absolute;
      right: 0;
      top: 25%;
      height: 50%;
      width: 1px;
      background-color: rgba(255, 255, 255, 0.4);
    }

    .col-date { width: 25%; }
    .col-comp { width: 23%; }
    .col-home { width: 22%; }
    .col-res  { width: 12%; }
    .col-away { width: 18%; }

    .schedule-table tr:last-child td {
      border-bottom: none;
    }

    .schedule-table tr:hover {
      background-color: #fafafa;
    }

    .match-status-badge {
      display: inline-block;
      padding: 4px 8px;
      border-radius: 4px;
      font-family: 'Oswald', sans-serif;
      font-size: 0.72rem;
      text-transform: uppercase;
      font-weight: 600;
      text-align: center;
      white-space: nowrap;
    }

    .status-done {
      background: #e6f4ea;
      color: #137333;
    }

    .status-upcoming {
      background: #fdebee;
      color: var(--primary-red);
    }

    .team-full { display: inline; }
    .team-short { display: none; }
    .col-comp { display: table-cell; }

    .status-upcoming-text { display: inline; }
    .status-upcoming-dash { display: none; }

    @media (max-width: 768px) {
      .team-full { display: none; }
      .team-short { display: inline; }
      .col-comp { display: none; }

      .status-upcoming-text { display: none; }
      .status-upcoming-dash { display: inline; }

      .col-date { width: 29%; font-size: 0.78rem; }
      .col-home { width: 26%; font-size: 0.82rem; }
      .col-res  { width: 14%; }
      .col-away { width: 29%; font-size: 0.82rem; }

      .schedule-table th, .schedule-table td {
        padding: 10px 4px;
      }
    }

    .contact-container {
      display: grid;
      grid-template-columns: 1fr;
      gap: 24px;
    }

    .contact-cards-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
    }

    .contact-info-card {
      background: var(--card-bg);
      border-radius: var(--border-radius);
      padding: 24px;
      box-shadow: var(--shadow-md);
      border: 1px solid #f0f0f0;
      display: flex;
      align-items: flex-start;
      gap: 18px;
      border-left: 5px solid var(--primary-red);
      transition: transform 0.2s ease;
    }

    .contact-info-card:hover {
      transform: translateY(-2px);
    }

    .contact-icon-wrapper {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: #fdebee;
      color: var(--primary-red);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      flex-shrink: 0;
    }

    .contact-details h3 {
      font-family: 'Oswald', sans-serif;
      font-size: 1.15rem;
      color: var(--text-dark);
      text-transform: uppercase;
      margin-bottom: 4px;
    }

    .contact-details p {
      color: var(--text-muted);
      font-size: 0.9rem;
      line-height: 1.4;
    }

    .contact-details strong {
      color: var(--primary-red);
      font-weight: 600;
    }

    .contact-email-card {
      align-items: center;
    }

    .contact-email-card .contact-details {
      min-width: 0;
    }

    .contact-email-list {
      list-style: none;
      display: grid;
      gap: 16px;
      margin: 0;
      padding: 0;
    }

    .contact-email-list a {
      font-weight: 700;
      color: var(--primary-red);
      font-size: 0.95rem;
      line-height: 1.6;
      overflow-wrap: anywhere;
      text-decoration: none;
    }

    .contact-email-list a:hover,
    .contact-email-list a:focus-visible {
      text-decoration: underline;
    }

    @media (max-width: 767px) {
      .contact-email-card {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 20px 12px;
      }

      .contact-email-card .contact-icon-wrapper {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
      }

      .contact-email-card .contact-details {
        flex: 1;
        container-type: inline-size;
      }

      .contact-email-list a {
        font-size: clamp(8px, 3.8cqi, 13px);
        white-space: nowrap;
        overflow-wrap: normal;
      }
    }
    .contact-form-card {
      background: var(--card-bg);
      border-radius: var(--border-radius);
      padding: 32px 24px;
      box-shadow: var(--shadow-md);
      border: 1px solid #f0f0f0;
    }

    .contact-form-title {
      font-family: 'Oswald', sans-serif;
      font-size: 1.4rem;
      color: var(--primary-red);
      text-transform: uppercase;
      margin-bottom: 20px;
    }

    .form-group {
      margin-bottom: 16px;
    }

    .form-group label {
      display: block;
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--text-dark);
      margin-bottom: 6px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .form-control {
      width: 100%;
      padding: 12px 14px;
      border: 1px solid #dce0e6;
      border-radius: 8px;
      font-family: 'Montserrat', sans-serif;
      font-size: 0.95rem;
      color: var(--text-dark);
      outline: none;
      transition: border-color 0.2s;
    }

    .form-control:focus {
      border-color: var(--primary-red);
    }

    textarea.form-control {
      resize: vertical;
      min-height: 120px;
    }

    .btn-submit-contact {
      background: var(--primary-red);
      color: #ffffff;
      border: none;
      padding: 14px 28px;
      border-radius: 8px;
      font-family: 'Oswald', sans-serif;
      font-size: 1.05rem;
      font-weight: 600;
      cursor: pointer;
      text-transform: uppercase;
      width: 100%;
      box-shadow: var(--shadow-sm);
      transition: all 0.2s ease;
    }

    .btn-submit-contact:hover {
      background: var(--dark-red);
      transform: translateY(-2px);
    }

    @media (min-width: 992px) {
      .header-content {
        height: 98px;
      }

      .main-logo-img {
        height: 80px;
      }

      .menu-toggle-btn {
        display: none;
      }

      .desktop-nav-container {
        display: flex;
      }

      .header-socials {
        display: flex;
      }

      .hero-banner {
        height: 420px;
      }

      .hero-title {
        font-size: 2.6rem;
      }

      .home-grid {
        grid-template-columns: 1fr 1fr;
      }

      .news-grid {
        grid-template-columns: 1fr 1fr;
      }

      .news-card {
        height: max(420px, calc(100svh - 240px));
      }

      .news-card-img-wrap {
        min-height: 0;
        flex: 1;
      }

      .news-card-title-bar {
        flex-shrink: 0;
      }

      .blog-posts-grid {
        grid-template-columns: repeat(3, 1fr);
      }

      .tiles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
      }

      .tile-card {
        height: 340px;
      }

      .tile-card i {
        font-size: 4rem;
      }

      .tile-card span {
        font-size: 2.1rem;
      }

      .contact-container {
        grid-template-columns: 1fr 1.2fr;
        gap: 32px;
      }

      .section-headline {
        text-align: left;
        font-size: 2rem;
        margin-bottom: 28px;
      }
    }

.hero-article-link { text-decoration:none }

.attendance-summary { display:block;margin-bottom:24px }

.attendance-total { font-size:2.5rem;font-weight:700;color:var(--primary-red);margin:12px 0 }

.attendance-season { margin-top:12px }

.table-scroll { overflow-x:auto }

.attendance-source { line-height:1.7;margin-top:16px }

.registry-card { margin-top:24px }

.registry-details { min-width:0;overflow-wrap:anywhere }

.registry-information { margin-top:12px;line-height:1.8 }

.scp-article-image { width: 100%; height: 220px; object-fit: cover; }

.site-footer {
  background: var(--primary-red);
  color: #fff;
  margin-top: auto;
  padding: 22px 24px;
}
.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 24px;
  font-size: .78rem;
  line-height: 1.7;
}
.site-footer-inner > * { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.footer-registry { display: contents; }
.footer-registry span { max-width: 100%; overflow-wrap: anywhere; }
.footer-copyright { font-weight: 600; }
.site-footer a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (max-width: 991px) {
  .site-footer-inner { gap: 8px 16px; }
  .site-footer { padding: 16px; }
}
.important-badge { display: inline-block; background: #c00d1e; color: #fff; padding: 4px 10px; border-radius: 5px; font-size: .8rem; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }

a.news-card { text-decoration: none; color: inherit; }
a.tile-card { text-decoration: none; color: #ffffff; }
.drawer-item:has(.drawer-link) { padding: 0; }
.drawer-link { display: flex; align-items: center; gap: 15px; padding: 18px 25px; width: 100%; color: inherit; text-decoration: none; }

.about-card { background: #fff; padding: 32px; border-radius: var(--border-radius); box-shadow: var(--shadow-md); overflow-wrap: anywhere; }
.about-card h2 { color: var(--primary-red); margin-bottom: 24px; }
.about-card dl { display: grid; gap: 18px; line-height: 1.6; }
.about-card dt { font-weight: 700; }
.about-card dd { margin: 0; }
.about-card a { color: var(--primary-red); }
@media(max-width:600px) { .about-card { padding: 24px 18px; } }

.about-card p { line-height: 1.85; margin-bottom: 18px; }
.about-card p + h2 { margin-top: 32px; }
.about-card p:last-child { margin-bottom: 0; font-weight: 700; }

.join-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border-radius: 8px; background: var(--primary-red); color: #fff; font-size: .85rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.join-button:hover { background: var(--dark-red); }
.join-button:focus-visible { outline: 3px solid var(--primary-red); outline-offset: 3px; }
.about-card .join-contact { color: #fff; }
@media(max-width: 380px) { .header-right .join-button { padding: 10px; font-size: .75rem; } .header-right { gap: 8px; } }

@media (min-width: 992px) and (max-width: 1199px) {
  .header-content { gap: 16px; padding: 0 16px; }
  .header-brand, .header-right { flex-shrink: 0; }
  .desktop-nav { gap: 0; }
  .desktop-nav a { padding: 0 9px; font-size: .95rem; letter-spacing: .3px; white-space: nowrap; }
  .header-right { gap: 10px; }
  .header-socials { gap: 6px; }
  .header-socials a { width: 30px; height: 30px; }
  .header-right .join-button { padding: 10px 12px; font-size: .8rem; }
}

.membership-information h2 { margin-top: 32px; margin-bottom: 18px; line-height: 1.4; }
.membership-information h2:first-child { margin-top: 0; }
.membership-information ul, .membership-information ol { padding-left: 24px; margin-bottom: 20px; line-height: 1.85; }
.membership-information li { margin-bottom: 8px; }
.membership-information .membership-download { margin: 12px 0; }
.membership-information .join-button { color: #fff; font-size: .8rem; padding: 10px 14px; white-space: normal; text-align: center; }
.membership-information p:last-child { font-weight: inherit; }

.about-download .join-button { font-size: .8rem; padding: 10px 14px; white-space: normal; text-align: center; }

.community-card { min-height: 380px; border-radius: var(--border-radius); box-shadow: var(--shadow-md); background: #fff; color: #000; border: 3px solid var(--primary-red); padding: 32px; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.community-card h2 { font-family: 'Oswald', sans-serif; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.35; text-align: center; }
.community-card dl { display: grid; gap: 16px; }
.community-card dl div { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #e5e5e5; padding-top: 16px; }
.community-card dt { font-size: .95rem; line-height: 1.5; font-weight: 700; }
.community-card dd { margin: 0; font-size: 1.8rem; font-weight: 700; }
@media(max-width:600px) { .community-card { padding: 24px; } }
