/* ==========================================================================
   CCR Elementor — section blocks
   Section Heading, Feature List, Call to Action, FAQ, Countdown, Post Grid,
   Agenda, Accreditation, Venue & Travel.
   Colors and type come from the tokens and color worlds in ccrx.css.
   ========================================================================== */

/* ---------- Feature list ---------- */
.ccrx-feats { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 64px; }
.ccrx-feat { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.ccrx-feat__bar { display: block; width: 48px; height: 4px; border-radius: 2px; margin-bottom: 10px; }
.ccrx .ccrx-feat .ccrx-icon { width: 30px; height: 30px; color: var(--ccrx-em); }
.ccrx .ccrx-feat__title { font-size: 32px; line-height: 1.1; color: inherit; text-wrap: balance; }
.ccrx .ccrx-feat__text { max-width: 44ch; font-size: 17px; line-height: 1.65; color: var(--ccrx-on-soft); }
.ccrx .ccrx-feat__link { margin-top: auto; padding-top: 8px; color: var(--ccrx-em); font-size: 15px; font-weight: 600; text-decoration: none; }
.ccrx .ccrx-feat__link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Call to action ---------- */
.ccrx-cta { background: var(--ccrx-paper); }
.ccrx-cta__wrap { padding: 48px var(--ccrx-gutter) 96px; }
.ccrx-cta__panel { position: relative; overflow: hidden; display: grid; border-radius: 24px; background: var(--ccrx-surface); color: var(--ccrx-on); }
.ccrx-cta__panel .ccrx-strip { position: absolute; inset: 0 0 auto 0; z-index: 1; }
.ccrx-cta__content { padding: 96px; display: flex; flex-direction: column; justify-content: center; }
.ccrx-cta__content .ccrx-hd { margin-bottom: 0; }
.ccrx-cta__content .ccrx-btns { margin-top: 44px; }
.ccrx-cta__panel.has-image { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.ccrx-cta__panel--img-left.has-image { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.ccrx-cta__panel--img-left .ccrx-cta__media { order: -1; }
.ccrx-cta__media { position: relative; min-height: 360px; }
.ccrx-cta__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ccrx .ccrx-cta__panel .ccrx-hd__title { font-size: clamp(40px, 4.4vw, 68px); max-width: 18ch; }

/* ---------- FAQ ---------- */
.ccrx-faq--aside .ccrx-faq__wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 96px; align-items: start; }
.ccrx-faq--aside .ccrx-hd { position: sticky; top: 32px; margin-bottom: 0; }
.ccrx-faq--stack .ccrx-faq__list { max-width: 900px; }
.ccrx-faq__item { border-top: 1px solid var(--ccrx-rule); }
.ccrx-faq__item:last-child { border-bottom: 1px solid var(--ccrx-rule); }
.ccrx .ccrx-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; font-family: var(--ccrx-serif); font-size: 30px; line-height: 1.2; color: inherit; cursor: pointer; list-style: none; }
.ccrx .ccrx-faq__q::-webkit-details-marker { display: none; }
.ccrx .ccrx-faq__q:hover { color: var(--ccrx-em); }
.ccrx-faq__marks { position: relative; flex: none; width: 28px; height: 28px; }
.ccrx-faq__marks .ccrx-icon { position: absolute; inset: 0; width: 28px; height: 28px; }
.ccrx-faq__marks .is-minus { display: none; }
.ccrx-faq__item[open] .ccrx-faq__marks .is-plus { display: none; }
.ccrx-faq__item[open] .ccrx-faq__marks .is-minus { display: block; }
.ccrx .ccrx-faq__a { max-width: 68ch; padding: 0 56px 32px 0; font-size: 17px; line-height: 1.7; color: var(--ccrx-on-soft); }
.ccrx .ccrx-faq__a > :first-child { margin-top: 0; }
.ccrx .ccrx-faq__a > :last-child { margin-bottom: 0; }
.ccrx .ccrx-faq__a a { color: var(--ccrx-em); }
.ccrx .ccrx-faq__q:focus-visible { outline-offset: 4px; border-radius: 6px; }

/* ---------- Countdown ---------- */
.ccrx-countdown .ccrx-sec__wrap { text-align: center; }
.ccrx-cd { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(28px, 6vw, 88px); }
.ccrx-cd[hidden], .ccrx-cd__done[hidden] { display: none; }
.ccrx-cd__unit { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 96px; padding-top: 22px; }
.ccrx-cd__unit::before { content: ""; position: absolute; top: 0; width: 36px; height: 4px; border-radius: 2px; background: var(--ccrx-pink); }
.ccrx-cd__unit:nth-child(2)::before { background: var(--ccrx-cyan); }
.ccrx-cd__unit:nth-child(3)::before { background: var(--ccrx-yellow); }
.ccrx-cd__n { font-family: var(--ccrx-serif); font-size: clamp(64px, 10vw, 136px); line-height: .95; letter-spacing: -.01em; }
.ccrx-cd__l { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ccrx-on-muted); }
.ccrx-cd__done { font-family: var(--ccrx-serif); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.2; }
.ccrx-countdown .ccrx-btns { margin-top: 56px; }

