/* Perspekt Frontpage Hero v1.1.0 */

.pfh-shell {
  --pfh-accent: #183e6f;
  margin: 1.5rem 0 2.75rem;
  color: #11243d;
  font-family: inherit;
}

.pfh-mission {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.35rem;
  padding: 1rem 1.25rem;
  border-radius: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(226, 75, 74, 0.18), transparent 32%),
    linear-gradient(135deg, #07162d 0%, #0d2345 50%, #102a52 100%);
  color: #f7f9fc;
  box-shadow: 0 24px 46px rgba(8, 21, 42, 0.16);
}

.pfh-mission::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 75, 74, 0.22) 0%, rgba(226, 75, 74, 0) 72%);
  pointer-events: none;
}

.pfh-mission__intro {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 0.85rem;
}

.pfh-mission__label {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
}

.pfh-mission__label::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pfh-accent);
  box-shadow: 0 0 0 6px rgba(226, 75, 74, 0.18);
}

.pfh-mission__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.62rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.pfh-mission__cta:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
}

.pfh-mission__cta-arrow {
  color: var(--pfh-accent);
}

.pfh-mission__viewport {
  position: relative;
  z-index: 1;
  min-height: 96px;
}

.pfh-mission__item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}

.pfh-mission__item.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.pfh-mission__quote {
  max-width: 900px;
  margin: 0;
  font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.45rem);
  font-weight: 500;
  line-height: 1.45;
  color: #f6f8fb;
  text-wrap: balance;
}

.pfh-mission__author {
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}

.pfh-mission__controls {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 0.85rem;
}

.pfh-mission__nav {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.pfh-mission__nav:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.pfh-mission__nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pfh-mission__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pfh-mission__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: all 0.18s ease;
}

.pfh-mission__dot.is-active {
  width: 26px;
  background: var(--pfh-accent);
}

.pfh-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.92fr);
  gap: 22px;
  align-items: stretch;
}

.pfh-grid--solo {
  grid-template-columns: minmax(0, 1fr);
}

.pfh-grid__stack {
  display: grid;
  gap: 22px;
}

.pfh-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0;
  background: #0d1728;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 28px 52px rgba(10, 23, 44, 0.14);
}

.pfh-card__media,
.pfh-card__placeholder,
.pfh-card__media img,
.pfh-card__overlay {
  position: absolute;
  inset: 0;
}

.pfh-card__media img,
.pfh-card__placeholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: opacity 0.18s ease;
}

.pfh-card__placeholder {
  background: linear-gradient(135deg, #14233d, #101c30);
}

.pfh-card__media img.is-broken {
  opacity: 0;
}

.pfh-card__overlay {
  background: linear-gradient(to top, rgba(7, 15, 28, 0.94) 0%, rgba(7, 15, 28, 0.58) 42%, rgba(7, 15, 28, 0.04) 100%);
}

.pfh-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.pfh-card__meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.78);
}

.pfh-card__category {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: rgba(226, 75, 74, 0.92);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pfh-card__date {
  color: rgba(255, 255, 255, 0.72);
}

.pfh-card__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.8rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.pfh-card__kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pfh-accent);
}

.pfh-card__title {
  display: block;
  font-weight: 800;
  line-height: 1.12;
  text-wrap: balance;
}

.pfh-card__excerpt {
  display: block;
  max-width: 52ch;
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.pfh-card--lead {
  min-height: 620px;
}

.pfh-card--lead .pfh-card__body {
  justify-content: flex-end;
  min-height: 620px;
  padding: 2rem 2rem 2.1rem;
}

.pfh-card--lead .pfh-card__title {
  font-size: clamp(2rem, 1.45rem + 1.15vw, 3.2rem);
}

.pfh-card--stack {
  min-height: 299px;
}

.pfh-card--stack .pfh-card__body {
  justify-content: flex-end;
  min-height: 299px;
  padding: 1.35rem 1.35rem 1.45rem;
}

.pfh-card--stack .pfh-card__title {
  font-size: clamp(1.2rem, 1.05rem + 0.25vw, 1.55rem);
}

.pfh-empty {
  color: #6b7280;
  font-style: italic;
}

@media (max-width: 1100px) {
  .pfh-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pfh-grid__stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pfh-card--lead,
  .pfh-card--lead .pfh-card__body {
    min-height: 540px;
  }
}

@media (max-width: 760px) {
  .pfh-shell {
    margin-top: 1rem;
  }

  .pfh-mission {
    padding: 1rem;
    border-radius: 0;
  }

  .pfh-mission__intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .pfh-mission__viewport {
    min-height: 148px;
  }

  .pfh-mission__quote {
    font-size: 1rem;
    line-height: 1.55;
  }

  .pfh-mission__controls {
    justify-content: flex-start;
  }

  .pfh-grid__stack {
    grid-template-columns: minmax(0, 1fr);
  }

  .pfh-card--lead,
  .pfh-card--lead .pfh-card__body {
    min-height: 420px;
  }

  .pfh-card--lead .pfh-card__body {
    padding: 1.35rem 1.2rem 1.35rem;
  }

  .pfh-card--stack,
  .pfh-card--stack .pfh-card__body {
    min-height: 230px;
  }

  .pfh-card--stack .pfh-card__body {
    padding: 1.1rem 1rem 1.1rem;
  }
}

/* Newsdesk layout inspired by dense editorial front pages. */
.pfh-shell--newsdesk {
  margin: 0 0 2.75rem;
}

.pfh-newsdesk {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(310px, 1fr);
  gap: 14px;
  align-items: stretch;
  padding: 14px;
  background: #0e1117;
  color: #fff;
}

.pfh-newsdesk--solo {
  grid-template-columns: 1fr;
}

.pfh-newsdesk__lead,
.pfh-newsdesk__stack {
  min-width: 0;
}

.pfh-newsdesk__lead {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #252a31;
}

.pfh-newsdesk__stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 560px;
}

