/* Betindex: shared editorial system. Keep the reference wordmark and typefaces. */
:root {
    --bg:#0c0f1a;--card:#151a2b;--card-h:#1b2338;--sf:#202943;
    --t1:#edf0f7;--t2:#a0abc0;--t3:#7e8aa4;--bd:rgba(153,169,196,.16);
    --brand:#00c7b1;--brand-soft:rgba(0,199,177,.10);--brand-border:rgba(0,199,177,.23);
    --card-border-radius:18px;--site-width:1280px;--site-gutter:32px;--header-row-height:72px;
    --color-1:var(--t1);--color-2:var(--t1);--color-3:var(--card);--color-4:var(--t2);
    --color-5:var(--ac);--color-6:var(--sf);--color-7:var(--t2);--color-8:var(--card-h);
    --color-9:var(--bd);--color-10:var(--ac-dim);--color-11:var(--t3);--color-12:var(--t2);
}
body { background:var(--bg);color:var(--t1); }
body .container,body.home .container { max-width:var(--site-width);padding:24px var(--site-gutter);margin-inline:auto; }
body .hdr-i,body.home .hdr-i { max-width:var(--site-width);padding:0 var(--site-gutter);height:var(--header-row-height); }
body main,body.home main { padding:12px 0 0;min-width:0; }
.layout_wrapper { min-height:calc(100vh - 120px); }
.hdr { background:rgba(12,15,26,.96);border-color:var(--bd); }
.hdr-nav-list > li > .menu__item_wrapper > a { padding:11px 18px;border-radius:10px; }
.bur { min-width:42px;min-height:42px;border-radius:12px; }
.container .content_wrapper { gap:28px; }
main img { max-width:100%; }
main :is(h1,h2,h3,p,li,a) { overflow-wrap:break-word; }
:where(a,button,input,select,textarea):focus-visible { outline:2px solid var(--brand);outline-offset:4px; }
.breadcrumbs,.breadcrumbs a { color:var(--t2); }
.breadcrumbs { font-size:12px;line-height:1.7; }

/* The same opening rhythm on the home page and news/category archives. */
.section-intro { position:relative;display:flex;align-items:center;justify-content:space-between;gap:32px;padding:22px 0 30px;margin:0 0 12px; }
.section-intro__copy { position:relative;z-index:1;min-width:0; }
.section-intro__eyebrow { display:flex;align-items:center;gap:9px;margin:0 0 14px;color:var(--brand);font-size:11px;font-weight:700;letter-spacing:1.7px;text-transform:uppercase; }
.section-intro__eyebrow > span { width:6px;height:6px;background:var(--brand);border-radius:50%; }
.section-intro h1 { font-family:'Unbounded',sans-serif;font-size:clamp(26px,2.6vw,36px);font-weight:700;line-height:1.3;letter-spacing:-1.1px;margin:0;max-width:26ch; }
.section-intro__description { color:var(--t2);font-size:15px;line-height:1.7;margin:12px 0 0;max-width:62ch; }
.section-intro__link { position:relative;z-index:1;display:inline-flex;align-items:center;gap:24px;flex-shrink:0;padding:13px 19px;border:1px solid var(--bd);border-radius:12px;color:var(--t1);font-size:13px;font-weight:600; }
.section-intro__link span { color:var(--ac);font-size:20px; }
.section-intro__link:hover { background:var(--card);border-color:var(--ac-bd); }
.section-intro--home::after { content:'';position:absolute;right:190px;top:0;bottom:0;width:145px;background:url('/wp-content/plugins/betindex-social/assets/brand-mark-muted.png') center/contain no-repeat;opacity:.28;pointer-events:none; }
.section-heading { gap:12px;margin:28px 0 18px; }
.section-heading::before { width:4px;height:22px;background:linear-gradient(180deg,var(--ac),var(--brand)); }
.section-heading__text { font-family:'Inter',sans-serif;font-size:19px;font-weight:750;line-height:1.35;letter-spacing:-.35px;text-transform:none;color:var(--t1); }
.section__title_wrapper { margin-bottom:24px;gap:16px; }
.section__title_wrapper .section__title { color:var(--t1);font-size:clamp(25px,2.5vw,34px);font-weight:700;line-height:1.3;letter-spacing:-.6px; }
.section__title_wrapper .section__title-action { color:var(--ac);background:var(--ac-dim);border:1px solid var(--ac-bd);min-height:40px; }
.page__short-desc { font-size:14px;line-height:1.8;color:var(--t2);max-width:86ch;margin-top:12px; }