/* ---------- Post grid ---------- */
.ccrx-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: stretch; }
.ccrx-post { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: var(--ccrx-card); }
.ccrx-post__media { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #ECE6DA; }
.ccrx-post__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.ccrx-post:hover .ccrx-post__media img { transform: scale(1.03); }
.ccrx-post__body { display: flex; flex-direction: column; flex: 1; gap: 14px; padding: 28px 28px 32px; }
.ccrx .ccrx-post__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ccrx-on-muted); }
.ccrx .ccrx-post__meta span { color: var(--ccrx-em); }
.ccrx .ccrx-post__title { font-size: 30px; line-height: 1.12; text-wrap: balance; }
.ccrx .ccrx-post__title a { color: inherit; text-decoration: none; }
.ccrx .ccrx-post__title a:hover { color: var(--ccrx-em); }
.ccrx .ccrx-post__excerpt { font-size: 16px; line-height: 1.65; color: var(--ccrx-on-soft); }
.ccrx .ccrx-post__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; color: var(--ccrx-em); font-size: 15px; font-weight: 600; text-decoration: none; }
.ccrx .ccrx-post__more .ccrx-icon { width: 18px; height: 18px; transition: transform .2s ease; }
.ccrx .ccrx-post__more:hover .ccrx-icon { transform: translateX(4px); }
.ccrx-posts--featured .ccrx-post:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.ccrx-posts--featured .ccrx-post:first-child .ccrx-post__media { aspect-ratio: auto; min-height: 380px; }
.ccrx-posts--featured .ccrx-post:first-child .ccrx-post__body { justify-content: center; padding: 56px; }
.ccrx .ccrx-posts--featured .ccrx-post:first-child .ccrx-post__title { font-size: clamp(36px, 3.6vw, 52px); }

