/*
Theme Name: Punta Cana Eventos
Theme URI: https://puntacanaeventos.com/
Author: Punta Cana Eventos
Description: Tema ligero para una guía local de eventos, excursiones y ocio en Punta Cana.
Version: 0.8.2
Requires at least: 6.2
Requires PHP: 8.0
Text Domain: punta-cana-eventos
*/

:root {
	--pce-navy: #073b4c;
	--pce-navy-2: #052f3d;
	--pce-teal: #0e8f88;
	--pce-aqua: #64d8d1;
	--pce-coral: #ff6b4a;
	--pce-sand: #f7ecdc;
	--pce-cream: #fffaf3;
	--pce-ink: #16323b;
	--pce-muted: #5c7077;
	--pce-line: #dce8e8;
	--pce-white: #fff;
	--pce-radius: 22px;
	--pce-shadow: 0 18px 45px rgba(7, 59, 76, .11);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--pce-ink);
	background: var(--pce-cream);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--pce-teal); }
a:hover { color: var(--pce-coral); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #0e8f88; outline-offset: 4px; }
h1, h2, h3, h4 { color: var(--pce-navy); line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(2.5rem, 7vw, 5.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }

.screen-reader-text, .skip-link:not(:focus) {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus { position: fixed; z-index: 9999; top: 1rem; left: 1rem; padding: .75rem 1rem; background: #fff; }
.pce-container { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.pce-section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.pce-section--white { background: var(--pce-white); }
.pce-section--sand { background: var(--pce-sand); }
.pce-section--compact { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.pce-section--aqua { background: #eaf9f8; }
.pce-section--night { background: #0b2735; color: #d9ecee; }
.pce-section--night h2 { color: #fff; }
.pce-section--night .pce-section-heading p { color: #b8d4d7; }
.pce-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.pce-section-heading h2, .pce-section-heading p { margin: 0; }
.pce-section-heading p { max-width: 560px; color: var(--pce-muted); }
.pce-eyebrow { margin: 0 0 .75rem; color: #b93822; font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }

.pce-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-height: 48px;
	padding: .72rem 1.15rem;
	border: 0;
	border-radius: 999px;
	background: var(--pce-coral);
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(255, 107, 74, .26);
}
.pce-button:hover { background: #ed5535; color: #fff; transform: translateY(-1px); }
.pce-button--light { background: #fff; color: var(--pce-navy); box-shadow: none; }
.pce-button--ghost { border: 1px solid rgba(255,255,255,.32); background: transparent; box-shadow: none; }

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255,250,243,.94); border-bottom: 1px solid rgba(7,59,76,.09); backdrop-filter: blur(14px); }
.site-header__inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 2rem; }
.site-branding a { display: inline-flex; align-items: center; gap: .68rem; color: var(--pce-navy); font-weight: 950; letter-spacing: -.04em; text-decoration: none; }
.site-branding__mark { display: block; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 7px 18px rgba(7,59,76,.18); transition: transform .2s ease, box-shadow .2s ease; }
.site-branding a:hover .site-branding__mark { transform: translateY(-1px) rotate(-2deg); box-shadow: 0 10px 22px rgba(7,59,76,.22); }
.site-branding__wordmark { color: var(--pce-navy); white-space: nowrap; }
.site-branding__wordmark strong { color: #b93822; font-weight: inherit; }
.custom-logo { display: block; max-height: 50px; width: auto; }
.primary-menu { display: flex; align-items: center; gap: 1.3rem; margin: 0; padding: 0; list-style: none; }
.primary-menu a { color: var(--pce-navy); font-size: .92rem; font-weight: 750; text-decoration: none; }
.menu-toggle { display: none; padding: .6rem .75rem; border: 1px solid var(--pce-line); border-radius: 10px; background: #fff; color: var(--pce-navy); font-weight: 800; }
.pce-language-switcher { display: inline-flex; overflow: hidden; flex: 0 0 auto; border: 1px solid #cadcdc; border-radius: 999px; background: #fff; }
.pce-language-switcher a { min-width: 38px; padding: .34rem .55rem; color: #496169; font-size: .72rem; font-weight: 900; line-height: 1.4; text-align: center; text-decoration: none; }
.pce-language-switcher a[aria-current="page"] { background: var(--pce-navy); color: #fff; }

.pce-hero { position: relative; overflow: hidden; background: var(--pce-navy); color: #fff; }
.pce-hero::before, .pce-hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(1px); }
.pce-hero::before { width: 640px; height: 640px; top: -310px; right: -170px; background: radial-gradient(circle at 35% 35%, rgba(100,216,209,.9), rgba(14,143,136,.05) 68%); }
.pce-hero::after { width: 330px; height: 330px; bottom: -200px; left: 8%; background: rgba(255,107,74,.72); }
.pce-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-content: center; min-height: 610px; padding: 4.25rem 0; }
.pce-hero__content { max-width: 1100px; }
.pce-hero h1 { max-width: 1000px; margin: 0 0 1rem; color: #fff; font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
.pce-hero__lead { max-width: 680px; margin-bottom: 1.45rem; color: #d8f4f2; font-size: clamp(1.06rem, 2vw, 1.3rem); }
.pce-hero__search { width: min(1100px, 100%); }
.pce-search-kicker { margin: 0 0 .65rem; color: #fff; font-size: .9rem; font-weight: 850; }
.pce-hero .pce-search-disclosure { color: #c6e3e4; }
.pce-trust-row { display: flex; flex-wrap: wrap; gap: .55rem 1.2rem; color: #d8f4f2; font-size: .88rem; font-weight: 700; }
.pce-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.pce-hero-card { padding: 1.5rem; border: 1px solid rgba(255,255,255,.16); border-radius: 28px; background: rgba(255,255,255,.1); box-shadow: 0 25px 60px rgba(0,0,0,.18); backdrop-filter: blur(12px); }
.pce-hero-card h2 { margin-top: 0; color: #fff; font-size: 1.35rem; }
.pce-hero-list { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.pce-hero-list a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: .7rem .9rem; border-radius: 14px; background: rgba(255,255,255,.1); color: #fff; font-weight: 750; text-decoration: none; }
.pce-hero-list a:hover { background: rgba(255,255,255,.18); }

/* Immersive, assistant-led home hero. */
.pce-hero { --pce-hero-shift: 0px; isolation: isolate; background: #032f41; }
.pce-hero::before {
	z-index: -3;
	inset: -3%;
	width: auto;
	height: auto;
	top: -3%;
	right: -3%;
	border-radius: 0;
	background-image:
		linear-gradient(90deg, rgba(2,37,51,.97) 0%, rgba(2,43,57,.92) 36%, rgba(2,47,59,.72) 62%, rgba(2,36,45,.43) 100%),
		linear-gradient(0deg, rgba(1,35,48,.76) 0%, rgba(1,35,48,.08) 45%, transparent 70%),
		url("assets/images/punta-cana-beach-hero-v1.webp");
	background-position: center;
	background-size: cover;
	filter: saturate(.94) contrast(1.03);
	transform-origin: center;
	animation: pce-hero-camera 18s ease-in-out infinite alternate;
	will-change: transform;
}
.pce-hero::after {
	z-index: -2;
	inset: 0;
	width: auto;
	height: auto;
	bottom: auto;
	left: 0;
	border-radius: 0;
	background:
		radial-gradient(circle at 81% 16%, rgba(255,249,217,.26), transparent 23%),
		linear-gradient(120deg, rgba(100,216,209,.08), transparent 56%);
}
.pce-hero__atmosphere { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.pce-hero__atmosphere span {
	position: absolute;
	display: block;
	width: clamp(110px, 14vw, 210px);
	height: 2px;
	left: 62%;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.64), transparent);
	filter: blur(.2px);
	opacity: .24;
	animation: pce-water-glint 8s ease-in-out infinite;
}
.pce-hero__atmosphere span:nth-child(1) { top: 48%; animation-delay: -1s; }
.pce-hero__atmosphere span:nth-child(2) { top: 56%; left: 71%; width: clamp(80px, 10vw, 150px); animation-delay: -4.4s; }
.pce-hero__atmosphere span:nth-child(3) { top: 63%; left: 55%; width: clamp(70px, 8vw, 120px); animation-delay: -6.2s; }
.pce-hero__wave { position: absolute; z-index: -1; right: -8%; bottom: 92px; left: 48%; height: 88px; overflow: hidden; opacity: .3; pointer-events: none; }
.pce-hero__wave::before, .pce-hero__wave::after { position: absolute; width: 118%; height: 62px; left: -9%; content: ""; border-top: 2px solid rgba(255,255,255,.7); border-radius: 50%; transform: rotate(-1.5deg); animation: pce-wave-drift 7s ease-in-out infinite alternate; }
.pce-hero__wave::before { top: 17px; }
.pce-hero__wave::after { top: 35px; border-top-color: rgba(197,246,242,.52); animation-delay: -3.5s; animation-direction: alternate-reverse; }
.pce-hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(420px, .85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; align-content: normal; min-height: 720px; padding: clamp(3.6rem, 7vw, 6.2rem) 0; }
.pce-hero__content { max-width: 700px; }
.pce-hero h1 { max-width: 760px; margin-bottom: 1.15rem; font-size: clamp(2.75rem, 5.2vw, 5.05rem); letter-spacing: -.055em; text-wrap: balance; }
.pce-hero h1 span { color: #8ce9df; text-shadow: 0 8px 36px rgba(100,216,209,.2); }
.pce-hero__lead { max-width: 650px; margin: 0 0 1.5rem; color: #d6eeee; font-size: clamp(1.04rem, 1.65vw, 1.24rem); line-height: 1.6; }
.pce-hero .pce-eyebrow { display: flex; align-items: center; gap: .55rem; color: #ff8d71; }
.pce-hero__assistant { position: relative; }
.pce-hero__assistant::before { position: absolute; z-index: -1; inset: -14px; content: ""; border-radius: 36px; background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(100,216,209,.05)); transform: rotate(1.5deg); }
.pce-trust-row { gap: .55rem; color: #e0f5f2; font-size: .8rem; font-weight: 760; }
.pce-trust-row span { padding: .4rem .7rem; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.07); backdrop-filter: blur(8px); }
.pce-hero__signals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; max-width: 700px; margin-top: 1.4rem; }
.pce-hero__signals .pce-weather { max-width: none; height: 100%; margin-top: 0; }

@keyframes pce-hero-camera { from { transform: translate3d(0,var(--pce-hero-shift),0) scale(1.035); } to { transform: translate3d(-.8%,var(--pce-hero-shift),0) scale(1.075); } }
@keyframes pce-water-glint { 0%, 100% { opacity: .08; transform: translate3d(-18px,0,0) scaleX(.72); } 50% { opacity: .42; transform: translate3d(24px,1px,0) scaleX(1.15); } }
@keyframes pce-wave-drift { from { transform: translate3d(-1.5%,2px,0) rotate(-1.5deg) scaleX(.97); } to { transform: translate3d(1.5%,-3px,0) rotate(-.5deg) scaleX(1.03); } }

.pce-cro-strip { border-bottom: 1px solid var(--pce-line); background: #fff; }
.pce-cro-strip .pce-container { display: flex; flex-wrap: wrap; gap: .55rem .75rem; align-items: center; min-height: 66px; padding-block: .75rem; }
.pce-cro-strip strong { color: var(--pce-navy); font-size: .78rem; }
.pce-cro-strip a { padding: .38rem .7rem; border: 1px solid #dce8e8; border-radius: 999px; background: #f8fbfb; color: #31565b; font-size: .76rem; font-weight: 800; text-decoration: none; }
.pce-cro-strip a:hover { border-color: #7bcfc9; background: #edf9f8; color: #075f5a; }
.pce-mobile-assistant-cta { display: none; }

.pce-now { padding: clamp(2.5rem, 5vw, 4.5rem) 0; border-bottom: 1px solid var(--pce-line); background: #fff; }
.pce-now__header { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: baseline; justify-content: space-between; margin-bottom: .8rem; }
.pce-now__header h2 { margin: 0; font-size: clamp(1.25rem, 3vw, 1.7rem); }
.pce-now__header .pce-eyebrow { margin-bottom: .3rem; }
.pce-now__header p { margin: 0; color: var(--pce-muted); font-size: .82rem; }
.pce-now .pce-viator-widget { margin-top: 1.15rem; }
.pce-inventory-section { content-visibility: auto; contain-intrinsic-size: auto 760px; }
.pce-now__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }
.pce-now-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .65rem; align-items: center; min-height: 82px; padding: .8rem; border: 1px solid var(--pce-line); border-radius: 17px; background: #f9fcfc; color: var(--pce-navy); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.pce-now-card:hover { color: var(--pce-navy); transform: translateY(-2px); box-shadow: 0 12px 25px rgba(7,59,76,.1); }
.pce-now-card > span:first-child { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: #e4f7f5; font-size: 1.25rem; }
.pce-now-card strong, .pce-now-card small { display: block; }
.pce-now-card small { margin-top: .1rem; color: var(--pce-muted); font-size: .68rem; }
.pce-now-card--offer { border-color: #ffd2c8; background: #fff8f5; }
.pce-now-card--offer > span:first-child { background: #ffe2da; }

.pce-category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.pce-category-card { min-height: 190px; padding: 1.35rem; border: 1px solid var(--pce-line); border-radius: var(--pce-radius); background: #fff; color: var(--pce-navy); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.pce-category-card:hover { transform: translateY(-4px); box-shadow: var(--pce-shadow); color: var(--pce-navy); }
.pce-category-card__icon { display: grid; width: 50px; height: 50px; place-items: center; margin-bottom: 1.6rem; border-radius: 15px; background: var(--pce-sand); font-size: 1.45rem; }
.pce-category-card strong, .pce-category-card small { display: block; }
.pce-category-card small { margin-top: .35rem; color: var(--pce-muted); }

.pce-experience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pce-experience-card { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; min-height: 132px; overflow: hidden; padding: 1.2rem; border: 1px solid var(--pce-line); border-radius: 22px; color: var(--pce-navy); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.pce-experience-card::after { content: ""; position: absolute; width: 90px; height: 90px; right: -38px; bottom: -45px; border-radius: 50%; background: rgba(255,255,255,.45); }
.pce-experience-card:hover { transform: translateY(-3px); box-shadow: var(--pce-shadow); color: var(--pce-navy); }
.pce-experience-card__art { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 18px; background: rgba(255,255,255,.72); font-size: 1.7rem; }
.pce-experience-card strong, .pce-experience-card small { display: block; }
.pce-experience-card strong { font-size: 1.05rem; }
.pce-experience-card small { margin-top: .25rem; color: #435c65; line-height: 1.4; }
.pce-experience-card b { position: relative; z-index: 1; }
.pce-experience-card--saona { background: #d8f7f2; }
.pce-experience-card--buggy { background: #f7ead8; }
.pce-experience-card--water { background: #dcecff; }
.pce-experience-card--night { background: #e9e1f8; }
.pce-experience-card--family { background: #fff0d5; }
.pce-experience-card--east { background: #e3f1df; }
.pce-experience-card--nature { background: #dff3e5; }
.pce-experience-card--culture { background: #f8e5d7; }
.pce-experience-card--value { background: #e3f3f5; }
.pce-section-cta { margin: 1.25rem 0 0; text-align: right; }
.pce-text-link { color: var(--pce-navy); font-weight: 850; text-decoration: none; }
.pce-text-link:hover { color: var(--pce-coral); }

.pce-event-grid, .pce-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.pce-event-toolbar { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; padding: .8rem; border: 1px solid var(--pce-line); border-radius: 17px; background: #fff; }
.pce-event-tabs { display: flex; flex-wrap: wrap; gap: .4rem; }
.pce-event-tabs a { padding: .48rem .75rem; border-radius: 999px; color: #36565e; font-size: .78rem; font-weight: 850; text-decoration: none; }
.pce-event-tabs a:hover, .pce-event-tabs a[aria-current="page"] { background: #e4f7f5; color: #075f5a; }
.pce-event-count { margin: 0; color: var(--pce-muted); font-size: .78rem; font-weight: 750; }
.pce-event-empty { padding: clamp(1.25rem, 4vw, 2.2rem); border: 1px dashed #bad2d1; border-radius: 22px; background: #f7fbfb; text-align: center; }
.pce-event-empty h2, .pce-event-empty h3 { margin: 0 0 .5rem; }
.pce-event-empty p { max-width: 690px; margin: 0 auto; color: var(--pce-muted); }
.pce-event-alternatives { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; margin-top: 1.1rem; }
.pce-event-alternatives a { display: flex; gap: .5rem; align-items: center; justify-content: center; min-height: 48px; padding: .65rem; border: 1px solid var(--pce-line); border-radius: 13px; background: #fff; color: var(--pce-navy); font-size: .78rem; font-weight: 850; text-decoration: none; }
.pce-event-alternatives a:hover { border-color: #69c8c2; color: #075f5a; }
.pce-event-card, .pce-post-card { overflow: hidden; border: 1px solid var(--pce-line); border-radius: var(--pce-radius); background: #fff; box-shadow: 0 10px 28px rgba(7,59,76,.07); }
.pce-card-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, var(--pce-aqua), var(--pce-sand)); }
.pce-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.pce-event-card:hover .pce-card-media img, .pce-post-card:hover .pce-card-media img { transform: scale(1.035); }
.pce-card-body { padding: 1.25rem; }
.pce-card-body h2, .pce-card-body h3 { margin: .35rem 0 .65rem; font-size: 1.3rem; }
.pce-card-body h2 a, .pce-card-body h3 a { color: var(--pce-navy); text-decoration: none; }
.pce-card-kicker { margin: 0; color: #b93822; font-size: .78rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }

/* Keep small editorial copy above WCAG AA contrast without muting the palette. */
.pce-section--sand .pce-section-heading p { color: #475f67; }
.pce-section--night .pce-affiliate-note { color: #b8d4d7; }
.pce-card-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; color: var(--pce-muted); font-size: .9rem; }
.pce-card-summary { color: var(--pce-muted); }
.pce-card-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: rgba(7,59,76,.6); font-size: 1.25rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.pce-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pce-trust article { padding: 1.5rem; border-top: 3px solid var(--pce-aqua); }
.pce-trust h3 { margin-top: 0; }
.pce-trust article > span { color: #b93822; font-size: .8rem; font-weight: 950; letter-spacing: .08em; }
.pce-proof { display: grid; grid-template-columns: .8fr 2fr; gap: 3rem; align-items: start; }
.pce-proof h2 { margin-top: 0; }

.pce-newsletter { overflow: hidden; padding: clamp(2rem, 5vw, 4rem); border-radius: 32px; background: linear-gradient(135deg, var(--pce-coral), #ff8a55); color: #fff; }
.pce-newsletter h2 { margin-top: 0; color: #fff; }
.pce-newsletter p { max-width: 660px; }

.pce-page-hero { padding: 5rem 0 3.5rem; background: var(--pce-sand); }
.pce-page-hero h1 { max-width: 900px; margin: 0; }
.pce-page-hero__excerpt { max-width: 760px; margin: 1rem 0 0; color: var(--pce-muted); font-size: 1.1rem; }
.pce-breadcrumbs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; color: var(--pce-muted); font-size: .82rem; }
.pce-breadcrumbs a { color: var(--pce-teal); text-decoration: none; }
.pce-content { width: min(780px, calc(100% - 2rem)); margin-inline: auto; padding: 4rem 0; }
.pce-content > :first-child { margin-top: 0; }
.pce-content a { font-weight: 700; }
.pce-content h2 { margin-top: 2.5rem; font-size: clamp(1.55rem, 3vw, 2.15rem); }
.pce-content h3 { margin-top: 2rem; }
.pce-content .pce-answer { padding: 1.25rem 1.4rem; border-left: 4px solid var(--pce-coral); border-radius: 0 14px 14px 0; background: #fff; box-shadow: 0 8px 24px rgba(7,59,76,.06); font-size: 1.08rem; }
.pce-jump-links { display: flex; flex-wrap: wrap; gap: .45rem .85rem; margin: 1.5rem 0; padding: .9rem 1rem; border-radius: 14px; background: #edf7f6; font-size: .88rem; }
.pce-jump-links a { text-decoration: none; }
.pce-table-wrap { width: 100%; overflow-x: auto; margin: 1.5rem 0 2rem; border: 1px solid var(--pce-line); border-radius: 16px; background: #fff; }
.pce-table-wrap table { width: 100%; min-width: 600px; border-collapse: collapse; }
.pce-table-wrap th, .pce-table-wrap td { padding: .85rem 1rem; border-bottom: 1px solid var(--pce-line); text-align: left; vertical-align: top; }
.pce-table-wrap th { background: #edf7f6; color: var(--pce-navy); font-size: .84rem; }
.pce-table-wrap tr:last-child td { border-bottom: 0; }
.pce-checklist { padding-left: 0; list-style: none; }
.pce-checklist li { position: relative; margin: .65rem 0; padding-left: 1.7rem; }
.pce-checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--pce-teal); font-weight: 950; }
.pce-callout { margin: 1.5rem 0; padding: 1.15rem 1.25rem; border: 1px solid #f1d5b3; border-radius: 16px; background: #fff3df; }
.pce-source-note { margin-top: 3rem; padding: 1.1rem 1.25rem; border-radius: 16px; background: #eef3f3; color: #496169; font-size: .84rem; }
.pce-content details { margin: .75rem 0; padding: .9rem 1rem; border: 1px solid var(--pce-line); border-radius: 14px; background: #fff; }
.pce-content summary { color: var(--pce-navy); cursor: pointer; font-weight: 850; }
.pce-content details p:last-child { margin-bottom: 0; }
.pce-content figure { margin: 2rem 0; }
.pce-content .alignwide { width: min(1100px, calc(100vw - 2rem)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.pce-event-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 1.5rem 0 2rem; overflow: hidden; border: 1px solid var(--pce-line); border-radius: 18px; background: var(--pce-line); }
.pce-event-details div { padding: 1rem; background: #fff; }
.pce-event-details dt { color: var(--pce-muted); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.pce-event-details dd { margin: .2rem 0 0; color: var(--pce-navy); font-weight: 800; }
.pagination .nav-links { display: flex; gap: .5rem; justify-content: center; padding: 2rem 0; }
.pagination a, .pagination .current { padding: .5rem .8rem; border-radius: 10px; background: #fff; text-decoration: none; }

.site-footer { padding: 4rem 0 2rem; background: var(--pce-navy-2); color: #cde6e6; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #d8f4f2; text-decoration: none; }
.site-footer__bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); color: #9ebdbf; font-size: .8rem; }

@media (max-width: 980px) {
	.pce-hero::before { background-position: 70% center; }
	.pce-category-grid { grid-template-columns: repeat(3, 1fr); }
	.pce-hero__inner { grid-template-columns: 1fr; min-height: auto; }
	.pce-hero__content { max-width: 760px; }
	.pce-hero__assistant { max-width: 700px; }
	.pce-hero__signals { max-width: 700px; }
	.pce-hero-card { max-width: 620px; }
	.pce-experience-grid { grid-template-columns: repeat(2, 1fr); }
	.pce-now__grid, .pce-event-alternatives { grid-template-columns: repeat(2, 1fr); }
	.pce-proof { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 760px) {
	.menu-toggle { display: inline-flex; }
	.primary-navigation { position: absolute; top: 76px; right: 1rem; left: 1rem; display: none; padding: 1rem; border: 1px solid var(--pce-line); border-radius: 16px; background: #fff; box-shadow: var(--pce-shadow); }
	.primary-navigation.is-open { display: block; }
	.primary-menu { flex-direction: column; align-items: stretch; }
	.primary-menu a { display: block; padding: .6rem; }
	.site-header__inner { gap: .65rem; }
	.site-branding { margin-right: auto; }
	.pce-language-switcher { order: 2; }
	.menu-toggle { order: 3; }
	.primary-navigation { order: 4; }
	.pce-section-heading { align-items: start; flex-direction: column; }
	.pce-event-grid, .pce-post-grid { grid-template-columns: 1fr; }
	.pce-category-grid { grid-template-columns: repeat(2, 1fr); }
	.pce-experience-grid { grid-template-columns: 1fr; }
	.pce-trust, .site-footer__grid { grid-template-columns: 1fr; }
	.pce-hero__inner { padding: 3.4rem 0 4rem; }
	.pce-hero__wave { height: 64px; left: 28%; bottom: 43%; opacity: .2; }
	.pce-hero h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
	.pce-hero__assistant::before { inset: -7px; border-radius: 29px; }
	.pce-hero__signals { grid-template-columns: 1fr; }
	.pce-cro-strip .pce-container { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.pce-cro-strip strong, .pce-cro-strip a { flex: 0 0 auto; }
	.pce-mobile-assistant-cta { position: fixed; z-index: 90; right: 1rem; bottom: 1rem; display: flex; gap: .55rem; align-items: center; min-height: 48px; padding: .7rem 1rem; border-radius: 999px; background: var(--pce-coral); color: #fff; font-size: .84rem; font-weight: 900; text-decoration: none; box-shadow: 0 14px 35px rgba(7,59,76,.28); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease; }
	.pce-mobile-assistant-cta.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
	.pce-mobile-assistant-cta:hover { color: #fff; background: #ed5535; }
}

@media (max-width: 480px) {
	.site-branding a { gap: .5rem; font-size: .86rem; }
	.site-branding__mark { flex-basis: 36px; width: 36px; height: 36px; border-radius: 10px; }
	.pce-category-grid { grid-template-columns: 1fr; }
	.pce-category-card { min-height: auto; }
	.pce-event-details { grid-template-columns: 1fr; }
	.pce-hero__actions .pce-button { width: 100%; }
	.pce-now__grid, .pce-event-alternatives { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
