/* Inner pages — built on the home system (cds-home.css) */

/* ---------- page hero ---------- */
.cds-h.hero--page { min-height: 86vh; min-height: 86svh; }
.cds-h.hero--page .hero__title { font-size: clamp(3.2rem, 0.4rem + 8vw, 11rem); }
.cds-h.hero--page .hero__inner { padding-top: calc(var(--header-h) + 10vh); }
.cds-h .phero__crumb { position: relative; z-index: 3; grid-column: 1 / -1; display: flex; gap: 0.6rem; align-items: center; margin-bottom: clamp(1.4rem, 4vh, 2.6rem); color: rgba(238, 238, 242, 0.55); }
.cds-h .phero__crumb a { color: var(--light); text-decoration: none; }
.cds-h .phero__crumb a:hover { color: var(--red); }
.cds-h .phero__label { grid-column: 1 / -1; display: flex; align-items: center; margin-bottom: 1.2rem; }
.cds-h.hero--page .hero__aside { align-self: end; }
.cds-h.hero--image .phero__photo { position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 62%; margin: 0; }
.cds-h.hero--image .phero__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: cds-ph-zoom 14s ease-out both; }
@keyframes cds-ph-zoom { to { transform: scale(1); } }
.cds-h .phero__ghost { position: absolute; z-index: 0; right: -2vw; top: 50%; transform: translateY(-58%); margin: 0; font-family: var(--font); font-weight: 800; font-stretch: 62%; text-transform: uppercase; line-height: 0.8; font-size: clamp(10rem, 32vw, 34rem); color: transparent; -webkit-text-stroke: 1.5px rgba(238, 238, 242, 0.12); white-space: nowrap; pointer-events: none; }
.cds-h.hero--type .hero__veil { background: radial-gradient(60% 70% at 80% 40%, rgba(214, 46, 73, 0.18), transparent 70%); }