/* Shared hero, summaries, feed and sidebar. */
.hero-grid { gap:18px;margin-bottom:32px; }
.hero-card { border-radius:20px;box-shadow:0 14px 36px rgba(0,0,0,.09); }
.hero-card__image { height:300px;aspect-ratio:16/9; }
.hero-card__body { padding:24px; }
.hero-card__title { font-family:'Unbounded',sans-serif;font-size:21px;line-height:1.42;letter-spacing:-.5px; }
.hero-card__description { color:var(--t2);font-size:14px;line-height:1.7;-webkit-line-clamp:2; }
.news-badge { font-size:9px;letter-spacing:.5px;padding:5px 10px;margin-bottom:14px; }
.news-badge__dot { animation:none; }
.sub-cards { display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:14px; }
.sub-card { border-radius:18px;padding:21px 20px;gap:16px;min-height:0;height:100%;max-height:none;align-items:stretch; }
.sub-card__number { color:var(--t3);font-family:'Unbounded',sans-serif;font-size:20px;opacity:.7; }
.sub-card__body { display:flex;flex-direction:column;align-items:flex-start;min-width:0;justify-content:center; }
.sub-card__title { font-family:'Inter',sans-serif;font-size:17px;line-height:1.5;font-weight:700;margin:8px 0 10px;-webkit-line-clamp:3; }
.post-meta { color:var(--t3);font-size:12px; }
.category-tag { font-size:10px;letter-spacing:.7px; }
.news-layout { display:grid;grid-template-columns:minmax(0,1fr);gap:26px; }
.news-layout__feed,.news-layout__sidebar { min-width:0;width:auto; }
.news-feed { gap:16px; }
.news-card { border-radius:18px; }
.news-card__image-link { width:220px;min-height:172px; }
.news-card__body { padding:21px 22px;gap:9px; }
.news-card__title { font-family:'Inter',sans-serif;font-size:18px;font-weight:700;line-height:1.45;-webkit-line-clamp:3;letter-spacing:-.25px; }
.news-card__description { font-size:13px;line-height:1.65;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.news-card__body .post-meta { margin-top:auto;padding-top:6px;font-size:11px; }
.sidebar-widget { border-radius:18px;padding:22px; }
.sidebar-widget__title { margin-bottom:17px; }
.sidebar-widget__title span { letter-spacing:.4px; }
.sidebar-popular__title { font-size:13px;line-height:1.6;color:var(--t1); }
.sidebar-bookmaker__number,.sidebar-popular__number { color:var(--t3); }
.sidebar-cta { background:linear-gradient(140deg,var(--card),#152c32);border-color:var(--brand-border); }
.sidebar-cta .sidebar-widget__title span { color:var(--brand); }
.sidebar-cta .sidebar-widget__title::before { background:linear-gradient(180deg,var(--ac),var(--brand)); }
.sidebar-cta__description { color:var(--t2);line-height:1.7; }
.sidebar-cta__button { display:flex;align-items:center;justify-content:center;min-height:44px;color:var(--t1);background:var(--brand-soft);border-color:var(--brand-border);font-size:13px; }
.sidebar-cta__button:hover { color:var(--t1);background:rgba(0,199,177,.18);border-color:var(--brand); }
.filter-pills { gap:8px;margin-bottom:22px;max-width:100%;width:100%;padding:3px 0 7px; }
.filter-pill { min-height:40px;display:inline-flex;align-items:center;padding:9px 17px;font-size:12px; }
.tabs_wrapper .btn { min-height:40px;white-space:normal;line-height:1.4; }
.load-more__button,.home-news__more { display:flex;align-items:center;justify-content:center;gap:14px;min-height:48px;border-radius:12px;padding:14px 28px;border:1px solid var(--ac-bd);background:var(--ac-dim);color:var(--ac);font:700 13px/1.4 'Inter',sans-serif; }
.load-more__button:hover,.home-news__more:hover { background:rgba(245,166,35,.17);border-color:var(--ac); }
.home-news__more { margin-top:22px;width:100%; }
.home-news__latest { margin-top:12px;scroll-margin-top:90px; }
.home-news__latest .section-heading { margin-top:0; }
.home-news__ad { overflow:hidden;max-width:100%;margin:20px 0; }
.home-news__ad:empty { display:none; }
.site-empty-state { border:1px solid var(--bd);border-radius:18px;background:var(--card);padding:30px;color:var(--t2);line-height:1.7; }
.site-empty-state h2 { color:var(--t1); }
.news-archive-heading { margin:8px 0 24px;flex-wrap:wrap; }
.news-archive-heading h1 { margin:0; }
.news-archive-page { color:var(--t3);font-size:12px;margin-left:auto; }
.news-layout__feed > .section-heading:first-child { margin-top:0; }
.load-more[hidden],.news-pagination[hidden] { display:none; }
.load-more { flex-direction:column;align-items:stretch;gap:10px; }
.load-more__status { color:var(--t2);font-size:13px;line-height:1.6;margin:0;text-align:center; }
.load-more__status:empty { display:none; }
.news-pagination { display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center;margin:24px 0; }
.news-pagination .page-numbers { display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;padding:9px 13px;border:1px solid var(--bd);border-radius:10px;background:var(--card);font-size:13px; }
.news-pagination .current { color:var(--ac);border-color:var(--ac-bd);background:var(--ac-dim); }
.news-pagination a:hover { border-color:var(--brand); }

/* Long-form pages retain their content, with a comfortable reading measure. */
/* All template families use the shared outer container width. */
.post__content_wrapper { padding:32px;border-radius:20px;background:var(--card);border-color:var(--bd); }
.post__content-date { color:var(--t3);font-size:12px;margin-bottom:16px; }
.page__title { font-family:'Inter',sans-serif;font-size:clamp(26px,3vw,38px);font-weight:750;line-height:1.3;letter-spacing:-.8px;margin:0 0 24px;max-width:30ch; }
.page__thumb { display:block;width:100%;height:auto;max-height:440px;aspect-ratio:16/9;object-fit:cover;border-radius:14px;margin:22px 0 28px; }
.post__content,.post__content_wrapper > p,.post__content_wrapper > ul,.post__content_wrapper > ol { max-width:74ch;font-size:17px;line-height:1.85; }
.post__content p:not(.news-card__description),.post__content_wrapper > p { margin:0 0 1.3em; }
.post__content :is(h2,h3):not(.news-card__title):not(.section-heading__text),.post__content_wrapper > :is(h2,h3) { line-height:1.4;letter-spacing:-.35px;margin:1.6em 0 .8em;color:var(--t1); }
.post__content h2,.post__content_wrapper > h2 { font-size:26px; }
.post__content h3:not(.news-card__title),.post__content_wrapper > h3 { font-size:21px; }
.post__content :is(p,li) a:not(.btn),.page__content_wrapper :is(p,li) a:not(.btn) { color:var(--ac);text-decoration:underline;text-decoration-color:var(--ac-bd);text-underline-offset:4px; }
.post__content :is(ul,ol) { padding-left:24px; }
.post__content li { margin-bottom:.5em; }
.post__content blockquote,.post__content_wrapper > blockquote { margin:24px 0;padding:18px 24px;border-left:3px solid var(--brand);background:var(--brand-soft);color:var(--t1);border-radius:0 12px 12px 0; }
.post__content table,.page__content_wrapper table { width:100%;border-collapse:collapse;display:block;max-width:100%;overflow-x:auto; }
.post__content :is(th,td),.page__content_wrapper :is(th,td) { border:1px solid var(--bd);padding:12px 16px;text-align:left; }
.post__content th { background:var(--sf); }
.post__author_wrapper { margin-top:30px;padding:20px 0;border-top:1px solid var(--bd);border-bottom:1px solid var(--bd); }
.related-posts,.related__posts_wrapper { margin-top:32px; }
.related-posts .news-card__image-link { width:100%;height:140px;min-height:0; }
.related-posts .news-card__body { padding:17px; }
.related-posts .news-card__title { font-size:15px;line-height:1.5;margin:0; }
.related-posts .news-card__description { font-size:12px;line-height:1.6;margin:0; }

/* Other template families share the same surfaces and controls. */
.card,.school-card,.forecast-card,.bookmaker__card,.bookmaker__list-item,.promotion-card,.author__top_wrapper { border-radius:18px;border-color:var(--bd);background:var(--card); }
.card .card__content { padding:22px; }
.card .card__content.full-card { border:0; }
.card .card__title,.school-card__title { font-size:17px;line-height:1.5; }
.card .card__date,.card .card__short-desc,.school-card__description { color:var(--t2); }
.posts__grid,.school-grid,.bookmakers__grid,.forecast-grid { gap:20px; }
.bookmaker__card { padding:22px; }
.bookmaker__top_wrapper,.bookmaker__part_wrapper,.bookmaker__page-content { border-radius:18px; }
.bookmaker__tabs { gap:8px; }
.bookmaker__tabs .btn { min-height:40px; }
.btn { min-height:42px;border-radius:11px;line-height:1.3; }
.btn--small,.sidebar-bookmaker__link { min-height:34px; }
.author__top_wrapper { padding:26px;border:1px solid var(--bd);margin-bottom:24px; }
.author__page-title { font-size:32px;line-height:1.3; }
.author__top_wrapper { align-items:center; }
.author__top_wrapper .author__avatar_wrapper { flex:0 0 82px;width:82px;height:82px;aspect-ratio:1;border-radius:50%;overflow:hidden; }
.author__avatar_wrapper img.avatar { display:block;width:100%;height:100%;object-fit:cover;border-radius:50%; }
.post__author_wrapper img.author__img { display:block;flex:0 0 38px;width:38px;height:38px;object-fit:cover;border-radius:50%; }
.footer { margin-top:56px;background:linear-gradient(180deg,transparent,rgba(0,199,177,.025)); }
.footer__content { padding-top:36px; }
.footer__top-left-info { color:var(--t3); }
.footer__column-list { color:var(--t2); }
.page__error-404 { padding:56px 0; }
.error-404 { max-width:700px;margin:auto;padding:48px;background:var(--card);border:1px solid var(--bd);border-radius:24px; }
.error-404__code { color:var(--brand);font:700 13px/1.4 'Unbounded',sans-serif;letter-spacing:3px; }
.error-404 h1 { font-size:36px;line-height:1.3;letter-spacing:-.8px; }
.error-404 p { color:var(--t2);font-size:16px;line-height:1.8; }
.error-404__actions { display:flex;gap:12px;flex-wrap:wrap;margin-top:28px; }

@media(min-width:1024px) {
    .hero-grid { grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); }
    .home-featured--solo { grid-template-columns:1fr; }
    .news-layout { grid-template-columns:minmax(0,1fr) 292px; }
    .news-layout__sidebar { align-self:start; }
}
@media(max-width:1023px) {
    :root { --site-gutter:24px; }
    .section-intro { gap:20px; }
    .section-intro--home::after { display:none; }
    .hero-grid { grid-template-columns:minmax(0,1fr); }
    .sub-cards { grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto; }
    .sub-card { padding:18px 16px;gap:10px; }
    .sub-card__title { font-size:14px; }
    .sub-card__number { font-size:16px; }
    .hero-card__image { height:auto;max-height:360px; }
    .news-layout__sidebar { display:none; }
}
@media(max-width:699px) {
    :root { --site-gutter:16px;--header-row-height:62px; }
    body .container,body.home .container { padding:18px var(--site-gutter); }
    body .hdr-i,body.home .hdr-i { height:var(--header-row-height); }
    body .mob-nav__head { height:var(--header-row-height); }
    body main,body.home main { padding-top:4px; }
    .section-intro { padding:18px 0 22px;gap:14px;align-items:flex-start;flex-direction:column; }
    .section-intro h1 { font-size:25px;letter-spacing:-.8px; }
    .section-intro__eyebrow { font-size:9px;letter-spacing:1.1px;margin-bottom:12px; }
    .section-intro__description { font-size:13px;line-height:1.7;margin-top:11px; }
    .section-intro__link { display:none; }
    .section-heading { margin-top:24px; }
    .section-heading__text { font-size:18px; }
    .hero-grid { gap:14px;margin-bottom:26px; }
    .hero-card { border-radius:18px; }
    .hero-card__image { aspect-ratio:16/10;height:auto;max-height:none; }
    .hero-card__body { padding:20px; }
    .hero-card__title { font-size:17px;line-height:1.5;letter-spacing:-.4px; }
    .hero-card__description { display:-webkit-box;font-size:12px; }
    .news-badge { margin-bottom:12px; }
    .sub-cards { grid-template-columns:1fr;gap:10px; }
    .sub-card { padding:18px;gap:14px; }
    .sub-card__title { font-size:14px;margin:6px 0 8px; }
    .sub-card__number { font-size:18px; }
    .news-card { flex-direction:row;border-radius:14px;align-items:stretch; }
    .news-card .news-card__image-link { width:104px;min-height:146px; }
    .news-card__body { padding:15px 14px;gap:7px; }
    .news-card__title { font-size:14px;line-height:1.5;-webkit-line-clamp:4; }
    .news-card__description { display:none; }
    .news-card__body .post-meta { font-size:10px;padding-top:3px;gap:8px; }
    .category-tag { font-size:9px;letter-spacing:.4px; }
    .news-feed { gap:12px; }
    .filter-pills { margin-bottom:16px; }
    .filter-pill { min-height:38px;padding:8px 14px;font-size:11px; }
    .news-layout { gap:26px; }
    .sidebar-widget { padding:21px; }
    .post__content_wrapper { padding:22px 19px;border-radius:18px; }
    .page__title { font-size:26px;line-height:1.34;letter-spacing:-.65px; }
    .page__thumb { margin:18px 0 22px;aspect-ratio:16/10;border-radius:11px; }
    .post__content,.post__content_wrapper > :is(p,ul,ol) { font-size:16px;line-height:1.85; }
    .post__content h2,.post__content_wrapper > h2 { font-size:23px; }
    .post__content h3:not(.news-card__title),.post__content_wrapper > h3 { font-size:19px; }
    .post__content blockquote { padding:15px 18px; }
    .posts__grid,.school-grid,.bookmakers__grid,.forecast-grid { grid-template-columns:1fr;gap:16px; }
    .related-posts .news-feed { grid-template-columns:minmax(0,1fr); }
    .related-posts .news-card { flex-direction:row; }
    .related-posts .news-card__image-link { width:104px;height:auto;min-height:135px; }
    .section__title_wrapper .section__title { font-size:25px; }
    .card .card__content { padding:20px; }
    .footer { margin-top:36px; }
    .footer__top { gap:28px; }
    .footer__top-right { flex-wrap:wrap;gap:30px; }
    .page__error-404 { padding:24px 0; }
    .error-404 { padding:28px 22px; }
    .error-404 h1 { font-size:28px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important;animation:none!important;transition:none!important; } }

/* Breadcrumb navigation starts with the actual brand wordmark in the header. */
.hdr-context { display:flex;align-items:center;gap:20px;flex:1;min-width:0; }
.hdr-context .lo-mark { flex-shrink:0; }
.hdr-breadcrumbs { min-width:0;max-width:100%;overflow-x:auto;scrollbar-width:none; }
.hdr-breadcrumbs::-webkit-scrollbar { display:none; }
.hdr-breadcrumbs ol { display:flex;align-items:center;gap:15px;list-style:none;padding:5px 0;margin:0;width:max-content; }
.hdr-breadcrumbs li { display:flex;align-items:center;gap:15px;white-space:nowrap;font:700 18px/1.35 'Inter',sans-serif;letter-spacing:-.3px; }
.hdr-breadcrumbs__separator { color:var(--t3);font-size:22px;font-weight:400;opacity:.65; }
.hdr-breadcrumbs a { display:block;color:var(--t2);text-decoration:none;padding:8px 0;transition:color .2s,background .2s,border-color .2s; }
.hdr-breadcrumbs a:hover { color:var(--t1); }
.hdr-breadcrumbs li:last-child a { position:relative;color:var(--t1);padding:10px 15px;background:var(--brand-soft);border:1px solid var(--brand-border);border-radius:11px; }
.hdr-breadcrumbs li:last-child a::after { content:'';position:absolute;bottom:-1px;left:13px;right:13px;height:2px;background:linear-gradient(90deg,var(--ac),var(--brand));border-radius:2px; }
.hdr-breadcrumbs li:last-child a:hover { background:rgba(0,199,177,.17);border-color:rgba(0,199,177,.4); }
.hdr .hdr-nav { flex:0 0 auto; }
@media(max-width:1023px) {
    body .hdr-i,body.home .hdr-i { gap:18px; }
    .hdr-context { gap:16px; }
}
@media(max-width:699px) {
    body .hdr-i,body.home .hdr-i { gap:12px; }
    .hdr-context { gap:12px; }
    body .hdr:has(.hdr-context--trail) .hdr-i { display:grid;grid-template-columns:minmax(0,1fr) 42px;grid-template-rows:var(--header-row-height) auto;gap:0 12px;height:auto;padding-top:0;padding-bottom:0;align-items:center; }
    .hdr-context--trail { display:contents; }
    .hdr-context--trail .lo-mark { grid-column:1;grid-row:1;justify-self:start; }
    .hdr-context--trail .lo-mark .bi-reference-wordmark { width:152px; }
    .hdr-context--trail .hdr-breadcrumbs { grid-column:1/-1;grid-row:2;width:100%; }
    .hdr-context--trail .hdr-breadcrumbs ol { padding:0 0 10px; }
    .hdr:has(.hdr-context--trail) .hdr-i > .bur { grid-column:2;grid-row:1; }
    .hdr-breadcrumbs ol,.hdr-breadcrumbs li { gap:12px; }
    .hdr-breadcrumbs li { font-size:16px; }
    .hdr-breadcrumbs__separator { font-size:19px; }
    .hdr-breadcrumbs li:last-child a { padding:8px 13px;border-radius:9px; }
}
