/*
Theme Name: Yechel Premium Studio
Theme URI: https://yechel.com/
Author: Yechel
Author URI: https://yechel.com/
Description: Tema premium moderno para Yechel: productora audiovisual, portafolio, contenidos YechelTV, blog y contacto comercial.
Version: 2.4.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yechel-premium
Tags: custom-logo, custom-menu, featured-images, portfolio, blog, responsive-layout, full-width-template
*/

:root {
  --ych-bg: #06121f;
  --ych-bg-soft: #0a1b2f;
  --ych-bg-card: rgba(255, 255, 255, 0.075);
  --ych-surface: #ffffff;
  --ych-surface-soft: #f5f8fc;
  --ych-text: #142033;
  --ych-text-muted: #66758d;
  --ych-text-invert: #ffffff;
  --ych-blue: #0454a8;
  --ych-blue-2: #0477d9;
  --ych-accent: #ff365d;
  --ych-gold: #f3c764;
  --ych-line: rgba(255, 255, 255, 0.14);
  --ych-line-dark: rgba(20, 32, 51, 0.12);
  --ych-radius-sm: 14px;
  --ych-radius: 22px;
  --ych-radius-lg: 34px;
  --ych-shadow: 0 22px 60px rgba(2, 12, 27, 0.28);
  --ych-shadow-soft: 0 14px 36px rgba(2, 12, 27, 0.12);
  --ych-max: 1180px;
  --ych-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ych-font);
  color: var(--ych-text);
  background: var(--ych-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.overflow-hidden { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.ych-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  z-index: 1000;
  background: linear-gradient(90deg, var(--ych-blue-2), var(--ych-accent), var(--ych-gold));
  box-shadow: 0 0 24px rgba(255, 54, 93, .45);
}

.ych-skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  z-index: 1200;
  background: #fff;
  color: #07182a;
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: var(--ych-shadow-soft);
}
.ych-skip-link:focus { transform: translateY(0); }

.ych-container {
  width: min(calc(100% - 40px), var(--ych-max));
  margin-inline: auto;
}

.ych-container--standard { width: min(calc(100% - 40px), var(--ych-max)); }
.ych-container--narrow { width: min(calc(100% - 40px), 940px); }
.ych-container--wide { width: min(calc(100% - 40px), 1380px); }
.ych-container--full { width: min(calc(100% - 24px), 1680px); }


.ych-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(6, 18, 31, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.10);
  transition: box-shadow .25s ease, background .25s ease;
}
.ych-header.is-scrolled {
  background: rgba(6, 18, 31, .94);
  box-shadow: 0 18px 42px rgba(0,0,0,.26);
}
.ych-header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.ych-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: max-content;
  color: var(--ych-text-invert);
}
.ych-brand__logo {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, var(--ych-blue), var(--ych-blue-2));
  box-shadow: 0 12px 30px rgba(4, 84, 168, .30);
}
.ych-brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}
.ych-brand__mark {
  font-weight: 900;
  letter-spacing: -.06em;
  color: #fff;
  font-size: 1.35rem;
}
.ych-brand__name {
  display: grid;
  gap: 0;
  line-height: 1.05;
}
.ych-brand__title {
  font-weight: 900;
  letter-spacing: -.025em;
  font-size: clamp(1.08rem, 2vw, 1.42rem);
}
.ych-brand__tagline {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.66);
}

.ych-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.86);
}
.ych-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.ych-nav li { position: relative; }
.ych-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 13px;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 700;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.ych-nav a:hover,
.ych-nav .current-menu-item > a,
.ych-nav .current_page_item > a {
  color: #fff;
  background: rgba(255,255,255,.10);
  transform: translateY(-1px);
}
.ych-nav .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 230px;
  display: grid;
  gap: 4px;
  padding: 10px;
  background: rgba(6,18,31,.96);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  box-shadow: var(--ych-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(.98);
  transition: opacity .2s ease, transform .2s ease;
}
.ych-nav li:hover > .sub-menu,
.ych-nav li:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.ych-nav .sub-menu a { width: 100%; justify-content: flex-start; border-radius: 12px; }
.ych-header__actions { display: inline-flex; align-items: center; gap: 10px; }
.ych-mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  color: #fff;
}
.ych-mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform .2s ease, opacity .2s ease;
}
.ych-mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ych-mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ych-mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.ych-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 850;
  letter-spacing: -.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.ych-btn:hover { transform: translateY(-2px); }
.ych-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--ych-accent), #ff6a38);
  box-shadow: 0 16px 34px rgba(255, 54, 93, .28);
}
.ych-btn--primary:hover { box-shadow: 0 20px 42px rgba(255, 54, 93, .36); }
.ych-btn--secondary {
  color: #fff;
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.16);
}
.ych-btn--light {
  color: var(--ych-text);
  background: #fff;
  box-shadow: var(--ych-shadow-soft);
}
.ych-btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,.20);
  background: rgba(255,255,255,.05);
}
.ych-btn--dark {
  color: #fff;
  background: #07182a;
}

