
/* Contact us (app). */
.ctapp{display:grid;gap:13px;padding:4px 0 24px}
.ctapp__lead{margin:0 0 4px;color:var(--muted);font-size:.88rem;line-height:1.65}
.ctapp .field{display:grid;gap:6px}
.ctapp .field>span{font-size:.82rem;font-weight:600}
.ctapp .field>span small{color:var(--muted);font-weight:400;margin-left:4px}
.ctapp input,.ctapp textarea{font:inherit;font-size:.95rem;color:var(--ink);background:var(--card);
  border:1.5px solid var(--border);border-radius:11px;padding:12px 13px;width:100%}
.ctapp textarea{resize:vertical;min-height:112px;line-height:1.6}
.ctapp input:focus,.ctapp textarea:focus{outline:none;border-color:var(--court)}
.ctapp__hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.ctapp__msg{margin:2px 0 0;font-size:.85rem;color:var(--muted);min-height:1.2em;line-height:1.55}
.ctapp__msg.is-err{color:var(--danger)}
.ctapp__thanks{text-align:center;padding:40px 20px 28px;display:grid;gap:12px;justify-items:center}
.ctapp__mark{inline-size:56px;block-size:56px;border-radius:50%;display:grid;place-items:center;
  background:var(--ok-tint);color:var(--ok)}
.ctapp__mark svg{inline-size:27px;block-size:27px}
.ctapp__thanks h2{margin:4px 0 0;font-size:1.15rem;line-height:1.4}
.ctapp__thanks p{margin:0 0 10px;color:var(--muted);font-size:.9rem;line-height:1.65;max-width:34ch}

/* News list, one article, and the gallery in the app. */
.artrow{display:flex;gap:12px;align-items:center;width:100%;text-align:left;cursor:pointer;
  background:var(--card);border:1px solid var(--border);border-radius:13px;padding:11px 12px;font:inherit}
.artrow + .artrow{margin-top:10px}
.artrow__pic{inline-size:62px;block-size:56px;border-radius:9px;flex:none}
.artrow__pic img{inline-size:100%;block-size:100%;object-fit:cover}
.artrow__text{display:grid;gap:3px;flex:1;min-inline-size:0}
.artrow__title{font-weight:600;font-size:.94rem;line-height:1.4}
.artrow__sum{color:var(--muted);font-size:.82rem;line-height:1.5;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.artrow__date{color:var(--muted);font-size:.74rem}
.artrow__ch{color:var(--muted);flex:none;font-size:1.1rem}

.artbody{padding:4px 0 28px;display:grid;gap:14px}
.artbody__cover{block-size:190px;border-radius:12px}
.artbody__cover img{inline-size:100%;block-size:100%;object-fit:cover}
.artbody__meta{margin:0;color:var(--muted);font-size:.8rem}
.artbody .prose{font-size:.95rem;line-height:1.75}
.artbody .prose h2{font-size:1.1rem;margin:22px 0 8px}
.artbody .prose p{margin:0 0 14px}
.artbody .prose ul,.artbody .prose ol{margin:0 0 14px;padding-left:20px}
.artbody .prose a{color:var(--court)}
.artbody .prose img{max-inline-size:100%;block-size:auto;border-radius:9px}

.agal{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-bottom:24px}
.agal__item{margin:0;display:grid;gap:5px}
.agal__pic{block-size:120px;border-radius:10px}
.agal__pic img{inline-size:100%;block-size:100%;object-fit:cover}
.agal__item figcaption{color:var(--muted);font-size:.76rem;line-height:1.45}

/* ---------------------------------------------------------------------------
   Gallery, grouped by venue.

   Photos of eight different clubs in one undivided grid tell you nothing about
   where anything is. Each venue gets its own heading and its own strip, and the
   count sits in the heading so a club with two photos does not look broken.
   --------------------------------------------------------------------------- */
/* The container held a two-column grid of photos before it held groups. Left as
   it was, each venue section became a grid cell and two venues sat side by side
   in half the width. Grouped, it is a plain block and the grid moves inside. */
.agal--grouped{display:block;grid-template-columns:none}
.agal__group{margin:0 0 22px}
.agal__gh{display:flex;align-items:baseline;gap:8px;margin:0 0 10px;
  font-size:.95rem;font-weight:650;line-height:1.3}
.agal__gh::before{content:"";inline-size:3px;block-size:14px;border-radius:2px;
  background:var(--court);flex:none;align-self:center}
.agal__gn{margin-left:auto;font-size:.74rem;font-weight:500;color:var(--muted)}
.agal__grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}