.pfh-newsdesk .pfh-card {
  height: 100%;
  min-height: 0;
  border-radius: 0;
  box-shadow: none;
  background: #252a31;
}

.pfh-newsdesk .pfh-card__overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.55) 42%, rgba(0, 0, 0, 0.02) 100%);
}

.pfh-newsdesk .pfh-card__category {
  min-height: 0;
  padding: 0.42rem 0.68rem;
  border-radius: 0;
  background: rgba(24, 62, 111, 0.94);
  font-size: 0.76rem;
  line-height: 1;
  font-weight: 900;
}

.pfh-newsdesk .pfh-card__kicker {
  display: none;
}

.pfh-newsdesk .pfh-card__date {
  color: rgba(255, 255, 255, 0.68);
}

.pfh-newsdesk .pfh-card--lead,
.pfh-newsdesk .pfh-card--lead .pfh-card__body {
  min-height: 560px;
}

.pfh-newsdesk .pfh-card--lead .pfh-card__body {
  justify-content: flex-end;
  padding: 1.8rem 1.8rem 1.9rem;
}

.pfh-newsdesk .pfh-card--lead .pfh-card__title {
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: clamp(2.4rem, 3.2vw, 4.1rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

.pfh-newsdesk .pfh-card--stack,
.pfh-newsdesk .pfh-card--stack .pfh-card__body {
  min-height: 273px;
}

.pfh-newsdesk .pfh-card--stack .pfh-card__body {
  justify-content: flex-end;
  padding: 1.25rem 1.25rem 1.35rem;
}

.pfh-newsdesk .pfh-card--stack .pfh-card__title {
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: clamp(1.55rem, 1.8vw, 2.25rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

.pfh-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.42s ease;
}

.pfh-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.pfh-slider-nav {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(9, 13, 18, 0.58);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition: background 0.18s ease, opacity 0.18s ease;
}

.pfh-slider-nav--prev {
  left: 0;
}

.pfh-slider-nav--next {
  right: 0;
}

.pfh-slider-nav:hover,
.pfh-slider-nav:focus {
  background: rgba(24, 62, 111, 0.94);
  opacity: 1;
  outline: none;
}

.pfh-newsdesk__lead:hover .pfh-slider-nav,
.pfh-newsdesk__lead:focus-within .pfh-slider-nav {
  opacity: 1;
}

.pfh-slider-nav:focus-visible {
  box-shadow: inset 0 0 0 2px #fff;
}

.pfh-slider-nav svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1180px) {
  .pfh-newsdesk {
    grid-template-columns: minmax(0, 1.75fr) minmax(270px, 0.9fr);
  }

  .pfh-newsdesk__lead,
  .pfh-newsdesk__stack,
  .pfh-newsdesk .pfh-card--lead,
  .pfh-newsdesk .pfh-card--lead .pfh-card__body {
    min-height: 500px;
  }

  .pfh-newsdesk .pfh-card--stack,
  .pfh-newsdesk .pfh-card--stack .pfh-card__body {
    min-height: 243px;
  }

}

@media (max-width: 980px) {
  .pfh-newsdesk {
    display: block;
    padding: 12px;
  }

  .pfh-newsdesk__lead {
    min-height: 460px;
  }

  .pfh-newsdesk .pfh-card--lead,
  .pfh-newsdesk .pfh-card--lead .pfh-card__body {
    min-height: 460px;
  }

  .pfh-newsdesk__stack {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    min-height: 0;
    margin-top: 12px;
  }

}

@media (max-width: 680px) {
  .pfh-newsdesk__lead,
  .pfh-newsdesk .pfh-card--lead,
  .pfh-newsdesk .pfh-card--lead .pfh-card__body {
    min-height: 420px;
  }

  .pfh-newsdesk__stack {
    grid-template-columns: 1fr;
  }

  .pfh-newsdesk .pfh-card--stack,
  .pfh-newsdesk .pfh-card--stack .pfh-card__body {
    min-height: 250px;
  }

  .pfh-newsdesk .pfh-card--lead .pfh-card__body,
  .pfh-newsdesk .pfh-card--stack .pfh-card__body {
    padding: 1.1rem;
  }

}
