/* The Flyers page uses one layout, independent of the older sharing cards. */
body.page-flyers #main-content {
  max-width: none !important;
  padding: 0 !important;
  background: var(--m-navy, #06131d) !important;
  font-family: var(--m-readable, Verdana, Arial, sans-serif);
}
body.page-flyers #main-content::before { display: none; }
.flyers-shell {
  --flyers-panel: #0c202e;
  --flyers-line: #314653;
  --flyers-muted: #c5d1d9;
  width: var(--ivdb-shell-width);
  margin: 0 auto;
  padding: 30px 0 48px;
  color: #edf3f6;
  font-size: 16px;
  line-height: 1.55;
}
.flyers-shell *, .flyers-shell *::before, .flyers-shell *::after { box-sizing: border-box; }
.flyers-shell [hidden] { display: none !important; }
.flyers-shell :is(section, article, div, a) { min-width: 0; }
.flyers-shell p { margin: 0; }
.flyers-shell :is(h1, h2, h3) {
  margin: 0;
  color: #fff;
  font-family: inherit;
  line-height: 1.25;
  letter-spacing: 0;
}
.flyers-shell h1 { font-size: clamp(30px, 3.2vw, 46px); }
.flyers-shell h2 { font-size: clamp(24px, 2.3vw, 30px); }
.flyers-shell h3 { font-size: 19px; }
.flyers-shell .flyers-kicker {
  margin: 0 0 8px;
  color: var(--m-gold, #efc84a);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.flyers-shell a { color: #efc84a; text-underline-offset: 3px; }
.flyers-shell a:hover { text-decoration-thickness: 2px; }
.flyers-shell :is(a, button, input, select):focus-visible {
  outline: 2px solid #efc84a;
  outline-offset: 4px;
}
.flyers-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
}
.flyers-intro h1 + p { margin-top: 12px; max-width: 70ch; color: var(--flyers-muted); }
.flyers-jump { display: flex; flex-wrap: wrap; gap: 6px 18px; flex: 0 0 auto; }
.flyers-jump a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 14px; }
.flyers-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  background: var(--flyers-panel);
  border: 1px solid var(--flyers-line);
  border-radius: 8px;
}
.flyers-preview { display: block; padding: 16px; border-right: 1px solid var(--flyers-line); }
.flyers-preview img { display: block; width: 100%; height: auto; border: 0; }
.flyers-feature-copy { padding: clamp(20px, 3vw, 36px); }
.flyers-feature-copy p:not(.flyers-kicker) { margin-top: 14px; max-width: 50ch; color: var(--flyers-muted); }
.flyers-feature-copy .flyers-button { margin-top: 20px; }
.flyers-shell .flyers-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #879dab;
  border-radius: 5px;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  cursor: pointer;
}
.flyers-shell .flyers-button:hover { background: #1c3546; }
.flyers-shell .flyers-button-gold { background: #efc84a; border-color: #efc84a; color: #06131d; }
.flyers-shell .flyers-button-gold:hover { background: #ffdb70; border-color: #ffdb70; }
.flyers-shell .flyers-button:disabled { opacity: .45; cursor: default; background: transparent; }
.flyers-printing, .flyers-directory { margin-top: 32px; }
.flyers-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 20px; }
.flyers-section-heading h2 + p { margin-top: 8px; color: var(--flyers-muted); }
.flyers-text-link { font-size: 14px; font-weight: 700; }
.flyers-printing {
  padding: 24px;
  border: 1px solid var(--flyers-line);
  border-radius: 8px;
  background: var(--flyers-panel);
}
.flyers-printing-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.flyers-printing-grid > div + div { border-left: 1px solid var(--flyers-line); padding-left: 32px; }
.flyers-printing-grid dl { margin: 12px 0 0; }
.flyers-printing-grid dl > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--flyers-line); }
.flyers-printing-grid dt { color: var(--flyers-muted); font-size: 14px; }
.flyers-printing-grid dd { margin: 0; color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; }
.flyers-printing-grid h3 { font-size: 18px; }
.flyers-printing-grid p { margin-top: 16px; color: var(--flyers-muted); font-size: 14px; line-height: 1.55; }
.flyers-printing-grid .flyers-print-tip strong { color: #efc84a; }
.flyers-posting-rule { padding: 14px 18px; border-left: 3px solid #efc84a; background: var(--flyers-panel); color: var(--flyers-muted); font-size: 14px; }
.flyers-posting-rule strong { color: #fff; }
.posting-tools { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: end; gap: 16px; margin-top: 24px; }
.posting-tools label { display: block; margin-bottom: 8px; color: #fff; font-weight: 700; }
.posting-tools :is(input, select) {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 10px 12px;
  border: 1px solid #758b9a;
  border-radius: 5px;
  background: #0c202e;
  color: #fff;
  font-family: inherit;
  font-size: 16px !important;
  line-height: 1.35 !important;
  color-scheme: dark;
}
.posting-tools input::placeholder { color: #aebfc9; opacity: 1; }
.posting-tools .flyers-button { min-height: 46px; }
.flyers-shell .posting-results { margin: 18px 0 8px; color: var(--flyers-muted); font-size: 14px; }
.posting-group {
  display: grid;
  grid-template-columns: minmax(180px, .45fr) minmax(0, 1.55fr);
  gap: 30px;
  padding: 24px 0;
  border-top: 1px solid var(--flyers-line);
}
.posting-group-heading { padding-top: 10px; }
.posting-group h3 { font-size: 20px; overflow-wrap: anywhere; }
.posting-place-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.posting-place-list > li { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.posting-place-list strong { display: block; font-size: 16px; line-height: 1.45; font-weight: 700; color: #edf3f6; overflow-wrap: anywhere; }
.posting-number { width: 22px; flex: 0 0 22px; color: #a4b6c2; font-size: 13px; line-height: 1.8; font-variant-numeric: tabular-nums; }
.posting-address { display: block; margin-top: 4px; color: var(--flyers-muted); font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.posting-note { display: block; margin-top: 6px; color: #e5d7a6; font-size: 13px; line-height: 1.5; }
.posting-empty { padding: 28px 0; color: var(--flyers-muted); }
.flyers-community-note { padding: 22px 24px; background: var(--flyers-panel); border: 1px solid var(--flyers-line); border-radius: 8px; text-align: center; }
.flyers-community-note p { margin: 10px auto 0; max-width: 95ch; color: var(--flyers-muted); font-size: 15px; }
@media (max-width: 1150px) {
  .flyers-intro { display: block; }
  .flyers-jump { margin-top: 14px; }
  .posting-group { grid-template-columns: minmax(170px, .5fr) minmax(0, 1.5fr); gap: 24px; }
}
@media (max-width: 900px) {
  .flyers-printing-grid { grid-template-columns: 1fr; gap: 24px; }
  .flyers-printing-grid > div + div { border-left: 0; border-top: 1px solid var(--flyers-line); padding: 24px 0 0; }
  .posting-group { grid-template-columns: 1fr; gap: 12px; }
  .posting-group-heading { padding-top: 0; }
  .posting-tools { grid-template-columns: minmax(0, 1fr) auto; }
  .posting-search-field { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .flyers-shell { padding-top: 24px; }
  .flyers-feature { grid-template-columns: 1fr; }
  .flyers-preview { padding: 12px; border-right: 0; border-bottom: 1px solid var(--flyers-line); }
  .flyers-feature-copy { padding: 20px; }
  .flyers-feature-copy .flyers-button { width: 100%; }
  .flyers-section-heading { display: block; }
  .flyers-text-link { display: inline-block; margin-top: 12px; }
  .flyers-printing, .flyers-community-note { padding: 20px 16px; }
  .posting-place-list { grid-template-columns: 1fr; }
  .posting-tools { gap: 12px; }
  .posting-tools .flyers-button { padding-inline: 10px; }
  .posting-group { padding: 22px 0; }
}
