/* ==========================================================================
   Delivery-area pages
   A district page borrows the rate-card styling from site.css and adds only
   what it needs of its own: the four-number header and the district grid.
   ========================================================================== */

.ar-hero{padding-top:38px;padding-bottom:30px}
.ar-h1{margin:14px 0 10px;max-width:16ch}
.ar-lead{max-width:62ch;margin-bottom:26px}

/* --- The four figures a buyer wants before anything else --- */
.ar-stats{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;
  margin:0 0 26px;padding:0;list-style:none
}
.ar-stats>div{
  background:#fff;border:1px solid var(--line,#E4E9E0);border-radius:16px;
  padding:16px 16px 14px;box-shadow:0 2px 10px rgba(15,51,37,.05)
}
.ar-stats b{
  display:block;font-size:clamp(22px,3.2vw,30px);line-height:1.05;
  color:var(--ink,#0F3325);font-weight:800;letter-spacing:-.01em
}
.ar-stats b small{font-size:.46em;font-weight:700;margin-inline-start:3px;opacity:.6}
.ar-stats span{display:block;margin-top:7px;font-size:14px;font-weight:500;color:var(--slate,#4B5751)}

.ar-count{
  display:inline-block;margin:0 0 4px;padding:6px 13px;border-radius:999px;
  background:rgba(125,184,62,.16);color:#35601A;font-weight:700;font-size:14.5px
}

/* --- District grid, used by both the index and the "rest of the route" --- */
.ar-div{margin-bottom:32px}
.ar-div>.h3{margin:0 0 14px}

.ar-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));
  gap:12px;margin:0;padding:0;list-style:none
}
.ar-grid a{
  display:block;height:100%;padding:15px 16px 14px;border-radius:15px;
  background:#fff;border:1px solid var(--line,#E4E9E0);text-decoration:none;
  transition:border-color .2s,transform .24s cubic-bezier(.19,.86,.24,1),box-shadow .24s
}
.ar-grid a:hover,.ar-grid a:focus-visible{
  border-color:#4F8A26;transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(15,51,37,.09)
}
.ar-grid b{display:block;color:var(--ink,#0F3325);font-size:17px;font-weight:700;line-height:1.3}
.ar-grid span{display:block;margin-top:6px;font-size:14px;color:var(--slate,#4B5751)}
.ar-grid small{display:block;margin-top:4px;font-size:14px;color:#35601A;font-weight:700}

.ar-note{
  margin:6px 0 0;max-width:64ch;font-size:15px;line-height:1.7;color:var(--slate,#4B5751);
  padding-inline-start:14px;border-inline-start:3px solid var(--line,#E4E9E0)
}

.ar-near{background:var(--mist,#F4F7F2)}
.ar-all{margin:18px 0 0}
.ar-all a{color:#3D6B1E;font-weight:700;text-decoration:none}
.ar-all a:hover{text-decoration:underline}

@media (max-width:860px){
  .ar-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:520px){
  .ar-h1{max-width:none}
  .ar-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .ar-grid a{padding:13px 13px 12px}
  .ar-grid b{font-size:15px}
}

@media (prefers-reduced-motion:reduce){
  .ar-grid a{transition:none}
  .ar-grid a:hover,.ar-grid a:focus-visible{transform:none}
}

/* --- Find your district ---

   Twenty-eight cards is a lot to read when you already know which one you
   want. The box is revealed by script; with none it stays hidden and the
   full list is the page, as it was.

   [hidden] is spelled out on the card and the division because both sit
   inside a grid, and a grid item's display would otherwise win. */
.ar-find{margin:0 0 26px;max-width:420px}
.ar-find .fld{display:block}
.ar-find .fld > span{
  display:block;margin:0 0 7px;font-size:14px;font-weight:600;
  color:var(--slate,#4B5751)
}
.ar-find .in{
  width:100%;height:50px;padding:0 16px;font-size:16px;
  border-radius:13px;border:1.5px solid var(--line,#E4E9E0);
  background:#fff;color:var(--ink,#0F3325);
  transition:border-color .18s,box-shadow .18s
}
.ar-find .in:focus{
  outline:none;border-color:#4F8A26;
  box-shadow:0 0 0 4px rgba(125,184,62,.18)
}
.ar-find.is-empty .in{border-color:#C2703F}
.ar-find-say{
  margin:8px 0 0;min-height:1.2em;font-size:14px;
  color:var(--slate,#4B5751)
}
.ar-find.is-empty .ar-find-say{color:#9A4A20}

.ar-grid > li[hidden],
.ar-div[hidden]{display:none}

/* --- "Delivery cost is open to discussion" ---

   The figures on this page are worked out from distance and are real
   enough to plan with, but the shop settles the charge with the buyer.
   Saying so beside the numbers costs one line and saves an awkward
   moment on the phone. */
.ar-talk-note{
  margin:14px auto 0;max-width:56ch;text-align:center;
  font-size:14.5px;line-height:1.65;color:var(--slate,#4B5751);
  background:rgba(125,184,62,.10);border:1px solid rgba(125,184,62,.28);
  border-radius:13px;padding:11px 16px
}
html[lang="bn"] .ar-talk-note{font-size:15px;line-height:1.75}

/* The same thing in two words, under the delivery figure on a district
   page, where a whole sentence would not fit. */
.ar-talk{
  display:inline-block;margin-inline-start:6px;
  font-style:normal;font-weight:700;font-size:.92em;
  color:#35601A
}
html[lang="bn"] .ar-talk{font-size:.95em}
