.oai-matchcards{font-family:Arial,Helvetica,sans-serif}
.oai-matchcards__debug{margin:0 0 10px;font-size:12px;color:#6a7a90}
.oai-matchcards__toolbar{margin:0 0 14px}
.oai-matchcards__toggle{appearance:none;border:0;border-radius:999px;padding:10px 16px;font-size:14px;font-weight:700;cursor:pointer;background:#10345d;color:#fff;box-shadow:0 4px 12px rgba(16,52,93,.18)}
.oai-matchcards__toggle:hover{opacity:.95}
.oai-matchcards__list{display:flex;flex-direction:column;gap:18px}
.oai-matchcard{border-radius:14px;padding:18px 20px;box-shadow:0 6px 18px rgba(20,30,50,.08);overflow:hidden}
.oai-matchcard--home{background:#45864f;color:#fff}
.oai-matchcard--away{background:#f2f2f2;color:#5a5f6f}
.oai-matchcard__top{display:grid;grid-template-columns:170px 1fr;align-items:center}
.oai-matchcard__date{padding-right:18px;border-right:1px solid rgba(0,0,0,.12)}
.oai-matchcard--home .oai-matchcard__date{border-right-color:rgba(255,255,255,.22)}
.oai-matchcard__date-badge{font-size:16px;font-weight:800;font-style:italic;text-transform:uppercase;line-height:1.1}
.oai-matchcard__time{margin-top:10px;font-size:17px;line-height:1.1}
.oai-matchcard__meta{padding-left:18px;align-items:flex-start}
.oai-matchcard__matchday{font-size:15px;font-weight:800;font-style:italic;text-transform:uppercase;line-height:1.1}
.oai-matchcard__venue{margin-top:8px;font-size:15px;line-height:1.25}
.oai-matchcard__teams{margin-top:18px;padding-top:18px;border-top:1px solid rgba(0,0,0,.12)}
.oai-matchcard--home .oai-matchcard__teams{border-top-color:rgba(255,255,255,.22)}
.oai-matchcard__logo-wrap{width:42px;height:42px;min-width:42px;border-radius:50%;background:#fff;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;padding:4px}
.oai-matchcard__logo{width:100%;height:100%;object-fit:contain;display:block}
.oai-matchcard__team-name{font-weight:800;font-style:italic;text-transform:uppercase;line-height:1.08}
.oai-matchcard__score{text-align:center;font-weight:900;font-style:italic;line-height:1;white-space:nowrap}
.oai-matchcards__empty{padding:18px;border-radius:12px;background:#f4f4f4;color:#6a7a90}
.oai-matchcard--past{opacity:.96}

/* Mobile */
.oai-matchcards.is-mobile .oai-matchcards__list{gap:14px}
.oai-matchcards.is-mobile .oai-matchcards__toggle{width:100%;font-size:13px;padding:10px 14px}
.oai-matchcards.is-mobile .oai-matchcard{padding:16px 18px;border-radius:12px}
.oai-matchcards.is-mobile .oai-matchcard__top{grid-template-columns:1fr 130px;gap:0;align-items:stretch}
.oai-matchcards.is-mobile .oai-matchcard__date{padding-right:14px}
.oai-matchcards.is-mobile .oai-matchcard__date-badge{font-size:13px}
.oai-matchcards.is-mobile .oai-matchcard__time{margin-top:12px;font-size:13px}
.oai-matchcards.is-mobile .oai-matchcard__meta{display:block;padding-left:14px}
.oai-matchcards.is-mobile .oai-matchcard__matchday{font-size:13px}
.oai-matchcards.is-mobile .oai-matchcard__venue{margin-top:6px;font-size:12px}
.oai-matchcards.is-mobile .oai-matchcard__teams{display:grid;grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr);gap:10px;margin-top:14px;padding-top:14px}
.oai-matchcards.is-mobile .oai-matchcard__side{display:flex;flex-direction:column;align-items:center;gap:8px}
.oai-matchcards.is-mobile .oai-matchcard__center{display:flex;align-items:center;justify-content:center}
.oai-matchcards.is-mobile .oai-matchcard__team-name{font-size:12px;text-align:center}
.oai-matchcards.is-mobile .oai-matchcard__logo-wrap{width:42px;height:42px;min-width:42px}
.oai-matchcards.is-mobile .oai-matchcard__score{font-size:26px}

/* Tablet */
.oai-matchcards.is-tablet .oai-matchcard{padding:18px 18px 16px}
.oai-matchcards.is-tablet .oai-matchcard__top{grid-template-columns:170px 1fr}
.oai-matchcards.is-tablet .oai-matchcard__meta{padding-left:18px}
.oai-matchcards.is-tablet .oai-matchcard__teams{display:grid;grid-template-columns:minmax(0,1fr) 96px minmax(0,1fr);gap:18px;align-items:center}
.oai-matchcards.is-tablet .oai-matchcard__side{display:flex;align-items:center;gap:12px;min-width:0}
.oai-matchcards.is-tablet .oai-matchcard__side--home{justify-content:flex-end}
.oai-matchcards.is-tablet .oai-matchcard__side--away{justify-content:flex-start}
.oai-matchcards.is-tablet .oai-matchcard__center{display:flex;align-items:center;justify-content:center}
.oai-matchcards.is-tablet .oai-matchcard__team-name{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oai-matchcards.is-tablet .oai-matchcard__team-name--left{text-align:right}
.oai-matchcards.is-tablet .oai-matchcard__team-name--right{text-align:left}
.oai-matchcards.is-tablet .oai-matchcard__matchday{font-size:14px}
.oai-matchcards.is-tablet .oai-matchcard__venue{font-size:14px}
.oai-matchcards.is-tablet .oai-matchcard__score{font-size:30px;min-width:96px}
.oai-matchcards.is-tablet .oai-matchcard__logo-wrap{width:38px;height:38px;min-width:38px}

/* Small desktop */
.oai-matchcards.is-small-desktop .oai-matchcard__teams{display:grid;grid-template-columns:minmax(0,1fr) 110px minmax(0,1fr);gap:20px;align-items:center}
.oai-matchcards.is-small-desktop .oai-matchcard__side{display:flex;align-items:center;gap:12px;min-width:0}
.oai-matchcards.is-small-desktop .oai-matchcard__side--home{justify-content:flex-end}
.oai-matchcards.is-small-desktop .oai-matchcard__side--away{justify-content:flex-start}
.oai-matchcards.is-small-desktop .oai-matchcard__center{display:flex;align-items:center;justify-content:center}
.oai-matchcards.is-small-desktop .oai-matchcard__team-name{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oai-matchcards.is-small-desktop .oai-matchcard__team-name--left{text-align:right}
.oai-matchcards.is-small-desktop .oai-matchcard__team-name--right{text-align:left}
.oai-matchcards.is-small-desktop .oai-matchcard__score{font-size:34px;min-width:110px}
.oai-matchcards.is-small-desktop .oai-matchcard__logo-wrap{width:40px;height:40px;min-width:40px}

/* Desktop */
.oai-matchcards.is-desktop .oai-matchcard,
.oai-matchcards.is-large-desktop .oai-matchcard,
.oai-matchcards.is-wide .oai-matchcard{display:grid;grid-template-columns:170px 250px 1fr;align-items:center}
.oai-matchcards.is-desktop .oai-matchcard__top,
.oai-matchcards.is-large-desktop .oai-matchcard__top,
.oai-matchcards.is-wide .oai-matchcard__top{display:contents}
.oai-matchcards.is-desktop .oai-matchcard__meta,
.oai-matchcards.is-large-desktop .oai-matchcard__meta,
.oai-matchcards.is-wide .oai-matchcard__meta{padding:0 18px;border-right:1px solid rgba(0,0,0,.12)}
.oai-matchcards.is-desktop .oai-matchcard--home .oai-matchcard__meta,
.oai-matchcards.is-large-desktop .oai-matchcard--home .oai-matchcard__meta,
.oai-matchcards.is-wide .oai-matchcard--home .oai-matchcard__meta{border-right-color:rgba(255,255,255,.22)}
.oai-matchcards.is-desktop .oai-matchcard__teams,
.oai-matchcards.is-large-desktop .oai-matchcard__teams,
.oai-matchcards.is-wide .oai-matchcard__teams{display:grid;grid-template-columns:minmax(0,1fr) 110px minmax(0,1fr);gap:20px;align-items:center;margin-top:0;padding-top:0;padding-left:18px;border-top:0}
.oai-matchcards.is-desktop .oai-matchcard__side,
.oai-matchcards.is-large-desktop .oai-matchcard__side,
.oai-matchcards.is-wide .oai-matchcard__side{display:flex;align-items:center;gap:12px;min-width:0}
.oai-matchcards.is-desktop .oai-matchcard__side--home,
.oai-matchcards.is-large-desktop .oai-matchcard__side--home,
.oai-matchcards.is-wide .oai-matchcard__side--home{justify-content:flex-end}
.oai-matchcards.is-desktop .oai-matchcard__side--away,
.oai-matchcards.is-large-desktop .oai-matchcard__side--away,
.oai-matchcards.is-wide .oai-matchcard__side--away{justify-content:flex-start}
.oai-matchcards.is-desktop .oai-matchcard__center,
.oai-matchcards.is-large-desktop .oai-matchcard__center,
.oai-matchcards.is-wide .oai-matchcard__center{display:flex;align-items:center;justify-content:center}
.oai-matchcards.is-desktop .oai-matchcard__team-name,
.oai-matchcards.is-large-desktop .oai-matchcard__team-name,
.oai-matchcards.is-wide .oai-matchcard__team-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oai-matchcards.is-desktop .oai-matchcard__team-name--left,
.oai-matchcards.is-large-desktop .oai-matchcard__team-name--left,
.oai-matchcards.is-wide .oai-matchcard__team-name--left{text-align:right}
.oai-matchcards.is-desktop .oai-matchcard__team-name--right,
.oai-matchcards.is-large-desktop .oai-matchcard__team-name--right,
.oai-matchcards.is-wide .oai-matchcard__team-name--right{text-align:left}
.oai-matchcards.is-desktop .oai-matchcard__score{font-size:38px;min-width:110px}
.oai-matchcards.is-large-desktop .oai-matchcard__score{font-size:42px;min-width:110px}
.oai-matchcards.is-wide .oai-matchcard{grid-template-columns:190px 280px 1fr}
.oai-matchcards.is-wide .oai-matchcard__meta{padding:0 22px}
.oai-matchcards.is-wide .oai-matchcard__teams{padding-left:22px}
.oai-matchcards.is-wide .oai-matchcard__score{font-size:46px;min-width:120px}
.oai-matchcards.is-wide .oai-matchcard__logo-wrap{width:46px;height:46px;min-width:46px}

/* Highlight next upcoming matchday */
.oai-matchcard--next{
  border: 4px solid #F1BC54;
  box-shadow: inset 0 0 0 2px rgba(241, 188, 84, 0.18), 0 6px 18px rgba(20,30,50,.08);
}


/* Mobile: logo above team name on both sides */
.oai-matchcards.is-mobile .oai-matchcard__side{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
}

.oai-matchcards.is-mobile .oai-matchcard__logo-wrap{
  order:1 !important;
}

.oai-matchcards.is-mobile .oai-matchcard__team-name{
  order:2 !important;
  text-align:center !important;
}
