@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");
#masthead {
  padding: 20px 0;
}
.site-branding .logo a img {
  width: 135px;
}

.btn-outline {
  border: 0.5px solid #ca0813 !important;
  color: #ca0813 !important;
  padding: 8px 25px !important;
  border-radius: 20px !important;
  cursor: pointer !important;
  font-size: 16px !important;
}
.btn-red {
  background-color: #ca0813 !important;
  color: #ffffff !important;
  padding: 8px 25px !important;
  border-radius: 20px !important;
  cursor: pointer !important;
  font-size: 16px !important;
}
.btn-white {
  background-color: #ffffff !important;
  color: #ca0813 !important;
  padding: 8px 10px !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  filter: none !important;
  font-size: 14px !important;
  width: 55px !important;
  height: 55px !important;
}
.btn-red-header {
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 18px !important;
  background-color: #ca0813 !important;
  border-style: none !important;
  border-radius: 8px 8px 8px 8px !important;
  padding: 14px 24px 14px 24px !important;
  color: #fff !important;
  font-family: "Noto Sans", Sans-serif !important;
}
.btn-outline-header {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 18px !important;
  fill: #ca0813 !important;
  color: #ca0813 !important;
  background-color: #ffffff !important;
  border-style: solid !important;
  border-width: 0.5px 0.5px 0.5px 0.5px !important;
  border-radius: 8px 8px 8px 8px !important;
  padding: 14px 24px 14px 24px !important;
  border-color: #ca0813 !important;
  font-family: "Noto Sans", Sans-serif !important;
}
.footer-main-section {
  border-radius: 40px;
  padding: 30px 50px;
}
.bg-footer {
  background-color: #fbfbff;
}
.footer-logo a img {
  width: 175px;
}
.footer-logo p {
  color: #041933;
  font-size: 16px;
}
.footer-menu h1,
.footer-icon h1 {
  font-size: 20px;
  color: #041933;
  font-weight: 400;
}
.footer-menu-link ul,
.footer-icon ul {
  list-style: none;
  padding: 0;
  display: inline-flex;
}
.footer-menu-link ul li {
  margin-right: 20px;
}
.footer-menu-link ul li a {
  color: #041933;
  font-weight: 600;
}
.footer-icon img {
  max-width: 30px;
  height: auto;
  image-rendering: -moz-crisp-edges; /* Firefox */
  image-rendering: -o-crisp-edges; /* Opera */
  image-rendering: -webkit-optimize-contrast; /* Safari */
  image-rendering: crisp-edges; /* CSS3 */
  image-rendering: pixelated; /* CSS4 */
}
.padding-60 {
  padding: 60px 0;
}
.padding-30 {
  padding: 30px 0;
}
/* Single page */
.insider-only-heading h1 {
  font-size: 26px;
  font-weight: 600;
  color: rgba(4, 49, 107, 1);
}
.insider-image img {
  border-radius: 7px;
  width: 100%;
}
.insider-publish {
  color: rgba(4, 49, 107, 1);
  font-weight: 500;
}
.insider-publish span {
  color: rgba(217, 0, 0, 1);
}
.insider-heading h1 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 35px;
  color: rgba(33, 74, 126, 1);
}
.media--image i.videoIconModal {
  top: 45%;
  left: 45%;
  cursor: pointer;
}
.banner-image {
  height: 140px;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}
.child-news-image a {
  width: 100%;
}
#videoModal .modal-content {
  min-width: 800px;
  min-height: 500px;
}
.modal.show .modal-dialog {
  width: 100% !important;
}
.toggler {
  background-color: #ca0813;
  padding: 3px 15px;
}

.toggler:focus,
.toggler:hover {
  background-color: #ca0813;
}
.no-blogpost-found {
  padding: 30px 0;
  font-size: 22px;
  font-weight: 600;
}
.dashboard-btn a {
  padding: 10px 12px;
  /* border-right: 1px solid #B2B2B2; */
}
.dashboard-btn a:last-child {
  padding-right: 0;
}
.dashboard-btn a img {
  width: 22px;
  height: 22px;
}
.dashboard-nav {
  background-color: #ebf4ff;
  padding: 8px;
}
.dashboard-logo img {
  height: 60px;
  width: 60px;
}
.team-name-dashboard a {
  text-decoration: none;
}
.team-name-dashboard a h1 {
  font-size: 18px;
  color: #04316b;
  font-weight: 600;
  margin-bottom: 0;
  font-family: InterSemiBold !important;
}
.team-description-dashboard p {
  color: #767676;
  font-size: 16px;
  margin-bottom: 0;
  margin-top: 10px;
  font-family: InterSemiBold !important;
}
.dashboard-home {
  background-color: #fff;
  padding: 10px;
  border-radius: 8px;
}
.dashboard-home:hover {
  box-shadow: 0px 0px 9.9px 0px rgba(0, 0, 0, 0.2);
}

