/* ---------- Web Stories Listing Page ---------- */
.webstories {
  width: 1760px;
  margin: 40px auto 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.webstoriesLeft {
  width: 1420px;
}
.webstoriesLeftnoad{
  width: 100%;
}
.webstoriesright {
  width: 300px;
}
.webstoriesright img {
  max-width: 100%;
  height: auto;
}
.webstoriestop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #C7C5C4;
  padding-bottom: 8px;
}
.webstoriestop h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.18;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
}
.webstorieslanguage {
  font-size: 14px;
  border: 1px solid #FAE4C5;
  padding: 7px 15px;
  border-radius: 4px;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  cursor: pointer;
  text-decoration: none;
}
.webstorieslanguage:hover {
  color: #000;
  border-color: #e8783a;
}
.webstorieslist {
  margin-top: 1.5px;
  border-top: 2px solid #C7C5C4;
  padding-top: 25px;
}
.webstorieslistwrap {
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  display: grid;
}
.weblistcol {
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  display: block;
}
.weblistcol img {
  border-radius: 4px;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.weblistcol:hover img {
  transform: scale(1.04);
}
.weblistcol:after {
  content: "";
  border-radius: 0 0 4px 4px;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 80%;
  background: linear-gradient(to top, #000000e6, #0000);
}
.webstoriestxt {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  position: absolute;
  z-index: 9;
  bottom: 0;
  left: 0;
  padding: 15px 12px;
  line-height: 1.3;
}
.webicon {
  position: absolute;
  z-index: 9;
  top: 10px;
  left: 12px;
}
.webstories-noresult {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  font-size: 18px;
}

/* ---------- Pagination ---------- */
.webstories-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.webstories-pagination .page-numbers {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid #FAE4C5;
  border-radius: 4px;
  color: #000;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}
.webstories-pagination .page-numbers:hover {
  border-color: #e8783a;
  color: #e8783a;
}
.webstories-pagination .page-numbers.current {
  background: #e8783a;
  border-color: #e8783a;
  color: #fff;
}
.webstories-pagination .page-numbers.dots {
  border: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1730px) {
  .webstories { width: 1600px; }
  .webstoriesLeft { width: 1275px; }
  .webstorieslistwrap { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 1670px) {
  .webstories { width: 1570px; }
  .webstoriesLeft { width: 1240px; }
}
@media (max-width: 1545px) {
  .webstories { width: 1440px; }
  .webstoriesLeft { width: 1105px; }
  .webstorieslistwrap { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1450px) {
  .webstories { width: 1350px; }
  .webstoriesLeft { width: 1020px; }
}
@media (max-width: 1370px) {
  .webstories { width: 1280px; }
  .webstoriesLeft { width: 950px; }
}
@media (max-width: 1286px) {
  .webstories { width: 1190px; }
  .webstoriesLeft { width: 855px; }
  .webstorieslistwrap { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1028px) {
  .webstories { width: 980px; }
  .webstoriesLeft { width: 645px; }
}
@media (max-width: 768px) {
  .webstories { width: 94%; margin-top: 0px; }
  .webstoriesright { display: none; }
  .webstoriesLeft { width: 100%; }
}
@media (max-width: 580px) {
  .webstorieslistwrap { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .webstoriestxt { font-size: 15px; font-weight: 500; padding: 10px 8px; }
  .webstoriestop h1 { font-size: 20px; letter-spacing: 0; }
  .webstories-pagination .page-numbers { min-width: 34px; height: 34px; font-size: 14px; }
}
