/*
Theme Name: TranslationFind
Theme URI: https://www.translationfind.com/
Author: TranslationFind
Author URI: https://www.translationfind.com/
Description: Custom WordPress theme for TranslationFind - academic translation services
Version: 1.0.0
License: Private
Text Domain: translationfind
Tags: translation, academic, thai, custom
*/

/* ══════════════════════════════════════
   CSS VARIABLES — ตรงกับ design หลัก
══════════════════════════════════════ */
:root {
  --primary: #0A2540;
  --accent: #0070F3;
  --accent2: #00C896;
  --accent3: #FFD166;
  --white: #fff;
  --off-white: #F7F9FC;
  --text-dark: #0A2540;
  --text-mid: #3D5A80;
  --text-light: #6B7C93;
  --border: #E2EAF4;
  --shadow: 0 8px 40px rgba(10,37,64,0.10);
  --shadow-sm: 0 2px 16px rgba(10,37,64,0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1140px;
  --content-width: 780px;
}

/* ══════════════════════════════════════
   RESET & BASE
══════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Sarabun', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; padding: 0; }

/* ══════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Prompt', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}
h1 { font-size: clamp(26px, 4vw, 42px); }
h2 { font-size: clamp(22px, 3.5vw, 34px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }
h4 { font-size: 19px; }
p { margin-bottom: 1.1em; color: var(--text-mid); }
p:last-child { margin-bottom: 0; }

/* ══════════════════════════════════════
   LAYOUT CONTAINERS
══════════════════════════════════════ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.site-header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 20px rgba(10,37,64,0.2);
}
.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 60px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
}
.navbar-logo-icon { font-size: 24px; flex-shrink: 0; }
.navbar-logo-text {
  font-family: 'Prompt', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: white;
  line-height: 1.15;
}
.navbar-logo-sub { font-size: 10px; color: rgba(255,255,255,0.55); }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.navbar-links li a {
  color: rgba(255,255,255,0.82);
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 8px;
  transition: all 0.18s;
  white-space: nowrap;
  display: block;
}
.navbar-links li a:hover { color: white; background: rgba(255,255,255,0.08); }
.navbar-links li a.current-menu-item,
.navbar-links li a.current_page_item { color: #00C896; }
.navbar-links li.nav-cta a {
  background: var(--accent);
  color: white;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 8px;
}
.navbar-links li.nav-cta a:hover { background: #005dd4; }

/* Dropdown */
.navbar-links li.has-dropdown { position: relative; }
.navbar-links li.has-dropdown > a::after { content: ' ▾'; font-size: 10px; opacity: 0.7; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: white;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 8px 32px rgba(10,37,64,0.15);
  min-width: 220px;
  z-index: 300;
}
.nav-dropdown a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 14px !important;
  border-radius: 8px;
  color: var(--text-dark) !important;
  font-size: 14px;
  white-space: nowrap;
}
.nav-dropdown a:hover { background: var(--off-white); color: var(--accent) !important; }
.navbar-links li.has-dropdown:hover .nav-dropdown { display: block; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger span {
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  display: block;
  transition: all 0.25s;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--primary);
  padding: 8px 12px 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  color: rgba(255,255,255,0.88);
  font-size: 15px;
  -webkit-tap-highlight-color: transparent;
}
.nav-mobile a:hover, .nav-mobile a:active {
  background: rgba(255,255,255,0.08);
  color: white;
}

