/* SOMS public pages. Written phone-first; one small file, no scripts. */
.soms-site { --soms-brand: #D90B10; --soms-dark: #1B1516; --soms-line: #e3dfdd; --soms-soft: #f6f4f3; --soms-muted: #5f5957; box-sizing: border-box; width: 100%; max-width: 1160px; margin: 0 auto; padding: 16px 16px 48px; color: #1b1516; font-size: 16px; line-height: 1.55; }
.soms-site *, .soms-site *::before, .soms-site *::after { box-sizing: border-box; }
.soms-site ul { list-style: none; margin: 0; padding: 0; }
.soms-site a { color: var(--soms-brand); text-underline-offset: 3px; }
.soms-site a:focus-visible, .soms-site button:focus-visible, .soms-site input:focus-visible { outline: 3px solid var(--soms-dark); outline-offset: 2px; }
.soms-site img { max-width: 100%; height: auto; display: block; }
.soms-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.soms-hp { position: absolute; left: -9999px; }

.soms-nav { margin: 0 -16px 18px; border-bottom: 1px solid var(--soms-line); overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.soms-nav ul { display: flex; gap: 2px; padding: 0 12px; white-space: nowrap; }
.soms-nav a { display: block; padding: 12px 10px; font-weight: 600; font-size: 15px; color: var(--soms-dark); text-decoration: none; border-bottom: 3px solid transparent; }
.soms-nav a:hover { color: var(--soms-brand); } .soms-nav a[aria-current] { border-bottom-color: var(--soms-brand); color: var(--soms-brand); }
.soms-head h1 { font-size: clamp(28px, 6vw, 44px); line-height: 1.08; margin: 6px 0 18px; text-transform: uppercase; letter-spacing: .01em; }
.soms-crumbs { margin: 0; font-size: 14px; color: var(--soms-muted); }
.soms-lead { font-size: 18px; max-width: 60ch; }
.soms-empty { padding: 22px; background: var(--soms-soft); border: 1px dashed var(--soms-line); border-radius: 10px; color: var(--soms-muted); text-align: center; margin: 0; }

.soms-section { margin: 34px 0 0; } .soms-band .soms-section:first-child { margin-top: 0; }
.soms-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 3px solid var(--soms-dark); margin-bottom: 14px; padding-bottom: 6px; }
.soms-section-head h2 { font-size: 22px; margin: 0; text-transform: uppercase; } .soms-section-head a { font-size: 14px; font-weight: 600; white-space: nowrap; }

.soms-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; white-space: nowrap; }
.soms-tabs a { padding: 8px 14px; border: 1px solid var(--soms-line); border-radius: 99px; text-decoration: none; color: var(--soms-dark); font-weight: 600; font-size: 14px; background: #fff; }
.soms-tabs a[aria-current] { background: var(--soms-dark); border-color: var(--soms-dark); color: #fff; }
.soms-tag { display: inline-block; padding: 2px 9px; border-radius: 99px; background: var(--soms-soft); border: 1px solid var(--soms-line); font-size: 12px; font-weight: 600; }

.soms-matches li { padding: 14px 0; border-bottom: 1px solid var(--soms-line); }
.soms-match-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13.5px; color: var(--soms-muted); margin-bottom: 4px; } .soms-match-meta time { font-weight: 600; color: var(--soms-dark); }
.soms-match-line { display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.soms-match-line .soms-side:first-child { text-align: right; } .soms-match-line a { color: inherit; }
.soms-vs { color: var(--soms-muted); font-weight: 400; font-size: 14px; } .soms-score { background: var(--soms-dark); color: #fff; padding: 4px 12px; border-radius: 6px; font-size: 18px; white-space: nowrap; }
.soms-res { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; color: #fff; } .soms-res-w { background: #17764a; } .soms-res-l { background: #b4231f; } .soms-res-d { background: #6b6462; }

.soms-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.soms-people li a, .soms-coaches li { display: grid; gap: 2px; text-decoration: none; color: var(--soms-dark); }
.soms-people strong { font-size: 16px; line-height: 1.2; margin-top: 8px; } .soms-people span { font-size: 13.5px; color: var(--soms-muted); }
.soms-photo { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--soms-soft); border-radius: 10px; overflow: hidden; }
.soms-photo img { width: 100%; height: 100%; object-fit: cover; }
.soms-initials { display: grid; place-items: center; width: 100%; height: 100%; font-size: 42px; font-weight: 700; color: #b9b2af; }
.soms-number { position: absolute; left: 8px; bottom: 8px; background: var(--soms-brand); color: #fff !important; font-weight: 700; font-size: 16px !important; min-width: 34px; padding: 3px 8px; border-radius: 6px; text-align: center; }

.soms-teams { display: grid; gap: 14px; }
.soms-teams a { display: grid; gap: 4px; padding: 20px; border: 1px solid var(--soms-line); border-top: 5px solid var(--soms-brand); border-radius: 10px; text-decoration: none; color: var(--soms-dark); background: #fff; }
.soms-teams strong { font-size: 24px; text-transform: uppercase; line-height: 1.1; } .soms-teams span { color: var(--soms-muted); } .soms-team-logo img { width: 72px; height: 72px; object-fit: contain; margin-bottom: 6px; }

.soms-table-wrap { overflow-x: auto; margin-bottom: 22px; }
.soms-table { width: 100%; border-collapse: collapse; font-size: 15px; } .soms-table caption { text-align: left; font-weight: 700; font-size: 17px; padding: 0 0 8px; }
.soms-table th, .soms-table td { padding: 9px 8px; border-bottom: 1px solid var(--soms-line); text-align: center; } .soms-table th[scope="row"], .soms-table thead th:nth-child(2) { text-align: left; }
.soms-table thead th { font-size: 12.5px; text-transform: uppercase; color: var(--soms-muted); } .soms-table abbr { text-decoration: none; }
.soms-own { background: color-mix(in srgb, var(--soms-brand) 9%, #fff); } .soms-own th { font-weight: 800; } .soms-wide { display: none; }

.soms-cards { display: grid; gap: 18px; }
.soms-cards > li { border: 1px solid var(--soms-line); border-radius: 10px; overflow: hidden; background: #fff; } .soms-cards a { display: block; text-decoration: none; color: var(--soms-dark); height: 100%; }
.soms-card-img { display: block; aspect-ratio: 16 / 9; background: var(--soms-soft); overflow: hidden; } .soms-card-img img { width: 100%; height: 100%; object-fit: cover; }
.soms-blank { display: grid; place-items: center; font-size: 54px; font-weight: 700; color: #b9b2af; }
.soms-card-body { display: grid; gap: 6px; padding: 14px 16px 16px; } .soms-card-body strong { font-size: 19px; line-height: 1.25; }
.soms-card-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 13px; color: var(--soms-muted); margin: 0; } .soms-card-text { font-size: 14.5px; color: var(--soms-muted); }
.soms-price { font-weight: 700; font-size: 18px; margin: 0; } .soms-price span { font-weight: 400; font-size: 13px; color: var(--soms-muted); }
.soms-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .soms-products .soms-card-img { aspect-ratio: 1; }

.soms-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .soms-media figure { margin: 0; }
.soms-media li:has(.soms-video) { grid-column: 1 / -1; }
.soms-media figure > a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: var(--soms-soft); position: relative; } .soms-media figure > a img { width: 100%; height: 100%; object-fit: cover; }
.soms-video { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; } .soms-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.soms-play { position: absolute; inset: 0; display: grid; place-items: center; font-size: 46px; color: var(--soms-brand); }
.soms-media figcaption { display: grid; gap: 2px; padding-top: 6px; font-size: 13.5px; } .soms-media figcaption span { color: var(--soms-muted); } .soms-credit { font-size: 12px; }

.soms-sponsors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.soms-sponsors li > * { display: grid; place-items: center; gap: 6px; min-height: 120px; padding: 16px; border: 1px solid var(--soms-line); border-radius: 10px; text-decoration: none; color: var(--soms-dark); text-align: center; background: #fff; }
.soms-sponsors img { max-height: 70px; width: auto; object-fit: contain; } .soms-sponsors span { font-size: 12.5px; color: var(--soms-muted); }

.soms-facts, .soms-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.soms-facts dt, .soms-stats dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--soms-muted); } .soms-facts dd, .soms-stats dd { margin: 0; font-weight: 600; }
.soms-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .soms-stats > div { background: var(--soms-soft); border-radius: 10px; padding: 12px; text-align: center; } .soms-stats dd { font-size: 26px; font-weight: 800; line-height: 1.1; }
.soms-leaders li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--soms-line); } .soms-leaders span { color: var(--soms-muted); }
.soms-profile { display: grid; gap: 18px; } .soms-profile-photo { aspect-ratio: 4 / 5; max-width: 360px; background: var(--soms-soft); border-radius: 12px; overflow: hidden; } .soms-profile-photo img { width: 100%; height: 100%; object-fit: cover; }

.soms-article { max-width: 760px; } .soms-article-img { margin: 12px 0 18px; } .soms-article-img img { border-radius: 12px; width: 100%; }
.soms-prose { font-size: 17.5px; line-height: 1.7; } .soms-prose h2 { font-size: 23px; margin: 26px 0 8px; } .soms-prose ul, .soms-site .soms-levels ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.soms-levels, .soms-events { display: grid; gap: 14px; }
.soms-levels > li, .soms-events > li { padding: 18px; border: 1px solid var(--soms-line); border-top: 5px solid var(--soms-brand); border-radius: 10px; background: #fff; } .soms-levels h3, .soms-events h3 { margin: 0 0 4px; font-size: 22px; text-transform: uppercase; }
.soms-prices li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--soms-line); }
.soms-cta { display: grid; gap: 10px; padding: 20px; margin: 22px 0; border-radius: 12px; background: var(--soms-dark); color: #fff; } .soms-cta p { margin: 0; font-size: 17px; }
.soms-site .soms-button, .soms-subscribe button { display: inline-block; justify-self: start; background: var(--soms-brand); color: #fff; font-weight: 700; padding: 13px 22px; border-radius: 8px; border: 0; text-decoration: none; font-size: 16px; cursor: pointer; min-height: 48px; }
.soms-subscribe { margin-top: 36px; padding: 20px; background: var(--soms-soft); border-radius: 12px; display: grid; gap: 10px; max-width: 560px; } .soms-subscribe h2 { margin: 0; font-size: 20px; } .soms-subscribe p { margin: 0; color: var(--soms-muted); }
.soms-field { display: grid; gap: 4px; } .soms-field label { font-weight: 600; font-size: 14px; } .soms-field input { padding: 12px; border: 1px solid #b9b2af; border-radius: 8px; font-size: 16px; width: 100%; min-height: 48px; }
.soms-pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; font-size: 14.5px; }

@media (min-width: 700px) {
  .soms-site { padding: 24px 24px 64px; } .soms-nav { margin: 0 0 22px; } .soms-nav ul { padding: 0; flex-wrap: wrap; }
  .soms-people { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } .soms-teams { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .soms-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .soms-products, .soms-sponsors { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .soms-media { grid-template-columns: repeat(3, minmax(0, 1fr)); } .soms-media li:has(.soms-video) { grid-column: span 2; }
  .soms-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } .soms-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); } .soms-wide { display: table-cell; }
  .soms-profile { grid-template-columns: 320px 1fr; align-items: start; } .soms-levels, .soms-events { grid-template-columns: repeat(3, minmax(0, 1fr)); } .soms-events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .soms-cta { grid-template-columns: 1fr auto; align-items: center; } .soms-match-line { font-size: 19px; }
}
@media (min-width: 1000px) { .soms-people { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: no-preference) { .soms-cards > li, .soms-teams a, .soms-photo img { transition: transform .15s ease, box-shadow .15s ease; } .soms-cards > li:hover, .soms-teams a:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 0, 0, .08); } }
