.elementor-kit-9{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-9 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS *//* =========================================================
   RFA GLOBAL DESIGN SYSTEM
   Clean / Authority / SEO Friendly
   Version: 2.0
========================================================= */

:root {
  --rfa-primary: #0d5797;
  --rfa-primary-dark: #083b6b;
  --rfa-secondary: #078793;
  --rfa-accent: #ff6a00;

  --rfa-text: #27364a;
  --rfa-heading: #1f3c5b;
  --rfa-muted: #555;
  --rfa-soft: #5d6b7a;
  --rfa-light: #f5f9fc;
  --rfa-border: #e5eaf0;
  --rfa-white: #ffffff;

  --rfa-radius-sm: 6px;
  --rfa-radius: 12px;
  --rfa-radius-lg: 18px;

  --rfa-shadow-sm: 0 8px 24px rgba(13, 87, 151, 0.08);
  --rfa-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  --rfa-shadow-lg: 0 16px 36px rgba(13, 87, 151, 0.18);

  --rfa-container: 1180px;
  --rfa-content: 880px;
}

/* =========================
   GLOBAL BASE
========================= */

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--rfa-text);
  line-height: 1.7;
  font-size: 16px;
  background: #fff;
}

.container,
.rfa-container {
  max-width: var(--rfa-container);
  margin: 0 auto;
  padding: 0 20px;
}

.rfa-content,
.entry-content,
.single-post .entry-content {
  max-width: var(--rfa-content);
  margin-left: auto;
  margin-right: auto;
}

/* =========================
   TYPOGRAPHY
========================= */

h1,
h2,
h3,
h4,
h5,
h6,
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-weight: 700;
  color: var(--rfa-heading);
  line-height: 1.3;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: 0.2px;
}

h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin-top: 44px;
  color: var(--rfa-primary);
}

h3 {
  font-size: 22px;
  margin-top: 26px;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 16px;
  font-weight: 700;
}

h6 {
  font-size: 14px;
  color: #777;
}

p,
.entry-content p,
.elementor-widget-text-editor p {
  margin-bottom: 16px;
  color: var(--rfa-muted);
  line-height: 1.85;
}

.entry-content,
.elementor-widget-text-editor,
.elementor-text-editor {
  font-size: 16px;
  line-height: 1.85;
  color: var(--rfa-muted);
}

/* ใช้เส้นใต้เฉพาะ content area ไม่กระทบ heading ใน layout */
.entry-content h2,
.ft-content h2,
.sub-content h2,
.rfa-page-content h2 {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--rfa-border);
}

/* =========================
   LINKS
========================= */

body a {
  color: var(--rfa-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

body a:hover {
  color: var(--rfa-primary-dark);
  text-decoration: underline;
}

.entry-content a {
  font-weight: 700;
  border-bottom: 2px solid rgba(13, 87, 151, 0.25);
}

.entry-content a:hover {
  border-bottom-color: var(--rfa-primary);
  background: rgba(13, 87, 151, 0.05);
}

/* =========================
   BUTTONS
========================= */

.btn-main,
.btn-primary,
.ft-btn-primary {
  display: inline-block;
  background: var(--rfa-primary);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: var(--rfa-radius-sm);
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--rfa-primary);
  transition: all 0.25s ease;
}

.btn-main:hover,
.btn-primary:hover,
.ft-btn-primary:hover {
  background: var(--rfa-primary-dark);
  border-color: var(--rfa-primary-dark);
  color: #fff !important;
  transform: translateY(-2px);
}

.btn-outline,
.ft-btn-outline {
  display: inline-block;
  border: 2px solid var(--rfa-primary);
  color: var(--rfa-primary) !important;
  padding: 11px 22px;
  border-radius: var(--rfa-radius-sm);
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.25s ease;
}

.btn-outline:hover,
.ft-btn-outline:hover {
  background: var(--rfa-primary);
  color: #fff !important;
  transform: translateY(-2px);
}

.header-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* =========================
   GRID / CARD SYSTEM
========================= */

.grid-4,
.rfa-grid-4,
.ft-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.grid-3,
.rfa-grid-3,
.sub-card-grid,
.rfa-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-2,
.rfa-grid-2,
.ft-mini-grid,
.sub-link-grid,
.rfa-link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.section-card,
.rfa-card,
.sub-card,
.rfa-info-card {
  background: #fff;
  border: 1px solid var(--rfa-border);
  padding: 24px;
  border-radius: var(--rfa-radius);
  transition: all 0.3s ease;
}

.section-card:hover,
.rfa-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--rfa-shadow);
}