/* ---------- story split ---------- */
.cds-h.psplit { padding: clamp(6rem, 15vh, 10rem) 0; }
.cds-h .psplit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.6rem, 6vw, 6rem); align-items: center; }
.cds-h .psplit--left .psplit__media { order: -1; }
.cds-h .psplit__text > .label { display: flex; align-items: center; margin-bottom: 1.2rem; color: var(--mute); }
.cds-h .psplit__title { font-size: clamp(2.8rem, 1rem + 4.6vw, 6.4rem); }
.cds-h .psplit__lead { margin-top: 1.8rem; font-size: clamp(1.15rem, 0.95rem + 0.6vw, 1.5rem); line-height: 1.45; font-weight: 500; max-width: 36ch; }
.cds-h .psplit__body { margin-top: 1.4rem; color: var(--mute); max-width: 56ch; }
.cds-h .psplit__body p + p { margin-top: 1rem; }
.cds-h .psplit__points { margin-top: 1.8rem; display: grid; gap: 0.75rem; }
.cds-h .psplit__points li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.4rem; align-items: baseline; font-weight: 500; }
.cds-h .psplit__points li::before { content: ''; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--red); background: radial-gradient(circle, var(--red) 0 1.8px, transparent 2.2px); transform: translateY(-1px); }
.cds-h .psplit__btn { margin-top: 2.2rem; }
.cds-h .psplit__media { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--navy-2); box-shadow: 0 40px 80px -40px rgba(5, 6, 20, 0.7); }
.cds-h .psplit__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.cds-h .psplit__media:hover img { transform: scale(1.04); }
.cds-h .psplit__media.is-framed { aspect-ratio: 4 / 3; background: #fff; }
.cds-h .psplit__media.is-framed img { object-fit: contain; padding: 6%; }
.cds-h .psplit__media figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 10px; border-radius: 8px; background: rgba(21, 24, 51, 0.88); color: #fff; }

/* ---------- card grid ---------- */
.cds-h.pgrid { padding: clamp(6rem, 15vh, 10rem) 0; }
.cds-h .pgrid__list { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 22px); counter-reset: none; }
.cds-h .pgrid__card {
  position: relative; display: flex; flex-direction: column; height: 100%; min-height: 17rem; padding: 1.6rem 1.5rem 1.4rem; border-radius: 18px;
  background: var(--navy); color: var(--light) !important; text-decoration: none !important; overflow: hidden; isolation: isolate;
  box-shadow: 0 30px 50px -34px rgba(29, 33, 69, 0.6); transition: transform 0.7s var(--ease-out), box-shadow 0.7s var(--ease-out);
}
.cds-h .pgrid__card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--red); clip-path: circle(0% at 92% 8%); transition: clip-path 0.9s var(--ease-out); }
.cds-h .pgrid__card:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: 0 40px 60px -30px rgba(29, 33, 69, 0.7); }
.cds-h a.pgrid__card:hover::before { clip-path: circle(150% at 92% 8%); }
.cds-h a.pgrid__card:hover .pgrid__n { color: #fff; }
.cds-h .pgrid__n { font-family: var(--font); font-size: clamp(2.6rem, 1.6rem + 1.8vw, 3.8rem); font-weight: 800; font-stretch: 62%; line-height: 0.85; color: var(--red); transition: color 0.5s; }
.cds-h .pgrid__t { margin-top: auto; padding-top: 2rem; font-size: clamp(1.4rem, 1rem + 0.8vw, 1.9rem); font-weight: 800; font-stretch: 62%; text-transform: uppercase; line-height: 1; }
.cds-h .pgrid__p { margin-top: 0.7rem; color: rgba(238, 238, 242, 0.76); font-size: 0.95rem; line-height: 1.55; }
.cds-h .pgrid__meta { margin-top: 1.1rem; padding-top: 0.8rem; border-top: 1px solid rgba(238, 238, 242, 0.16); font-size: 0.68rem; }
.cds-h .pgrid__go { position: absolute; top: 1.3rem; right: 1.3rem; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(238, 238, 242, 0.3); transition: transform 0.6s var(--ease-spring), background-color 0.4s; }
.cds-h .pgrid__go svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cds-h a.pgrid__card:hover .pgrid__go { transform: rotate(45deg); background: rgba(255, 255, 255, 0.16); }
.cds-h.sheet--navy .pgrid__card, .cds-h.sheet--deep .pgrid__card { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(238, 238, 242, 0.1); }
.cds-h.sheet--red .pgrid__card { background: rgba(21, 24, 51, 0.92); }
/* numbered rows variant */
.cds-h.pgrid--rows .pgrid__list { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.cds-h.pgrid--rows .pgrid__card { display: grid; grid-template-columns: 6rem minmax(0, 0.9fr) minmax(0, 1.2fr) auto; gap: 1rem 2rem; align-items: baseline; min-height: 0; padding: 1.8rem 0; border-radius: 0; background: none !important; border: 0; border-bottom: 1px solid var(--line); box-shadow: none; color: inherit !important; }
.cds-h.pgrid--rows .pgrid__card::before { display: none; }
.cds-h.pgrid--rows .pgrid__card:hover { transform: none; }
.cds-h.pgrid--rows .pgrid__t { margin: 0; padding: 0; font-size: clamp(1.8rem, 1rem + 1.6vw, 2.8rem); }
.cds-h.pgrid--rows .pgrid__p { margin: 0; color: var(--mute); }
.cds-h.pgrid--rows .pgrid__meta { margin: 0; padding: 0; border: 0; color: var(--mute); white-space: nowrap; }

/* ---------- FAQ ---------- */
.cds-h.pfaq { padding: clamp(6rem, 15vh, 10rem) 0; }
.cds-h .pfaq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3rem 6vw; align-items: start; }
.cds-h .pfaq__grid .section-head { grid-template-columns: 1fr; position: sticky; top: calc(var(--header-h) + 3vh); margin: 0; }
.cds-h .pfaq__grid .section-head__title { font-size: clamp(3rem, 1rem + 4.6vw, 6.4rem); }
.cds-h .pfaq__list { border-top: 1px solid var(--line); }
.cds-h .pfaq__item { border-bottom: 1px solid var(--line); }
.cds-h .pfaq__item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 3rem minmax(0, 1fr) 2rem; gap: 0.6rem; align-items: baseline; padding: 1.5rem 0; }
.cds-h .pfaq__item summary::-webkit-details-marker { display: none; }
.cds-h .pfaq__n { color: var(--mute); }
.cds-h .pfaq__q { font-size: clamp(1.2rem, 0.95rem + 0.7vw, 1.6rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; transition: color 0.3s; }
.cds-h .pfaq__item summary:hover .pfaq__q { color: var(--red); }
.cds-h .pfaq__x { position: relative; width: 20px; height: 20px; align-self: center; justify-self: end; }
.cds-h .pfaq__x::before, .cds-h .pfaq__x::after { content: ''; position: absolute; left: 0; top: 9px; width: 20px; height: 2px; background: var(--red); transition: transform 0.5s var(--ease-out); }
.cds-h .pfaq__x::after { transform: rotate(90deg); }
.cds-h .pfaq__item[open] .pfaq__x::after { transform: rotate(0deg); }
.cds-h .pfaq__item[open] .pfaq__n { color: var(--red); }
.cds-h .pfaq__a { padding: 0 2.6rem 1.7rem 3.6rem; color: var(--mute); max-width: 64ch; animation: cds-faq-in 0.6s var(--ease-out); }
@keyframes cds-faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- CTA band ---------- */
.cds-h.pcta { padding: clamp(6rem, 16vh, 10rem) 0; }
.cds-h .pcta__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem 6vw; align-items: end; }
.cds-h .pcta__grid .label { display: flex; align-items: center; margin-bottom: 1.2rem; }
.cds-h .pcta__title { font-size: clamp(3.6rem, 1rem + 8vw, 10rem); }
.cds-h .pcta__title > span { display: block; }
.cds-h .pcta__title > span + span { padding-left: 0.5em; }
.cds-h .pcta__side { display: grid; gap: 1.6rem; justify-items: start; }
.cds-h .pcta__text { max-width: 36ch; font-size: 1.08rem; }
.cds-h .pcta__direct { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; }

