/* Never allow horizontal page scroll (mobile safety net). */
*,*::before,*::after{box-sizing:border-box;}
html,body{overflow-x:hidden;max-width:100%;}
.otx-main,.home .entry-content{max-width:100%;overflow-x:clip;}
/* flex/grid children default to min-width:auto and refuse to shrink → overflow. */
.home .entry-content > *,.otx-cardgrid > *,.otx-chiprow > *{min-width:0;}
:root{
  --otx-navy:#1B2A4A; --otx-navy-d:#141F38; --otx-gold:#C9A227; --otx-gold-d:#B08D1E;
  --otx-steel:#5B6B85; --otx-steel-l:#AEB8CC; --otx-ink:#2A3342; --otx-line:#E2E6EC; --otx-alt:#F5F7FA;
  --otx-cur:#1F7A3D; --otx-sup:#B7791F; --otx-res:#B3261E; --otx-prop:#2D6CDF;
  --otx-radius:12px;
  /* Full-width content: span the viewport with responsive gutters, capped so line
     length stays readable on ultrawide displays. */
  --otx-max:1600px; --otx-gut:clamp(20px,5vw,72px);
}

/* ---- Layout: full-width sections ---- */
.otx-section{max-width:var(--otx-max);margin:0 auto;padding:clamp(40px,5vw,64px) var(--otx-gut);}
.otx-section--tight{padding-top:clamp(24px,3vw,36px);padding-bottom:clamp(24px,3vw,36px);}
.otx-section--alt{background:var(--otx-alt);max-width:none;}
.otx-section--alt > *{max-width:var(--otx-max);margin-inline:auto;}
.otx-section__head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:22px;flex-wrap:wrap;}
.otx-section__head h2{color:var(--otx-navy);font-weight:700;margin:0;font-size:clamp(1.3rem,1.05rem + .8vw,1.7rem);letter-spacing:-.01em;}
.otx-more{color:var(--otx-gold-d);font-weight:600;text-decoration:none;white-space:nowrap;}
.otx-more:hover{text-decoration:underline;}

.otx-grid{display:grid;gap:20px;}
.otx-grid--3{grid-template-columns:repeat(3,1fr);}
.otx-grid--2{grid-template-columns:2fr 1fr;}
.otx-facetgrid{grid-template-columns:280px 1fr;align-items:start;}
/* Responsive auto-fit card grid — compact, keeps lists short vertically.
   min(100%,300px) so a single column never forces overflow on narrow screens. */
.otx-cardgrid{display:grid;gap:18px;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));}
@media(max-width:900px){.otx-grid--3{grid-template-columns:1fr;}.otx-grid--2{grid-template-columns:1fr;}.otx-facetgrid{grid-template-columns:1fr;}}

