/* Controls shared by search results and help. */
.res-list-notes, .help-feedback {
  display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between;
  column-gap:1rem; color:#38594d; font-size:.94rem;
}
.res-list-notes {
  margin:-.35rem 0 1.15rem; padding:.1rem .9rem;
  background:#f0f3e9; border-radius:.6rem;
}
.res-list-notes details { flex:1 1 17rem; min-width:0; }
.res-list-notes summary, .res-reset {
  min-height:44px; padding-block:.7rem; color:#175646; font-weight:650; cursor:pointer;
}
.res-list-notes summary { display:list-item; width:fit-content; }
.res-list-notes a, .res-reset, .guide-stops button:hover span {
  color:#175646; text-decoration:underline; text-underline-offset:.2em;
}
.res-list-notes details p { margin:0 0 .85rem; max-width:67ch; line-height:1.55; }
.res-reset { background:transparent; border:0; font-size:inherit; }
.help-feedback { align-items:center; min-height:48px; }
.help-feedback #help-count { margin:0; color:#3e594c; }
.help-feedback [hidden] { display:none; }
.res-toolbar .sr-themes button { min-height:44px; }
.res-board .sr-amount strong, .afbud-results strong, .flow-total, .trip-receipt dd { font-variant-numeric:tabular-nums; }
.res-list-notes :focus-visible, .guide-stops :focus-visible, .family-criteria summary:focus-visible,
.help-feedback :focus-visible { outline:3px solid #34725d; outline-offset:2px; }

.family-criteria {
  min-width:0; border:1px solid #bbcbbd; border-radius:14px; background:var(--paper,#fffdf7);
}
.family-criteria summary {
  display:flex; align-items:center; justify-content:space-between; gap:1rem; min-height:54px;
  padding:.85rem 1.2rem; background:#eef2e6; border-radius:inherit; cursor:pointer;
  font:650 1.05rem/1.3 var(--sans,Arial,sans-serif); color:#244638; list-style:none;
}
.family-criteria summary::-webkit-details-marker { display:none; }
.family-criteria[open]>summary { border-bottom:1px solid #ced8c9; border-radius:13px 13px 0 0; }
.family-criteria[open]>summary .expand-icon:after { transform:rotate(0deg); }
.family-criteria>.family-form { border:0; margin:0; border-radius:0 0 14px 14px; box-shadow:none; padding-top:.35rem; }
.family-results:has(#family-tools button) #family-summary {
  border-inline-start:3px solid #6f9576; padding:.4rem 1rem; background:#f2f4eb;
}
.family-intro img, .guide-opening-grid>img { border-radius:12px clamp(2rem,4vw,3.8rem) 12px 12px; }
.guide-stops { padding:clamp(1rem,2.4vw,1.75rem); border:1px solid #d1daca; border-radius:14px; background:#f4f4e9; }
.guide-stops h2 { font-size:1.14rem; letter-spacing:-.02em; }
.guide-stops ol { list-style:none; margin:.6rem 0 0; padding:0; }
.guide-stops li+li { border-top:1px solid #d3ddce; }
.guide-stops button {
  display:grid; grid-template-columns:minmax(7.5rem,.42fr) minmax(0,1fr); align-items:center; gap:1rem;
  width:100%; min-height:46px; text-align:left; color:#23493c; cursor:pointer; padding:.55rem .1rem;
}
.guide-stops small { color:#4e6559; font-size:.83rem; }
.guide-stops span { font-weight:650; }
.journal-story h2[tabindex] { scroll-margin-block:2rem; }
.journal-story section { padding-block:1.1rem .35rem; }
.idea-body .ideas-back:has(.idea-next) {
  display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:.3rem 1rem;
  padding-block:1rem; border-top:1px solid #cbd6c7;
}
.ideas-back .idea-next { color:#184f42; }
.contact-corrections { grid-column:1/-1; background:#fff1e9; border-left:3px solid #a34a34; padding:1rem; }
.contact-corrections ul { display:flex; flex-wrap:wrap; gap:.4rem 1rem; margin:.5rem 0 0; list-style:none; padding:0; }
.contact-corrections a { color:#7e3727; text-decoration:underline; text-underline-offset:.2em; }
.contact-fields :is(input,textarea,select), .info-copy section { scroll-margin-block:2rem; }
.flight-board #flight-options[hidden] { display:none; }
.flight-board .partner-gate { max-width:62rem; padding:clamp(1rem,2.8vw,2rem); background:#eef3e7; border-left:4px solid #47755c; }
.flight-board .partner-gate p { max-width:68ch; }
.flight-board .partner-gate a { display:inline-flex; align-items:center; min-height:44px; }
.flow-section .booking-steps { gap:clamp(.4rem,2vw,1.5rem); }
.flow-section .booking-steps li { flex:1 1 0; border-bottom:3px solid #d1d9cb; padding-bottom:.6rem; }
.flow-section .booking-steps li[aria-current] { border-color:#245a47; }
.flow-section .booking-steps li.step-complete { border-color:#8ba790; }

@media screen and (min-width:821px) {
  .guide-opening-grid>img { max-height:23rem; object-fit:cover; }
  .info-layout-legal .info-prose { max-width:68ch; }
  .afbud-filters { padding-inline:clamp(.7rem,2.5vw,2rem); }
}
@media screen and (max-width:660px) {
  :is(.compact-intro .info-hero-grid,.info-hero-legal .info-hero-grid) {
    display:grid; grid-template-columns:minmax(0,1fr) clamp(58px,16vw,84px);
    grid-template-areas:"heading photo" "lead lead"; align-items:center; gap:.65rem .85rem;
  }
  :is(.compact-intro,.info-hero-legal) .info-hero-grid>div { display:contents; }
  :is(.compact-intro,.info-hero-legal) .info-hero-grid h1 { grid-area:heading; margin:0; }
  :is(.compact-intro,.info-hero-legal) .info-hero-grid .info-lead { grid-area:lead; }
  :is(.compact-intro,.info-hero-legal) .info-hero-grid>img {
    grid-area:photo; height:auto; aspect-ratio:1; border-radius:10px 24px 10px 10px;
  }
  .guide-stops button { grid-template-columns:1fr; gap:.1rem; }
  .res-toolbar { margin-bottom:.8rem; }
  .res-toolbar .sr-themes { justify-self:stretch; display:flex; }
  .res-toolbar .sr-themes button { flex:1; }
  .res-list-notes { gap:0; }
  .res-list-notes details { flex-basis:100%; }
  .res-list-notes .res-reset { padding-top:.4rem; }
  .family-layout { gap:1.25rem; }
  .family-criteria summary, .info-nav summary { min-height:50px; }
  .flow-section .booking-steps li { align-items:center; text-align:center; }
  .flight-board .partner-gate .outline { margin-block:.3rem; }
}

.saved-banner:not(:has(.saved-postcard)) .wrap { padding-right:0; }
.saved-banner .wrap>p { max-width:64ch; }
.info-related a:focus-visible, .info-guide-pair a:focus-visible { outline:3px solid #34725d; outline-offset:3px; }
.info-related a:is(:hover,:focus-visible) span { color:#173c33; }
.info-layout-about .info-guide-pair a>span {
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
}
.info-layout-about .info-guide-pair a>span::after { content:"→" / ""; }
@media screen and (min-width:1000px) {
  .journal-grid:has(>.journal-card:nth-child(5))>.journal-card:first-child {
    display:grid; grid-column:span 2; grid-template-columns:1.05fr 1fr;
    grid-template-rows:1fr auto auto 1fr; align-items:center; padding-bottom:0;
  }
  .journal-grid:has(>.journal-card:nth-child(5))>.journal-card:first-child>div {
    grid-row:1/5; height:100%; min-height:16rem; border-radius:12px 0 0 12px;
  }
  .journal-grid:has(>.journal-card:nth-child(5))>.journal-card:first-child>small { align-self:end; }
  .journal-grid:has(>.journal-card:nth-child(5))>.journal-card:first-child>span { align-self:start; margin-top:0; }
}

.trip-receipt .receipt-calculation { margin-block:.35rem 1rem; color:#405c50; font-variant-numeric:tabular-nums; }
.trip-receipt .receipt-total { padding:.9rem 1rem; border:0; border-radius:.6rem; background:#edf2e8; }
.trip-receipt .receipt-total strong { color:#174a3b; }
