:root {
  --piranot-home-bg: #f7f1e8;
  --piranot-home-paper: #fffdfa;
  --piranot-home-ink: #121212;
  --piranot-home-muted: #5d564e;
  --piranot-home-line: #d4cabd;
  --piranot-home-line-strong: #b8ac9b;
  --piranot-home-accent: #133f93;
  --piranot-home-accent-soft: #eef3fb;
  --piranot-home-premium: #8a1d18;
  --piranot-home-shadow: 0 10px 24px rgba(18, 18, 18, 0.04);
  --piranot-home-max: 1360px;
}

.piranot-home {
  background:
    linear-gradient(180deg, rgba(19, 63, 147, 0.04), transparent 14%),
    var(--piranot-home-bg);
  color: var(--piranot-home-ink);
  padding-bottom: 72px;
}

.piranot-home__container {
  max-width: var(--piranot-home-max);
  margin: 0 auto;
  padding: 0 24px;
}

.piranot-home__hero {
  padding: 24px 0 24px;
}

.piranot-home__hero-grid,
.piranot-home__mid {
  display: grid;
  grid-template-columns: minmax(0, 2.35fr) minmax(310px, 0.85fr);
  gap: 32px;
}

.piranot-home__hero-main,
.piranot-home__hero-rail,
.piranot-home__main-column,
.piranot-home__side-column,
.piranot-home__band {
  min-width: 0;
}

.piranot-home__hero-main,
.piranot-home__hero-rail,
.piranot-home__main-column,
.piranot-home__side-column,
.piranot-home__band {
  background: var(--piranot-home-paper);
  border: 1px solid var(--piranot-home-line);
  box-shadow: var(--piranot-home-shadow);
}

.piranot-home__hero-main,
.piranot-home__hero-rail,
.piranot-home__main-column,
.piranot-home__side-column {
  padding: 26px;
}

.piranot-home__band {
  margin: 0 auto 28px;
  padding: 22px 26px 24px;
}

.piranot-home__section-kicker {
  font: 700 0.72rem/1.1 Arial, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--piranot-home-accent);
  margin-bottom: 18px;
}

.piranot-home__section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-top: 3px solid var(--piranot-home-ink);
  border-bottom: 1px solid var(--piranot-home-line);
}

.piranot-home__section-head--side {
  margin-top: 0;
}

.piranot-home__section-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.piranot-home__section-head p {
  margin: 0;
  max-width: 42ch;
  color: var(--piranot-home-muted);
  font-size: 0.92rem;
}

.piranot-home__grid {
  display: grid;
  gap: 18px;
}

.piranot-home__grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.piranot-home__grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.piranot-home__grid--feature {
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 20px;
}

.piranot-home__metro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.95fr);
  gap: 22px;
}

.piranot-home__metro-grid,
.piranot-home__special,
.piranot-home__entertainment {
  display: grid;
  gap: 18px;
}

.piranot-home__special {
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 22px;
  background: linear-gradient(180deg, #0d1732, #132247);
  color: #f4f7ff;
  border: 1px solid #20345f;
}

.piranot-home__entertainment {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
}

.piranot-home__double {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(300px, 0.9fr);
  gap: 32px;
  max-width: var(--piranot-home-max);
  margin: 0 auto 28px;
  padding: 0 24px;
}

.piranot-home__double-main,
.piranot-home__double-side {
  min-width: 0;
  background: var(--piranot-home-paper);
  border: 1px solid var(--piranot-home-line);
  box-shadow: var(--piranot-home-shadow);
  padding: 26px;
}

.piranot-story {
  min-width: 0;
}

.piranot-story__media-link {
  display: block;
  text-decoration: none;
}

.piranot-story__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: linear-gradient(135deg, #d5dbe8, #eff2f8);
}

.piranot-story__image--placeholder {
  min-height: 260px;
}

.piranot-story__content {
  padding-top: 12px;
}

.piranot-story__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--piranot-home-premium);
  font: 700 0.73rem/1.1 Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.piranot-story__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
  letter-spacing: -0.026em;
}

.piranot-story__title a {
  color: inherit;
  text-decoration: none;
}

