:root {
  --teal: #0e7490;
  --teal-dark: #0c4a6e;
  --teal-light: #ecfeff;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --slate: #0f172a;
  --slate-mid: #334155;
  --cream: #f8fafc;
  --border: #e2e8f0;
}

body {
  font-family: "Noto Sans Thai", system-ui, sans-serif;
  color: var(--slate);
  background: var(--cream);
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-teal { color: var(--teal); }
.text-amber { color: var(--amber-dark); }
.bg-teal { background-color: var(--teal); }
.bg-slate { background-color: var(--slate); }

.announce-bar {
  background: var(--slate);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  border-bottom: 2px solid var(--amber);
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.site-header .navbar-brand img {
  height: 36px;
}

.site-header .nav-link {
  color: var(--slate-mid);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0;
  position: relative;
}

.site-header .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--teal);
}

.site-header .nav-link.active::after,
.site-header .nav-link:hover::after {
  transform: scaleX(1);
}

.btn-cta {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  border: none;
  color: var(--slate);
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.btn-cta:hover {
  background: linear-gradient(135deg, var(--amber-dark) 0%, #b45309 100%);
  color: var(--slate);
  transform: translateY(-1px);
}

.btn-outline-teal {
  border: 2px solid var(--teal);
  color: var(--teal);
  font-weight: 600;
  border-radius: 6px;
}

.btn-outline-teal:hover {
  background: var(--teal);
  color: #fff;
}

.hero-editorial {
  background: var(--slate);
  color: #fff;
  overflow: hidden;
}

.hero-editorial .hero-bg {
  position: absolute;
  inset: 0;
  background: url("../images/editorial-hero.jpg") center/cover no-repeat;
  opacity: 0.35;
}

.hero-editorial .hero-content {
  position: relative;
  z-index: 1;
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--amber);
  color: #fcd34d;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.stat-ribbon {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

.stat-ribbon .stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}

.stat-ribbon .stat-label {
  font-size: 0.8rem;
  color: var(--slate-mid);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.link-panel {
  background: #fff;
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.link-panel a {
  color: var(--teal-dark);
  text-decoration: none;
  font-weight: 500;
}

.link-panel a:hover {
  color: var(--amber-dark);
}

.link-row {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.15s ease;
}

.link-row:last-child {
  border-bottom: none;
}

.link-row:hover {
  background: var(--teal-light);
}

.feature-strip {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  height: 100%;
  transition: border-color 0.2s ease;
}

.feature-strip:hover {
  border-color: var(--teal);
}

.feature-strip .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 1.5rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--teal);
}

.review-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.review-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.pros-cons dt {
  font-weight: 600;
  font-size: 0.9rem;
}

.pros-cons dd {
  font-size: 0.85rem;
  color: var(--slate-mid);
}

.sidebar-widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
}

.sidebar-widget.dark {
  background: var(--slate);
  color: #fff;
  border: none;
}

.page-hero-inner {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  color: #fff;
  padding: 2.5rem 0;
}

.breadcrumb-custom {
  font-size: 0.85rem;
}

.breadcrumb-custom a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

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

.faq-teal .accordion-button {
  font-weight: 600;
  color: var(--slate);
}

.faq-teal .accordion-button:not(.collapsed) {
  background: var(--teal-light);
  color: var(--teal-dark);
  box-shadow: none;
}

.faq-teal .accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(14, 116, 144, 0.2);
}

.table-teal thead {
  background: var(--teal-dark);
  color: #fff;
}

.cta-band {
  background: linear-gradient(90deg, var(--teal-dark), var(--teal));
  color: #fff;
}

.site-footer {
  background: var(--slate);
  color: rgba(255, 255, 255, 0.8);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--amber);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
}

.tag-chip {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: var(--teal-light);
  color: var(--teal-dark);
  margin: 0.15rem;
}

@media (max-width: 767.98px) {
  .stat-ribbon .stat-value {
    font-size: 1.4rem;
  }
}