/* Homepage discovery intent panel: critical first-render styles. */
.discovery-intents .container {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(15, 63, 136, 0.12);
  border-radius: 26px;
  background: radial-gradient(circle at 96% 0%, rgba(201, 40, 45, 0.09), transparent 30%), linear-gradient(145deg, #f7faff 0%, #eef5fb 54%, #f4faf7 100%);
  box-shadow: 0 18px 44px rgba(8, 42, 97, 0.09);
}
.discovery-intents .section-heading { position: relative; z-index: 1; align-items: center; margin-bottom: 20px; }
.discovery-intents__lead { max-width: 52ch; margin: 8px 0 0; color: #53657d; font-size: 0.94rem; }
.discovery-intents__map-link { gap: 8px; padding: 8px 13px; border: 1px solid rgba(15, 63, 136, 0.14); border-radius: 999px; background: rgba(255, 255, 255, 0.82); box-shadow: 0 8px 20px rgba(8, 42, 97, 0.07); }
.discovery-intents__map-link span { font-size: 1.05em; transition: transform 160ms ease; }
.discovery-intents__map-link:hover span, .discovery-intents__map-link:focus-visible span { transform: translateX(3px); }
.discovery-intent-row { display: grid; grid-auto-flow: row; grid-auto-columns: minmax(0, 1fr); grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; overflow: visible; padding: 0; }
.discovery-intent-row a { display: grid; grid-template-columns: 46px minmax(0, 1fr) 18px; grid-template-rows: auto auto; align-items: center; column-gap: 12px; row-gap: 3px; min-width: 0; min-height: 88px; padding: 14px 15px; border: 1px solid rgba(15, 63, 136, 0.12); border-radius: 17px; color: var(--blue-dark, #082a61); background: rgba(255, 255, 255, 0.88); box-shadow: 0 8px 22px rgba(8, 42, 97, 0.07); text-decoration: none; transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease, background 170ms ease; }
.discovery-intent-row a::after { content: "→"; grid-column: 3; grid-row: 1 / 3; color: rgba(15, 63, 136, 0.52); font-size: 1.05rem; font-weight: 900; }
.discovery-intent-row a:hover, .discovery-intent-row a:focus-visible { border-color: rgba(15, 63, 136, 0.34); background: #fff; box-shadow: 0 13px 28px rgba(8, 42, 97, 0.12); transform: translateY(-3px); }
.discovery-intent-row span { grid-column: 1; grid-row: 1 / 3; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: #e8f1ff; font-size: 1.4rem; line-height: 1; }
.discovery-intent-row a:nth-child(2) span, .discovery-intent-row a:nth-child(5) span { background: #e7f6f1; }
.discovery-intent-row a:nth-child(3) span, .discovery-intent-row a:nth-child(7) span { background: #fff1df; }
.discovery-intent-row a:nth-child(4) span, .discovery-intent-row a:nth-child(8) span { background: #f5eefd; }
.discovery-intent-row strong { grid-column: 2; align-self: end; min-width: 0; font-size: 0.96rem; line-height: 1.12; }
.discovery-intent-row small { grid-column: 2; align-self: start; min-width: 0; overflow: hidden; color: #6b788b; font-size: 0.76rem; line-height: 1.18; text-overflow: ellipsis; white-space: nowrap; }
.discovery-category-details { margin-top: 18px; border-top: 1px solid rgba(15, 63, 136, 0.1); }
.discovery-category-details > summary { cursor: pointer; color: var(--blue-dark); font-weight: 850; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; }
.discovery-category-details > summary::-webkit-details-marker { display: none; }
.discovery-category-details > summary::after { content: "+"; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 999px; background: rgba(15, 63, 136, 0.08); color: var(--blue); font-size: 1.1rem; }
.discovery-category-details[open] > summary::after { content: "−"; }
@media (max-width: 920px) { .discovery-intent-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .discovery-intents .container { width: min(100% - 20px, 1120px); padding: 18px; border-radius: 21px; }
  .discovery-intents .section-heading { align-items: flex-start; margin-bottom: 15px; }
  .discovery-intents__lead { margin-top: 6px; font-size: 0.84rem; }
  .discovery-intents__map-link { padding: 6px 10px; font-size: 0.79rem; }
  .discovery-intent-row { gap: 8px; }
  .discovery-intent-row a { grid-template-columns: 40px minmax(0, 1fr); min-height: 86px; padding: 11px; border-radius: 14px; column-gap: 9px; }
  .discovery-intent-row a::after { display: none; }
  .discovery-intent-row span { width: 40px; height: 40px; border-radius: 12px; font-size: 1.18rem; }
  .discovery-intent-row strong { font-size: 0.86rem; }
  .discovery-intent-row small { font-size: 0.69rem; }
  .discovery-category-details { margin-top: 14px; }
}
