/* Base CSS - Common styles for all pages */
:root {
  --green: #8da731;
  --green-dark: #6d7a25;
  --black: #111111;
  --gray: #f5f5f5;
  --border-soft: #e5e5e5;
  --radius-xl: 24px;
  --transition: 0.25s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Kanit", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

body {
  font-family: "Kanit", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #ffffff;
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}

/* SEO-friendly heading structure */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: inherit;
}

/* Layout */
main {
  max-width: 1200px !important;
  margin: 0 auto;
  padding: 24px 20px 40px;
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

section {
  margin-bottom: 40px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Common Section Styles */
.section-inner {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #999;
  margin-bottom: 4px;
}

.section-title {
  font-size: 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.section-title span.bar {
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
}

/* Common Button Styles */
.btn-primary {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.22);
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(22, 163, 74, 0.26);
}

.btn-ghost {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  font-size: 12px;
  color: #444;
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-ghost:hover {
  background: var(--gray);
}

/* Tabs */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tab {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  font-size: 11px;
  cursor: pointer;
  color: #555;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.tab.active,
.tab:hover {
  background: var(--green);
  color: #fff;
  border-color: transparent;
}

/* Tags */
.tag {
  font-size: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--gray);
  color: #222;
}
