/* =========================================================
   home.css — 21/7/26 styles for templates/home.html only.
   Scoped under .page-home. Load with core.css (header/footer).

   NOTE (cleanup pass): the previous version of this file
   concatenated two originally-separate stylesheets — an
   "original scoped styles" block and a later "sitewide
   overrides" block — so nearly every .page-home selector was
   declared twice. Since both blocks had equal specificity,
   the second (override) block always won in the cascade, so
   the first block was 100% dead weight. This version merges
   each selector into a single rule, keeping only the winning
   (cascade-final) declarations, in the same effective order.
   Visual output is unchanged; file size and rule count are
   roughly 25% smaller and there is exactly one place to edit
   any given selector going forward.
   ========================================================= */

.page-home {
  --page: #f3f5f8;
  --card: #ffffff;
  --ink: #192333;
  --ink-soft: #303b4a;
  --muted: #657082;
  --muted-2: #a4adba;
  --border: #dfe4eb;
  --border-2: #d7dde6;
  --teal: #4F46E5;
  --teal-h: #4338CA;
  --teal-soft: #ECEAFB;
  --navy: #172333;
  --navy-h: #0e1620;
  --blue: #3567f6;
  --purple: #7b35f4;
  --orange: #f59a17;
  --green: #16a35b;
  --ad-bg: #f6f7f9;
  --ad-border: #d8dce3;
  --r: 16px;
  --r-sm: 12px;
  --serif: system-ui, "Georgia", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  background: linear-gradient(180deg, #f5f7fb 0%, #f1f4f8 44%, #eef2f7 100%) !important;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.42;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page-home,
.page-home * {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

.page-home a {
  color: inherit;
  text-decoration: none;
}

.page-home a.btn-teal,
.page-home a.btn-navy {
  color: #fff;
}

.page-home svg {
  display: block;
}

.page-home .serif {
  font-family: var(--serif);
}

.page-home .ico {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home .page {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  background: var(--page);
}

.page-home .wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.page-home .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;
}

.page-home .nav-in {
  display: flex !important;
  align-items: center !important;
  height: 84px !important;
  gap: 22px !important;
  min-height: 84px !important;
}

.page-home .brand {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: .2px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 9px;
}

.page-home .brand .dot {
  color: var(--teal);
}

.page-home .nav .logo-img {
  height: 42px;
}

.page-home .nav-links {
  display: flex;
  gap: 30px !important;
  flex: 1;
  align-items: center;
}

.page-home .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;
}

.page-home .nav-links a:hover {
  color: var(--teal) !important;
}

.page-home .nav-search {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 172px !important;
  height: 36px !important;
  padding: 0 8px 0 13px;
  border: 1px solid var(--border);
  border-radius: 21px;
  background: var(--card);
  color: var(--muted-2);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: border-color .15s;
  box-shadow: 0 3px 9px rgba(22, 31, 43, .06), 0 1px 2px rgba(22, 31, 43, .04) !important;
}

.page-home .nav-search:hover {
  border-color: #cfd4dc;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, .06);
}

.page-home .nav-search .ico {
  width: 16px;
  height: 16px;
  color: var(--muted-2);
  flex: none;
}

.page-home .nav-search .ns-text {
  flex: 1;
  text-align: left;
  white-space: nowrap;
}

.page-home .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;
}

.page-home .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;
}

.page-home .btn:active {
  transform: translateY(1px);
}

.page-home .btn .ico {
  width: 16px;
  height: 16px;
}

.page-home .btn-teal {
  background: var(--teal);
  color: #fff;
}

.page-home .btn-teal:hover,
.page-home .btn-teal:focus,
.page-home .btn-teal:active,
.page-home a.btn-teal:visited {
  background: var(--teal-h);
  color: #fff;
}

.page-home .btn-navy {
  background: var(--navy);
  color: #fff;
}