.ych-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(4,119,217,.32), transparent 34%),
    radial-gradient(circle at 5% 22%, rgba(255,54,93,.22), transparent 32%),
    linear-gradient(145deg, #06121f 0%, #06182c 48%, #0b2b52 100%);
}
.ych-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .36;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.ych-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  background: linear-gradient(to bottom, transparent, var(--ych-surface));
}
.ych-hero__inner {
  position: relative;
  z-index: 1;
  min-height: clamp(560px, 74vh, 780px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
  padding: clamp(60px, 8vw, 108px) 0 clamp(90px, 10vw, 142px);
}
.ych-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: .8rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.ych-eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--ych-accent);
  box-shadow: 0 0 0 6px rgba(255,54,93,.15);
}
.ych-hero h1 {
  margin: 18px 0 18px;
  max-width: 820px;
  font-size: clamp(2.55rem, 7.2vw, 6.2rem);
  line-height: .94;
  letter-spacing: -.075em;
  font-weight: 950;
}
.ych-hero__lead {
  max-width: 720px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(1.06rem, 1.7vw, 1.26rem);
}
.ych-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.ych-hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
}
.ych-stat {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.07);
  border-radius: 22px;
  backdrop-filter: blur(10px);
}
.ych-stat strong {
  display: block;
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1;
  letter-spacing: -.04em;
}
.ych-stat span {
  display: block;
  margin-top: 7px;
  color: rgba(255,255,255,.70);
  font-size: .9rem;
}
.ych-hero__visual {
  position: relative;
  min-height: 470px;
}
.ych-frame {
  position: absolute;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  box-shadow: var(--ych-shadow);
  transform: translateZ(0);
}
.ych-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ych-frame--main {
  inset: 28px 0 44px 52px;
  isolation: isolate;
}
.ych-frame--main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,18,31,.68), transparent 58%);
}
.ych-frame--small {
  left: 0;
  bottom: 0;
  width: 46%;
  height: 38%;
}
.ych-frame--badge {
  right: 24px;
  top: 0;
  width: 178px;
  min-height: 178px;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 20px;
  background: linear-gradient(145deg, rgba(255,54,93,.96), rgba(255,108,56,.96));
}
.ych-frame--badge strong { font-size: 2.3rem; line-height: 1; letter-spacing: -.06em; }
.ych-frame--badge span { color: rgba(255,255,255,.82); font-weight: 800; font-size: .88rem; }
.ych-visual__caption {
  position: absolute;
  left: 86px;
  right: 30px;
  bottom: 70px;
  z-index: 2;
  padding: 18px;
  border-radius: 22px;
  background: rgba(6,18,31,.74);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
}
.ych-visual__caption strong { display: block; letter-spacing: -.02em; }
.ych-visual__caption span { color: rgba(255,255,255,.72); font-size: .92rem; }
.ych-orb {
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(4,119,217,.65), rgba(255,54,93,.56));
  filter: blur(.2px);
  animation: ychFloat 6.5s ease-in-out infinite alternate;
}
.ych-orb--1 { width: 72px; height: 72px; left: 12px; top: 76px; }
.ych-orb--2 { width: 34px; height: 34px; right: 5px; bottom: 98px; animation-delay: 1.1s; }
@keyframes ychFloat { from { transform: translate3d(0,0,0); } to { transform: translate3d(10px,-18px,0); } }

.ych-section { padding: clamp(64px, 8vw, 104px) 0; }
.ych-section--dark {
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(4,119,217,.18), transparent 32%),
    linear-gradient(145deg, var(--ych-bg), #071a2f);
}
.ych-section--soft { background: var(--ych-surface-soft); }
.ych-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.ych-section__kicker {
  color: var(--ych-blue-2);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
  font-size: .78rem;
  margin: 0 0 8px;
}
.ych-section--dark .ych-section__kicker { color: var(--ych-gold); }
.ych-section h2,
.ych-entry h1,
.ych-page-title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4.15rem);
  line-height: 1;
  letter-spacing: -.06em;
  font-weight: 950;
}
.ych-section__intro {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--ych-text-muted);
  font-size: 1.04rem;
}
.ych-section--dark .ych-section__intro { color: rgba(255,255,255,.70); }

.ych-grid { display: grid; gap: 22px; }
.ych-grid--1 { grid-template-columns: minmax(0, 1fr); }
.ych-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ych-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ych-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.ych-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--ych-radius);
  padding: 24px;
  background: #fff;
  border: 1px solid var(--ych-line-dark);
  box-shadow: var(--ych-shadow-soft);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.ych-card:hover { transform: translateY(-5px); box-shadow: var(--ych-shadow); border-color: rgba(4, 119, 217, .28); }
.ych-card--glass {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.13);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(10px);
}
.ych-card--glass:hover { border-color: rgba(255,255,255,.28); }
.ych-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 20px;
  color: #fff;
  background: linear-gradient(145deg, var(--ych-blue), var(--ych-blue-2));
  box-shadow: 0 12px 24px rgba(4,84,168,.20);
}
.ych-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.17rem, 2vw, 1.52rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}
.ych-card p { margin: 0; color: var(--ych-text-muted); }
.ych-card--glass p { color: rgba(255,255,255,.70); }
.ych-card__link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--ych-blue);
  font-weight: 900;
}
.ych-card--glass .ych-card__link { color: var(--ych-gold); }

.ych-production-card,
.ych-post-card {
  border-radius: var(--ych-radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ych-line-dark);
  box-shadow: var(--ych-shadow-soft);
  transition: transform .24s ease, box-shadow .24s ease;
}
.ych-production-card:hover,
.ych-post-card:hover { transform: translateY(-5px); box-shadow: var(--ych-shadow); }
.ych-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, #07182a, #0a315c);
}
.ych-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.ych-production-card:hover .ych-card-media img,
.ych-post-card:hover .ych-card-media img { transform: scale(1.045); }
.ych-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,18,31,.62), transparent 62%);
  opacity: .88;
}
.ych-pill-row {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.ych-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px);
  font-size: .76rem;
  font-weight: 850;
}
.ych-pill--accent { background: rgba(255,54,93,.86); border-color: rgba(255,255,255,.24); }
.ych-card-body { padding: 20px; }
.ych-card-body h3 {
  margin: 0 0 9px;
  font-size: 1.28rem;
  line-height: 1.16;
  letter-spacing: -.035em;
}
.ych-card-body p { margin: 0; color: var(--ych-text-muted); }
.ych-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 14px;
  color: var(--ych-text-muted);
  font-size: .9rem;
}
.ych-card-meta span { display: inline-flex; align-items: center; gap: 6px; }

