/* =========================================================
   ONL core.css — truly shared, sitewide styles only.
   Loaded on EVERY page, in addition to that page's own
   scoped CSS file (search-results.css, blog-all-posts.css,
   other-tools.css, my-private-quizzes.css, etc).

   Includes:
     - :root design tokens
     - shared wrap / logo / footer chrome
     - mobile nav
     - header / footer / search overlay / buttons

   Do NOT add page-specific rules here. If a page needs its
   own look, it overrides these classes inside its own
   .page-xxx-scoped file — same pattern already used by
   search-results.css / blog-all-posts.css.
   ========================================================= */

:root {
  --page: #ffffff;
  --card: #fff;
  --ink: #161616;
  --ink-soft: #303b4a;
  --muted: #6b6b6b;
  --muted-2: #8a8a8a;
  --border: #dedede;
  --border-2: #ececec;
  --teal: #b32a24;
  --teal-h: #871c17;
  --teal-soft: #ffe3e2;
  --navy: #16202c;
  --indigo: #b32a24;
  --indigo-h: #c63b35;
  --soft: #ecebff;
  --purple: #b32a24;
  --blue: #b32a24;
  --orange: #f5891f;
  --green: #15a34a;
  /* Canonical type stacks — use var(--sans) for UI/body, var(--serif) for display headings */
  --serif: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow-sm: none;
  --shadow-md: none;
}


html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0; 
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Hide calculator/game explore + related links on all pages */
.more-tools-section,
.related-links,
.related-links-section,
.panel.related-links,
.calc-bottom:has(.related-links) {
  display: none !important;
}

.page-calculator .calc-side,
.math-calculator .calc-side,
.conversion-calc .calc-side,
.financial-calc .calc-side,
.word-text-calc .calc-side,
.page-time-date-calculators .calc-side,
.page-all-calculators-tools .calc-side,
.page-other-tools .calc-side,
.page-utility-tools .calc-side,
.page-time-tools .calc-side,
.page-time-tool .calc-side,
.page-calendar .calc-side {
  display: none !important;
}

.page-calculator .calc-layout,
.math-calculator .calc-layout,
.conversion-calc .calc-layout,
.financial-calc .calc-layout,
.word-text-calc .calc-layout,
.page-time-date-calculators .calc-layout,
.page-all-calculators-tools .calc-layout,
.page-other-tools .calc-layout,
.page-utility-tools .calc-layout,
.page-time-tools .calc-layout,
.page-calendar .calc-layout {
  grid-template-columns: 1fr !important;
}

/* Shared layout chrome — header/footer when using .site-shell
   or when header sits inside a page scope (.page-blog, etc.) */
.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

@media (min-width: 1600px) {
  .wrap {
    max-width: 1400px;
  }
}

.nav a,
footer a,
#siteFooter a {
  color: inherit;
  text-decoration: none;
}

.nav svg,
footer svg,
#siteFooter svg {
  display: block;
}

.ico {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav > .wrap.nav-in {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.nav .logo-img,
.foot-brand .logo-img {
  display: block;
  height: 42px;
  width: auto;
  max-width: none;
  background: none;
  object-fit: contain;
}

footer,
#siteFooter {
  margin-top: 48px;
  background: #fff;
  border-top: 1px solid #e2e7ef;
  padding: 48px 0 28px;
}

footer .wrap,
#siteFooter .wrap {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.affiliate {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.6;
  text-align: center;
}

.copyright {
  text-align: center;
  margin-top: 20px;
  padding-top: 0;
  border-top: 0;
  font-size: 12.5px;
  color: var(--muted-2);
}

/* =========================================================
   Shared header (nav / brand / search pill / mobile toggle)
   ========================================================= */

/* Isolate site header from Bootstrap .nav (flex nav component) */
header.nav,
header#siteNav {
  display: block !important;
  flex-wrap: nowrap !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  list-style: none !important;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(223, 228, 236, .88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .78);
}

.nav-in {
  display: flex;
  align-items: center;
  height: 84px;
  min-height: 84px;
  gap: 22px;
}

.brand {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: .2px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 9px;
}

.nav-links {
  display: flex;
  gap: 30px;
  flex: 1;
  align-items: center;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: #314055;
  letter-spacing: .01em;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--teal);
  text-decoration: underline;
}
 

.nav-search:hover {
  border-color: #cfd4dc;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, .06);
}

.nav-search .ico {
  width: 16px;
  height: 16px;
  color: var(--muted-2);
  flex: none;
}

.nav-search .ns-text {
  flex: 1;
  text-align: left;
  white-space: nowrap;
}

.nav-search .ns-kbd {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--page);
  border: 1px solid var(--border);
  border-radius: 6px;
  min-width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pages using .site-shell without home.css / style.css — match unified header */
.site-shell .nav > .wrap.nav-in {
  width: 100%;
  max-width: 1220px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.site-shell .nav {
  position: sticky !important;
  top: 0 !important;
  z-index: 40 !important;
  background: rgba(255, 255, 255, .93) !important;
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(223, 228, 236, .88) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .78) !important;
}

.site-shell .nav-in {
  display: flex !important;
  align-items: center !important;
  height: 84px !important;
  min-height: 84px !important;
  gap: 22px !important;
}

.site-shell .nav-links {
  display: flex !important;
  gap: 30px !important;
  flex: 1 !important;
  align-items: center !important;
  min-width: 0;
}

.site-shell .nav-links a {
  font-family: var(--sans) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #314055 !important;
  letter-spacing: .01em !important;
  white-space: nowrap !important;
  padding: 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
}

.site-shell .nav-links a:hover {
  color: var(--teal) !important;
  text-decoration: underline !important;
}

.site-shell .nav .logo-img {
  height: 42px !important;
  width: auto !important;
  background: none !important;
}

/* Pin search pill + auth button (beat Bootstrap .btn / button resets on site-shell pages) */
.site-shell .nav-search,
.site-shell button.nav-search {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  width: 35px !important;
  height: 35px !important;
  min-height: 35px !important;
  max-height: 35px !important;
  padding: 0 8px !important;
  border: 1px solid var(--border) !important;
  border-radius: 21px !important;
  background: var(--card) !important;
  color: var(--muted-2) !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: normal !important;
  cursor: pointer !important;
  flex: none !important;
  box-sizing: border-box !important;
  box-shadow: 0 3px 9px rgba(22, 31, 43, .06), 0 1px 2px rgba(22, 31, 43, .04) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.site-shell .nav-search:hover,
.site-shell button.nav-search:hover {
  border-color: #cfd4dc !important;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, .06) !important;
}

.site-shell .nav-search .ico {
  width: 18px !important;
  height: 18px !important;
  color: #000 !important;
  flex: none !important;
}

.site-shell .nav-search .ns-text {
  flex: 1 !important;
  text-align: left !important;
  white-space: nowrap !important;
}

.site-shell .nav-search .ns-kbd {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: var(--ink-soft) !important;
  background: var(--page) !important;
  border: 1px solid var(--border) !important;
  border-radius: 6px !important;
  min-width: 22px !important;
  height: 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.site-shell .btn.nav-login,
.site-shell a.nav-login,
.site-shell .nav-login {
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  gap: 8px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: normal !important;
  background: var(--card) !important;
  color: var(--ink) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 3px 9px rgba(22, 31, 43, .06), 0 1px 2px rgba(22, 31, 43, .04) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: none !important;
  min-width: 0 !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

.site-shell .btn.nav-login:hover,
.site-shell a.nav-login:hover,
.site-shell .nav-login:hover {
  border-color: #cfd4dc !important;
  color: var(--ink) !important;
  background: var(--card) !important;
}

.site-shell .btn.nav-login .ico,
.site-shell a.nav-login .ico,
.site-shell .nav-login .ico {
  width: 15px !important;
  height: 15px !important;
  flex: none !important;
}

/* Site-shell footer polish (former style.css .page-home rules) */
.site-shell footer .foot-col:has(.tagwrap),
.site-shell #siteFooter .foot-col:has(.tagwrap) {
  display: none !important;
}

.site-shell .foot-grid,
.site-shell footer .foot-grid,
.site-shell #siteFooter .foot-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.7fr) minmax(140px, 1fr) minmax(140px, 1fr) !important;
  gap: 56px !important;
  align-items: start !important;
}

.site-shell .foot-brand > a {
  display: inline-block;
  line-height: 0;
}

.site-shell .foot-brand .logo-img {
  display: block !important;
  height: 42px !important;
  width: auto !important;
  max-width: none !important;
  background: none !important;
  object-fit: contain !important;
  margin-bottom: 16px !important;
}

.site-shell .foot-brand p {
  font-size: 13px !important;
  color: var(--muted) !important;
  line-height: 1.65 !important;
  max-width: 420px !important;
  margin: 0 0 18px !important;
}

/* Site-shell footer chrome (match home.css .page-home footer) */
.site-shell .page {
  width: 100%;
  max-width: none;
}

.site-shell footer,
.site-shell #siteFooter {
  margin-top: 48px !important;
  background: #fff !important;
  border-top: 1px solid #e2e7ef !important;
  padding: 48px 0 28px !important;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .8) !important;
}

