/* home-2026: ppvi homepage */
:root {
  --home-gap: clamp(1rem, 2vw, 1.5rem);
  --home-ink: var(--ppvi-ink, #181817);
  --home-muted: var(--ppvi-muted, #6f6c66);
  --home-red: var(--ppvi-red, #b61f2b);
  --home-line: rgba(24, 24, 23, .1);
  --home-paper: rgba(255, 255, 255, .86);
}

.home-page {
  background:
    linear-gradient(180deg, rgba(255,255,255,.64), rgba(246,245,242,0) 28rem),
    var(--ppvi-bg, #f6f5f2);
}

.home-shell {
  max-width: 1296px;
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2.6rem) 0 1.15rem;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(24,24,23,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24,24,23,.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000, transparent 76%);
}

.home-kicker,
.home-headline,
.home-top-grid,
.home-channel-strip {
  position: relative;
  z-index: 1;
}

.home-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  color: var(--home-red);
  font: 700 .82rem/1 var(--ppvi-sans, system-ui, sans-serif);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.home-kicker span {
  padding: .38rem .62rem;
  border: 1px solid rgba(182,31,43,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.56);
}

.home-headline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: var(--home-gap);
  align-items: end;
  margin-top: .8rem;
}

.home-headline h1 {
  margin: 0;
  color: var(--home-ink);
  font: 800 clamp(2.15rem, 5vw, 5.3rem)/.98 var(--ppvi-sans, system-ui, sans-serif);
  letter-spacing: 0;
}

.home-headline p {
  max-width: 58em;
  margin: .75rem 0 0;
  color: var(--home-muted);
  font: 600 clamp(.95rem, 1.45vw, 1.18rem)/1.65 var(--ppvi-sans, system-ui, sans-serif);
}

.home-live-titles {
  display: grid;
  gap: .42rem;
  padding: .75rem;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 12px 28px rgba(24,24,23,.06);
}

.home-live-titles span {
  overflow: hidden;
  color: var(--home-ink);
  font: 600 .88rem/1.45 var(--ppvi-sans, system-ui, sans-serif);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-live-titles span::before {
  content: "";
  display: inline-block;
  width: .42rem;
  height: .42rem;
  margin-right: .45rem;
  border-radius: 50%;
  background: var(--home-red);
  box-shadow: 0 0 0 0 rgba(182,31,43,.35);
  animation: homePulse 2s infinite;
}

.home-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.52fr) minmax(360px, .98fr);
  gap: var(--home-gap);
  margin-top: clamp(1rem, 2.5vw, 1.7rem);
  align-items: stretch;
}

.home-focus,
.home-focus-card,
.home-focus-media {
  min-width: 0;
}

.home-focus-card {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #e9e5dc;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 26px 62px rgba(24,24,23,.18);
}

.home-focus-media {
  display: block;
  height: 100%;
  min-height: 420px;
  aspect-ratio: 16/9;
}

.home-focus-media img,
.home-pick-media img,
.home-news-thumb img,
.home-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-focus-copy {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: .45rem;
  padding: clamp(1rem, 3vw, 2rem);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.82));
}

.home-focus-copy span {
  color: rgba(255,255,255,.84);
  font: 700 .82rem/1 var(--ppvi-sans, system-ui, sans-serif);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-focus-copy strong {
  max-width: 20em;
  font: 800 clamp(1.45rem, 3.4vw, 2.6rem)/1.14 var(--ppvi-sans, system-ui, sans-serif);
}

.home-picks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: .9rem;
}

.home-pick-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .55rem;
  color: var(--home-ink);
  text-decoration: none;
}

.home-pick-media {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #e9e5dc;
  box-shadow: 0 1px 0 rgba(24,24,23,.08);
}

.home-pick-card strong {
  min-height: 2.8em;
  color: var(--home-ink);
  font: 800 .95rem/1.4 var(--ppvi-sans, system-ui, sans-serif);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-channel-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-top: var(--home-gap);
}

.home-channel-strip a {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .2rem .75rem;
  align-items: center;
  min-height: 82px;
  padding: .9rem 1rem;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  color: var(--home-ink);
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(24,24,23,.055);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.home-channel-strip a::after {
  content: "";
  position: absolute;
  inset: auto -10% 0;
  height: 3px;
  background: var(--home-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .26s ease;
}

.home-channel-strip a:hover {
  transform: translateY(-3px);
  border-color: rgba(182,31,43,.34);
  box-shadow: 0 20px 38px rgba(24,24,23,.09);
}

.home-channel-strip a:hover::after {
  transform: scaleX(1);
}

.home-channel-strip span {
  grid-row: span 2;
  color: rgba(182,31,43,.18);
  font: 900 2.25rem/1 var(--ppvi-sans, system-ui, sans-serif);
}

.home-channel-strip strong {
  font: 800 1.05rem/1.2 var(--ppvi-sans, system-ui, sans-serif);
}

.home-channel-strip em {
  color: var(--home-muted);
  font: 500 .82rem/1.2 var(--ppvi-sans, system-ui, sans-serif);
  font-style: normal;
}

.home-ad-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: var(--home-gap);
  align-items: center;
  margin: 1.2rem 0 1.6rem;
  padding-block: 1rem;
  border-block: 1px solid var(--home-line);
}

.home-ad-row a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #ede9df;
}