.ych-split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}
.ych-panel {
  border-radius: var(--ych-radius-lg);
  padding: clamp(26px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--ych-line-dark);
  box-shadow: var(--ych-shadow-soft);
}
.ych-section--dark .ych-panel {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
  color: #fff;
  box-shadow: none;
}
.ych-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.ych-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ych-text-muted);
}
.ych-section--dark .ych-list li { color: rgba(255,255,255,.72); }
.ych-check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  margin-top: 1px;
  background: linear-gradient(145deg, var(--ych-blue-2), var(--ych-accent));
  position: relative;
}
.ych-check::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  left: 7px;
  top: 7px;
}

.ych-video-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--ych-radius-lg);
  border: 1px solid rgba(255,255,255,.14);
  background: #06121f;
  box-shadow: var(--ych-shadow);
  aspect-ratio: 16 / 9;
}
.ych-video-shell iframe,
.ych-video-shell video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
.ych-lite-video {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  overflow: hidden;
  background: #07182a center/cover;
  color: #fff;
}
.ych-lite-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,18,31,.64), transparent 64%);
}
.ych-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--ych-accent);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.ych-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid currentColor;
}
.ych-lite-title {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 20px;
  text-align: left;
  font-weight: 900;
  text-shadow: 0 3px 12px rgba(0,0,0,.35);
}

.ych-filterbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0 0 28px;
}
.ych-filterbar a,
.ych-filterbar button {
  border: 1px solid var(--ych-line-dark);
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  color: var(--ych-text);
  font-weight: 800;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.ych-filterbar a:hover,
.ych-filterbar .is-active {
  background: var(--ych-bg);
  color: #fff;
  transform: translateY(-1px);
}

.ych-empty {
  padding: clamp(28px, 4vw, 46px);
  border-radius: var(--ych-radius-lg);
  background: linear-gradient(145deg, rgba(4,119,217,.08), rgba(255,54,93,.06));
  border: 1px dashed rgba(4, 119, 217, .30);
  text-align: center;
}
.ych-section--dark .ych-empty {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}
.ych-empty h3 { margin: 0 0 8px; font-size: 1.4rem; letter-spacing: -.035em; }
.ych-empty p { margin: 0; color: var(--ych-text-muted); }
.ych-section--dark .ych-empty p { color: rgba(255,255,255,.72); }

.ych-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--ych-radius-lg);
  padding: clamp(34px, 7vw, 72px);
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.18), transparent 30%),
    linear-gradient(135deg, var(--ych-blue), #07182a 54%, var(--ych-accent));
  box-shadow: var(--ych-shadow);
}
.ych-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .26;
}
.ych-cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.ych-cta h2 { max-width: 760px; }
.ych-cta p { max-width: 720px; color: rgba(255,255,255,.74); margin: 14px 0 0; }

.ych-page-hero {
  color: #fff;
  background:
    radial-gradient(circle at 82% 22%, rgba(4,119,217,.22), transparent 32%),
    linear-gradient(145deg, #06121f, #092644);
  padding: clamp(58px, 8vw, 96px) 0;
  position: relative;
  overflow: hidden;
}
.ych-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 54px 54px;
}
.ych-page-hero .ych-container { position: relative; }
.ych-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255,255,255,.68);
  margin-bottom: 18px;
  font-size: .92rem;
}
.ych-breadcrumbs a { color: #fff; font-weight: 800; }
.ych-page-hero p { color: rgba(255,255,255,.72); max-width: 780px; font-size: 1.08rem; }

.ych-content {
  padding: clamp(54px, 7vw, 90px) 0;
}
.ych-entry {
  width: min(calc(100% - 40px), 900px);
  margin-inline: auto;
}
.ych-entry--wide { width: min(calc(100% - 40px), var(--ych-max)); }
.ych-entry h1 { margin-bottom: 18px; }
.ych-entry h2,
.ych-entry h3 {
  letter-spacing: -.035em;
  line-height: 1.12;
  margin-top: 1.8em;
}
.ych-entry p, .ych-entry li { color: #33435a; }
.ych-entry a:not(.ych-btn) { color: var(--ych-blue); font-weight: 800; }
.ych-featured-image {
  border-radius: var(--ych-radius-lg);
  overflow: hidden;
  margin: 0 0 30px;
  box-shadow: var(--ych-shadow-soft);
}
.ych-featured-image img { display: block; width: 100%; }
.ych-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--ych-text-muted);
  margin: 12px 0 26px;
  font-weight: 700;
}

.ych-production-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  align-items: start;
}
.ych-sidebar-card {
  position: sticky;
  top: 110px;
  border-radius: var(--ych-radius);
  padding: 22px;
  background: var(--ych-surface-soft);
  border: 1px solid var(--ych-line-dark);
}
.ych-detail-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}
.ych-detail-list li {
  display: grid;
  gap: 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ych-line-dark);
}
.ych-detail-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.ych-detail-list strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .10em; color: var(--ych-text-muted); }
.ych-detail-list span { font-weight: 850; color: var(--ych-text); }