.piranot-story__title a:hover {
  color: var(--piranot-home-accent);
}

.piranot-story__excerpt {
  margin: 12px 0 0;
  color: var(--piranot-home-muted);
  font-size: 0.98rem;
  line-height: 1.58;
}

.piranot-story__meta {
  margin-top: 14px;
  color: var(--piranot-home-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.piranot-story--hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 22px;
  align-items: start;
}

.piranot-story--hero .piranot-story__media-link {
  position: relative;
}

.piranot-story--hero .piranot-story__media-link::after {
  content: "";
  position: absolute;
  right: -11px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--piranot-home-line);
}

.piranot-story--hero .piranot-story__image {
  aspect-ratio: 1.22 / 1;
}

.piranot-story--hero .piranot-story__content {
  padding-top: 4px;
}

.piranot-story--hero .piranot-story__title {
  font-size: clamp(2.4rem, 4vw, 4.8rem);
}

.piranot-story--hero .piranot-story__excerpt {
  max-width: 36ch;
  font-size: 1.02rem;
}

.piranot-compact-list,
.piranot-opinion-list,
.piranot-latest-list {
  display: grid;
  gap: 14px;
}

.piranot-story--compact,
.piranot-story--opinion {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--piranot-home-line);
}

.piranot-story--compact .piranot-story__title,
.piranot-story--opinion .piranot-story__title {
  font-size: 1.16rem;
}

.piranot-story--card {
  padding: 18px 16px 14px;
  border-top: 3px solid var(--piranot-home-premium);
  border-right: 1px solid var(--piranot-home-line);
  border-bottom: 1px solid var(--piranot-home-line);
  border-left: 1px solid var(--piranot-home-line);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), #fff);
}

.piranot-story--card .piranot-story__title {
  font-size: 1.1rem;
}

.piranot-story--feature {
  grid-row: span 2;
}

.piranot-story--feature .piranot-story__title {
  font-size: 2.2rem;
}

.piranot-story--special-lead,
.piranot-story--special-mini {
  min-width: 0;
}

.piranot-story--special-lead {
  grid-row: span 2;
}

.piranot-story--special-lead .piranot-story__title {
  font-size: 2rem;
}

.piranot-story--special-mini {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.piranot-story--special-mini .piranot-story__title {
  font-size: 1.08rem;
  line-height: 1.08;
}

.piranot-home__special .piranot-story__eyebrow,
.piranot-home__special .piranot-story__excerpt,
.piranot-home__special .piranot-story__title a {
  color: inherit;
}

.piranot-home__special .piranot-story__eyebrow {
  color: #98b9ff;
}

.piranot-home__special .piranot-story__excerpt {
  color: rgba(244, 247, 255, 0.8);
}

.piranot-story--feature-small {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--piranot-home-line);
}

.piranot-story--feature-small .piranot-story__title {
  font-size: 1.16rem;
}

.piranot-story--latest {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--piranot-home-line);
}

.piranot-story--latest .piranot-story__image {
  aspect-ratio: 1.35 / 1;
}

.piranot-story--latest .piranot-story__title {
  font-size: 1.42rem;
}

.piranot-ranking {
  margin: 0;
  padding: 0 0 0 22px;
}

.piranot-ranking__item {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--piranot-home-line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
}

.piranot-ranking__item a {
  color: inherit;
  text-decoration: none;
}

.piranot-ranking__item a:hover {
  color: var(--piranot-home-accent);
}

.piranot-ad-slot {
  margin-top: 22px;
  padding: 12px;
  border: 1px solid var(--piranot-home-line);
  background: linear-gradient(180deg, rgba(19, 63, 147, 0.03), rgba(19, 63, 147, 0.01));
}

.piranot-ad-slot--wide {
  margin: 28px 0 34px;
}

.piranot-ad-slot__label {
  display: block;
  margin-bottom: 10px;
  color: var(--piranot-home-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.piranot-ad-slot__box {
  display: grid;
  place-items: center;
  min-height: 120px;
  color: var(--piranot-home-muted);
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.piranot-home__hero-main {
  border-top: 4px solid var(--piranot-home-ink);
}

.piranot-home__band--highlights,
.piranot-home__band--tail {
  border-top: 3px solid var(--piranot-home-line-strong);
}

.piranot-home__hero-rail,
.piranot-home__side-column {
  position: relative;
}

.piranot-home__hero-rail::before,
.piranot-home__side-column::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--piranot-home-accent), transparent 26%);
}