/* ---- Badges (resource type) ---- */
.otx-badge{display:inline-block;padding:4px 12px;border-radius:14px;font-size:12px;font-weight:600;
  background:#EAF0F7;color:var(--otx-navy);border:1px solid #D3E0EE;text-transform:uppercase;letter-spacing:.3px;}
.otx-badge--law{background:#E7E9FB;border-color:#D2D7F2;}
.otx-badge--policy{background:#F1EDF9;border-color:#DfD3EE;}
.otx-badge--guide{background:#EAF6F0;border-color:#CDE7D8;}
.otx-badge--report{background:#FCF4E3;border-color:#F0E3C2;}
.otx-badge--gao-decision{background:#E4F1F1;border-color:#C7E3E1;}
.otx-badge--court-decision{background:#FBEEE6;border-color:#F0D8C6;}
.otx-badge--regulation{background:#EFF2F5;border-color:#D9E0E7;}

/* ---- Status pill ---- */
.otx-status{display:inline-block;padding:3px 10px;border-radius:12px;font-size:11.5px;font-weight:700;}
.otx-status--current{background:#E6F4EA;color:var(--otx-cur);}
.otx-status--superseded{background:#FBF1DF;color:var(--otx-sup);}
.otx-status--rescinded{background:#FBE9E7;color:var(--otx-res);}
.otx-status--proposed{background:#E9F0FC;color:var(--otx-prop);}

/* ---- Authority / topic chips ---- */
.otx-chip{display:inline-block;padding:5px 12px;border-radius:15px;background:#EAEEF4;color:var(--otx-ink);
  border:1px solid #D2D8E2;font-size:12.5px;font-weight:600;text-decoration:none;margin:0 6px 6px 0;transition:background .12s;}
.otx-chip:hover{background:#dbe1ea;color:var(--otx-navy);}

/* ---- Resource card (div + stretched title link — NO nested anchors) ---- */
.otx-card{position:relative;background:#fff;border:1px solid var(--otx-line);border-radius:var(--otx-radius);
  padding:18px 20px;display:flex;flex-direction:column;gap:2px;transition:box-shadow .15s,border-color .15s,transform .15s;}
.otx-card:hover{box-shadow:0 6px 22px rgba(27,42,74,.10);border-color:#CFD7E3;transform:translateY(-1px);}
.otx-card__meta{position:relative;z-index:2;display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:8px;}
.otx-card__title{color:var(--otx-navy);font-weight:700;font-size:1.05rem;line-height:1.3;margin:2px 0 4px;
  text-decoration:none;display:block;}
.otx-card__title:hover{color:var(--otx-navy-d);}
/* Stretched link — whole card clickable to the resource; chips stay clickable above it. */
.otx-card__link::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit;}
.otx-card__cite{color:var(--otx-steel);font-size:12.5px;margin-bottom:8px;}
.otx-card__tax{position:relative;z-index:2;margin-top:auto;padding-top:6px;}
.otx-card__fy{margin-left:auto;color:var(--otx-steel);font-size:11px;}

/* Navy CTA card — appended as the last item of a resource grid to set it apart. */
.otx-card--cta{background:var(--otx-navy);border-color:var(--otx-navy);justify-content:center;
  text-decoration:none;gap:0;}
.otx-card--cta:hover{box-shadow:0 8px 24px rgba(27,42,74,.22);border-color:var(--otx-navy);}
/* Scoped one level deep so it outranks Astra's `.entry-content :where(h3)` (a specificity tie that source order otherwise decides). */
.otx-card--cta .otx-card--cta__title{color:#fff;font-size:1.12rem;font-weight:800;line-height:1.25;margin:0 0 8px;}
.otx-card--cta p{color:#CBD5E6;font-size:13.5px;line-height:1.5;margin:0 0 14px;}
.otx-card--cta__link{color:var(--otx-gold);font-weight:700;font-size:14px;}
.otx-card--cta:hover .otx-card--cta__link{text-decoration:underline;}

/* ---- Facet rail ---- */
.otx-facet-rail{background:var(--otx-alt);border:1px solid var(--otx-line);border-radius:var(--otx-radius);padding:18px;}
.otx-facet-group{margin-bottom:18px;}
.otx-facet-group h3{font-size:11px;letter-spacing:1px;color:#8A94A6;text-transform:uppercase;margin:0 0 8px;}
.otx-facet-group label{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--otx-ink);margin:5px 0;cursor:pointer;}
.otx-active{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:16px;}
.otx-active__chip{background:#FFF4D6;border:1px solid var(--otx-gold);color:var(--otx-navy);
  padding:5px 12px;border-radius:15px;font-size:12.5px;font-weight:600;text-decoration:none;}
.otx-clear{color:var(--otx-steel);font-size:12px;text-decoration:none;}

/* ---- Hero (authority hub + reusable) ---- */
.otx-hero{background:linear-gradient(135deg,var(--otx-navy) 0%,var(--otx-navy-d) 100%);color:#fff;
  padding:clamp(40px,6vw,72px) var(--otx-gut);}
.otx-hero__inner{max-width:var(--otx-max);margin:0 auto;}
.otx-hero .eyebrow{color:var(--otx-gold);font-size:12px;font-weight:700;letter-spacing:2px;text-transform:uppercase;}
.otx-hero h1{color:#fff;margin:10px 0 6px;font-size:clamp(1.8rem,1.1rem + 2.4vw,2.75rem);line-height:1.12;
  letter-spacing:-.02em;font-weight:800;max-width:20ch;}
.otx-hero p{color:#CBD5E6;font-size:clamp(1rem,.95rem + .2vw,1.12rem);max-width:60ch;margin:0;}
.otx-hero .cite{color:var(--otx-steel-l);font-weight:500;font-size:1rem;}
.otx-quickfacts{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px;}
.otx-quickfact{background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.18);
  border-radius:15px;padding:6px 14px;font-size:12.5px;font-weight:600;}
/* Agency pill — gold-tinted, set apart as the administering agency. */
.otx-quickfact--agency{background:rgba(201,162,39,.18);border-color:rgba(201,162,39,.55);color:#F3E3B0;}

/* ---- Home hero built from a native Cover block (editable in Gutenberg) ---- */
.home .entry-content > .wp-block-cover.otx-hero-cover{min-height:0;padding:clamp(44px,6vw,80px) 0;
  border-radius:0;align-items:flex-start;justify-content:center;}
/* Content box shared by header, hero, CTA, and body sections (aligns all edges). */
.home .wp-block-cover.otx-hero-cover .wp-block-cover__inner-container{width:100%;max-width:var(--otx-max);
  margin:0 auto;padding-inline:var(--otx-gut);box-sizing:border-box;}
.home .wp-block-cover.otx-hero-cover h1{font-size:clamp(1.9rem,1.1rem + 2.6vw,2.9rem);line-height:1.1;
  letter-spacing:-.02em;font-weight:800;max-width:none;margin:.15em 0;}
/* Two-column hero: heading left, subcopy + search right. Stacks on mobile. */
.home .otx-hero-cover .wp-block-columns{align-items:center;gap:clamp(24px,4vw,56px);margin:0;}
.home .otx-hero-cover .wp-block-column{min-width:0;}
.home .wp-block-cover.otx-hero-cover p{color:#CBD5E6;font-size:clamp(1rem,.95rem + .3vw,1.15rem);max-width:62ch;}
/* Core Search block inside the hero */
.home .wp-block-cover.otx-hero-cover .wp-block-search{max-width:min(600px,100%);margin-top:22px;}
.home .wp-block-cover.otx-hero-cover .wp-block-search .wp-block-search__inside-wrapper{flex-wrap:nowrap;}
/* flex items default to min-width:auto and refuse to shrink → page overflow. */
.home .wp-block-cover.otx-hero-cover .wp-block-search__input{border:none;border-radius:24px 0 0 24px;
  padding:13px 18px;font-size:15px;min-width:0;flex:1 1 auto;}
.home .wp-block-cover.otx-hero-cover .wp-block-search__button{background:var(--otx-gold) !important;
  color:var(--otx-navy) !important;border:none !important;border-radius:0 24px 24px 0;font-weight:700;
  padding:13px 22px;margin:0;}
.home .wp-block-cover.otx-hero-cover .wp-block-search__button:hover{background:var(--otx-gold-d) !important;}

/* ---- Tabs (authority hub sections) ---- */
.otx-secnav{display:flex;gap:24px;border-bottom:1px solid var(--otx-line);margin:0 0 8px;flex-wrap:wrap;}
.otx-secnav a{color:var(--otx-steel);font-weight:600;text-decoration:none;padding:12px 0;}
.otx-secnav a.is-active{color:var(--otx-navy);border-bottom:3px solid var(--otx-gold);}

/* ---- Single resource ---- */
/* Sub-page header band — navy (matches the hero separation), same layout as the
   Resource Library head. Full-bleed navy; content aligned to the shared box. */
.otx-single__head{background:linear-gradient(135deg,var(--otx-navy) 0%,var(--otx-navy-d) 100%);
  padding:clamp(28px,4vw,48px) 0;}
/* Same content-box model as sections/header (max-width THEN inner padding) so
   the head content aligns with the body at every viewport width. */
.otx-single__head > *{max-width:var(--otx-max);margin-inline:auto;
  padding-inline:var(--otx-gut);box-sizing:border-box;}
.otx-single__head h1{color:#fff;font-size:clamp(1.6rem,1.1rem + 1.8vw,2.4rem);line-height:1.16;
  letter-spacing:-.02em;margin:6px 0 4px;font-weight:700;}
.otx-single__head .otx-subline{color:#CBD5E6;margin:0;}
.otx-single__head .eyebrow{color:var(--otx-gold);font-size:12px;font-weight:700;letter-spacing:2px;text-transform:uppercase;}
.otx-single__head .cite{color:#AEB8CC;font-weight:500;}
.otx-single__wrap{max-width:var(--otx-max);margin:0 auto;display:grid;grid-template-columns:minmax(0,3fr) minmax(260px,1fr);
  gap:40px;padding:clamp(28px,4vw,44px) var(--otx-gut);}
.otx-single__wrap h1{font-size:clamp(1.5rem,1.1rem + 1.4vw,2rem);line-height:1.2;}
@media(max-width:900px){.otx-single__wrap{grid-template-columns:1fr;gap:28px;}}
.otx-detailcard{background:var(--otx-alt);border:1px solid var(--otx-line);border-radius:12px;padding:20px;align-self:start;}
.otx-detailcard dt{color:var(--otx-steel);font-size:12px;margin-top:10px;}
.otx-detailcard dd{color:var(--otx-ink);font-weight:600;font-size:13px;margin:0;}
.otx-srcbtn{display:inline-block;background:var(--otx-gold);color:var(--otx-navy);font-weight:700;
  padding:11px 22px;border-radius:8px;text-decoration:none;transition:background .12s;}
.otx-srcbtn:hover{background:var(--otx-gold-d);color:var(--otx-navy);}

/* ---- Header: white, single row, subtle divider (replaces off light-blue) ---- */
.site-header,.ast-primary-header-bar,.site-primary-header-wrap,.site-below-header-wrap,
.main-header-bar{background:#fff;}
/* Align header content box with the hero/body content box (same max-width + gutter),
   and drop the inner section end-padding so the logo/search sit flush with those edges. */
.ast-primary-header-bar,.main-header-bar{padding-left:0 !important;padding-right:0 !important;}
.ast-primary-header-bar .ast-container{max-width:var(--otx-max) !important;width:100% !important;
  margin-inline:auto !important;padding-left:var(--otx-gut) !important;padding-right:var(--otx-gut) !important;}
.ast-primary-header-bar .site-header-primary-section-left{padding-left:0;margin-left:0;}
.ast-primary-header-bar .site-header-primary-section-right{padding-right:0;margin-right:0;}
.ast-primary-header-bar .site-header-primary-section-right .ast-header-search{margin-right:0;}
.site-primary-header-wrap,.ast-primary-header-bar{border-bottom:1px solid var(--otx-line);}
.main-header-menu .menu-link,.ast-builder-menu .menu-link{color:var(--otx-navy);font-weight:600;}
.main-header-menu .menu-link:hover,.main-header-menu .current-menu-item > .menu-link,
.ast-builder-menu .current-menu-item > .menu-link{color:var(--otx-gold-d);}
.site-header .ast-search-icon .astra-search-icon{color:var(--otx-navy);}

/* ---- Footer: navy with light text + reversed logo (bookends the navy hero).
   Astra paints the footer bg on inner builder wraps, so force them all. ---- */
.site-footer,.site-footer .site-primary-footer-wrap,.site-footer .site-above-footer-wrap,
.site-footer .site-below-footer-wrap,.site-below-footer-wrap,
.site-footer [class*="footer-wrap"],.site-footer .ast-builder-grid-row-container{
  background-color:var(--otx-navy) !important;background-image:none !important;}
.site-footer,.site-footer p,.site-footer li,.site-footer span,.site-footer .widget{color:#C6D0E0;}
.site-footer a,.site-footer .widget a,.site-footer li a{color:#EAF0F7 !important;text-decoration:none;}
.site-footer a:hover,.site-footer .widget a:hover,.site-footer li a:hover{color:var(--otx-gold) !important;}
.site-footer .widget-title,.site-footer h2,.site-footer h3,.site-footer h4{color:#fff !important;}
.site-footer .ast-builder-grid-row-container,.site-footer [class*="site-footer-section"],
.site-footer .site-primary-footer-wrap,.site-footer .site-above-footer-wrap{border-color:rgba(255,255,255,.12);}
/* Footer content aligned to the shared content box (Astra caps it ~1200px centered);
   bg stays full-bleed on .site-footer. */
.site-footer .site-primary-footer-wrap,.site-footer .site-above-footer-wrap,
.site-footer .site-below-footer-wrap{padding-left:0 !important;padding-right:0 !important;}
.site-footer .site-primary-footer-inner-wrap,.site-footer .site-above-footer-inner-wrap,
.site-footer .site-below-footer-inner-wrap{
  max-width:var(--otx-max) !important;margin-inline:auto !important;
  padding-left:var(--otx-gut) !important;padding-right:var(--otx-gut) !important;}
/* Footer logo: centered across full width, same size as the header logo (480px). */
.site-footer .site-above-footer-inner-wrap{display:block !important;}
.site-footer .site-footer-above-section-1,.site-footer .ast-footer-html-2{text-align:center;width:100%;}
.site-footer .ast-footer-html-2 img{display:inline-block;max-width:min(480px,100%);height:auto;margin:0 auto;}
.site-footer img{max-width:min(480px,100%);height:auto;}
/* Center the copyright row at the very bottom of the footer (un-grid so the
   single section spans full width, then center the text). */
.site-below-footer-wrap .site-below-footer-inner-wrap{display:block !important;text-align:center;}
.site-below-footer-wrap .site-footer-below-section-1,.site-below-footer-wrap .ast-footer-copyright{
  width:100% !important;justify-content:center !important;text-align:center !important;}

/* ---- Content-width alignment (everything shares the 72/1368 box at 1440) ----
   Any page that renders our #primary.otx-primary is a custom full-bleed template
   (home, resource archive/single, authority hub, authorities index, …): its
   container spans full width so navy head/hero bands go edge-to-edge and the
   sections self-gutter. Detected by structure, so new custom templates just work. */
.site-content > .ast-container:has(> .otx-primary){max-width:none !important;
  padding-left:0 !important;padding-right:0 !important;}
.site-content > .ast-container > .otx-primary{width:100%;max-width:100%;flex:1 1 100%;
  padding-left:0 !important;padding-right:0 !important;margin-top:0 !important;}
.otx-main{width:100%;padding-left:0;padding-right:0;}
/* Navy head/hero butts the header (no gap) — matches the events page. */
.site-content:has(> .ast-container > .otx-primary){padding-top:0 !important;}
/* Astra-rendered content pages (single posts, search, 404) have no full-bleed
   bands — align their content container to the shared box instead. NOTE: the
   posts index (.blog / is_home) is now our custom full-bleed home.php = Analysis,
   so it is intentionally NOT boxed here (it falls under the .otx-primary rule). */
.search .site-content > .ast-container,
.error404 .site-content > .ast-container{
  max-width:var(--otx-max) !important;margin-inline:auto !important;
  padding-left:var(--otx-gut) !important;padding-right:var(--otx-gut) !important;}
/* ---- Home block flow: full-width canvas; sections get gutters, full-bleed
   blocks (hero Cover, CTA Cover) break out edge-to-edge. ---- */
.otx-main{overflow-x:clip;}
.home .otx-main .entry-content{max-width:none;margin:0;padding-bottom:clamp(44px,5vw,68px);}
.home .entry-content > *{box-sizing:border-box;width:100%;max-width:var(--otx-max);margin-inline:auto;
  padding-inline:var(--otx-gut);margin-top:clamp(28px,3.2vw,44px);}
.home .entry-content > .alignfull{max-width:none;padding-inline:0;}
.home .entry-content > h2{margin-top:clamp(44px,5vw,68px);margin-bottom:2px;color:var(--otx-navy);
  font-size:clamp(1.35rem,1.05rem + .9vw,1.75rem);letter-spacing:-.01em;}
.home .entry-content > .wp-block-cover:first-child{margin-top:0;}
/* Chip row + card grid spacing under a heading */
.otx-chiprow{display:flex;flex-wrap:wrap;}
.home .entry-content .otx-cardgrid,.home .entry-content .otx-chiprow{margin-top:16px;}
/* Recent Analysis renders via [otx_analysis] into .otx-cardgrid (styled above),
   so no Query Loop overrides are needed. */

/* ---- Site-wide consistency: brand typography + accents on Astra-rendered
   areas (blog index, single posts, sidebar widgets). Scoped away from the home
   block grids so cards/chips keep their own styling. ---- */
.entry-title,.entry-title a,.widget-title,.wp-block-heading,
.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4{font-weight:700;}
/* Inline links → brand navy, gold-dark hover (not buttons/cards/chips). */
.blog .entry-content a,.single .entry-content a,.otx-entry-content a,.entry-meta a,
.ast-blog-single-element a,.widget a,.read-more,.more-link,.page-links a{color:var(--otx-navy);}
.blog .entry-content a:hover,.single .entry-content a:hover,.otx-entry-content a:hover,
.entry-meta a:hover,.widget a:hover,.read-more:hover,.more-link:hover{color:var(--otx-gold-d);}
/* Search buttons (blog sidebar, etc.) → brand gold. */
.search-form .search-submit,.wp-block-search__button{background:var(--otx-gold) !important;
  color:var(--otx-navy) !important;border-color:var(--otx-gold) !important;}
/* Current nav item → gold accent, not Astra blue. */
.main-header-menu .current-menu-item > .menu-link,.ast-builder-menu .current-menu-item > .menu-link,
.main-header-menu .current-menu-ancestor > .menu-link{color:var(--otx-gold-d) !important;}
/* Astra main content (search/archive/blog results): drop the demo light-blue box
   so results sit on plain white like the rest of the site. */
.ast-article-post,.ast-article-single,.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single,.ast-archive-description,
.no-results,.not-found,.ast-separate-container .no-results{
  background-color:transparent !important;box-shadow:none !important;}
/* Sidebar widget "sections" → very light gray box for visual separation
   (replaces the demo light-blue). */
#secondary .widget,#secondary .widget_block{background-color:var(--otx-alt) !important;box-shadow:none !important;
  border:1px solid var(--otx-line);border-radius:var(--otx-radius);padding:20px 22px;margin-bottom:20px;}
/* Archive / search page titles → brand navy (were Astra blue). */
.page-title,.ast-archive-title,.search-title,h1.page-title{color:var(--otx-navy) !important;}
/* The demo boxes carried big padding (48px title band, 85px per article) that,
   now the boxes are flat, left dead space + pushed content off the column edge.
   Zero the horizontal padding (align to the column) and tighten the vertical. */
.ast-separate-container .ast-article-post,.ast-separate-container .ast-article-single,
.search .ast-article-post,.blog .ast-article-post,.archive .ast-article-post{
  padding-top:0 !important;padding-bottom:clamp(24px,3vw,34px) !important;
  padding-left:0 !important;padding-right:0 !important;}
.ast-archive-description{padding:0 0 clamp(14px,2vw,22px) !important;margin:0 !important;}
/* Astra's blog/archive list row carries a -20px side margin (grid gutter comp)
   that, without column padding, overhangs the content column. Zero it. */
.blog .primary .ast-row,.search .primary .ast-row,.archive .primary .ast-row{
  margin-left:0 !important;margin-right:0 !important;}
/* Match blog result spacing to the search page (tighter) — Astra adds an extra
   ~40px margin between blog posts that search results don't have. */
.blog .ast-article-post,.search .ast-article-post,.archive .ast-article-post{
  margin-top:0 !important;margin-bottom:0 !important;}

/* ---- Events (The Events Calendar) — match the rest of the site ---- */
/* Align TEC content to the shared content box (was Astra ~1240 centered).
   Head sits above .site-content, so zero the content-area top padding — the
   head's own margin-bottom provides the spacing. */
.post-type-archive-tribe_events .site-content > .ast-container{
  max-width:var(--otx-max) !important;margin-inline:auto !important;
  padding-left:var(--otx-gut) !important;padding-right:var(--otx-gut) !important;padding-top:0 !important;}
/* Navy head band injected via hook (events archive, blog index) before the
   constrained container, so it is full-width by default (no breakout needed). */
.otx-injhead{margin-bottom:clamp(24px,3vw,40px);}
/* TEC constrains its layout to max-width:1260px + an 18px offset — widen it to
   fill the aligned box, and drop its internal top spacing (the head provides it). */
.tribe-events .tribe-events-l-container{max-width:none !important;
  margin-left:0 !important;margin-right:0 !important;padding-top:0 !important;}
.tribe-events .tribe-events-header{margin-top:0 !important;}
/* Brand TEC accent colors (v2 custom props) → navy / gold. */
.tribe-common{--tec-color-accent-primary:var(--otx-navy) !important;
  --tec-color-accent-primary-hover:var(--otx-gold-d) !important;
  --tec-color-accent-primary-active:var(--otx-gold-d) !important;
  --tec-color-background-secondary:var(--otx-alt) !important;
  --tec-color-link-accent:var(--otx-navy) !important;
  --tec-color-link-accent-hover:var(--otx-gold-d) !important;}
.tribe-events .tribe-events-calendar-list__event-title-link,
.tribe-events a.tribe-event-url,.tribe-events .tribe-event-title a{color:var(--otx-navy) !important;}
.tribe-events .tribe-events-calendar-list__event-title-link:hover,
.tribe-events a.tribe-event-url:hover{color:var(--otx-gold-d) !important;}
/* Buttons / view-switcher active → gold. */
.tribe-common .tribe-common-c-btn,.tribe-events .tribe-events-c-view-selector__button--active{
  background-color:var(--otx-gold) !important;color:var(--otx-navy) !important;border-color:var(--otx-gold) !important;}
/* "No upcoming events" notice → subtle gray box, not TEC gray. */
.tribe-events .tribe-events-c-messages__message,.tribe-events-notices{
  background:var(--otx-alt) !important;border:1px solid var(--otx-line);border-radius:var(--otx-radius);
  color:var(--otx-ink) !important;}