.site-shell footer .wrap,
.site-shell #siteFooter .wrap {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.site-shell .foot-col h5 {
  margin: 4px 0 18px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  color: #5e6879 !important;
}

.site-shell .foot-col ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-shell .foot-col li {
  margin-bottom: 12px !important;
  font-size: 14px !important;
  color: #475367 !important;
}

.site-shell .foot-col li a:hover {
  color: var(--teal) !important;
}

.site-shell .affiliate {
  margin-top: 32px !important;
  padding-top: 22px !important;
  border-top: 1px solid var(--border) !important;
  font-size: 12px !important;
  color: var(--muted-2) !important;
  line-height: 1.6 !important;
  text-align: center;
}

.site-shell .copyright {
  text-align: center !important;
  margin-top: 20px !important;
  padding-top: 0 !important;
  border-top: 0 !important;
  font-size: 12.5px !important;
  color: var(--muted-2) !important;
}

@media (max-width: 1000px) {
  .site-shell footer .foot-grid,
  .site-shell #siteFooter .foot-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }

  .site-shell footer .foot-brand,
  .site-shell #siteFooter .foot-brand {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 640px) {
  .site-shell footer,
  .site-shell #siteFooter {
    margin-top: 34px !important;
    padding: 34px 0 24px !important;
  }

  .site-shell footer .wrap,
  .site-shell #siteFooter .wrap {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .site-shell footer .foot-grid,
  .site-shell #siteFooter .foot-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 26px 18px !important;
  }

  .site-shell footer .foot-brand,
  .site-shell #siteFooter .foot-brand {
    grid-column: 1 / -1 !important;
  }

  .site-shell footer .foot-brand p,
  .site-shell #siteFooter .foot-brand p {
    max-width: none !important;
  }

  .site-shell footer .foot-col h5,
  .site-shell #siteFooter .foot-col h5 {
    margin-bottom: 12px !important;
  }

  .site-shell footer .foot-col li,
  .site-shell #siteFooter .foot-col li {
    margin-bottom: 10px !important;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 13.5px;
  border-radius: 11px;
  padding: 11px 18px;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background .15s, border-color .15s, transform .05s;
}

.btn:active {
  transform: translateY(1px);
}

.btn .ico {
  width: 16px;
  height: 16px;
}

.btn-teal {
  background: var(--teal);
  color: #fff;
}

.btn-teal:hover,
.btn-teal:focus,
.btn-teal:active,
a.btn-teal:visited {
  background: var(--teal-h);
  color: #fff;
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover,
.btn-navy:focus,
.btn-navy:active,
a.btn-navy:visited {
  background: var(--navy-h);
  color: #fff;
}

.btn-ghost {
  background: var(--card);
  color: var(--ink);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: #cfd4dc;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--card);
  cursor: pointer;
  flex: none;
  padding: 0 11px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink-soft);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

.nav.open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-gift-mobile {
  display: none;
}

/* =========================================================
   Shared footer
   ========================================================= */

.foot-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
  gap: 36px;
}

.foot-brand .logo-img {
  margin-bottom: 16px;
}

.foot-brand p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 340px;
  margin: 0 0 18px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--page);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.socials a:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.socials .ico {
  width: 15px;
  height: 15px;
}

.foot-col h5 {
  margin: 4px 0 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-col li {
  margin-bottom: 12px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.foot-col li a:hover {
  color: var(--teal);
}

/* =========================================================
   Shared search overlay (header-search-overlay.html: #cmdOverlay)
   ========================================================= */

.cmd-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(18, 26, 38, .44);
  backdrop-filter: blur(2px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 96px;
}

.cmd-overlay.open {
  display: flex;
}

.cmd-panel {
  width: 620px;
  max-width: calc(100vw - 32px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(18, 26, 38, .3);
  overflow: hidden;
}

.cmd-inputrow {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 16px;
  height: 60px;
  border-bottom: 1px solid var(--border);
}

.cmd-inputrow .ico {
  width: 21px;
  height: 21px;
  color: var(--muted-2);
  flex: none;
}

.cmd-inputrow input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 17px;
  color: var(--ink);
  min-width: 0;
  padding: 0;
}

.cmd-close {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--page);
  color: var(--muted-2);
  cursor: pointer;
}

.cmd-results {
  max-height: 54vh;
  overflow-y: auto;
  padding: 8px;
}

.cmd-group-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 12px 12px 6px;
}

.cmd-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 12px;
  border-radius: 11px;
  cursor: pointer;
}

.cmd-item .ci-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: #fff;
}

.cmd-item .ci-ico .ico {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

/* Search popup icon backgrounds (header-scripts.html: bg-blue, bg-teal, …) */
.bg-teal { background: var(--teal); }
.bg-blue { background: var(--blue); }
.bg-purple { background: var(--purple); }
.bg-orange { background: var(--orange); }
.bg-green { background: var(--green); }
.bg-sky { background: #2f9bd6; }
.bg-slate { background: #6b7280; }
.bg-indigo { background: #5b54d6; }

.cmd-item .ci-body {
  flex: 1;
  min-width: 0;
}

.cmd-item .ci-t {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.cmd-item .ci-s {
  font-size: 12px;
  color: var(--muted);
}

.cmd-item .ci-go {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted-2);
  opacity: 0;
}

.cmd-item.active {
  background: var(--page);
}

.cmd-item.active .ci-go {
  opacity: 1;
  color: var(--teal);
}

.cmd-empty {
  padding: 34px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
}

/* =========================================================
   Shared auth modal (header-auth-overlay.html)
   Moved to static/css/auth.css — login & register pages only.
   ========================================================= */

.btn.nav-login,
a.nav-login,
.nav-login {
  height: 40px;
  padding: 0 16px !important;
  border-radius: 999px;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 3px 9px rgba(22, 31, 43, .06), 0 1px 2px rgba(22, 31, 43, .04);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 0;
  white-space: nowrap;
}

.btn.nav-login .ico,
a.nav-login .ico,
.nav-login .ico {
  width: 15px;
  height: 15px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-logout .ico {
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1000px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .foot-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .nav > .wrap.nav-in {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-in {
    height: 60px;
    min-height: 60px;
    gap: 10px;
  }

  .nav .logo-img,
  .foot-brand .logo-img {
    height: 36px;
    width: auto;
  }

  .brand {
    flex: none;
    min-width: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-search {
    flex: 0 auto;
    width: auto;
    min-width: 0;
    max-width: none;
    height: 40px;
    padding: 0 10px;
    justify-content: center;
  }

  .nav-search .ns-kbd {
    display: none;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    display: none;
    flex: none;
    flex-direction: column;
    gap: 2px;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(18, 26, 38, .1);
    padding: 12px 16px 18px;
    z-index: 39;
    align-items: stretch;
  }

  .nav.open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 13px 12px;
    border-radius: 10px;
    font-size: 15px;
  }

  .nav-links a:active {
    background: var(--page);
  }

  .nav-gift-desktop {
    display: none;
  }

  .nav-gift-mobile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding: 14px;
    border-radius: 12px;
    background: var(--teal-soft);
    border: 1px solid rgba(79, 70, 229, .25);
    color: var(--teal-h);
    font-size: 15px;
    font-weight: 700;
  }

  /* Beat desktop .site-shell nav pin rules on mobile (search, facts, namedays, etc.) */
  .site-shell .nav > .wrap.nav-in {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .site-shell .nav-in {
    height: 60px !important;
    min-height: 60px !important;
    gap: 10px !important;
  }

  .site-shell .nav .logo-img {
    height: 36px !important;
  }

  .site-shell .nav-search {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 40px !important;
    padding: 0 10px !important;
    justify-content: center !important;
  }

  .site-shell .nav-links {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 60px !important;
    display: none !important;
    flex: none !important;
    flex-direction: column !important;
    gap: 2px !important;
    background: var(--card) !important;
    border-bottom: 1px solid var(--border) !important;
    box-shadow: 0 16px 32px rgba(18, 26, 38, .1) !important;
    padding: 12px 16px 18px !important;
    z-index: 39 !important;
    align-items: stretch !important;
  }

  .site-shell .nav.open .nav-links {
    display: flex !important;
  }

  .site-shell .nav-links a {
    padding: 13px 12px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    white-space: normal !important;
  }

  .site-shell .nav-links a:active {
    background: var(--page) !important;
  }

  footer,
  #siteFooter {
    margin-top: 34px;
    padding: 34px 0 24px;
  }

  footer .wrap,
  #siteFooter .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px 18px;
  }

  .foot-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .btn.nav-login .ns-text,
  a.nav-login .ns-text,
  .nav-login .login-text {
    display: none;
  }

  .btn.nav-login,
  a.nav-login,
  .nav-login {
    width: 42px !important;
    min-width: 42px;
    padding: 0 !important;
    border-radius: 50%;
  }

  .btn.nav-login .ico,
  a.nav-login .ico,
  .nav-login .ico {
    width: 18px;
    height: 18px;
    margin: 0;
  }
}

/* Log out lives in the mobile menu; desktop users log out from /dashboard */
.nav-links .nav-auth-menu {
  display: none;
}

@media (max-width: 980px) {
  .site-shell .nav-links .nav-auth-menu,
  .nav-links .nav-auth-menu {
    display: block;
  }
}

/* User manage pages: log out from My Dashboard — hide nav link (incl. mobile) */
body.page-manage-countdowns .nav-links .nav-auth-menu,
body.page-manage-polls .nav-links .nav-auth-menu,
body.page-my-private-quizzes .nav-links .nav-auth-menu,
body.page-private-quiz-manage .nav-links .nav-auth-menu,
body.page-create-private-trivia .nav-links .nav-auth-menu {
  display: none !important;
}


#texasBottom {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #d8dce3;
    font-family: Arial, Helvetica, sans-serif;
}

#texasBottom,
#texasBottom * {
    box-sizing: border-box;
}

#texasBottom .bottom-inner {
    width: 100%;
    max-width: 1250px;
    min-height: 100px;
    margin: 0 auto;
    padding: 0px;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto minmax(300px, 1fr);
    align-items: center;
    gap: 40px;
}


/* ==========================================
   LEFT LOGO
========================================== */

#texasBottom .bottom-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}

#texasBottom .bottom-logo {
    display: block;
    width: 310px;
    max-width: 100%;
    height: auto;
}


