/* Theme presentation; shared page layout lives in /css/inner-pages.css. */
.sm-h-home {
    --h-red: var(--color-primary, #c9192e);
    --h-deep: var(--color-secondary, #8d1022);
    --h-accent: var(--color-accent, #e7384d);
    --h-ink: var(--color-text, #231b1d);
    --h-white: var(--color-background, #fff);
    --h-line: var(--theme-soft);
    --h-soft: var(--theme-soft);
    --h-gutter: clamp(20px, 4.5vw, 84px);
    background: var(--h-white);
    color: var(--h-ink);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    overflow: clip;
}
.main-content:has(.sm-h-home) { padding: 0 !important; }
.sm-h-home *, .sm-h-home *::before, .sm-h-home *::after { box-sizing: border-box; }
.sm-h-home a { text-decoration: none; color: inherit; }
.sm-h-home img { display: block; max-width: 100%; }
.sm-h-home button { font: inherit; cursor: pointer; }
.sm-h-home :is(a, button):focus-visible { outline: 3px solid var(--h-accent); outline-offset: 5px; }
.sm-h-shell { padding-inline: var(--h-gutter); width: 100%; max-width: 1600px; margin-inline: auto; }
.sm-h-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.sm-h-brand img { width: 58px; height: 62px; object-fit: contain; }
.sm-h-brand span { font-size: 20px; font-weight: 900; text-transform: uppercase; line-height: 1.2; max-width: 240px; }
.sm-h-brand small { display: block; margin-top: 7px; font-size: 9px; letter-spacing: .26em; font-weight: 700; color: var(--theme-link); }
.sm-h-button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 50px; padding: 15px 22px; background: var(--h-red); color: var(--theme-on-action) !important; font-size: 12px; font-weight: 800; transition: background .2s, transform .2s; }
.sm-h-button:hover { background: var(--h-deep); transform: translateY(-2px); }
.sm-h-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--theme-link); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.sm-h-eyebrow>span { width: 8px; height: 8px; background: var(--h-red); }
.sm-h-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.sm-h-hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; position: relative; padding: 70px 30px 54px var(--h-gutter); background: linear-gradient(135deg, var(--theme-surface) 50%, var(--h-soft)); }
.sm-h-hero h1 { position: relative; z-index: 1; margin: 27px 0 22px; font-size: clamp(46px, 5.8vw, 90px); font-weight: 900; line-height: 1.03; letter-spacing: -.065em; }
.sm-h-home em { font-style: normal; color: var(--theme-link); }
.sm-h-hero-copy>p { max-width: 370px; margin: 0; color: var(--theme-muted); font-size: 15px; line-height: 1.8; }
.sm-h-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 28px; }
.sm-h-text-link { display: inline-flex; align-items: center; gap: 16px; font-size: 12px; font-weight: 800; }
.sm-h-text-link:hover { color: var(--theme-link); }
.sm-h-hero-signature { display: flex; align-items: center; gap: 16px; margin-top: 55px; }
.sm-h-hero-signature>span { width: 46px; height: 5px; background: repeating-linear-gradient(90deg, var(--h-red) 0 8px, transparent 8px 13px); }
.sm-h-hero-signature small { color: var(--theme-muted); font-size: 9px; letter-spacing: .16em; font-weight: 800; }
.sm-h-hero-stories { position: relative; background: var(--h-deep); min-width: 0; }
.sm-h-story { position: relative; height: 100%; min-height: 560px; overflow: hidden; }
.sm-h-story[hidden] { display: none; }
.sm-h-story>img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.sm-h-story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, color-mix(in srgb, var(--theme-hero) 90.9804%, transparent) 100%); }
.sm-h-story-copy { position: absolute; z-index: 1; bottom: 60px; left: 42px; right: 35px; color: var(--theme-surface-text); }
.sm-h-story-copy>span { display: inline-block; background: var(--h-red); padding: 8px 11px; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.sm-h-story-copy h2 { max-width: 540px; font-size: clamp(26px, 2.7vw, 40px); line-height: 1.13; font-weight: 850; letter-spacing: -.035em; margin: 18px 0; color: var(--theme-surface-text); }
.sm-h-story-copy a { font-size: 12px; font-weight: 750; }
.sm-h-story-copy i { margin-left: 20px; }
.sm-h-slider-controls { position: absolute; bottom: 17px; left: 42px; display: flex; gap: 16px; z-index: 2; }
.sm-h-slider-controls button { border: 0; border-top: 2px solid color-mix(in srgb, var(--theme-on-hero) 31.3725%, transparent); padding: 8px 0 0; min-width: 32px; background: transparent; color: var(--theme-on-hero); font-size: 10px; font-weight: 800; }
.sm-h-slider-controls button.is-active { border-color: var(--theme-surface); }
.sm-h-quick { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-bottom: 1px solid var(--h-line); padding-block: 25px; }
.sm-h-quick>a { display: flex; align-items: center; gap: 16px; padding: 10px 26px; border-right: 1px solid var(--h-line); }
.sm-h-quick>a:first-child { padding-left: 0; }
.sm-h-quick>a:last-child { padding-right: 0; border-right: 0; }
.sm-h-quick>a>i:first-child { color: var(--theme-link); font-size: 23px; width: 27px; }
.sm-h-quick>a>i:last-child { margin-left: auto; font-size: 10px; color: var(--theme-link); }
.sm-h-quick strong { display: block; font-size: 13px; font-weight: 850; }
.sm-h-quick small { display: block; font-size: 10px; color: var(--theme-muted); margin-top: 5px; }
.sm-h-updates { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 40px; padding-block: 70px; }
.sm-h-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.sm-h-section-head h2, .sm-h-academy h2 { margin: 10px 0 0; font-size: clamp(30px,3vw,44px); line-height: 1.14; letter-spacing: -.045em; font-weight: 850; }
.sm-h-news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 21px; }
.sm-h-news-card { min-width: 0; }
.sm-h-news-image { position: relative; display: block; aspect-ratio: 1.3; overflow: hidden; background: var(--h-soft); }
.sm-h-news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.sm-h-news-image:hover img { transform: scale(1.04); }
.sm-h-news-image>span { position: absolute; left: 12px; bottom: 12px; background: var(--theme-surface); padding: 7px 10px; font-size: 9px; font-weight: 800; color: var(--theme-link); }
.sm-h-news-card time { display: block; margin-top: 19px; font-size: 10px; color: var(--theme-muted); }
.sm-h-news-card h3 { font-size: 17px; font-weight: 850; line-height: 1.4; letter-spacing: -.025em; margin: 10px 0; }
.sm-h-news-card h3 a:hover { color: var(--theme-link); }
.sm-h-news-card p { color: var(--theme-muted); font-size: 12px; line-height: 1.7; margin: 0; }
.sm-h-empty { padding: 36px; background: var(--h-soft); grid-column: 1/-1; color: var(--theme-muted); }
.sm-h-match { display: flex; flex-direction: column; align-items: stretch; background: var(--h-red); color: var(--theme-surface-text); padding: 30px; position: relative; overflow: hidden; }
.sm-h-match::before { content: ""; position: absolute; width: 220px; height: 220px; top: -110px; right: -100px; border: 40px solid color-mix(in srgb, var(--theme-on-hero) 4.70588%, transparent); border-radius: 50%; pointer-events: none; }
.sm-h-match-label { display: flex; align-items: center; justify-content: space-between; font-size: 9px; letter-spacing: .16em; font-weight: 800; }
.sm-h-match h2 { font-size: 36px; line-height: 1.06; letter-spacing: -.04em; margin: 22px 0; font-weight: 850; color: var(--theme-surface-text); }
.sm-h-match em { color: var(--theme-surface-text); opacity: .8; }
.sm-h-match-league { font-size: 10px; opacity: .8; }
.sm-h-match-teams { display: grid; grid-template-columns: 1fr 35px 1fr; align-items: center; gap: 8px; text-align: center; font-size: 12px; font-weight: 800; margin: 22px 0; padding-block: 18px; border-block: 1px solid color-mix(in srgb, var(--theme-on-hero) 20.7843%, transparent); }
.sm-h-match-teams b { opacity: .65; font-size: 16px; }
.sm-h-match-meta { display: grid; gap: 10px; font-size: 11px; margin-bottom: 22px; }
.sm-h-match-meta span { display: flex; align-items: center; gap: 10px; }
.sm-h-match-empty { margin: 5px 0 36px; font-size: 13px; line-height: 1.8; opacity: .8; }
.sm-h-match>a { display: flex; align-items: center; justify-content: space-between; min-height: 45px; padding: 12px 16px; margin-top: auto; background: var(--theme-surface); color: var(--theme-link); font-size: 11px; font-weight: 850; }
.sm-h-academy { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; padding-block: 55px; background: var(--h-soft); }
.sm-h-academy-image { position: relative; min-height: 385px; }
.sm-h-academy-image img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; }
.sm-h-academy-image>span { position: absolute; inset: auto 20px 20px; color: var(--theme-surface-text); padding: 13px 18px; background: var(--h-red); font-size: 16px; letter-spacing: .04em; font-weight: 850; }
.sm-h-academy-copy { padding-block: 14px; }
.sm-h-academy-copy p { color: var(--theme-muted); font-size: 13px; line-height: 1.9; max-width: 440px; margin: 22px 0; }
.sm-h-group-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 27px; }
.sm-h-group-links a { display: inline-flex; align-items: center; gap: 15px; padding: 9px 12px; border: 1px solid var(--theme-line); font-size: 10px; font-weight: 750; }
.sm-h-group-links a:hover { border-color: var(--h-red); color: var(--theme-link); }
.sm-h-players { padding-block: 65px; }
.sm-h-player-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.sm-h-player-grid article { background: var(--h-soft); }
.sm-h-player-grid article>img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center top; }
.sm-h-player-grid article>div { display: flex; align-items: center; gap: 15px; padding: 18px; border-top: 3px solid var(--h-red); }
.sm-h-player-grid b { color: var(--theme-link); font-size: 33px; line-height: 1; }
.sm-h-player-grid strong { font-size: 13px; }
.sm-h-player-grid small { display: block; color: var(--theme-muted); font-size: 10px; margin-top: 5px; }
.sm-h-tv { padding-block: 0 65px; }
.sm-h-tv>a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 280px; padding: 48px; overflow: hidden; background: var(--h-deep); color: var(--theme-surface-text); }
.sm-h-tv>a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--theme-hero) 92.1569%, transparent), color-mix(in srgb, var(--theme-hero) 43.9216%, transparent)); }
.sm-h-tv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sm-h-tv a>div, .sm-h-play { position: relative; z-index: 1; }
.sm-h-tv .sm-h-eyebrow { color: var(--theme-surface-text); opacity: .7; }
.sm-h-tv h2 { font-size: clamp(28px,4vw,54px); font-weight: 850; letter-spacing: -.035em; margin: 15px 0; color: var(--theme-surface-text); }
.sm-h-tv p { font-size: 13px; opacity: .8; margin: 0; }
.sm-h-play { display: flex; align-items: center; flex-direction: column; gap: 12px; font-size: 10px; font-weight: 750; flex-shrink: 0; }
.sm-h-play i { display: grid; place-items: center; width: 65px; height: 65px; border: 1px solid color-mix(in srgb, var(--theme-on-hero) 56.4706%, transparent); border-radius: 50%; background: color-mix(in srgb, var(--theme-on-hero) 6.27451%, transparent); font-size: 18px; }
.sm-h-sponsors { padding-block: 0 65px; text-align: center; }
.sm-h-sponsors h2 { font-size: 22px; font-weight: 800; margin: 13px 0 30px; }
.sm-h-sponsors>div { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 35px; }
.sm-h-sponsors img { width: 85px; max-height: 52px; object-fit: contain; }
.sm-h-sponsors strong { color: var(--theme-muted); font-size: 15px; }
.sm-h-footer { background: var(--h-red); color: var(--theme-on-hero); }
.sm-h-footer-head { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 50px 40px; border-bottom: 1px solid color-mix(in srgb, var(--theme-on-hero) 18.8235%, transparent); }
.sm-h-footer-head h2 { margin: 0; font-size: clamp(36px,4.5vw,64px); font-weight: 850; letter-spacing: -.05em; line-height: 1.07; color: var(--theme-on-hero); }
.sm-h-footer-head em { color: var(--theme-on-hero); opacity: .65; }
.sm-h-footer-head>a { display: flex; gap: 35px; font-size: 13px; font-weight: 800; padding-bottom: 14px; border-bottom: 1px solid color-mix(in srgb, var(--theme-on-hero) 43.9216%, transparent); }
.sm-h-footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1.2fr; gap: 45px; padding-block: 45px; }
.sm-h-footer .sm-h-brand span { font-size: 18px; }
.sm-h-footer .sm-h-brand small { color: var(--theme-on-hero); opacity: .7; }
.sm-h-footer-grid h3 { color: var(--theme-on-hero); margin: 0 0 20px; font-size: 12px; font-weight: 800; }
.sm-h-footer-grid p, .sm-h-footer-grid>div>a:not(.sm-h-brand), .sm-h-footer-grid>div>span { display: block; font-size: 11px; line-height: 1.8; color: color-mix(in srgb, var(--theme-on-hero) 79.6078%, transparent); margin: 0 0 9px; }
.sm-h-footer-grid p { margin: 20px 0 0; max-width: 260px; }
.sm-h-socials { display: flex; gap: 15px; margin-top: 18px; }
.sm-h-socials a { font-size: 14px; }
.sm-h-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 20px; border-top: 1px solid color-mix(in srgb, var(--theme-on-hero) 18.8235%, transparent); font-size: 10px; color: color-mix(in srgb, var(--theme-on-hero) 79.6078%, transparent); }
@media (max-width: 1200px) {
    .sm-h-nav { gap: 13px; }
    .sm-h-brand span { font-size: 17px; }
    .sm-h-updates { grid-template-columns: minmax(0,1fr) 260px; gap: 25px; }
    .sm-h-match { padding: 25px; }
    .sm-h-quick>a { padding-inline: 16px; gap: 10px; }
}
@media (max-width: 1100px) {
    .sm-h-hero h1 { font-size: clamp(44px,6.1vw,64px); }
    .sm-h-hero-copy { padding-block: 45px; }
    .sm-h-story, .sm-h-hero { min-height: 500px; }
    .sm-h-story-copy { left: 26px; right: 22px; }
    .sm-h-slider-controls { left: 26px; }
    .sm-h-quick { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 0; }
    .sm-h-quick>a:nth-child(2) { border: 0; }
    .sm-h-quick>a:nth-child(3) { padding-left: 0; }
    .sm-h-updates { grid-template-columns: 1fr; }
    .sm-h-match { max-width: none; min-height: 290px; }
    .sm-h-match-teams { max-width: 440px; }
    .sm-h-match>a { max-width: 440px; }
    .sm-h-academy { gap: 30px; }
    .sm-h-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
    .sm-h-hero { grid-template-columns: 1fr; }
    .sm-h-hero-copy { padding: 44px var(--h-gutter) 36px; }
    .sm-h-hero h1 { font-size: clamp(44px,10vw,68px); margin-top: 21px; }
    .sm-h-hero-copy>p { font-size: 13px; }
    .sm-h-hero-signature { margin-top: 28px; }
    .sm-h-story { min-height: 390px; }
    .sm-h-story-copy h2 { font-size: 29px; }
    .sm-h-hero-actions { gap: 22px; }
    .sm-h-button { gap: 18px; }
    .sm-h-quick { padding-block: 25px; gap: 18px 0; }
    .sm-h-quick>a { padding-inline: 14px; }
    .sm-h-quick>a>i:last-child { display: none; }
    .sm-h-quick strong { font-size: 11px; }
    .sm-h-quick small { font-size: 9px; }
    .sm-h-updates, .sm-h-players { padding-block: 45px; }
    .sm-h-section-head { align-items: start; flex-wrap: wrap; }
    .sm-h-news-grid { grid-template-columns: 1fr; gap: 25px; }
    .sm-h-news-card { display: grid; grid-template-columns: 1fr 1.15fr; gap: 15px; }
    .sm-h-news-card time { margin-top: 0; }
    .sm-h-news-card h3 { font-size: 15px; margin: 9px 0; }
    .sm-h-news-card p { font-size: 10px; }
    .sm-h-news-image { aspect-ratio: 1; }
    .sm-h-academy { grid-template-columns: 1fr; padding-block: 30px; }
    .sm-h-academy-image { min-height: 300px; }
    .sm-h-academy h2 { font-size: 35px; }
    .sm-h-player-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
    .sm-h-player-grid article>div { padding: 12px; gap: 10px; }
    .sm-h-player-grid b { font-size: 25px; }
    .sm-h-player-grid strong { font-size: 11px; }
    .sm-h-tv { padding-block: 0 45px; }
    .sm-h-tv>a { padding: 28px; min-height: 250px; }
    .sm-h-play i { width: 48px; height: 48px; font-size: 13px; }
    .sm-h-sponsors { padding-bottom: 45px; }
    .sm-h-sponsors>div { gap: 25px; }
    .sm-h-footer-head { align-items: start; flex-direction: column; }
    .sm-h-footer-grid { gap: 30px 20px; }
    .sm-h-footer-grid>div:first-child { grid-column: 1/-1; }
    .sm-h-footer-bottom { flex-wrap: wrap; line-height: 1.6; }
}
@media (prefers-reduced-motion: reduce) {
    .sm-h-home *, .sm-h-home *::before, .sm-h-home *::after { transition: none !important; scroll-behavior: auto !important; }
}
