
/* Section spacing */
#category-posts-17 {
  padding: 80px 0;
  background: #f9f9f9;
}

/* Header */
#category-posts-17 .section-header {
  text-align: center;
  margin-bottom: 50px;
}
#category-posts-17 .section-title {
  font-size: 2rem;
  font-weight: 600;
  color: #212529;
}
#category-posts-17 .section-subtitle {
  font-size: 1rem;
  color: #6c757d;
}

/* Zigzag item */
#category-posts-17 .zigzag-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  transition: transform .3s ease;
}
#category-posts-17 .zigzag-item.reverse {
  flex-direction: row-reverse;
}
#category-posts-17 .zigzag-item:nth-child(even) {
  background: #ffffff;
}
#category-posts-17 .zigzag-item:nth-child(odd) {
  background: #f1f5f9;
}
#category-posts-17 .zigzag-item:hover {
  transform: translateY(-5px);
}

/* Media queries */
@media (max-width: 992px) {
  #category-posts-17 .zigzag-item {
    flex-direction: column !important;
  }
}

/* Image column */
#category-posts-17 .zigzag-img {
  flex: 0 0 40%;
  max-width: 40%;
  padding: 1rem;
}
#category-posts-17 .zigzag-img img {
  width: 100%;
  border-radius: .75rem;
  display: block;
}

/* Content column */
#category-posts-17 .zigzag-content {
  flex: 1;
  padding: 1rem;
}
#category-posts-17 .zigzag-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: .75rem;
  color: #212529;
}
#category-posts-17 .zigzag-content p {
  font-size: 1rem;
  color: #495057;
  margin-bottom: 1rem;
}

/* Read More button */
#category-posts-17 .btn-readmore {
  font-size: .875rem;
  font-weight: 500;
  color: #4f46e5;
  border: 1px solid #4f46e5;
  border-radius: .5rem;
  padding: .5rem 1rem;
  display: inline-flex;
  align-items: center;
  transition: background .3s ease, color .3s ease;
}
#category-posts-17 .btn-readmore i {
  margin-left: .5rem;
  transition: transform .3s ease;
}
#category-posts-17 .btn-readmore:hover {
  background: #4f46e5;
  color: #fff;
}
#category-posts-17 .btn-readmore:hover i {
  transform: translateX(4px);
}

/* Pagination & Load More */
#category-posts-17 .pagination-wrapper,
#category-posts-17 .load-more-wrapper {
  text-align: center;
  margin-top: 2.5rem;
}




/* === Section Base === */
.post-section {
  padding: 60px 0;
  background: #f9f9f9;
}
.post-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}
.post-section .section-header h2 {
  font-size: 2rem;
  font-weight: 700;
}
.post-section .section-header p {
  color: #666;
  margin-top: 8px;
}

/* === Grid === */
.post-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(1,1fr);
}
@media (min-width: 576px) {
  .post-grid { grid-template-columns: repeat(2,1fr); }
}
@media (min-width: 992px) {
  .post-grid { grid-template-columns: repeat(4,1fr); }
}

/* === Card & Ken Burns Image === */
.post-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background: #fff;
  transition: transform 0.3s;
}
.post-card:hover {
  transform: translateY(-5px);
}

/* Ken Burns animation */
@keyframes kenburns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.2) translate(-10px, -10px); }
}
.post-card .card-image img {
  width: 100%;
  display: block;
  animation: kenburns var(--kb-duration) ease-in-out infinite alternate;
}

/* Overlay on hover */
.post-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.post-card:hover .overlay {
  transform: translateY(0);
}
.post-card .overlay h5 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.post-card .overlay .btn-readmore {
  font-size: 0.85rem;
  color: #fff;
  border: 1px solid #fff;
  padding: 0.375rem 0.75rem;
  border-radius: 0.25rem;
  text-decoration: none;
  transition: background 0.3s;
}
.post-card .overlay .btn-readmore:hover {
  background: #fff;
  color: #000;
}

/* === Pagination === */
.pagination-wrapper {
  text-align: center;
  margin: 40px 0;
}




#offers-12 {
  padding: 80px 0;
  background-color: #fafafa;
}
#offers-12 .offer-section-title {
  text-align: center;
  font-weight: 700;
  margin-bottom: 3.5rem;
  font-size: 2rem;
}
#offers-12 .game-type-image-col {
  display: flex;
  align-items: center;
  justify-content: center;
}
#offers-12 .game-type-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
#offers-12 .game-type-details-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-left: 2.5rem;
}
#offers-12 .game-type-headline {
  font-weight: 700;
  font-size: 1.8rem;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
#offers-12 .game-type-offers-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2.5rem;
}
#offers-12 .game-type-offers-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  color: #343a40;
  font-size: 1rem;
  line-height: 1.6;
}
#offers-12 .game-type-offers-list li i {
  margin-right: 12px;
  margin-top: 5px;
  color: #0d6efd;
  font-size: 1em;
  width: 20px;
  text-align: center;
}
#offers-12 .btn-game-type-cta {
  padding: 0.8rem 2rem;
  font-weight: 600;
  align-self: flex-start;
}
@media (max-width: 991.98px) {
  #offers-12 .game-type-image-col {
    margin-bottom: 2rem;
  }
  #offers-12 .game-type-details-col {
    padding-left: 0;
    text-align: center;
  }
  #offers-12 .game-type-offers-list {
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  #offers-12 .btn-game-type-cta {
    align-self: center;
  }
}