.ych-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}
.ych-pagination .page-numbers {
  min-width: 42px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--ych-line-dark);
  font-weight: 850;
  background: #fff;
}
.ych-pagination .current,
.ych-pagination a:hover { background: var(--ych-bg); color: #fff; }

.ych-footer {
  color: rgba(255,255,255,.76);
  background: #04101c;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 58px 0 26px;
}
.ych-footer__grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr .75fr .85fr;
  gap: 34px;
  margin-bottom: 34px;
}
.ych-footer h3, .ych-footer h4 {
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -.025em;
}
.ych-footer p { margin: 0; }
.ych-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ych-footer a { color: rgba(255,255,255,.76); }
.ych-footer a:hover { color: #fff; }
.ych-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.ych-social a {
  min-width: 40px;
  min-height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  font-weight: 900;
}
.ych-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .92rem;
}

.ych-backtop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--ych-blue-2), var(--ych-accent));
  color: #fff;
  z-index: 980;
  box-shadow: 0 18px 34px rgba(4,84,168,.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
}
.ych-backtop.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

.ych-reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.ych-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .ych-reveal { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .ych-header__inner { min-height: 74px; }
  .ych-mobile-toggle { display: inline-block; }
  .ych-nav {
    position: fixed;
    inset: 74px 14px auto 14px;
    display: block;
    padding: 16px;
    max-height: calc(100vh - 94px);
    overflow: auto;
    border-radius: 24px;
    background: rgba(6,18,31,.97);
    border: 1px solid rgba(255,255,255,.13);
    box-shadow: var(--ych-shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px) scale(.98);
    transition: opacity .2s ease, transform .2s ease;
  }
  .ych-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
  .ych-nav ul { display: grid; gap: 4px; }
  .ych-nav a { width: 100%; justify-content: space-between; border-radius: 14px; padding: 13px 14px; }
  .ych-nav .sub-menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    min-width: 0;
    margin: 4px 0 8px 12px;
    box-shadow: none;
    background: rgba(255,255,255,.05);
  }
  .ych-header__actions .ych-btn { display: none; }
  .ych-hero__inner { grid-template-columns: 1fr; }
  .ych-hero__visual { min-height: 410px; }
  .ych-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ych-production-layout { grid-template-columns: 1fr; }
  .ych-sidebar-card { position: static; }
  .ych-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .ych-container { width: min(calc(100% - 28px), var(--ych-max)); }
  .ych-brand__tagline { display: none; }
  .ych-brand__logo { width: 48px; height: 48px; border-radius: 16px; }
  .ych-hero__inner { min-height: auto; padding-top: 52px; }
  .ych-hero__meta { grid-template-columns: 1fr; }
  .ych-hero__actions, .ych-cta__inner, .ych-section__head { align-items: stretch; flex-direction: column; }
  .ych-btn { width: 100%; white-space: normal; }
  .ych-hero__visual { min-height: 335px; }
  .ych-frame--main { inset: 20px 0 44px 28px; }
  .ych-frame--small { width: 52%; height: 34%; }
  .ych-frame--badge { width: 136px; min-height: 136px; right: 4px; }
  .ych-visual__caption { left: 42px; right: 18px; bottom: 58px; }
  .ych-grid--2,
  .ych-grid--3,
  .ych-grid--4,
  .ych-split { grid-template-columns: 1fr; }
  .ych-footer__grid { grid-template-columns: 1fr; }
  .ych-footer__bottom { flex-direction: column; align-items: flex-start; }
  .ych-page-hero { padding-top: 46px; padding-bottom: 54px; }
}

/* v2.1 refinements: menu stability, responsive hero text, social cards, blog layouts */
.ych-nav .menu-item-has-children::after,
.ych-nav li:has(> .sub-menu)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
  z-index: 2;
}
.ych-nav .sub-menu { top: calc(100% + 8px); z-index: 5; }
.ych-nav .sub-menu::before {
  content: "";
  position: absolute;
  inset: -10px 0 auto 0;
  height: 10px;
}
.ych-nav .sub-menu a { white-space: normal; }

.ych-hero__visual { min-width: 0; contain: layout paint; }
.ych-frame--main,
.ych-frame--small { pointer-events: none; }
.ych-frame--main img,
.ych-frame--small img { object-position: center; }
.ych-frame__brand {
  position: absolute;
  z-index: 3;
  top: clamp(24px, 7%, 48px);
  left: clamp(24px, 8%, 58px);
  display: grid;
  gap: 8px;
  max-width: min(48%, 300px);
  color: #fff;
  text-shadow: 0 10px 28px rgba(0,0,0,.36);
}
.ych-frame__brand strong {
  font-size: clamp(1.7rem, 4.4vw, 3rem);
  line-height: .95;
  letter-spacing: .08em;
  font-weight: 950;
}
.ych-frame__brand span {
  font-size: clamp(.9rem, 1.5vw, 1.18rem);
  font-weight: 800;
  color: rgba(255,255,255,.78);
}
.ych-frame--badge {
  z-index: 4;
  width: clamp(150px, 18vw, 220px);
  min-height: clamp(150px, 18vw, 220px);
}
.ych-frame--badge strong { font-size: clamp(1.42rem, 2.6vw, 2.55rem); }
.ych-frame--badge span { display: block; margin-top: 8px; font-size: clamp(.78rem, 1.25vw, 1rem); }
.ych-visual__caption {
  z-index: 5;
  display: grid;
  gap: 8px;
  max-width: calc(100% - 96px);
}
.ych-visual__caption strong { font-size: clamp(1rem, 1.6vw, 1.35rem); }
.ych-visual__caption span { font-size: clamp(.9rem, 1.25vw, 1.04rem); }