/* Each tile is a button: the whole thing opens the viewer. */
.agal__tile{position:relative;display:block;padding:0;border:0;background:none;
  cursor:pointer;border-radius:11px;overflow:hidden;font:inherit;text-align:left}
.agal__tile .img-hold{display:block;aspect-ratio:4/3;background:var(--paper)}
.agal__tile img{inline-size:100%;block-size:100%;object-fit:cover;display:block;
  transition:transform .35s ease}
.agal__tile:active img{transform:scale(1.03)}
.agal__cap{position:absolute;inset:auto 0 0;padding:18px 9px 7px;color:#fff;
  font-size:.7rem;line-height:1.3;
  background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.74) 100%);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.agal__tile:focus-visible{outline:2px solid var(--court);outline-offset:2px}

/* ---------------------------------------------------------------------------
   The photo viewer: one photo at a time, swipe or tap to move through the rest.
   --------------------------------------------------------------------------- */
.alb{position:fixed;inset:0;z-index:120;background:rgba(8,10,14,.96);
  display:grid;grid-template-rows:auto 1fr auto;
  opacity:0;transition:opacity .2s ease}
.alb.is-in{opacity:1}

.alb__bar{display:flex;align-items:center;gap:12px;padding:12px 14px;color:#fff}
.alb__count{font-size:.8rem;font-variant-numeric:tabular-nums;opacity:.72}
.alb__venue{font-size:.8rem;font-weight:600;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.alb__x{margin-left:auto;inline-size:34px;block-size:34px;flex:none;border:0;
  border-radius:50%;background:rgba(255,255,255,.12);color:#fff;cursor:pointer;
  display:grid;place-items:center;font-size:1.3rem;line-height:1}
.alb__x:active{background:rgba(255,255,255,.22)}

/* The track slides; each slide is exactly the viewport, so a swipe lands square
   on the next photo rather than somewhere between two. */
.alb__win{overflow:hidden;position:relative}
.alb__track{display:flex;block-size:100%;
  transition:transform .3s cubic-bezier(.22,.61,.36,1)}
.alb__track.is-dragging{transition:none}
.alb__slide{flex:0 0 100%;display:grid;place-items:center;padding:0 10px}
.alb__slide img{max-inline-size:100%;max-block-size:100%;object-fit:contain;
  border-radius:8px;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}

.alb__foot{padding:10px 16px 22px;color:#fff;display:grid;gap:12px;justify-items:center}
.alb__cap{margin:0;font-size:.85rem;line-height:1.55;text-align:center;opacity:.9;
  max-inline-size:40ch;min-block-size:1.2em}

/* Dots, but capped: forty photos must not become forty dots. */
.alb__dots{display:flex;gap:6px;align-items:center}
.alb__dot{inline-size:6px;block-size:6px;border-radius:50%;flex:none;
  background:rgba(255,255,255,.3);transition:background .2s ease,transform .2s ease}
.alb__dot.is-on{background:#fff;transform:scale(1.35)}

/* Arrows: pointer devices only - on a phone the swipe is the control. */
.alb__nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2;
  inline-size:42px;block-size:42px;border:0;border-radius:50%;cursor:pointer;
  background:rgba(255,255,255,.14);color:#fff;font-size:1.5rem;line-height:1;
  display:none;place-items:center}
.alb__nav:hover{background:rgba(255,255,255,.26)}
.alb__nav--prev{left:10px}
.alb__nav--next{right:10px}
.alb__nav[disabled]{opacity:.25;cursor:default}
@media (hover:hover) and (pointer:fine){ .alb__nav{display:grid} }

@media (prefers-reduced-motion: reduce){
  .alb,.alb__track,.alb__tile img{transition:none}
}

/* ---------------------------------------------------------------------------
   Polish on the article list.
   --------------------------------------------------------------------------- */
.artrow{transition:border-color .15s ease,box-shadow .15s ease,transform .1s ease}
.artrow:active{transform:scale(.995);border-color:var(--line-soft,var(--border))}
.artrow:focus-visible{outline:2px solid var(--court);outline-offset:2px}
.artrow__pic{overflow:hidden;background:var(--paper)}
.artrow__pin{display:inline-block;margin-bottom:2px;padding:1px 7px;border-radius:999px;
  background:var(--court-tint);color:var(--court);
  font-size:.62rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}

/* A heading above a list, used by the gallery and anywhere else that needs one. */
.asechead{margin:2px 0 12px;color:var(--muted);font-size:.82rem;line-height:1.6}