.home-ad-row img,
.home-inline-ads img {
  display: block;
  width: 100%;
  height: auto;
}

.home-video-section,
.home-main-grid,
.home-service-nav,
.home-partner-section,
.home-expo-section {
  margin-top: clamp(1.4rem, 3vw, 2.4rem);
}

.home-section-head {
  display: flex;
  align-items: end;
  gap: .75rem;
  margin-bottom: .9rem;
}

.home-section-head span {
  color: var(--home-red);
  font: 800 .78rem/1 var(--ppvi-sans, system-ui, sans-serif);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-section-head h2 {
  margin: 0;
  color: var(--home-ink);
  font: 800 clamp(1.35rem, 2.2vw, 2rem)/1.1 var(--ppvi-sans, system-ui, sans-serif);
}

.home-section-head a {
  margin-left: auto;
  color: var(--home-muted);
  font: 700 .86rem/1 var(--ppvi-sans, system-ui, sans-serif);
  text-decoration: none;
}

.home-section-head a:hover {
  color: var(--home-red);
}

.home-video-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .8rem;
}

.home-video-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .45rem;
  color: var(--home-ink);
  text-decoration: none;
}

.home-video-thumb,
.home-news-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
  border-radius: 8px;
  background: #ece8de;
}

.home-video-thumb i {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(24,24,23,.72);
  color: #fff;
  font-size: .78rem;
  font-style: normal;
  transform: translate(-50%, -50%);
  transition: background .24s ease, transform .24s ease;
}

.home-video-card:hover .home-video-thumb i {
  background: var(--home-red);
  transform: translate(-50%, -50%) scale(1.08);
}

.home-video-card strong {
  color: var(--home-ink);
  font: 700 .86rem/1.42 var(--ppvi-sans, system-ui, sans-serif);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-video-card em {
  color: var(--home-muted);
  font: 500 .75rem/1 var(--ppvi-sans, system-ui, sans-serif);
  font-style: normal;
}

.home-service-nav {
  display: flex;
  position: relative;
  z-index: 0;
  justify-content: center;
  flex-wrap: wrap;
  gap: .62rem;
  overflow: visible;
  width: min(100%, 900px);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: .95rem 1.05rem;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, transparent, rgba(24,24,23,.13), transparent) top / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(182,31,43,.38), transparent) bottom / 100% 1px no-repeat;
  box-shadow: none;
  scrollbar-width: none;
}

.home-service-nav::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--home-red);
  box-shadow: 0 0 0 4px rgba(182,31,43,.08);
  transform: translateX(-50%);
}

.home-service-nav::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 90px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(182,31,43,.8), transparent);
  transform: translateX(-50%);
}

.home-service-nav::-webkit-scrollbar {
  display: none;
}

.home-service-nav a {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  padding: .62rem 1rem;
  border: 1px solid rgba(24,24,23,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: var(--home-ink);
  font: 800 .86rem/1 var(--ppvi-sans, system-ui, sans-serif);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 8px 20px rgba(24,24,23,.045);
  transition: transform .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.home-service-nav a:hover {
  transform: translateY(-3px);
  border-color: rgba(182,31,43,.55);
  color: var(--home-red);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 16px 28px rgba(182,31,43,.13);
}

.home-main-grid {
  display: block;
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.home-news-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(24,24,23,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 12px 28px rgba(24,24,23,.055);
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}

.home-news-card:hover,
.home-news-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(182,31,43,.32);
  box-shadow: 0 24px 42px rgba(24,24,23,.12);
}

.home-news-body {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: .45rem;
  flex: 1 1 auto;
  padding: .78rem .85rem .95rem;
}

.home-news-body span {
  color: var(--home-muted);
  font: 700 .72rem/1 var(--ppvi-sans, system-ui, sans-serif);
}

.home-news-body h3 {
  margin: 0;
  font: 800 1rem/1.42 var(--ppvi-sans, system-ui, sans-serif);
  min-height: 2.84em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-news-body h3 a {
  color: var(--home-ink);
  text-decoration: none;
}

.home-news-body p {
  margin: 0;
  color: var(--home-muted);
  font: 500 .82rem/1.55 var(--ppvi-sans, system-ui, sans-serif);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-news-card:hover h3 a,
.home-news-card:focus-within h3 a,
.home-pick-card:hover strong,
.home-video-card:hover strong {
  color: var(--home-red);
}

.home-ad-card .home-news-body span {
  color: var(--home-red);
}

.home-inline-ads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 1rem;
  padding: .35rem 0 .1rem;
}

.home-inline-ads a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #ede9df;
}

.home-partner-section,
.home-expo-section {
  padding: 1rem;
  border: 1px solid rgba(24,24,23,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 14px 32px rgba(24,24,23,.06);
}

.home-brand-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .65rem;
}

.home-brand-grid a {
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: .48rem;
  border: 1px solid rgba(24,24,23,.08);
  border-radius: 6px;
  background: #fff;
  transition: transform .22s ease, border-color .22s ease;
}

.home-brand-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(182,31,43,.32);
}

.home-brand-grid img {
  display: block;
  max-height: 48px;
  object-fit: contain;
}

.home-expo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .65rem;
}