.ych-section--social {
  background:
    radial-gradient(circle at 12% 18%, rgba(4,119,217,.12), transparent 30%),
    radial-gradient(circle at 86% 22%, rgba(255,54,93,.12), transparent 32%),
    #fff;
}
.ych-social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.ych-social-grid.ych-grid--1 { grid-template-columns: minmax(0, 1fr); }
.ych-social-grid.ych-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ych-social-grid.ych-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ych-social-grid.ych-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ych-social-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 22px;
  border-radius: var(--ych-radius);
  color: #fff;
  background: linear-gradient(145deg, #07182a, var(--ych-blue) 62%, var(--ych-accent));
  box-shadow: var(--ych-shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease;
}
.ych-social-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .25;
  background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 36px 36px;
}
.ych-social-card:hover { transform: translateY(-5px); box-shadow: var(--ych-shadow); }
.ych-social-card__icon,
.ych-social-card__body { position: relative; z-index: 1; }
.ych-social-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 950;
}
.ych-social-card__body { display: grid; gap: 3px; }
.ych-social-card__body strong { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1; letter-spacing: -.05em; }
.ych-social-card__body em { font-style: normal; color: rgba(255,255,255,.74); font-weight: 750; }
.ych-social-card__body b { margin-top: 6px; font-size: .86rem; text-transform: uppercase; letter-spacing: .12em; }

.ych-content--blog { background: linear-gradient(180deg, #fff, var(--ych-surface-soft)); }
.ych-blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  padding: 16px 18px;
  border: 1px solid var(--ych-line-dark);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--ych-shadow-soft);
  color: var(--ych-text-muted);
  font-weight: 750;
}
.ych-blog-toolbar a { color: var(--ych-blue); font-weight: 950; }

.ych-content--single { background: linear-gradient(180deg, #fff, #f8fbff); }
.ych-page-hero--single .ych-page-title { max-width: 1000px; }
.ych-single-layout {
  display: grid;
  gap: 28px;
  align-items: start;
}
.ych-single-layout--one {
  max-width: 940px;
  margin-inline: auto;
  grid-template-columns: 1fr;
}
.ych-single-layout--two { grid-template-columns: minmax(0, 1fr) 330px; }
.ych-single-layout--three { grid-template-columns: 230px minmax(0, 1fr) 300px; }
.ych-single-layout--four { grid-template-columns: 190px minmax(0, 1fr) 270px 210px; }
.ych-single-layout--one .ych-single-rail { display: none; }
.ych-single-layout--two .ych-single-rail--meta,
.ych-single-layout--two .ych-single-rail--extras { display: none; }
.ych-single-layout--three .ych-single-rail--extras { display: none; }
.ych-entry--single {
  width: auto;
  margin: 0;
  padding: clamp(20px, 3vw, 34px);
  border-radius: var(--ych-radius-lg);
  background: #fff;
  border: 1px solid var(--ych-line-dark);
  box-shadow: var(--ych-shadow-soft);
}
.ych-entry--single .ych-featured-image { margin-bottom: 28px; }
.ych-entry__body > *:first-child { margin-top: 0; }
.ych-entry__body p { font-size: 1.05rem; line-height: 1.82; }
.ych-entry__body blockquote {
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 5px solid var(--ych-accent);
  border-radius: 18px;
  background: var(--ych-surface-soft);
  color: var(--ych-text);
  font-weight: 750;
}
.ych-entry-footer { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--ych-line-dark); }
.ych-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ych-tags span, .ych-tags a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--ych-surface-soft);
  color: var(--ych-text-muted);
  font-weight: 800;
}
.ych-sidebar-card--compact,
.ych-sidebar-card--action {
  box-shadow: var(--ych-shadow-soft);
  background: #fff;
}
.ych-sidebar-card h3 { margin: 0 0 14px; line-height: 1.08; letter-spacing: -.035em; }
.ych-sidebar-card--action {
  color: #fff;
  background:
    radial-gradient(circle at 88% 10%, rgba(255,255,255,.18), transparent 34%),
    linear-gradient(145deg, var(--ych-bg), var(--ych-blue) 62%, var(--ych-accent));
  border: 0;
}
.ych-sidebar-card--action .ych-section__kicker { color: var(--ych-gold); }
.ych-sidebar-card--action p { color: rgba(255,255,255,.72); }
.ych-sidebar-card--action .ych-btn { width: 100%; margin-top: 12px; }
.ych-mini-list { display: grid; gap: 12px; }
.ych-mini-list a {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ych-line-dark);
}
.ych-mini-list a:last-child { border-bottom: 0; }
.ych-mini-list span { color: var(--ych-text-muted); font-size: .84rem; font-weight: 800; }
.ych-mini-list strong { line-height: 1.15; letter-spacing: -.02em; }

@media (max-width: 1100px) {
  .ych-nav .menu-item-has-children::after,
  .ych-nav li:has(> .sub-menu)::after,
  .ych-nav .sub-menu::before { display: none; }
  .ych-social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ych-single-layout--two,
  .ych-single-layout--three,
  .ych-single-layout--four { grid-template-columns: 1fr; }
  .ych-single-layout--two .ych-single-rail--meta { display: block; }
  .ych-single-rail { display: block !important; }
}

@media (max-width: 760px) {
  .ych-hero__visual { min-height: clamp(360px, 82vw, 460px); overflow: visible; }
  .ych-frame--main { inset: 14px 0 54px 0; border-radius: 26px; }
  .ych-frame--small { display: none; }
  .ych-frame--badge { top: 0; right: 12px; width: 128px; min-height: 128px; border-radius: 28px; }
  .ych-frame__brand { left: 22px; top: 26px; max-width: calc(100% - 170px); }
  .ych-frame__brand strong { font-size: 1.45rem; letter-spacing: .06em; }
  .ych-frame__brand span { font-size: .82rem; }
  .ych-visual__caption {
    left: 14px;
    right: 14px;
    bottom: 26px;
    max-width: none;
    padding: 16px;
    border-radius: 20px;
  }
  .ych-social-grid { grid-template-columns: 1fr; }
  .ych-blog-toolbar { align-items: flex-start; flex-direction: column; }
  .ych-entry--single { padding: 18px; border-radius: 24px; }
}


