/* Event card base copied from ScopeShare Workshop; independent page namespace. */
.cw-panel-card {
  position: relative;
  display: flex;
  flex: 0 0 364px;
  flex-direction: column;
  width: 364px;
  height: 448px;
  overflow: hidden;
  scroll-snap-align: start;
  border-radius: 22px;
  border: 1px solid #ebebe5;
  background: rgba(195, 205, 167, 0.62);
  box-shadow: 0 10.9px 29px 0 rgba(0, 0, 0, 0.03);
  --cw-edge-transform: translate(0%, -100%);
}
.cw-panel-card-fill {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #f2ffb7;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease-out;
}
.cw-panel-card.is-hovered .cw-panel-card-fill { opacity: 1; }
.cw-workshop-card { background: #f2ffb7; }
.cw-workshop-card .cw-panel-card-fill { background: var(--cw-dark-green); }
#climate-week .cw-workshop-card .cw-panel-action { background: #d8dec4; border-color: #d8dec4; color: #353535; }
#climate-week .cw-panel-card:not(.cw-workshop-card):is(:hover, :focus-within, .is-hovered) .cw-panel-action { background: #f2ffb7; border-color: #f2ffb7; color: #353535; }
#climate-week .cw-panel-card:not(.cw-workshop-card) .cw-panel-action:is(:hover, :focus-visible) { background: #fff; border-color: #fff; color: #353535; }
#climate-week .cw-workshop-card.is-hovered .cw-panel-action { background: var(--cw-fluo-green); border-color: var(--cw-fluo-green); color: #353535; }
#climate-week .cw-workshop-card .cw-panel-action:is(:hover, :focus-visible) { background: #fff; border-color: #fff; color: #353535; }
#climate-week .cw-workshop-card.is-hovered .cw-day-meta-item,
#climate-week .cw-workshop-card.is-hovered .cw-day-eyebrow,
#climate-week .cw-workshop-card.is-hovered .cw-day-title,
#climate-week .cw-workshop-card.is-hovered .cw-day-body,
#climate-week .cw-workshop-card.is-hovered .cw-speaker-name,
#climate-week .cw-workshop-card.is-hovered .cw-speaker-title { color: #fff; }
.cw-workshop-card.is-hovered .cw-day-meta-item img { filter: brightness(0) invert(1); }
.cw-panel-card-inner { position: relative; z-index: 1; display: flex; height: 100%; flex-direction: column; padding: 22px 18px 16px; }
.cw-panel-card-textgroup { display: contents; }
.cw-day-meta { display: flex; height: 16px; flex-shrink: 0; align-items: center; gap: 36px; }
.cw-day-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: "FKGrotesk", sans-serif;
  font-size: 13px;
  color: var(--cw-dark-green);
  text-transform: uppercase;
}
.cw-day-meta-item img { width: 14px; height: 14px; }
.cw-day-title {
  height: 26px;
  flex-shrink: 0;
  margin-top: 24px;
  font-family: "RecklessLight", serif;
  font-size: 24px;
  line-height: 26px;
  font-weight: 300;
  color: #353535;
}
.cw-day-body {
  height: 64px;
  flex-shrink: 0;
  margin-top: 32px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  font-size: 13px;
  line-height: 16px;
  color: rgba(101, 101, 102, 0.9);
}
.cw-speaker-row { display: flex; height: 48px; flex-shrink: 0; align-items: center; gap: 12px; margin-top: 14px; overflow: hidden; }
.cw-speaker-avatar {
  position: relative;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid #ebebe5;
  background: #f5f5ef;
}
.cw-speaker-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cw-speaker-name { font-size: 13px; line-height: 16px; font-weight: 600; color: #353535; }
.cw-speaker-title { font-size: 12px; line-height: 14px; color: #656566; }
/* Panel cards show the role and "Arva" on separate lines. */
.cw-speaker-row .cw-speaker-title { white-space: pre-line; }
.cw-day-image {
  position: relative;
  margin-top: 16px;
  height: 128px;
  flex-shrink: 0;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
}
.cw-day-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cw-panel-action {
  display: flex;
  width: 100%;
  height: 26px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  border: 1px solid var(--cw-fluo-green);
  border-radius: 999px;
  background: var(--cw-fluo-green);
  color: #353535;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.cw-sponsor-logos { display: flex; flex-shrink: 0; gap: 6px; }
.cw-sponsor-logos img { width: 38px; height: 38px; border-radius: 999px; object-fit: cover; }
.cw-sponsor-copy { font-size: 12px; line-height: 14px; color: #353535; }

/* Layout and proportions from Figma 1163:2830. */
:where(#climate-week, #climate-week *) { box-sizing: border-box; }
#climate-week { --cw-dark-green: #07503f; --cw-fluo-green: #e8fe85; isolation: isolate; background: #fbfaf1; color: #353535; font-family: Inter, sans-serif; }
#climate-week :where(h1,h2,h3,p) { margin: 0; padding: 0; }
#climate-week img { display: block; max-width: 100%; }
#climate-week :where(h1,h2) { font-family: RecklessLight, Georgia, serif; font-weight: 300; text-wrap: balance; }
#climate-week a:focus-visible { outline: 3px solid #07503f; outline-offset: 5px; }
.cw-hero { position: relative; min-height: 737px; margin: 16px 16px 0; border-radius: 20px; overflow: hidden; color: white; display: grid; place-items: center; }
.cw-hero-media { position: absolute; inset: 0; overflow: hidden; }
.cw-hero-media img { position: absolute; width: 131.57%; max-width: none !important; height: 176.25%; left: -9.97%; top: -62.57%; object-fit: cover; }
.cw-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(125,98,56,.5), transparent); }
.cw-hero-content { position: relative; display: flex; flex-direction: column; align-items: center; padding: 170px 24px 190px; width: 100%; text-align: center; }
.cw-event-logo { width: 252px; height: 115px; object-fit: contain; margin-bottom: 30px; }
#climate-week h1 { font-size: 52px; line-height: 1.05; }
#climate-week .cw-hero-sub { color: #fff; max-width: 679px; margin-top: 36px; font-size: 16px; line-height: 20px; }
.cw-hero-meta { display: flex; gap: 64px; margin-top: 30px; font-size: 18px; }
.cw-hero-meta span { display: flex; align-items: center; gap: 8px; }
.cw-hero-meta img { width: 18px; height: 18px; }
.cw-panels { padding: 82px 0 120px; border-radius: 42px 42px 0 0; background: #fbfaf1; }
.cw-panels-inner { max-width: 1418px; margin: auto; padding: 0 48px; }
#climate-week .cw-heading-sm { font-size: 42px; line-height: 1.1; text-align: center; }
.cw-panels-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 40px 34px; margin-top: 56px; }
.cw-panel-card { width: auto; height: auto; min-height: 510px; border-radius: 26px; }
.cw-panel-card-inner { padding: 24px 20px 20px; }
.cw-day-meta { height: auto; min-height: 18px; gap: 20px; justify-content: space-between; flex-wrap: wrap; }
.cw-day-meta-item { font-size: 14px; }
#climate-week .cw-day-title { margin-top: 29px; min-height: 56px; height: auto; font-size: 27px; line-height: 1.05; }
#climate-week .cw-day-body { margin-top: 10px; min-height: 72px; height: auto; overflow: visible; display: block; font-size: 14px; line-height: 18px; }
.cw-speaker-row { min-height: 55px; height: auto; overflow: visible; margin-top: 14px; gap: 10px; }
.cw-speaker-avatar, .cw-sponsor-logos img { width: 43px; height: 43px; }
.cw-sponsor-logos { gap: 6px; }
.cw-speaker-name { font-size: 14px; line-height: 18px; }
.cw-speaker-title { font-size: 13px; line-height: 17px; }
.cw-panel-action { height: auto; min-height: 32px; margin-top: auto; padding: 7px 10px; font-size: 14px; text-align: center; line-height: 18px; }
.cw-day-image { height: 145px; margin-top: 16px; border-radius: 17px; }
.cw-expect { position: relative; z-index: 1; min-height: 585px; padding: 70px 36px 100px; border-radius: 0 0 40px 40px; background: linear-gradient(0deg,#cadbea,#fbfaf1 82.33%); }
.cw-expect-head { max-width: 700px; margin: auto; text-align: center; }
#climate-week .cw-expect h2 { margin: 0; font-size: 42px; line-height: 1.1; }
#climate-week .cw-expect-head p { text-wrap: balance; max-width: 540px; margin: 24px auto 0; font-size: 16px; line-height: 20px; color: #5c5c57; }
.cw-topics { display: grid; grid-template-columns: repeat(5,minmax(0,220px)); justify-content: center; align-items: center; gap: 16px; margin: 70px auto 0; max-width: 1440px; padding: 0; list-style: none; }
/* Match ScopeShare's frosted texture and inactive/active label colors. */
.cw-topics li { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: 58px; padding: 10px 12px; border: 1px solid #fff; border-radius: 7px; background: none; font-family: "FKGrotesk", sans-serif; font-size: 16px; line-height: 19px; text-align: center; color: #353535; }
.cw-topics li::before, .cw-topics li::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; }
.cw-topics li::before { background: linear-gradient(153deg, rgba(255,255,255,.5) 4.87%, rgba(255,255,255,0) 103.95%); }
.cw-topics li::after { background: url('../images/scope-share/tag-frosted-glass.jpg') center/cover; opacity: .3; }
@media (hover: hover) and (pointer: fine) {
  .cw-topics li { transition: scale .25s cubic-bezier(.19,1,.22,1); }
  .cw-topics li:hover { scale: 1.035; z-index: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cw-topics li { transition: none; }
  .cw-topics li:hover { scale: 1; }
}
.cw-cta { position: relative; display: grid; place-items: center; min-height: 759px; margin-top: -40px; overflow: hidden; color: white; }
.cw-cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.cw-cta::after { content: ''; position: absolute; inset: 0; background: rgba(28,65,56,.24); }
.cw-cta-inner { position: relative; z-index: 1; max-width: 850px; padding: 100px 24px; text-align: center; }
#climate-week .cw-cta h2 { font-size: 43px; line-height: 1.03; }
.cw-btn { display: inline-flex; align-items: center; gap: 14px; padding: 8px 8px 8px 24px; min-height: 48px; border-radius: 99px; background: #e8fe85; color: #353535; font-size: 14px; font-weight: 600; text-transform: uppercase; text-decoration: none; margin-top: 34px; }
.cw-btn img { width: 30px; height: 30px; }
.cw-btn:hover { background: white; color: #353535; }
@media (max-width: 1100px) {
  .cw-panels-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .cw-topics { grid-template-columns: repeat(3,minmax(0,220px)); }
  .cw-hero { min-height: 680px; }
  .cw-hero-content { padding: 150px 24px; }
}
@media (max-width: 640px) {
  .cw-hero { margin: 8px 8px 0; min-height: 660px; border-radius: 18px; }
  .cw-hero-media img { width: 100%; height: 100%; top: 0; left: 0; object-position: 50% 60%; }
  .cw-hero-content { padding: 130px 20px 80px; }
  .cw-event-logo { width: 200px; height: 92px; }
  #climate-week h1 { font-size: 38px; }
  #climate-week .cw-hero-sub { font-size: 15px; line-height: 21px; margin-top: 24px; }
  .cw-hero-meta { flex-direction: column; align-items: center; gap: 14px; font-size: 16px; }
  .cw-panels { padding: 60px 0; }
  .cw-panels-inner { padding: 0 20px; }
  #climate-week .cw-heading-sm, #climate-week .cw-expect h2 { font-size: 34px; }
  .cw-panels-grid { grid-template-columns: minmax(0,1fr); margin-top: 32px; }
  .cw-panel-card { min-height: 510px; }
  .cw-panel-action { min-height: 44px; margin-top: 18px; }
  .cw-sponsor-logos img { width: 34px; height: 34px; }
  .cw-expect { padding: 36px 20px 64px; }
  .cw-topics { grid-template-columns: minmax(0,220px); gap: 16px; }
  .cw-topics li { min-height: 58px; }
  .cw-cta { min-height: 600px; }
  #climate-week .cw-cta h2 { font-size: 34px; line-height: 1.1; }
}
@media (prefers-reduced-motion: reduce) { .cw-panel-action { transition: none; } }

/* ScopeShare animation styles, scoped to this copied page. */
html.js #climate-week [data-reveal="up"] {
  opacity: 0;
  transform: translateY(28px);
}
html.js #climate-week [data-reveal="up"].is-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
html.js #climate-week [data-reveal="blur"] {
  opacity: 0;
  filter: blur(8px);
  transform: scale(0.97);
}
html.js #climate-week [data-reveal="blur"].is-in {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
html.js #climate-week [data-reveal="scale"] {
  opacity: 0;
  transform: scale(0.94);
}
html.js #climate-week [data-reveal="scale"].is-in {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
html.js #climate-week [data-reveal="pop"] {
  opacity: 0;
  transform: scale(0.75) rotate(-16deg);
}
html.js #climate-week [data-reveal="pop"].is-in {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}


.cw-hero-sticky { position: sticky; top: 24px; z-index: 0; }
.cw-hero-clip { position: absolute; inset: 0; }
html.js .cw-hero-clip { clip-path: inset(50% round 160px); }
html.js body.page-template-page-climate-week-php header { opacity: 0; }
/* Clip the bottom-sticky CTA at the same rounded edge as the event section.
   overflow: clip preserves sticky positioning without creating a scroll container. */
.cw-content { position: relative; z-index: 10; overflow: clip; border-radius: 42px 42px 0 0; background: #fbfaf1; }
.cw-handoff { position: absolute; top: 0; height: 1px; width: 100%; }
.cw-panels { position: relative; z-index: 1; }
.cw-cta-reveal { position: sticky; bottom: 0; z-index: 0; padding: 0; }
.cw-cta { border-radius: 0; }
.cw-cta-heading-mask { display: block; overflow: hidden; }
.cw-cta-heading-inner { display: block; }
html.js .cw-cta-heading-inner { clip-path: inset(0% 0% 100% 0%); }
html.js .cw-cta-heading.is-in .cw-cta-heading-inner { clip-path: inset(0% 0% 0% 0%); transition: clip-path .9s cubic-bezier(.19,1,.22,1); }
.cw-btn img { transition: transform .25s cubic-bezier(.22,1,.36,1); }
.cw-btn:hover img { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  html.js #climate-week [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .cw-hero-clip, html.js .cw-cta-heading-inner { clip-path: inset(0) !important; }
  html.js body.page-template-page-climate-week-php header { opacity: 1 !important; }
  .cw-panel-card-fill { display: none; }
  .cw-hero-sticky, .cw-cta-reveal { position: relative; top: auto; bottom: auto; }
  .cw-btn img, .cw-btn:hover img { transform: none; transition: none; }
}


.cw-social-hosts span { display: block; font-weight: inherit; }

/* Content-driven spacing: retain 416px width and a 566px minimum height. */
.cw-panels-inner { max-width: 1412px; }
.cw-panels-grid { grid-template-columns: repeat(3,minmax(0,416px)); grid-auto-rows: 1fr; justify-content: center; }
.cw-panel-card { width: 100%; height: auto; min-height: 566px; }
.cw-panel-card-inner { padding: 24px 20px; height: auto; flex: 1; }
.cw-day-meta { gap: 40px; justify-content: flex-start; }
.cw-day-heading { margin-top: 30px; }
#climate-week .cw-day-eyebrow { font-family: RecklessLight, Georgia, serif; font-size: 16px; line-height: 20px; margin: 0 0 10px; }
#climate-week .cw-day-title { margin: 0; min-height: 0; height: auto; font-size: 24px; line-height: 28px; }
/* Spare height belongs between the heading and description, above the anchored footer. */
#climate-week .cw-day-body { margin: auto 0 0; padding-top: 12px; min-height: 0; height: auto; font-size: 14px; line-height: 17px; }
.cw-panel-card .cw-speaker-row { margin: 24px 0 0; min-height: 53px; height: auto; align-items: flex-start; }
.cw-panel-card .cw-panel-action { margin: 20px 0 0; min-height: 32px; }
.cw-panel-card .cw-day-image { margin: 16px 0 0; width: 100%; height: 145px; }
@media (max-width: 1411px) { .cw-panels-grid { grid-template-columns: repeat(2,minmax(0,416px)); } }
@media (max-width: 900px) {
  .cw-panels-grid { grid-template-columns: minmax(0,416px); }
  .cw-panel-card .cw-panel-action { min-height: 44px; }
}

.cw-panel-card :is(.cw-day-meta-item, .cw-day-eyebrow, .cw-day-title, .cw-day-body, .cw-speaker-name, .cw-speaker-title) { transition: color .25s ease-out; }
.cw-panel-card .cw-day-meta-item img { transition: filter .25s ease-out; }
.cw-panel-card .cw-panel-action { transition: background-color .25s ease-out, border-color .25s ease-out, color .25s ease-out; }
@media (prefers-reduced-motion: reduce) {
  .cw-panel-card-fill, .cw-panel-card :is(.cw-day-meta-item, .cw-day-eyebrow, .cw-day-title, .cw-day-body, .cw-speaker-name, .cw-speaker-title, .cw-panel-action), .cw-panel-card .cw-day-meta-item img { transition: none; }
}