/* ══════════════════════════════════════
   PAGE HERO (สำหรับหน้า About, Contact ฯลฯ)
══════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, #051324 0%, #0A2540 40%, #0d3a6e 70%, #051E3A 100%);
  color: white;
  padding: 60px 20px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 15% 40%, rgba(0,200,150,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 55% 50% at 85% 25%, rgba(0,112,243,0.14) 0%, transparent 55%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.page-hero-label {
  display: inline-block;
  background: rgba(0,200,150,0.14);
  color: #4FFFCE;
  border: 1px solid rgba(0,200,150,0.38);
  border-radius: 50px;
  padding: 5px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.page-hero h1 {
  font-family: 'Prompt', sans-serif;
  font-size: clamp(26px, 4.5vw, 46px);
  font-weight: 800;
  color: white;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  margin-bottom: 14px;
}
.page-hero p {
  font-size: clamp(14px, 2vw, 18px);
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Breadcrumb */
.breadcrumb-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 10px 20px;
}
.breadcrumb-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
}
.breadcrumb-inner a { color: var(--accent); }
.breadcrumb-inner a:hover { color: #005dd4; }
.breadcrumb-sep { color: var(--border); }

/* ══════════════════════════════════════
   MAIN CONTENT LAYOUT
══════════════════════════════════════ */
.site-main { padding: 64px 20px; }
.content-area {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ══════════════════════════════════════
   BLOG — ARCHIVE / CATEGORY PAGE
══════════════════════════════════════ */
.archive-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .archive-layout { grid-template-columns: 1fr; }
}

/* Archive Header */
.archive-header {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--border);
}
.archive-header .category-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,112,243,0.07);
  color: var(--accent);
  border: 1px solid rgba(0,112,243,0.18);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.archive-header h1 {
  font-family: 'Prompt', sans-serif;
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.archive-header p {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 560px;
}

/* Post Card Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 640px) {
  .posts-grid { grid-template-columns: 1fr; }
}

/* Post Card */
.post-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.post-card-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--off-white);
}
.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.post-card:hover .post-card-thumb img { transform: scale(1.04); }
.post-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #EEF6FF, #F0FFF9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}
.post-card-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent2);
  color: white;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.post-card-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
/* post-card-meta and article-meta removed — dates/author hidden */

.post-card-title {
  font-family: 'Prompt', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 10px;
  flex: 1;
}
.post-card-title a { color: inherit; }
.post-card-title a:hover { color: var(--accent); }
.post-card-excerpt {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  transition: gap 0.15s;
  margin-top: auto;
}
.post-card-readmore:hover { gap: 9px; }

/* Featured Post (first post — full width) */
.post-card.featured {
  grid-column: 1 / -1;
  flex-direction: row;
}
.post-card.featured .post-card-thumb {
  width: 44%;
  flex-shrink: 0;
  aspect-ratio: unset;
  min-height: 240px;
}
.post-card.featured .post-card-title { font-size: 20px; }
.post-card.featured .post-card-excerpt { -webkit-line-clamp: 4; }
@media (max-width: 640px) {
  .post-card.featured { flex-direction: column; }
  .post-card.featured .post-card-thumb { width: 100%; min-height: 180px; aspect-ratio: 16/9; }
}

/* Pagination */
.pagination-wrap {
  margin-top: 44px;
  display: flex;
  justify-content: center;
}
.pagination {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  border: 1.5px solid var(--border);
  transition: all 0.18s;
}
.pagination .page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.pagination .page-numbers.current {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.pagination .page-numbers.prev,
.pagination .page-numbers.next { width: auto; padding: 0 14px; font-size: 13px; }

/* ══════════════════════════════════════
   BLOG — SINGLE POST
══════════════════════════════════════ */
.single-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 52px;
  align-items: start;
}
@media (max-width: 960px) {
  .single-layout { grid-template-columns: 1fr; }
}

/* Article Header */
.article-header { margin-bottom: 36px; }
.article-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.article-cats a {
  display: inline-block;
  background: rgba(0,112,243,0.07);
  color: var(--accent);
  border: 1px solid rgba(0,112,243,0.18);
  border-radius: 50px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background 0.15s;
}
.article-cats a:hover { background: rgba(0,112,243,0.14); }
.article-header h1 {
  font-family: 'Prompt', sans-serif;
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 18px;
}
/* article-meta removed — dates/author hidden */


/* Featured Image */
.article-featured-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}
.article-featured-img img { width: 100%; }

/* Article Content Typography */
.article-content {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-mid);
}
.article-content h2 {
  font-family: 'Prompt', sans-serif;
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 800;
  color: var(--text-dark);
  margin: 2.2em 0 0.7em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.article-content h3 {
  font-family: 'Prompt', sans-serif;
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 700;
  color: var(--text-dark);
  margin: 1.8em 0 0.6em;
}
.article-content h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 1.5em 0 0.5em;
}
.article-content p { margin-bottom: 1.35em; }
.article-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.article-content a:hover { color: #005dd4; }
.article-content ul, .article-content ol {
  list-style: revert;
  padding-left: 24px;
  margin-bottom: 1.35em;
}
.article-content li { margin-bottom: 0.5em; }
.article-content strong { color: var(--text-dark); }
.article-content em { font-style: italic; }
.article-content blockquote {
  border-left: 4px solid var(--accent2);
  background: var(--off-white);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.8em 0;
  font-style: italic;
  font-size: 16.5px;
}
.article-content blockquote p { color: var(--text-mid); margin-bottom: 0; }
.article-content img {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  margin: 1.5em auto;
}
.article-content code {
  background: rgba(0,112,243,0.07);
  color: var(--accent);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 15px;
  font-family: 'Courier New', monospace;
}
.article-content pre {
  background: var(--primary);
  color: #e2e8f0;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin: 1.5em 0;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 15px;
}
.article-content th, .article-content td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
}
.article-content th {
  background: var(--off-white);
  font-weight: 700;
  color: var(--text-dark);
}