/* v2.2 mobile stability: tap accuracy, visible first impression, safe overlays */
.ych-hero::before,
.ych-hero::after,
.ych-card-media::after,
.ych-lite-video::after,
.ych-cta::before,
.ych-page-hero::before,
.ych-social-card::before,
.ych-frame--main::after,
.ych-orb {
  pointer-events: none;
}

.ych-btn,
.ych-nav a,
.ych-card-media,
.ych-post-card a,
.ych-production-card a,
.ych-social-card,
.ych-lite-video,
.ych-mobile-toggle,
.ych-backtop {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 54, 93, .22);
}

.ych-hero .ych-reveal,
.ych-page-hero .ych-reveal {
  opacity: 1;
  transform: none;
}

.ych-header,
.ych-nav,
.ych-mobile-toggle {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

@media (max-width: 1100px) {
  body.overflow-hidden { overflow: hidden; touch-action: none; }
  .ych-header { z-index: 3000; }
  .ych-nav {
    z-index: 3002;
    visibility: hidden;
    will-change: opacity, transform;
  }
  .ych-nav.is-open {
    visibility: visible;
    pointer-events: auto;
  }
  .ych-mobile-toggle { position: relative; z-index: 3003; }
  .ych-nav a,
  .ych-nav button {
    position: relative;
    z-index: 1;
  }
}

@media (hover: none), (pointer: coarse) {
  .ych-btn:hover,
  .ych-nav a:hover,
  .ych-production-card:hover,
  .ych-post-card:hover,
  .ych-card:hover,
  .ych-social-card:hover {
    transform: none !important;
  }
  .ych-production-card:hover,
  .ych-post-card:hover,
  .ych-social-card:hover {
    box-shadow: var(--ych-shadow-soft);
  }
  .ych-production-card:hover .ych-card-media img,
  .ych-post-card:hover .ych-card-media img {
    transform: none !important;
  }
}

@media (max-width: 760px) {
  .ych-hero__copy {
    opacity: 1 !important;
    transform: none !important;
  }
  .ych-hero__inner {
    padding-top: 34px;
    gap: 30px;
  }
  .ych-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.7rem);
  }
  .ych-hero__lead {
    font-size: 1rem;
    color: rgba(255,255,255,.84);
  }
  .ych-hero__actions {
    margin-top: 22px;
  }
  .ych-hero__visual {
    margin-top: 6px;
  }
}

/* v2.3 premium pages and configurable columns */
.ych-content--page {
  background:
    radial-gradient(circle at 12% 0%, rgba(4,119,217,.06), transparent 30%),
    linear-gradient(180deg, #fff, #f7faff 82%);
}
.ych-page-hero--premium .ych-page-title { max-width: 1060px; }
.ych-page-layout {
  display: grid;
  gap: 26px;
  align-items: start;
}
.ych-page-layout--one {
  max-width: 980px;
  margin-inline: auto;
  grid-template-columns: 1fr;
}
.ych-page-layout--two { grid-template-columns: minmax(0, 1fr) 330px; }
.ych-page-layout--three { grid-template-columns: 240px minmax(0, 1fr) 330px; }
.ych-page-layout--four { grid-template-columns: 210px minmax(0, 1fr) 285px 230px; }
.ych-page-layout--one .ych-page-rail,
.ych-page-layout--two .ych-page-rail--summary,
.ych-page-layout--two .ych-page-rail--actions,
.ych-page-layout--three .ych-page-rail--actions { display: none; }
.ych-entry--page {
  width: auto;
  margin: 0;
  padding: clamp(22px, 3vw, 42px);
  border-radius: var(--ych-radius-lg);
  background: rgba(255,255,255,.94);
  border: 1px solid var(--ych-line-dark);
  box-shadow: var(--ych-shadow-soft);
}
.ych-page-body {
  max-width: 100%;
}
.ych-page-body > *:first-child { margin-top: 0; }
.ych-page-body > *:last-child { margin-bottom: 0; }
.ych-content-columns {
  column-gap: clamp(28px, 3vw, 42px);
}
.ych-content-columns--1 { column-count: 1; }
.ych-content-columns--2 { column-count: 2; }
.ych-content-columns--3 { column-count: 3; }
.ych-content-columns--4 { column-count: 4; }
.ych-content-columns > h1,
.ych-content-columns > h2,
.ych-content-columns > h3,
.ych-content-columns > h4,
.ych-content-columns > figure,
.ych-content-columns > .wp-block-image,
.ych-content-columns > .wp-block-video,
.ych-content-columns > .wp-block-embed,
.ych-content-columns > .wp-block-gallery,
.ych-content-columns > .wp-block-columns,
.ych-content-columns > .ych-video-shell,
.ych-content-columns > .ych-pagination {
  break-inside: avoid;
  column-span: all;
}
.ych-page-rail {
  display: grid;
  gap: 18px;
}
.ych-page-rail .ych-sidebar-card {
  position: sticky;
  top: 108px;
}
.ych-page-rail--actions .ych-sidebar-card {
  top: 126px;
}
.ych-entry--page .wp-block-button__link,
.ych-entry--single .wp-block-button__link {
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(255,54,93,.18);
}
.ych-entry--page .wp-block-quote,
.ych-entry--single .wp-block-quote {
  padding: 22px 24px;
  border-left: 5px solid var(--ych-accent);
  border-radius: 18px;
  background: var(--ych-surface-soft);
}
.ych-entry--page table,
.ych-entry--single table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 0 0 1px var(--ych-line-dark);
}
.ych-entry--page th,
.ych-entry--page td,
.ych-entry--single th,
.ych-entry--single td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--ych-line-dark);
}
.ych-entry--page th,
.ych-entry--single th { background: var(--ych-surface-soft); text-align: left; }
.ych-grid--1 .ych-card-media { aspect-ratio: 21 / 8; }
.ych-grid--1 .ych-post-card,
.ych-grid--1 .ych-production-card {
  display: grid;
  grid-template-columns: minmax(240px, .44fr) minmax(0, .56fr);
  align-items: stretch;
}
.ych-grid--1 .ych-card-body { align-self: center; padding: clamp(22px, 4vw, 38px); }
.ych-grid--4 { gap: 18px; }
.ych-grid--4 .ych-card-body { padding: 17px; }
.ych-grid--4 .ych-card-body h3 { font-size: 1.08rem; }
.ych-grid--4 .ych-card-body p { font-size: .92rem; }
.ych-single-layout--four .ych-entry--single { padding: clamp(18px, 2.2vw, 30px); }
.ych-single-layout--four .ych-sidebar-card { padding: 18px; }