.img-cover,
.rfa-img-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* =========================
   MEDIA / IMAGE
========================= */

.entry-content img,
.elementor-widget-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.entry-content img {
  margin: 20px 0;
}

/* =========================
   LIST / BLOCKQUOTE / TABLE
========================= */

.entry-content ul,
.entry-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.entry-content li {
  margin-bottom: 8px;
}

.entry-content li::marker {
  color: var(--rfa-primary);
}

blockquote {
  border-left: 4px solid var(--rfa-primary);
  background: var(--rfa-light);
  padding: 16px 20px;
  border-radius: 8px;
  margin: 24px 0;
  font-style: italic;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

table th,
table td {
  border: 1px solid var(--rfa-border);
  padding: 12px;
  text-align: left;
}

table th {
  background: var(--rfa-primary);
  color: #fff;
}

/* =========================
   PILLAR PAGE STYLE
========================= */

.ft-pillar {
  max-width: var(--rfa-container);
  margin: 0 auto;
  padding: 40px 20px;
  color: var(--rfa-text);
}

.ft-hero {
  background: linear-gradient(135deg, var(--rfa-primary), var(--rfa-secondary));
  color: #fff;
  padding: 70px 40px;
  border-radius: var(--rfa-radius-lg);
  text-align: center;
  margin-bottom: 46px;
}

.ft-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ft-hero h1 {
  color: #fff;
  margin: 0 0 18px;
}

.ft-hero p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 820px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.8;
}

.ft-content {
  max-width: 860px;
  margin: 0 auto 42px;
}

.ft-content h2 {
  margin-top: 50px;
}

.ft-content p {
  font-size: 16px;
  line-height: 1.85;
}

/* =========================
   SUB PILLAR PAGE STYLE
========================= */

.sub-pillar {
  max-width: var(--rfa-container);
  margin: 0 auto;
  padding: 40px 20px;
  color: var(--rfa-text);
}

.sub-hero {
  background: linear-gradient(135deg, var(--rfa-primary), var(--rfa-secondary));
  color: #fff;
  padding: 68px 40px;
  border-radius: var(--rfa-radius-lg);
  margin-bottom: 44px;
}

.sub-hero span {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.sub-hero h1 {
  color: #fff;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  margin: 0 0 18px;
}

.sub-hero p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
}

.sub-content {
  max-width: var(--rfa-content);
  margin: 0 auto;
}

.sub-content h2 {
  color: var(--rfa-primary);
  font-size: 30px;
  margin: 38px 0 14px;
}

.sub-content h3 {
  color: #143f66;
  font-size: 22px;
  margin: 26px 0 10px;
}

.sub-content p,
.sub-content li {
  color: #4a5568;
  font-size: 16px;
  line-height: 1.8;
}

.sub-card {
  background: var(--rfa-light);
  border-color: #dfe8f1;
}

.sub-card h3 {
  margin-top: 0;
  color: var(--rfa-primary);
}

/* =========================
   BASIC STATIC PAGE TEMPLATE
========================= */

.rfa-page {
  max-width: var(--rfa-container);
  margin: 0 auto;
  padding: 44px 20px;
  color: var(--rfa-text);
}

.rfa-page-hero {
  background: linear-gradient(135deg, var(--rfa-primary), var(--rfa-secondary));
  color: #fff;
  padding: 58px 40px;
  border-radius: var(--rfa-radius-lg);
  margin-bottom: 42px;
}

.rfa-page-hero span {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.rfa-page-hero h1 {
  color: #fff;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  margin: 0 0 16px;
}

.rfa-page-hero p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
}

