/* Transportation Pages - Merged Styles (Portal + Line Pages + Station Detail) */
@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@200;300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Anuphan', sans-serif;
  background-color: #fff;
  color: #111827;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   Container & Section Base
   ======================================== */
.header{
  padding: 0 5%;
}
.container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-pad {
  padding-left: 5%;
  padding-right: 5%;
}

/* ========================================
   Breadcrumb
   ======================================== */

/* .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 32px;
}

.breadcrumb a {
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #111827;
}

.breadcrumb-current {
  color: #111827;
} */

/* ========================================
   PORTAL - Hero with Image
   ======================================== */

.portal-hero {
  position: relative;
  height: 520px;
  overflow: hidden;
}

.portal-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2));
}

.portal-hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 64px;
}

.portal-hero .breadcrumb {
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}

.portal-hero .breadcrumb a:hover {
  color: #fff;
}

.portal-hero .breadcrumb-current {
  color: #fff;
}

.portal-hero h1 {
  font-size: 60px;
  font-weight: 300;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.portal-hero h1 span {
  font-weight: 400;
}

.portal-hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
}

/* ========================================
   PORTAL - Quick Stats
   ======================================== */

.stats-bar {
  border-bottom: 1px solid #e5e7eb;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-grid > * + * {
  border-left: 1px solid #f3f4f6;
}

.stat-item {
  padding: 32px;
  text-align: center;
}

.stat-value {
  font-size: 30px;
  font-weight: 300;
  color: #111827;
}

.stat-label {
  font-size: 14px;
  color: #6b7280;
  margin-top: 4px;
}

/* ========================================
   PORTAL - Transport Cards
   ======================================== */

.transport-section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section-header h2 {
  font-size: 30px;
  font-weight: 300;
  color: #111827;
  margin-bottom: 12px;
}

.section-header p {
  color: #6b7280;
  margin-bottom: 40px;
  max-width: 480px;
}

.transport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.transport-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #f9fafb;
  transition: box-shadow 0.3s;
}

.transport-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
}

.transport-card-img {
  position: relative;
  height: 176px;
  overflow: hidden;
}

.transport-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.transport-card:hover .transport-card-img img {
  transform: scale(1.05);
}

.transport-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.transport-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.transport-card-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.3);
}

.transport-card-tag {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  padding: 2px 8px;
  border-radius: 9999px;
}

.transport-card-jobs {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-size: 12px;
  font-weight: 500;
  color: #000;
  background: rgba(128, 128, 128, 0.4);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 9999px;
}

