/* Colors taken from the logo: Honduras flag blue, Caribbean turquoise,
   palm green, and sunset gold, all on bright white and light tints. */
:root {
  --blue: #0073cf;          /* flag blue */
  --blue-dark: #00539a;     /* headings */
  --blue-tint: #eaf4fd;
  --blue-soft: #cfe6fa;

  /* Vivid Caribbean colors. Each one is paired with a text color that
     passes the readability check (navy or white). */
  --turq: #00c2d1;          /* Caribbean water */
  --turq-tint: #e0f6fb;
  --sea: #00a0b8;           /* deeper water */
  --sea-tint: #dff3f6;

  --green: #2fc25b;         /* palm leaves */
  --green-dark: #1b7a34;    /* green text and badges (readable on white) */
  --green-tint: #e7f6e4;

  --sun: #ffc400;           /* sunshine */
  --sun-tint: #fff3d1;

  --peach: #ff7a3d;         /* painted peach-orange houses */
  --peach-tint: #ffeadf;

  --pink: #ff4f9a;          /* hibiscus */
  --pink-tint: #ffe6f0;

  --purple: #7b3fe4;        /* orchids and dusk sky */
  --purple-dark: #5b2bb8;   /* purple text (readable on white) */
  --purple-tint: #f0e8fc;

  --navy: #0b1f3a;

  --stripe: linear-gradient(90deg, #0073cf, #00c2d1, #2fc25b, #ffc400, #ff7a3d, #ff4f9a, #7b3fe4);

  --white: #ffffff;
  --text: #12263a;
  --muted: #4a5f73;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

a { color: var(--blue-dark); }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--blue); color: var(--white); padding: 10px 16px; z-index: 10;
}
.skip:focus { left: 8px; top: 8px; }

/* Header: white with a flag-blue band */
.site-header { background: var(--white); border-bottom: 8px solid; border-image: var(--stripe) 1; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blue-dark); font-weight: 700; font-size: 1.15rem; }
.stars { display: inline-flex; gap: 3px; color: var(--blue); }
.lang-switch {
  display: inline-block; padding: 8px 18px; border: 3px solid var(--navy); border-radius: 999px;
  text-decoration: none; font-weight: 700; color: var(--navy); background: var(--sun);
}
.lang-switch:hover { background: var(--navy); color: var(--sun); }

main.wrap { padding-top: 24px; padding-bottom: 64px; }
h1, h2, h3 { color: var(--blue-dark); line-height: 1.25; }
h1 { font-size: 1.9rem; margin: 0 0 12px; }
h2 { font-size: 1.4rem; margin: 32px 0 14px; }
h2::after {
  content: ""; display: block; width: 72px; height: 5px; border-radius: 5px;
  margin-top: 6px; background: var(--stripe);
}

/* Question box: bright white inside, a bold rainbow frame around it */
.ask {
  border: 7px solid transparent; border-radius: var(--radius); padding: 18px; margin-bottom: 8px;
  background: linear-gradient(#ffffff, #ffffff) padding-box, var(--stripe) border-box;
}
.ask textarea { border-color: var(--purple); }
.ask .btn { background: var(--pink); color: var(--navy); font-size: 1.05rem; }
.ask .btn:hover { background: #ff72ae; color: var(--navy); }
.ask h1 { margin-top: 0; }
.ask label { display: block; font-weight: 600; margin-bottom: 6px; }
.ask textarea {
  width: 100%; min-height: 90px; padding: 12px; font: inherit;
  border: 2px solid var(--blue); border-radius: 10px; background: var(--white); color: var(--text);
}
.hint { color: var(--muted); font-size: 0.95rem; margin: 6px 0 12px; }
.notice { background: var(--white); border-left: 5px solid var(--blue); padding: 10px 14px; border-radius: 6px; margin: 12px 0 0; }

.btn, button.btn {
  display: inline-block; background: var(--blue); color: var(--white); border: 0;
  padding: 12px 22px; border-radius: 999px; font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--blue-dark); color: var(--white); }
.btn.secondary { background: var(--white); color: var(--blue-dark); border: 2px solid var(--blue); }
.btn.secondary:hover { background: var(--blue-tint); color: var(--blue-dark); }

/* Grids of buttons and cards */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); padding: 0; margin: 0; list-style: none; }
/* Each tile is a solid vivid color, repeating in a cycle of six.
   --on is the text color that stays readable on that tile. */