.rfa-page-content {
  max-width: var(--rfa-content);
  margin: 0 auto;
}

.rfa-page-content h2 {
  color: var(--rfa-primary);
  font-size: 30px;
  margin: 38px 0 14px;
}

.rfa-page-content h3 {
  color: #143f66;
  font-size: 22px;
  margin: 26px 0 10px;
}

.rfa-page-content p,
.rfa-page-content li {
  color: #4a5568;
  font-size: 16px;
  line-height: 1.85;
}

/* =========================
   INTERNAL LINK SECTIONS
========================= */

.ft-link-section {
  margin: 56px 0;
}

.ft-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
}

.ft-section-head span {
  color: var(--rfa-accent);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.8px;
}

.ft-section-head h2 {
  margin-top: 8px;
}

.ft-section-head p {
  color: var(--rfa-soft);
}

.ft-card {
  display: block;
  background: #fff;
  border: 1px solid var(--rfa-border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: var(--rfa-shadow-sm);
  transition: all 0.25s ease;
}

.ft-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--rfa-shadow-lg);
}

.ft-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.ft-card-body {
  padding: 20px;
}

.ft-card h3 {
  color: var(--rfa-primary);
  font-size: 20px;
  margin: 0 0 10px;
}

.ft-card p {
  color: #526173;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.ft-card span {
  color: var(--rfa-accent);
  font-weight: 800;
  font-size: 14px;
}

.ft-article-links,
.sub-links,
.rfa-page-links,
.internal-box {
  background: var(--rfa-light);
  border-radius: 16px;
}

.ft-article-links {
  padding: 36px;
  margin-top: 50px;
}

.sub-links,
.rfa-page-links {
  padding: 34px;
  margin: 50px 0;
}

.ft-article-links h2,
.sub-links h2,
.rfa-page-links h2 {
  margin-top: 0;
}

.ft-mini-grid a,
.sub-link-grid a,
.rfa-link-grid a {
  background: #fff;
  border: 1px solid #dfe8f1;
  color: var(--rfa-primary) !important;
  padding: 16px 18px;
  border-radius: 10px;
  text-decoration: none !important;
  font-weight: 800;
  transition: all 0.2s ease;
}

.ft-mini-grid a:hover,
.sub-link-grid a:hover,
.rfa-link-grid a:hover {
  background: var(--rfa-primary);
  color: #fff !important;
}

.internal-box {
  border-left: 4px solid var(--rfa-primary);
  padding: 18px 22px;
  margin: 24px 0;
}

.internal-box a {
  display: block;
  margin: 6px 0;
  font-weight: 700;
}

/* =========================
   QUICK SUBTOPICS / ICON LIST
========================= */

.quick-subtopics .elementor-icon-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.quick-subtopics .elementor-icon-list-item {
  background: var(--rfa-primary);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 14px 16px;
  border-radius: 10px;
  transition: all 0.25s ease;
}

.quick-subtopics .elementor-icon-list-item:hover {
  background: var(--rfa-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(13, 87, 151, 0.25);
}

.quick-subtopics .elementor-icon-list-text,
.quick-subtopics .elementor-icon-list-item a,
.quick-subtopics .elementor-icon-list-icon i {
  color: #fff !important;
  font-weight: 700;
}

/* =========================
   BLOG / ARCHIVE / LOOP CARDS
========================= */

.elementor-post {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rfa-border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.elementor-post:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.elementor-post__thumbnail {
  overflow: hidden;
}

.elementor-post__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.elementor-post:hover .elementor-post__thumbnail img {
  transform: scale(1.05);
}

.elementor-post__text {
  padding: 16px;
}

.elementor-post__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--rfa-primary);
}

.elementor-post:hover .elementor-post__title {
  color: var(--rfa-accent);
}