/* ---------- Agenda ---------- */
.ccrx-agenda .ccrx-sec__wrap { padding-top: 88px; padding-bottom: 88px; }
.ccrx-agenda .ccrx-hd { margin-bottom: 36px; }
.ccrx-ag__tabs, .ccrx-ag__nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.ccrx .ccrx-ag__tab, .ccrx .ccrx-ag__nav a { display: inline-flex; align-items: center; height: 44px; margin: 0; padding: 0 22px; border: 1px solid var(--ccrx-rule); border-radius: 999px; background: transparent; color: inherit; font-family: var(--ccrx-sans); font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: normal; text-transform: none; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.ccrx .ccrx-ag__tab:hover, .ccrx .ccrx-ag__nav a:hover { border-color: var(--ccrx-on); background: transparent; color: inherit; }
.ccrx .ccrx-ag__tab[aria-selected="true"] { border-color: var(--ccrx-on); background: var(--ccrx-on); color: var(--ccrx-surface); }
.ccrx .ccrx-ag__tab:focus-visible { outline-offset: 3px; }
.ccrx-ag__day[hidden] { display: none; }
.ccrx-ag__day + .ccrx-ag__day { margin-top: 40px; }
.ccrx-agenda.is-tabbed .ccrx-ag__day + .ccrx-ag__day { margin-top: 0; }
.ccrx-agenda.is-tabbed .ccrx-ag__dayname { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ccrx .ccrx-ag__dayname { margin: 0 0 14px; font-size: 30px; line-height: 1.1; }
.ccrx .ccrx-ag__list { list-style: none; margin: 0; padding: 4px 28px; overflow: hidden; border-radius: 20px; background: var(--ccrx-card); }
.ccrx-ag__item { display: grid; grid-template-columns: 116px minmax(0, 1fr) auto; align-items: baseline; gap: 4px 28px; padding: 14px 0; border-top: 1px solid var(--ccrx-rule); }
.ccrx-ag__item:first-child { border-top: 0; }
.ccrx-ag__time { display: flex; flex-direction: column; gap: 1px; font-size: 15px; font-weight: 600; line-height: 1.35; white-space: nowrap; }
.ccrx-ag__until { font-weight: 400; color: var(--ccrx-on-muted); }
.ccrx-ag__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ccrx .ccrx-ag__title { margin: 0; font-family: var(--ccrx-sans); font-size: 17px; font-weight: 600; line-height: 1.35; color: inherit; text-wrap: balance; }
.ccrx-ag__tag { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--ccrx-yellow); color: var(--ccrx-ink); font-size: 11px; font-weight: 700; letter-spacing: .08em; line-height: 1.5; text-transform: uppercase; vertical-align: 2px; }
.ccrx .ccrx-ag__speakers { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--ccrx-em); }
.ccrx .ccrx-ag__details { max-width: 70ch; margin: 2px 0 0; font-size: 14px; line-height: 1.55; color: var(--ccrx-on-soft); }
.ccrx .ccrx-ag__meta { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; line-height: 1.3; color: var(--ccrx-on-muted); white-space: nowrap; }
.ccrx .ccrx-ag__meta .ccrx-icon { width: 15px; height: 15px; }
.ccrx-ag__item--keynote { margin: 0 -28px; padding: 16px 28px; border-top-color: transparent; background: rgba(232, 80, 143, .09); }
.ccrx-ag__item--keynote + .ccrx-ag__item { border-top-color: transparent; }
.ccrx-ag__item--break { padding: 9px 0; }
.ccrx-ag__item--break .ccrx-ag__time { font-weight: 500; color: var(--ccrx-on-muted); }
.ccrx .ccrx-ag__item--break .ccrx-ag__title { font-size: 15px; font-weight: 500; color: var(--ccrx-on-muted); }

/* ---------- Accreditation ---------- */
.ccrx-accred__grid { display: grid; grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr); gap: 96px; align-items: start; }
.ccrx-accred__credits { list-style: none; display: flex; flex-direction: column; gap: 40px; }
.ccrx-accred__credits li { display: flex; flex-direction: column; gap: 8px; }
.ccrx-accred__n { font-family: var(--ccrx-serif); font-size: clamp(56px, 6vw, 88px); line-height: 1; }
.ccrx-accred__l { font-size: 15px; line-height: 1.45; color: var(--ccrx-on-muted); }
.ccrx-accred__st { padding: 28px 0; border-top: 1px solid var(--ccrx-rule); }
.ccrx-accred__st:first-child { padding-top: 0; border-top: 0; }
.ccrx .ccrx-accred__st-title { margin-bottom: 12px; font-size: 30px; line-height: 1.15; }
.ccrx .ccrx-accred__st-body { max-width: 68ch; font-size: 16px; line-height: 1.7; color: var(--ccrx-on-soft); }
.ccrx .ccrx-accred__st-body > :last-child { margin-bottom: 0; }
.ccrx .ccrx-accred__link { display: inline-block; margin-top: 12px; color: var(--ccrx-em); font-weight: 600; }

