/* Position Details Page CSS */
/* Note: joblist and faq section styles are excluded - include from separate files */

/* ========================================
   Base & Reset
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Anuphan', sans-serif;
  background-color: #ffffff;
  color: #1f2937;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

}

/* ========================================
   Layout
   ======================================== */
.container {
  max-width: 1400px;
  margin: 0 auto;

}
.page-content {
  padding-left: 5%;
  padding-right: 5%;
}


/* ========================================
   Hero Section
   ======================================== */
.hero-section {
  padding-top: 5rem;
  padding-bottom: 2rem;
  background-color: #ffffff;
}

.hero-content {
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 400;
  color: #111827;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

@media (max-width: 1200px) {
  .hero-section {
    padding-top: 5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
}


/* ========================================
   Job Listings Section (minimal container styles)
   Note: Job card styles should come from joblist.css
   ======================================== */
.joblist-section {
  padding: 4rem 0;
  background-color: #ffffff;
}

.joblist-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .joblist-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.joblist-title {
  font-size: 1.875rem;
  font-weight: 400;
  color: #111827;
}

.joblist-count {
  color: #6b7280;
  margin-top: 0.25rem;
}

.sort-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #ffffff;
  border-radius: 0.5rem;
  padding: 0.25rem;
  border: 1px solid #e5e7eb;
}

.sort-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.sort-btn.active {
  background-color: #f3f4f6;
  color: #111827;
}

.job-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.load-more-wrap {
  margin-top: 2rem;
  text-align: center;
}

.load-more-btn {
  padding: 0.75rem 2rem;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  background-color: #ffffff;
  color: #374151;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.load-more-btn:hover {
  background-color: #f9fafb;
}

/* ========================================
   Related Positions Section
   ======================================== */
.related-positions-section {
  padding: 4rem 0;
  background-color: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 400;
  color: #111827;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: #6b7280;
}

@media (max-width: 1200px) {
  .section-title {
    font-size: 1.875rem;
  }
}

.positions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 1200px) {
  .positions-grid {
    grid-template-columns: 1fr;
  }
}

.position-card {
  display: block;
  text-decoration: none;
}

.position-card-inner {
  display: flex;
  background-color: #ffffff;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  padding: 1.5rem;
  transition: all 0.2s;
}

.position-card:hover .position-card-inner {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-4px);
}

.position-card:hover .position-icon-wrap {
  background-color: #1C63E9;
}

.position-card:hover .position-icon {
  color: #ffffff;
}

.position-card:hover .position-name {
  color: #1C63E9;
}

.position-card-inner > div {
  display: flex;
  align-items: center;
}

.position-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  transition: all 0.2s;
}

.position-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #5f6368;
  transition: color 0.2s;
}

.position-info {
  flex: 1;
}

.position-name {
  font-weight: 500;
  color: #111827;
  font-size: 1rem;
  transition: color 0.2s;
}

.position-count {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

/* ========================================
   Hoteljob Market Banner
   ======================================== */
.market-banner {
  margin-top: 4rem;
  background-color: #f0f4f9;
  border-radius: 1rem;
  overflow: hidden;
}

.market-banner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

@media (max-width: 1200px) {
  .market-banner-grid {
    grid-template-columns: 1fr;
  }
}

.market-banner-image {
  height: 20rem;
  overflow: hidden;
}

@media (max-width: 1200px) {
  .market-banner-image {
    height: 16rem;
  }
}

.market-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-banner-content {
  padding: 3rem;
}

@media (max-width: 1200px) {
  .market-banner-content {
    padding: 2rem;
  }
}

.market-banner-title {
  font-family: Red Hat Display;
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
  letter-spacing: -0.2;
}

@media (max-width: 1200px) {
  .market-banner-title {
    font-size: 1.5rem;
  }
}

.market-banner-desc {
  color: #4b5563;
  margin-bottom: 1.5rem;
}

.market-banner-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  background-color: #ffffff;
  color: #1C63E9;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.market-banner-btn:hover {
  background-color: #f9fafb;
}

/* ========================================
   CTA Banners Section
   ======================================== */
.cta-banners-section {
  padding: 3rem 0;
  background-color: #ffffff;
}

.banners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1200px) {
  .banners-grid {
    grid-template-columns: 1fr;
  }
}

.cta-banner {
  border-radius: 1rem;
  padding: 2rem;
  color: #ffffff;
}

.cta-banner-blue {
  background-color: #1C63E9;
}

.cta-banner-dark {
  background-color: #2D3748;
}

.cta-banner-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.cta-banner-desc {
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.cta-banner-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.cta-banner-btn-outline {
  border: 1px solid #ffffff;
  color: #ffffff;
  background-color: transparent;
}

.cta-banner-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ========================================
   FAQ Section (minimal container styles)
   Note: FAQ accordion styles should come from faq.css
   ======================================== */
.faq-section {
  padding: 4rem 0;
  background-color: #ffffff;
}

.faq-section .section-header {
  margin-bottom: 2rem;
}

.faq-list {
  max-width: 100%;
  margin: 0 auto;
}

/* Basic FAQ item styles - override with faq.css */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  color: #111827;
  text-align: left;
}

.faq-trigger:hover {
  color: #1C63E9;
}

.faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #6b7280;
  transition: transform 0.2s;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  display: none;
  padding-bottom: 1.25rem;
  color: #4b5563;
}

.faq-item.open .faq-content {
  display: block;
  padding-left: 8px;
}

/* ========================================
   Footer (placeholder)
   ======================================== */
.footer {
  background-color: #f9fafb;
  border-top: 1px solid #e5e7eb;
  padding: 2rem 0;
}

