@charset "UTF-8";

/* 2026-07 portal refresh: bright city hero, animated guidance, alternating bands */
:root {
  --portal-dark: #121318;
  --portal-dark-soft: #1b1d24;
  --portal-paper: #f5f4ee;
  --portal-lime: #c7ff39;
  --portal-cyan: #5cf0ff;
  --portal-blue: #2d63ff;
  --portal-blue-deep: #153b92;
  --portal-violet: #8f6cff;
  --portal-orange: #ff8b65;
}

body {
  background: var(--portal-paper);
  background-image: none;
}

.sidebar {
  color: #fff;
  background: rgba(18, 19, 24, .94);
  border-right-color: rgba(255, 255, 255, .11);
  box-shadow: 12px 0 36px rgba(0, 0, 0, .16);
}

.sidebar__menu-trigger,
.sidebar__menu-text { color: rgba(255, 255, 255, .78); }
.sidebar__cta-link {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
}
.sidebar__cta-link:hover { color: var(--portal-lime); border-color: rgba(199, 255, 57, .5); }

/* Full-background city hero */
.hero {
  min-height: 900px;
  padding: 0;
  color: #fff;
  background: var(--portal-dark);
  border-bottom: 0;
  isolation: isolate;
}

.hero::before {
  z-index: 2;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: .5;
}

.hero::after {
  content: "AI CREATION PORTAL";
  position: absolute;
  z-index: 2;
  right: -1vw;
  bottom: 4vh;
  color: rgba(255, 255, 255, .045);
  font-size: clamp(72px, 12vw, 188px);
  font-weight: 900;
  line-height: .78;
  letter-spacing: -.075em;
  white-space: nowrap;
  pointer-events: none;
}

.hero__inner-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  min-height: 900px;
  margin: 0;
  padding: 132px clamp(32px, 7vw, 118px) 174px;
  display: flex;
  align-items: center;
}

.hero__header {
  position: relative;
  z-index: 5;
  width: min(67%, 760px);
  max-width: 760px;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid rgba(85, 128, 255, .42);
  background: linear-gradient(135deg, rgba(18, 19, 24, .78), rgba(18, 19, 24, .46));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .25), 0 0 0 1px rgba(45, 99, 255, .08) inset;
  backdrop-filter: blur(7px);
}

.hero__eyebrow {
  color: var(--portal-dark);
  background: var(--portal-lime);
  border-color: var(--portal-lime);
  box-shadow: none;
}
.hero__eyebrow::before { background: var(--portal-dark); box-shadow: none; }