/* Article Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.article-tags .tag-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-light);
  margin-right: 4px;
}
.article-tags a {
  display: inline-block;
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--text-mid);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.18s;
}
.article-tags a:hover { background: var(--accent); border-color: var(--accent); color: white; }

/* Author Box */
.author-box {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 44px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
@media (max-width: 480px) { .author-box { flex-direction: column; } }
.author-box img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent2);
  flex-shrink: 0;
}
.author-box-name {
  font-family: 'Prompt', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-dark);
}
.author-box-role { font-size: 13px; color: var(--text-light); margin-bottom: 10px; }
.author-box-bio { font-size: 14.5px; color: var(--text-mid); line-height: 1.7; }

/* Related Posts */
.related-posts { margin-top: 52px; }
.related-posts h3 {
  font-family: 'Prompt', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
  color: var(--text-dark);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 680px) { .related-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════
   SIDEBAR
══════════════════════════════════════ */
.sidebar { position: sticky; top: 80px; }
.sidebar-widget {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  margin-bottom: 24px;
}
.sidebar-widget-title {
  font-family: 'Prompt', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* CTA Widget */
.sidebar-cta {
  background: linear-gradient(135deg, #0A2540, #0d3a6e);
  border: none;
  text-align: center;
}
.sidebar-cta .sidebar-widget-title { color: #4FFFCE; border-color: rgba(255,255,255,0.12); }
.sidebar-cta p { color: rgba(255,255,255,0.8); font-size: 14px; margin-bottom: 16px; }
.sidebar-cta .btn-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent2);
  color: white;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 20px;
  border-radius: 10px;
  transition: background 0.2s, transform 0.2s;
  margin-bottom: 10px;
}
.sidebar-cta .btn-line:hover { background: #00a97e; transform: translateY(-2px); }
.sidebar-cta .btn-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-weight: 600;
  font-size: 13.5px;
  padding: 10px 20px;
  border-radius: 10px;
  transition: background 0.2s;
}
.sidebar-cta .btn-email:hover { background: rgba(255,255,255,0.18); }

/* Recent Posts Widget */
.sidebar-posts-list { display: flex; flex-direction: column; gap: 16px; }
.sidebar-post-item { display: flex; gap: 12px; align-items: flex-start; }
.sidebar-post-item img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.sidebar-post-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.45;
  margin-bottom: 4px;
}
.sidebar-post-title a { color: inherit; }
.sidebar-post-title a:hover { color: var(--accent); }
/* sidebar-post-date removed */

/* Categories Widget */
.sidebar-cats-list { display: flex; flex-direction: column; gap: 8px; }
.sidebar-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-mid);
  transition: background 0.15s;
}
.sidebar-cat-item:hover { background: var(--off-white); color: var(--accent); }
.sidebar-cat-item .cat-count {
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--text-light);
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
}

/* Services Widget */
.sidebar-services-list { display: flex; flex-direction: column; gap: 8px; }
.sidebar-service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.18s;
}
.sidebar-service-item:hover { border-color: var(--accent); color: var(--accent); transform: translateX(3px); }

/* ══════════════════════════════════════
   PAGE CONTENT (About, Contact)
══════════════════════════════════════ */
.page-layout {
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-content {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-mid);
}
.page-content h2 {
  font-family: 'Prompt', sans-serif;
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 800;
  color: var(--text-dark);
  margin: 2em 0 0.7em;
}
.page-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 1.6em 0 0.6em;
}
.page-content p { margin-bottom: 1.25em; }
.page-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.page-content ul, .page-content ol { list-style: revert; padding-left: 24px; margin-bottom: 1.25em; }
.page-content li { margin-bottom: 0.5em; }