/* ==========================================
   CENTER MENU
========================================== */

#texasBottom .bottom-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;
    white-space: nowrap;
}

#texasBottom .bottom-menu a {
    color: #17264b;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s ease;
}

#texasBottom .bottom-menu a:hover {
    color: #c42127;
}


/* ==========================================
   RIGHT SIDE
========================================== */

#texasBottom .bottom-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
}


/* SOCIAL ICONS */

#texasBottom .bottom-socials {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

#texasBottom .bottom-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    text-decoration: none;
}

#texasBottom .bottom-socials img {
    display: block;
    width: 30px;
    height: 30px;
    max-width: none;
    object-fit: contain;
}


/* COPYRIGHT */

#texasBottom .bottom-copy {
    color: #425376;
    font-size: 14px;
    line-height: 1.4;
    text-align: right;
    white-space: nowrap;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1050px) {

    #texasBottom .bottom-inner {
        grid-template-columns: 1fr 1fr;
        gap: 26px 30px;
        padding: 25px 20px;
    }

    #texasBottom .bottom-brand {
        justify-content: flex-start;
    }

    #texasBottom .bottom-logo {
        width: 280px;
    }

    #texasBottom .bottom-menu {
        justify-content: flex-end;
        gap: 28px;
    }

    #texasBottom .bottom-right {
        grid-column: 1 / -1;
        align-items: center;
    }

    #texasBottom .bottom-socials {
        justify-content: center;
    }

    #texasBottom .bottom-copy {
        text-align: center;
    }
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 700px) {

    #texasBottom .bottom-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding: 28px 16px;
    }

    #texasBottom .bottom-brand {
        width: 100%;
        justify-content: center;
    }

    #texasBottom .bottom-logo {
        width: 270px;
    }

    #texasBottom .bottom-menu {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        white-space: normal;
        gap: 15px 28px;
    }

    #texasBottom .bottom-right {
        width: 100%;
        align-items: center;
        gap: 18px;
    }

    #texasBottom .bottom-socials {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    #texasBottom .bottom-copy {
        white-space: normal;
        text-align: center;
        font-size: 13px;
    }
}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 420px) {

    #texasBottom .bottom-inner {
        padding: 25px 12px;
    }

    #texasBottom .bottom-logo {
        width: 225px;
    }

    #texasBottom .bottom-menu {
        gap: 14px 20px;
    }

    #texasBottom .bottom-menu a {
        font-size: 14px;
    }

    #texasBottom .bottom-socials {
        gap: 17px;
    }

    #texasBottom .bottom-socials a,
    #texasBottom .bottom-socials img {
        width: 27px;
        height: 27px;
    }

    #texasBottom .bottom-copy {
        font-size: 12px;
    }
}


.ico {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

 .page {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  background: var(--page);
}

 .wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

 .nav {
  background: rgba(255, 255, 255, .93) !important;
  border-bottom: 1px solid rgba(223, 228, 236, .88) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 40 !important;
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .78) !important;
}

 .nav-in {
  display: flex !important;
  align-items: center !important;
  height: 64px !important;
  gap: 16px !important;
  min-height: 64px !important;
}

