* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Anuphan', sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
}

.container {
  max-width: 1400px;
  margin: 0 auto;

}

/* Header */
.header {
  background-color: #ffffff;
  top: 0;
  z-index: 100;
  padding-left: 5%;
  padding-right: 5%;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 5%;
  padding-right: 5%;
  display: flex;
  align-items:flex-start;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1C63E9;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: #4b5563;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #1C63E9;
}

.header-actions {
  display: flex;
  gap: 1rem;
}

.btn-outline {
  padding: 0.5rem 1.5rem;
  border: 1px solid #d1d5db;
  background-color: transparent;
  color: #303030;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-outline:hover {
  background-color: #f3f4f6;
}

.btn-primary {
  padding: 0.5rem 1.5rem;
  background-color: #1C63E9;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #1554c7;
}

/* Main Content */
.main-content {
  background-color: #ffffff;
  padding-left: 5%;
  padding-right: 5%;
}

/* Hero Section */
.hero-section {
  padding: 5rem 0 0 0;
}

.hero-content {
  text-align: center;
}

.hero-title {
  font-size: 3.75rem;
  font-weight: 500;
  color: #111827;
  letter-spacing: -0.025em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.search-box {
  max-width: 48rem;
  margin: 0 auto;
}

.search-input-wrapper {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  width: 28px;
  height: 28px;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 1.75rem 2rem 1.75rem 5rem;
  font-family: 'Anuphan', sans-serif;
  font-size: 1.25rem;
  border: 2px solid #d1d5db;
  border-radius: 9999px;
  outline: none;
  transition: border-color 0.3s;
}

.search-input:hover {
  border-color: #9ca3af;
}

.search-input:focus {
  border-color: #d1d5db;
}

.popular-keywords {
  margin-top: 1.5rem;
}

.popular-label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.keyword-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.keyword-tag {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  background-color: #f3f4f6;
  color: #303030;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: 'Anuphan', sans-serif;
}

.keyword-tag:hover {
  background-color: #e5e7eb;
}

/* Advertisement Banner */
.ad-banner-section {
  background-color: #ffffff;
  padding: 2rem 0;
}

.ad-placeholder {
  width: 100%;
  height: 8rem;
  background-color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #d1d5db;
}

.ad-placeholder p {
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Job Section */
.job-section {
  padding: 5rem 0;
}

/* Filter Bar */
.filter-bar {
  padding: 1rem 0;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 1.5rem;
}

.filter-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.sort-select {
  width: 8rem;
  height: 2.25rem;
  padding: 0 1rem;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  font-size: 0.875rem;
  background-color: #ffffff;
  font-family: 'Anuphan', sans-serif;
  cursor: pointer;
}

.filter-btn {
  height: 2.25rem;
  padding: 0 1rem;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  background-color: #ffffff;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: 'Anuphan', sans-serif;
  transition: all 0.3s;
}

.filter-btn:hover {
  background-color: #f9fafb;
}

.results-count p {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Job List */
.job-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Job Card */
.job-card {
  display: block;
  padding: 1rem;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}

.job-card-premium {
  border-left: 4px solid #fcdb87;
}

.job-card-desktop {
  display: none;
}

.job-card-mobile {
  display: block;
}

/* Desktop Layout */
.job-card-content-desktop {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.job-card-logo-section {
  flex-shrink: 0;
  width: 12rem;
}

.job-card-logo-wrapper {
  width: 8rem;
  height: 8rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  padding: 1rem;
}

.job-card-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.job-card-company-name {
  text-align: center;
  margin-top: 1rem;
  font-size: 1rem;
  color: #111827;
  font-weight: 600;
  line-height: 1.25;
  word-break: break-word;
}

.job-card-separator {
  width: 1px;
  background-color: #e5e7eb;
  align-self: stretch;
}

.job-card-details {
  flex: 1;
  min-width: 0;
}

.job-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.job-card-title-wrapper {
  flex: 1;
}

.job-card-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  color: #303030;
}

.job-card-title.premium {
 
  font-size: 22px;
  font-weight: 600;
}

.job-card-badge {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background-color: #F4C95D;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
}

.job-card-badge svg {
  width: 1rem;
  height: 1rem;
  stroke: #ffffff;
}

.job-card-posted {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #6b7280;
  margin-left: 1rem;
}

.job-card-posted svg {
  width: 1rem;
  height: 1rem;
  color: #9ca3af;
}

.job-card-posted span {
  font-size: 0.875rem;
}

.job-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.job-card-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #303030;
}

.job-card-info-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #9ca3af;
  flex-shrink: 0;
}

.job-card-info-item span {
  font-size: 1rem;
  font-weight: 500;
}

.job-card-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.job-badge {
  display: flex;
  padding: 0.125rem 0.5rem;
  font-size: 16px;
  border-radius: 0.25rem;

}

.job-badge.indigo {
  background-color: #ffffff;
  color: #222222;

}
.job-badge.blue {
  background-color: #ffffff;
  color: #158bd4;
  
}
.job-badge.violet {
  background-color: #ffffff;
  color: #f05cf0;
}
.job-badge.green {
  background-color: #ffffff;
  color: #0a8e01;
}




.job-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e7eb;
  margin-top: 0.25rem;
}

.job-card-transport {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  color: #6b7280;
  flex: 1;
  margin-right: 1rem;
}

.job-transport-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.job-transport-item img {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
}

.job-transport-item svg {
  width: 1.25rem;
  height: 1.25rem;
}

.job-transport-item span {
  font-size: 0.875rem;
  font-weight: 500;
}

.job-apply-btn {
  padding: 0.5rem 2.5rem;
  background-color: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Anuphan', sans-serif;
  transition: background-color 0.3s;
}