.dashboard-home a {
  text-decoration: none;
  color: #04316b;
}
.dashboard-home h1 {
  font-size: 16px;
  margin-bottom: 0;
  font-family: InterSemiBold !important;
}
.dashboard-home img {
  height: 17px;
  width: 18px;
}
.site-branding .d-logo a img {
  width: 150px;
}

.coming-soon img {
  max-height: 500px;
}
.coming-h1 {
  font-family: Archivo;
  font-size: 26.41px;
  font-weight: 400;
  line-height: 31.69px;
  text-align: left;
}
.find-team {
  border: 1px solid #eee;
  padding: 10px 5px;
  border-radius: 5px;
}
.for-fans p {
  font-size: 14px;
}
.for-fans h6 {
  font-size: 16px;
  font-weight: 700;
}
@media only screen and (min-width: 768px) and (max-width: 990px) {
  #masthead .btn-outline,
  #masthead .btn-red,
  .btn-outline-header,
  .btn-red-header {
    font-size: 14px !important;
    padding: 10px 18px !important;
  }
  .club-logo {
    width: 100% !important;
    padding: 10px !important;
    margin-top: 15px;
  }
  .team-name h1 {
    font-size: 24px !important;
    line-height: 26px !important;
  }
  .team-description p {
    font-size: 13px !important;
  }
  .banner-image {
    height: 150px;
  }
  .team-button {
    display: flex;
    justify-content: space-between;
  }
  .team-button .btn-white {
    padding: 10px 18px !important;
    width: 50px !important;
    height: 50px !important;
  }
  .notification-content-box {
    height: 300px;
    width: 300px;
  }
  .child-news {
    padding: 20px 15px !important;
  }
  .footer-menu-link ul li {
    margin-bottom: 0px;
    font-size: 18px;
  }
  .notification-content-box {
    height: 650px !important;
    width: 650px !important;
    right: -7% !important;
  }
  .footer-main-section {
    padding: 30px 10px;
  }
  #videoModal .modal-content {
    min-width: 350px;
    min-height: 350px;
    max-width: 800px;
    max-width: 550px;
  }
  #bbpress-forums [type="submit"],
  #bbpress-forums input[type="text"] {
    padding: 0.5rem 1rem;
  }
  .insider-heading h1 {
    font-size: 27px;
    font-weight: 500;
  }
  .nav-menu {
    padding: 15px 30px !important;
  }
  .text-why h3 {
    font-size: 20px !important;
  }
  .text-why p,
  .text-why a {
    font-size: 16px !important;
  }
  .custom-tick-list li {
    font-size: 18px !important;
  }
  .about-club-content .about-club-img img {
    height: 170px !important;
  }
  .about-club-p {
    padding: 20px 5px !important;
  }
  .about-club-p p {
    font-size: 15px !important;
  }
}
@media only screen and (max-width: 767px) {
  #masthead .btn-outline,
  #masthead .btn-red,
  .btn-outline-header,
  .btn-red-header {
    font-size: 11px !important;
    padding: 11px 11px !important;
  }
  .club-logo {
    width: 100% !important;
    padding: 6px !important;
    margin-top: 15px;
    margin-bottom: 15px;
  }
  .team-name h1 {
    font-size: 24px !important;
    line-height: 26px !important;
  }
  .team-description p {
    font-size: 13px !important;
  }
  .banner-image {
    max-height: 250px;
    height: 100%;
    padding: 20px 0;
  }
  .team-button {
    display: flex;
    justify-content: space-between;
  }
  .team-button .btn-white {
    padding: 8px 13px !important;
  }
  .notification-content-box {
    height: 300px;
    width: 300px;
  }
  .child-news {
    padding: 15px 10px !important;
  }
  .footer-menu-link ul li {
    margin-bottom: 0px;
    font-size: 15px;
  }
  .footer-menu h1,
  .footer-icon h1 {
    font-size: 18px;
  }
  .footer-icon img {
    max-width: 27px;
  }
  .notification-content-box {
    height: 350px !important;
    width: 350px !important;
    right: -7% !important;
  }
  .footer-main-section {
    padding: 30px 10px;
  }
  #videoModal .modal-content {
    min-width: 350px;
    min-height: 350px;
    max-width: 800px;
    max-width: 550px;
  }
  #bbpress-forums [type="submit"],
  #bbpress-forums input[type="text"] {
    padding: 0.5rem 1rem;
  }
  .insider-heading h1 {
    font-size: 27px;
    font-weight: 500;
  }
  .nav-menu {
    padding: 15px 30px !important;
  }

  .heading-access h1,
  .flikr-heading h1,
  .what-included-heading h1 {
    font-size: 26px !important;
  }
  .text-why h3 {
    margin-top: 10px;
  }
  .membership_radio {
    width: 90% !important;
    padding: 15px 50px !important;
  }
  .team-name-dashboard a h1 {
    font-size: 16px;
  }
  .dashboard-home h1 {
    font-size: 18px;
  }
  .dashboard-home img {
    height: 16px;
    width: 16px;
  }
  .team-description-dashboard p {
    font-size: 14px;
  }
}
@media only screen and (max-width: 420px) {
  .dashboard-logo img {
    height: 60px;
    width: 72px;
  }
  .team-name-dashboard a h1 {
    font-size: 14px;
  }
  .dashboard-home h1 {
    font-size: 13px;
  }
  .dashboard-home img {
    height: 13px;
    width: 13px;
  }
  .team-description-dashboard p {
    font-size: 14px;
  }
}