.elementor-post__excerpt {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.elementor-post__read-more {
  color: var(--rfa-primary);
  font-weight: 800;
}

/* Loop grid item */
.elementor-loop-item {
  border-radius: 14px;
  overflow: hidden;
}

/* =========================
   PAGINATION
========================= */

.elementor-pagination {
  margin-top: 30px;
  text-align: center;
}

.elementor-pagination a,
.elementor-pagination span {
  display: inline-block;
  padding: 8px 14px;
  margin: 4px;
  border-radius: 6px;
  background: #f2f6fa;
  color: var(--rfa-primary);
}

.elementor-pagination .current {
  background: var(--rfa-primary);
  color: #fff;
}

/* =========================
   SINGLE POST STYLE
========================= */

.single-post .entry-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--rfa-primary);
  margin-bottom: 12px;
}

.single-post .entry-meta {
  font-size: 13px;
  color: #777;
  margin-bottom: 20px;
}

.single-post .entry-content p {
  font-size: 17px;
  line-height: 1.9;
}

.single-post .entry-content a {
  font-weight: 700;
}

/* =========================
   ELEMENTOR FIX
========================= */

.elementor-widget-text-editor p {
  margin-bottom: 14px;
}

.elementor-sticky--active {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* =========================
   DATE BOX
========================= */

.date-box {
  background: #1f6fa5;
  color: #fff;
  padding: 10px;
  text-align: center;
  font-weight: bold;
}

/* =========================
   FOOTER
========================= */

.rfa-footer {
  background: var(--rfa-secondary);
  color: #fff;
  font-family: Arial, sans-serif;
}

.rfa-footer-cta {
  background: var(--rfa-primary);
  display: flex;
  justify-content: center;
  gap: 36px;
  padding: 42px 20px;
}

.rfa-footer-btn {
  background: #fff;
  color: #007d8b !important;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 14px;
  transition: all 0.25s ease;
}

.rfa-footer-btn:hover {
  background: transparent;
  color: #fff !important;
  border: 1px solid #fff;
}

.rfa-footer-main {
  max-width: var(--rfa-container);
  margin: 0 auto;
  padding: 54px 20px 42px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr 1.1fr;
  gap: 36px;
}

.rfa-footer h3,
.rfa-footer h4 {
  color: var(--rfa-accent);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.rfa-footer p {
  color: #fff;
  line-height: 1.7;
  font-size: 14px;
}

.rfa-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rfa-footer li {
  margin-bottom: 10px;
}

.rfa-footer a {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.rfa-footer a:hover {
  opacity: 1;
  text-decoration: underline;
}

.rfa-small-link {
  color: #fff !important;
  font-weight: 800;
}

.rfa-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  max-width: var(--rfa-container);
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .grid-4,
  .rfa-grid-4,
  .ft-card-grid,
  .quick-subtopics .elementor-icon-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .rfa-grid-3,
  .sub-card-grid,
  .rfa-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rfa-footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .sub-hero,
  .rfa-page-hero {
    padding: 46px 22px;
  }

  .sub-card-grid,
  .sub-link-grid,
  .rfa-info-grid,
  .rfa-link-grid {
    grid-template-columns: 1fr;
  }

  .sub-content h2,
  .rfa-page-content h2 {
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 30px;
  }

  h2,
  .entry-content h2 {
    font-size: 22px;
  }

  .header-cta,
  .rfa-footer-cta,
  .rfa-footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .grid-4,
  .grid-3,
  .rfa-grid-4,
  .rfa-grid-3,
  .ft-card-grid,
  .ft-mini-grid,
  .quick-subtopics .elementor-icon-list {
    grid-template-columns: 1fr;
  }

  .ft-pillar,
  .sub-pillar,
  .rfa-page {
    padding: 24px 16px;
  }

  .ft-hero {
    padding: 46px 22px;
    border-radius: 14px;
  }

  .ft-article-links,
  .sub-links,
  .rfa-page-links {
    padding: 24px 18px;
  }

  .rfa-footer-main {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 22px 30px;
  }

  .rfa-footer-btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .rfa-footer-bottom {
    align-items: center;
    gap: 8px;
  }

  .entry-content p,
  .single-post .entry-content p {
    font-size: 15px;
  }

  .elementor-post__title {
    font-size: 16px;
  }
}/* End custom CSS */