/* ==========================================================================
   Resources page + article archives
   ========================================================================== */
.phero--resources { height: 473px; }
.phero--resources .phero-img { width: 779px; }
.phero--resources .phero-inner { padding: 64px 0 0 11px; }
.phero--resources h1 { margin-top: 14px; font-size: 59px; line-height: 60px; }
.phero--resources .lead { margin-top: 13px; max-width: 520px; font-size: 18.5px; line-height: 29.5px; }
.phero--resources .search-bar { margin-top: 25px; }
.phero--resources .chips { position: absolute; left: 0; top: 405px; gap: 22px; }
.phero--resources .chips a { height: 45px; padding: 0 23px; font-size: 14.5px; }
.phero--resources .chips a.is-active { min-width: 84px; justify-content: center; }

.phero--archive { height: 440px; }
.phero--archive .chips { top: 374px; }

.res-sec .container > .sec-head { padding-left: 11px; }
.res-latest { padding-top: 26px; }
.res-sec .sec-head h2 { font-size: 46px; line-height: 50px; }
.res-sec .sec-head p { font-size: 17px; }
.res-latest .sec-head h2 { margin-top: 8px; }
.res-latest .post-grid { margin-top: 18px; }
.res-guides { padding-top: 40px; }
.res-guides .sec-head h2 { margin-top: 8px; line-height: 48px; }
.res-guides .sec-head p { line-height: 28px; }
.res-guides .guide-grid { margin-top: 22px; }
.res-cases { padding: 40px 0 17px; }
.res-cases .sec-head h2 { margin-top: 8px; }
.res-cases .case-grid { margin-top: 20px; }
.res-archive { padding: 44px 0 64px; }
.empty-note { padding: 40px 0; color: var(--muted); }

@media (max-width: 1200px) {
  .phero--resources, .phero--archive { height: auto; padding-bottom: 32px; }
  .phero--resources .phero-img { width: 60%; opacity: .5; }
  .phero--resources .chips { position: static; margin-top: 28px; gap: 10px; }
}
@media (max-width: 760px) {
  .phero--resources .phero-inner { padding-left: 0; padding-top: 40px; }
  .phero--resources h1 { font-size: 42px; line-height: 46px; }
  .phero--resources h1 br { display: none; }
  .phero--resources .phero-img { width: 100%; opacity: .18; }
  .res-sec .container > .sec-head { padding-left: 0; }
}

/* ==========================================================================
   Search results
   ========================================================================== */
.phero--search { height: 300px; }
.phero--search .phero-img { width: 672px; }
.phero--search .phero-inner { padding-top: 32px; }
.phero--search .eyebrow { font-size: 12.5px; }
.phero--search h1 { margin-top: 10px; font-size: 48px; line-height: 52px; }
.phero--search .lead { margin-top: 8px; max-width: 490px; font-size: 17px; line-height: 22px; color: #4a4742; }
.phero--search .search-bar { margin-top: 20px; max-width: 535px; height: 50px; }
.phero--search .search-bar button { width: 38px; height: 38px; }
.phero--search .chips { margin-top: 16px; gap: 12px; }
.phero--search .chips a { height: 31px; padding: 0 17px; font-size: 13.5px; font-weight: 400; }

.sr-layout { display: grid; grid-template-columns: 217px 1fr; gap: 25px; align-items: start; padding: 22px 0 40px; }
.sr-filters { position: sticky; top: 20px; background: #fff; border: 1px solid #efe9e1; border-radius: 8px; padding: 6px 18px 14px; }
.sr-filters details { padding: 12px 0 10px; }
.sr-filters details + details { border-top: 1px solid #efe9e1; }
.sr-filters summary { display: flex; justify-content: space-between; align-items: center; padding: 4px 0 8px; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; list-style: none; }
.sr-filters summary::-webkit-details-marker { display: none; }
.sr-filters summary svg { width: 14px; height: 14px; transform: rotate(180deg); transition: transform .2s; }
.sr-filters details:not([open]) summary svg { transform: none; }
.sr-filters label { display: flex; align-items: center; gap: 10px; height: 25px; font-size: 13px; color: #3a3834; cursor: pointer; }
.sr-filters label span { flex: 1; }
.sr-filters label small { font-size: 12px; color: #8b8680; }
.sr-filters input { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; margin: 0; border: 1.3px solid #bdb7ae; border-radius: 4px; background: #fff; flex: none; display: grid; place-items: center; }
.sr-filters input[type="radio"] { border-radius: 50%; }
.sr-filters input:checked { background: var(--gold); border-color: var(--gold); }
.sr-filters input[type="checkbox"]:checked::after { content: ""; width: 8px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.sr-filters input[type="radio"]:checked::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.sr-filters input:disabled { opacity: 1; }
.sr-filters .btn { margin-top: 10px; height: 40px; width: 100%; font-size: 14px; }

.sr-results { min-width: 0; }
.sr-results .sec-head h2 { margin-top: 0; font-size: 27px; line-height: 32px; }
.sr-results .sec-head p { margin-top: 2px; font-size: 14.5px; line-height: 20px; }
.sr-results .sec-head .view-all { margin-top: 12px; font-size: 14px; }
.sr-sec + .sr-sec { margin-top: 26px; }
.sr-results .post-grid, .sr-results .guide-grid, .sr-results .case-grid, .sr-results .prod-grid, .sr-results .carousel { margin-top: 12px; }
.sr-results .post-grid { gap: 18px; }
.sr-results .pc-img { aspect-ratio: 250 / 117; }
.sr-results .pc-body h3 { font-size: 18px; line-height: 20px; }
.sr-results .car-track { grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; }
.sr-results .guide-grid { gap: 20px; }
.sr-results .guide-card { gap: 16px; padding: 12px; }
.sr-results .gc-cover { width: 101px; height: 130px; }
.sr-results .gc-body h3 { font-size: 16.5px; line-height: 20px; }
.sr-results .gc-body p { font-size: 12.5px; line-height: 16px; }
.sr-results .btn-line { height: 31px; font-size: 13px; padding: 0 16px; }
.prod-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.sr-empty { padding: 48px 32px; background: #fff; border: 1px solid #efe9e1; border-radius: 8px; text-align: center; }
.sr-empty h2 { font-family: var(--serif); font-weight: 560; font-size: 30px; }
.sr-empty p { margin: 8px 0 20px; color: var(--muted); }
.sr-empty .btn { height: 48px; padding: 0 24px; }

@media (max-width: 1200px) {
  .phero--search { height: auto; padding-bottom: 28px; }
  .sr-layout { grid-template-columns: 1fr; }
  .sr-filters { position: static; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .sr-filters details + details { border: 0; }
  .sr-results .car-track { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .phero--search h1 { font-size: 36px; line-height: 40px; }
  .sr-filters { grid-template-columns: 1fr; }
  .sr-results .car-track { grid-auto-columns: 70%; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Search: looks and products from Discovery, and the empty state links. */
.sr-shop-looks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.sr-shop-products { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.sr-empty-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 1200px) { .sr-shop-looks { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sr-shop-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .sr-shop-looks { grid-template-columns: 1fr; } .sr-shop-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