/* GAME SCHEDULE, MATCH STATS & STANDINGS */

.game-schedule-section,
.match-stats-section,
.standings-section {
  padding: 40px 0 60px;
  background-color: #fff;
}

.game-schedule-section *,
.match-stats-section *,
.standings-section * {
  font-family: "Inter", sans-serif;
}

.game-schedule-section h1,
.game-schedule-section h2,
.game-schedule-section h3,
.game-schedule-section h4,
.match-stats-section h1,
.match-stats-section h2,
.match-stats-section h3,
.league-title {
  font-family: "Archivo", sans-serif;
}
.match-card-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 15px 0px;
}

.game-schedule-section .match-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.game-schedule-section .match-team img {
  max-width: 60px;
  height: auto;
  margin-bottom: 8px;
  object-fit: contain;
}

.game-schedule-section .match-team-name {
  text-align: center;
  font-size: 14px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.match-vs-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 15px;
}

.game-schedule-section .match-vs {
  font-weight: 600;
  font-size: 16px;
  color: #04316b;
}

/* Schedule Header & Tabs */
.schedule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.schedule-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #04316b;
  margin: 0;
}

.schedule-tabs {
  display: flex;
  gap: 10px;
}

.schedule-tab {
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid #e6e8eb;
  background: #fff;
  color: #041933;
}

.schedule-tab.active {
  background-color: #04316b;
  color: #fff;
  border-color: #04316b;
}

.schedule-tab:hover:not(.active) {
  border-color: #04316b;
  color: #04316b;
}

/* Live Match Card */
.live-match-card {
  background: #fff;
  border: 2px solid #ca0813;
  padding: 25px 20px;
  padding-top: 0;
  margin-bottom: 30px;
  text-align: center;
  border-radius: 20px;
}

.live-badge,
.match-badge {
  display: inline-block;
  color: #fff;
  padding: 6px 40px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.live-badge,
.match-badge.live {
  background-color: #ca0813;
}

.background-logo-div,
.match-teams-section {
  border-bottom: 1px solid #04316b1a;
  padding-bottom: 15px;
}

.live-match-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-bottom: 15px;
}

.live-team,
.match-team {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.match-team {
  flex-direction: column;
  align-items: center;
}

.match-team img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 8px;
}

.live-team img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.live-team-name,
.match-team-name {
  font-size: 16px;
  font-weight: 700;
  color: #04316b;
  font-family: "Krub", sans-serif;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.match-stats-section .match-vs-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 15px;
}

.live-vs,
.match-vs {
  font-size: 28px;
  font-weight: 700;
  color: #04316b;
  flex-shrink: 0;
}

.live-scores {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-bottom: 25px;
}

.match-scores {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-bottom: 25px;
}