.piranot-home__hero-rail .piranot-home__section-kicker,
.piranot-home__side-column .piranot-home__section-head h2 {
  padding-left: 10px;
}

@media (max-width: 1180px) {
  .piranot-home__grid--five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .piranot-home__grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .piranot-home__grid--feature {
    grid-template-columns: 1fr 1fr;
  }

  .piranot-home__special,
  .piranot-home__entertainment {
    grid-template-columns: 1fr 1fr;
  }

  .piranot-story--feature {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .piranot-story--special-lead {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 980px) {
  .piranot-home__hero-grid,
  .piranot-home__mid,
  .piranot-home__double,
  .piranot-home__metro,
  .piranot-story--latest {
    grid-template-columns: 1fr;
  }

  .piranot-story--hero {
    grid-template-columns: 1fr;
  }

  .piranot-story--hero .piranot-story__media-link::after {
    display: none;
  }

  .piranot-home__hero-grid,
  .piranot-home__mid {
    gap: 22px;
  }

  .piranot-home__hero-main,
  .piranot-home__hero-rail,
  .piranot-home__main-column,
  .piranot-home__side-column,
  .piranot-home__double-main,
  .piranot-home__double-side,
  .piranot-home__band {
    padding: 20px;
  }

  .piranot-home__double {
    padding: 0 24px;
  }
}

@media (max-width: 700px) {
  .piranot-home {
    padding-bottom: 40px;
  }

  .piranot-home__container {
    padding: 0 14px;
  }

  .piranot-home__hero {
    padding-top: 10px;
  }

  .piranot-home__grid--four,
  .piranot-home__grid--five,
  .piranot-home__grid--feature,
  .piranot-home__special,
  .piranot-home__entertainment {
    grid-template-columns: 1fr;
  }

  .piranot-home__hero-main,
  .piranot-home__hero-rail,
  .piranot-home__main-column,
  .piranot-home__side-column,
  .piranot-home__double-main,
  .piranot-home__double-side,
  .piranot-home__band {
    padding: 16px;
  }

  .piranot-home__double {
    gap: 18px;
    margin-bottom: 20px;
    padding: 0 14px;
  }

  .piranot-home__section-head {
    display: block;
    padding-top: 8px;
    padding-bottom: 10px;
    margin-bottom: 16px;
  }

  .piranot-home__section-head h2 {
    font-size: 1.35rem;
    margin-bottom: 8px;
  }

  .piranot-home__section-head p {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .piranot-home__section-kicker,
  .piranot-story__eyebrow,
  .piranot-story__meta {
    letter-spacing: 0.1em;
  }

  .piranot-story--hero .piranot-story__title {
    font-size: 2.15rem;
  }

  .piranot-story--hero .piranot-story__excerpt {
    max-width: none;
    font-size: 0.98rem;
  }

  .piranot-story--compact .piranot-story__title,
  .piranot-story--opinion .piranot-story__title,
  .piranot-story--card .piranot-story__title,
  .piranot-story--feature-small .piranot-story__title {
    font-size: 1.08rem;
    line-height: 1.08;
  }

  .piranot-story--latest .piranot-story__title,
  .piranot-story--feature .piranot-story__title {
    font-size: 1.4rem;
  }

  .piranot-story--latest {
    gap: 12px;
    padding-bottom: 14px;
  }

  .piranot-home__special {
    padding: 16px;
    gap: 14px;
  }

  .piranot-story--latest .piranot-story__image {
    aspect-ratio: 16 / 10;
  }

  .piranot-story--card {
    padding: 14px 14px 12px;
  }

  .piranot-compact-list,
  .piranot-opinion-list,
  .piranot-latest-list {
    gap: 12px;
  }

  .piranot-ad-slot {
    margin-top: 16px;
    padding: 10px;
  }

  .piranot-ad-slot__box {
    min-height: 84px;
    font-size: 0.76rem;
  }
}