/* About section cards */
.about-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
@media (max-width: 760px) { .about-team-grid { grid-template-columns: 1fr; max-width: 320px; } }
.team-card {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.25s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.team-card img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 3px solid var(--accent2); }
.team-card-name { font-family: 'Prompt', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.team-card-title { font-size: 12.5px; color: var(--text-light); margin-bottom: 10px; }
.team-card-stars { color: #F5A623; font-size: 14px; letter-spacing: 2px; margin-bottom: 10px; }
.team-card-badge { display: inline-block; background: linear-gradient(135deg, var(--accent2), #00a97e); color: white; font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 50px; }

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  margin-top: 44px;
  align-items: start;
}
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 14px;
  transition: border-color 0.2s;
}
.contact-info-item:hover { border-color: var(--accent2); }
.contact-info-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.contact-info-label { font-size: 12px; font-weight: 700; color: var(--text-light); letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 4px; }
.contact-info-value { font-size: 15px; font-weight: 600; color: var(--text-dark); }
.contact-info-value a { color: var(--accent); }

/* WP Default Form Styling */
.wpcf7-form, .contact-form-wrap { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 13.5px; font-weight: 700; color: var(--text-dark); }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea,
.wpcf7-text, .wpcf7-email, .wpcf7-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Sarabun', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-row input:focus, .form-row textarea:focus,
.wpcf7-text:focus, .wpcf7-email:focus, .wpcf7-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,112,243,0.1);
}
.form-row textarea, .wpcf7-textarea { min-height: 120px; resize: vertical; }
.btn-submit, .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  font-family: 'Prompt', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  width: 100%;
}
.btn-submit:hover, .wpcf7-submit:hover { background: #005dd4; transform: translateY(-1px); }

/* ══════════════════════════════════════
   SECTION HELPERS (ใช้ทั่วไป)
══════════════════════════════════════ */
.section-label {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0,112,243,0.07);
  border: 1px solid rgba(0,112,243,0.18);
  border-radius: 50px;
  padding: 4px 14px;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Prompt', sans-serif;
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.28;
  margin-bottom: 14px;
}
.section-desc {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 620px;
  margin: 0 auto 44px;
  line-height: 1.75;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: #060F1A;
  color: rgba(255,255,255,0.6);
  padding: 52px 20px 28px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; gap: 22px; } }
.footer-brand-name { font-family: 'Prompt', sans-serif; font-size: 19px; font-weight: 700; color: white; margin-bottom: 10px; }
.footer-brand-desc { font-size: 13.5px; line-height: 1.75; color: rgba(255,255,255,0.47); margin-bottom: 18px; }
.footer-contacts { display: flex; flex-direction: column; gap: 8px; }
.footer-contacts a { font-size: 13.5px; color: rgba(255,255,255,0.56); display: flex; align-items: center; gap: 7px; transition: color 0.15s; }
.footer-contacts a:hover { color: var(--accent2); }
.footer-col-title { font-family: 'Prompt', sans-serif; font-size: 12px; font-weight: 700; color: white; letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links li a { font-size: 13.5px; color: rgba(255,255,255,0.5); transition: color 0.15s; }
.footer-links li a:hover { color: var(--accent2); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,0.3); }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { font-size: 12.5px; color: rgba(255,255,255,0.3); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ══════════════════════════════════════
   SCROLL REVEAL ANIMATION
══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════
   404 PAGE
══════════════════════════════════════ */
.error-404-wrap {
  text-align: center;
  padding: 80px 20px;
  max-width: 560px;
  margin: 0 auto;
}
.error-404-code { font-family: 'Prompt', sans-serif; font-size: 120px; font-weight: 800; color: var(--border); line-height: 1; margin-bottom: 20px; }
.error-404-wrap h1 { font-size: 28px; margin-bottom: 14px; }
.error-404-wrap p { color: var(--text-mid); margin-bottom: 28px; }

/* ══════════════════════════════════════
   RESPONSIVE UTILS
══════════════════════════════════════ */
@media (max-width: 900px) {
  .navbar-links { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 600px) {
  .site-main { padding: 48px 16px; }
}

/* WP Core Classes */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 20px auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--text-light); text-align: center; margin-top: 6px; }
.screen-reader-text { position: absolute; left: -9999px; }