.home-expo-grid a {
  display: grid;
  min-height: 72px;
  place-items: center;
  overflow: hidden;
  padding: .48rem;
  border: 1px solid rgba(24,24,23,.08);
  border-radius: 6px;
  background: #fff;
  transition: transform .22s ease, border-color .22s ease;
}

.home-expo-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(182,31,43,.32);
}

.home-expo-grid img {
  display: block;
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
}

.home-load {
  margin-top: 1.4rem;
  text-align: center;
}

.home-load button {
  border: 0;
  border-radius: 999px;
  background: #242321;
  color: #fff;
  padding: .78rem 2rem;
  cursor: pointer;
  font: 800 .92rem/1 var(--ppvi-sans, system-ui, sans-serif);
  transition: background .22s ease, transform .22s ease;
}

.home-load button:hover {
  background: var(--home-red);
  transform: translateY(-2px);
}

.home-load button:disabled {
  cursor: not-allowed;
  background: #9a9790;
  transform: none;
}

.home-image-effect {
  position: relative;
  transform: translateZ(0);
}

.home-image-effect::before,
.home-image-effect::after,
.home-video-thumb::after,
.home-news-thumb::after,
.home-pick-media::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.home-image-effect::before,
.home-video-thumb::after,
.home-news-thumb::after,
.home-pick-media::after {
  inset: 0;
  border: 2px solid rgba(182,31,43,0);
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  transition: border-color .26s ease, box-shadow .26s ease;
}

.home-image-effect::after {
  width: 42%;
  height: 155%;
  left: -72%;
  top: -28%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
  transition: left .5s ease;
}

.home-image-effect img,
.home-video-thumb img,
.home-news-thumb img,
.home-pick-media img {
  filter: saturate(.97) contrast(1);
  transition: transform .5s cubic-bezier(.2,.72,.18,1), filter .34s ease;
}

.home-image-effect:hover img,
.home-news-card:hover .home-news-thumb img,
.home-video-card:hover .home-video-thumb img,
.home-pick-card:hover .home-pick-media img {
  transform: scale(1.075);
  filter: saturate(1.18) contrast(1.08);
}

.home-image-effect:hover::before,
.home-news-card:hover .home-news-thumb::after,
.home-video-card:hover .home-video-thumb::after,
.home-pick-card:hover .home-pick-media::after {
  border-color: rgba(182,31,43,.86);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), inset 0 -42px 70px rgba(0,0,0,.22);
}

.home-image-effect:hover::after {
  left: 132%;
}

.home-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}

.home-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes homePulse {
  70% { box-shadow: 0 0 0 8px rgba(182,31,43,0); }
  100% { box-shadow: 0 0 0 0 rgba(182,31,43,0); }
}

@media (prefers-reduced-motion: reduce) {
  .home-reveal,
  .home-image-effect,
  .home-image-effect *,
  .home-channel-strip a,
  .home-service-nav a,
  .home-news-card,
  .home-load button {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1100px) {
  .home-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home-news-grid,
  .home-brand-grid,
  .home-expo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .home-headline,
  .home-top-grid,
  .home-ad-row {
    grid-template-columns: 1fr;
  }
  .home-focus-media {
    min-height: 0;
  }
  .home-pick-media {
    aspect-ratio: 16/9;
    flex: 0 0 auto;
  }
}

@media (max-width: 760px) {
  .home-hero {
    padding-top: 1rem;
  }
  .home-headline h1 {
    font-size: 2.25rem;
  }
  .home-live-titles {
    display: none;
  }
  .home-picks,
  .home-channel-strip,
  .home-news-grid,
  .home-inline-ads,
  .home-brand-grid,
  .home-expo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .home-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-channel-strip a {
    min-height: 72px;
    padding: .78rem;
  }
  .home-channel-strip span {
    font-size: 1.55rem;
  }
  .home-service-nav {
    width: 100%;
    padding-left: .25rem;
    padding-right: .25rem;
  }
}

@media (max-width: 520px) {
  .home-news-grid,
  .home-inline-ads {
    grid-template-columns: 1fr;
  }
  .home-channel-strip {
    grid-template-columns: 1fr;
  }
  .home-focus-copy strong {
    font-size: 1.25rem;
  }
}