.page-home .btn-navy:hover,
.page-home .btn-navy:focus,
.page-home .btn-navy:active,
.page-home a.btn-navy:visited {
  background: var(--navy-h);
  color: #fff;
}

.page-home .btn-ghost {
  background: var(--card);
  color: var(--ink);
  border-color: var(--border);
}

.page-home .btn-ghost:hover {
  border-color: #cfd4dc;
}

.page-home .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;
}

.page-home .nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink-soft);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

.page-home .nav.open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.page-home .nav.open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.page-home .nav.open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.page-home .nav-gift-mobile {
  display: none;
}

.page-home .hero {
  padding: 0;
  padding-top: 10px;
}

.page-home .hero-panel {
  background: white;
  border: 0;
  border-radius: 27px;
  padding: 50px 50px 43px;
}

.page-home .hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 65px;
  align-items: center;
}

.page-home .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);
}

.page-home h1 {
  font-family: var(--serif);
  font-size: 45px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 19px 0 16px;
  color: #172233;
}

.page-home h1 .accent {
  color: var(--teal);
}

.page-home .lead {
  color: #4f5b6b;
  font-size: 14px;
  line-height: 1.42;
  max-width: 445px;
  margin: 0 0 26px;
  margin-bottom: 23px;
}

.page-home .hero-search {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 425px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 22px;
  padding: 4px 5px 4px 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(18, 26, 38, .10);
  cursor: pointer;
  height: 40px;
  border-color: #dfe4eb;
}

.page-home .hero-search .ico {
  width: 18px;
  height: 18px;
  color: var(--muted-2);
  flex: none;
}

.page-home .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;
}

.page-home .hero-search .btn {
  padding: 0 19px;
  cursor: pointer;
  height: 31px;
  border-radius: 17px;
  font-size: 10.5px;
}

.page-home .hero-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.page-home .hero-ctas .btn {
  padding: 0 21px;
  font-size: 12px;
  height: 36px;
  border-radius: 20px;
}

.page-home .do-card {
  background: var(--card);
  border-radius: 23px;
  padding: 25px 23px 19px;
  border-color: #dedee8;
}

.page-home .do-card h3 {
  font-family: var(--sans);
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 17px;
}

.page-home .do-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.page-home .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);
}

.page-home .do h4 {
  margin: 11px 0 4px;
  font-size: 13px;
  font-weight: 700;
}

.page-home .do p {
  margin: 0;
  font-size: 10.2px;
  color: #7a8493;
  line-height: 1.35;
}

.page-home .ibadge {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.page-home .ibadge .ico {
  width: 18px;
  height: 18px;
  stroke-width: 1.9;
}

.page-home .bg-teal {
  background: var(--teal);
}

.page-home .bg-blue {
  background: var(--blue);
}

.page-home .bg-purple {
  background: var(--purple);
}

.page-home .bg-orange {
  background: var(--orange);
}

.page-home .bg-green {
  background: var(--green);
}

.page-home .bg-sky {
  background: #2f9bd6;
}

.page-home .bg-slate {
  background: #6b7280;
}

.page-home .bg-indigo {
  background: #5b54d6;
}

.page-home .bg-Crimson {
  background: #76b20b;
}

.page-home section.blk {
  padding: 38px 0 0;
}

.page-home .blk-head {
  margin-bottom: 19px;
}

.page-home .blk-head .kicker {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #5a6676;
  margin-bottom: 9px;
}

.page-home .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;
}

.page-home .blk-head p {
  margin: 0;
  font-size: 13px;
  color: #677384;
}

.page-home .cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
}

.page-home .cat-grid+.cat-grid {
  margin-top: 18px;
}

.page-home .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);
}

.page-home .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);
}

.page-home .cat:hover h4 {
  color: var(--teal-h);
}

.page-home .cat:hover p {
  color: var(--ink-soft);
}

.page-home .cat .ibadge {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  margin-bottom: 14px;
}

.page-home .cat .ibadge .ico {
  width: 17px;
  height: 17px;
}