.job-apply-btn.premium {
  background-color: #F4C95D;
  color: #000000;
}

/* Mobile Layout */
.job-card-content-mobile {
  display: flex;
  flex-direction: column;
}

.job-card-mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.job-card-logo-mobile {
  width: 6rem;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  /* padding: 0.5rem; */
}

.job-card-logo-mobile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.job-card-title-mobile {
  margin-bottom: 0.5rem;
  font-size: 20px;
  font-weight: 400;
}

.job-card-title-mobile.premium {
    font-size: 20px;
    font-weight: 600;
}

.job-card-title-mobile h3 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.25;
  color: #2563eb;
}

.job-card-title-mobile h3.premium {
  color: #000000;
  text-decoration: underline;
}

.job-card-company-mobile {
  font-size: 1rem;
  color: #303030;
  margin-bottom: 1.25rem;
}

/* Load More */
.load-more {
  text-align: center;
  margin-top: 4rem;
}

.btn-outline-load {
  padding: 0.5rem 2rem;
  border: 1px solid #d1d5db;
  background-color: transparent;
  color: #303030;
  border-radius: 9999px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Anuphan', sans-serif;
  transition: all 0.3s;
}

.btn-outline-load:hover {
  background-color: #f9fafb;
}

/* Below Content */
.below-content {
  width: 100%;
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.action-card {
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s;
}

.action-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.action-card svg {
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.action-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
  margin-bottom: 0.25rem;
}

.action-card:hover .action-title {
  color: #2563eb;
}

.action-subtitle {
  font-size: 0.75rem;
  color: #6b7280;
}

.action-card-highlight {
  border-color: #bfdbfe;
  background-color: #eff6ff;
}

.action-card-highlight:hover {
  background-color: #dbeafe;
}

.action-card-highlight svg {
  color: #2563eb;
}

.action-card-highlight .action-title {
  color: #1e3a8a;
}

.action-card-highlight .action-subtitle {
  color: #1e40af;
}

/* Featured Section */
.featured-section {
  margin-top: 1rem;
}

.section-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: #111827;
  margin-bottom: 1rem;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

.article-card {
  display: block;
  background-color: #ffffff;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #f3f4f6;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s;
}

.article-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.article-image {
  aspect-ratio: 16/9;
  background-color: #f3f4f6;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-content {
  padding: 1.25rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.article-tag {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
}

.tag-blue {
  background-color: #dbeafe;
  color: #1e40af;
}

.tag-green {
  background-color: #d1fae5;
  color: #065f46;
}

.tag-purple {
  background-color: #e9d5ff;
  color: #6b21a8;
}

.article-date {
  color: #6b7280;
  font-size: 0.75rem;
}

.article-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: #111827;
  margin-bottom: 0.5rem;
  line-height: 1.25;
  transition: color 0.3s;
}

.article-card:hover .article-title {
  color: #2563eb;
}

.article-excerpt {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Location Section */
.location-section {
  margin-top: 1rem;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.location-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s;
}

.location-link:hover {
  border-color: #d1d5db;
  background-color: #f9fafb;
}

.location-link span {
  color: #303030;
  transition: color 0.3s;
}

.location-link:hover span {
  color: #2563eb;
}

.location-link svg {
  width: 0.75rem;
  height: 0.75rem;
  color: #9ca3af;
}

/* Bottom Ad */
.bottom-ad {
  text-align: center;
  padding: 1rem 0;
}

.ad-placeholder-small {
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.ad-placeholder-small div:first-child {
  color: #9ca3af;
  font-size: 0.875rem;
}

.ad-size {
  color: #6b7280;
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

/* Footer */
.footer {
  background-color: #111827;
  color: #d1d5db;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 5%;
  padding-right: 5%;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-description {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.5;
}

.footer-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-link {
  display: block;
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-text {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #303030;
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Filter Modal */
.filter-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s;
}

.filter-modal.active {
  display: flex;
  align-items: flex-end;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.filter-modal-content {
  background-color: #ffffff;
  width: 100%;
  max-height: 80vh;
  border-radius: 1rem 1rem 0 0;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s;
  overflow: scroll;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.filter-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.filter-modal-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: #111827;
}

.filter-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
  margin-bottom: 0.75rem;
}

.filter-select {
  width: 100%;
  height: 3rem;
  padding: 0 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  background-color: #ffffff;
  font-family: 'Anuphan', sans-serif;
  cursor: pointer;
}

.filter-modal-actions {
  display: flex;
  gap: 0.75rem;
  padding: 1.5rem 1.5rem 90px 1.5rem;
  border-top: 1px solid #e5e7eb;
  background-color: #ffffff;
}

.btn-outline-filter {
  flex: 1;
  height: 3rem;
  border: 1px solid #d1d5db;
  background-color: transparent;
  color: #303030;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Anuphan', sans-serif;
  transition: all 0.3s;
}

.btn-outline-filter:hover {
  background-color: #f9fafb;
}

.btn-primary-filter {
  flex: 1;
  height: 3rem;
  background-color: #1C63E9;
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Anuphan', sans-serif;
  transition: background-color 0.3s;
}

.btn-primary-filter:hover {
  background-color: #1554c7;
}

/* Responsive - Tablet & Desktop (768px+) */
@media (min-width: 768px) {

  .quick-actions {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .article-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .location-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Responsive - Desktop (1200px+) */
@media (min-width: 1200px) {

  .job-card-desktop {
    display: block;
  }
  
  .job-card-mobile {
    display: none;
  }
  
  .hero-title {
    font-size: 3.75rem;
  }
}