/* ============================================================
   SZ-IP — inner pages, 2026 theme
   Restyles the legacy page components (page-hero, section, card,
   badge, accordions…) to follow the index.html design language.
   Load after main.css and theme-2026.css.
   ============================================================ */

/* ---------- Page hero (mirrors .ip-hero) ---------- */
.page-hero {
  padding: calc(var(--nav-height) + 56px) 0 64px;
  text-align: start;
  background:
    radial-gradient(820px 420px at 10% 6%, rgba(61, 173, 239, .38), transparent 62%),
    radial-gradient(700px 400px at 94% 0%, rgba(255, 255, 255, .16), transparent 58%),
    linear-gradient(160deg, #2E61AA 0%, #1F4E91 54%, #164383 100%);
  color: #FFFFFF;
  border-radius: 0 0 44px 44px;
}

.page-hero::before {
  top: auto;
  bottom: -150px;
  left: -90px;
  width: 340px;
  height: 340px;
  transform: none;
  border-radius: 50%;
  background: rgba(47, 163, 107, .16);
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

.page-hero__tag .badge {
  padding: 8px 18px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
}

.page-hero__title {
  margin: 0 0 18px;
  color: #FFFFFF;
  font-size: clamp(30px, 4.6vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.page-hero__subtitle {
  max-width: 820px;
  margin-inline: 0 auto;
  text-wrap: pretty;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
}

.page-hero__subtitle + .page-hero__subtitle {
  margin-top: 12px;
}

.page-hero .btn--ghost {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, .45);
}

.page-hero .btn--ghost:hover {
  background: rgba(255, 255, 255, .14);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(56px, 7vw, 96px);
}

.section--alt {
  background: linear-gradient(180deg, #F8FAFE 0%, var(--ip-ice) 100%);
}

.section > .container,
.page-hero > .container {
  max-width: var(--ip-wrap);
}

.section-header {
  max-width: 800px;
  margin: 0 auto clamp(34px, 4vw, 52px);
}

.section-badge,
.badge {
  gap: 8px;
  padding: 7px 16px;
  border: 0;
  border-radius: 99px;
  background: var(--ip-ice);
  color: var(--ip-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

.section-badge {
  margin-bottom: 16px;
}

.section-title {
  margin: 0 0 14px;
  color: var(--ip-blue);
  font-size: clamp(27px, 3.3vw, 40px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.section-title--decorated::after {
  width: 56px;
  height: 4px;
  background: var(--ip-green);
}

.section-subtitle {
  color: var(--ip-body);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.7;
}

.section h2,
.section h3 {
  color: var(--ip-blue);
}

/* ---------- Cards ---------- */
.card {
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(46, 97, 170, .10);
  border-radius: var(--ip-radius);
  box-shadow: var(--ip-shadow-sm);
}

.card:hover {
  border-color: rgba(47, 163, 107, .35);
  box-shadow: var(--ip-shadow);
  transform: translateY(-4px);
}

/* ---------- Feature items ---------- */
.feature-item {
  background: #FFFFFF;
  border: 1px solid rgba(46, 97, 170, .10);
  border-radius: var(--ip-radius);
  box-shadow: var(--ip-shadow-sm);
}

.feature-item__icon {
  background: var(--ip-ice);
  color: var(--ip-blue);
  border-radius: 14px;
}

.feature-item__title {
  color: var(--ip-blue);
}

.feature-item__subtitle,
.feature-item__body {
  color: var(--ip-body);
}

/* ---------- Partner photos (about) ---------- */
.partner-photo {
  border-radius: var(--ip-radius-lg);
  box-shadow: var(--ip-shadow);
}

/* ---------- Contact ---------- */
.contact-item {
  background: #FFFFFF;
  border: 1px solid rgba(46, 97, 170, .10);
  border-radius: var(--ip-radius);
  box-shadow: var(--ip-shadow-sm);
}

.contact-item__icon {
  background: var(--ip-green-soft);
  color: var(--ip-green-dark);
  border-radius: 14px;
}

.contact-item__label {
  color: var(--ip-muted);
}

.contact-item__value,
.contact-item__value a {
  color: var(--ip-ink);
}

.contact-item__value a:hover {
  color: var(--ip-blue);
}

.social-link {
  border-radius: 50%;
  background: var(--ip-ice);
  border-color: transparent;
  color: var(--ip-blue);
}

.social-link:hover {
  background: var(--ip-blue);
  color: #FFFFFF;
}

/* ---------- FAQ ---------- */
.faq-section__title {
  color: var(--ip-blue);
}

.faq-section__icon {
  background: var(--ip-green-soft);
  color: var(--ip-green-dark);
  border-radius: 14px;
}

.faq-section-nav__link {
  border-radius: 99px;
  background: var(--ip-ice);
  border-color: transparent;
  color: var(--ip-blue);
  font-weight: 700;
}

.faq-section-nav__link:hover {
  background: var(--ip-blue);
  color: #FFFFFF;
}

.faq-accordion .faq-item {
  background: #FFFFFF;
  border: 1px solid var(--ip-line);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(46, 97, 170, .05);
}

.faq-accordion .faq-item.is-open {
  border-color: rgba(47, 163, 107, .45);
  box-shadow: 0 14px 32px rgba(46, 97, 170, .10);
}

.faq-accordion .faq-trigger {
  padding: 20px 24px;
  color: var(--ip-ink);
  font-size: 16px;
  font-weight: 700;
}

.faq-accordion .faq-trigger:hover {
  color: var(--ip-blue);
}

.faq-accordion .faq-trigger__icon {
  width: 32px;
  height: 32px;
  border: 0;
  background: var(--ip-green-soft);
  color: var(--ip-green-dark);
}

.faq-accordion .faq-item.is-open .faq-trigger__icon {
  background: var(--ip-green);
  color: #FFFFFF;
}

.faq-accordion .faq-content__inner {
  padding: 0 24px 22px;
  color: var(--ip-body);
  font-size: 15px;
  line-height: 1.8;
}

/* ---------- Media & videos ---------- */
.media-card,
.video-card {
  background: #FFFFFF;
  border: 1px solid rgba(46, 97, 170, .10);
  border-radius: var(--ip-radius);
  box-shadow: var(--ip-shadow-sm);
  overflow: hidden;
}

.media-card:hover,
.video-card:hover {
  border-color: rgba(47, 163, 107, .35);
  box-shadow: var(--ip-shadow);
}

.media-card__outlet {
  color: var(--ip-green-dark);
}

.media-card__date {
  color: var(--ip-muted);
}

.media-card__title {
  color: var(--ip-ink);
}

/* ---------- Clients ---------- */
.client-logo-card {
  background: #FFFFFF;
  border: 1px solid rgba(46, 97, 170, .10);
  border-radius: var(--ip-radius);
  box-shadow: var(--ip-shadow-sm);
}

.client-logo-card:hover {
  border-color: rgba(47, 163, 107, .35);
  box-shadow: var(--ip-shadow);
}

/* ---------- Video click-to-play facade ---------- */
.yt-facade {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  background: linear-gradient(160deg, #2E61AA, #164383) center / cover no-repeat;
}

.yt-facade::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14, 24, 40, .18);
  transition: background .2s ease;
}

.yt-facade::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 68'%3E%3Ccircle cx='34' cy='34' r='34' fill='%232FA36B'/%3E%3Cpath d='M27 20l22 14-22 14z' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
  transition: transform .2s ease;
}

.yt-facade:hover::before {
  background: rgba(14, 24, 40, .05);
}

.yt-facade:hover::after {
  transform: scale(1.08);
}

.yt-facade:focus-visible {
  outline: 3px solid var(--ip-green);
  outline-offset: 3px;
}

/* ---------- Accordion spacing ---------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---------- About stats (inline-styled numbers) ---------- */
.stats-grid .card > div:first-child {
  color: var(--ip-blue) !important;
}

/* ---------- Legacy tokens some sub-pages reference but never defined ---------- */
:root {
  --color-surface: #FFFFFF;
  --color-surface-alt: var(--ip-ice-2);
  --color-text-primary: var(--ip-ink);
}

/* ---------- Hero meta line & breadcrumb ---------- */
.page-hero .text-sm,
main .page-hero .decision-meta {
  color: rgba(255, 255, 255, .72) !important;
}

.page-hero .breadcrumb {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, .8);
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, .8);
}

.page-hero .breadcrumb a:hover {
  color: #FFFFFF;
}

.page-hero .breadcrumb__sep {
  color: rgba(255, 255, 255, .5);
}

.page-hero .breadcrumb__current {
  color: #FFFFFF;
  font-weight: 700;
}

/* ---------- Content blocks (services, legal) ---------- */
.content-block h2 {
  color: var(--ip-blue);
  font-size: clamp(24px, 2.6vw, 32px);
}

.content-block h3 {
  color: var(--ip-green-dark);
}

/* main.css stores this bullet as double-encoded text */
.content-block ul li {
  display: block;
  position: relative;
  padding-inline-start: 22px;
}

.content-block ul li::before {
  content: "\25C6";
  position: absolute;
  inset-inline-start: 0;
  top: .5em;
  margin: 0;
  color: var(--ip-green);
}

/* ---------- English (LTR) pages ---------- */
html[dir="ltr"] .nav__logo-text,
html[dir="ltr"] .ip-hero__inner {
  text-align: left;
}

/* ---------- Service cards ---------- */
.service-card {
  padding: 30px 28px;
  background: #FFFFFF;
  border: 1px solid rgba(46, 97, 170, .10);
  border-radius: var(--ip-radius);
  box-shadow: var(--ip-shadow-sm);
}

.service-card::after {
  background: var(--ip-green);
}

.service-card:hover {
  border-color: rgba(47, 163, 107, .35);
  box-shadow: var(--ip-shadow);
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--ip-ice);
  font-size: 1.9rem;
}

.service-card__title {
  color: var(--ip-blue);
}

.service-card__link {
  color: var(--ip-green-dark);
}

/* ---------- Court decisions ---------- */
main .conflict-side,
main .decision-body {
  background: #FFFFFF;
  border: 1px solid rgba(46, 97, 170, .10);
  border-radius: var(--ip-radius);
  box-shadow: var(--ip-shadow-sm);
}

main .conflict-side__label {
  background: var(--ip-green-soft);
  color: var(--ip-green-dark);
}

main .conflict-side__title {
  color: var(--ip-blue);
}

main .decision-disclaimer {
  border: 1px dashed rgba(47, 163, 107, .5);
  border-radius: 16px;
  background: var(--ip-green-soft);
}