.transport-card-content {
  padding: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.transport-card-name {
  font-size: 18px;
  font-weight: 500;
  color: #111827;
  transition: color 0.2s;
}

.transport-card:hover .transport-card-name {
  color: #374151;
}

.transport-card-route {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 14px;
  color: #6b7280;
}

.transport-card-stations {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 8px;
}

.transport-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.transport-card:hover .transport-card-icon {
  transform: scale(1.1);
}

.transport-card-icon svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   PORTAL - Transit Map
   ======================================== */

.map-section {
  padding-top: 96px;
  padding-bottom: 36px;
  background: #f9fafb;
}

.map-section .section-header {
  text-align: center;
}

.map-section .section-header h2 {
  font-size: 30px;
}

.map-section .section-header p {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.map-frame {
  height: 350px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  margin-bottom: 16px;
  background-image: url(https://www.hoteljob.in.th/public/new2025/transportation/images/map-transport.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.map-frame img {
  width: 100%;
  height: auto;
  max-height: 350px;
  display: block;
}

.map-legend {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-label {
  font-size: 14px;
  color: #4b5563;
}

/* ========================================
   PORTAL - How It Works (Steps)
   ======================================== */

.steps-section {
  padding: 96px 0;
}

.steps-section h2 {
  font-size: 30px;
  font-weight: 300;
  color: #111827;
  margin-bottom: 40px;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-item {
  text-align: center;
}

.step-number {
  font-size: 48px;
  font-weight: 200;
  color: #e5e7eb;
  margin-bottom: 16px;
}

.step-title {
  font-size: 18px;
  font-weight: 500;
  color: #111827;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

/* ========================================
   LINE PAGES - Text Hero
   ======================================== */

.line-hero {
  padding-top: 76px;
  padding-bottom: 48px;
  border-bottom: 1px solid #e5e7eb;
}

.line-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.line-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.line-name-en {
  font-size: 14px;
  color: #6b7280;
}

.line-hero h1 {
  font-size: 48px;
  font-weight: 300;
  color: #111827;
  margin-bottom: 16px;
}

.line-hero-desc {
  font-size: 20px;
  color: #4b5563;
  /* max-width: 672px; */
}

.hero-stats {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #6b7280;
}

/* ========================================
   Stations / Piers / Routes Grid
   ======================================== */

.section {
  padding: 64px 0;
}

.section-gray {
  background-color: #f9fafb;
}

.section-title {
  font-size: 24px;
  font-weight: 300;
  color: #111827;
  margin-bottom: 32px;
}

.section-subtitle {
  font-size: 14px;
  color: #6b7280;
  margin-top: -24px;
  margin-bottom: 32px;
}

.stations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.station-card {
  display: block;
  padding: 16px;
  background-color: #f9fafb;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.station-card.on-gray {
  background-color: #fff;
}

.station-card:hover {
  background-color: #f3f4f6;
}

.station-code {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.station-name {
  font-weight: 500;
  color: #111827;
  transition: color 0.2s;
}

.station-name-sm {
  font-size: 14px;
}

.station-jobs {
  font-size: 14px;
  color: #6b7280;
  margin-top: 4px;
}

.station-label {
  padding-left: 6px;
  font-size: 11px;
  color: #707070;
}



/* ========================================
   Job Listings
   ======================================== */

.jobs-list {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.jobs-list.on-white {
  border: 1px solid #f3f4f6;
}

.jobs-list.on-gray {
  background-color: #f9fafb;
}

.job-item {
  display: block;
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.2s;
}

.job-item:last-child {
  border-bottom: none;
}

.job-item:hover {
  background-color: #f9fafb;
}

.jobs-list.on-gray .job-item:hover {
  background-color: #fff;
}

.job-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.job-info {
  flex: 1;
}

.job-title {
  font-size: 18px;
  font-weight: 500;
  color: #111827;
  transition: color 0.2s;
}

.job-hotel {
  font-size: 14px;
  color: #505050;
  margin-top: 4px;
}

.job-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.job-salary {
  color: #4b5563;
}

.job-type {
  color: #9ca3af;
}

.job-arrow {
  display: block;
  width: 16px;
  height: 16px;
  color: #d1d5db;
  transition: all 0.2s;
}

/* ========================================
   View All / CTA Link
   ======================================== */

.view-all {
  padding-top: 32px;
  padding-bottom: 32px;
  text-align: center;
}

.view-all a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  transition: all 0.2s;
}

.view-all a:hover {
  text-decoration: underline;
}

/* ========================================
   Other Lines Grid
   ======================================== */

.lines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.lines-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.line-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background-color: #f9fafb;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.line-card.on-gray {
  background-color: #fff;
}

.line-card:hover {
  background-color: #f3f4f6;
}

.line-card-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dotheight {
  width: 8px;
  height: 42px;
  border-radius: 8px;
  flex-shrink: 0;
}

.line-card-info {
  flex: 1;
}

.line-card-name {
  font-weight: 500;
  color: #111827;
}

.line-card-jobs {
  font-size: 14px;
  color: #6b7280;
}

.line-card-arrow {
  width: 16px;
  height: 16px;
  color: #d1d5db;
  transition: color 0.2s;
}

.line-card:hover .line-card-arrow {
  color: #6b7280;
}

/* ========================================
   SEO Content
   ======================================== */

.seo-section {
  padding-top: 64px;
  padding-bottom: 64px;
  border-top: 1px solid #e5e7eb;
}

.seo-content {
  max-width: 1400px;
}

.seo-content h2 {
  font-size: 20px;
  font-weight: 500;
  color: #111827;
  margin-bottom: 16px;
}

.seo-content p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 16px;
}

.seo-content p:last-child {
  margin-bottom: 0;
}

/* ========================================
   Back Link
   ======================================== */

.back-section {
  padding: 32px 0;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.back-link {
  font-size: 14px;
  color: #6b7280;
  transition: color 0.2s;
}

.back-link:hover {
  color: #111827;
}

/* ========================================
   STATION DETAIL - Badge
   ======================================== */

.station-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.station-code-badge {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
}

.station-name-en {
  font-size: 14px;
  color: #6b7280;
}

/* ========================================
   STATION DETAIL - Hotels Grid
   ======================================== */

.hotels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hotel-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background-color: #fff;
  border-radius: 8px;
  font-size: 15px;
  color: #374151;
}

.hotel-item-icon {
  color: #9ca3af;
  flex-shrink: 0;
}

/* ========================================
   STATION DETAIL - Info Grid
   ======================================== */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background-color: #f9fafb;
  border-radius: 12px;
}

.info-icon {
  color: #9ca3af;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-content h3 {
  font-size: 15px;
  font-weight: 500;
  color: #111827;
  margin-bottom: 4px;
}

.info-content p {
  font-size: 14px;
  color: #6b7280;
}

/* ========================================
   Hover Color Classes (by line)
   ======================================== */

.station-card:hover .hover-bts { color: #8BC34A; }
.station-card:hover .hover-mrt-blue { color: #1E88E5; }
.station-card:hover .hover-mrt-purple { color: #9C27B0; }
.station-card:hover .hover-mrt-yellow { color: #FFD700; }
.station-card:hover .hover-mrt-pink { color: #c00197; }
.station-card:hover .hover-bts-dark-green { color: #3a640a; }
.station-card:hover .hover-arl { color: #E53935; }
.station-card:hover .hover-yellow { color: #FFD700; }
.station-card:hover .hover-srt { color: #D32F2F; }
.station-card:hover .hover-srt-light { color: #FF8A80; }
.station-card:hover .hover-bus { color: #FF6F00; }
.station-card:hover .hover-boat-cp { color: #0288D1; }
.station-card:hover .hover-boat-ss { color: #00897B; }

.job-item:hover .hover-bts { color: #8BC34A; }
.job-item:hover .hover-mrt-blue { color: #1E88E5; }
.job-item:hover .hover-mrt-purple { color: #9C27B0; }
.job-item:hover .hover-arl { color: #E53935; }
.job-item:hover .hover-yellow { color: #FFD700; }
.job-item:hover .hover-srt { color: #D32F2F; }
.job-item:hover .hover-bus { color: #FF6F00; }
.job-item:hover .hover-boat-cp { color: #0288D1; }
.job-item:hover .hover-boat-ss { color: #00897B; }

.view-all .link-bts { color: #8BC34A; }
.view-all .link-mrt-blue { color: #1E88E5; }
.view-all .link-mrt-purple { color: #9C27B0; }
.view-all .link-arl { color: #E53935; }
.view-all .link-yellow { color: #FFD700; }
.view-all .link-srt { color: #D32F2F; }
.view-all .link-bus { color: #FF6F00; }
.view-all .link-boat-cp { color: #0288D1; }
.view-all .link-boat-ss { color: #00897B; }

/* ========================================
   Color utility classes
   ======================================== */

.bg-bts { background-color: rgba(139,195,74,0.1); color: #75a53e; }
.bg-bts-drak-green { background-color: rgba(95, 156, 26, 0.1); color: #3a640a; }
.bg-mrt-blue { background-color: rgba(30,136,229,0.1); color: #1E88E5; }
.bg-mrt-purple { background-color: rgba(156,39,176,0.1); color: #9C27B0; }
.bg-mrt-yellow { background-color: rgba(255,215,0,0.1); color: #d3b301; }
.bg-mrt-pink { background-color: rgba(236, 78, 215, 0.1); color: #c00197; }
.bg-arl { background-color: rgba(229,57,53,0.1); color: #E53935; }
.bg-yellow { background-color: rgba(255, 255, 255, 1); color: #ffcd00; }
.bg-srt { background-color: rgba(211,47,47,0.1); color: #D32F2F; }
.bg-srt-light { background-color: rgba(255,138,128,0.1); color: #FF8A80; }
.bg-bus { background-color: rgba(255,111,0,0.1); color: #FF6F00; }
.bg-boat-cp { background-color: rgba(2,136,209,0.1); color: #0288D1; }
.bg-boat-ss { background-color: rgba(0,137,123,0.1); color: #00897B; }

.dot-bts { background-color: #8BC34A; }
.dot-mrt-blue { background-color: #1E88E5; }
.dot-mrt-purple { background-color: #9C27B0; }
.dot-arl {  background: linear-gradient(to bottom, #ef1416 50%, #0075c0 50%);}
.dot-srt { background-color: #D32F2F; }
.dot-yellow { background-color: #fad53d; }
.dot-bus { background-color: #FF6F00; }
.dot-boat-cp { background-color: #0288D1; }
.dot-boat-ss { background-color: #00897B; }




/* ========================================
   SVG Arrow Icon
   ======================================== */

.arrow-svg {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

/* ========================================
   RESPONSIVE - Mobile (max-width: 1199px)
   ======================================== */

@media (max-width: 1199px) {
  /* Portal Hero */
  .portal-hero {
    height: 420px;
  }

  .portal-hero-content {
    padding-bottom: 48px;
  }

  .portal-hero h1 {
    font-size: 30px;
  }

  .portal-hero-desc {
    font-size: 16px;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    padding: 24px 16px;
  }

  .stat-value {
    font-size: 24px;
  }

  .stat-label {
    font-size: 12px;
  }

  /* Transport Section */
  .transport-section {
    padding-top: 64px;
    padding-bottom: 0;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .transport-grid {
    grid-template-columns: 1fr;
  }

  /* Map Section */
  .map-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .map-section .section-header h2 {
    font-size: 24px;
  }

  .map-legend {
    gap: 16px;
  }

  /* Steps */
  .steps-section {
    padding: 64px 0;
  }

  .steps-section h2 {
    font-size: 24px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  /* Line Hero */
  .line-hero {
    padding-top: 32px;
    padding-bottom: 48px;
  }

  .line-hero h1 {
    font-size: 30px;
  }

  .line-hero-desc {
    font-size: 18px;
  }

  /* Sections */
  .section {
    padding-top: 48px;
    padding-bottom: 0;
  }

  .section-title {
    font-size: 20px;
  }

  /* Station Grid */
  .stations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Job Content */
  .job-content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .job-title {
    font-size: 16px;
  }

  .job-meta {
    gap: 16px;
  }

  .job-arrow {
    display: none;
  }

  /* Lines Grid */
  .lines-grid {
    grid-template-columns: 1fr;
  }

  .lines-grid.cols-4 {
    grid-template-columns: 1fr;
  }

  /* SEO */
  .seo-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  /* Hotels Grid */
  .hotels-grid {
    grid-template-columns: 1fr;
  }

  /* Info Grid */
  .info-grid {
    grid-template-columns: 1fr;
  }
}