.web-stories-page {
  min-height: 60vh;
}

.web-stories-head {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #d8e4ef;
  border-radius: 10px;
  background: #fff;
  padding: 18px;
  margin-bottom: 18px;
}

.web-stories-kicker {
  display: inline-flex;
  width: max-content;
  border-radius: 999px;
  background: #f47421;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  margin-bottom: 10px;
}

.web-stories-head h1 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem);
  color: #133B5C;
  font-weight: 600;
}

.web-stories-head p {
  max-width: 720px;
  margin: 8px 0 0;
  color: #5e7185;
  font-size: 1rem;
  line-height: 1.5;
}

.web-stories-count {
  min-width: 150px;
  border-radius: 10px;
  border: 1px solid #dce7f2;
  background: #f6f9fd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.web-stories-count strong {
  color: #133B5C;
  font-size: 2rem;
  line-height: 1;
}

.web-stories-count span {
  margin-top: 5px;
  color: #5d7287;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.web-stories-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.web-story-card {
  min-width: 0;
}

.web-story-card-link {
  position: relative;
  display: flex;
  min-height: 320px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #d3e0ec;
  background: #07121d;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(9, 31, 53, 0.08);
}

.web-story-card-link:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(9, 31, 53, 0.14);
}

.web-story-cover {
  position: absolute;
  inset: 0;
}

.web-story-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 14, 24, 0.05) 0%, rgba(4, 14, 24, 0.35) 45%, rgba(4, 14, 24, 0.92) 100%);
}

.web-story-cover img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 0.35s ease;
}

.web-story-card-link:hover .web-story-cover img {
  transform: scale(1.04);
}

.web-story-copy {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 18px;
}

.web-story-date {
  width: max-content;
  border-radius: 999px;
  background: #f47421;
  color: #fff;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 9px;
}

.web-story-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 3;
  font-family: "Oswald", sans-serif;
  font-size: 1.42rem;
  line-height: 1.12;
  font-weight: 600;
}

.web-story-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 2;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  line-height: 1.35;
}

.web-stories-load-wrap {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.web-stories-load-btn {
  border: 0;
  border-radius: 8px;
  background: #133B5C;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 18px;
}

.web-stories-load-btn:disabled {
  opacity: .7;
}

.web-stories-end {
  margin: 0;
  color: #66788a;
  font-weight: 700;
}

.web-stories-empty {
  border: 1px dashed #cbd9e7;
  border-radius: 10px;
  background: #fff;
  padding: 28px;
  text-align: center;
}

.web-stories-empty h2 {
  margin: 0 0 8px;
  color: #133B5C;
  font-family: "Oswald", sans-serif;
}

.web-stories-empty p {
  margin: 0;
  color: #66788a;
}

@media (max-width: 1260px) {
  .web-stories-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .web-stories-head {
    flex-direction: column;
  }

  .web-stories-count {
    align-items: flex-start;
  }

  .web-stories-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .web-stories-head {
    padding: 14px;
  }

  .web-stories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .web-story-card-link {
    min-height: 260px;
    border-radius: 8px;
  }

  .web-story-copy {
    padding: 12px;
  }

  .web-story-title {
    font-size: 1.1rem;
  }

  .web-story-desc {
    display: none;
  }
}