.brand {
  display: flex;
  margin: 0 10px 0 0px;
}
 

 .nav .logo-img {
  height: 42px;
}

 .nav-links {
  display: flex;
  gap: 30px !important;
  flex: 1;
  align-items: center;
}

 .nav-links a {
  font-family: var(--sans) !important;
  font-size: 15px !important;
  color: #314055 !important;
  font-weight: 700 !important;
  letter-spacing: .01em;
  white-space: nowrap;
}

 .nav-links a:hover {
  color: var(--teal) !important;
}

 .nav-search {
  width: 35px;
    height: 35px; 
    flex-shrink: 0; 
    border-radius: 50%;
    border: 1px solid #e1e6ed; 
    background: #fff; 
    display: flex;
    align-items: center;
    justify-content: center; 
    cursor: pointer; 
    box-shadow: 0 2px 8px rgba(0, 20, 55, .07);
}

 .nav-search:hover {
  border-color: #cfd4dc;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, .06);
}

 .nav-search .ico {
  width: 18px;
  height: 18px;
  color: #000;
  flex: none;
}

 .nav-search .ns-text {
  flex: 1;
  text-align: left;
  white-space: nowrap;
}

 .nav-search .ns-kbd {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--page);
  border: 1px solid var(--border);
  border-radius: 6px;
  min-width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.divider {
  display: block;
  width: 1px;
  height: 45px;
  background: #dce1e8;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}
.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
}
.social-icons img {
  max-width: 25px;
  max-height: 25px;
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}

 .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 800;
  font-size: 13px;
  border-radius: 18px;
  padding: 8px 15px;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background .15s, border-color .15s, transform .05s;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset;
}

 .btn:active {
  transform: translateY(1px);
}

 .btn .ico {
  width: 16px;
  height: 16px;
}

 .btn-teal {
  background: #a51d1b;
  color: #fff;
}

 .btn-teal:hover,
 .btn-teal:focus,
 .btn-teal:active,
 a.btn-teal:visited {
  background: #991512;
  color: #fff;
}

 .btn-navy {
  background: var(--navy);
  color: #fff;
}

 .btn-navy:hover,
 .btn-navy:focus,
 .btn-navy:active,
 a.btn-navy:visited {
  background: var(--navy-h);
  color: #fff;
}

 .btn-ghost {
  background: var(--card);
  color: var(--ink);
  border-color: var(--border);
}

 .btn-ghost:hover {
  border-color: #cfd4dc;
}

 .nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--card);
  cursor: pointer;
  flex: none;
  padding: 0 11px;
}

 .nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink-soft);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

 .nav.open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

 .nav.open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

 .nav.open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

 .nav-gift-mobile {
  display: none;
}

 .hero {
  padding: 0;
  padding-top: 10px;
}

 .hero-panel {
  background: white;
  border: 0;
  border-radius: 27px;
  padding: 50px 50px 43px;
}

 .hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 65px;
  align-items: center;
}

 .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
  color: #4F46E5;
  background: #fff;
  border: 1px solid #dce3e8;
  border-radius: 20px;
  padding: 7px 18px;
  box-shadow: 0 1px 1px rgba(18, 26, 38, .02);
}

 h1 {
  font-family: var(--serif);
  font-size: 45px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 19px 0 16px;
  color: #172233;
}

 h1 .accent {
  color: var(--teal);
}

 .lead {
  color: #4f5b6b;
  font-size: 14px;
  line-height: 1.42;
  max-width: 445px;
  margin: 0 0 26px;
  margin-bottom: 23px;
}

 .hero-search {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 425px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 22px !important;
  padding: 4px 5px 4px 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(18, 26, 38, .10);
  cursor: pointer;
  height: 50px;
  border-color: #dfe4eb;
}

 .hero-search .ico {
  width: 18px;
  height: 18px;
  color: var(--muted-2);
  flex: none;
}

 .hero-search input {
  border: none;
  outline: none;
  background: transparent;
  flex: 1;
  font-family: inherit;
  font-size: 11px;
  color: #9ca5b2;
  padding: 8px 9px;
  min-width: 0;
  cursor: pointer;
}

 .hero-search .btn {
  padding: 0 19px;
  cursor: pointer;
  height: 31px;
  border-radius: 17px;
  font-size: 10.5px;
}

 .hero-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

 .hero-ctas .btn {
  padding: 0 21px;
  font-size: 12px;
  height: 36px;
  border-radius: 20px;
}

 .do-card {
  background: var(--card);
  border-radius: 23px;
  padding: 25px 23px 19px;
  border-color: #dedee8;
}

 .do-card h3 {
  font-family: var(--sans);
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 17px;
}

 .do-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

 .do {
  background: #fbfbff;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 15px 13px 15px;
  border-color: #dfe1eb;
  box-shadow: 0 2px 5px rgba(19, 28, 41, .12);
}

 .do h4 {
  margin: 11px 0 4px;
  font-size: 13px;
  font-weight: 700;
}

 .do p {
  margin: 0;
  font-size: 10.2px;
  color: #7a8493;
  line-height: 1.35;
}

 .ibadge {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

 .ibadge .ico {
  width: 18px;
  height: 18px;
  stroke-width: 1.9;
}

 .bg-teal {
  background: var(--teal);
}

 .bg-blue {
  background: var(--blue);
}

 .bg-purple {
  background: var(--purple);
}

 .bg-orange {
  background: var(--orange);
}

 .bg-green {
  background: var(--green);
}

 .bg-sky {
  background: #2f9bd6;
}

 .bg-slate {
  background: #6b7280;
}

 .bg-indigo {
  background: #5b54d6;
}

 .bg-Crimson {
  background: #76b20b;
}

 section.blk {
  padding: 38px 0 0;
}

 .blk-head {
  margin-bottom: 19px;
}

 .blk-head .kicker {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #5a6676;
  margin-bottom: 9px;
}

 .blk-head h2 {
  font-family: var(--serif);
  margin: 0 0 6px;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -.55px;
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: 4px;
}

 .blk-head p {
  margin: 0;
  font-size: 13px;
  color: #677384;
}

 .cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
}

 .cat-grid+.cat-grid {
  margin-top: 18px;
}

 .cat {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 17px 15px 14px;
  transition: transform .15s, box-shadow .15s, border-color .15s, background .15s, color .15s;
  min-height: 143px;
  border-color: #e2e5eb;
  box-shadow: 0 4px 9px rgba(18, 26, 38, .09);
}

 .cat:hover {
  transform: none;
  box-shadow: 0 4px 9px rgba(18, 26, 38, .09);
  border-color: rgba(79, 70, 229, .26);
  background: var(--teal-soft);
}

 .cat:hover h4 {
  color: var(--teal-h);
}

 .cat:hover p {
  color: var(--ink-soft);
}

 .cat .ibadge {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  margin-bottom: 14px;
}

 .cat .ibadge .ico {
  width: 17px;
  height: 17px;
}

 .cat h4 {
  margin: 0 0 9px;
  font-size: 12.2px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}

 .cat p {
  margin: 0;
  font-size: 10.8px;
  color: #728092;
  line-height: 1.28;
}

 .duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 27px;
}

 .pcard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 13px 14px 19px;
  box-shadow: 0 3px 7px rgba(18, 26, 38, .10);
  border-color: #d8dee7;
  min-height: 382px;
}

 .pcard-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 11px;
  border-bottom: 2px solid #c8d0db;
  margin-bottom: 6px;
}

 .pcard-head .ibadge {
  width: 25px;
  height: 25px;
  border-radius: 8px;
  color: #76a9d6;
  background: #e9f4ff;
}

 .pcard-head h3 {
  font-family: var(--serif);
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

 .pcard-head p {
  margin: 2px 0 0;
  font-size: 11px;
  color: #667285;
  font-weight: 600;
}

 .hist {
  display: flex;
  gap: 22px;
  padding: 11px 0;
  border-bottom: 2px solid #c8d0db;
}

 .hist:last-of-type {
  border-bottom: none;
}

 .hist .yr {
  font-weight: 800;
  font-size: 12px;
  color: #263244;
  min-width: 38px;
  flex: none;
}

 .hist .ev {
  font-size: 11.4px;
  color: #4a5566;
  line-height: 1.35;
}

 .hist .ev b {
  color: var(--ink);
  font-weight: 700;
}

 a.hist {
  text-decoration: none;
  color: inherit;
}

 a.hist:hover .ev b {
  color: var(--teal);
}

 .hist-empty {
  margin: 0;
  padding: 15px 0;
  font-size: 13.5px;
  color: var(--muted);
}

 .card-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 17px;
  font-size: 11.2px;
  font-weight: 700;
  color: #253044;
}

 .card-link .ico {
  width: 15px;
  height: 15px;
}

 .q-tag {
  font-size: 9.7px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #596373;
  margin: 3px 0 7px;
}

 .q-text {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.2;
  margin-bottom: 13px;
}

 .q-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

 .q-opt {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 10.8px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background .15s, border-color .15s, color .15s, transform .05s;
  height: 35px;
  border-color: #d9dee6;
}

 .q-opt:hover {
  border-color: rgba(79, 70, 229, .28);
  background: var(--teal-soft);
  color: var(--teal-h);
}

 .q-opt:active {
  transform: translateY(1px);
}

 .q-opt .key {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #edf1f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  flex: none;
}

 .q-opt.correct {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--teal-h);
}

 .q-opt.correct .key {
  background: var(--teal);
  color: #fff;
}

 .poll-title {
  font-size: 12.5px;
  font-weight: 700;
  margin: 19px 0 11px;
  color: var(--ink);
}

 .poll-row {
  display: block;
  margin-bottom: 11px;
  border-radius: 10px;
  padding: 2px 0;
  transition: background .15s;
}

 .poll-row:hover {
  background: rgba(79, 70, 229, .06);
}

 .poll-top {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

 .poll-bar {
  height: 7px;
  border-radius: 6px;
  background: #d8d8d8;
  overflow: hidden;
}

 .poll-bar i {
  display: block;
  height: 100%;
  border-radius: 6px;
}

 .home-poll-widget {
  margin-top: 4px;
}

 .home-poll-loading,
 .home-poll-empty {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 8px 0 0;
}

 .home-poll-options {
  border: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

 .home-poll-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

 .home-poll-option:hover {
  border-color: rgba(79, 70, 229, .35);
  background: rgba(79, 70, 229, .04);
}

 .home-poll-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

 .home-poll-option .key {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--page);
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

 .home-poll-option:has(input:checked) {
  border-color: var(--purple);
  background: rgba(79, 70, 229, .08);
}

 .home-poll-option:has(input:checked) .key {
  background: var(--purple);
  color: #fff;
}

 .home-poll-option-text {
  flex: 1;
  line-height: 1.4;
}

 .home-poll-captcha-wrap {
  margin: 18px 0 14px;
  min-height: 78px;
}

 .home-poll-captcha-wrap .g-recaptcha {
  transform-origin: 0 0;
}

 .home-poll-captcha-missing,
 .home-poll-message--error,
 .home-poll-load-error {
  color: #b42318;
}

 .home-poll-captcha-missing {
  font-size: 13px;
  margin: 0;
  font-weight: 600;
}

 .home-poll-vote-btn {
  margin-top: 18px;
}

 .home-poll-message {
  font-size: 13px;
  margin: 10px 0 0;
}

 .home-poll-message--error {
  font-weight: 600;
}

 .home-poll-notice {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

 .home-poll-notice p {
  margin: 0 0 10px;
}

 .home-poll-result.is-voted .poll-top span:first-child {
  color: var(--ink);
}

 .post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

 .post {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .15s, box-shadow .15s;
  border-color: #d9dee6;
  box-shadow: 0 3px 6px rgba(18, 26, 38, .08);
}

 .post:hover {
  transform: none;
  box-shadow: 0 3px 6px rgba(18, 26, 38, .08);
}

 .post .pthumb {
  height: 122px;
  background: #dfe3ea;
  background-size: cover;
  background-position: center;
  border-bottom: 0;
}

 .post .pbody {
  padding: 10px 14px 16px;
}

 .post h4 {
  font-family: var(--serif);
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 11px;
  letter-spacing: -.25px;
}

 .post p {
  margin: 0 0 18px;
  font-size: 11.5px;
  color: #5f6b7c;
  line-height: 1.32;
  margin-bottom: 12px;
}

 .post .btn {
  padding: 0 13px;
  font-size: 10.5px;
  height: 31px;
  border-radius: 16px;
}

 .posts-foot {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

 .posts-foot .btn {
  padding: 0 30px;
  height: 36px;
  border-radius: 19px;
  font-size: 12px;
}

 .post-carousel {
  overflow: hidden;
}

 .post-carousel .post-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

 .post-carousel .post-grid::-webkit-scrollbar {
  display: none;
}

 .post-carousel .post {
  flex: 0 0 calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  scroll-snap-align: start;
}

 .posts-controls {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
}

@media (max-width: 640px) {
   .posts-controls {
    display: flex;
  }
}

 .posts-dots {
  display: flex;
  gap: 8px;
}

 .posts-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
}

 .posts-dot.active {
  background: var(--teal);
}

 .posts-nav {
  display: flex;
  gap: 10px;
}

 .posts-nav button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(20, 28, 40, .08);
}

 .posts-nav button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

 .posts-nav #lpNext {
  background: #4F46E5;
  border-color: #4F46E5;
  color: #fff;
}

 .posts-nav #lpNext:hover:not(:disabled) {
  background: var(--teal-h, #4338ca);
  border-color: var(--teal-h, #4338ca);
}

 .posts-nav button .ico {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

 .posts-empty {
  margin: 0;
  color: var(--muted);
  text-align: center;
  padding: 24px 0;
}

 .ad {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--ad-bg);
  border: 1px dashed var(--ad-border);
  border-radius: 16px;
  padding: 22px 26px;
}

 .ad .gtag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted-2);
  width: 80px;
  flex: none;
}

 .ad .thumb {
  width: 48px;
  height: 40px;
  border-radius: 9px;
  border: 1px solid var(--ad-border);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

 .ad .thumb .ico {
  width: 20px;
  height: 20px;
  color: var(--muted-2);
}

 .ad .copy {
  flex: 1;
}

 .ad .copy strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
}

 .ad .copy span {
  font-size: 12.5px;
  color: var(--muted);
}

 .ad .size {
  font-size: 12.5px;
  color: var(--muted-2);
  flex: none;
}

 footer {
  margin-top: 48px !important;
  background: #fff !important;
  border-top: 1px solid #e2e7ef !important;
  padding: 48px 0 28px !important;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .8) !important;
}

 .foot-grid {
  display: grid !important;
  grid-template-columns: 1.7fr 1fr 1fr 1.3fr !important;
  gap: 56px !important;
  align-items: start !important;
}

 .foot-brand .brand {
  margin-bottom: 22px !important;
  display: inline-flex;
}

 .foot-brand .brand .logo {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 16px;
}

 .foot-brand p {
  font-size: 13px !important;
  color: var(--muted) !important;
  line-height: 1.65 !important;
  max-width: 340px !important;
  margin: 0 0 18px !important;
}

 .socials {
  display: flex !important;
  gap: 10px !important;
  margin-top: 16px !important;
}

 .socials a {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: #f8fafc !important;
  border: 1px solid var(--border) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--muted) !important;
  transition: color .15s, border-color .15s, background .15s, transform .15s !important;
  box-shadow: 0 3px 9px rgba(22, 31, 43, .06), 0 1px 2px rgba(22, 31, 43, .04) !important;
}

 .socials a:hover {
  color: var(--teal) !important;
  border-color: var(--teal) !important;
  background: var(--teal-soft) !important;
  transform: translateY(-2px);
}

 .socials .ico {
  width: 15px !important;
  height: 15px !important;
}

 .foot-col h5 {
  margin: 4px 0 18px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  color: #5e6879 !important;
}

 .foot-col ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

 .foot-col li {
  margin-bottom: 12px !important;
  font-size: 14px !important;
  color: #475367 !important;
}

 .foot-col li a:hover {
  color: var(--teal) !important;
}

 .copyright {
  text-align: center !important;
  margin-top: 20px !important;
  padding-top: 0 !important;
  border-top: 0 !important;
  font-size: 12.5px !important;
  color: var(--muted-2) !important;
}

 .cmd-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(18, 26, 38, .44);
  backdrop-filter: blur(2px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 96px;
}

 .cmd-overlay.open {
  display: flex;
}

 .cmd-panel {
  width: 620px;
  max-width: calc(100vw - 32px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(18, 26, 38, .3);
  overflow: hidden;
  animation: cmdIn .14s ease-out;
}

@keyframes cmdIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(.99);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

 .cmd-inputrow {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 16px;
  height: 60px;
  border-bottom: 1px solid var(--border);
}

 .cmd-inputrow .ico {
  width: 21px;
  height: 21px;
  color: var(--muted-2);
  flex: none;
}

 .cmd-inputrow input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 17px;
  color: var(--ink);
  min-width: 0;
}

 .cmd-inputrow input::placeholder {
  color: var(--muted-2);
}

 .cmd-close {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--page);
  color: var(--muted-2);
  cursor: pointer;
}

 .cmd-close:hover {
  color: var(--ink);
  background: var(--border-2);
}

 .cmd-close .ico {
  width: 14px;
  height: 14px;
}

 .cmd-results {
  max-height: 54vh;
  overflow-y: auto;
  padding: 8px;
}

 .cmd-group-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 12px 12px 6px;
}

 .cmd-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 12px;
  border-radius: 11px;
  cursor: pointer;
}

 .cmd-item .ci-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: #fff;
}

 .cmd-item .ci-ico .ico {
  width: 18px;
  height: 18px;
}

 .cmd-item .ci-body {
  flex: 1;
  min-width: 0;
}

 .cmd-item .ci-t {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

 .cmd-item .ci-s {
  font-size: 12px;
  color: var(--muted);
}

 .cmd-item .ci-go {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted-2);
  opacity: 0;
}

 .cmd-item.active {
  background: var(--page);
}

 .cmd-item.active .ci-go {
  opacity: 1;
  color: var(--teal);
}

 .cmd-empty {
  padding: 34px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
}

 .cmd-foot {
  display: flex;
  justify-content: space-between;
  padding: 11px 16px;
  border-top: 1px solid var(--border);
  background: var(--page);
  font-size: 11.5px;
  color: var(--muted);
}

 .kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 5px;
  margin: 0 1px;
}