.page-home .cat h4 {
  margin: 0 0 9px;
  font-size: 12.2px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}

.page-home .cat p {
  margin: 0;
  font-size: 10.8px;
  color: #728092;
  line-height: 1.28;
}

.page-home .duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 27px;
}

.page-home .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;
}

.page-home .pcard-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 11px;
  border-bottom: 2px solid #c8d0db;
  margin-bottom: 6px;
}

.page-home .pcard-head .ibadge {
  width: 25px;
  height: 25px;
  border-radius: 8px;
  color: #76a9d6;
  background: #e9f4ff;
}

.page-home .pcard-head h3 {
  font-family: var(--serif);
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.page-home .pcard-head p {
  margin: 2px 0 0;
  font-size: 11px;
  color: #667285;
  font-weight: 600;
}

.page-home .hist {
  display: flex;
  gap: 22px;
  padding: 11px 0;
  border-bottom: 2px solid #c8d0db;
}

.page-home .hist:last-of-type {
  border-bottom: none;
}

.page-home .hist .yr {
  font-weight: 800;
  font-size: 12px;
  color: #263244;
  min-width: 38px;
  flex: none;
}

.page-home .hist .ev {
  font-size: 11.4px;
  color: #4a5566;
  line-height: 1.35;
}

.page-home .hist .ev b {
  color: var(--ink);
  font-weight: 700;
}

.page-home a.hist {
  text-decoration: none;
  color: inherit;
}

.page-home a.hist:hover .ev b {
  color: var(--teal);
}

.page-home .hist-empty {
  margin: 0;
  padding: 15px 0;
  font-size: 13.5px;
  color: var(--muted);
}

.page-home .card-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 17px;
  font-size: 11.2px;
  font-weight: 700;
  color: #253044;
}

.page-home .card-link .ico {
  width: 15px;
  height: 15px;
}

.page-home .q-tag {
  font-size: 9.7px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #596373;
  margin: 3px 0 7px;
}

.page-home .q-text {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.2;
  margin-bottom: 13px;
}

.page-home .q-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.page-home .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;
}

.page-home .q-opt:hover {
  border-color: rgba(79, 70, 229, .28);
  background: var(--teal-soft);
  color: var(--teal-h);
}

.page-home .q-opt:active {
  transform: translateY(1px);
}

.page-home .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;
}

.page-home .q-opt.correct {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--teal-h);
}

.page-home .q-opt.correct .key {
  background: var(--teal);
  color: #fff;
}

.page-home .poll-title {
  font-size: 12.5px;
  font-weight: 700;
  margin: 19px 0 11px;
  color: var(--ink);
}

.page-home .poll-row {
  display: block;
  margin-bottom: 11px;
  border-radius: 10px;
  padding: 2px 0;
  transition: background .15s;
}

.page-home .poll-row:hover {
  background: rgba(79, 70, 229, .06);
}

.page-home .poll-top {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.page-home .poll-bar {
  height: 7px;
  border-radius: 6px;
  background: #d8d8d8;
  overflow: hidden;
}

.page-home .poll-bar i {
  display: block;
  height: 100%;
  border-radius: 6px;
}

.page-home .home-poll-widget {
  margin-top: 4px;
}

.page-home .home-poll-loading,
.page-home .home-poll-empty {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 8px 0 0;
}

.page-home .home-poll-options {
  border: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .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);
}

.page-home .home-poll-option:hover {
  border-color: rgba(79, 70, 229, .35);
  background: rgba(79, 70, 229, .04);
}

.page-home .home-poll-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-home .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;
}

.page-home .home-poll-option:has(input:checked) {
  border-color: var(--purple);
  background: rgba(79, 70, 229, .08);
}

.page-home .home-poll-option:has(input:checked) .key {
  background: var(--purple);
  color: #fff;
}

.page-home .home-poll-option-text {
  flex: 1;
  line-height: 1.4;
}

