/* youth-public-v82.css */
/* Youth Pulse V8.2 · public layout + high-contrast event discovery
   Loaded last on index and events to intentionally override older HUD skins. */

/* HOME: full-width spotlight / 4 trends / full-width social; old crawl DOM removed. */
.youth-v82-featured{margin:4px 0 20px!important;display:block!important}
.youth-v82-section-eyebrow{color:#20777a;font-size:.7rem;letter-spacing:.16em;font-weight:850;margin:0 0 10px;padding:0 3px}
.youth-v82-featured>.col-12{width:100%!important;padding:0!important}
.youth-v82-featured .card{width:100%;background:linear-gradient(140deg,#fdfcf8,#f4faff)!important;border:1px solid #cbe1e0!important;box-shadow:0 14px 35px #21496018!important}
.youth-v82-featured .card-header{background:transparent!important;border-bottom:1px solid #dceae9!important}
.youth-v82-featured .card-title{color:#163844!important;letter-spacing:.01em!important;font-weight:850!important}
.youth-v82-featured .hud-card-link{color:#08767b!important}
.youth-v82-featured .card-body{padding:14px!important}
.youth-v82-featured #events-table{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px!important}
.youth-v82-featured .hud-spotlight-card{background:#ffffff!important;border:1px solid #dae5e9!important;border-radius:14px!important;box-shadow:0 7px 18px #17455713!important;overflow:hidden!important}
.youth-v82-featured .hud-spotlight-card:hover{border-color:#67afb5!important;transform:translateY(-3px);box-shadow:0 16px 28px #17455725!important}
.youth-v82-featured .hud-spotlight-poster{aspect-ratio:1.55!important;border-radius:0!important;letter-spacing:1px}
.youth-v82-featured .hud-spotlight-poster img{object-fit:cover}
.youth-v82-featured .hud-spotlight-body{padding:11px 12px 12px!important}
.youth-v82-featured .hud-spotlight-body h3{color:#192e39!important;font-size:.86rem!important;font-weight:850!important;line-height:1.4!important;min-height:2.8em;-webkit-line-clamp:2}
.youth-v82-featured .hud-spotlight-location{color:#41636c!important;font-size:.72rem}
.youth-v82-featured .hud-spotlight-bottom{color:#285760!important;border-color:#dce7eb!important;margin-top:12px;font-size:.7rem}
.youth-v82-featured .hud-spotlight-bottom strong{color:#b25224!important}
.youth-v82-featured .hud-dashboard-empty{color:#395f65!important}
.youth-v82-featured #events-status{color:#486b72!important}

/* TOP 4: expand formerly 2x2 blocks into one row with equal widths. */
.youth-v82-trends{margin:24px 0 12px!important;display:block!important}
.youth-v82-trends>.youth-v82-trend-four{width:100%!important;padding:0!important}
.youth-v82-trends .hud-stat-group-label{color:#20545c!important;margin:0 0 12px!important;font-weight:850;letter-spacing:.12em}
.youth-v82-trends .youth-v82-trend-four>.w-100>.row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px!important;margin:0!important}
.youth-v82-trends .youth-v82-trend-four>.w-100>.row>.col-sm-6{width:auto!important;max-width:none!important;display:contents!important;padding:0!important}
.youth-v82-trends .card{margin-bottom:0!important;min-width:0!important;height:100%;background:linear-gradient(145deg,#f9fcfb,#eef8fb)!important;border:1px solid #cee2e5!important;box-shadow:0 8px 21px #22577713!important}
.youth-v82-trends .card-body{min-width:0;padding:16px!important}
.youth-v82-trends h1.youth-stat-value{font-size:clamp(1.05rem,1.35vw,1.36rem)!important;line-height:1.3!important;color:#132f42!important;min-height:2.5em;overflow-wrap:anywhere}
.youth-v82-trends .card-title{color:#205666!important;letter-spacing:.03em!important}
.youth-v82-trends .hud-metric-foot,.youth-v82-trends .hud-trend-start,.youth-v82-trends #stat-hot-source{color:#50777c!important}
.youth-v82-top10-row{margin:12px 0 18px!important}
.youth-v82-top10-row>.youth-v82-top10{padding:0!important}
.youth-v82-top10 .hud-toptrends-card{width:100%!important}

/* Social posts are shown full width with a responsive masonry-like grid. */










/* PUBLIC EVENTS: same visual hierarchy for cards as home Spotlight. */
body.youth-v82-events-page{background:#f5f7fa!important;color:#192b38!important}
body.youth-v82-events-page main.content{background:#f7f8fb!important}
body.youth-v82-events-page .hud-heading h1{color:#193746!important}
body.youth-v82-events-page .hud-heading p{color:#51727d!important}
body.youth-v82-events-page .hud-eyebrow{color:#207b80!important}
body.youth-v82-events-page .hud-panel,
body.youth-v82-events-page .hud-metric{background:#fff!important;border:1px solid #dce5e9!important;box-shadow:0 7px 24px #2345580c!important;color:#203440!important}
body.youth-v82-events-page .hud-panel-title{color:#193847!important;border-bottom-color:#dce5e9!important}
body.youth-v82-events-page .hud-panel-title span{color:#63808a!important}
body.youth-v82-events-page .hud-metric span,
body.youth-v82-events-page .hud-metric small{color:#52717b!important}
body.youth-v82-events-page .hud-metric strong{color:#194b55!important;text-shadow:none!important}
body.youth-v82-events-page .hud-filters label span{color:#255460!important}
body.youth-v82-events-page .hud-filters input,
body.youth-v82-events-page .hud-filters select{color:#1b3441!important;background:#fff!important;border:1px solid #bcd3d9!important}
body.youth-v82-events-page .hud-filter-foot,
body.youth-v82-events-page .hud-hint{color:#527581!important}
body.youth-v82-events-page .event-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
body.youth-v82-events-page .event-card.v61-event-card{
  display:flex!important;flex-direction:column!important;overflow:hidden!important;
  border:1px solid #d6e3e8!important;border-radius:15px!important;
  background:#fff!important;box-shadow:0 10px 26px #24465a13!important;
  transform:none!important;transition:box-shadow .24s,border-color .24s!important
}
body.youth-v82-events-page .event-card.v61-event-card:hover{transform:translateY(-3px)!important;border-color:#7cb5bd!important;box-shadow:0 18px 30px #24465a26!important}
body.youth-v82-events-page .event-card.v61-event-card .v61-media-frame{padding:0!important;overflow:hidden!important}
body.youth-v82-events-page .event-card.v61-event-card .event-poster.v61-event-poster{
  width:100%!important;aspect-ratio:1.55!important;overflow:hidden!important;
  border:0!important;border-radius:0!important;filter:none!important;
  background:linear-gradient(135deg,#c8e3e4,#edf3f2)!important
}
body.youth-v82-events-page .event-card.v61-event-card .event-poster.v61-event-poster>img{border-radius:0!important}
body.youth-v82-events-page .event-card.v61-event-card .event-poster.v61-event-poster .event-label,
.youth-v82-featured .event-label{color:#254c55!important;background:#e6f7f2!important;border:1px solid #add7cf!important;border-radius:100px!important;z-index:5!important}
body.youth-v82-events-page .event-card.v61-event-card .v61-corner{width:38px!important;height:38px!important;background:#ffffff!important;border-radius:12px 0 0 0!important;padding:0!important;right:0!important;bottom:0!important}
body.youth-v82-events-page .event-card.v61-event-card .v61-corner:before,
body.youth-v82-events-page .event-card.v61-event-card .v61-corner:after{display:none!important}
body.youth-v82-events-page .event-card.v61-event-card .v61-arrow{width:30px;height:30px;background:#e3f4ef!important;color:#0d615c!important;font-size:1rem!important;box-shadow:none!important}
body.youth-v82-events-page .event-card.v61-event-card .event-body{padding:14px 14px 16px!important}
body.youth-v82-events-page .event-card.v61-event-card h3{font-size:1rem!important;line-height:1.42!important;min-height:2.8em!important;color:#152f3c!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important}
body.youth-v82-events-page .event-card.v61-event-card .v61-eyebrow{color:#287780!important;font-size:.66rem!important;letter-spacing:.05em!important}
body.youth-v82-events-page .event-card.v61-event-card .event-meta{color:#547783!important}
body.youth-v82-events-page .event-card.v61-event-card .event-date{color:#305d64!important}
body.youth-v82-events-page .event-card.v61-event-card .event-price{color:#ad572f!important}
body.youth-v82-events-page .event-card.v61-event-card .event-bottom{border-top-color:#e1e9eb!important}
body.youth-v82-events-page .event-name-highlight{color:#bc632e!important;text-shadow:none!important}
body.youth-v82-events-page .hud-empty{color:#32515b!important}
body.youth-v82-events-page .hud-btn{background:#17676a!important;color:#fff!important;border-color:#17676a!important}
body.youth-v82-events-page .hud-pages{color:#355d64!important}

/* EVENT DETAIL: screenshot-inspired readable editorial layout, still opens in overlay. */
body.youth-v82-events-page .hud-detail-overlay.youth-v82-event-overlay{background:rgba(10,28,38,.72)!important;backdrop-filter:blur(7px)!important;padding:22px!important}
body.youth-v82-events-page .youth-v82-event-overlay .hud-detail{
  width:min(1280px,97vw)!important;max-height:94vh!important;overflow:auto!important;
  border:1px solid #e1e4e6!important;border-radius:18px!important;
  background:#fff9f2!important;box-shadow:0 35px 85px #07172066!important;
  padding:35px!important;color:#172b38!important;
}
body.youth-v82-events-page .youth-v82-event-overlay .hud-detail-close{position:sticky;float:right;top:0;right:0;z-index:15;background:#fff!important;color:#173d48!important;border:1px solid #cbdadd!important;width:40px;height:40px}
.youth-v82-event-detail-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(290px,1fr);gap:32px;align-items:start;clear:both}
.youth-v82-event-article{min-width:0}
.youth-v82-detail-cover{width:100%;max-height:350px;object-fit:cover;display:block;border-radius:14px;margin-bottom:18px}
.youth-v82-event-article-head{padding:4px 0 26px}
.youth-v82-event-status{color:#bf3d28!important;font-size:.8rem;font-weight:750;margin-bottom:11px}
body.youth-v82-events-page .youth-v82-event-overlay .detail-event-title{color:#142630!important;font-size:clamp(1.55rem,2.4vw,2.25rem)!important;font-weight:850;line-height:1.3;margin:0 0 17px}
.youth-v82-event-tags{display:flex;flex-wrap:wrap;gap:11px}
.youth-v82-event-tag{color:#cf4835!important;font-size:.8rem;line-height:1.5}
.youth-v82-event-body h3{font-size:1.18rem!important;font-weight:800;color:#112c3d!important;margin:18px 0 14px}
.youth-v82-event-description,.youth-v82-event-occurrence{font-size:.97rem;color:#172b37!important;white-space:pre-line;line-height:1.77;margin:0 0 16px}
.youth-v82-event-missing{color:#56727b}
.youth-v82-event-notice{border-left:3px solid #dd6c47;background:#fff0df;padding:15px 18px;color:#8b351c;margin:18px 0;border-radius:7px}
.youth-v82-event-sidebar{min-width:0;position:sticky;top:0;display:grid;gap:14px}
.youth-v82-event-fact-card{padding:22px 20px;background:#fff!important;border:1px solid #dce1e2;border-radius:17px;display:grid;gap:17px}
.youth-v82-event-fact{display:grid;gap:5px}
.youth-v82-event-fact-label{color:#ca4030!important;font-size:.75rem;font-weight:700;letter-spacing:.03em}
.youth-v82-event-fact-value{color:#293840!important;font-size:.95rem;font-weight:500;line-height:1.45;overflow-wrap:anywhere}
.youth-v82-event-actions{display:grid;gap:9px}
.youth-v82-event-main-action{display:block;border:0;border-radius:999px;background:#e54336!important;color:white!important;padding:12px 16px;text-align:center;font-size:.88rem;font-weight:800;text-decoration:none!important}
.youth-v82-event-main-action:hover{background:#c73328!important}
.youth-v82-event-secondary-links{display:flex;flex-wrap:wrap;gap:8px}
.youth-v82-event-secondary-links .detail-links{display:flex;gap:8px;margin:0}
.youth-v82-event-secondary-links .book-link{font-size:.77rem;color:#1b656c!important;border:1px solid #b9d6d8;padding:7px 11px;border-radius:20px;background:#fff!important}
.youth-v82-loading{color:#183e48!important;padding:50px 20px}
@media (max-width:1200px){
  .youth-v82-featured #events-table{grid-template-columns:repeat(3,minmax(0,1fr))!important}

  body.youth-v82-events-page .event-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (max-width:800px){
  .youth-v82-trends .youth-v82-trend-four>.w-100>.row{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.youth-v82-events-page .event-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .youth-v82-event-detail-layout{grid-template-columns:1fr;gap:18px}
  .youth-v82-event-sidebar{position:static}
}
@media (max-width:560px){
  .youth-v82-featured #events-table{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .youth-v82-featured .hud-spotlight-poster{aspect-ratio:1.18!important}
  .youth-v82-featured .hud-spotlight-body{padding:9px!important}
  .youth-v82-featured .hud-spotlight-body h3{font-size:.77rem!important}

  body.youth-v82-events-page .event-grid{grid-template-columns:1fr!important}
  body.youth-v82-events-page .youth-v82-event-overlay .hud-detail{padding:16px!important;width:98vw!important;max-height:96vh!important}
  body.youth-v82-events-page .hud-detail-overlay.youth-v82-event-overlay{padding:5px!important}
  .youth-v82-detail-cover{max-height:220px}
}
@media(prefers-reduced-motion:reduce){
  .youth-v82-featured .hud-spotlight-card,body.youth-v82-events-page .event-card.v61-event-card{transition:none!important;transform:none!important}
}
/* Override old dark editorial body and make card text readable even with no poster. */
body.youth-v82-events-page .event-grid .event-card.v61-event-card .event-body,
body.youth-v82-events-page .event-grid .event-card.v61-event-card .v61-eyebrow,
body.youth-v82-events-page .event-grid .event-card.v61-event-card .event-bottom{
  background:#fff!important;
}
body.youth-v82-events-page .event-grid .event-card.v61-event-card .event-body{color:#203440!important}
body.youth-v82-events-page .event-grid .event-card.v61-event-card .event-poster.v61-event-poster .v61-image-placeholder{color:#2c6d74!important}
/* Full-width social feed cards must stay readable even with legacy HUD color rules. */






/* V8.3 – Real-Time map: enable native jsVectorMap panning/pinch on mobile.
   Inside map, touch moves the map; swipe outside to scroll the page. */
@media (max-width:767px){
  #world_map,
  #world_map .jvm-container,
  #world_map svg,
  #world_map .jvm-region{
    touch-action:none!important;
    overscroll-behavior:contain;
  }
  .youth-v83-map-hint{display:block!important}
  .youth-v82-featured #events-table{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
.youth-v83-map-hint{display:none;color:#416a74;font-size:.73rem;margin:8px 0 0;line-height:1.5}
