.cxh {
  --h-bg: #0d0e0f; --h-fg: #fff; --h-muted: rgba(255, 255, 255, .72); --h-line: rgba(255, 255, 255, .16); --h-accent: #fff;
  --padx: max(var(--gutter), (100% - var(--max)) / 2);
  position: relative; overflow: hidden; background: var(--h-bg); color: var(--h-fg);
}
html[data-tema="color"] .cxh { --h-bg: var(--navy); --h-accent: var(--blue); }
html[data-tema="claro"] .cxh { --h-bg: #F4F6F8; --h-fg: var(--ink); --h-muted: var(--gray-70); --h-line: rgba(14, 30, 50, .14); --h-accent: var(--blue-deep); }

.cxh__media { position: relative; overflow: hidden; background: #000; }
.cxh__media :is(img, video) { display: block; width: 100%; height: 100%; object-fit: cover; }
html[data-tema="byn"] .cxh__media :is(img, video) { filter: grayscale(1) contrast(1.04); }

.cxh__h1 { margin: 0; color: inherit; }
.cxh__h1 :is(.cxh__kicker, .cxh__title, .cxh__note) { color: inherit; }
.cxh__kicker { display: block; font: 300 clamp(17px, 1.7vw, 25px)/1.1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; }
.cxh__title { display: block; margin-top: 12px; font: 300 clamp(46px, 7vw, 116px)/.95 var(--f-display); letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance; }
.cxh__note { display: block; margin-top: 14px; font: 300 clamp(17px, 1.5vw, 22px)/1.2 var(--f-display); letter-spacing: .04em; }
.cxh__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 3vw, 40px); }
.cxh__btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 1px solid currentColor; border-radius: 999px; font: 500 15px/1 var(--f-body); color: inherit; transition: background .25s, color .25s, border-color .25s; }
.cxh__btn .icon { width: 17px; height: 17px; }
.cxh__btn .cxh__down { transform: rotate(90deg); }
.cxh__btn:hover { background: rgba(255, 255, 255, .12); }
.cxh__btn--main { border-color: #fff; background: #fff; color: #151617; }
.cxh__btn--main:hover { background: transparent; color: #fff; }

.cxh__lead { margin: 0; font: 300 clamp(19px, 1.7vw, 26px)/1.5 var(--f-display); color: var(--h-fg); text-wrap: pretty; }
.cxh__more { display: grid; gap: 16px; font-size: clamp(15px, 1.1vw, 16.5px); line-height: 1.8; color: var(--h-muted); }
.cxh__more p { margin: 0; }

:is(html[data-portada="a"], html[data-portada="c"]) .cxh__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, 0) 24%), linear-gradient(0deg, rgba(0, 0, 0, .74) 0%, rgba(0, 0, 0, .26) 44%, rgba(0, 0, 0, 0) 70%), linear-gradient(90deg, rgba(0, 0, 0, .4) 0%, rgba(0, 0, 0, 0) 60%);
}