.page-home .home-poll-captcha-wrap {
  margin: 18px 0 14px;
  min-height: 78px;
}

.page-home .home-poll-captcha-wrap .g-recaptcha {
  transform-origin: 0 0;
}

.page-home .home-poll-captcha-missing,
.page-home .home-poll-message--error,
.page-home .home-poll-load-error {
  color: #b42318;
}

.page-home .home-poll-captcha-missing {
  font-size: 13px;
  margin: 0;
  font-weight: 600;
}

.page-home .home-poll-vote-btn {
  margin-top: 18px;
}

.page-home .home-poll-message {
  font-size: 13px;
  margin: 10px 0 0;
}

.page-home .home-poll-message--error {
  font-weight: 600;
}

.page-home .home-poll-notice {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.page-home .home-poll-notice p {
  margin: 0 0 10px;
}

.page-home .home-poll-result.is-voted .poll-top span:first-child {
  color: var(--ink);
}

.page-home .post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.page-home .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);
}

.page-home .post:hover {
  transform: none;
  box-shadow: 0 3px 6px rgba(18, 26, 38, .08);
}

.page-home .post .pthumb {
  height: 122px;
  background: #dfe3ea;
  background-size: cover;
  background-position: center;
  border-bottom: 0;
}

.page-home .post .pbody {
  padding: 10px 14px 16px;
}

.page-home .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;
}

.page-home .post p {
  margin: 0 0 18px;
  font-size: 11.5px;
  color: #5f6b7c;
  line-height: 1.32;
  margin-bottom: 12px;
}

.page-home .post .btn {
  padding: 0 13px;
  font-size: 10.5px;
  height: 31px;
  border-radius: 16px;
}

.page-home .posts-foot {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.page-home .posts-foot .btn {
  padding: 0 30px;
  height: 36px;
  border-radius: 19px;
  font-size: 12px;
}

.page-home .post-carousel {
  overflow: hidden;
}

.page-home .post-carousel .post-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.page-home .post-carousel .post-grid::-webkit-scrollbar {
  display: none;
}

.page-home .post-carousel .post {
  flex: 0 0 calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  scroll-snap-align: start;
}

.page-home .posts-controls {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
}

@media (max-width: 640px) {
  .page-home .posts-controls {
    display: flex;
  }
}

.page-home .posts-dots {
  display: flex;
  gap: 8px;
}

.page-home .posts-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
}

.page-home .posts-dot.active {
  background: var(--teal);
}

.page-home .posts-nav {
  display: flex;
  gap: 10px;
}

.page-home .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);
}

.page-home .posts-nav button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.page-home .posts-nav #lpNext {
  background: #4F46E5;
  border-color: #4F46E5;
  color: #fff;
}

.page-home .posts-nav #lpNext:hover:not(:disabled) {
  background: var(--teal-h, #4338ca);
  border-color: var(--teal-h, #4338ca);
}

.page-home .posts-nav button .ico {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home .posts-empty {
  margin: 0;
  color: var(--muted);
  text-align: center;
  padding: 24px 0;
}

.page-home .ad {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--ad-bg);
  border: 1px dashed var(--ad-border);
  border-radius: 16px;
  padding: 22px 26px;
}

.page-home .ad .gtag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted-2);
  width: 80px;
  flex: none;
}

.page-home .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;
}

.page-home .ad .thumb .ico {
  width: 20px;
  height: 20px;
  color: var(--muted-2);
}

.page-home .ad .copy {
  flex: 1;
}

.page-home .ad .copy strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
}

.page-home .ad .copy span {
  font-size: 12.5px;
  color: var(--muted);
}

.page-home .ad .size {
  font-size: 12.5px;
  color: var(--muted-2);
  flex: none;
}

.page-home 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;
}

.page-home .foot-grid {
  display: grid !important;
  grid-template-columns: 1.7fr 1fr 1fr 1.3fr !important;
  gap: 56px !important;
  align-items: start !important;
}