/* ---------- Venue & travel ---------- */
.ccrx-venue__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 96px; align-items: center; }
.ccrx-venue__grid.has-image { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ccrx-venue__grid--img-right .ccrx-venue__media { order: 2; }
.ccrx-venue__media { position: relative; min-height: 520px; margin: 0; overflow: hidden; border-radius: 24px; background: #ECE6DA; }
.ccrx-venue__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ccrx-venue__content { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.ccrx .ccrx-venue__name { font-size: clamp(40px, 4.6vw, 68px); line-height: 1.02; text-wrap: balance; }
.ccrx .ccrx-venue__address { font-style: normal; font-size: 18px; line-height: 1.6; color: var(--ccrx-on-soft); }
.ccrx .ccrx-venue__intro { max-width: 56ch; font-size: 17px; line-height: 1.65; color: var(--ccrx-on-soft); }
.ccrx-venue__rows { width: 100%; margin: 12px 0 0; border-top: 1px solid var(--ccrx-rule); }
.ccrx-venue__rows > div { display: grid; grid-template-columns: minmax(120px, .4fr) minmax(0, 1fr); gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--ccrx-rule); }
.ccrx .ccrx-venue__rows dt { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ccrx-on-muted); }
.ccrx .ccrx-venue__rows dd { margin: 0; font-size: 16px; line-height: 1.5; }
.ccrx-venue .ccrx-btns { margin-top: 20px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.ccrx-cta__content { padding: 72px 56px; }
	.ccrx-faq--aside .ccrx-faq__wrap { gap: 56px; }
	.ccrx-accred__grid, .ccrx-venue__grid { gap: 56px; }
}

@media (max-width: 900px) {
	.ccrx-feats, .ccrx-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
	.ccrx-cta__panel.has-image, .ccrx-cta__panel--img-left.has-image { grid-template-columns: 1fr; }
	.ccrx-cta__panel--img-left .ccrx-cta__media { order: 0; }
	.ccrx-cta__media { min-height: 260px; order: 2; }
	.ccrx-cta__content { padding: 56px 32px; }
	.ccrx-faq--aside .ccrx-faq__wrap { grid-template-columns: 1fr; gap: 40px; }
	.ccrx-faq--aside .ccrx-hd { position: static; }
	.ccrx .ccrx-faq__q { font-size: 24px; padding: 22px 0; }
	.ccrx .ccrx-faq__a { padding-right: 0; }
	.ccrx-posts--featured .ccrx-post:first-child { grid-template-columns: 1fr; }
	.ccrx-posts--featured .ccrx-post:first-child .ccrx-post__media { min-height: 0; aspect-ratio: 16 / 10; }
	.ccrx-posts--featured .ccrx-post:first-child .ccrx-post__body { padding: 32px 28px; }
	.ccrx-ag__item { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
	.ccrx .ccrx-ag__list { padding: 4px 20px; }
	.ccrx-ag__item--keynote { margin: 0 -20px; padding: 14px 20px; }
	.ccrx-ag__time { flex-direction: row; gap: 6px; }
	.ccrx-ag__until::before { content: "–"; margin-right: 6px; }
	.ccrx-ag__until .ccrx-sr { display: none; }
	.ccrx .ccrx-ag__meta { white-space: normal; }
	.ccrx-accred__grid, .ccrx-venue__grid.has-image { grid-template-columns: 1fr; }
	.ccrx-accred__credits { flex-direction: row; flex-wrap: wrap; gap: 32px 56px; }
	.ccrx-venue__grid--img-right .ccrx-venue__media { order: 0; }
	.ccrx-venue__media { min-height: 320px; }
}

@media (max-width: 600px) {
	.ccrx-feats, .ccrx-posts { grid-template-columns: 1fr; }
	.ccrx .ccrx-feat__title { font-size: 28px; }
	.ccrx-cd { gap: 24px 20px; }
	.ccrx-cd__unit { min-width: 72px; }
	.ccrx-venue__rows > div { grid-template-columns: 1fr; gap: 4px; }
	.ccrx .ccrx-accred__st-title { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
	.ccrx-post__media img, .ccrx .ccrx-post__more .ccrx-icon { transition: none; }
	.ccrx-post:hover .ccrx-post__media img { transform: none; }
}