html[data-portada="a"] .cxh { display: grid; grid-template-columns: minmax(0, 1fr); }
html[data-portada="a"] .cxh__media { grid-area: 1 / 1; height: min(86svh, 880px); min-height: 520px; }
html[data-portada="a"] .cxh__inner { display: contents; }
html[data-portada="a"] .cxh__head { grid-area: 1 / 1; align-self: end; z-index: 2; padding: 0 var(--padx) clamp(48px, 6vw, 88px); color: #fff; }
html[data-portada="a"] .cxh__text { grid-area: 2 / 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; gap: clamp(32px, 6vw, 112px); padding: clamp(56px, 6vw, 96px) var(--padx) clamp(64px, 7vw, 112px); }

html[data-portada="b"] .cxh { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(100svh, 1000px); }
html[data-portada="b"] .cxh__media { grid-area: 1 / 2; }
html[data-portada="b"] .cxh__inner { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; width: auto; margin: 0; padding: calc(var(--nav-h) + var(--nav-top) + clamp(48px, 5vw, 80px)) clamp(32px, 5vw, 88px) clamp(56px, 6vw, 96px) max(var(--gutter), (100vw - var(--max)) / 2); }
html[data-portada="b"] .cxh__title { font-size: clamp(42px, 5.4vw, 92px); }
html[data-portada="b"] .cxh__btn--main { border-color: var(--h-fg); background: var(--h-fg); color: var(--h-bg); }
html[data-portada="b"] .cxh__btn--main:hover { background: transparent; color: var(--h-fg); }
html[data-tema="claro"][data-portada="b"] .cxh__btn--main { border-color: var(--blue-deep); background: var(--blue-deep); color: #fff; }
html[data-tema="claro"][data-portada="b"] .cxh__btn:hover { background: rgba(14, 30, 50, .06); }
html[data-portada="b"] .cxh__text { margin-top: clamp(36px, 4vw, 56px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--h-line); }
html[data-portada="b"] .cxh__more { margin-top: 20px; }

html[data-portada="c"] .cxh { --monta: clamp(64px, 8vw, 128px); display: grid; grid-template-columns: minmax(0, 1fr); background: #fff; }
html[data-tema="claro"][data-portada="c"] .cxh { background: #F4F6F8; }
html[data-portada="c"] .cxh__media { grid-area: 1 / 1; height: min(80svh, 820px); min-height: 500px; }
html[data-portada="c"] .cxh__inner { display: contents; }
html[data-portada="c"] .cxh__head { grid-area: 1 / 1; align-self: end; z-index: 2; padding: 0 var(--padx) calc(var(--monta) + clamp(32px, 4vw, 56px)); color: #fff; }
html[data-portada="c"] .cxh__text {
  --h-fg: #151617; --h-muted: #5C6670;
  grid-area: 2 / 1; position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; gap: clamp(28px, 5vw, 80px);
  width: min(100% - 2 * var(--gutter), var(--max)); margin: calc(-1 * var(--monta)) auto clamp(48px, 5vw, 80px); padding: clamp(28px, 4vw, 60px);
  border-radius: 28px; background: #fff; box-shadow: 0 30px 90px rgba(10, 20, 35, .16);
}
html[data-tema="color"][data-portada="c"] .cxh__text { --h-fg: var(--navy); --h-muted: #4E6278; }
html[data-tema="claro"][data-portada="c"] .cxh__text { --h-fg: var(--ink); --h-muted: var(--gray-70); }

@media (max-width: 860px) {
  html[data-portada="a"] .cxh__media { height: 72svh; min-height: 440px; }
  html[data-portada="a"] .cxh__text, html[data-portada="c"] .cxh__text { grid-template-columns: minmax(0, 1fr); }
  html[data-portada="b"] .cxh { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  html[data-portada="b"] .cxh__media { grid-area: 1 / 1; height: 58svh; min-height: 360px; }
  html[data-portada="b"] .cxh__inner { grid-area: 2 / 1; padding: 40px var(--gutter) 56px; }
  html[data-portada="c"] .cxh__media { height: 70svh; min-height: 440px; }
  html[data-portada="c"] .cxh { --monta: 56px; }
  html[data-portada="c"] .cxh__text { padding: 26px 22px; border-radius: 22px; }
  .cxh__btn { min-height: 46px; padding: 0 18px; font-size: 14px; }
}

.ptsel { position: fixed; left: 16px; bottom: 154px; z-index: 96; display: flex; gap: 4px; max-width: calc(100vw - 32px); overflow-x: auto; padding: 5px; border-radius: 999px; background: #0f1d2c; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); font: 500 13px/1 var(--f-body); scrollbar-width: none; }
.ptsel b { align-self: center; padding: 0 8px 0 10px; color: rgba(255, 255, 255, .55); font-weight: 500; }
.ptsel button { padding: 9px 14px; border: 0; border-radius: 999px; background: transparent; color: rgba(255, 255, 255, .78); white-space: nowrap; cursor: pointer; }
.ptsel button:hover { color: #fff; }
.ptsel button[aria-pressed="true"] { background: #fff; color: #0f1d2c; }
.ptsel--bajo { bottom: 108px; }
@media (max-width: 640px) { .ptsel { left: 8px; bottom: 146px; max-width: calc(100vw - 16px); } .ptsel b { display: none; } }
@media (max-width: 640px) { .ptsel--bajo { bottom: 100px; } }