.page-home .foot-brand .brand {
  margin-bottom: 22px !important;
  display: inline-flex;
}

.page-home .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;
}

.page-home .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;
}

.page-home .socials {
  display: flex !important;
  gap: 10px !important;
  margin-top: 16px !important;
}

.page-home .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;
}

.page-home .socials a:hover {
  color: var(--teal) !important;
  border-color: var(--teal) !important;
  background: var(--teal-soft) !important;
  transform: translateY(-2px);
}

.page-home .socials .ico {
  width: 15px !important;
  height: 15px !important;
}

.page-home .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;
}

.page-home .foot-col ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.page-home .foot-col li {
  margin-bottom: 12px !important;
  font-size: 14px !important;
  color: #475367 !important;
}

.page-home .foot-col li a:hover {
  color: var(--teal) !important;
}

.page-home .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;
}

.page-home .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;
}

.page-home .cmd-overlay.open {
  display: flex;
}

.page-home .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;
  }
}

.page-home .cmd-inputrow {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 16px;
  height: 60px;
  border-bottom: 1px solid var(--border);
}

.page-home .cmd-inputrow .ico {
  width: 21px;
  height: 21px;
  color: var(--muted-2);
  flex: none;
}

.page-home .cmd-inputrow input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 17px;
  color: var(--ink);
  min-width: 0;
}

.page-home .cmd-inputrow input::placeholder {
  color: var(--muted-2);
}

.page-home .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;
}

.page-home .cmd-close:hover {
  color: var(--ink);
  background: var(--border-2);
}

.page-home .cmd-close .ico {
  width: 14px;
  height: 14px;
}

.page-home .cmd-results {
  max-height: 54vh;
  overflow-y: auto;
  padding: 8px;
}

.page-home .cmd-group-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 12px 12px 6px;
}

.page-home .cmd-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 12px;
  border-radius: 11px;
  cursor: pointer;
}

.page-home .cmd-item .ci-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: #fff;
}

.page-home .cmd-item .ci-ico .ico {
  width: 18px;
  height: 18px;
}

.page-home .cmd-item .ci-body {
  flex: 1;
  min-width: 0;
}

.page-home .cmd-item .ci-t {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.page-home .cmd-item .ci-s {
  font-size: 12px;
  color: var(--muted);
}

.page-home .cmd-item .ci-go {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted-2);
  opacity: 0;
}

.page-home .cmd-item.active {
  background: var(--page);
}

.page-home .cmd-item.active .ci-go {
  opacity: 1;
  color: var(--teal);
}

.page-home .cmd-empty {
  padding: 34px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
}

.page-home .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);
}