/* ---------- articles ---------- */
.cds-h.pposts { padding: clamp(6rem, 15vh, 10rem) 0; }
.cds-h .pposts__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.6rem) clamp(14px, 2vw, 28px); }
.cds-h .pposts__card { display: flex; flex-direction: column; gap: 0.9rem; color: inherit !important; text-decoration: none !important; }
.cds-h .pposts__media { display: block; aspect-ratio: 16 / 11; border-radius: 16px; overflow: hidden; background: var(--navy-2); }
.cds-h .pposts__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter 0.8s; filter: saturate(0.85); }
.cds-h .pposts__card:hover .pposts__media img { transform: scale(1.05); filter: none; }
.cds-h .pposts__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; color: var(--mute); }
.cds-h .pposts__meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--red); }
.cds-h .pposts__t { font-family: var(--font); font-size: clamp(1.35rem, 1rem + 0.7vw, 1.8rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; transition: color 0.3s; }
.cds-h .pposts__card:hover .pposts__t { color: var(--red); }
.cds-h .pposts__x { color: var(--mute); font-size: 0.95rem; }
.cds-h .pposts__more { display: inline-flex; align-items: center; gap: 0.5rem; }
.cds-h .pposts__more svg { width: 14px; height: 14px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.5s var(--ease-out); }
.cds-h .pposts__card:hover .pposts__more svg { transform: translateX(5px); }
.cds-h .pposts__pages { margin-top: 3rem; display: flex; gap: 0.5rem; }
.cds-h .pposts__pages .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 0.6rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; }
.cds-h .pposts__pages .current { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- single article ---------- */
.cds-h.particle { padding: calc(var(--header-h) + 8vh) 0 clamp(5rem, 12vh, 8rem); }
.cds-h .particle__head { max-width: 1100px; }
.cds-h .particle__back { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--mute); text-decoration: none; }
.cds-h .particle__back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease-out); }
.cds-h .particle__back:hover { color: var(--light); }
.cds-h .particle__back:hover svg { transform: translateX(-4px); }
.cds-h .particle__meta { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-top: 2.4rem; color: var(--mute); }
.cds-h .particle__meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--red); }
.cds-h .particle__title { margin-top: 1.2rem; font-size: clamp(2.8rem, 1rem + 5vw, 6.6rem); max-width: 18ch; }
.cds-h .particle__lead { margin-top: 1.8rem; max-width: 52ch; font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.4rem); line-height: 1.5; color: rgba(238, 238, 242, 0.84); }
.cds-h .particle__media { margin: clamp(3rem, 8vh, 5rem) auto 0; max-width: 1400px; aspect-ratio: 21 / 9; border-radius: 20px; overflow: hidden; }
.cds-h .particle__media img { width: 100%; height: 100%; object-fit: cover; }
.cds-h .particle__body { width: min(100% - 2 * var(--gutter), 720px); margin: clamp(3rem, 8vh, 5rem) auto 0; font-size: 1.12rem; line-height: 1.75; color: rgba(238, 238, 242, 0.88); }
.cds-h .particle__body > * + * { margin-top: 1.3em; }
.cds-h .particle__body h2 { margin-top: 2.2em; font-size: clamp(1.9rem, 1.2rem + 1.6vw, 2.8rem); font-weight: 800; font-stretch: 62%; text-transform: uppercase; line-height: 1; color: var(--light); }
.cds-h .particle__body h3 { margin-top: 1.8em; font-size: 1.35rem; font-weight: 700; color: var(--light); }
.cds-h .particle__body ul, .cds-h .particle__body ol { padding-left: 1.2em; list-style: revert; }
.cds-h .particle__body li + li { margin-top: 0.5em; }
.cds-h .particle__body li::marker { color: var(--red); }
.cds-h .particle__body a { color: #fff; text-decoration-color: var(--red); text-underline-offset: 4px; }
.cds-h .particle__body blockquote { margin: 2em 0; padding: 0.4em 0 0.4em 1.4em; border-left: 3px solid var(--red); font-size: 1.35rem; line-height: 1.45; color: var(--light); }
.cds-h .particle__body strong { color: var(--light); }

@media (max-width: 1023px) {
  .cds-h .psplit__grid, .cds-h .pfaq__grid, .cds-h .pcta__grid { grid-template-columns: 1fr; }
  .cds-h .pgrid__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cds-h .pposts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cds-h.pgrid--rows .pgrid__card { grid-template-columns: 3rem 1fr; }
  .cds-h.hero--image .phero__photo { width: 100%; opacity: 0.35; }
}
@media (max-width: 640px) { .cds-h .pgrid__list, .cds-h .pposts__list { grid-template-columns: 1fr; } }
