/*
 * ARUSWARTA GLOBAL THEME v0.3
 * Presentation layer only. All selectors are scoped to .aw-theme.
 * Reference: reference/mockup-reference.png
 */
:root {
    --aw-teal: #07877f;
    --aw-teal-dark: #006f69;
    --aw-navy: #0d1d2c;
    --aw-ink: #111820;
    --aw-muted: #65717d;
    --aw-line: #d8dde1;
    --aw-bg: #ffffff;
    --aw-panel: #fafafa;
    --aw-container: 1360px;
    --aw-gutter: 30px;
}

.aw-theme,
.aw-theme * { box-sizing: border-box; }
.aw-theme { margin: 0; min-height: 100vh; color: var(--aw-ink); background: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 14px; }
.aw-theme img { max-width: 100%; }
.aw-theme a { color: inherit; }
.aw-theme-main { display: block; width: 100%; min-width: 0; }
.aw-container { width: min(var(--aw-container), calc(100% - (var(--aw-gutter) * 2))); margin-inline: auto; }
.aw-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* TOP INFORMATION BAR */
.aw-theme .aw-topbar { width: 100%; min-height: 36px; color: #fff; background: #101010; }
.aw-theme .aw-topbar-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.aw-theme .aw-topbar-date { color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }
.aw-theme .aw-topbar-right { display: flex; align-items: center; justify-content: flex-end; gap: 24px; min-width: 0; }
.aw-theme .aw-topbar-links { display: flex; align-items: center; gap: 22px; min-width: 0; }
.aw-theme .aw-topbar-links a, .aw-theme .aw-topbar-links .aw-topbar-link-static { color: #fff; text-decoration: none; font-size: 12px; white-space: nowrap; }
.aw-theme .aw-topbar-links a:hover { color: #7ee2d9; }
.aw-theme .aw-social-links { display: flex; align-items: center; gap: 8px; }
.aw-theme .aw-social-links a { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.aw-theme .aw-social-letter { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; color: #fff; font-weight: 900; line-height: 1; font-size: 13px; }
.aw-theme .aw-social-youtube { background: #f00; font-size: 10px; }
.aw-theme .aw-social-facebook { background: #1877f2; font-family: Arial,sans-serif; font-size: 15px; }
.aw-theme .aw-social-x { background: #111; color: #fff; font-size: 14px; }
.aw-theme .aw-social-instagram { background: linear-gradient(135deg,#7545d8,#e83e82,#f2a13a); font-size: 18px; }
.aw-theme .aw-social-tiktok { background: #111; font-size: 17px; }

/* IDENTITY / SEARCH / ACCOUNT BAR */
.aw-theme .aw-site-header { width: 100%; background: #fff; border-bottom: 1px solid #e5e5e5; }
.aw-theme .aw-header-inner { min-height: 76px; display: grid; grid-template-columns: minmax(250px, 1fr) minmax(280px, 384px) minmax(180px, 1fr); align-items: center; gap: 24px; }
.aw-theme .aw-brand { display: inline-flex; flex-direction: column; align-items: flex-start; justify-self: start; text-decoration: none; min-width: 0; }
.aw-theme .aw-brand-word { display: block; color: #080808; font-size: clamp(27px, 3.2vw, 36px); line-height: .98; font-weight: 900; letter-spacing: -1.7px; white-space: nowrap; }
.aw-theme .aw-brand-word span { color: var(--aw-teal); }
.aw-theme .aw-brand-word strong { font-weight: 900; }
.aw-theme .aw-brand-tagline { margin-top: 3px; color: #151515; font-size: 12px; line-height: 1.2; white-space: nowrap; }
.aw-theme .aw-search { width: 100%; height: 39px; display: flex; align-items: center; border: 1px solid #c9cdd0; border-radius: 9px; background: #fafafa; overflow: hidden; }
.aw-theme .aw-search input { flex: 1 1 auto; width: 100%; min-width: 0; height: 100%; padding: 0 13px; color: #222; background: transparent; border: 0; outline: 0; font: inherit; font-size: 14px; }
.aw-theme .aw-search input::placeholder { color: #555; opacity: 1; }
.aw-theme .aw-search button { flex: 0 0 42px; height: 100%; display: inline-flex; align-items: center; justify-content: center; border: 0; color: #111; background: transparent; cursor: pointer; }
.aw-theme .aw-search button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.aw-theme .aw-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 19px; }
.aw-theme .aw-icon-action { width: 24px; height: 32px; display: inline-flex; align-items: center; justify-content: center; color: #101820; text-decoration: none; }
.aw-theme .aw-icon-action svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.aw-theme .aw-login-button { min-width: 84px; min-height: 38px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: #fff; background: #08b19f; font-size: 14px; font-weight: 800; text-decoration: none; }
.aw-theme .aw-login-button:hover { background: var(--aw-teal-dark); }

/* MAIN HORIZONTAL NAVIGATION */
.aw-theme .aw-main-navigation { width: 100%; background: #fff; border-bottom: 1px solid #d8d8d8; box-shadow: 0 2px 5px rgba(0,0,0,.04); }
.aw-theme .aw-navigation-inner { min-height: 43px; display: flex; align-items: stretch; gap: 0; }
.aw-theme .aw-home-nav { flex: 0 0 43px; min-height: 43px; display: flex; align-items: center; justify-content: center; color: #111; text-decoration: none; border-bottom: 2px solid transparent; }
.aw-theme .aw-home-nav svg { width: 18px; height: 18px; fill: currentColor; }
.aw-theme .aw-home-nav.is-active { border-bottom-color: #111; }
.aw-theme .aw-navigation-scroll { flex: 1 1 auto; min-width: 0; display: flex; align-items: stretch; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.aw-theme .aw-navigation-scroll::-webkit-scrollbar { display: none; }
.aw-theme .aw-navigation-scroll > a { min-height: 43px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 0 15px; color: #090909; font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.aw-theme .aw-navigation-scroll > a:hover,
.aw-theme .aw-navigation-scroll > a.is-active { color: var(--aw-teal-dark); border-bottom-color: var(--aw-teal); }
.aw-theme .aw-menu-chevron { font-size: 14px; line-height: 1; }
.aw-theme .aw-navigation-scroll .aw-nav-index { margin-left: auto; }

/* HOMEPAGE GRID — same order and two-column composition as the mockup */
.aw-theme .aw-home-page { width: 100%; background: #fff; padding: 22px 0 28px; }
.aw-theme .aw-home-grid { display: grid; grid-template-columns: minmax(0, 2.02fr) minmax(290px, 1fr); gap: 25px; align-items: start; }
.aw-theme .aw-home-main-column,
.aw-theme .aw-home-sidebar { min-width: 0; }
.aw-theme .aw-home-main-column { display: flex; flex-direction: column; gap: 28px; }
.aw-theme .aw-home-sidebar { display: flex; flex-direction: column; gap: 17px; }

/* MAIN HERO */
.aw-theme .aw-hero { position: relative; width: 100%; aspect-ratio: 1.71 / 1; min-height: 330px; overflow: hidden; isolation: isolate; border-radius: 8px; color: #fff; background: #172635; }
.aw-theme .aw-hero-image,
.aw-theme .aw-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.aw-theme .aw-hero-image { z-index: -2; object-fit: cover; }
.aw-theme .aw-hero-shade { z-index: -1; background: linear-gradient(180deg,rgba(0,0,0,.02) 18%,rgba(0,0,0,.15) 43%,rgba(0,0,0,.88) 100%); }
.aw-theme .aw-hero-copy { position: absolute; left: 24px; right: 24px; bottom: 34px; }
.aw-theme .aw-category-label { display: inline-flex; align-items: center; width: fit-content; margin: 0 0 8px; padding: 4px 9px; color: #fff; background: var(--aw-teal); border-radius: 4px; font-size: 11px; font-weight: 900; line-height: 1.2; }
.aw-theme .aw-hero h1 { max-width: 850px; margin: 0 0 12px; color: #fff; font-size: clamp(25px, 3vw, 32px); line-height: 1.08; font-weight: 900; letter-spacing: -.65px; }
.aw-theme .aw-hero h1 a { color: inherit; text-decoration: none; }
.aw-theme .aw-hero-copy > p { max-width: 700px; margin: 0 0 12px; color: #f3f3f3; font-size: 13px; line-height: 1.45; }
.aw-theme .aw-hero-meta { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 12px; }
.aw-theme .aw-meta-divider { color: rgba(255,255,255,.72); }
.aw-theme .aw-hero-controls { position: absolute; inset: 0; display: block; transform: none; pointer-events: none; }
.aw-theme .aw-hero-controls > button { position: absolute; top: 50%; width: 32px; height: 32px; border: 0; border-radius: 50%; color: #fff; background: rgba(0,0,0,.58); font-size: 25px; line-height: 1; cursor: pointer; pointer-events: auto; transform: translateY(-50%); }
.aw-theme .aw-hero-controls > button:first-child { left: 12px; }
.aw-theme .aw-hero-controls > button:last-child { right: 12px; }
.aw-theme .aw-hero-dots { position: absolute; left: 50%; bottom: 11px; top: auto; display: flex; gap: 6px; transform: translateX(-50%); }
.aw-theme .aw-hero-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.55); cursor: pointer; }
.aw-theme .aw-hero-dots button.is-active { width: 22px; background: #fff; }
.aw-theme .aw-empty-state { padding: 18px; color: #68737d; font-size: 12px; line-height: 1.5; background: #f5f7f8; border: 1px dashed #cbd3d9; border-radius: 6px; }

/* SECTION TITLES / EDITOR / LATEST */
.aw-theme .aw-section { min-width: 0; }
.aw-theme .aw-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 13px; padding-bottom: 7px; border-bottom: 1px solid #cfd3d5; }
.aw-theme .aw-section-heading h2 { position: relative; margin: 0; color: #080808; font-size: 22px; line-height: 1.15; font-weight: 900; letter-spacing: -.55px; }
.aw-theme .aw-section-heading h2::after { position: absolute; left: 0; bottom: -9px; width: 19px; height: 3px; content: ""; background: var(--aw-teal); }
.aw-theme .aw-section-heading > a { flex: 0 0 auto; color: #111; font-size: 12px; text-decoration: none; }
.aw-theme .aw-editor-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; }
.aw-theme .aw-editor-card { min-width: 0; position: relative; display: flex; flex-direction: column; min-height: 184px; overflow: hidden; border-radius: 7px; color: #fff; background: #101820; text-decoration: none; }
.aw-theme .aw-editor-card > img { width: 100%; height: 102px; display: block; object-fit: cover; }
.aw-theme .aw-image-placeholder { min-height: 78px; background: linear-gradient(135deg,#d9e1e5,#82969f); }
.aw-theme .aw-editor-copy { flex: 1 1 auto; padding: 7px 9px 8px; background: linear-gradient(180deg,#17212a,#070b0e); }
.aw-theme .aw-editor-copy .aw-category-label { margin-bottom: 5px; padding: 2px 5px; font-size: 8px; }
.aw-theme .aw-editor-copy h3 { display: -webkit-box; margin: 0 0 5px; overflow: hidden; color: #fff; font-size: 12px; line-height: 1.2; font-weight: 800; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.aw-theme .aw-editor-copy time { color: #e7e7e7; font-size: 10px; }
.aw-theme .aw-latest-list { display: flex; flex-direction: column; }
.aw-theme .aw-latest-item { min-width: 0; display: grid; grid-template-columns: 202px minmax(0,1fr) 24px; gap: 12px; align-items: center; padding: 0 0 7px; margin-bottom: 7px; border-bottom: 1px solid #dedede; }
.aw-theme .aw-latest-image { width: 100%; height: 77px; display: block; overflow: hidden; border-radius: 7px; background: #e5eaed; }
.aw-theme .aw-latest-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.aw-theme .aw-latest-copy { min-width: 0; }
.aw-theme .aw-latest-copy .aw-category-label { margin-bottom: 3px; padding: 2px 6px; font-size: 9px; }
.aw-theme .aw-latest-copy h3 { margin: 0 0 4px; font-size: 16px; line-height: 1.15; font-weight: 900; letter-spacing: -.2px; }
.aw-theme .aw-latest-copy h3 a { color: #111; text-decoration: none; }
.aw-theme .aw-latest-copy h3 a:hover { color: var(--aw-teal-dark); }
.aw-theme .aw-latest-meta { display: flex; flex-wrap: wrap; gap: 9px; color: #343434; font-size: 11px; }
.aw-theme .aw-comment-count { align-self: end; padding-bottom: 5px; color: #111; font-size: 11px; text-align: right; }

/* SIDEBAR: POPULAR, MARKET, TOPICS, TOOLS AND LIVESCORE */
.aw-theme .aw-popular-panel { min-width: 0; }
.aw-theme .aw-sidebar-heading { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 7px; border-bottom: 1px solid #d3d3d3; }
.aw-theme .aw-sidebar-heading h2 { margin: 0; color: #090909; font-size: 19px; line-height: 1.1; font-weight: 900; letter-spacing: -.4px; }
.aw-theme .aw-sidebar-heading > a { flex: 0 0 auto; color: #111; font-size: 11px; text-decoration: none; }
.aw-theme .aw-sidebar-icon { margin-right: 4px; color: var(--aw-teal); font-size: 22px; }
.aw-theme .aw-popular-list { list-style: none; margin: 0; padding: 0; }
.aw-theme .aw-popular-list li { border-bottom: 1px solid #e6e6e6; }
.aw-theme .aw-popular-list li:last-child { border-bottom: 0; }
.aw-theme .aw-popular-list li > a { min-height: 69px; display: grid; grid-template-columns: 29px minmax(0,1fr) 82px; gap: 9px; align-items: center; padding: 7px 0; text-decoration: none; }
.aw-theme .aw-popular-rank { width: 27px; height: 27px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: var(--aw-teal); font-size: 15px; font-weight: 900; }
.aw-theme .aw-popular-copy { min-width: 0; }
.aw-theme .aw-popular-copy strong { display: -webkit-box; overflow: hidden; color: #111; font-size: 13px; line-height: 1.2; font-weight: 800; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.aw-theme .aw-popular-copy small { display: block; margin-top: 4px; color: #333; font-size: 10px; line-height: 1.2; }
.aw-theme .aw-popular-copy small i { margin: 0 4px; color: #888; font-style: normal; }
.aw-theme .aw-popular-list img { width: 82px; height: 50px; display: block; object-fit: cover; border-radius: 6px; }
.aw-theme .aw-sidebar-card { min-width: 0; overflow: hidden; border: 1px solid #e0e0e0; border-radius: 9px; background: #fff; }
.aw-theme .aw-sidebar-card .aw-sidebar-heading { padding: 8px 10px; }
.aw-theme .aw-market-row { min-height: 39px; display: grid; grid-template-columns: minmax(80px,1fr) minmax(90px,auto) auto; gap: 8px; align-items: center; padding: 6px 11px; border-bottom: 1px solid #ededed; }
.aw-theme .aw-market-row:last-child { border-bottom: 0; }
.aw-theme .aw-market-row strong { color: #161616; font-size: 12px; }
.aw-theme .aw-market-row b { color: #080808; font-size: 13px; text-align: right; }
.aw-theme .aw-market-row span { color: #159d38; font-size: 12px; font-weight: 800; white-space: nowrap; }
.aw-theme .aw-market-row span.is-down { color: #d43d3d; }
.aw-theme .aw-topic-list { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px; }
.aw-theme .aw-topic-list a { min-height: 28px; padding: 5px 13px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #d5d5d5; border-radius: 99px; color: #111; background: #fafafa; font-size: 11px; font-weight: 700; text-decoration: none; }
.aw-theme .aw-topic-list a:hover { color: var(--aw-teal-dark); border-color: var(--aw-teal); }
.aw-theme .aw-tools-banner { min-height: 170px; position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 7px; overflow: hidden; padding: 18px; border-radius: 9px; color: #fff; background: linear-gradient(130deg,#00877d,#00645f); text-decoration: none; }
.aw-theme .aw-tools-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aw-theme .aw-tools-banner > strong { position: relative; max-width: 70%; font-size: 23px; line-height: 1.1; font-weight: 900; }
.aw-theme .aw-tools-banner > span:not(.aw-tools-banner-icon) { position: relative; max-width: 58%; font-size: 13px; line-height: 1.35; }
.aw-theme .aw-tools-banner > b { position: relative; margin-top: 3px; padding: 7px 15px; border-radius: 7px; color: #111; background: #fff; font-size: 12px; }
.aw-theme .aw-tools-banner-icon { position: relative; font-size: 27px; }
.aw-theme .aw-livescore-existing { padding: 0; }
.aw-theme .aw-livescore-slot { padding: 18px 12px; color: #5b646c; font-size: 12px; line-height: 1.5; }

/* THE GLOBAL FOOTER IS A DIRECT SIBLING OF MAIN, NEVER INSIDE A PAGE CONTAINER. */
.aw-theme .aw-global-footer { width: 100%; max-width: none; min-width: 0; margin: 0; padding: 0; color: #fff; background: var(--aw-navy); border-top: 3px solid #078b83; }
.aw-theme .aw-footer-inner { padding-top: 17px; padding-bottom: 14px; }
.aw-theme .aw-footer-grid { display: grid; grid-template-columns: minmax(190px,1.25fr) repeat(var(--aw-footer-group-count, 4), minmax(120px,.9fr)) minmax(180px,1.1fr); align-items: stretch; }
.aw-theme .aw-footer-brand { min-width: 0; padding: 0 22px 0 18px; }
.aw-theme .aw-footer-brand-logo-link { display: inline-flex; align-items: flex-start; justify-content: flex-start; max-width: 100%; margin: 0 0 7px; text-decoration: none; }
.aw-theme .aw-footer-brand-logo { display: block; width: auto; height: auto; max-width: 220px; max-height: 62px; object-fit: contain; object-position: left center; }

.aw-theme .aw-footer-brand p { max-width: 190px; margin: 0 0 11px; color: #fff; font-size: 12px; line-height: 1.35; }
.aw-theme .aw-footer-column { min-width: 0; padding: 0 15px 0 22px; border-left: 1px solid rgba(255,255,255,.55); }
.aw-theme .aw-footer-column h2 { margin: 0 0 8px; color: #fff; font-size: 14px; line-height: 1.2; font-weight: 900; }
.aw-theme .aw-footer-column > a { width: fit-content; display: block; margin: 0 0 4px; color: #f2f5f7; font-size: 11px; line-height: 1.2; text-decoration: none; }
.aw-theme .aw-footer-column > a:hover { color: #53d8cd; text-decoration: underline; }
.aw-theme .aw-footer-follow .aw-social-links { margin-top: 11px; }
.aw-theme .aw-social-footer-large .aw-social-letter { width: 20px; height: 20px; font-size: 15px; }
.aw-theme .aw-footer-copyright { width: 100%; margin: 0; padding: 10px 15px; color: #fff; background: var(--aw-teal); text-align: center; font-size: 11px; line-height: 1.3; }

/* COMMON NON-HOME PAGE SHELLS */
.aw-theme .aw-article-page,
.aw-theme .aw-listing-page,
.aw-theme .aw-tools-page { min-height: 300px; padding-top: 24px; padding-bottom: 32px; }

/* RESPONSIVE — preserve desktop composition, stack content on narrower screens. */
@media (max-width: 1100px) {
    .aw-theme { --aw-gutter: 30px; }
    .aw-theme .aw-header-inner { grid-template-columns: minmax(220px,1fr) minmax(250px,360px) minmax(150px,1fr); gap: 16px; }
    .aw-theme .aw-navigation-scroll > a { padding-inline: 11px; font-size: 13px; }
    .aw-theme .aw-home-grid { grid-template-columns: minmax(0,2fr) minmax(280px,1fr); gap: 25px; }
    .aw-theme .aw-latest-item { grid-template-columns: 160px minmax(0,1fr) 20px; }
    .aw-theme .aw-footer-grid { grid-template-columns: minmax(160px,1.2fr) repeat(4,minmax(100px,.8fr)) minmax(130px,.9fr); }
    .aw-theme .aw-footer-column { padding-left: 14px; }
}
@media (max-width: 820px) {
    .aw-theme { --aw-gutter: 18px; }
    .aw-theme .aw-topbar-inner { gap: 10px; }
    .aw-theme .aw-topbar-right { gap: 10px; }
    .aw-theme .aw-topbar-links { gap: 10px; }
    .aw-theme .aw-topbar-links a { font-size: 10px; }
    .aw-theme .aw-header-inner { min-height: 72px; grid-template-columns: minmax(190px,1fr) minmax(180px,1fr) auto; gap: 12px; }
    .aw-theme .aw-brand-word { font-size: 29px; }
    .aw-theme .aw-brand-tagline { font-size: 10px; }
    .aw-theme .aw-header-actions { gap: 10px; }
    .aw-theme .aw-login-button { min-width: 68px; padding-inline: 12px; }
    .aw-theme .aw-home-grid { grid-template-columns: minmax(0,1.6fr) minmax(250px,1fr); gap: 14px; }
    .aw-theme .aw-hero { min-height: 290px; }
    .aw-theme .aw-hero-copy { left: 17px; right: 17px; bottom: 25px; }
    .aw-theme .aw-editor-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .aw-theme .aw-editor-card { min-height: 175px; }
    .aw-theme .aw-footer-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px 0; }
    .aw-theme .aw-footer-brand { padding-left: 0; }
    .aw-theme .aw-footer-brand-logo { max-width: 200px; max-height: 58px; }
    .aw-theme .aw-footer-column:nth-of-type(2n) { border-left: 1px solid rgba(255,255,255,.4); }
}
@media (max-width: 640px) {
    .aw-theme { --aw-gutter: 14px; }
    .aw-theme .aw-topbar { min-height: 32px; }
    .aw-theme .aw-topbar-inner { min-height: 32px; }
    .aw-theme .aw-topbar-date { font-size: 10px; }
    .aw-theme .aw-topbar-links { display: none; }
    .aw-theme .aw-topbar-right { margin-left: auto; }
    .aw-theme .aw-social-top { gap: 5px; }
    .aw-theme .aw-social-letter { width: 16px; height: 16px; font-size: 11px; }
    .aw-theme .aw-header-inner { min-height: 68px; grid-template-columns: minmax(0,1fr) auto; gap: 9px; padding-block: 7px; }
    .aw-theme .aw-brand-word { font-size: 27px; }
    .aw-theme .aw-brand-tagline { font-size: 9px; }
    .aw-theme .aw-search { grid-column: 1 / -1; grid-row: 2; height: 35px; }
    .aw-theme .aw-search input { font-size: 12px; }
    .aw-theme .aw-header-actions { grid-column: 2; grid-row: 1; gap: 8px; }
    .aw-theme .aw-icon-action { width: 22px; }
    .aw-theme .aw-icon-action svg { width: 19px; height: 19px; }
    .aw-theme .aw-login-button { min-height: 32px; min-width: 58px; border-radius: 7px; font-size: 12px; }
    .aw-theme .aw-navigation-inner { min-height: 39px; }
    .aw-theme .aw-home-nav,
    .aw-theme .aw-navigation-scroll > a { min-height: 39px; }
    .aw-theme .aw-home-nav { flex-basis: 35px; }
    .aw-theme .aw-navigation-scroll > a { padding-inline: 11px; font-size: 12px; }
    .aw-theme .aw-home-page { padding-top: 14px; }
    .aw-theme .aw-home-grid { grid-template-columns: minmax(0,1fr); gap: 21px; }
    .aw-theme .aw-home-main-column { gap: 22px; }
    .aw-theme .aw-home-sidebar { gap: 14px; }
    .aw-theme .aw-hero { min-height: 300px; aspect-ratio: 4 / 3; }
    .aw-theme .aw-hero-copy { left: 15px; right: 15px; bottom: 29px; }
    .aw-theme .aw-hero h1 { font-size: clamp(23px,6vw,30px); }
    .aw-theme .aw-hero-copy > p { font-size: 11px; }
    .aw-theme .aw-hero-meta { font-size: 10px; }
    .aw-theme .aw-hero-controls { display: none; }
    .aw-theme .aw-hero-dots { display: none; }
    .aw-theme .aw-section-heading h2 { font-size: 19px; }
    .aw-theme .aw-editor-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
    .aw-theme .aw-editor-card { min-height: 168px; }
    .aw-theme .aw-editor-card > img { height: 96px; }
    .aw-theme .aw-editor-copy h3 { font-size: 11px; }
    .aw-theme .aw-latest-item { grid-template-columns: 112px minmax(0,1fr); gap: 9px; padding-bottom: 9px; margin-bottom: 9px; }
    .aw-theme .aw-latest-image { height: 78px; }
    .aw-theme .aw-latest-copy h3 { font-size: 13px; line-height: 1.18; }
    .aw-theme .aw-latest-meta { gap: 5px; font-size: 9px; }
    .aw-theme .aw-comment-count { display: none; }
    .aw-theme .aw-popular-list li > a { grid-template-columns: 28px minmax(0,1fr) 76px; }
    .aw-theme .aw-popular-list img { width: 76px; height: 47px; }
    .aw-theme .aw-footer-inner { padding-top: 22px; }
    .aw-theme .aw-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 19px 0; }
    .aw-theme .aw-footer-brand { grid-column: 1 / -1; padding: 0 0 13px; border-bottom: 1px solid rgba(255,255,255,.35); }
    .aw-theme .aw-footer-brand-logo { max-width: 190px; max-height: 54px; }
    .aw-theme .aw-footer-column { min-height: 0; padding-left: 13px; }
    .aw-theme .aw-footer-column:nth-of-type(odd) { border-left: 1px solid rgba(255,255,255,.4); }
    .aw-theme .aw-footer-column h2 { font-size: 13px; }
    .aw-theme .aw-footer-column > a { font-size: 10px; }
    .aw-theme .aw-footer-follow { grid-column: 1 / -1; }
    .aw-theme .aw-footer-copyright { margin-top: 0; font-size: 10px; }
}

/* Multi-slide hero items are contained by the same fixed-size visual frame. */
.aw-theme .aw-hero-slide { position: absolute; inset: 0; display: block; overflow: hidden; }
.aw-theme .aw-hero-slide[hidden] { display: none !important; }
.aw-theme .aw-hero-slide .aw-hero-copy { z-index: 1; }
.aw-theme .aw-hero-slide .aw-hero-image { z-index: -2; }
.aw-theme .aw-hero-slide .aw-hero-shade { z-index: -1; }
.aw-theme .aw-hero-slide.is-active { display: block; }
.aw-theme .aw-hero-slide .aw-hero-copy { pointer-events: none; }
.aw-theme .aw-hero-slide .aw-hero-copy a { pointer-events: auto; }
.aw-theme .aw-livescore-existing { min-width: 0; overflow: hidden; border: 1px solid #e0e0e0; border-radius: 9px; background: #fff; }


/* GLOBAL MOBILE BOTTOM NAVIGATION — mobile only, shared by public pages. */
.aw-theme .aw-mobile-bottom-nav { display: none; }
@media (max-width: 767px) {
    .aw-theme { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
    .aw-theme .aw-mobile-bottom-nav {
        position: fixed; z-index: 99990; left: 0; right: 0; bottom: 0;
        width: 100%; min-height: 62px; padding: 6px 5px calc(6px + env(safe-area-inset-bottom, 0px));
        display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); align-items: center;
        border-top: 1px solid #e2e7eb; background: #fff; box-shadow: 0 -3px 14px rgba(20,47,88,.10);
    }
    .aw-theme .aw-mobile-bottom-nav a {
        min-width: 0; min-height: 48px; display: flex; flex-direction: column;
        align-items: center; justify-content: center; gap: 3px; color: #7d8994;
        text-decoration: none; text-align: center;
    }
    .aw-theme .aw-mobile-bottom-nav a > span { font-size: 19px; line-height: 1.1; }
    .aw-theme .aw-mobile-bottom-nav a > small { font-size: 9px; line-height: 1.2; }
    .aw-theme .aw-mobile-bottom-nav a.is-active { color: var(--aw-teal-dark); font-weight: 900; }
}


/* v0.3 narrow mobile topbar overflow guard — desktop mockup remains unchanged. */
@media (max-width: 480px) {
    .aw-theme .aw-topbar-inner { gap: 6px; }
    .aw-theme .aw-topbar-date { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
    .aw-theme .aw-social-top { display: none; }
}


/* v1 layout refinement: navigation sequence and shared content width. */
.aw-theme .aw-navigation-scroll .aw-nav-index { margin-left: 0 !important; }
.aw-theme .aw-brand-logo { display:block; width:auto; height:54px; max-width:235px; object-fit:contain; object-position:left center; }
@media (min-width:1200px) {
  .aw-theme { --aw-container:1440px; --aw-gutter:30px; }
}

/* ADMIN-MANAGED MENU INTEGRATION — dropdowns and shared mobile menu list. */
.aw-theme .aw-main-navigation { position: relative; z-index: 120; }
.aw-theme .aw-navigation-scroll { overflow: visible; }
.aw-theme .aw-navigation-database { gap: 0; }
.aw-theme .aw-nav-item {
    position: relative;
    flex: 0 0 auto;
    min-width: 0;
    display: inline-flex;
    align-items: stretch;
}
.aw-theme .aw-nav-item > a {
    min-height: 43px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    color: #090909;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}
.aw-theme .aw-nav-item > a:hover,
.aw-theme .aw-nav-item > a.is-active,
.aw-theme .aw-nav-item.is-active > a { color: var(--aw-teal-dark); border-bottom-color: var(--aw-teal); }
.aw-theme .aw-nav-toggle {
    width: 27px;
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-bottom: 2px solid transparent;
    color: #090909;
    background: transparent;
    cursor: pointer;
}
.aw-theme .aw-nav-toggle:hover,
.aw-theme .aw-nav-item.is-open .aw-nav-toggle { color: var(--aw-teal-dark); border-bottom-color: var(--aw-teal); }
.aw-theme .aw-nav-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 210px;
    max-width: min(300px, 85vw);
    padding: 6px;
    border: 1px solid #e0e6e9;
    border-radius: 0 0 8px 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(12,31,45,.16);
}
.aw-theme .aw-nav-item:hover > .aw-nav-submenu,
.aw-theme .aw-nav-item:focus-within > .aw-nav-submenu,
.aw-theme .aw-nav-item.is-open > .aw-nav-submenu { display: block; }
.aw-theme .aw-nav-submenu > a {
    min-height: 36px;
    display: flex;
    align-items: center;
    padding: 8px 11px;
    border-radius: 5px;
    color: #18232c;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    white-space: normal;
}
.aw-theme .aw-nav-submenu > a:hover,
.aw-theme .aw-nav-submenu > a.is-active { color: var(--aw-teal-dark); background: #eff8f7; }
.aw-theme .aw-footer-column > span { width: fit-content; display: block; margin: 0 0 4px; color: #f2f5f7; font-size: 11px; line-height: 1.2; }
.aw-theme .aw-mobile-bottom-nav { scrollbar-width: none; }
.aw-theme .aw-mobile-bottom-nav::-webkit-scrollbar { display: none; }
@media (max-width: 1100px) {
    .aw-theme .aw-nav-item > a { padding-inline: 10px; font-size: 13px; }
}
@media (max-width: 767px) {
    .aw-theme .aw-navigation-inner { align-items: stretch; }
    .aw-theme .aw-navigation-scroll {
        min-width: 0;
        flex: 1 1 100%;
        flex-wrap: wrap;
        align-items: stretch;
        overflow: visible;
    }
    .aw-theme .aw-nav-item > a { min-height: 39px; padding-inline: 9px; font-size: 12px; }
    .aw-theme .aw-nav-toggle { min-height: 39px; width: 23px; }
    .aw-theme .aw-nav-submenu { min-width: 190px; }
    .aw-theme .aw-mobile-bottom-nav {
        display: flex;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .aw-theme .aw-mobile-bottom-nav a {
        flex: 0 0 auto;
        min-width: 72px;
        padding: 0 8px;
        white-space: nowrap;
    }
    .aw-theme .aw-mobile-bottom-nav a > small { font-size: 10px; font-weight: 700; }
}
@media (min-width: 768px) and (max-width: 1100px) {
    .aw-theme .aw-navigation-inner { flex-wrap: wrap; }
    .aw-theme .aw-navigation-scroll { flex: 1 1 100%; flex-wrap: wrap; overflow: visible; }
}

/* =========================================================
   ARUSWARTA FOOTER — APPROVED FOUR-COLUMN DESIGN
   Footer-only overrides. Header, navigation and page layouts
   are intentionally left unchanged.
========================================================= */
.aw-theme .aw-global-footer {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: #fff;
    background: #071b2a;
    border-top: 3px solid #078b83;
}
.aw-theme .aw-footer-inner {
    /* Desktop footer content aligns with the main page content; background remains full width. */
    width: min(1360px, calc(100% - 60px));
    max-width: 1360px;
    margin-inline: auto;
    padding: 36px 32px 32px;
}
.aw-theme .aw-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
}
.aw-theme .aw-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 6px 22px 0 0;
    border: 0;
    border-right: 1px solid rgba(255,255,255,.7);
}
.aw-theme .aw-footer-brand-logo-link {
    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-start;
    max-width: 100%;
    margin: 0 0 13px;
    text-decoration: none;
}
.aw-theme .aw-footer-brand-logo {
    display: block;
    width: auto;
    height: 68px;
    max-width: 245px;
    max-height: 68px;
    object-fit: contain;
    object-position: left center;
}
.aw-theme .aw-footer-brand p {
    max-width: 260px;
    margin: 0 0 20px;
    color: #f4f7fa;
    font-size: 14px;
    line-height: 1.4;
}
.aw-theme .aw-social-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 7px;
}
.aw-theme .aw-social-footer a,
.aw-theme .aw-social-footer > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.aw-theme .aw-social-footer .aw-social-letter {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    font-size: 18px;
}
.aw-theme .aw-social-footer .aw-social-youtube { font-size: 16px; }
.aw-theme .aw-social-footer .aw-social-facebook { font-size: 22px; }
.aw-theme .aw-social-footer .aw-social-instagram { font-size: 23px; }
.aw-theme .aw-social-footer .aw-social-tiktok { font-size: 22px; }
.aw-theme .aw-footer-column {
    display: block;
    min-width: 0;
    padding: 5px 16px 0 24px;
    border: 0;
    border-left: 1px solid rgba(255,255,255,.7);
}
.aw-theme .aw-footer-column:last-child { padding-right: 0; }
.aw-theme .aw-footer-column h2 {
    position: relative;
    margin: 0 0 17px;
    padding: 0 0 10px;
    color: #fff;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -.35px;
}
.aw-theme .aw-footer-column h2::after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 3px;
    border-radius: 1px;
    content: "";
    background: #08b7aa;
}
.aw-theme .aw-footer-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.aw-theme .aw-footer-links li {
    min-width: 0;
    margin: 0;
    padding: 0;
}
.aw-theme .aw-footer-links li > a,
.aw-theme .aw-footer-links li > .aw-footer-static-link {
    min-height: 34px;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    width: 100%;
    color: #f5f7fa;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 500;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.aw-theme .aw-footer-links li > a:hover {
    color: #65e3d8;
}
.aw-theme .aw-footer-link-icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f4f8fb;
}
.aw-theme .aw-footer-link-icon svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.aw-theme .aw-footer-links li > a:hover .aw-footer-link-icon { color: #56ded2; }
.aw-theme .aw-footer-link-label { min-width: 0; }
.aw-theme .aw-footer-link-arrow {
    align-self: center;
    color: #fff;
    font-size: 22px;
    line-height: 1;
}
.aw-theme .aw-footer-copyright {
    width: 100%;
    margin: 0;
    padding: 16px 18px;
    color: #fff;
    background: #078b83;
    text-align: center;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
}

@media (max-width: 1200px) {
    .aw-theme .aw-footer-inner {
        width: min(1040px, calc(100% - 40px));
        max-width: 1040px;
        margin-inline: auto;
    }
    .aw-theme .aw-footer-grid { grid-template-columns: minmax(0, .95fr) repeat(3, minmax(0, 1.05fr)); }
    .aw-theme .aw-footer-brand { padding-right: 25px; }
    .aw-theme .aw-footer-column { padding-left: 20px; padding-right: 12px; }
    .aw-theme .aw-footer-column h2 { font-size: 20px; }
    .aw-theme .aw-footer-links li > a,
    .aw-theme .aw-footer-links li > .aw-footer-static-link { font-size: 15px; gap: 10px; }
}
@media (max-width: 900px) {
    .aw-theme .aw-footer-inner { width: calc(100% - 40px); padding: 35px 0; }
    .aw-theme .aw-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 0; }
    .aw-theme .aw-footer-brand {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(180px, .9fr) minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 24px;
        padding: 0 0 25px;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.45);
    }
    .aw-theme .aw-footer-brand-logo-link { margin: 0; }
    .aw-theme .aw-footer-brand-logo { max-width: 280px; height: 76px; max-height: 76px; }
    .aw-theme .aw-footer-brand p { margin: 0; font-size: 14px; }
    .aw-theme .aw-social-footer { gap: 8px; margin: 0; }
    .aw-theme .aw-social-footer .aw-social-letter { width: 30px; height: 30px; font-size: 18px; }
    .aw-theme .aw-footer-column { padding: 0 22px; border-left: 0; }
    .aw-theme .aw-footer-column.aw-footer-popular { border-left: 1px solid rgba(255,255,255,.5); }
    .aw-theme .aw-footer-column h2 { font-size: 19px; }
    .aw-theme .aw-footer-help { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.35); }
    .aw-theme .aw-footer-help .aw-footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
}
@media (max-width: 560px) {
    .aw-theme .aw-footer-inner { width: calc(100% - 32px); padding: 28px 0 25px; }
    .aw-theme .aw-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .aw-theme .aw-footer-brand {
        display: flex;
        align-items: flex-start;
        grid-column: auto;
        gap: 12px;
        padding: 0 0 22px;
    }
    .aw-theme .aw-footer-brand-logo { width: auto; max-width: 255px; height: 68px; max-height: 68px; }
    .aw-theme .aw-footer-brand p { margin: 0 0 3px; font-size: 13px; }
    .aw-theme .aw-social-footer .aw-social-letter { width: 30px; height: 30px; }
    .aw-theme .aw-footer-column,
    .aw-theme .aw-footer-column.aw-footer-popular,
    .aw-theme .aw-footer-help {
        grid-column: auto;
        padding: 19px 0 0;
        border: 0;
        border-top: 1px solid rgba(255,255,255,.35);
    }
    .aw-theme .aw-footer-column h2 { margin-bottom: 18px; font-size: 19px; }
    .aw-theme .aw-footer-links { gap: 9px; }
    .aw-theme .aw-footer-links li > a,
    .aw-theme .aw-footer-links li > .aw-footer-static-link { min-height: 37px; font-size: 14px; }
    .aw-theme .aw-footer-link-icon,
    .aw-theme .aw-footer-link-icon svg { width: 27px; height: 27px; }
    .aw-theme .aw-footer-help .aw-footer-links { display: flex; }
    .aw-theme .aw-footer-copyright { padding: 17px 12px; font-size: 12px; }
}


/* ARUSWARTA MOBILE NAVIGATION — SINGLE ROW; fixed bottom bar removed (2026-11-07). */
.aw-theme .aw-mobile-bottom-nav { display: none !important; }
@media (max-width: 767px) {
    /* The main menu is the only mobile navigation; do not reserve space for a bottom bar. */
    .aw-theme { padding-bottom: 0 !important; }

    .aw-theme .aw-navigation-inner {
        display: flex;
        flex-wrap: nowrap !important;
        align-items: stretch;
        min-width: 0;
        gap: 0;
    }

    /* Database menu and fallback menu both remain on one swipeable row. */
    .aw-theme .aw-navigation-database,
    .aw-theme .aw-navigation-scroll {
        display: flex;
        flex: 1 1 0;
        width: 0;
        min-width: 0;
        max-width: 100%;
        flex-wrap: nowrap !important;
        align-items: stretch;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }

    .aw-theme .aw-navigation-database::-webkit-scrollbar,
    .aw-theme .aw-navigation-scroll::-webkit-scrollbar { display: none; }

    .aw-theme .aw-navigation-database > .aw-nav-item,
    .aw-theme .aw-navigation-scroll > a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .aw-theme .aw-nav-item {
        flex: 0 0 auto;
        min-width: max-content;
        white-space: nowrap;
    }

    .aw-theme .aw-nav-item > a {
        min-height: 39px;
        padding-inline: 9px;
        font-size: 12px;
        white-space: nowrap;
    }

    .aw-theme .aw-nav-toggle { flex: 0 0 23px; min-height: 39px; width: 23px; }

    /* Mobile submenu is positioned by the menu script, outside the horizontal scroller. */
    .aw-theme .aw-nav-submenu {
        position: fixed !important;
        top: 0;
        left: 12px;
        right: auto;
        width: min(280px, calc(100vw - 24px));
        max-width: calc(100vw - 24px);
        max-height: 65vh;
        overflow-y: auto;
        overscroll-behavior: contain;
        z-index: 2000;
    }
}