.page-home .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) {
  .page-home .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .page-home .lead,
  .page-home .hero-search {
    max-width: none;
  }

  .page-home .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .duo {
    grid-template-columns: 1fr;
  }

  .page-home .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .post-carousel .post {
    flex: 0 0 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }

  .page-home .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .page-home .wrap:not(.nav-in) {
    max-width: 900px;
    padding: 0;
  }

  .page-home .hero .wrap {
    max-width: 980px;
    padding: 0 28px;
  }

  .page-home .wrap:not(.nav-in),
  .page-home .hero .wrap {
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width:640px) {
  .page-home .wrap {
    padding: 0 16px;
  }

  .page-home .nav-in {
    height: 60px !important;
    gap: 10px !important;
    min-height: 60px !important;
  }

  .page-home .brand {
    font-size: 20px;
    flex: none;
    min-width: 0;
  }

  .page-home .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;
  }

  .page-home .nav.open .nav-links {
    display: flex !important;
  }

  .page-home .nav-links a {
    padding: 13px 12px;
    border-radius: 10px;
    font-size: 15px;
  }

  .page-home .nav-links a:active {
    background: var(--page);
  }

  .page-home .nav-gift-desktop {
    display: none !important;
  }

  .page-home .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;
  }

  .page-home .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;
  }

  .page-home .nav-gift-mobile .lead-ico .ico {
    width: 18px;
    height: 18px;
  }

  .page-home .nav-gift-mobile .chev {
    margin-left: auto;
    color: var(--teal);
  }

  .page-home .nav-gift-mobile .chev .ico {
    width: 17px;
    height: 17px;
  }

  .page-home .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;
  }

  .page-home .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;
  }

  .page-home .nav-search .ns-kbd {
    display: none;
  }

  .page-home .hero {
    padding: 18px 0 0;
  }

  .page-home .hero-panel {
    padding: 24px 14px 18px !important;
    border-radius: 20px;
    overflow: hidden !important;
  }

  .page-home h1 {
    font-size: 33px;
    margin: 16px 0 14px;
  }

  .page-home .lead {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .page-home .hero-search {
    padding: 5px 5px 5px 14px;
  }

  .page-home .hero-search input {
    font-size: 13px;
    padding: 9px;
  }

  .page-home .hero-search .btn {
    padding: 11px 16px;
  }

  .page-home .hero-ctas .btn {
    flex: 1;
  }

  .page-home .do-card {
    padding: 18px 14px !important;
    border-radius: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .page-home .do-card h3 {
    font-size: 18px;
  }

  .page-home .do {
    padding: 14px 10px !important;
    min-width: 0 !important;
  }

  .page-home section.blk {
    padding: 36px 0 0;
  }

  .page-home .blk-head h2 {
    font-size: 25px;
  }

  .page-home .blk-head p {
    font-size: 13.5px;
  }

  .page-home .cat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 13px;
  }

  .page-home .cat-grid+.cat-grid {
    margin-top: 13px;
  }

  .page-home .cat {
    padding: 18px 16px;
    border-radius: 15px;
  }

  .page-home .cat .ibadge {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
  }

  .page-home .cat h4 {
    font-size: 14.5px;
  }

  .page-home .duo {
    gap: 18px;
  }

  .page-home .pcard {
    padding: 22px 20px;
    border-radius: 16px;
    min-height: 0;
  }

  .page-home .pcard-head h3 {
    font-size: 19px;
  }

  .page-home .q-text {
    font-size: 15.5px;
  }

  .page-home .q-opts {
    grid-template-columns: 1fr;
  }

  .page-home .post-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .page-home .post-carousel .post {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .page-home .post .pthumb {
    height: 200px;
  }

  .page-home .post h4 {
    font-size: 18px;
  }

  .page-home .ad {
    flex-wrap: wrap;
    gap: 12px 16px;
    padding: 18px;
  }

  .page-home .ad .gtag {
    width: auto;
  }

  .page-home .ad .copy {
    flex-basis: 100%;
    order: 3;
  }

  .page-home .ad .size {
    flex-basis: 100%;
    order: 4;
  }

  .page-home footer {
    margin-top: 34px !important;
    padding: 34px 0 24px !important;
  }

  .page-home .foot-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .page-home .foot-brand p {
    max-width: none !important;
  }

  .page-home .cmd-overlay {
    padding-top: 54px;
  }

  .page-home .cmd-panel {
    max-width: calc(100vw - 24px);
  }

  .page-home .cmd-inputrow {
    height: 54px;
  }

  .page-home .cmd-inputrow input {
    font-size: 16px;
  }

  .page-home .cmd-results {
    max-height: 62vh;
  }

  .page-home .cmd-foot {
    display: none;
  }

  .page-home .wrap:not(.nav-in),
  .page-home .hero .wrap {
    max-width: none !important;
    padding: 0 16px;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .page-home .nav {
    position: sticky;
    background: #fff;
  }

  .page-home .footer-logo-mark {
    font-size: 20px;
  }

  .page-home .hero-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    align-items: stretch !important;
  }

  .page-home .hero-grid>* {
    min-width: 0 !important;
    width: 100% !important;
  }

  .page-home .do-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .page-home .do h4 {
    font-size: 12px !important;
    line-height: 1.2 !important;
  }

  .page-home .do p {
    font-size: 10px !important;
    line-height: 1.35 !important;
  }

  .page-home .nav>.wrap.nav-in {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .page-home .nav .logo-img,
  .page-home .foot-brand .logo-img {
    height: 36px !important;
    width: auto !important;
  }

  .page-home .nav-toggle span {
    display: block !important;
    height: 2px !important;
    width: 100% !important;
    background: var(--ink-soft) !important;
    border-radius: 2px !important;
  }

  .page-home footer .foot-grid,
  .page-home .page footer .foot-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 26px 18px !important;
  }

  .page-home footer .foot-brand,
  .page-home .page footer .foot-brand {
    grid-column: 1 / -1 !important;
  }

  .page-home footer .foot-col h5,
  .page-home .page footer .foot-col h5 {
    margin-bottom: 12px !important;
  }

  .page-home footer .foot-col li,
  .page-home .page footer .foot-col li {
    margin-bottom: 10px !important;
  }

  .page-home footer .wrap,
  .page-home .page footer .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width:380px) {
  .page-home .do-grid {
    grid-template-columns: 1fr !important;
  }

  .page-home h1 {
    font-size: 29px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .page-home,
  .page-home * {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }

  .page-home .do-grid .do,
  .page-home .do-grid .do::after {
    transition: none !important;
  }
}

.page-home .wrap:not(.nav-in) {
  max-width: 900px;
  padding: 0;
  margin: 0 auto;
}

.page-home .hero .wrap {
  max-width: 980px;
}

.page-home .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;
}

.page-home .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;
}