.hero__title {
  max-width: 700px;
  color: #fff;
  font-size: clamp(3.1rem, 5.7vw, 6.2rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.hero__title-line {
  min-height: .98em;
  display: block;
  white-space: normal;
}
.hero__title-sub {
  min-height: 1.35em;
  display: block;
  margin-top: 20px;
  color: var(--portal-lime);
  font-size: clamp(1.15rem, 2vw, 1.9rem);
  letter-spacing: -.02em;
}
.hero__desc {
  min-height: 5.2em;
  max-width: 620px;
  color: rgba(255, 255, 255, .76);
}
.hero__type.is-typing::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: .88em;
  margin-left: 6px;
  background: var(--portal-lime);
  box-shadow: 0 0 14px rgba(199, 255, 57, .72);
  vertical-align: -.04em;
  animation: typingCaret .7s steps(1) infinite;
}
.hero__desc.hero__type.is-typing::after {
  width: 2px;
  height: 1.1em;
  margin-left: 3px;
  vertical-align: -.18em;
}
.hero__actions {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .65s var(--ease-out);
}
.hero--typing-complete .hero__actions {
  opacity: 1;
  transform: translateY(0);
}
.hero .btn--primary {
  color: var(--portal-dark);
  background: var(--portal-lime);
  box-shadow: 0 18px 42px rgba(199, 255, 57, .16);
}

.hero__map-container {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  pointer-events: none;
}
.hero__map-wrapper {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.hero__map-bg {
  opacity: 1;
  background-size: cover;
  background-position: center 51%;
  filter: saturate(1.08) contrast(.97) brightness(1.24);
  transform: scale(1.015);
}
.hero__map-wrapper:hover .hero__map-bg { transform: scale(1.015); }
.hero__map-overlay {
  z-index: 2;
  background:
    radial-gradient(circle at 84% 10%, rgba(45, 99, 255, .18), transparent 38%),
    linear-gradient(90deg, rgba(18, 19, 24, .5) 0%, rgba(18, 19, 24, .3) 31%, rgba(18, 19, 24, .04) 66%, rgba(18, 19, 24, .02) 100%),
    linear-gradient(180deg, rgba(18, 19, 24, .08), transparent 46%, rgba(18, 19, 24, .2));
}
.hero .map-spot { display: none !important; }
.hero .map-drone {
  display: block !important;
  z-index: 4;
  width: 124px;
  height: 88px;
  filter:
    drop-shadow(0 18px 24px rgba(18, 19, 24, .36))
    drop-shadow(0 0 20px rgba(45, 99, 255, .38));
  animation: portalDroneRoute 18s cubic-bezier(.45, 0, .55, 1) infinite;
}
.map-drone__visual {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.map-drone__rotor-disc {
  transform-box: fill-box;
  transform-origin: center;
  animation: droneRotor .32s linear infinite;
}
.hero .map-drone__beam {
  left: 50%;
  top: 66%;
  width: 94px;
  height: 116px;
  opacity: .48;
  background: radial-gradient(ellipse at top, rgba(89, 223, 241, .32), rgba(45, 99, 255, .1) 46%, transparent 74%);
  transform: translateX(-50%);
}
@keyframes droneRotor {
  to { transform: rotate(360deg); }
}
@keyframes portalDroneRoute {
  0% {
    left: 22%;
    top: 9%;
    transform: translate(-50%, -50%) rotate(-3deg) scale(.9);
  }
  20% {
    left: 48%;
    top: 7%;
    transform: translate(-50%, -50%) rotate(4deg) scale(1);
  }
  40% {
    left: 76%;
    top: 11%;
    transform: translate(-50%, -50%) rotate(-4deg) scale(.94);
  }
  58% {
    left: 88%;
    top: 37%;
    transform: translate(-50%, -50%) rotate(5deg) scale(1.02);
  }
  76% {
    left: 84%;
    top: 68%;
    transform: translate(-50%, -50%) rotate(-4deg) scale(.96);
  }
  90% {
    left: 58%;
    top: 8%;
    transform: translate(-50%, -50%) rotate(3deg) scale(.92);
  }
  100% {
    left: 22%;
    top: 9%;
    transform: translate(-50%, -50%) rotate(-3deg) scale(.9);
  }
}

.hero-network-menu {
  position: absolute;
  z-index: 7;
  top: 28px;
  right: clamp(24px, 3vw, 48px);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(13, 16, 23, .76);
  box-shadow: 0 16px 46px rgba(0, 0, 0, .2);
  backdrop-filter: blur(14px);
}
.hero-network-menu a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .76);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .08em;
  transition: color .2s ease, background-color .2s ease;
}
.hero-network-menu a span { color: #7fa5ff; }
.hero-network-menu a:hover {
  color: #fff;
  background: rgba(45, 99, 255, .32);
}

.hero-contents-menu {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4.2vw, 72px);
  padding: 18px clamp(24px, 5vw, 72px);
  color: var(--portal-dark);
  background: var(--portal-lime);
  border-top: 3px solid var(--portal-dark);
}
.hero-contents-menu__label {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 13px 28px;
  border-radius: 999px;
  color: #fff;
  background: var(--portal-dark);
  font-size: .94rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.hero-contents-menu a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--portal-dark);
  font-size: clamp(.75rem, 1vw, .94rem);
  font-weight: 850;
  letter-spacing: .08em;
  white-space: nowrap;
}
.hero-contents-menu a span { font-weight: 900; }
.hero-contents-menu a:hover { text-decoration: underline; text-underline-offset: 5px; }

