
/* A19.3 editorial redesign. Overrides web2/styles.css without altering the old production site. */
:root { --page:#f8f7fb; --paper:#fff; --ink:#242138; --muted:#6b687c; --violet:#6951bf; --violet-dark:#5038a8; --violet-soft:#f0ebff; --line:#e8e4ef; --shadow:0 12px 32px rgba(36,26,75,.08); }
body { background:#faf9fc; font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif; line-height:1.5; }
.shell { max-width:1510px; padding-left:32px; padding-right:32px; }
.preview-strip { background:#efeafd; border-bottom:1px solid #e7e0f7; font-size:11px; color:#61538e; }
.site-header { background:rgba(255,255,255,.96); box-shadow:0 3px 19px rgba(36,26,75,.04); border-bottom-color:#efedf4; }
.header-inner { min-height:72px; gap:24px; }
.brand { min-width:230px; }
.brand img { width:44px; height:44px; border-radius:12px; }
.brand-type strong { font-size:17px; letter-spacing:-.6px; color:#2e244c; }
.brand-type small { font-size:11px; color:#898397; padding-top:3px; }
.primary-nav { gap:24px; }
.primary-nav a { font-size:13px; font-weight:720; color:#655f76; padding:24px 0; }
.primary-nav a.active { color:#6846b7; }
.primary-nav a.active:after { bottom:11px; left:0; right:0; height:3px; }
.icon-button { width:40px; height:40px; border-radius:11px; }
.app-link { background:#32264e; font-size:12px; border-radius:11px; }
.today-hero { display:grid; grid-template-columns:1.06fr .94fr; min-height:364px; margin-top:20px; border-radius:24px; background:linear-gradient(113deg,#f0ecff 0%,#f8f5ff 60%,#ecf8fc); box-shadow:0 18px 45px rgba(84,63,144,.07); border:1px solid #ebe5fa; }
.today-hero:before { width:220px; height:220px; left:-100px; top:-120px; }
.hero-copy { padding:43px 28px 30px 55px; display:flex; flex-direction:column; align-items:flex-start; }
.eyebrow { font-size:10px; font-weight:850; letter-spacing:2px; color:#6c50b2; margin-bottom:16px; }
.eyebrow-symbol { font-size:17px; color:#9464d4; margin-right:7px; }
.today-hero h1 { max-width:610px; font-size:clamp(39px,3.35vw,54px); line-height:1.07; font-weight:800; letter-spacing:-2.3px; margin:0 0 16px; }
.today-hero h1 em { font-family:Georgia,"Times New Roman",serif; font-size:1.025em; font-weight:400; color:#7557c7; letter-spacing:-2px; }
.hero-lead { font-size:14px; color:#66617a; line-height:1.62; max-width:540px; margin-bottom:14px; }
.hero-date-line { margin:0 0 20px; gap:9px; padding:6px 12px; border-radius:7px; background:rgba(255,255,255,.75); font-size:12px; color:#574788; }
.status-mark { background:#58b78c; }
.hero-actions { gap:9px; }
.primary-button,.light-button { border-radius:10px; min-height:42px; padding:11px 15px; font-size:12px; gap:12px; }
.primary-button { background:#674cbc; box-shadow:0 6px 16px #674cbc29; }
.light-button { background:#fff; color:#5a4787; border:1px solid #ded5f0; }
.hero-feature-line { margin-top:auto; padding-top:18px; font-size:11px; font-weight:640; color:#9588b3; }
.hero-feature-line span { font-size:18px; margin-right:6px; }
.hero-art { position:relative; isolation:isolate; min-height:364px; background:radial-gradient(circle at 68% 17%,#b1adf050 0%,transparent 38%),linear-gradient(125deg,#c3b6ed,#8772c9 56%,#564a98); border-radius:0 24px 24px 0; overflow:hidden; }
.hero-art:before { content:""; position:absolute; inset:-90px -110px -90px 0; background:radial-gradient(circle at 42% 45%,#ffffff2e 0 19%,transparent 19.4%),repeating-radial-gradient(circle at 60% 40%,#fff2 0 1px,transparent 1px 45px); }
.hero-visual { position:absolute; border:6px solid #ffffffcf; border-radius:19px; box-shadow:0 20px 38px #35235b60; overflow:hidden; background:#eee; transition:transform .3s; }
.hero-visual img { width:100%; height:100%; object-fit:cover; display:block; }
.hero-visual-history { width:42%; aspect-ratio:1; left:9%; top:8%; z-index:2; transform:rotate(-9deg); }
.hero-visual-global { width:36%; aspect-ratio:1; right:10%; top:10%; z-index:1; transform:rotate(8deg); }
.hero-visual-names { width:32%; aspect-ratio:1; right:22%; bottom:5%; z-index:3; transform:rotate(-4deg); }
.hero-visual-history:hover { transform:rotate(-5deg) scale(1.04); }
.hero-visual-global:hover { transform:rotate(4deg) scale(1.04); }
.hero-visual-names:hover { transform:rotate(0) scale(1.04); }
.hero-date-sticker { position:absolute; z-index:4; left:3%; bottom:10%; width:116px; height:113px; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#3f356a; border-radius:17px; background:#fff; box-shadow:0 12px 30px #35235b4d; transform:rotate(6deg); }
.hero-date-sticker span { font-size:9px; font-weight:800; color:#8a7da9; letter-spacing:1px; }
.hero-date-sticker strong { font-size:44px; letter-spacing:-3px; line-height:1; }
.hero-date-sticker small { font-size:12px; font-weight:800; color:#8067c0; text-transform:capitalize; }
.hero-visual-caption { position:absolute; bottom:14px; right:19px; font-size:10px; font-weight:700; color:#fff; text-shadow:0 1px 10px #554784; }
.today-overview { display:grid; grid-template-columns:1.1fr repeat(4,1fr); background:#fff; border:1px solid #eeeaf3; border-radius:17px; margin-top:16px; overflow:hidden; box-shadow:0 8px 25px #231b4208; }
.overview-caption { padding:16px 20px; display:flex; align-items:center; gap:12px; color:#393154; background:#f5f1ff; font-size:13px; line-height:1.25; }
.overview-star { font-size:28px; color:#886ecb; }
.overview-metric { padding:13px 18px; display:flex; flex-direction:column; justify-content:center; border-left:1px solid #efebf4; }
.overview-metric strong { color:#4b3b80; font-size:24px; line-height:1.15; font-weight:830; letter-spacing:-1px; }
.overview-metric span { color:#8a8394; font-size:11px; padding-top:2px; }
.today-toolbar { padding-top:38px; scroll-margin-top:95px; }
.section-heading h2,.list-toolbar h2,.directory-toolbar h2 { font-size:28px; font-weight:800; color:#2f2942; letter-spacing:-.85px; }
.section-kicker { font-size:10px; letter-spacing:1.7px; color:#8b6dc2; }
.section-heading p,.list-toolbar p,.directory-toolbar p { font-size:13px; color:#77717f; }
.date-switcher { border-radius:11px; box-shadow:none; }
.date-switcher input { font-size:13px; }
.filter-scroll { padding:18px 0 22px; gap:7px; }
.filter-pill { display:flex; align-items:center; gap:7px; border:1px solid #e5e0eb; background:#fff; padding:7px 12px 7px 8px; min-height:39px; border-radius:10px; font-size:12px; color:#5e576c; font-weight:730; }
.filter-pill.active { background:#6750b8; border-color:#6750b8; color:white; }
.filter-pill.active .filter-icon { border:1px solid #fff8; }
.filter-icon { width:26px; height:26px; border-radius:6px; object-fit:cover; }
.content-state { padding-bottom:8px; }
.event-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; padding-bottom:16px; }
.event-card { border-radius:15px; border:1px solid #eae6ef; box-shadow:0 5px 20px #271c500a; }
.event-card:hover { transform:translateY(-3px); box-shadow:0 16px 28px #271c501c; }
.event-media { height:187px; padding:0; display:block; background:#e6dff1!important; }
.event-media:before,.event-media:after { display:none; }
.media-open { position:absolute; inset:0; width:100%; height:100%; border:0; padding:0; display:block; background:#eee; overflow:hidden; }
.event-image { width:100%; height:100%; display:block; object-fit:cover; transition:transform .35s; }
.event-card:hover .event-image { transform:scale(1.055); }
.media-date { position:absolute; top:11px; left:11px; z-index:2; border:1px solid #ffffff90; box-shadow:0 2px 12px #1b15372c; font-size:11px; background:#fffd; color:#52456b; }
.favorite-button { position:absolute; top:11px; right:11px; z-index:3; border-radius:9px; background:#fffef2; border:1px solid #fff; }
.event-body { padding:16px 17px 16px; }
.event-meta { margin-bottom:9px; }
.category-tag { font-size:9px; letter-spacing:.4px; color:#6f58ad; background:#f0ecfc; border-radius:5px; }
.country-tag { font-size:10px; }
.event-body h3 { font-size:16px; font-weight:800; line-height:1.29; letter-spacing:-.35px; min-height:42px; margin-bottom:9px; }
.event-body p { font-size:12px; line-height:1.52; color:#777381; margin-bottom:14px; }
.card-foot { padding-top:12px; color:#654bb4; font-size:11px; }
.card-foot button { font-weight:800; }
.page-intro { padding:43px 50px; background:linear-gradient(115deg,#ece5fa,#f5f0ff 58%,#e5f4ff); border-radius:20px; margin:25px 0 29px; min-height:210px; }
.page-intro h1 { font-size:clamp(38px,3.9vw,57px); font-weight:820; }
.page-intro h1 em { color:#7053bc; }
.world-intro { background-image:linear-gradient(90deg,#eee7fb 0%,#f6f1ff 60%,#eef6ff 100%); }
.world-intro:after { content:""; flex:none; display:block; width:180px; height:180px; border-radius:18px; background:url("./assets/categories/international.webp") center/cover; transform:rotate(7deg); box-shadow:0 16px 40px #4e3f8460; }
.cities-intro { background-image:linear-gradient(90deg,#eee7fb 0%,#f6f1ff 60%,#eaf9f3 100%); }
.cities-intro:after { content:""; flex:none; display:block; width:180px; height:180px; border-radius:18px; background:url("./assets/categories/city.webp") center/cover; transform:rotate(5deg); box-shadow:0 16px 40px #4e3f8440; }
.intro-art,.city-symbol { display:none; }
.calendar-panel,.calendar-detail { border-radius:17px; }
.calendar-day { border-radius:10px; }
.directory-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.directory-card { min-height:111px; border:1px solid #eae6ef; border-radius:15px; box-shadow:0 5px 20px #261e4b09; }
.directory-symbol { width:78px; height:78px; min-width:78px; border-radius:13px; overflow:hidden; background:#f4eff8!important; }
.directory-symbol img { width:100%; height:100%; object-fit:contain; }
.directory-symbol.region-symbol img { object-fit:contain; padding:6px; }
.directory-copy strong { font-size:15px; }
.directory-copy span { font-size:11px; line-height:1.4; }
.detail-dialog { max-width:820px; width:calc(100vw - 28px); padding:26px; border-radius:22px; max-height:88vh; }
.detail-dialog form { position:sticky; top:0; z-index:2; margin-bottom:12px; }
.detail-heading { display:flex; align-items:flex-start; gap:22px; border-bottom:1px solid #ebe6f2; padding-bottom:23px; margin-bottom:20px; }
.detail-cover { width:190px; height:190px; flex:none; border-radius:15px; object-fit:cover; }
.detail-heading-copy { padding-top:16px; }
.detail-heading h2 { font-size:28px; margin:0; overflow-wrap:anywhere; }
.detail-section { margin:16px 0; }
.detail-section h3 { font-size:15px; letter-spacing:-.3px; margin:0 0 5px; color:#3b2b64; }
.detail-section p { margin:0; font-size:14px; line-height:1.75; color:#5e5a6a; white-space:pre-line; }
.detail-media-note { color:#8f8996!important; font-size:11px!important; padding:10px 13px; border-radius:9px; background:#f7f4fb; margin-top:18px; }
.detail-symbols { display:flex; gap:14px; margin-bottom:14px; }
.detail-symbols figure { margin:0; padding:10px; width:130px; border:1px solid #efeaf4; border-radius:12px; text-align:center; }
.detail-symbols img { width:100%; height:80px; object-fit:contain; }
.detail-symbols figcaption { font-size:11px; color:#8c849b; margin-top:6px; }
.detail-source-empty { font-size:11px; color:#8c8798; }
.end-note { padding:30px 0 50px; }
@media (min-width:1600px) {
  .event-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }
}
@media (max-width:1230px) {
  .shell { padding-left:22px; padding-right:22px; }
  .brand { min-width:188px; }
  .primary-nav { gap:13px; }
  .primary-nav a { font-size:12px; }
  .event-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .hero-copy { padding-left:35px; }
  .hero-visual-history { width:49%; left:6%; top:12%; }
  .hero-visual-global { width:39%; right:5%; }
  .hero-visual-names { width:34%; right:18%; }
}
@media (max-width:1040px) {
  .primary-nav { display:none; }
  .primary-nav.open { display:grid; }
  .hero-copy { padding:32px 18px 30px 30px; }
  .today-hero h1 { font-size:38px; }
  .hero-art { min-height:360px; }
  .event-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .directory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .today-overview { grid-template-columns:repeat(4,1fr); }
  .overview-caption { grid-column:1/-1; padding:10px 16px; }
  .overview-caption strong br { display:none; }
}
@media (max-width:760px) {
  .shell { padding-left:14px; padding-right:14px; }
  .header-inner { min-height:64px; }
  .brand img { width:39px; height:39px; }
  .brand-type strong { font-size:14px; }
  .today-hero { display:flex; flex-direction:column; margin-top:12px; border-radius:16px; min-height:0; }
  .hero-copy { padding:25px 23px 19px; }
  .today-hero h1 { font-size:35px; letter-spacing:-1.3px; margin-bottom:10px; }
  .today-hero h1 em { letter-spacing:-1.2px; }
  .hero-lead { font-size:13px; }
  .eyebrow { font-size:9px; letter-spacing:1.4px; margin-bottom:10px; }
  .hero-date-line { margin-bottom:15px; }
  .hero-feature-line { display:none; }
  .hero-art { height:220px; min-height:220px; border-radius:0 0 16px 16px; overflow:hidden; }
  .hero-visual { border-width:4px; border-radius:14px; }
  .hero-visual-history { width:37%; top:5%; left:10%; }
  .hero-visual-global { width:34%; top:10%; right:12%; }
  .hero-visual-names { width:27%; right:34%; bottom:-12%; }
  .hero-date-sticker { width:75px; height:73px; left:4%; bottom:7%; border-radius:11px; }
  .hero-date-sticker strong { font-size:28px; }
  .hero-date-sticker span { font-size:7px; }
  .hero-date-sticker small { font-size:10px; }
  .hero-visual-caption { font-size:8px; }
  .today-overview { grid-template-columns:repeat(4,1fr); margin-top:10px; border-radius:12px; }
  .overview-caption { padding:7px 12px; font-size:11px; }
  .overview-star { font-size:18px; }
  .overview-metric { padding:9px 6px; }
  .overview-metric strong { font-size:19px; }
  .overview-metric span { font-size:9px; line-height:1.3; }
  .today-toolbar { padding-top:27px; }
  .section-heading h2 { font-size:22px; }
  .filter-scroll { padding:13px 0 16px; }
  .filter-pill { min-height:36px; padding:5px 10px 5px 6px; }
  .filter-icon { width:24px; height:24px; }
  .event-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .event-media { height:145px; }
  .event-body { padding:12px; }
  .event-body h3 { font-size:14px; line-height:1.3; min-height:0; }
  .event-body p { font-size:11px; -webkit-line-clamp:2; }
  .event-meta { gap:3px; margin-bottom:7px; }
  .category-tag { font-size:8px; }
  .media-date { font-size:9px; padding:4px 6px; }
  .favorite-button { width:28px; height:28px; }
  .card-foot { font-size:10px; padding-top:9px; }
  .page-intro { padding:28px 22px; margin:15px 0 24px; min-height:0; border-radius:15px; }
  .page-intro h1 { font-size:36px; }
  .world-intro:after,.cities-intro:after { width:95px; height:95px; }
  .directory-grid { grid-template-columns:1fr; }
  .detail-heading { gap:12px; flex-direction:column; }
  .detail-cover { width:100%; height:180px; }
  .detail-heading-copy { padding:0; }
}
@media (max-width:440px) {
  .event-grid { grid-template-columns:1fr; }
  .event-media { height:198px; }
  .event-body h3 { font-size:16px; }
  .overview-metric span { font-size:8px; }
  .world-intro:after,.cities-intro:after { display:none; }
}

/* Semantic calendar/weekend and local regional-symbol presentation. */
.calendar-day.weekend:not(.selected) b { color:#bf5c72; }
.calendar-day.weekend:not(.selected) { background:#fff5f7; }
.calendar-day.weekend.muted:not(.selected) { background:#fbf6f8; }
.event-card[data-media="region"] .event-media { background:linear-gradient(120deg,#f1ebfb,#dcd5f0)!important; }
.event-card[data-media="region"] .media-open { display:grid; place-items:center; background:radial-gradient(circle,#fff 10%,#eee8f7 65%); }
.event-card[data-media="region"] .event-image { object-fit:contain; max-width:95%; max-height:90%; border-radius:5px; box-shadow:0 12px 32px #4135681b; }

.reset-filters { display:inline-flex; align-items:center; border:0; background:transparent; padding:0 0 12px; font-size:11px; font-weight:730; color:#8b75be; cursor:pointer; }
.reset-filters:hover { color:#564094; text-decoration:underline; }
.legend-dot.weekend { background:#f0b3c1; }
.mobile-app-link { display:none; }
.back-to-top { position:fixed; right:24px; bottom:24px; z-index:35; border:1px solid #ddd6ed; border-radius:999px; background:#fff; box-shadow:0 9px 26px #3d28563e; padding:12px 17px; color:#5b429d; font-weight:850; font-size:13px; }
.back-to-top:hover { color:#fff; background:#6951bf; }
@media (max-width:760px) {
  .mobile-app-link { display:flex; justify-content:space-between; align-items:center; margin-top:11px; background:#fff; border:1px solid #e6def4; border-radius:11px; padding:10px 13px; font-size:11px; font-weight:760; color:#59419c; }
  .back-to-top { right:14px; bottom:14px; padding:9px 12px; }
}
