/*
 * infographics.css — Infographics archive page (/infographic/)
 * Generated by Claude Code Phase 2B — Developer review required
 *
 * Compiled from (SCSS → CSS, variables resolved):
 *   _base.scss               → .row.gap-24 (negative-margin gutter)
 *   _home_design.scss        → .pagination-container, .pagination-button
 *   _banner.scss             → .home-banner-wrap--boxed Swiper pagination overrides
 *   _subscribe_cta.scss      → .subscribe-banner--small modifier
 *
 * Loaded AFTER blog.css (which provides .home-recent-blog-wrap, .blog-item,
 * .blog-category-page-title, .banner-img, .banner-content, .home-banner-wrap,
 * .other_banner_inr_sec, .post-by) and homepage.css (which provides
 * .home-banner-wrap--boxed, .need-help-wrap, .full-slider-wrap, .slider-block-wrap,
 * .collection-box, .exhibition-static-wrap).
 *
 * Variable values (from _variables.scss):
 *   $primary         = #e78125
 *   $secondary       = #19263a
 *   $white           = #ffffff
 *   $black           = #000000
 *   $color_raven     = #7b7c7e
 *   $color_nile_blue = #173055
 */

/* ============================================================
   GAP-24 GRID GUTTER
   Source: frontend-nextjs/src/assets/scss/_base.scss
   React: <ul className="row gap-24"> in InfographicList.js
   ============================================================ */

.row.gap-24 {
  margin-left: -12px;
  margin-right: -12px;
}

.row.gap-24 [class*="col-"] {
  padding-left: 12px;
  padding-right: 12px;
}

/* ============================================================
   INFOGRAPHIC BANNER SWIPER PAGINATION
   Source: _banner.scss — .home-banner-wrap--boxed .banner-slider-pagination
   React: Swiper Pagination module, clickable bullets
   Scoped to infographics banner slider to avoid collisions with other pages
   ============================================================ */

.infographics-page .home-banner-wrap--boxed .banner-slider-dot {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.infographics-page .home-banner-wrap--boxed .banner-slider-pagination {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 5px 9px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 20px;
}

.infographics-page .home-banner-wrap--boxed .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  opacity: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.infographics-page .home-banner-wrap--boxed .swiper-pagination-bullet-active {
  background: #e78125;
}

@media (max-width: 767px) {
  .infographics-page .home-banner-wrap--boxed .banner-slider-dot {
    bottom: 12px;
  }
}

/* ============================================================
   PAGINATION
   Source: frontend-nextjs/src/assets/scss/components/_home_design.scss
   React: .pagination-container, .wrapper, .pagination-button in InfographicList.js
   ============================================================ */

.pagination-container {
  max-width: 100%;
  margin-top: 32px;
  width: 100%;
}

.pagination-container .wrapper {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
      margin-top: 60px;
}

.pagination-button {
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  color: #000000;
  border-radius: 8px;
  border: 2px solid #e68125;
  background: transparent;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 0 1 auto;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

a.pagination-button:hover {
  background: rgba(230, 129, 37, 0.12);
  color: #e68125;
  text-decoration: none;
}

.pagination-button.active {
  background: #e68125;
  color: #ffffff;
  cursor: default;
  pointer-events: none;
}

.pagination-button.disabled {
  cursor: default;
  filter: saturate(0);
  opacity: 0.6;
  pointer-events: none;
}

.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 40px;
  color: #7b7c7e;
  font-size: 16px;
  letter-spacing: 1px;
}

@media screen and (max-width: 575px) {
  .pagination-container .wrapper {
    gap: 6px;
  }

  .pagination-button {
    min-width: 32px;
    height: 36px;
    padding: 0 8px;
    font-size: 13px;
  }

  .pagination-ellipsis {
    height: 36px;
  }
}

/* ============================================================
   SUBSCRIBE BANNER SMALL MODIFIER
   Source: frontend-nextjs/src/components/sections/SubscribeCta/_subscribe_cta.scss
   React: <div className="subscribe-banner subscribe-banner--small"> in InfographicList.js
   ============================================================ */

.subscribe-banner--small {
  padding: 0;
  margin: 0 auto;
}

.subscribe-banner--small h3 {
  font-size: 22px;
  font-weight: 400;
  color: #19263a;
  margin-bottom: 0;
}

/* .subscribe-banner--small .subscribe-form {
  display: flex;
  gap: 12px;
  align-items: center;
} */

/* .subscribe-banner--small .subscribe-form form {
  display: flex;
  width: 100%;
  gap: 12px;
} */

.subscribe-banner--small .subscribe-form .form-control {
  flex: 1;
  height: 44px;
  border-radius: 4px;
}

.subscribe-banner--small .subscribe-submit {
  height: 44px;
  padding: 0 20px;
  background: #e78125;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.subscribe-banner--small .subscribe-submit:hover {
  background: #c96f1f;
}

.subscribe-banner--small .subscribe-submit svg {
  flex-shrink: 0;
}

.subscribe-banner--small .error-msg {
  font-size: 12px;
  display: block;
  margin-top: 4px;
}

@media (max-width: 991px) {
  .subscribe-banner--small {
    padding: 20px 24px;
  }

  .subscribe-banner--small h3 {
    font-size: 18px;
    margin-bottom: 16px;
  }
}

@media (max-width: 575px) {
  .subscribe-banner--small .subscribe-form form {
    flex-direction: column;
  }

  .subscribe-banner--small .subscribe-submit {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   INFOGRAPHIC LIST PAGE SPACING
   Source: React — popular-design-section on infographic list
   ============================================================ */

.infographics-page .home-recent-blog-wrap.popular-design-section {
  padding-top: 0;
}

.infographics-page .home-recent-blog-wrap.popular-design-section .container {
  /* ensure pagination aligns with list */
  /* padding-bottom: 60px; */
}

@media (max-width: 767px) {
  .infographics-page .home-recent-blog-wrap.popular-design-section .container {
    padding-bottom: 40px;
  }
}

/* ============================================================
   BLOG CTA BOX — reset negative margin on infographics page
   homepage.css sets margin-top: -88px (desktop) / -178px (mobile)
   to overlap the exhibition section. On the infographics page the
   CTA sits below the exhibition block so the overlap is unwanted.
   ============================================================ */

.infographics-page .blog-cta-box {
  margin-top: 100px;
}

@media (max-width: 767px) {
  .infographics-page .blog-cta-box {
    margin-top: 40px;
  }
}
.subscribe-form .ginput_container.ginput_container_email input {
  height: 44px;
}
