/* Homepage styles, loaded by the embedded homepage template. */
.home-shell { max-width: 1200px; margin: 0 auto; padding: 0 20px 88px; }
		.home-hero { position: relative; overflow: hidden; background: linear-gradient(180deg,#ffffff 0%,#f3fffb 52%,#f7faf9 100%); border-bottom: 1px solid #e6f5ef; }
		.home-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(16,201,143,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(16,201,143,.05) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(180deg, rgba(0,0,0,.74), transparent 78%); }
		.hero-wrap { position: relative; max-width: 1320px; margin: 0 auto; padding: 38px 20px 44px; }
		.hero-tabs { width: max-content; margin: 0 auto 28px; display: flex; justify-content: center; gap: 8px; padding: 6px; border: 1px solid rgba(16,201,143,.14); border-radius: 999px; color: #64748b; font-size: 14px; background: rgba(255,255,255,.82); box-shadow: 0 14px 38px rgba(15,23,42,.06); backdrop-filter: blur(10px); }
		.hero-tabs a { min-width: 72px; height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border-radius: 999px; }
		.hero-tabs a.active { color: #0f172a; background: #e9fbf5; font-weight: 800; }
		.hero-stage { position: relative; height: 460px; }
		.hero-flank { position: absolute; top: 82px; z-index: 1; width: 390px; height: 270px; border-radius: 10px; overflow: hidden; opacity: .68; display: flex; align-items: center; padding: 42px; color: #fff; box-shadow: 0 26px 70px rgba(15,23,42,.18); }
		.hero-flank.left { left: 0; background: linear-gradient(135deg,#14b8a6,#2563eb); }
		.hero-flank.right { right: 0; background: linear-gradient(135deg,#0f172a,#10c98f); justify-content: flex-end; text-align: right; }
		.hero-flank-title { font-size: 38px; font-weight: 950; line-height: 1.14; letter-spacing: 0; }
		.hero-carousel { position: relative; z-index: 2; height: 440px; width: min(1180px, 94vw); margin: 0 auto; overflow: visible; }
		.hero-slide { position: absolute; top: 0; left: 50%; width: min(900px, 74vw); height: 440px; overflow: hidden; border-radius: 10px; background: #101827; opacity: 0; box-shadow: 0 24px 60px rgba(15,23,42,.18); transform: translateX(-50%) scale(.75); filter: saturate(.76) brightness(.76); pointer-events: none; transition: transform .72s cubic-bezier(.22,1,.36,1), opacity .72s ease, filter .72s ease, box-shadow .72s ease; }
		.hero-slide.active { opacity: 1; z-index: 4; transform: translateX(-50%) scale(1); filter: none; pointer-events: auto; box-shadow: 0 36px 92px rgba(15,23,42,.32); }
		.hero-slide.prev { opacity: .86; z-index: 3; transform: translateX(calc(-50% - min(30vw, 360px))) scale(.82); }
		.hero-slide.next { opacity: .86; z-index: 3; transform: translateX(calc(-50% + min(30vw, 360px))) scale(.82); }
		.hero-slide.far { opacity: 0; z-index: 1; transform: translateX(-50%) scale(.72); }
		.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
		.hero-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,7,18,.82), rgba(3,7,18,.34) 54%, rgba(3,7,18,.05)); z-index: 1; }
		.hero-content { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; padding: 0 82px; color: #fff; }
		.hero-kicker { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(16,201,143,.16); border: 1px solid rgba(157,248,219,.26); font-size: 13px; color: #9df8db; font-weight: 900; margin-bottom: 18px; }
		.hero-title { max-width: 610px; font-size: 58px; line-height: 1.08; font-weight: 950; letter-spacing: 0; }
		.hero-summary { max-width: 540px; margin-top: 20px; color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.85; }
		.hero-indicator { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.45); cursor: pointer; transition: all .25s ease; }
		.hero-indicator.active { width: 22px; background: #10c98f; }
		.category-strip { margin: -18px auto 22px; position: relative; z-index: 5; max-width: 1080px; padding: 20px 24px; border: 1px solid #e8f3ef; border-radius: 10px; background: rgba(255,255,255,.92); box-shadow: 0 24px 70px rgba(15,23,42,.08); backdrop-filter: blur(10px); }
		.category-strip-list { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 16px; }
		.category-strip-title { display: none; }
		.category-pill { display: grid; justify-items: center; gap: 9px; color: #475569; font-size: 12px; line-height: 1.2; font-weight: 700; transition: color .2s ease; }
		.category-pill span:first-child { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 10px; background: #f8fffc; border: 1px solid #e8f3ef; box-shadow: 0 10px 24px rgba(15,23,42,.06); color: #10c98f; font-size: 22px; }
		.category-pill:hover { color: #10c98f; }
		.trust-band { margin: 28px 0 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
		.trust-item { min-height: 92px; border: 1px solid #e8f3ef; border-radius: 10px; background: #fff; padding: 18px 20px; box-shadow: 0 14px 36px rgba(15,23,42,.05); }
		.trust-item strong { display: block; color: #0f172a; font-size: 16px; font-weight: 900; }
		.trust-item span { display: block; margin-top: 8px; color: #64748b; font-size: 13px; line-height: 1.6; }
		.feed-section { margin-top: 58px; }
		.section-row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
		.section-row h2 { display: flex; align-items: center; gap: 12px; font-size: 28px; line-height: 1.18; font-weight: 950; color: #0f172a; }
		.section-row h2 span { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: #e9fbf5; color: #10c98f; }
		.section-row a { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: #fff; border: 1px solid #e8f3ef; color: #94a3b8; font-size: 20px; line-height: 1; }
		.section-row a:hover { color: #10c98f; }
		.market-grid, .recommend-grid, .service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
		.event-card, .service-card { position: relative; display: flex; min-width: 0; height: 100%; flex-direction: column; overflow: hidden; border: 1px solid #e5edea; border-radius: 18px; background: #fff; color: inherit; text-decoration: none; cursor: pointer; transition: transform .24s cubic-bezier(.2,.7,.2,1), box-shadow .24s ease, border-color .24s ease; box-shadow: 0 10px 28px rgba(15,23,42,.055); }
		.event-card::after, .service-card::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
		.event-card:hover, .service-card:hover { transform: translateY(-5px); border-color: rgba(16,185,129,.35); box-shadow: 0 22px 52px rgba(15,23,42,.13); }
		.event-card:focus-visible, .service-card:focus-visible { outline: 3px solid rgba(16,185,129,.32); outline-offset: 4px; }
		.event-cover { position: relative; aspect-ratio: 400 / 237; overflow: hidden; background: #eef5f2; }
		.event-cover::after, .service-cover::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(15,23,42,.01) 50%, rgba(15,23,42,.2) 100%); }
		.event-cover img, .service-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
		.event-card:hover img, .service-card:hover img { transform: scale(1.045); }
		.card-status-row { display: none; }
		.card-status { min-height: 24px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 999px; background: #ecfdf5; color: #047857; font-size: 11px; line-height: 1; font-weight: 850; }
		.card-status.hot, .card-status.discount { background: #fff4e5; color: #b45309; }
		.event-body, .service-body { display: flex; flex: 1; min-height: 184px; flex-direction: column; padding: 18px 18px 16px; }
		.event-title, .service-title { min-height: 56px; color: #303633; font-size: 18px; font-weight: 850; line-height: 1.52; letter-spacing: -.015em; transition: color .2s ease; }
		.event-card:hover .event-title, .service-card:hover .service-title { color: #047857; }
		.event-meta, .service-meta { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #747d79; font-size: 12px; }
		.event-meta span, .service-meta span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
		.event-meta svg { display: none; }
		.event-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid #edf2f0; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
		.event-price, .service-price { color: #e5484d; font-size: 16px; font-weight: 900; letter-spacing: -.02em; white-space: nowrap; }
		.service-cover { position: relative; aspect-ratio: 400 / 237; overflow: hidden; background: #eef5f2; }
		.home-card-rank { position: absolute; z-index: 2; left: 14px; bottom: 8px; color: #fff; font-size: 64px; line-height: 1; font-weight: 950; letter-spacing: -.08em; text-shadow: -3px -3px 0 #ffb52e, 3px -3px 0 #ffb52e, -3px 3px 0 #ffb52e, 3px 3px 0 #ffb52e, 0 5px 14px rgba(15,23,42,.28); }
		.card-org { min-width: 0; flex: 1; display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 10px; align-items: center; }
		.card-org-logo { width: 42px; height: 42px; display: grid; place-items: center; overflow: hidden; border-radius: 7px; background: #f2f6f4; color: #059669; font-size: 16px; font-weight: 900; }
		.card-org-logo img { width: 100%; height: 100%; object-fit: cover; }
		.card-org-copy { min-width: 0; }
		.card-org-copy strong { display: block; overflow: hidden; color: #52605b; font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
		.card-org-proof { margin-top: 5px; display: flex; align-items: center; gap: 8px; color: #9aa3a0; font-size: 11px; white-space: nowrap; }
		.card-verified { display: inline-flex; align-items: center; gap: 3px; color: #269fe5; }
		.card-verified svg { padding: 1px; border-radius: 50%; background: #269fe5; color: #fff; }
		.service-strip { margin-top: 34px; }
		.fallback-cover { position: absolute; inset: 0; padding: 18px; color: #0f766e; display: flex; align-items: flex-end; font-size: 18px; font-weight: 950; line-height: 1.25; background: linear-gradient(135deg,#e9fbf5,#f8fffc); border-bottom: 1px solid #e8f3ef; }
		.fallback-cover::before { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(16,201,143,.18); border-radius: 8px; background-image: linear-gradient(rgba(16,201,143,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(16,201,143,.08) 1px, transparent 1px); background-size: 24px 24px; }
		.fallback-cover span { position: relative; z-index: 1; }
		.home-promo { margin: 72px auto 0; border-radius: 14px; min-height: 240px; background: linear-gradient(135deg,#0f766e,#10c98f 58%,#22d3ee); overflow: hidden; display: grid; grid-template-columns: 1fr 360px; align-items: center; padding: 44px 64px; color: #fff; box-shadow: 0 30px 80px rgba(16,201,143,.24); }
		.promo-title { font-size: 32px; line-height: 1.35; font-weight: 950; letter-spacing: 0; }
		.promo-panel { min-height: 190px; border-radius: 10px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); padding: 24px; display: grid; align-content: center; gap: 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
		.promo-panel strong { font-size: 22px; line-height: 1.35; font-weight: 950; }
		.promo-panel span { color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.7; }
		.promo-qr { width: 74px; height: 74px; background: #fff; border-radius: 6px; padding: 8px; }
		.promo-qr div { width: 100%; height: 100%; background: repeating-linear-gradient(45deg,#0f172a 0 3px,#fff 3px 6px); }
		@media (max-width: 900px) {
			.hero-flank { display: none; }
			.hero-carousel { width: 100%; }
			.hero-slide { width: min(760px, 84vw); }
			.hero-slide.prev { opacity: .46; transform: translateX(calc(-50% - 24vw)) scale(.78); }
			.hero-slide.next { opacity: .46; transform: translateX(calc(-50% + 24vw)) scale(.78); }
			.category-strip-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
			.market-grid, .recommend-grid, .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
			.event-body, .service-body { min-height: 174px; }
			.home-promo { grid-template-columns: 1fr; }
			.promo-panel { display: none; }
		}
		@media (max-width: 720px) {
			.home-shell { padding: 0 14px 48px; }
			.hero-wrap { padding: 18px 14px 18px; }
			.hero-tabs { gap: 24px; margin-bottom: 16px; }
			.hero-stage, .hero-carousel { height: 250px; }
			.hero-carousel { overflow: hidden; border-radius: 6px; }
			.hero-slide { width: 100%; height: 250px; }
			.hero-slide.prev, .hero-slide.next { opacity: 0; transform: translateX(-50%) scale(.88); }
			.hero-content { padding: 0 24px; }
			.hero-title { font-size: 27px; }
			.market-grid, .recommend-grid, .service-grid { grid-template-columns: 1fr; }
			.category-strip { margin: 18px auto 22px; padding: 16px; }
			.category-strip-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
			.trust-band { grid-template-columns: 1fr; }
			.feed-section { margin-top: 42px; }
			.section-row h2 { font-size: 22px; }
			.event-cover, .service-cover { height: auto; aspect-ratio: 400 / 237; }
			.event-body, .service-body { min-height: 0; }
			.home-promo { padding: 26px 22px; border-radius: 18px; }
			.promo-title { font-size: 22px; }
		}
		@media (min-width: 901px) and (max-width: 1180px) {
			.hero-flank { width: 300px; }
			.hero-carousel { width: min(1000px, 94vw); }
			.hero-slide { width: min(760px, 72vw); }
			.trust-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
		}
@media (prefers-reduced-motion: reduce) {
			.event-card, .service-card, .event-cover img, .service-cover img { transition: none; }
			.event-card:hover, .service-card:hover, .event-card:hover img, .service-card:hover img { transform: none; }
		}

/* Discovery layout: compact posters, direct categories, then real inventory. */
body[data-original-page="home"] { background: #fff; --home-accent: #047857; --home-line: #e6eeeb; }
.home-shell { max-width: 1440px; padding-inline: 16px; padding-bottom: 64px; }
.home-hero { background: linear-gradient(180deg, #fff, #f4fbf8); border: 0; }
.home-hero::before { display: none; }
.hero-wrap { max-width: 1440px; padding: 22px 24px 30px; }
.hero-tabs { margin-bottom: 22px; padding: 0; gap: 20px; border: 0; background: transparent; box-shadow: none; backdrop-filter: none; font-size: 16px; }
.hero-tabs a { min-height: 44px; }
.hero-tabs a.active { background: #e8f8f1; color: var(--home-accent); }
.hero-stage, .hero-carousel { height: 350px; }
.hero-carousel { width: 100%; }
.hero-slide { width: min(760px, 66vw); height: 350px; border-radius: 12px; box-shadow: none; }
.hero-slide.active { box-shadow: 0 16px 36px #123d3026; }
.hero-slide.prev { transform: translateX(calc(-50% - min(29vw, 350px))) scale(.86); opacity: .9; filter: saturate(.8); }
.hero-slide.next { transform: translateX(calc(-50% + min(29vw, 350px))) scale(.86); opacity: .9; filter: saturate(.8); }
.hero-slide[data-has-image="false"] { background: radial-gradient(ellipse at 95% 5%, #54d9af 0%, transparent 55%), linear-gradient(120deg, #073c32, #087c60); }
.hero-slide[data-has-image="false"][data-index="1"] { background: radial-gradient(ellipse at 95% 5%, #70b8e9, transparent 55%), linear-gradient(120deg, #123b61, #32729b); }
.hero-slide[data-has-image="false"][data-index="2"] { background: radial-gradient(ellipse at 95% 5%, #b1c895, transparent 55%), linear-gradient(120deg, #254a3c, #5a7950); }
.hero-slide[data-has-image="false"]::before { inset: -65px -140px auto auto; width: 400px; height: 400px; border: 1px solid #ffffff38; border-radius: 50%; background: #ffffff09; box-shadow: 0 0 0 42px #ffffff08, 0 0 0 84px #ffffff06; }
.hero-content { padding: 28px 48px 70px; }
.hero-content > div { width: 100%; }
.hero-kicker { margin-bottom: 12px; background: #ffffff15; color: #e0fff2; border-color: #ffffff36; font-weight: 600; letter-spacing: .08em; }
.hero-title { max-width: 610px; font-size: clamp(28px, 3vw, 42px); line-height: 1.22; letter-spacing: -.03em; text-wrap: balance; }
.hero-summary { max-width: 470px; margin-top: 12px; font-size: 14px; line-height: 1.75; color: #f0faf6; }
.hero-action { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; margin-top: 18px; padding: 0 20px; background: #fff; color: #075c45; border-radius: 6px; font-size: 14px; font-weight: 700; }
.hero-action:hover { background: #dff9ec; }
.hero-controls { position: absolute; z-index: 5; bottom: 10px; left: 50%; display: flex; align-items: center; gap: 4px; transform: translateX(-50%); }
.hero-controls[hidden] { display: none; }
.hero-controls button { position: relative; flex-shrink: 0; min-width: 44px; height: 44px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: white; cursor: pointer; }
.hero-controls button:hover { background: #ffffff20; }
.hero-controls .hero-indicator { width: 44px; background: transparent; }
.hero-controls .hero-indicator:hover { background: #ffffff20; }
.hero-controls .hero-indicator::after { content: ''; position: absolute; width: 6px; height: 6px; top: 19px; left: 19px; border-radius: 4px; background: #ffffff80; }
.hero-controls .hero-indicator.active::after { width: 20px; left: 12px; background: #65f4be; }
.hero-controls .hero-pause { width: auto; padding: 0 10px; font-size: 12px; white-space: nowrap; }
.hero-controls button:disabled { opacity: .8; cursor: default; }
.category-strip { max-width: none; margin: 26px 0 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; backdrop-filter: none; }
.category-strip-list { gap: 16px; }
.category-pill { gap: 10px; padding: 14px 4px; font-size: 14px; font-weight: 500; border-radius: 10px; background: #fff; }
.category-pill span:first-child { width: 44px; height: 44px; border: 0; box-shadow: none; background: transparent; color: #08b984; }
.category-pill:hover { color: var(--home-accent); background: #f0faf5; }
.feed-section { margin-top: 34px; }
.section-row { align-items: center; margin-bottom: 18px; gap: 12px; }
.section-row h2 { font-size: 25px; font-weight: 800; gap: 10px; }
.section-row .section-more { width: auto; height: 44px; padding: 0 4px 0 12px; border: 0; border-radius: 6px; background: none; gap: 8px; font-size: 14px; color: #52645d; white-space: nowrap; }
.section-row .section-more:hover { color: var(--home-accent); }
.market-grid, .recommend-grid, .service-grid { gap: 28px; }
.event-card, .service-card { border-radius: 10px; box-shadow: 0 4px 16px #123d3008; }
.home-card-rank { display: none; }
/* Activity cards follow the poster / details / organizer hierarchy. */
.event-card { border: 1px solid #f0f0f0; border-radius: 8px; box-shadow: 0 2px 8px #00000008; }
.event-card-link { display: flex; flex-direction: column; flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.event-card .event-cover { aspect-ratio: 331 / 198; }
.event-card .event-cover::after { display: none; }
.event-card .event-body { padding: 17px 19px 20px; min-height: 193px; }
.event-card .event-title { margin: 0; min-height: 48px; font-size: 17px; line-height: 1.4; font-weight: 700; color: #222; }
.event-card .event-meta { margin-top: 10px; margin-bottom: 20px; gap: 12px; font-size: 13px; line-height: 20px; color: #666; }
.event-card .event-meta span:first-child { flex-shrink: 0; }
.event-card .event-meta span:last-child { text-align: right; }
.event-card .event-foot { padding-top: 19px; border-top: 1px solid #f1f1f1; }
.event-card .card-org { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; width: 100%; }
.event-card .card-org-logo { width: 40px; height: 40px; border-radius: 2px; background: #e7f6ef; color: #087d5b; font-size: 20px; font-weight: 700; }
.event-card .card-org-copy strong { font-size: 14px; line-height: 20px; color: #666; font-weight: 400; }
.event-card .card-org-proof { justify-content: space-between; gap: 8px; margin-top: 3px; font-size: 12px; color: #767676; }
.event-card .event-price { font-size: 12px; color: #767676; font-weight: 400; letter-spacing: normal; }
.event-favorite { position: absolute; top: 6px; right: 6px; z-index: 4; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #525252; cursor: pointer; }
.event-favorite::before { content: ''; position: absolute; inset: 6px; z-index: -1; background: white; border-radius: 50%; box-shadow: 0 1px 5px #00000012; }
.event-favorite:hover { color: #047857; }
.event-favorite[aria-pressed="true"] { color: #d93659; }
.event-favorite[aria-pressed="true"] svg { fill: #ffe2e9; }
.event-favorite:disabled { opacity: .55; cursor: wait; }
.event-card { overflow: visible; }
.event-card-link { border-radius: 8px 8px 0 0; overflow: hidden; }
.event-card .event-body { min-height: 111px; padding-bottom: 0; }
.event-card:has(.organizer-card[open]) { z-index: 8; transform: none; }
.event-organizer-foot { margin: 0 19px; padding: 15px 0 18px; border-top: 1px solid #f1f1f1; }
.organizer-card { position: relative; }
.organizer-card:not([open]) > .organizer-popover { display: none; }
.organizer-card summary { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; list-style: none; border-radius: 4px; }
.organizer-card summary::-webkit-details-marker { display: none; }
.organizer-avatar { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 4px; overflow: hidden; background: #e7f6ef; color: #087d5b; font-size: 20px; }
.organizer-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.organizer-copy { display: grid; gap: 4px; min-width: 0; }
.organizer-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; line-height: 20px; color: #333; font-weight: 500; }
.organizer-meta { display: flex; align-items: center; gap: 12px; color: #999; font-size: 12px; line-height: 18px; }
.organizer-popover { position: absolute; z-index: 10; left: -6px; bottom: calc(100% + 9px); width: min(202px, calc(100vw - 64px)); padding: 20px; display: flex; flex-direction: column; align-items: center; background: #fff; border-radius: 4px; box-shadow: 0 6px 28px #00000018; text-align: center; }
.organizer-popover::after { content: ''; position: absolute; bottom: -6px; left: 26px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); }
.organizer-popover::before { content: ''; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px; }
.organizer-popover .organizer-avatar { width: 56px; height: 56px; }
.event-card:hover .organizer-avatar img { transform: none; }
.organizer-popover-name { max-width: 100%; overflow-wrap: anywhere; margin-top: 7px; font-size: 15px; line-height: 22px; font-weight: 600; color: #222; }
.organizer-popover .org-badge { margin-top: 6px; }
.organizer-address { margin: 0 0 16px; font-size: 12px; line-height: 18px; color: #767676; }
.organizer-stats { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin: 20px 0 16px; }
.organizer-stats > div { display: grid; gap: 2px; color: #666; font-size: 16px; }
.organizer-stats > div + div { border-left: 1px solid #eee; }
.organizer-stats span { font-size: 12px; color: #767676; }
.organizer-stats strong { font-weight: 400; }
.organizer-profile { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; min-width: 104px; padding: 0 18px; border-radius: 24px; background: #00b851; color: #fff; font-size: 14px; font-weight: 600; }
.organizer-profile:hover { background: #008f40; }
.organizer-unavailable { margin: 16px 0; font-size: 12px; color: #767676; }
body[data-original-page="home"] #toast { position: fixed; top: 72px; left: 50%; z-index: 100; max-width: calc(100vw - 32px); transform: translateX(-50%); border-radius: 8px; background: #17312d; color: #fff; font-size: 14px; padding: 12px 18px; box-shadow: 0 8px 24px #0002; }
body[data-original-page="home"] #toast:not(.show) { display: none; }
body[data-original-page="home"] #toast.bad { background: #9f3030; }
.event-body, .service-body { padding: 16px; }
.event-title, .service-title { font-size: 17px; font-weight: 700; line-height: 1.6; min-height: 54px; }
.event-meta, .service-meta { color: #596b63; font-size: 13px; }
.trust-band { margin-top: 40px; padding: 20px 0; gap: 0; border-top: 1px solid var(--home-line); border-bottom: 1px solid var(--home-line); }
.trust-item { min-height: 0; padding: 0 20px; border: 0; border-right: 1px solid var(--home-line); border-radius: 0; box-shadow: none; background: transparent; }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; }
.trust-item strong { font-size: 15px; font-weight: 700; }
.trust-item span { margin-top: 6px; }
.home-promo { margin-top: 36px; padding: 32px 36px; min-height: 0; grid-template-columns: 1.3fr 1fr; gap: 32px; background: #edf8f2; color: #143e31; border: 1px solid #deeee5; box-shadow: none; }
.promo-title { font-size: 26px; line-height: 1.5; }
.promo-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.promo-actions a { min-height: 44px; }
.promo-panel { min-height: 0; padding: 0 0 0 28px; border: 0; border-left: 1px solid #cfe4d8; border-radius: 0; background: none; box-shadow: none; }
.promo-panel strong { font-size: 20px; }
.promo-panel span { color: #51685e; }
body[data-original-page="home"] :focus-visible { outline: 3px solid var(--home-accent); outline-offset: 4px; }
.hero-carousel :focus-visible { outline-color: #b4ffdd; }
@media (max-width: 900px) {
  .hero-slide { width: 80vw; }
  .hero-content { padding-inline: 32px; }
  .category-strip-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .trust-band { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .trust-item { padding: 0; border: 0; }
  .home-promo { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero-wrap { padding: 16px 16px 22px; }
  .hero-tabs { gap: 8px; margin-bottom: 16px; }
  .hero-stage, .hero-carousel, .hero-slide { height: 330px; }
  .hero-carousel { overflow: hidden; border-radius: 10px; }
  .hero-slide { width: 100%; }
  .hero-slide.prev, .hero-slide.next { opacity: 0; pointer-events: none; }
  .hero-content { padding: 22px 24px 68px; }
  .hero-title { font-size: 30px; }
  .hero-summary { font-size: 13px; }
  .hero-controls { gap: 0; }
  .hero-controls button { min-width: 44px; }
  .hero-controls .hero-pause { font-size: 11px; padding-inline: 6px; }
  .category-strip { margin-top: 12px; }
  .category-strip-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 8px; }
  .category-pill { grid-template-columns: 28px 1fr; align-items: center; justify-items: start; gap: 6px; padding: 10px 4px; font-size: 12px; }
  .category-pill span:first-child { width: 28px; height: 28px; }
  .category-pill svg { width: 26px; height: 26px; }
  .section-row h2 { font-size: 21px; gap: 6px; }
  .section-row h2 span { width: 28px; height: 28px; }
  .section-row .section-more { font-size: 12px; padding-left: 0; }
  .feed-section { margin-top: 28px; }
  .market-grid, .recommend-grid, .service-grid { gap: 16px; }
  .home-promo { padding: 24px; gap: 0; }
  .promo-title { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-controls button, .hero-action { transition: none; }
}

/* Center provider popovers over their owning card, for activities and services. */
.event-card .organizer-card { position:static; }
.event-card .organizer-popover { left:50%; top:50%; bottom:auto; transform:translate(-50%,-50%); width:calc(100% - 40px); max-width:230px; min-height:220px; justify-content:center; box-sizing:border-box; }
.event-card .organizer-popover::after { left:calc(50% - 6px); }
.service-activity-card .service-card-price { color:#e76332; font-size:16px; font-weight:700; }

/* Poster-led discovery header, matching the supplied carousel reference. */
.home-hero { background:#fff; overflow:hidden; }
.hero-wrap { max-width:1440px; padding:18px 24px 28px; }
.hero-tabs { margin-bottom:38px; gap:26px; }
.hero-tabs a { min-width:72px; font-weight:400; }
.hero-tabs a.active { background:#effbf7; color:#25382f; font-weight:500; }
.hero-stage,.hero-carousel { height:402px; }
.hero-carousel { width:100vw; left:50%; transform:translateX(-50%); }
.hero-slide { width:min(680px,52vw); height:402px; border-radius:5px; }
.hero-slide.active { box-shadow:0 14px 36px #00000012; }
.hero-slide.prev { transform:translateX(calc(-50% - min(24vw,420px))) scale(.8); opacity:1; filter:none; }
.hero-slide.next { transform:translateX(calc(-50% + min(24vw,420px))) scale(.8); opacity:1; filter:none; }
.hero-content { padding:32px 36px 64px; }
.hero-title { font-size:clamp(30px,3vw,46px); }
.hero-action { border-radius:999px; min-height:36px; padding-inline:24px; }
.hero-controls { inset:0; width:100%; height:100%; transform:none; justify-content:center; align-items:flex-end; gap:0; pointer-events:none; }
.hero-controls button { pointer-events:auto; }
.hero-controls .hero-arrow { position:absolute; top:50%; transform:translateY(-50%); display:grid; place-items:center; width:44px; height:44px; padding:0; line-height:1; border-radius:50%; background:#0007; }
.hero-controls .hero-arrow svg { display:block; width:24px; height:24px; }
.hero-controls .hero-arrow:hover { background:#000a; }
.hero-controls [data-hero-prev] { left:12px; }
.hero-controls [data-hero-next] { right:12px; }
.hero-controls .hero-pause { position:absolute; right:calc((100% - min(680px,52vw))/2 + 12px); bottom:4px; height:36px; color:#fff; background:#0004; }
.category-strip { margin-top:30px; margin-bottom:36px; }
.category-strip-list { grid-template-columns:repeat(9,minmax(0,90px)); justify-content:space-between; gap:18px; }
.category-pill { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; min-height:112px; padding:14px 4px; border-radius:14px; box-shadow:0 6px 22px #123d3006; font-size:14px; text-align:center; }
.category-pill span:first-child { width:52px; height:52px; }
.category-pill span:last-child { max-width:100%; line-height:1.4; text-wrap:balance; }
.category-pill svg { width:48px; height:48px; }
.category-pill:focus-visible { outline:2px solid #159b80; outline-offset:4px; }
@media(max-width:1000px) {
  .hero-stage,.hero-carousel,.hero-slide { height:360px; }
  .hero-slide { width:66vw; }
  .hero-controls .hero-pause { right:calc(17vw + 10px); }
  .category-strip-list { grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; }
}
@media(max-width:720px) {
  .hero-wrap { padding:16px 16px 20px; }
  .hero-tabs { margin-bottom:20px; gap:10px; }
  .hero-carousel { width:100%; left:0; transform:none; border-radius:6px; }
  .hero-stage,.hero-carousel,.hero-slide { height:330px; }
  .hero-slide { width:100%; border-radius:6px; }
  .hero-slide.prev,.hero-slide.next { opacity:0; }
  .hero-content { padding:24px 28px 72px; }
  .hero-title { font-size:30px; }
  .hero-controls .hero-arrow { top:auto; bottom:0; transform:none; background:transparent; }
  .hero-controls [data-hero-prev] { left:4px; }
  .hero-controls [data-hero-next] { right:4px; }
  .hero-controls .hero-pause { right:10px; bottom:48px; font-size:11px; height:28px; }
  .category-strip { margin-top:16px; margin-bottom:24px; }
  .category-strip-list { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
  .category-pill { min-height:100px; font-size:14px; gap:8px; }
  .category-pill span:first-child { width:46px; height:46px; }
  .category-pill svg { width:44px; height:44px; }
}
.home-float { position: fixed; right: 20px; bottom: 24px; z-index: 60; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 8px; background: #fff; border-radius: 999px; box-shadow: 0 6px 24px #00000024; }
.home-float-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 0; background: transparent; border-radius: 50%; color: #98a2b3; cursor: pointer; text-decoration: none; }
.home-float-btn:hover { color: #10c98f; background: #f2fbf7; }
.home-float-btn svg { width: 20px; height: 20px; display: block; }