.page-home .do-grid .do:hover,
.page-home .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;
}

.page-home .do-grid .do:hover::after,
.page-home .do-grid .do:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

.page-home .do-grid .do:hover h4,
.page-home .do-grid .do:focus-visible h4 {
  color: var(--teal-h);
}

.page-home .do-grid .do:active {
  transform: translateY(-1px);
}

.page-home .pcard-head .ibadge .ico {
  width: 14px;
  height: 14px;
}

.page-home .footer-logo-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3f6df6;
  font-weight: 800;
  font-size: 21px;
  margin-bottom: 16px;
}

.page-home .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;
}

.page-home .wrap:not(.nav-in),
.page-home .hero .wrap {
  max-width: 1220px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  width: 100%;
  margin: 0 auto !important;
}

.page-home .foot-brand>.logo-img {
  display: block;
  margin-bottom: 22px !important;
}

.page-home .home-main {
  width: 100%;
}

.page-home .foot-brand .logo-img {
  display: block !important;
  margin-bottom: 16px !important;
}

.page-home .tagwrap {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.page-home .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;
}

.page-home .tag:hover {
  border-color: var(--teal) !important;
  color: var(--teal) !important;
}

.page-home .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) {
  .page-home .foot-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }

  .page-home footer .foot-grid,
  .page-home .page footer .foot-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }

  .page-home footer .foot-brand,
  .page-home .page footer .foot-brand {
    grid-column: 1 / -1 !important;
  }
}

.page-home .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;
}

.page-home .nav-gift-desktop {
  background: #4F46E5 !important;
  color: #fff !important;
  height: 42px;
  padding: 0 18px;
}

.page-home .nav .logo-img,
.page-home .foot-brand .logo-img {
  height: 42px !important;
  width: auto !important;
  background: none !important;
}

.page-home 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;
}

.page-home footer .foot-col:has(.tagwrap) {
  display: none !important;
}

.page-home footer .foot-brand p,
.page-home .page footer .foot-brand p {
  max-width: 420px !important;
}

.page-home footer,
.page-home .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;
}

.page-home footer .wrap,
.page-home .page footer .wrap {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.page-home .foot-brand>a,
.page-home .page .foot-brand>a {
  display: inline-block;
  line-height: 0;
}

.page-home .foot-brand .logo-img,
.page-home .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;
}