@media (max-width: 1240px) {
  .ych-page-layout--four,
  .ych-single-layout--four { grid-template-columns: 200px minmax(0, 1fr) 280px; }
  .ych-page-layout--four .ych-page-rail--actions,
  .ych-single-layout--four .ych-single-rail--extras { display: none; }
  .ych-content-columns--4 { column-count: 2; }
}

@media (max-width: 1100px) {
  .ych-page-layout--two,
  .ych-page-layout--three,
  .ych-page-layout--four { grid-template-columns: 1fr; }
  .ych-page-layout--two .ych-page-rail--summary,
  .ych-page-layout--two .ych-page-rail--actions,
  .ych-page-layout--three .ych-page-rail--actions,
  .ych-page-layout--four .ych-page-rail--actions { display: grid; }
  .ych-page-rail .ych-sidebar-card { position: static; }
  .ych-content-columns--3,
  .ych-content-columns--4 { column-count: 2; }
  .ych-grid--1 .ych-post-card,
  .ych-grid--1 .ych-production-card { grid-template-columns: 1fr; }
  .ych-grid--1 .ych-card-media { aspect-ratio: 16 / 10; }
  .ych-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .ych-entry--page { padding: 18px; border-radius: 24px; }
  .ych-content-columns--2,
  .ych-content-columns--3,
  .ych-content-columns--4 { column-count: 1; }
  .ych-page-layout { gap: 18px; }
  .ych-page-rail--summary,
  .ych-page-rail--actions { display: none !important; }
  .ych-social-grid.ych-grid--2,
  .ych-social-grid.ych-grid--3,
  .ych-social-grid.ych-grid--4 { grid-template-columns: 1fr; }
}
.ych-page-layout.ych-no-cta.ych-no-panel,
.ych-page-layout--two.ych-no-cta,
.ych-page-layout--three.ych-no-cta.ych-no-panel,
.ych-page-layout--four.ych-no-cta.ych-no-panel {
  max-width: 980px;
  margin-inline: auto;
  grid-template-columns: 1fr;
}
.ych-page-layout--three.ych-no-cta:not(.ych-no-panel),
.ych-page-layout--four.ych-no-cta:not(.ych-no-panel) { grid-template-columns: 240px minmax(0, 1fr); }
.ych-page-layout--three.ych-no-panel:not(.ych-no-cta),
.ych-page-layout--four.ych-no-panel:not(.ych-no-cta) { grid-template-columns: minmax(0, 1fr) 330px; }


/* v2.4 individual page/post controls and movable premium sections */
.ych-page-layout.ych-no-actions .ych-page-rail--actions,
.ych-single-layout.ych-no-extras .ych-single-rail--extras,
.ych-single-layout.ych-no-meta .ych-single-rail--meta,
.ych-single-layout.ych-no-cta .ych-single-rail--cta { display: none !important; }

.ych-single-layout.ych-no-meta.ych-no-cta.ych-no-extras,
.ych-single-layout--two.ych-no-cta.ych-no-extras,
.ych-single-layout--three.ych-no-meta.ych-no-cta.ych-no-extras,
.ych-single-layout--four.ych-no-meta.ych-no-cta.ych-no-extras {
  max-width: 980px;
  margin-inline: auto;
  grid-template-columns: 1fr;
}
.ych-single-layout.ych-no-meta:not(.ych-no-cta).ych-no-extras { grid-template-columns: minmax(0, 1fr) 330px; }
.ych-single-layout:not(.ych-no-meta).ych-no-cta.ych-no-extras { grid-template-columns: 230px minmax(0, 1fr); }
.ych-single-layout.ych-no-meta.ych-no-cta:not(.ych-no-extras) { grid-template-columns: minmax(0, 1fr) 250px; }
.ych-single-layout:not(.ych-no-meta):not(.ych-no-cta).ych-no-extras { grid-template-columns: 230px minmax(0, 1fr) 300px; }
.ych-single-layout:not(.ych-no-meta).ych-no-cta:not(.ych-no-extras) { grid-template-columns: 230px minmax(0, 1fr) 250px; }
.ych-single-layout.ych-no-meta:not(.ych-no-cta):not(.ych-no-extras) { grid-template-columns: minmax(0, 1fr) 300px 220px; }