@media (max-width:1040px) {
   .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

   .lead,
   .hero-search {
    max-width: none;
  }

   .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

   .duo {
    grid-template-columns: 1fr;
  }

   .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }

   .post-carousel .post {
    flex: 0 0 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }

   .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

   .wrap:not(.nav-in) {
    max-width: 900px;
    padding: 0;
  }

   .hero .wrap {
    max-width: 980px;
    padding: 0 28px;
  }

   .wrap:not(.nav-in),
   .hero .wrap {
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width:640px) {
   .wrap {
    padding: 0 16px;
  }

   .nav-in {
    height: 60px !important;
    gap: 10px !important;
    min-height: 60px !important;
  }

   .brand {
    font-size: 20px;
    flex: none;
    min-width: 0;
  }

   .nav-links {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 60px !important;
    display: none !important;
    flex-direction: column !important;
    gap: 2px !important;
    background: var(--card) !important;
    border-bottom: 1px solid var(--border) !important;
    box-shadow: 0 16px 32px rgba(18, 26, 38, .1) !important;
    padding: 12px 16px 18px !important;
    z-index: 39 !important;
    flex: none !important;
    align-items: stretch !important;
  }

   .nav.open .nav-links {
    display: flex !important;
  }

   .nav-links a {
    padding: 13px 12px;
    border-radius: 10px;
    font-size: 15px;
  }

   .nav-links a:active {
    background: var(--page);
  }

   .nav-gift-desktop {
    display: none !important;
  }

   .nav-gift-mobile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding: 14px 14px;
    border-radius: 12px;
    background: var(--teal-soft);
    border: 1px solid rgba(79, 70, 229, .25);
    color: var(--teal-h);
    font-size: 15px;
    font-weight: 700;
  }

   .nav-gift-mobile .lead-ico {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--teal);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
  }

   .nav-gift-mobile .lead-ico .ico {
    width: 18px;
    height: 18px;
  }

   .nav-gift-mobile .chev {
    margin-left: auto;
    color: var(--teal);
  }

   .nav-gift-mobile .chev .ico {
    width: 17px;
    height: 17px;
  }

   .nav-toggle {
    display: flex !important;
    flex: none !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 5px !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 11px !important;
    border: 1px solid var(--border) !important;
    border-radius: 11px !important;
    background: var(--card) !important;
  }

   .nav-search { 
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 40px !important;
    padding: 0 10px !important;
    justify-content: center;
  }

   .nav-search .ns-kbd {
    display: none;
  }

  .divider {
    display: none;
  }
  .social-icons {
    display: none;
  }

   .hero {
    padding: 18px 0 0;
  }

   .hero-panel {
    padding: 24px 14px 18px !important;
    border-radius: 20px;
    overflow: hidden !important;
  }

   h1 {
    font-size: 33px;
    margin: 16px 0 14px;
  }

   .lead {
    font-size: 15px;
    margin-bottom: 20px;
  }

   .hero-search {
   width:auto !important;
    padding: 5px 5px 5px 14px;
  }

   .hero-search input {
    font-size: 13px;
    padding: 9px;
  }

   .hero-search .btn {
    padding: 11px 16px;
  }

   .hero-ctas .btn {
    flex: 1;
  }

   .do-card {
    padding: 18px 14px !important;
    border-radius: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

   .do-card h3 {
    font-size: 18px;
  }

   .do {
    padding: 14px 10px !important;
    min-width: 0 !important;
  }

   section.blk {
    padding: 36px 0 0;
  }

   .blk-head h2 {
    font-size: 25px;
  }

   .blk-head p {
    font-size: 13.5px;
  }

   .cat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 13px;
  }

   .cat-grid+.cat-grid {
    margin-top: 13px;
  }

   .cat {
    padding: 18px 16px;
    border-radius: 15px;
  }

   .cat .ibadge {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
  }

   .cat h4 {
    font-size: 14.5px;
  }

   .duo {
    gap: 18px;
  }

   .pcard {
    padding: 22px 20px;
    border-radius: 16px;
    min-height: 0;
  }

   .pcard-head h3 {
    font-size: 19px;
  }

   .q-text {
    font-size: 15.5px;
  }

   .q-opts {
    grid-template-columns: 1fr;
  }

   .post-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

   .post-carousel .post {
    flex: 0 0 100%;
    max-width: 100%;
  }

   .post .pthumb {
    height: 200px;
  }

   .post h4 {
    font-size: 18px;
  }

   .ad {
    flex-wrap: wrap;
    gap: 12px 16px;
    padding: 18px;
  }

   .ad .gtag {
    width: auto;
  }

   .ad .copy {
    flex-basis: 100%;
    order: 3;
  }

   .ad .size {
    flex-basis: 100%;
    order: 4;
  }

   footer {
    margin-top: 34px !important;
    padding: 34px 0 24px !important;
  }

   .foot-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

   .foot-brand p {
    max-width: none !important;
  }

   .cmd-overlay {
    padding-top: 54px;
  }

   .cmd-panel {
    max-width: calc(100vw - 24px);
  }

   .cmd-inputrow {
    height: 54px;
  }

   .cmd-inputrow input {
    font-size: 16px;
  }

   .cmd-results {
    max-height: 62vh;
  }

   .cmd-foot {
    display: none;
  }

   .wrap:not(.nav-in),
   .hero .wrap {
    max-width: none !important;
    padding: 0 16px;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

   .nav {
    position: sticky;
    background: #fff;
  }

   .footer-logo-mark {
    font-size: 20px;
  }

   .hero-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    align-items: stretch !important;
  }

   .hero-grid>* {
    min-width: 0 !important;
    width: 100% !important;
  }

   .do-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

   .do h4 {
    font-size: 12px !important;
    line-height: 1.2 !important;
  }

   .do p {
    font-size: 10px !important;
    line-height: 1.35 !important;
  }

   .nav>.wrap.nav-in {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

   .nav .logo-img,
   .foot-brand .logo-img {
    height: 36px !important;
    width: auto !important;
  }

   .nav-toggle span {
    display: block !important;
    height: 2px !important;
    width: 100% !important;
    background: var(--ink-soft) !important;
    border-radius: 2px !important;
  }

   footer .foot-grid,
   .page footer .foot-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 26px 18px !important;
  }

   footer .foot-brand,
   .page footer .foot-brand {
    grid-column: 1 / -1 !important;
  }

   footer .foot-col h5,
   .page footer .foot-col h5 {
    margin-bottom: 12px !important;
  }

   footer .foot-col li,
   .page footer .foot-col li {
    margin-bottom: 10px !important;
  }

   footer .wrap,
   .page footer .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width:380px) {
   .do-grid {
    grid-template-columns: 1fr !important;
  }

   h1 {
    font-size: 29px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .page-home,
   * {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }

   .do-grid .do,
   .do-grid .do::after {
    transition: none !important;
  }
}

 .wrap:not(.nav-in) {
  max-width: 900px;
  padding: 0;
  margin: 0 auto;
}

 .hero .wrap {
  max-width: 980px;
}

 .do-grid .do {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

 .do-grid .do::after {
  content: "→";
  position: absolute;
  right: 14px;
  top: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  color: var(--teal-h);
  background: var(--teal-soft);
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity .18s ease, transform .18s ease;
}

 .do-grid .do:hover,
 .do-grid .do:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(79, 70, 229, .36) !important;
  background: #fff !important;
  box-shadow: 0 14px 28px rgba(22, 31, 43, .16), 0 3px 8px rgba(22, 31, 43, .08) !important;
  outline: none;
}

 .do-grid .do:hover::after,
 .do-grid .do:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

 .do-grid .do:hover h4,
 .do-grid .do:focus-visible h4 {
  color: var(--teal-h);
}

 .do-grid .do:active {
  transform: translateY(-1px);
}

 .pcard-head .ibadge .ico {
  width: 14px;
  height: 14px;
}

 .footer-logo-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3f6df6;
  font-weight: 800;
  font-size: 21px;
  margin-bottom: 16px;
}

 .footer-o {
  width: 27px;
  height: 27px;
  border-radius: 9px;
  background: #5c5af7;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}

 .wrap:not(.nav-in),
 .hero .wrap {
  max-width: 1220px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  width: 100%;
  margin: 0 auto !important;
}

 .foot-brand>.logo-img {
  display: block;
  margin-bottom: 22px !important;
}

 .home-main {
  width: 100%;
}

 .foot-brand .logo-img {
  display: block !important;
  margin-bottom: 16px !important;
}

 .tagwrap {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

 .tag {
  font-size: 12.5px !important;
  color: var(--ink-soft) !important;
  background: #f8fafc !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  padding: 7px 11px !important;
  box-shadow: 0 3px 9px rgba(22, 31, 43, .06), 0 1px 2px rgba(22, 31, 43, .04) !important;
}

 .tag:hover {
  border-color: var(--teal) !important;
  color: var(--teal) !important;
}

 .affiliate {
  margin-top: 32px !important;
  padding-top: 22px !important;
  border-top: 1px solid var(--border) !important;
  font-size: 12px !important;
  color: var(--muted-2) !important;
  line-height: 1.6 !important;
  text-align: center;
}

@media (max-width:1000px) {
   .foot-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }

   footer .foot-grid,
   .page footer .foot-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }

   footer .foot-brand,
   .page footer .foot-brand {
    grid-column: 1 / -1 !important;
  }
}

 .nav>.wrap.nav-in {
  width: 100%;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

 .nav-gift-desktop {
  background: #4F46E5 !important;
  color: #fff !important;
  height: 42px;
  padding: 0 18px;
}

 .nav .logo-img,
 .foot-brand .logo-img {
  height: 42px !important;
  width: auto !important;
  background: none !important;
}

 footer .foot-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.7fr) minmax(140px, 1fr) minmax(140px, 1fr) !important;
  gap: 56px !important;
  align-items: start !important;
}

 footer .foot-col:has(.tagwrap) {
  display: none !important;
}

 footer .foot-brand p,
 .page footer .foot-brand p {
  max-width: 420px !important;
}

 footer,
 .page footer {
  margin-top: 48px !important;
  background: #fff !important;
  border-top: 1px solid #e2e7ef !important;
  padding: 48px 0 28px !important;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .8) !important;
}

 footer .wrap,
 .page footer .wrap {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

 .foot-brand>a,
 .page .foot-brand>a {
  display: inline-block;
  line-height: 0;
}

 .foot-brand .logo-img,
 .page .foot-brand .logo-img {
  display: block !important;
  height: 42px !important;
  width: auto !important;
  max-width: none !important;
  background: none !important;
  object-fit: contain !important;
  margin-bottom: 16px !important;
}





/* =========================================================
   HERO
========================================================= */

.ed-intro {
    width: 100%;
    padding: 55px 30px 45px;
    background: #ffffff;
}

.ed-intro .wrap {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(500px, .92fr);
    gap: 70px;

    align-items: center;
}


/* =========================================================
   LEFT SIDE
========================================================= */

.hero-left {
    min-width: 0;
}
.ed-kicker {
    display: block;
    margin-top: 10px;
    margin-bottom: 0px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 1px;
    color: #3e38ff;
}


/* Heading */

.hero-left h1 {
    margin: 0;
    padding: 0;

    font-size: 72px;
    line-height: 1;
    letter-spacing: -3px;

    font-weight: 800;

    color: #071b3b;
}

 

/* Description */

.lead {
    margin: 45px 0 27px;

    max-width: 670px;

    font-size: 20px;
    line-height: 1.55;
    font-weight: 400;

    color: #637188;
}


/* =========================================================
   SEARCH
========================================================= */

.hero-search {
    width: 100%;
    max-width: 680px;
}

.hero-search-box {
    width: 100%;
    height: 58px;

    display: flex;
    align-items: center;

    padding: 5px 6px 5px 18px;

    background: #ffffff;

    border: 1px solid #dce1e6;
    border-radius: 20px;

    box-shadow: 0 5px 18px rgba(17, 37, 68, .10);
}

.search-icon {
    width: 25px;
    height: 25px;

    flex: 0 0 auto;

    fill: none;
    stroke: #435978;

    stroke-width: 2;
    stroke-linecap: round;
}

.hero-search-box input {
    width: 100%;
    min-width: 0;
    height: 100%;

    padding: 0 18px;

    border: 0;
    outline: 0;

    background: transparent;

    font-family: inherit;
    font-size: 17px;

    color: #172a48;
}

.hero-search-box input::placeholder {
    color: #7c8ba5;
}

.hero-search-box button {
    width: 135px;
    height: 44px;

    flex: 0 0 135px;

    border: 0;
    border-radius: 30px;


    background: linear-gradient(
        135deg,
        #aa0710,
        #dc252a
    );

    color: #ffffff;

    font-size: 16px;
    font-family: inherit;

    cursor: pointer;
}


/* =========================================================
   RIGHT SIDE
========================================================= */

.home-feature-panel {  
    padding: 12px; 
    background: #f3f6f7; 
    border: 1px solid #d0d8dd;
    border-radius: 10px;
}

.home-feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;
}


