/* Full-bleed cork felt behind the board — same recipe as the in-store TV
   (tan + fractal-noise grain + soft top glow) so web and TV read as one wall. */
.cork-felt { background-color: #c19a5b;
  background-image:
    radial-gradient(120% 60% at 50% 0%, rgba(255,240,205,.32), rgba(60,40,15,0) 55%, rgba(40,25,8,.35) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-blend-mode: normal, multiply; background-size: cover, 240px 240px; }
.cork-wrap { max-width: 1100px; margin: 0 auto; padding: 2rem 1rem 4rem; }
.cork-head h1 { font-size: 2rem; margin: 0 0 .3rem; color: #2a1d0e;
  text-shadow: 0 1px 0 rgba(255,245,220,.35); }
.cork-tagline { color: #4a3a22; max-width: 46rem; margin: 0 0 1.2rem; }
.cork-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.cork-tab { padding: .35rem .9rem; border: 1px solid rgba(120,90,40,.4); border-radius: 999px;
  text-decoration: none; color: #333; font-size: .9rem; background: #fffdf7; }
.cork-tab.active { background: #c8202e; border-color: #c8202e; color: #fff; }
.cork-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem; }
.cork-card { border: 1px solid rgba(120,90,40,.25); border-radius: 10px; overflow: hidden;
  background: #fff; display: flex; flex-direction: column;
  box-shadow: 0 4px 9px rgba(30,15,5,.28), 0 1px 2px rgba(0,0,0,.15); }
.cork-card-in { padding: 1rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
/* Uniform 16:9 hero across real photos, venue logos, and category banners. */
.cork-hero { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; display: flex;
  align-items: center; justify-content: center; }
.cork-hero-img { width: 100%; height: 100%; }
.cork-hero-img.cover { object-fit: cover; }
.cork-hero.brand { background: #faf7f0; }
.cork-hero-img.contain { object-fit: contain; padding: .9rem; }
.cork-banner-ico { width: 46px; height: 46px; color: #fff; opacity: .95; }
.cork-banner-event { background: linear-gradient(135deg, #c8202e, #9b1420); }
.cork-banner-business { background: linear-gradient(135deg, #15803d, #0f5a2c); }
.cork-banner-classified { background: linear-gradient(135deg, #b45309, #8a3f07); }
.cork-banner-announcement { background: linear-gradient(135deg, #4338ca, #2c2597); }
.cork-cat { align-self: flex-start; color: #15803d; font-size: .65rem;
  text-transform: uppercase; letter-spacing: .5px; font-weight: 700; }
.cork-card h3 { margin: 0; font-size: 1.05rem; }
.cork-when { color: #c8202e; font-weight: 700; font-size: .8rem;
  text-transform: uppercase; }
.cork-where { color: #555; font-size: .82rem; }
.cork-where-link { color: #555; text-decoration: none; }
.cork-where-link:hover { color: #c8202e; text-decoration: underline; }
.cork-ico { width: .9em; height: .9em; vertical-align: -.12em; margin-right: .28rem;
  opacity: .7; }
/* Quiet organizer byline (was a red badge — too loud). */
.cork-src-label { align-self: flex-start; font-size: .74rem; font-style: italic;
  color: #8a7a5e; letter-spacing: .2px; }
.cork-body { margin: 0; color: #444; font-size: .92rem; line-height: 1.4; }
/* Collapsed cards clamp the body; expanding reveals all of it + the source link.
   Body is unclamped by default so no-JS users see everything and the script can
   measure natural height before deciding a card is expandable. */
.cork-expandable:not(.expanded) .cork-body { display: -webkit-box;
  -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.cork-expandable { cursor: pointer; }
.cork-expandable:hover { border-color: #c8202e; }
.cork-expandable:focus-visible { outline: 2px solid #c8202e; outline-offset: 2px; }
.cork-more { align-self: flex-start; font-size: .75rem; color: #c8202e;
  font-weight: 700; }
.cork-contact { font-size: .85rem; color: #333; font-weight: 600; }
.cork-src { margin-top: auto; font-size: .75rem; color: #999; }
.cork-src a, .cork-source-link { color: #c8202e; font-weight: 600; }
.cork-source-link { display: none; }
.cork-expandable.expanded .cork-source-link { display: inline-block; }
.cork-post-cta { border: 2px dashed #c8202e; background: #fff;
  align-items: center; justify-content: center; min-height: 120px;
  text-decoration: none; color: #c8202e; font-weight: 700; }
.cork-empty { color: #6b6b6b; padding: 2rem 0; }
.cork-form { display: flex; flex-direction: column; gap: .8rem; max-width: 34rem; }
.cork-form label { display: flex; flex-direction: column; gap: .25rem;
  font-size: .9rem; font-weight: 600; color: #333; }
.cork-form input, .cork-form select, .cork-form textarea {
  padding: .5rem .6rem; border: 1px solid #ccc; border-radius: 6px;
  font: inherit; }
.cork-form button { background: #c8202e; color: #fff; border: 0;
  padding: .7rem 1.4rem; border-radius: 8px; font-weight: 700; cursor: pointer; }
.cork-alert { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b;
  padding: .6rem .8rem; border-radius: 8px; }
.cork-admin-row { display: flex; gap: .6rem; align-items: baseline;
  border-bottom: 1px solid #eee; padding: .5rem 0; flex-wrap: wrap; }

/* Single-pin phone page (the per-card QR target) */
.pin-back { margin: 0 0 1rem; }
.pin-back a { color: #c8202e; font-weight: 700; text-decoration: none; }
.pin-solo { max-width: 34rem; margin: 0 auto; padding: 0 0 1.2rem; }
.pin-solo .cork-hero { aspect-ratio: 16 / 9; }
.pin-title { margin: 1rem 1rem .4rem; font-size: 1.5rem; line-height: 1.2; }
.pin-when, .pin-where, .pin-body, .pin-contact, .pin-src {
  margin: .35rem 1rem; font-size: 1rem; color: #333; }
.pin-where a { color: #c8202e; }
.pin-body { white-space: pre-wrap; color: #444; }
.pin-src { font-size: .85rem; color: #6b6b6b; font-style: italic; }
.pin-more { margin: 1rem 0 .2rem; }
.pin-more-btn { display: inline-block; padding: .55rem 1.1rem; border: 1.5px solid #c8202e;
  border-radius: 8px; color: #c8202e; font-weight: 700; text-decoration: none; }
.pin-more-btn:hover { background: #c8202e; color: #fff; }
.pin-cta { text-align: center; margin: 1.4rem 0 0; }
.cork-btn { display: inline-block; background: #c8202e; color: #fff;
  padding: .7rem 1.4rem; border-radius: 8px; font-weight: 700; text-decoration: none; }
.cork-admin-row form { display: inline; }

.cork-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem; max-width: 40rem; margin: 1rem 0; }
.cork-pick { display: flex; align-items: center; gap: .8rem; padding: 1.4rem 1.2rem;
  border: 1px solid #e5e5e5; border-radius: 12px; text-decoration: none; color: #222;
  font-size: 1.15rem; font-weight: 700; background: #fff; transition: border-color .15s; }
.cork-pick:hover { border-color: #c8202e; }
.cork-pick span { font-size: 1.8rem; }
.cork-contact-block { border: 1px solid #e5e5e5; border-radius: 10px; padding: 1rem;
  display: flex; flex-direction: column; gap: .8rem; margin: 0; }
.cork-contact-block legend { font-weight: 700; padding: 0 .4rem; }
.cork-check { flex-direction: row !important; align-items: center; gap: .5rem; font-size: .9rem; }
.cork-help { color: #6b6b6b; font-size: .8rem; margin: 0; }
.cork-linkbtn { background: none; border: 0; color: #c8202e; font-weight: 600;
  cursor: pointer; padding: .6rem 0; font-size: .9rem; }

/* Card titles are real links (SEO: crawlable path to pin pages) but keep the
   plain-title look; the card's expand-click ignores clicks on links. */
.cork-title-link { color: inherit; text-decoration: none; }
.cork-title-link:hover { text-decoration: underline; }