.affiliate-notice {
  color: rgba(18, 19, 24, .72);
  background: #f5f4ee;
  border-color: rgba(18, 19, 24, .08);
}
.affiliate-notice__text { color: rgba(18, 19, 24, .64); }

/* Alternating bands: the first content area is light after the city hero. */
.section--category,
.section--lp-works,
.section--review,
.section--policy,
.section--news,
.section--cta {
  background: var(--portal-paper);
  border: 0;
}
.section--review { background: #faf9f5; }
.section--policy { background: #eceff1; }
.section--news { background: #faf9f5; }
.section--category { background: #f5f4ee; }

.section--recommend,
.section--lab-log,
.section--about {
  color: #fff;
  background:
    radial-gradient(circle at 92% 0%, rgba(45, 99, 255, .24), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .028) 1px, transparent 1px),
    var(--portal-dark);
  background-size: auto, 52px 52px, 52px 52px, auto;
}

.section--recommend .section__title,
.section--lab-log .section__title,
.section--about .section__title { color: #fff; }
.section--recommend .section__lead,
.section--lab-log .section__lead,
.section--about .section__lead { color: rgba(255, 255, 255, .66); }
.section--recommend .section__eyebrow,
.section--lab-log .section__eyebrow,
.section--about .section__eyebrow { color: #7fa5ff; }
.section--recommend .section__eyebrow::before,
.section--lab-log .section__eyebrow::before,
.section--about .section__eyebrow::before {
  background: linear-gradient(90deg, var(--portal-blue), var(--portal-cyan));
}
.section--recommend .ranking-card,
.section--lab-log .lab-card,
.section--about .about-container {
  color: var(--portal-dark);
  border-color: rgba(255, 255, 255, .38);
  box-shadow: 0 22px 58px rgba(0, 0, 0, .2);
}

.section--recommend .ranking-card:nth-child(1) { background: #c7ff39; }
.section--recommend .ranking-card:nth-child(2) { background: #59dff1; }
.section--recommend .ranking-card:nth-child(3) { background: #ff765d; }
.section--recommend .ranking-card__badge {
  color: var(--portal-dark);
  background: rgba(255, 255, 255, .3);
  border-color: rgba(18, 19, 24, .18);
}
.section--recommend .ranking-card__title,
.section--recommend .ranking-card__item-name { color: var(--portal-dark); }
.section--recommend .ranking-card__item-desc { color: rgba(18, 19, 24, .7); }
.section--recommend .ranking-card .btn--primary {
  color: #fff;
  background: var(--portal-dark);
  box-shadow: none;
}

.section--lab-log .lab-card:nth-child(1) { background: #c7ff39; }
.section--lab-log .lab-card:nth-child(2) { background: #59dff1; }
.section--lab-log .lab-card:nth-child(3) { background: #ff8a68; }
.section--lab-log .lab-card:nth-child(4) { background: #7fa5ff; }
.section--lab-log .lab-card__img-placeholder {
  color: var(--portal-dark);
  background:
    radial-gradient(circle at 24% 48%, rgba(255, 255, 255, .42) 0 18%, transparent 18.5%),
    linear-gradient(90deg, rgba(18, 19, 24, .08) 1px, transparent 1px);
  background-size: auto, 28px 28px;
}
.section--lab-log .lab-card__img-placeholder::after {
  background: linear-gradient(90deg, var(--portal-dark), transparent);
}
.section--lab-log .lab-card__category,
.section--lab-log .lab-card__title,
.section--lab-log .lab-card[href]::after { color: var(--portal-dark); }
.section--lab-log .lab-card__desc { color: rgba(18, 19, 24, .7); }
.section--about .about-container { background: #dff7ff; }
.section--about .about-info__text { color: rgba(18, 19, 24, .78); }

/* Bright editorial cards sit on the first dark content band. */
.section--category .grid--3col { gap: 24px; }
.category-card {
  min-height: 390px;
  padding: 28px 28px 82px;
  color: var(--portal-dark);
  background: #fff;
  border-color: rgba(184, 199, 216, .72);
  box-shadow: 0 22px 54px rgba(18, 19, 24, .12);
  isolation: isolate;
}
.category-card:nth-child(1) { --card-accent: var(--portal-cyan); }
.category-card:nth-child(2) { --card-accent: var(--portal-lime); }
.category-card:nth-child(3) { --card-accent: #ff5e9e; }
.category-card:nth-child(4) { --card-accent: var(--portal-orange); }
.category-card:nth-child(5) { --card-accent: #68a4ff; }
.category-card:nth-child(6) { --card-accent: var(--portal-violet); }
.category-card::before { display: block; height: 5px; background: linear-gradient(90deg, var(--card-accent), transparent); }
.category-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .46) 40%, rgba(255, 255, 255, .98) 72%, #fff 100%),
    radial-gradient(circle at 86% 12%, color-mix(in srgb, var(--card-accent) 24%, transparent), transparent 38%);
  pointer-events: none;
}
.category-card > *:not(.category-card__icon-wrap):not(.category-card__num):not(.card-arrow) { position: relative; z-index: 2; }
.category-card__icon-wrap {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: auto;
  height: auto;
  aspect-ratio: auto;
  margin: 0;
  background: #fff;
}
.category-card__icon-img,
.category-card__icon-svg {
  width: 100%;
  height: 100%;
  opacity: .66;
  object-fit: cover;
  filter: saturate(.84) contrast(1.02);
}
.category-card:hover .category-card__icon-img { transform: scale(1.055); filter: saturate(1) contrast(1.04); }
.category-card__num {
  top: 24px;
  left: 24px;
  color: var(--portal-dark);
  background: var(--card-accent);
  border: 0;
  box-shadow: none;
}
.category-card__label {
  order: 1;
  margin: 4px 0 0 62px;
  color: rgba(18, 19, 24, .52);
  font-size: .72rem;
  letter-spacing: .13em;
}
.category-card__title {
  order: 2;
  margin: auto 0 12px;
  padding: 0;
  color: var(--portal-dark);
  font-size: clamp(1.65rem, 2.4vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.category-card__title::before { display: none; }
.category-card__desc {
  order: 3;
  max-width: 92%;
  margin: 0;
  color: rgba(18, 19, 24, .68);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.72;
}
.category-card .card-arrow {
  z-index: 3;
  right: 25px;
  bottom: 25px;
  color: var(--portal-dark);
  background: var(--card-accent);
  border: 0;
}
.category-card:hover {
  background: #fff;
  border-color: var(--card-accent);
  box-shadow: 0 30px 70px rgba(18, 19, 24, .18);
}

.lab-card[href] { cursor: pointer; }
.lab-card[href]::after {
  content: "VIEW  ↗";
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
  color: var(--card-accent);
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.about-container { border-radius: 0; box-shadow: 0 24px 60px rgba(18, 19, 24, .08); }
.cta-box {
  border-radius: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(92, 240, 255, .22), transparent 32%),
    linear-gradient(135deg, var(--portal-blue-deep), var(--portal-blue) 54%, #12192f);
}
.footer { margin-top: 0; }

@media (max-width: 1024px) {
  .hero,
  .hero__inner-container { min-height: 860px; }
  .hero__header { width: min(74%, 680px); }
  .hero-network-menu { right: 22px; }
  .hero-network-menu a { padding-inline: 8px; font-size: .62rem; }
  .hero-contents-menu { gap: 24px; }
}

@media (max-width: 768px) {
  .hero,
  .hero__inner-container { min-height: 940px; }
  .hero__inner-container { padding: 142px 18px 142px; align-items: center; }
  .hero__header { width: 100%; padding: 28px 22px; background: rgba(18, 19, 24, .68); }
  .hero__title { font-size: clamp(2.25rem, 10vw, 2.8rem); }
  .hero__title-line { display: block; white-space: nowrap; }
  .hero__title-sub { font-size: clamp(1.05rem, 5.4vw, 1.45rem); }
  .hero__desc { min-height: 8.4em; }
  .hero__map-bg { opacity: 1; background-position: 58% center; filter: saturate(1.06) contrast(.98) brightness(1.16); }
  .hero__map-overlay {
    background:
      linear-gradient(180deg, rgba(18, 19, 24, .2), rgba(18, 19, 24, .04) 45%, rgba(18, 19, 24, .3)),
      linear-gradient(90deg, rgba(18, 19, 24, .34), rgba(18, 19, 24, .05));
  }
  .hero-network-menu {
    top: 76px;
    right: 16px;
    left: 16px;
    justify-content: flex-start;
    overflow-x: auto;
    border-radius: 16px;
    scrollbar-width: none;
  }
  .hero-network-menu::-webkit-scrollbar,
  .hero-contents-menu::-webkit-scrollbar { display: none; }
  .hero-network-menu a { flex: 0 0 auto; }
  .hero-contents-menu {
    min-height: 88px;
    justify-content: flex-start;
    gap: 24px;
    padding: 14px 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .hero-contents-menu__label { min-height: 48px; padding: 12px 22px; }
  .hero-contents-menu a { flex: 0 0 auto; }
  .hero .map-drone { width: 88px; height: 63px; }
  .hero::after { right: -22vw; bottom: 3vh; font-size: 26vw; }
  .category-card { min-height: 340px; padding: 24px 22px 76px; }
  .category-card__label { margin-left: 58px; }
  .category-card__title,
  .category-card__label,
  .category-card__desc { margin-right: 0; }
  .category-card__title { margin-left: 0; margin-bottom: 10px; }
  .category-card__desc { margin-left: 0; }
}

@media (max-width: 480px) {
  .hero__header { border-left: 0; border-right: 0; }
  .hero__desc { font-size: .9rem; line-height: 1.8; }
  .category-card__num { top: 20px; left: 20px; }
  .category-card .card-arrow { right: 20px; bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero .map-drone,
  .hero .map-drone__rotor,
  .hero .map-drone__rotor-disc {
    animation: none !important;
  }
  .hero .map-drone,
  .hero__actions {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* 2026-07-18: tighter portal rhythm and more stable Japanese wrapping. */
.hero,.hero__inner-container{min-height:810px}
.hero__inner-container{padding-top:118px;padding-bottom:138px}
.hero__header{width:min(64%,720px);max-width:720px;padding:clamp(26px,3.4vw,46px)}
.hero__title{max-width:650px;font-size:clamp(2.8rem,5vw,5.35rem);line-height:1.02;text-wrap:balance}
.section{padding-top:clamp(68px,7vw,88px);padding-bottom:clamp(68px,7vw,88px)}
.section__header{margin-bottom:34px}
.section__title{font-size:clamp(1.9rem,3vw,2.6rem);line-height:1.2;text-wrap:balance}

@media (max-width: 1024px) {
  .hero,.hero__inner-container{min-height:780px}
  .hero__header{width:min(72%,650px)}
}

@media (max-width: 768px) {
  .hero,.hero__inner-container{min-height:820px}
  .hero__inner-container{padding-top:132px;padding-bottom:124px}
  .hero__header{width:100%;padding:24px 20px}
  .hero__title{font-size:clamp(2.1rem,9vw,2.65rem);line-height:1.08}
  .section{padding-top:62px;padding-bottom:62px}
  .section__header{margin-bottom:28px}
  .section__title{font-size:clamp(1.65rem,7.2vw,2rem)}
}

/* 2026-07-20: compact desktop hero so the contents rail is visible at laptop height. */
@media (min-width:769px){.hero,.hero__inner-container{min-height:660px}.hero__inner-container{padding-top:92px;padding-bottom:118px}.hero__header{width:min(61%,650px);max-width:650px;padding:26px 34px}.hero__title{font-size:clamp(2.55rem,4.25vw,4.6rem)}.hero__title-sub{margin-top:12px;font-size:clamp(1rem,1.55vw,1.42rem)}.hero__desc{min-height:4.4em;margin-top:14px;font-size:.92rem;line-height:1.7}.hero__actions{margin-top:18px}.hero-network-menu{top:18px}}

/* 2026-07-20: compact content rhythm across the portal sections. */
.section__lead { max-width: 780px; line-height: 1.65; }
.category-card__desc, .ranking-card__item-desc, .lab-card__desc { line-height: 1.6; }
@media (min-width: 769px) {
  .section { padding-block: 60px; }
  .section__header { margin-bottom: 28px; }
  .category-card { min-height: 370px; }
}

/* Category thumbnails: show the supplied work itself instead of washing it out. */
.section--category .category-card {
  min-height: 430px;
  padding: 0 0 76px;
  overflow: hidden;
}
.section--category .category-card::after { display: none; }
.section--category .category-card__icon-wrap {
  position: relative;
  inset: auto;
  order: 1;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 0 0 20px;
  background: #e9eef5;
}
.section--category .category-card__icon-img {
  opacity: 1;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(1.05) contrast(1.03);
}
.section--category .category-card:nth-child(3) .category-card__icon-img { object-position: 50% 38%; }
.section--category .category-card:nth-child(5) .category-card__icon-img { object-position: 50% 46%; }
.section--category .category-card:nth-child(6) .category-card__icon-img { object-position: 58% 52%; }
.section--category .category-card__label { order: 2; margin: 0 26px 8px; }
.section--category .category-card__title {
  order: 3;
  margin: 0 26px 8px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.16;
}
.section--category .category-card__desc { order: 4; margin: 0 26px; line-height: 1.58; }
.section--category .category-card__num {
  z-index: 3;
  top: 15px;
  left: 15px;
  box-shadow: 0 9px 22px rgba(18, 19, 24, .2);
}
/* 2026-07-25: top topics for latest AI music and video releases. */
.section--topics { background: #fff; }
.topics-header { margin-bottom: clamp(28px, 4vw, 48px); }
.topics-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 30px); }
.topic-card { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); min-width: 0; overflow: hidden; border: 1px solid rgba(18, 19, 24, .16); border-radius: 22px; background: var(--portal-paper); box-shadow: 0 18px 42px rgba(18, 19, 24, .08); }
.topic-card__media { position: relative; min-height: 260px; overflow: hidden; background: var(--portal-dark); }
.topic-card__media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.topic-card:hover .topic-card__media img { transform: scale(1.035); }
.topic-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18, 19, 24, .52), transparent 58%); }
.topic-card__media span { position: absolute; z-index: 1; left: 18px; bottom: 18px; display: inline-flex; min-height: 34px; align-items: center; padding: 8px 12px; border-radius: 999px; background: var(--portal-lime); color: var(--portal-dark); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.topic-card__body { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 3vw, 34px); }
.topic-card__label { margin: 0; color: var(--portal-blue-deep); font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.topic-card__body h3 { margin: 0; color: var(--portal-dark); font-size: clamp(25px, 2.4vw, 36px); line-height: 1.2; letter-spacing: -.04em; }
.topic-card__body p:not(.topic-card__label) { margin: 0; color: #555963; line-height: 1.85; }
.topic-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.topic-card__actions a { display: inline-flex; min-height: 42px; align-items: center; padding: 9px 14px; border: 1px solid rgba(18, 19, 24, .18); border-radius: 999px; background: #fff; color: var(--portal-dark); font-size: 12px; font-weight: 800; }
.topic-card--video .topic-card__media span { background: var(--portal-cyan); }
@media (max-width: 980px) { .topics-grid, .topic-card { grid-template-columns: 1fr; } .topic-card__media { min-height: 0; aspect-ratio: 16 / 9; } }
@media (max-width: 680px) { .topic-card { border-radius: 16px; } .topic-card__body { padding: 20px; } }