/* =========================================================
   CARD
========================================================= */

.home-feature-card {
    min-height: 140px;

    padding: 19px 8px 14px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    text-align: center;
    text-decoration: none;

    background: #ffffff;

    border: 1px solid #edf0f2;
    border-radius: 11px;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.home-feature-card:hover {
    transform: translateY(-3px);

    border-color: #dce1e5;

    box-shadow:
        0 8px 20px
        rgba(0, 29, 67, .09);
}


/* =========================================================
   ICON
========================================================= */

.home-feature-icon {
    height: 58px;

    margin-bottom: 5px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.home-feature-icon svg {
    width: 48px;
    height: 48px;

    fill: none;

    stroke: currentColor;
    stroke-width: 3.2;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   CARD TEXT
========================================================= */

.home-feature-card h3 {
    margin: 3px 0 8px;
    padding: 0;

    font-size: 19px;
    line-height: 1.1;

    font-weight: 700;

    color: #001438;
}

.home-feature-card p {
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #61708c;
}


/* =========================================================
   COLORS
========================================================= */

.feature-facts .home-feature-icon {
    color: #0869d7;
}

.feature-history .home-feature-icon {
    color: #b41318;
}

.feature-geography .home-feature-icon {
    color: #087930;
}

.feature-shopping .home-feature-icon {
    color: #d47b00;
}

.feature-events .home-feature-icon {
    color: #631cc5;
}

.feature-news .home-feature-icon {
    color: #59677b;
}


/* =========================================================
   SMALL DESKTOP
========================================================= */

@media (max-width: 1200px) {

    .ed-intro .wrap {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(450px, .9fr);

        gap: 40px;
    }

    .hero-left h1 {
        font-size: 62px;
    }

    .lead {
        font-size: 18px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .ed-intro {
        padding: 45px 25px;
    }

    .ed-intro .wrap {
        display: block;
        max-width: 800px;
    }

    .hero-left h1 {
        font-size: 64px;
    }

    .home-feature-panel {
        margin-top: 40px;
    }

    .hero-search {
        max-width: 100%;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .ed-intro {
        padding: 35px 15px;
    }

    .ed-kicker {
        margin-bottom: 17px;

        font-size: 11px;
        letter-spacing: .7px;
    }

    .hero-left h1 {
        font-size: clamp(43px, 12vw, 58px);

        line-height: 1.02;

        letter-spacing: -2px;
    }

    .underline-text:after {
        width: 135px;
        height: 4px;

        bottom: -10px;
    }

    .lead {
        margin-top: 35px;

        font-size: 17px;
        line-height: 1.5;
    }


    /* Search */

    .hero-search-box {
        height: 56px;

        padding-left: 14px;

        border-radius: 16px;
    }

    .search-icon {
        width: 21px;
        height: 21px;
    }

    .hero-search-box input {
        padding: 0 10px;

        font-size: 14px;
    }

    .hero-search-box button {
        width: 88px;
        height: 42px;

        flex-basis: 88px;

        font-size: 14px;
    }


    /* Right block */

    .home-feature-panel {
        margin-top: 30px;
        padding: 9px;
    }

    .home-feature-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;
    }

    .home-feature-card {
        min-height:auto; 
        padding: 16px 6px 12px;
    }

    .home-feature-icon {
        height: 50px;
    }

    .home-feature-icon svg {
        width: 42px;
        height: 42px;
    }

    .home-feature-card h3 {
        font-size: 17px;
    }

    .home-feature-card p {
        font-size: 13px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .hero-left h1 {
        font-size: 42px;
    }

    .home-feature-card {
        min-height: 150px;
    }

    .home-feature-card p {
        font-size: 12.5px;
    }
}

.texas-history-bar {
  width: 100%;
  background: #f4f7f9;
  padding: 7px 1%;
  margin: 0px 0 25px 0;
}

.texas-history-inner {
  max-width: 1220px;
  margin: 0 auto;
  min-height: 75px;

  display: flex;
  align-items: center;
}

/* DATE */
.history-date-wrap {
  padding-right: 25px;
  border-right: 2px solid #d4dce6;
}

.history-date {
  background: #fff;
  border: 1px solid #cfd3d7;
  border-radius: 10px;
  padding: 5px 18px; 
  font-size: 18px;
  font-weight: 500;
  color: #08285c;
  white-space: nowrap;
}

/* YEAR */
.history-year {
  display: flex;
  align-items: center;
  padding: 0 17px; 
  font-size: 18px;
  white-space: nowrap; 
  border-right: 2px solid #d4dce6;
}

.history-year strong {
  color: #c51f26;
  margin-left: 4px;
}

/* TEXAS ICON */
.history-icon {
  width: 112px;
  min-height: 75px; 
  display: flex;
  align-items: center;
  justify-content: center; 
  padding: 0 20px;
  border-right: 2px solid #d4dce6;
}

.history-icon img {
  width: 67px;
  height: auto;
  display: block;
}

/* DESCRIPTION */
.history-text {
  flex: 1;
  padding: 0 25px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 600;
  color: #050505;
}

/* BUTTON */
.history-action {
  flex-shrink: 0;
}

.history-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0 18px; 
  background: #fff;
  border: 1px solid #d1d5d8;
  border-radius: 10px; 
  color: #b32a24 !important;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: 0.2s ease;
}

.history-btn:hover {
  background: #fafafa;
}

.history-arrow {
  font-size: 29px;
  line-height: 1;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1100px) {

  .texas-history-bar {
    padding: 10px 20px;
  }

  .history-date {
    font-size: 20px;
    padding: 12px 15px;
  }

  .history-year {
    font-size: 19px;
  }

  .history-icon {
    width: 85px;
    padding: 0 12px;
  }

  .history-icon img {
    width: 55px;
  }

  .history-text {
    font-size: 18px;
    padding: 0 18px;
  }

  .history-btn {
    font-size: 17px;
    gap: 12px;
  }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

  .texas-history-bar {
    padding: 15px;
  }

  .texas-history-inner {
    display: grid;

    grid-template-columns:
      auto
      1fr
      auto;

    min-height: auto;

    background: #f4f7f9;
  }

  .history-date-wrap {
    padding-right: 12px;
    border-right: 1px solid #d4dce6;
  }

  .history-date {
    font-size: 16px;
    padding: 10px 12px;
    border-radius: 8px;
  }

  .history-year {
    min-height: auto;

    padding: 0 12px;

    font-size: 16px;

    border-right: 1px solid #d4dce6;
  }

  .history-icon {
    width: 55px;
    min-height: auto;

    padding: 0 8px;

    border-right: 0;
  }

  .history-icon img {
    width: 45px;
  }

  .history-text {
    grid-column: 1 / -1;

    padding: 15px 0 12px;

    font-size: 17px;
    line-height: 1.5;

    border-top: 1px solid #d4dce6;

    margin-top: 12px;
  }

  .history-action {
    grid-column: 1 / -1;
  }

  .history-btn {
    width:auto; 
    justify-content: space-between; 
    min-height: 52px; 
    font-size: 17px;
    border-radius: 8px;
  }
}


/* EXTRA SMALL */
@media (max-width: 430px) {

  .texas-history-bar {
    padding: 20px;
	width:auto;
	margin:0;
  }

  .history-date {
    font-size: 14px;
    padding: 9px 10px;
  }

  .history-year {
    font-size: 14px;
    padding: 0 9px;
  }

  .history-icon {
    width: 45px;
    padding: 0 4px;
  }

  .history-icon img {
    width: 38px;
  }

  .history-text {
    font-size: 16px;
  }
}




.texas-explore{
    width:100%;
    max-width:1220px;
    margin:0 auto;
    padding:18px 15px 25px;
}

/* =========================
   MAIN LAYOUT
========================= */

.explore-grid{
    display:grid;
    grid-template-columns:40% 60%;
    gap:18px;
    align-items:start;
}

/* =========================
   LEFT SECTION
========================= */

.explore-left h2{
    color:#061c42;
    font-size:31px;
    font-weight:800;
    text-transform:uppercase;
    margin:7px 0 12px;
    line-height:1.1;
}

.left-line{
    height:2px;
    background:#ececec;
    margin-bottom:10px;
}

.gift-image{
    width:100%;
    height:207px;
    object-fit:cover;
    border-radius:5px;
    border:1px solid #cfcfcf;
    display:block;
}

.gift-content{
    padding:21px 6px 0;
}

.gift-small-title{
    font-size:19px;
    font-weight:700;
    color:#ad2020;
    text-transform:uppercase;
    margin-bottom:10px;
}

.gift-title{
    color:#073c7c;
    font-size:32px;
    font-weight:800;
    line-height:1.05;
    text-transform:uppercase;
    margin-bottom:7px;
}

.gift-link{
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-size:19px;
    color:#111;
    text-decoration:none;
    text-transform:uppercase;
}

.arrow{
    font-size:28px;
    line-height:1;
    transition:.2s ease;
}

.gift-link:hover .arrow,
.card-link:hover .arrow{
    transform:translateX(4px);
}

/* =========================
   RIGHT CARDS
========================= */

.cards-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:18px 16px;
}

.feature-card{
    border:1px solid #d0d0d0;
    border-radius:10px;
    min-height:140px;
    padding:20px 13px;
    display:grid;
    grid-template-columns:100px 1fr;
    align-items:center;
    background:#fff;
}

/* ICON CIRCLE */

.icon-wrap{
    width:100px;
    height:100px;
    border:2px solid #d8d8d8;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
    background:#fff;
}

.icon-wrap:before{
    content:"";
    position:absolute;
    width:100px;
    height:100px;
    border:1px solid #ededed;
    border-radius:50%;
}

.icon-wrap svg{
    position:relative;
    z-index:2;
    width:70px;
    height:80px;
}

/* CARD CONTENT */

.card-content{
    padding-left:15px;
}

.card-title{
    color:#073c7c;
    font-size:23px;
    font-weight:800;
    line-height:1;
    text-transform:uppercase;
    padding-bottom:9px;
    margin-bottom:15px;
    border-bottom:2px solid #ededed;
}

.card-text{
    font-size:15.5px;
    line-height:1.13;
    margin-bottom:10px;
    max-width:260px;
}

.card-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    text-decoration:none;
    color:#111;
    text-transform:uppercase;
    font-size:15px;
    font-weight:500;
}

/* =========================
   COLORS
========================= */

.red-icon{
    color:#ae2020;
}

.blue-icon{
    color:#063d7d;
}

.green-icon{
    color:#45965d;
}

.orange-icon{
    color:#e39a2d;
}

/* =========================
   TABLET
========================= */

@media(max-width:1150px){

    .explore-grid{
        grid-template-columns:38% 62%;
    }

    .feature-card{
        grid-template-columns:105px 1fr;
        min-height:170px;
        padding:18px 12px;
    }

    .icon-wrap{
        width:95px;
        height:95px;
    }

    .icon-wrap:before{
        width:85px;
        height:85px;
    }

    .icon-wrap svg{
        width:50px;
        height:50px;
    }

    .card-title{
        font-size:25px;
    }

    .explore-left h2{
        font-size:26px;
    }

    .gift-title{
        font-size:27px;
    }
}

/* =========================
   SMALL TABLET
========================= */

@media(max-width:900px){

    .explore-grid{
        grid-template-columns:1fr;
    }

    .gift-image{
        height:320px;
    }

    .cards-grid{
        grid-template-columns:repeat(2, 1fr);
    }
}

/* =========================
   MOBILE
========================= */

@media(max-width:650px){

    .texas-explore{
	width:auto;
        padding:20px;
    }

    .explore-left h2{
        font-size:25px;
    }

    .gift-image{
        height:220px;
    }

    .gift-title{
        font-size:27px;
    }

    .gift-content{
        padding:18px 4px 5px;
    }

    .cards-grid{
        grid-template-columns:1fr;
        margin-top:10px;
    }

    .feature-card{
        grid-template-columns:100px 1fr;
        min-height:auto;
        padding:18px 12px;
    }

    .icon-wrap{
        width:88px;
        height:88px;
    }

    .icon-wrap:before{
        width:78px;
        height:78px;
    }

    .icon-wrap svg{
        width:47px;
        height:47px;
    }

    .card-content{
        padding-left:10px;
    }

    .card-title{
        font-size:23px;
        margin-bottom:10px;
    }

    .card-text{
        font-size:14px;
    }
}

/* =========================
   EXTRA SMALL
========================= */

@media(max-width:400px){

    .feature-card{
        grid-template-columns:85px 1fr;
    }

    .icon-wrap{
        width:75px;
        height:75px;
    }

    .icon-wrap:before{
        width:67px;
        height:67px;
    }

    .icon-wrap svg{
        width:40px;
        height:40px;
    }

    .card-title{
        font-size:20px;
    }

    .gift-title{
        font-size:24px;
    }
}




/* =========================
   POLL SECTION
========================= */

.texas-section {
    width: 100%;
    padding: 35px 0px;
    background: #f2f7fa;
}

.texas-inner {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 0;
}

/* =========================
   LEFT SIDE
========================= */

.poll-area {
    padding-right: 26px;
}

.poll-card {
    background: #ffffff;
    border: 1px solid #dbe2e8;
    border-radius: 7px;
    padding: 25px 23px 24px;
}

.poll-label {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #202b42;
    margin-bottom: 9px;
}

.poll-title {
    color: #06184c;
    font-size: 40px;
    line-height: 1;
    letter-spacing: -1.5px;
    font-weight: 700;
    max-width: 490px;
    margin-bottom: 17px;
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.poll-option {
    min-height: 46px;
    border: 1px solid #cbd4de;
    border-radius: 5px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: #fff;
    transition: 0.2s ease;
}

.poll-option:hover {
    background: #f8fafc;
    border-color: #aeb9c5;
}

.poll-option span {
    font-size: 19px;
    color: #0a0c11;
}

.poll-option input {
    display: none;
}

.custom-radio {
    width: 24px;
    height: 24px;
    border: 1.8px solid #111;
    border-radius: 50%;
    flex: 0 0 24px;
    position: relative;
	display:inline-block;
}

.poll-option input:checked + .custom-radio::after {
    content: "";
    width: 12px;
    height: 12px;
    background: #111;
    border-radius: 50%;
    position: absolute;
    left: 4px;
    top: 4px;
}

.vote-btn {
    width: 100%;
    min-height: 47px;
    border: none;
    border-radius: 5px;
    background: #111111;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    margin-top: 14px;
    cursor: pointer;
    transition: 0.2s ease;
}

.vote-btn:hover {
    background: #282828;
}

.previous-polls {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 16px;
    font-size: 16px;
    color: #080b10;
    text-decoration: none;
}

.previous-polls span {
    font-size: 23px;
    line-height: 1;
}

/* =========================
   RIGHT SIDE
========================= */

.explore-area {
    border-left: 2px solid #d8dadd;
    padding-left: 35px;
}

.explore-title {
    font-size: 34px;
    line-height: 1.1;
    color: #083b78;
    font-weight: 700;
    margin-bottom: 29px;
}

.post-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 18px;
    padding: 13px 3px 15px;
}

.post-item + .post-item {
    border-top: 2px solid #dadcde;
    padding-top: 15px;
}

.post-date {
    color: #d60021;
    font-size: 18px;
    line-height: 1.3;
    white-space: nowrap;
    padding-top: 3px;
}
.explore-area h3 { margin:0;}
.post-title {
    color: #080c13;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 500;
    margin-bottom: 12px;
}


.post-description {
    color: #090c11;
    font-size: 19px;
    line-height: 1.2;
    font-weight: 500;
    max-width: 700px;
	margin: 15px 0 10px 0;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1100px) {

    .texas-section {
	    width:auto;
        padding: 30px 20px;
    }

    .texas-inner {
        grid-template-columns: 43% 57%;
    }

    .poll-title {
        font-size: 33px;
    }

    .explore-title {
        font-size: 30px;
    }

    .post-item {
        grid-template-columns: 78px 1fr;
    }

    .post-title {
        font-size: 23px;
    }

    .post-description {
        font-size: 17px;
    }
}

/* =========================
   MOBILE / SMALL TABLET
========================= */

@media (max-width: 800px) {

    .texas-section {
        padding: 25px 15px;
    }

    .texas-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .poll-area {
        padding-right: 0;
    }

    .explore-area {
        border-left: none;
        border-top: 1px solid #d5dadd;
        padding-left: 0;
        padding-top: 30px;
    }

    .poll-title {
        font-size: 34px;
        max-width: 100%;
    }

    .explore-title {
        font-size: 30px;
        margin-bottom: 18px;
    }

    .post-item {
        grid-template-columns: 85px 1fr;
    }
}

/* =========================
   PHONE
========================= */

@media (max-width: 560px) {

    .texas-section {
        padding: 20px;
    }

    .poll-card {
        padding: 22px 17px;
    }

    .poll-label {
        font-size: 14px;
    }

    .poll-title {
        font-size: 30px;
        line-height: 1.05;
        letter-spacing: -1px;
    }

    .poll-option {
        min-height: 48px;
    }

    .poll-option span {
        font-size: 17px;
    }

    .explore-title {
        font-size: 27px;
    }

    .post-item {
        display: block;
        padding: 18px 0 22px;
    }

    .post-item + .post-item {
        padding-top: 22px;
    }

    .post-date {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .post-title {
        font-size: 21px;
        line-height: 1.25;
        margin-bottom: 9px;
    }

    .post-description {
        font-size: 16px;
        line-height: 1.4;
    }
}
