/**
 * Hotel Archive & Taxonomy Stylesheet
 * Scoped for All Rooms and Category Pages
 *
 * @package TNStackCore
 */

/* ==========================================================================
   01. ARCHIVE HEADER BANNER
   ========================================================================== */
.tns-archive-wrapper {
  background-color: var(--hotel-background);
  min-height: 80vh;
  padding-bottom: 70px;
}

.tns-archive-header {
  background: linear-gradient(180deg, #2b0812 0%, #1d040b 100%);
  color: var(--hotel-white);
  padding: 30px 0 50px 0;
  margin-bottom: 45px;
  border-bottom: 1px solid rgba(213, 174, 101, 0.25);
}

.tns-archive-header .tns-breadcrumb {
  padding: 0 0 20px 0;
}

.tns-archive-header .tns-breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.tns-archive-header .tns-breadcrumb a:hover {
  color: var(--hotel-gold);
}

.tns-archive-header .tns-breadcrumb-separator {
  color: rgba(255, 255, 255, 0.3);
}

.tns-archive-header .tns-breadcrumb-current {
  color: var(--hotel-gold);
}

.tns-archive-header__content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.tns-archive-title {
  font-family: var(--hotel-font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--hotel-white);
  margin: 0 0 14px 0;
  line-height: 1.25;
}

.tns-archive-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* ==========================================================================
   02. BODY & LISTING
   ========================================================================== */
.tns-archive-body {
  padding-top: 10px;
}

/* Pagination */
.tns-pagination {
  margin-top: 50px;
  text-align: center;
}

.tns-pagination .nav-links {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.tns-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--hotel-radius-sm);
  background-color: var(--hotel-white);
  color: var(--hotel-text);
  border: 1px solid var(--hotel-border);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: var(--hotel-transition);
}

.tns-pagination .page-numbers:hover,
.tns-pagination .page-numbers.current {
  background-color: var(--hotel-primary);
  color: var(--hotel-white);
  border-color: var(--hotel-primary);
}

.tns-pagination .page-numbers.prev,
.tns-pagination .page-numbers.next {
  width: auto;
  padding: 0 16px;
}

/* Empty State */
.tns-empty-state {
  text-align: center;
  padding: 60px 20px;
  background-color: var(--hotel-white);
  border-radius: var(--hotel-radius-md);
  border: 1px solid var(--hotel-border);
  max-width: 600px;
  margin: 0 auto;
}

.tns-empty-state p {
  font-size: 16px;
  color: var(--hotel-muted);
  margin-bottom: 24px;
}

/* ==========================================================================
   03. RESPONSIVE BREAKPOINTS (ARCHIVE & TAXONOMY)
   ========================================================================== */
@media (max-width: 768px) {
  .tns-archive-wrapper {
    padding-bottom: 50px;
  }

  .tns-archive-header {
    padding: 20px 0 35px 0;
    margin-bottom: 30px;
  }

  .tns-archive-title {
    font-size: clamp(24px, 6vw, 34px);
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .tns-archive-desc {
    font-size: 14px;
    line-height: 1.6;
  }

  .tns-pagination {
    margin-top: 35px;
  }

  .tns-pagination .page-numbers {
    width: 44px;
    height: 44px;
    font-size: 15px;
  }

  .tns-pagination .page-numbers.prev,
  .tns-pagination .page-numbers.next {
    padding: 0 14px;
  }
}

@media (max-width: 480px) {
  .tns-archive-header .tns-breadcrumb {
    font-size: 12.5px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .tns-archive-header .tns-breadcrumb::-webkit-scrollbar {
    display: none;
  }

  .tns-pagination .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