.grid li { --accent: var(--blue);   --on: #ffffff; }
.grid li:nth-child(6n+2) { --accent: var(--pink);   --on: var(--navy); }
.grid li:nth-child(6n+3) { --accent: var(--green);  --on: var(--navy); }
.grid li:nth-child(6n+4) { --accent: var(--peach);  --on: var(--navy); }
.grid li:nth-child(6n+5) { --accent: var(--purple); --on: #ffffff; }
.grid li:nth-child(6n+6) { --accent: var(--turq);   --on: var(--navy); }

.tile {
  display: block; height: 100%; padding: 18px; text-decoration: none;
  color: var(--on); background: var(--accent); border: 3px solid var(--accent);
  border-radius: var(--radius); box-shadow: 0 4px 0 rgba(11, 31, 58, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.tile:hover, .tile:focus-visible {
  color: var(--on); transform: translateY(-3px); filter: brightness(1.08);
  box-shadow: 0 9px 0 rgba(11, 31, 58, 0.18);
}
.tile strong { display: block; color: var(--on); font-size: 1.2rem; }
.tile span { color: var(--on); font-size: 0.97rem; opacity: 0.92; }
.tile:focus-visible { outline: 4px solid var(--navy); outline-offset: 3px; }

/* Listing cards */
.cards { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; }
.cards li:nth-child(3n+1) { --accent: var(--turq); }
.cards li:nth-child(3n+2) { --accent: var(--pink); }
.cards li:nth-child(3n+3) { --accent: var(--peach); }
.card { border: 2px solid var(--accent, var(--turq)); border-left: 8px solid var(--accent, var(--turq)); border-radius: var(--radius); padding: 18px; background: var(--white); }
.card h3 { margin: 0 0 4px; }
.card img { max-width: 100%; height: auto; border-radius: 10px; margin-bottom: 10px; }
.meta { color: var(--muted); font-size: 0.97rem; margin: 2px 0 8px; }
.badge { display: inline-block; background: var(--green-dark); color: var(--white); border-radius: 999px; padding: 2px 10px; font-size: 0.85rem; font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.actions .btn { padding: 8px 16px; }

.needs { background: var(--green); color: var(--navy); border-radius: 10px; padding: 12px 16px; margin-top: 12px; }
.needs h4 { margin: 0 0 6px; color: var(--navy); font-size: 1.05rem; }
.needs a { color: var(--navy); font-weight: 700; }
.needs .meta, .needs em { color: var(--navy); }
.needs ul { margin: 0; padding-left: 20px; }

.crumbs { margin-bottom: 8px; }
.history-section { border-top: 2px solid var(--blue-soft); padding-top: 8px; }
.sources { color: var(--muted); font-size: 0.92rem; }

/* Footer: light blue, no dark backgrounds */
.site-footer { background: var(--blue); border-top: 8px solid; border-image: var(--stripe) 1; padding: 22px 0; text-align: center; color: #ffffff; }
.site-footer .stars { color: var(--sun); }
.site-footer .stars { justify-content: center; }
.history-section h2 { color: var(--purple-dark); }
.site-footer p { margin: 6px 0 0; }

/* ------------------------------------------------------------------
   DEVICE SIZES
   The layout adjusts itself to the screen it is shown on.
   Phone: up to 600px wide.  Tablet: 601px to 960px.  Computer: 961px and up.
   ------------------------------------------------------------------ */

/* Logo in the header (shows only when assets/logo.png exists) */
.brand-logo img { height: 60px; width: auto; display: block; }
@media (max-width: 600px) { .brand-logo img { height: 44px; } }
.hero-logo { text-align: center; margin: 0 0 16px; }
.hero-logo > img { width: 100%; max-width: 380px; height: auto; }
@media (min-width: 961px) { .hero-logo > img { max-width: 520px; } }

/* Everything: images never spill past the screen, long words wrap */
img { max-width: 100%; height: auto; }
body { overflow-wrap: break-word; }

/* Fingers need big targets on touch screens */
.btn, .lang-switch, .tile { min-height: 44px; }

/* Phone */
@media (max-width: 600px) {
  body { font-size: 1rem; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  .brand { font-size: 1rem; gap: 6px; }
  .stars svg { width: 11px; height: 11px; }
  .header-row { padding-top: 10px; padding-bottom: 10px; }
  .ask { padding: 16px; }
  .ask textarea { font-size: 16px; }      /* stops phones from zooming in when typing */
  .ask .btn { width: 100%; }
  .grid { grid-template-columns: 1fr; }   /* one column, easy to scroll */
  .cards { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 45%; text-align: center; }
}

/* Tablet */
@media (min-width: 601px) and (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 1.75rem; }
}

/* Computer */
@media (min-width: 961px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  main.wrap { padding-top: 36px; padding-bottom: 80px; }
  .ask { padding: 30px; }
}

/* Respect people who ask their device for less motion or larger text */
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ------------------------------------------------------------------
   ISLAND BUTTONS ON THE HOME PAGE
   Five smaller tiles on one line for tablets and computers.
   On a phone they sit two across so the names stay easy to read and tap.
   ------------------------------------------------------------------ */
.grid-islands { gap: 10px; }
.grid-islands .tile {
  display: flex; align-items: center; justify-content: center;
  min-height: 84px; padding: 12px 8px; text-align: center;
}
.grid-islands .tile strong { font-size: 1.05rem; }
.grid-islands .tile span { display: none; }

@media (min-width: 601px) {
  .grid.grid-islands { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 600px) {
  .grid.grid-islands { grid-template-columns: repeat(2, 1fr); }
  .grid-islands li:last-child { grid-column: 1 / -1; }   /* fifth tile centered across the bottom */
}

/* ------------------------------------------------------------------
   ADMIN AREA (forms, lists, messages)
   ------------------------------------------------------------------ */
.admin-nav { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.admin-nav a, .linkbutton {
  display: inline-block; padding: 8px 14px; border-radius: 999px; font: inherit; font-weight: 700;
  text-decoration: none; color: var(--navy); background: var(--turq); border: 0; cursor: pointer;
}
.admin-nav a:hover, .linkbutton:hover { filter: brightness(1.1); color: var(--navy); }
.admin-nav a:nth-child(2) { background: var(--sun); }
.admin-nav a:nth-child(3) { background: var(--green); }
.admin-nav a:nth-child(4) { background: var(--peach); }
.admin-nav a:nth-child(5) { background: var(--pink); }
.admin-nav a:nth-child(6) { background: var(--blue); color: var(--white); }
.admin-nav a:nth-child(6):hover { color: var(--white); }
.linkbutton { background: var(--white); border: 2px solid var(--navy); }
form.inline { display: inline; margin: 0; }

.flash { padding: 12px 16px; border-radius: 10px; margin: 12px 0; font-weight: 600; }
.flash.ok { background: var(--green); color: var(--navy); }
.flash.err { background: var(--pink); color: var(--navy); }
.flash ul { margin: 6px 0 0; padding-left: 20px; font-weight: 400; }

fieldset { border: 3px solid var(--blue); border-radius: var(--radius); margin: 0 0 22px; padding: 14px 16px 6px; }
legend { font-weight: 800; color: var(--blue-dark); padding: 0 8px; font-size: 1.1rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 4px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=password], .field input[type=url],
.field input[type=number], .field input[type=date], .field input[type=file], .field select, .field textarea {
  width: 100%; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--text);
  border: 2px solid var(--blue); border-radius: 8px; background: #fff;
}
.field.check label { display: inline-flex; align-items: center; gap: 10px; }
.field.check input { width: 22px; height: 22px; }
.help { color: var(--muted); font-size: 0.93rem; margin: 4px 0 0; }
.cols { display: grid; gap: 0 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cols { grid-template-columns: 1fr 1fr; } }
.thumb { max-width: 220px; height: auto; border-radius: 10px; border: 3px solid var(--turq); }

.admin-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.admin-list li { border: 3px solid var(--blue-soft); border-left: 8px solid var(--turq); border-radius: var(--radius); padding: 12px 14px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; }
.admin-list .info { flex: 1 1 260px; }
.admin-list .info strong { font-size: 1.1rem; }
.status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.85rem; font-weight: 800; color: var(--navy); }
.status.live { background: var(--green); }
.status.pending { background: var(--sun); }
.status.hidden { background: var(--blue-soft); }
.stat-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 20px; }
.stat { border-radius: var(--radius); padding: 14px; color: var(--navy); font-weight: 700; background: var(--turq); }
.stat b { display: block; font-size: 2rem; line-height: 1.1; }
.stat.s2 { background: var(--sun); } .stat.s3 { background: var(--green); } .stat.s4 { background: var(--pink); }
.btn.danger { background: var(--pink); color: var(--navy); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; align-items: end; }
.toolbar .field { margin: 0; }

/* Claim button on listing cards, and the public claim form */
.btn.claim { background: var(--sun); color: var(--navy); border: 2px solid var(--sun); }
.btn.claim:hover { background: #ffd33d; color: var(--navy); }
.claim-form { max-width: 560px; }
.claim-form input, .claim-form select, .claim-form textarea { width: 100%; }
.admin-nav a:nth-child(7) { background: var(--purple); color: var(--white); }
.admin-nav a:nth-child(7):hover { color: var(--white); }

/* Every listing card has a picture area. With no photo yet it shows a colorful placeholder. */
.card-photo { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; margin-bottom: 12px; background: var(--blue-tint); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; display: block; }
.card-photo.placeholder { display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent, var(--turq)), var(--sun)); }
.badge.nophoto { background: var(--peach); color: var(--navy); }

/* Duplicate finder */
.dup-group { margin: 0 0 16px; }
.dup-group .field.check { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; }
.dup-group .field.check label { align-items: flex-start; }
.dup-group .field.check input { flex: 0 0 auto; margin-top: 4px; }

/* Listing levels */
.card.plan-free, .card.plan-basic { padding: 14px 18px; }
.card.plan-free h3, .card.plan-basic h3 { margin-bottom: 8px; }
.card.plan-free .actions, .card.plan-basic .actions { margin-top: 4px; }
.pricing .card { padding: 22px; }
.pricing h2 { margin-top: 0; }
.pricing .price { font-size: 2rem; font-weight: 800; margin: 4px 0 12px; color: var(--blue-dark); }
.pricing .price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.pricing .includes { margin: 0; padding-left: 20px; }
.plan-pick { border: 2px solid var(--blue); border-radius: 12px; padding: 12px 16px; margin: 0 0 16px; }
.plan-pick legend { font-weight: 800; padding: 0 6px; }
.plan-pick .field.check { margin-bottom: 10px; }
.plan-pick .field.check label { align-items: flex-start; }
.plan-pick .field.check input { flex: 0 0 auto; margin-top: 4px; }

.badge.plan { background: var(--purple); color: var(--white); }

.activate { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.activate label { font-weight: 700; font-size: 0.9rem; }
.activate select, .activate input[type=date] { font: inherit; padding: 6px 8px; border: 2px solid var(--blue); border-radius: 8px; }

/* PayPal status list on the Plans page */
.checklist { list-style: none; margin: 0 0 .75rem; padding: 0; }
.checklist li { margin: .25rem 0; }

/* AI question box */
.ask-answer { background: #fff; border: 2px solid var(--teal, #0aa); border-radius: 12px; padding: .5rem 1rem; margin: .5rem 0; }
.ask-matches { list-style: none; padding: 0; margin: 0 0 1rem; }
.ask-matches li { padding: .5rem 0; border-bottom: 1px solid rgba(0,0,0,.12); }
.ask-form textarea { width: 100%; }

/* Footer links must be readable on the blue footer */
.site-footer a { color: #fff; font-weight: 600; }
.site-footer a:hover, .site-footer a:focus { color: #ffd23f; }

/* Help the Islands: its own colors, so it stands apart from the island tiles */
.c-blue   { --accent: var(--blue);   --on: #ffffff; }
.c-turq   { --accent: var(--turq);   --on: var(--navy); }
.c-green  { --accent: var(--green);  --on: var(--navy); }
.c-sun    { --accent: var(--sun);    --on: var(--navy); }
.c-peach  { --accent: var(--peach);  --on: var(--navy); }
.c-pink   { --accent: var(--pink);   --on: var(--navy); }
.c-purple { --accent: var(--purple); --on: #ffffff; }
.help-band { background: var(--accent); border-radius: var(--radius); padding: 14px 18px; margin: 8px 0 16px; }
.help-band h1 { color: var(--on); margin: 0; }
.help-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.help-card { background: var(--accent); color: var(--on); border-radius: var(--radius); padding: 16px 18px; box-shadow: 0 4px 0 rgba(11, 31, 58, 0.18); }
.help-card h3 { color: var(--on); margin: 0 0 8px; font-size: 1.2rem; }
.help-card ul { margin: 0; padding: 0; list-style: none; }
.help-card li { margin: 4px 0; }
.help-card a { color: var(--on); font-weight: 700; }
.help-tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); padding: 0; margin: 0; list-style: none; }
.help-tiles li { background: var(--accent); border-radius: var(--radius); box-shadow: 0 4px 0 rgba(11, 31, 58, 0.18); }
.help-tiles a { display: block; padding: 16px; min-height: 44px; text-decoration: none; color: var(--on); border-radius: var(--radius); }
.help-tiles a:hover, .help-tiles a:focus-visible { filter: brightness(1.08); outline: 3px solid var(--navy); }
.help-tiles strong { display: block; font-size: 1.1rem; }
.help-tiles span { font-size: 0.95rem; }
.bring-list { padding-left: 1.2rem; }
.bring-list li { margin: 10px 0; }
.help-contact { background: var(--blue-tint); border-radius: var(--radius); padding: 14px 18px; margin: 18px 0; }
.help-band-home { background: var(--sun-tint); border: 3px solid var(--sun); border-radius: var(--radius); padding: 16px 18px; margin: 26px 0 8px; }
.help-band-home h2 { margin-top: 0; }
@media (max-width: 600px) { .help-grid, .help-tiles { grid-template-columns: 1fr; } }

/* Emergency numbers */
.em-911 { background: #c8102e; color: #fff; border-color: #c8102e; font-size: 1.4rem; padding: 14px 26px; }
.em-card { margin: 16px 0; }
.em-card h2 { color: var(--on); margin: 0 0 8px; }
.em-card li { padding: 8px 0; border-top: 1px solid rgba(11, 31, 58, 0.25); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.em-card li:first-child { border-top: 0; }
.em-name { flex: 1 1 220px; font-weight: 600; }
.em-card a.em-num, .em-num { background: #fff; color: #0b1f3a !important; border-radius: 999px; padding: 8px 16px; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 800; font-size: 1.1rem; }
.crumbs-bottom { margin: 28px 0 8px; padding-top: 14px; border-top: 2px solid var(--blue-soft); }

/* ROAR logo beside the big logo: a link to another organization's donation page. This site takes no money. */
.partner-title { margin: 14px 0 0; text-align: center; font-variant: small-caps; text-transform: lowercase; letter-spacing: .12em; font-weight: 700; font-size: 1rem; color: var(--navy); }
.partner-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 28px; margin-top: 12px; }
.donate-logo { display: block; padding: 8px; border-radius: 16px; border: 3px solid transparent; }
.donate-logo img { height: 100px; width: auto; max-width: 280px; display: block; }
.donate-logo.small img { height: 76px; }
.donate-logo:hover, .donate-logo:focus-visible { border-color: var(--blue); background: var(--blue-tint); outline: none; }
.donate-logo:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 2px; }

.faq details { border: 2px solid var(--blue); border-radius: 14px; margin: 10px 0; background: #fff; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; color: var(--navy); min-height: 44px; }
.faq details[open] summary { border-bottom: 1px solid var(--blue); }
.faq details p { margin: 0; padding: 12px 16px 16px; }
#get-listed ol { padding-left: 1.3em; }
#get-listed li { margin: 6px 0; }
.em-faq { background: var(--sun); color: var(--navy); border: 3px solid var(--navy); font-size: 1.4rem; padding: 14px 26px; font-weight: 800; box-shadow: 0 4px 0 var(--navy); }
.em-faq:hover, .em-faq:focus-visible { background: #ffd84d; color: var(--navy) !important; }
.site-footer a[href*="faq.php"] { font-weight: 800; text-decoration: underline; }

/* Bold dark outline and shadow on every button */
.btn, button.btn, .lang-switch { border: 3px solid var(--navy) !important; box-shadow: 0 4px 0 var(--navy); }
.btn:active, .lang-switch:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--navy); }
.tile { box-shadow: 0 0 0 3px var(--navy), 0 7px 0 3px var(--navy); }
.tile:hover, .tile:focus-visible { box-shadow: 0 0 0 3px var(--navy), 0 11px 0 3px var(--navy); }
.help-card, .help-tiles li { box-shadow: 0 0 0 3px var(--navy), 0 7px 0 3px var(--navy); }
.grid { gap: 22px; }
.page-end { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 36px 0 12px; padding-top: 22px; border-top: 2px solid var(--blue-soft); }
.wi-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.home-search, .search-form { margin: 18px 0; }
.home-search label, .search-form label { display: block; font-weight: 700; margin: 8px 0 4px; }
.home-search input[type=search], .search-form input[type=search], .search-form select { width: 100%; max-width: 520px; padding: 12px; font-size: 1.05rem; border: 2px solid var(--navy); border-radius: 8px; }
.home-search .btn, .search-form .btn { margin-top: 10px; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 28px; }
.prose p, .prose li { line-height: 1.6; }

/* Home page: the big logo is right below, so no repeated brand or stripe in the header */
.site-header.is-home { border-bottom: 0; border-image: none; }
.site-header.is-home .brand { display: none; }
.site-header.is-home .header-row { justify-content: flex-end; }
.prose .table-wrap { overflow-x: auto; margin: 14px 0; }
.prose table.info { border-collapse: collapse; width: 100%; }
.prose table.info th, .prose table.info td { border: 2px solid var(--navy); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose table.info th { background: #eaf3ff; }
.prose a { word-break: break-word; }

.pet-banner { width: 100%; max-width: 760px; height: auto; border-radius: 12px; margin: 8px 0 14px; display: block; }
.pet-pics { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 14px; }
.pet-pics .pet-pic { width: 180px; height: auto; border-radius: 12px; }
.pet-flag { width: 120px; height: auto; border-radius: 8px; display: block; margin: 6px 0 10px; }

.callout { border: 3px solid var(--navy); border-left-width: 10px; background: #fff8dc; border-radius: 10px; padding: 12px 16px; margin: 14px 0; }
.callout p { margin: 6px 0; }

/* Star ratings and favorites */
.rate-row { margin: 12px 0 6px; }
.rate-avg { margin: 0 0 6px; }
.stars-static { color: #b36b00; font-size: 1.2rem; letter-spacing: 2px; }
.rate-form fieldset { border: 0; padding: 0; margin: 0 0 8px; }
.rate-form legend { font-weight: 700; padding: 0; margin-bottom: 2px; }
.star { background: #fff; border: 2px solid var(--navy); border-radius: 10px; color: #b36b00; font-size: 1.7rem; line-height: 1; width: 52px; height: 52px; cursor: pointer; margin: 2px 4px 2px 0; }
.star:hover, .star:focus-visible, .star.on { background: #ffe9a6; }
.fav-btn.is-fav { background: #ffd6e7; }

.rainbow-btn:hover { filter: brightness(0.92); }

/* Every button the same size */
.btn, button.btn, a.btn, .em-911, .em-faq {
  font-size: 1.05rem !important; font-weight: 800 !important; padding: 12px 22px !important;
  min-height: 48px; line-height: 1.2; display: inline-flex; align-items: center; justify-content: center; text-align: center;
}

.prose ol.flow { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 14px 0; counter-reset: s; }
.prose ol.flow li { counter-increment: s; border: 3px solid var(--navy); border-radius: 14px; padding: 10px 14px; font-weight: 800; background: #e8f6f4; }
.prose ol.flow li::before { content: counter(s) '. '; }
.prose ol.flow li:not(:last-child)::after { content: ' \2192'; }
.school-pics { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 14px; }
.school-pics img { max-width: 100%; height: auto; border-radius: 12px; }
.school-flyer { border-radius: 10px; height: auto; max-width: 100%; }
/* Secondary pages: no rainbow line, no repeated title (still spoken by screen readers) */
.site-header { border-bottom: 0; border-image: none; }
.site-header .brand > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Every page: the Home button is already at the bottom, so the header only holds the language button */
.site-header .brand { display: none; }
.site-header .header-row { justify-content: flex-end; }
.page-start { margin: 14px 0 6px; }
.top50-btn { font-size: 1.15rem; }
.top50 h2 { margin-top: 28px; }
.top-list { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 14px; }
.top-item { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; border: 2px solid var(--blue-soft); border-radius: 14px; padding: 10px; background: #fff; }
.top-item img { width: 220px; max-width: 100%; height: auto; border-radius: 10px; flex: 0 0 auto; }
.top-item > div { flex: 1 1 240px; min-width: 0; }
.top-item h3 { margin: 4px 0 6px; }
.top-item p { margin: 4px 0; }
.top-item .plan { font-style: italic; }
/* Welcome starburst in the header */
.site-header .header-row { justify-content: space-between; align-items: center; }
.welcome-burst { position: relative; width: 250px; height: 150px; display: flex; align-items: center; justify-content: center; text-align: center; margin: 6px 0; }
.welcome-burst svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.welcome-burst p { position: relative; margin: 0; padding: 0 44px; color: var(--navy, #0a2540); font-size: 0.82rem; line-height: 1.2; font-weight: 600; }
.welcome-burst p strong { display: block; font-size: 1.35rem; letter-spacing: 1px; }
@media (max-width: 600px) { .welcome-burst { width: 210px; height: 128px; } .welcome-burst p { padding: 0 34px; font-size: 0.74rem; } .welcome-burst p strong { font-size: 1.15rem; } }
.site-header.is-home .header-row { justify-content: space-between; }

/* paint-splash badge */
.welcome-burst { width: 260px; height: 163px; }
.welcome-burst p { padding: 0 52px; }
@media (max-width: 600px) { .welcome-burst { width: 220px; height: 138px; } .welcome-burst p { padding: 0 42px; } }

.welcome-burst p { padding: 0 50px; font-size: 0.8rem; }
.welcome-burst p strong { font-size: 1.25rem; }
@media (max-width: 600px) { .welcome-burst p { padding: 0 40px; font-size: 0.72rem; } .welcome-burst p strong { font-size: 1.05rem; } }

.welcome-burst p { color:#000; padding:0 34px; font-size:.85rem; font-weight:700; }
.welcome-burst p strong { font-size:1.3rem; }
@media (max-width:600px){ .welcome-burst p { padding:0 28px; font-size:.74rem; } .welcome-burst p strong { font-size:1.1rem; } }

.welcome-sign{margin:6px 0;line-height:0}.welcome-sign img{width:230px;height:auto;display:block}
@media (max-width:600px){.welcome-sign img{width:170px}}

.welcome-sign img{width:310px}.welcome-sign a,.burst-link{display:block;color:inherit;text-decoration:none}.burst-link{position:absolute;inset:0}.burst-link{display:flex;align-items:center;justify-content:center}.welcome-sign a:hover img{transform:scale(1.03)}.welcome-sign img{transition:transform .15s}
@media (max-width:600px){.welcome-sign img{width:210px}}

.hero-logo > img { max-width: 520px; }
@media (min-width: 961px) { .hero-logo > img { max-width: 700px; } }
@media (max-width: 600px) { .hero-logo > img { max-width: 100%; } }

.checklist{list-style:none;padding:0;columns:2;column-gap:28px}.checklist li{break-inside:avoid;padding:3px 0;line-height:1.5}.checklist li:before{content:'\2610  '}
@media (max-width:600px){.checklist{columns:1}}
.help-guides{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}

.btn-row{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}
.em-911.em-big{background:#e60023;color:#fff;border:4px solid var(--navy);font-size:1.9rem;font-weight:900;letter-spacing:.5px;padding:20px 40px;box-shadow:0 6px 0 var(--navy);text-transform:uppercase}
.em-911.em-big:hover,.em-911.em-big:focus-visible{background:#ff1a3d;color:#fff}
@media (max-width:600px){.em-911.em-big{font-size:1.45rem;padding:16px 24px;width:100%;text-align:center}}
a.btn.em-911.em-big{background:#e60023!important;color:#fff!important;border:4px solid #0a2540!important;font-size:1.9rem!important;font-weight:900!important;padding:20px 40px!important;box-shadow:0 6px 0 #0a2540!important;text-transform:uppercase;min-height:64px}
@media (max-width:600px){a.btn.em-911.em-big{font-size:1.45rem!important;padding:16px 24px!important}}

a.btn.b-blue{background:#0073cf!important;color:#fff!important;border:3px solid #0a2540!important}
a.btn.b-green{background:#2fc25b!important;color:#0a2540!important;border:3px solid #0a2540!important}
a.btn.b-yellow{background:#ffc400!important;color:#0a2540!important;border:3px solid #0a2540!important}
a.btn.b-purple{background:#7b3fe4!important;color:#fff!important;border:3px solid #0a2540!important}
a.btn.b-blue:hover,a.btn.b-green:hover,a.btn.b-yellow:hover,a.btn.b-purple:hover{filter:brightness(1.12)}

.footer-contact{margin:6px 0}.footer-contact a{font-weight:800}

.footer-copy{margin:6px 0;font-size:.95rem}

/* Bigger welcome sign (logo) in the header, with less empty space */
.welcome-sign{margin:0}
.welcome-sign img{width:540px;max-width:100%}
.site-header .header-row{flex-wrap:wrap;gap:6px;padding-top:4px;padding-bottom:0}
.hero-logo{margin:0 0 10px}
.hero-logo > img{max-width:100%}
@media (min-width:961px){.hero-logo > img{max-width:820px}}
@media (max-width:600px){.welcome-sign img{width:300px}}

/* Main logo fills the page width; pull the two logos closer together */
.hero-logo > img{width:100%;max-width:100%}
@media (min-width:961px){.hero-logo > img{max-width:1000px}}
.site-header.is-home{margin-bottom:-18px}
.hero-logo{margin-top:0}

/* Welcome sign: a smaller size so the main logo is the star */
.welcome-sign img{width:360px}
@media (max-width:600px){.welcome-sign img{width:260px}}

.status.unwanted { background: var(--pink); }