.ych-production-layout--one,
.ych-production-layout.ych-no-panel.ych-no-cta {
  max-width: 1040px;
  margin-inline: auto;
  grid-template-columns: 1fr;
}
.ych-production-layout.ych-no-panel:not(.ych-no-cta),
.ych-production-layout:not(.ych-no-panel).ych-no-cta {
  grid-template-columns: minmax(0, 1fr) 330px;
}

.ych-section-canvas,
.wp-block-group.ych-section-canvas {
  padding: clamp(28px, 5vw, 70px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 86% 10%, rgba(255,54,93,.12), transparent 34%),
    linear-gradient(135deg, #fff, #f7faff);
  border: 1px solid var(--ych-line-dark);
  box-shadow: var(--ych-shadow-soft);
  margin: clamp(24px, 4vw, 52px) 0;
}
.ych-section-canvas h2,
.ych-section-canvas h3 { margin-top: 0; }
.ych-section-dark,
.wp-block-group.ych-section-dark {
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.16), transparent 32%),
    linear-gradient(145deg, var(--ych-bg), var(--ych-blue) 62%, var(--ych-accent));
}
.ych-section-dark p,
.ych-section-dark li { color: rgba(255,255,255,.78); }
.ych-section-dark a { color: #fff; }
.ych-editor-note {
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(4, 119, 217, .08);
  border: 1px solid rgba(4, 119, 217, .16);
  color: #24435e;
  font-weight: 750;
}
.ych-content-columns > p,
.ych-content-columns > ul,
.ych-content-columns > ol { break-inside: avoid; }

@media (max-width: 1100px) {
  .ych-single-layout.ych-no-meta:not(.ych-no-cta):not(.ych-no-extras),
  .ych-single-layout:not(.ych-no-meta).ych-no-cta:not(.ych-no-extras),
  .ych-single-layout:not(.ych-no-meta):not(.ych-no-cta).ych-no-extras,
  .ych-single-layout.ych-no-meta:not(.ych-no-cta).ych-no-extras,
  .ych-single-layout:not(.ych-no-meta).ych-no-cta.ych-no-extras,
  .ych-single-layout.ych-no-meta.ych-no-cta:not(.ych-no-extras),
  .ych-production-layout.ych-no-panel:not(.ych-no-cta),
  .ych-production-layout:not(.ych-no-panel).ych-no-cta { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .ych-container--standard,
  .ych-container--narrow,
  .ych-container--wide,
  .ych-container--full { width: min(calc(100% - 28px), var(--ych-max)); }
  .ych-section-canvas,
  .wp-block-group.ych-section-canvas { padding: 22px; border-radius: 24px; }
}

/* v2.4.2 typography readability: safer display headings on all devices */
:root {
  --ych-display-line: 1.08;
  --ych-title-line: 1.12;
  --ych-display-tracking: -0.045em;
  --ych-title-tracking: -0.032em;
}

.ych-hero h1,
.ych-section h2,
.ych-page-title,
.ych-entry h1,
.ych-cta h2 {
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.ych-hero h1 {
  font-size: clamp(2.45rem, 5.35vw, 5.15rem);
  line-height: var(--ych-display-line);
  letter-spacing: var(--ych-display-tracking);
  font-weight: 900;
  max-width: 980px;
}

.ych-section h2,
.ych-entry h1,
.ych-page-title {
  font-size: clamp(1.95rem, 3.75vw, 3.55rem);
  line-height: var(--ych-title-line);
  letter-spacing: var(--ych-title-tracking);
  font-weight: 900;
}

.ych-page-hero .ych-page-title {
  max-width: 1040px;
}

.ych-cta h2 {
  font-size: clamp(1.85rem, 3.55vw, 3.35rem);
  line-height: var(--ych-title-line);
  letter-spacing: var(--ych-title-tracking);
  font-weight: 900;
}

.ych-card h3,
.ych-card-body h3,
.ych-empty h3,
.ych-sidebar-card h3,
.ych-mini-list strong {
  line-height: 1.18;
  letter-spacing: -0.022em;
}

.ych-entry h2 {
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.ych-entry h3 {
  font-size: clamp(1.25rem, 2.1vw, 1.78rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ych-frame__brand strong {
  line-height: 1.08;
  letter-spacing: 0.04em;
  font-weight: 900;
}

.ych-frame--badge strong,
.ych-social-card__body strong,
.ych-stat strong {
  line-height: 1.08;
  letter-spacing: -0.028em;
}

@media (max-width: 1100px) {
  .ych-hero h1 {
    font-size: clamp(2.25rem, 7vw, 4.1rem);
    line-height: 1.1;
    letter-spacing: -0.038em;
  }

  .ych-section h2,
  .ych-entry h1,
  .ych-page-title {
    font-size: clamp(1.85rem, 5.1vw, 3.15rem);
    line-height: 1.13;
    letter-spacing: -0.028em;
  }
}

@media (max-width: 760px) {
  .ych-hero h1 {
    font-size: clamp(2rem, 9.4vw, 3rem) !important;
    line-height: 1.12;
    letter-spacing: -0.028em;
    max-width: 100%;
  }

  .ych-section h2,
  .ych-entry h1,
  .ych-page-title {
    font-size: clamp(1.72rem, 8.2vw, 2.55rem);
    line-height: 1.16;
    letter-spacing: -0.022em;
  }

  .ych-cta h2 {
    font-size: clamp(1.65rem, 7.6vw, 2.38rem);
    line-height: 1.16;
    letter-spacing: -0.022em;
  }

  .ych-page-hero p,
  .ych-section__intro,
  .ych-hero__lead,
  .ych-entry__body p {
    font-size: 1rem;
    line-height: 1.75;
  }
}