.match-score-spacer {
  flex-shrink: 0;
  width: 80px; /* Match the width of VS container (approximately VS text width + padding) */
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-score-box,
.match-score-box {
  background-color: #ebeff4;
  color: #04316b;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 22px;
  font-weight: 700;
}

.live-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.live-btn,
.match-stats-btn {
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 140px;
  text-align: center;
}
.match-card-stat a:hover {
  color: #fff !important;
}
.match-stats-btn {
  padding: 10px 20px !important;
}

.live-btn-filled {
  background: #ca0813;
  color: #fff;
  border: 2px solid #ca0813;
  border-radius: 10px;
}
a.live-btn-filled:hover {
  color: #fff !important;
}

/* Schedule Match List Cards */
.game-schedule-section .match-card {
  background: #fff;
  border: 2px solid #04316b;
  border-radius: 16px;
  margin-bottom: 20px;
  padding: 0 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
  position: relative;
  text-align: center;
}

.game-schedule-section .match-card-date {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.game-schedule-section .match-card-date span {
  background-color: #04316b;
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 25px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  display: inline-block;
  text-align: center;
}

.game-schedule-section .match-team img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.game-schedule-section .match-team-name {
  font-size: 12px;
  font-weight: 600;
  color: #041933;
}

.match-score-display {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.score-number {
  font-size: 20px;
  font-weight: 700;
  color: #04316b;
  min-width: 25px;
  text-align: center;
}

.score-separator {
  font-size: 16px;
  font-weight: 600;
  color: #83878b;
}

.match-card-info {
  background-color: #9ca3af;
  padding: 10px 20px;
  text-align: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  width: fit-content;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: #f7f8fa;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6e8eb;
}

.widget-header h4 {
  font-size: 14px;
  font-weight: 600;
  color: #041933;
  margin: 0;
}

.widget-header span {
  font-size: 14px;
  font-weight: 600;
  color: #ca0813;
}

.fixture-team-name {
  font-size: 16px;
  font-weight: 700;
  color: #041933;
  text-transform: uppercase;
}

.fixture-meta {
  margin-top: 15px;
  font-size: 13px;
  color: #5d6370;
}

.fixture-meta strong {
  display: block;
  color: #041933;
  font-weight: 600;
  margin-bottom: 3px;
}

.widget-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.widget-btn {
  flex: 1;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.widget-btn-outline {
  border: 1px solid #041933;
  color: #041933;
  background: transparent;
}

.widget-btn-primary {
  border: 1px solid #ca0813;
  color: #ca0813;
  background: transparent;
}

/* Compact Standings */
.compact-standings {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.compact-standing-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f2f6;
}

.compact-standing-row:last-child {
  border-bottom: none;
}

.compact-position {
  font-size: 14px;
  font-weight: 600;
  color: #04316b;
  min-width: 20px;
}

.compact-team-name {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: #041933;
}

.compact-pts {
  font-size: 16px;
  font-weight: 700;
  color: #ca0813;
}

/* Match Stats Layout */
.match-stats-section .match-card {
  background: #fff;
  border: 2px solid #04316b;
  padding: 25px 20px;
  padding-top: 0;
  margin-bottom: 30px;
  text-align: center;
  border-radius: 20px;
}

.match-stats-section .match-card.live {
  border-color: #ca0813;
}

.match-badge.date {
  background-color: #04316b;
  font-size: 12px;
  font-weight: 600;
}

/* Events List */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.event-card {
  background: #fff;
  border-radius: 12px;
  padding: 15px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.event-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f2f6;
}

.event-type {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #041933;
}

.event-icon.yellow-card {
  background-color: #ffc107;
  border-radius: 3px;
  width: 18px;
  height: 22px;
}

.event-icon.red-card {
  background-color: #dc3545;
  border-radius: 3px;
  width: 18px;
  height: 22px;
}

.event-icon.substitution {
  color: #28a745;
  font-size: 18px;
}

.player-name {
  color: #04316b;
  font-weight: 600;
}

.goal-card {
  background: #ca0813;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
}

.goal-card-top {
  padding: 25px 20px;
}
.goal-text {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 5px;
}
.goal-minute {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.goal-icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 10px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.goal-card-bottom {
  background: #fff;
  border: 2px solid #ca0813;
  border-top: none;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  padding: 15px 20px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ca0813;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 20px;
  transition: opacity 0.2s ease;
}

/* Standings Page */
.league-title {
  font-size: 24px;
  font-weight: 700;
  color: #04316b;
  margin-bottom: 20px;
}

.standings-card {
  background: #fff;
  border: 1px solid #e6e8eb;
  border-radius: 8px;
  overflow: hidden;
}

.standings-header-row {
  display: flex;
  align-items: stretch;
}

.header-blue {
  flex: 1;
  display: flex;
  align-items: center;
  background-color: #04316b;
}

.header-red {
  background-color: #ca0813;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  width: 115px;
}

.standings-data-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f0f2f6;
  padding: 0px 15px;
}

.data-club {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid #e6e8eb;
  padding: 12px 0;
}

.data-club .position {
  font-size: 14px;
  font-weight: 500;
  color: #83878b;
  min-width: 20px;
}

.data-club .club-name {
  font-size: 14px;
  font-weight: 500;
  color: #041933;
}

.data-stat {
  width: 90px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #041933;
  border-right: 1px solid #e6e8eb;
  padding: 12px 0;
}

.data-pts {
  width: 95px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #04316b;
}
.goal-team {
  font-weight: 700;
}
.event-team {
  font-weight: 700;
}
.event-description {
  margin-top: 10px;
}
/* Responsive Styles */
@media (max-width: 991px) {
  .game-schedule-section,
  .match-stats-section {
    padding: 30px 15px 50px;
  }
}

@media (max-width: 767px) {
  .live-match-card {
    padding: 20px 15px;
    padding-top: 0;
  }
  .match-card-teams {
    gap: 10px;
  }
  .match-vs-container {
    padding: 0 10px;
  }
  .game-schedule-section .match-team img {
    max-width: 40px;
  }
  .game-schedule-section .match-team-name {
    font-size: 15px;
    font-weight: 600;
  }
  .standings-card {
    overflow-x: auto;
  }
  .standings-header-row,
  .standings-data-row {
    min-width: 800px;
  }
}

@media (max-width: 575px) {
  .standings-section {
    padding: 30px 10px 50px;
  }
  .header-blue .header-cell.stat-col,
  .data-stat,
  .data-pts {
    width: 60px !important;
    font-size: 13px;
  }
  .data-club .club-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header-blue .header-cell.stat-col {
    width: 58px !important;
  }
  .header-red {
    width: 75px !important;
  }
  .live-team {
    display: block;
  }
  .live-team img {
    width: 100px;
    margin-bottom: 10px;
  }
}

/* Load More Buttons */
.load-more-btn,
.stats-load-more-btn {
  padding: 12px 40px;
  background-color: #04316b;
  color: #fff;
  border: 2px solid #04316b;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.load-more-btn:hover,
.stats-load-more-btn:hover {
  background-color: transparent;
  color: #04316b;
}

.match-item,
.event-item {
  display: none;
}

.match-item.visible,
.event-item.visible {
  display: block;
}

/* Standings */
.header-blue {
  flex: 1;
  display: flex;
  align-items: center;
  background-color: #04316b;
}

.header-red {
  background-color: #ca0813;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  width: 111px;
}

.header-cell {
  padding: 12px 15px;
}

.header-blue .header-cell {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.header-blue .header-cell.club-col {
  flex: 1;
}

.header-blue .header-cell.stat-col {
  width: 89px;
  text-align: center;
}
.live-score-separator {
  margin: 0 5px;
  font-size: 25px;
  font-weight: 600;
} /* ========================================
   MOBILE STICKY STANDINGS TAB (Bottom Sheet)
   ======================================== */

/* Container */
.mobile-standings-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  pointer-events: none;
}

.mobile-standings-container * {
  pointer-events: auto;
}

/* Sticky Tab at Bottom */
.mobile-standings-tab {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #04316b;
  color: white;
  padding: 12px 30px;
  border-radius: 20px 20px 0 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 1001;
}

.mobile-standings-tab:active {
  transform: translateX(-50%) scale(0.95);
}

.mobile-standings-tab .tab-icon {
  transition: transform 0.3s ease;
}

.mobile-standings-tab .tab-icon.rotated {
  transform: rotate(180deg);
}

/* Slide-up Panel */
.mobile-standings-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 70vh;
  overflow-y: auto;
  z-index: 1002;
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-standings-panel.active {
  transform: translateY(0);
}

/* Panel Header */
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  background: white;
  z-index: 10;
}

.panel-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #04316b;
}

.panel-close {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.panel-close:hover {
  background: #f3f4f6;
}

.panel-close:active {
  transform: scale(0.9);
}

/* Standings Content in Panel */
.mobile-standings-panel .compact-standings {
  padding: 0 20px;
}

.mobile-standings-panel .compact-standing-row {
  padding: 15px 0;
  border-bottom: 1px solid #f3f4f6;
}

.mobile-standings-panel .compact-standing-row:last-child {
  border-bottom: none;
}

/* View All Button */
.view-all-btn {
  display: block;
  margin: 20px;
  padding: 12px 24px;
  background: #ca0813;
  color: white;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}

.view-all-btn:hover {
  background: #a00610;
  color: white;
  text-decoration: none;
}

.view-all-btn:active {
  transform: scale(0.98);
}

/* Overlay */
.mobile-standings-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

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

/* Ensure mobile standings updates with live polling */
#compact-standings-mobile .compact-standing-row {
  transition: background-color 0.3s ease;
}

/* Hide on desktop */
@media (min-width: 992px) {
  .mobile-standings-container {
    display: none !important;
  }
}

/* Mobile optimizations */
@media (max-width: 991px) {
  .mobile-standings-panel {
    max-height: 80vh;
  }

  .mobile-standings-tab {
    padding: 10px 25px;
    font-size: 13px;
  }
}
.fixture-team {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.fixture-team img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.fixture-team-name {
  font-size: 16px;
  font-weight: 700;
  color: #041933;
  text-transform: uppercase;
}

.fixture-time {
  font-size: 14px;
  font-weight: 500;
  color: #83878b;
}

.fixture-meta {
  margin-top: 15px;
  font-size: 13px;
  color: #5d6370;
}

.fixture-meta strong {
  display: block;
  color: #041933;
  font-weight: 600;
  margin-bottom: 3px;
}

.widget-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.widget-btn {
  flex: 1;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.widget-btn-outline {
  border: 1px solid #041933;
  color: #041933;
  background: transparent;
}

.widget-btn-outline:hover {
  background: #041933;
  color: #fff;
}

.widget-btn-primary {
  border: 1px solid #ca0813;
  color: #ca0813;
  background: transparent;
}

.widget-btn-primary:hover {
  background: #ca0813;
  color: #fff;
}

/* Result Widget Specifics */
.result-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 12px;
  /* border-bottom: 1px solid #e6e8eb; */
}

.result-team:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.result-team-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.result-team-info img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.result-score {
  font-size: 18px;
  font-weight: 700;
  color: #041933;
  background: #f0f2f6;
  padding: 4px 12px;
  border-radius: 6px;
  min-width: 40px;
  text-align: center;
}

.result-score.win {
  color: #28a745;
  background: rgba(40, 167, 69, 0.1);
}

.result-score.lose {
  color: #ca0813;
  background: rgba(202, 8, 19, 0.1);
}

.sidebar-widget .fixture-meta {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #e6e8eb;
  text-align: center;
}

/* ── Team timeline header button styles ── */
.team-timeline-header-actions {
  gap: 14px;
}

.team-home-btn {
  background-color: var(--header-btn-color, #ffffff) !important;
  color: var(--icon-color, #ca0813) !important;
  border-radius: 999px !important;
  padding: 13px 24px !important;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.03em;
}

.team-home-btn span {
  color: var(--icon-color, #ca0813) !important;
}

.team-action-btn {
  min-height: 46px;
  min-width: 130px;
  margin-right: 0 !important;
  white-space: nowrap;
}

.team-icon-btn {
  width: 46px;
  height: 46px;
  min-width: 46px !important;
  min-height: 46px;
  padding: 0 !important;
  margin-right: 0 !important;
  font-size: 16px;
  flex-shrink: 0;
}

.team-membership-btn {
  min-width: 160px;
}

.team-cart-widget-wrap {
  flex: 0 0 auto;
}

.team-cart-widget-wrap button {
  min-height: 46px !important;
  padding-top: 13px !important;
  padding-bottom: 13px !important;
}

@media (max-width: 1200px) {
  .team-timeline-header-actions {
    gap: 12px;
  }
  .team-action-btn {
    min-width: 120px;
    padding: 13px 18px !important;
  }
  .team-icon-btn {
    width: 46px;
    min-width: 46px !important;
    padding: 0 !important;
  }
  .team-membership-btn {
    min-width: 150px;
  }
}

@media (max-width: 990px) {
  .team-timeline-header-actions {
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: flex-end !important;
  }
}

@media (max-width: 768px) {
  .team-timeline-header-actions {
    justify-content: center !important;
  }
}
