
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
html { font-size: 100%;}
body {font-family: "Prompt", sans-serif; color: #000; background-color: #FFF; margin: 0; padding: 0; font-size: 1rem; font-size: 100%;}
.header-logo{height: 80px; width: auto;}
@media (max-width: 575.98px) {
.header-logo {  height: 75px;}
}

/* ##################### Accessibility #################### */
/* แก้ไขปัญหาข้อมูลในข้างใน Modal คลิกไม่ได้ ในโหมด Accessibility */
@media (prefers-contrast: no-preference) {
  .modal-backdrop { --bs-backdrop-zindex: -1 !important;}
  .modal { background-color: rgba(0, 0, 0, 0.5) !important; }
}
/* เน้นความชัดเจนเมื่อใช้ tab */
:focus-visible {outline: 3px solid #2563eb !important; outline-offset: 3px; border-radius: 4px; }
/* สำหรับเบราว์เซอร์เก่าที่ไม่รองรับ focus-visible */
:focus:not(:focus-visible) {outline: none;}

/*##################### HEADER ####################*/
    /* Header Top */
    .header-wrapper {background: url('../images/header-bg.jpg') no-repeat center center; background-size: cover; background-position: top center; padding-bottom: 10px; }
    .header-wrapper-page {background: url('../images/header-bg-page.jpg') no-repeat center center; background-size: cover; background-position: top center; padding-bottom: 10px; }
    .header { padding: 0.7rem 0.5rem; display: flex; align-items: center;justify-content: space-between;}
    .header-left {display: flex; align-items: center; gap: 0.6rem; }
    .header-title {font-family: "Prompt", sans-serif; color: #002244; font-weight: 600; text-shadow: 0 0 6px rgba(255, 255, 255, 0.8);}
    .header-subtitle {font-family: "Prompt", sans-serif; display: block; font-size: 1.08rem; color: #000; font-weight: 400; text-shadow: 0 0 6px rgba(255, 255, 255, 0.8);}
    /* Icon buttons */
    .header-icons { display: flex; gap: 0.75rem;}
    .header-icons button { background-color: #fff; border: none; border-radius: 50%; width: 44px; height: 44px; display: flex;
      align-items: center; justify-content: center; color: #002244; font-size: 1.2rem; transition: all 0.2s; }
    .header-icons button:hover, .header-icons button:focus { background-color: #fcfa96; color: #000;  outline: 1px solid #fcfa96; outline-offset: 2px;}
@media (max-width: 420px) {
  .header { flex-direction: column;  }
  .header-left { flex-direction: column; text-align: center; }
  /*.header-subtitle {color: #000;  text-shadow: 0 0 2px #fff, 0 0 4px #fff, 0 0 6px #fff;}*/
}
@media (min-width: 421px) and (max-width: 576px) {
  .header{ flex-direction: column;}
}
#lang-btn{width: 90px; border-radius: 50px; font-size: 1rem;}
.language-menu .dropdown-item {min-width: 100px;}
@media (max-width: 992px) {
/* เพิ่ม CSS เพื่อป้องกันการซ่อน dropdown บนมือถือ */
.dropdown-menu.language-menu {  display: inline-block !important; position: absolute !important; top: 40px !important; opacity: 0;  visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;}
.dropdown-menu.language-menu.show { opacity: 1; visibility: visible; }
}

/* ##################### Search #################### */
:root {
      --global-search-primary-color: #0d6efd;
      --global-search-secondary-color: #6c757d;
      --global-search-light-bg: #f8f9fa;
      --global-search-border-color: #dee2e6;
}
.global-search-navbar-brand { font-weight: 700; color: #0a58ca; }
.global-search-trigger { background: var(--global-search-primary-color); color: white; border: none; border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.global-search-trigger:hover, .global-search-trigger:focus { background: #0b5ed7; transform: scale(1.05); outline: 2px solid #0a58ca; outline-offset: 2px; }
.global-search-modal .modal-content { border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); border: none; }
.global-search-modal .modal-header { border-bottom: 1px solid var(--global-search-border-color); padding: 1.25rem 1.5rem; background: var(--global-search-light-bg); border-radius: 12px 12px 0 0; }
.global-search-modal .modal-body { padding: 1.5rem; }
.global-search-input-container { position: relative; margin-bottom: 1.5rem; }
.global-search-input { padding: 12px 50px 12px 16px; border-radius: 8px; border: 2px solid var(--global-search-border-color); font-size: 1.1rem; width: 100%; transition: all 0.3s; }
.global-search-input:focus { border-color: var(--global-search-primary-color); box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1); outline: 2px solid var(--global-search-primary-color); }
.global-search-submit-btn { position: absolute; right: 5px; top: 5px; background: var(--global-search-primary-color); color: white; border: none; border-radius: 6px; width: 80px; height: 40px; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.global-search-submit-btn:hover, .global-search-submit-btn:focus { background: #0b5ed7; outline: 2px solid #0a58ca; outline-offset: 2px; }
.global-search-popular-tags { margin-bottom: 1.5rem; }
.global-search-tag { display: inline-block; background: #e9ecef; color: #495057; padding: 6px 12px; border-radius: 20px; font-size: 0.9rem; margin-right: 0.5rem; margin-bottom: 0.5rem; cursor: pointer; transition: all 0.3s; border: 1px solid transparent; }
.global-search-tag:hover, .global-search-tag:focus { background: #dee2e6; transform: translateY(-2px); outline: 2px solid var(--global-search-primary-color); outline-offset: 2px; }
.global-search-advanced-toggle { display: flex; align-items: center; color: var(--global-search-primary-color); cursor: pointer; margin-bottom: 1rem; font-weight: 500; padding: 8px 12px; border-radius: 6px; transition: all 0.3s; border: 1px solid transparent; }
.global-search-advanced-toggle:hover, .global-search-advanced-toggle:focus { background-color: rgba(13, 110, 253, 0.1); outline: 2px solid var(--global-search-primary-color); outline-offset: 2px; }
.global-search-advanced-toggle i { margin-right: 8px; transition: transform 0.3s; }
.global-search-advanced-toggle.collapsed i { transform: rotate(0deg); }
.global-search-advanced-toggle:not(.collapsed) i { transform: rotate(180deg); }
.global-search-advanced-options { background: var(--global-search-light-bg); border-radius: 8px; padding: 1.5rem; margin-bottom: 1.5rem; border: 1px solid var(--global-search-border-color); }
.global-search-filter-group { margin-bottom: 1.5rem; }
.global-search-filter-title { font-weight: 600; margin-bottom: 0.75rem; color: #495057; font-size: 1rem; }
.global-search-filter-options { display: flex; flex-wrap: wrap; gap: 1rem; }
.global-search-filter-option { display: flex; align-items: center; }
.global-search-filter-option input { margin-right: 6px; width: 18px; height: 18px; }
.global-search-filter-option input:focus { outline: 2px solid var(--global-search-primary-color); outline-offset: 2px; }
.global-search-filter-option label { cursor: pointer; }
.global-search-date-range { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.global-search-date-input { flex: 1; min-width: 150px; }
.global-search-date-input label { display: block; margin-bottom: 4px; font-size: 0.9rem; color: #6c757d; }
.global-search-date-input input { width: 100%; padding: 8px 12px; border: 1px solid var(--global-search-border-color); border-radius: 4px; }
.global-search-date-input input:focus { outline: 2px solid var(--global-search-primary-color); outline-offset: 2px; }
.global-search-category-badge { background: var(--global-search-primary-color); color: white; padding: 4px 8px; border-radius: 4px; font-size: 0.8rem; }
@media (prefers-contrast: high) { .global-search-tag { border: 2px solid #000; } .global-search-result-item { border: 1px solid #000; } }
@media (prefers-reduced-motion: reduce) { .global-search-trigger, .global-search-tag, .global-search-result-item, .global-search-advanced-toggle { transition: none; } .global-search-fade-in { animation: none; } }
@media (max-width: 768px) { .global-search-result-item { flex-direction: column; } .global-search-result-image { width: 100%; height: 160px; margin-right: 0; margin-bottom: 1rem; } .global-search-date-range { flex-direction: column; } .global-search-date-input { width: 100%; } .global-search-filter-options { flex-direction: column; gap: 0.5rem; } }
.global-search-fade-in { animation: globalSearchFadeIn 0.5s ease-in-out; }
@keyframes globalSearchFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
button:focus, input:focus, select:focus, textarea:focus, [tabindex]:focus { outline: 2px solid var(--global-search-primary-color); outline-offset: 2px; }

/* สำหรับผลลัพธ์การค้นหา */
.global-search-results-list { display: flex; flex-direction: column; gap: 1rem; }
.global-search-result-item { background: white; border: 1px solid var(--global-search-border-color); border-radius: 8px; padding: 1.25rem; transition: all 0.3s; /* ลบ display: flex ออกเพราะใช้ Bootstrap grid แทน */ }
.global-search-result-item:hover, .global-search-result-item:focus-within { background-color: var(--global-search-light-bg); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); transform: translateY(-2px); }
.global-search-result-image { width: 100%; height: 120px; border-radius: 6px; overflow: hidden; margin-bottom: 1rem; }
.global-search-result-image img { width: 100%; height: 100%; object-fit: cover; }
.global-search-result-badge { background: var(--global-search-primary-color); color: white; padding: 4px 8px; border-radius: 4px; font-size: 0.8rem; font-weight: 500; display: inline-block; margin-bottom: 0.75rem; }
.global-search-result-title { font-weight: 600; color: #212529; margin-bottom: 0.75rem; font-size: 1.1rem; line-height: 1.4; }
.global-search-result-excerpt { color: #6c757d; font-size: 0.95rem; line-height: 1.5; margin-bottom: 1rem; }
.global-search-result-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.global-search-result-date { color: var(--global-search-secondary-color); font-size: 0.9rem; }
.global-search-result-tags { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.global-search-tag-small { background: #e9ecef; color: #495057; padding: 2px 8px; border-radius: 12px; font-size: 0.75rem; border: 1px solid #dee2e6; }
@media (max-width: 768px) {
  .global-search-result-meta { flex-direction: column; align-items: flex-start; }
  .global-search-result-image { height: 100px; }
}
.global-search-result-date { color: var(--global-search-secondary-color); font-size: 0.9rem; }
.global-search-result-excerpt { color: #6c757d; font-size: 0.95rem; line-height: 1.5; }
.global-search-no-results { text-align: center; padding: 2rem; color: var(--global-search-secondary-color); }
.global-search-no-results i { font-size: 3rem; opacity: 0.5; margin-bottom: 1rem; }


/*##################### TOPMENU ####################*/
.navbar { background: linear-gradient(to bottom, #0b346a 0%, #0a3c75 40%, #1e5a9f 75%,  #006bb5 100%); border-radius: 2rem; padding: 0.5rem 1rem; }
.navbar-nav .nav-link { font-size: 1.1rem; color: white !important; font-weight: 500; padding: 0.5rem 1.25rem; border-radius: 0.5rem; transition: all 0.3s ease; white-space: normal;  text-shadow: 0 0 4px rgba(0, 0, 0, 0.7);}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus { background-color: rgba(255, 255, 255, 0.2); }
@media (min-width: 1300px) { .navbar-nav .nav-link { margin: 0 1rem;} }
@media (min-width: 1200px) { .navbar-nav .nav-link { margin: 0 0.5rem;} }
@media (max-width: 1199.98px) {  .navbar-nav .nav-link { margin: 0;} }

@media (min-width: 992px) {
  .navbar-nav .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
  .dropend:hover > .dropdown-menu, .dropstart:hover > .dropdown-menu { display: block; }
  .dropdown-item { min-width: 320px;}
}
.dropdown-menu { background-color: #fff; border: none; border-radius: 0.5rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); padding: 0.5rem 0; max-width: 350px; }
.dropdown-item { padding: 0.5rem 1rem; color: #333; transition: all 0.2s ease; position: relative; word-wrap: break-word; overflow-wrap: break-word; hyphens: auto; line-height: 1.4; word-break: break-word; white-space: normal; }
.dropdown-item:hover, .dropdown-item:focus { background-color: #deeaf7; color: #004080; }
.custom-menuwidth1, .custom-menuwidth2, .custom-menuwidth3, .custom-menuwidth4, .custom-menuwidth5 { max-width: 400px; }
.dropdown-menu .dropdown-item { font-size: 1.05rem; font-weight: 500; padding: 0.4rem 0.8rem; }
.dropdown-item.long-text { min-height: auto; }
.dropend > .dropdown-menu { top: 0; left: 100%; margin-top: -0.5rem; }
.dropstart > .dropdown-menu { top: 0; right: 100%; margin-top: -0.5rem; }
.navbar-toggler { border-color: rgba(255, 255, 255, 0.5); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
.custom-menuwidth1 { min-width: 250px; }
.custom-menuwidth2 { min-width: 220px; }
.custom-menuwidth3 { min-width: 240px; }
.custom-menuwidth4 { min-width: 280px; }
.custom-menuwidth5 { min-width: 320px; }
.link_color { color: #004080 !important; }

/* Menu Responsive adjustments */
@media (max-width: 991.98px) {
  .navbar-collapse { margin-top: 1rem; }
  .dropdown-menu { margin-left: 1rem; border-left: 2px solid #004080; position: static !important; transform: none !important; width: 100%; max-width: none; }
  .dropend > .dropdown-menu, .dropstart > .dropdown-menu { margin-top: 0; border-left: 2px solid #004080; }
  .dropdown-toggle::after { display: inline-block; margin-left: 0.255em; vertical-align: 0.255em; content: ""; border-top: 0.3em solid; border-right: 0.3em solid transparent; border-bottom: 0; border-left: 0.3em solid transparent; float: right; margin-top: 0.5em; }
  .dropdown-toggle[aria-expanded="true"]::after { transform: rotate(-180deg); }
  .dropdown-menu .dropdown-menu { margin-left: 1.5rem; border-left: 2px solid #6699cc; }
  .dropdown-menu .dropdown-menu .dropdown-menu { margin-left: 2rem; border-left: 2px solid #99bbdd; }
  .dropdown-item { white-space: normal; word-break: break-word; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
.navbar-nav .nav-link{margin: 0rem 0rem;}
}

.dropdown-item[href*="//"] { word-break: break-all; }

/* ##################### Highlight Slider #################### */
.service-heading-wrap { flex-direction: row; }
@media (min-width: 1200px) {
  .service-heading-wrap {flex-direction: column; }
}
@media (max-width: 1200px) {
  .service-subtitle {margin-left: 10px; margin-top: 10px;}
}
@media (max-width: 412px) {
  .service-heading-wrap {flex-direction: column; }
  .service-subtitle {margin-left: 0px; margin-top: 0px;}
}

#bannerSlider .carousel-indicators { bottom: -45px;}
.rounded-40 {border-radius:0 0 40px 40px;}

#bannerSlider .carousel-indicators [data-bs-target] { position: relative; width: 24px; height: 24px; margin: 0 6px; border-radius: 50%; background-color: rgba(255, 255, 255, 1.0); border: none; opacity: 1; }
#bannerSlider .carousel-indicators .active { background-color: #0b346a; }
#bannerSlider .carousel-indicators [data-bs-target]::before {  content: ""; position: absolute; top: 4px; left: 4px; width: 16px;  height: 16px; border-radius: 50%;
  background-color: rgba(11, 52, 106, 0.8);  transition: background-color 0.3s, opacity 0.3s, transform 0.3s;}

/*.carousel-control-prev-icon,.carousel-control-next-icon {  filter: invert(100%) contrast(200%);}*/
#bannerSlider .carousel-control-prev,.carousel-control-next { position: absolute; width: 45px; height: 45px; background-color: rgba(255, 255, 255, 0.95); border-radius: 50%;  position: absolute; top: 50%; transform: translateY(-50%); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);}
#bannerSlider .carousel-control-prev { left: -55px;}
#bannerSlider .carousel-control-next { right: -55px;}
#bannerSlider .carousel-control-prev-icon,
#bannerSlider .carousel-control-next-icon { position: absolute;  border: solid #0d2c59; border-width: 0 3px 3px 0;  width: 15px; height: 15px; background-image: none;}
#bannerSlider .carousel-control-prev-icon { left: 19px; transform: rotate(-225deg); }
#bannerSlider .carousel-control-next-icon { right: 19px; transform: rotate(-45deg); }
@media (min-width: 992px) and (max-width: 1015px) {
  #bannerSlider .carousel-control-prev {left: -45px;}
  #bannerSlider .carousel-control-next {right: -45px;}
}
@media (max-width: 767.98px) {
  #bannerSlider .carousel-control-prev {left: 10px;}
  #bannerSlider .carousel-control-next {right: 10px;}
}
/* ปรับขนาด Slide ให้เท่ากัน */
#bannerSlider .carousel-inner {height: 564px;}
#bannerSlider .carousel-item { position: relative; height: 100%;}
#bannerSlider .carousel-item img { width: 100%; height: 100%; object-fit: contain;
background: radial-gradient(circle, #006bb5 0%, #0f3e7f 60%, #0a3c75 100%);}
@media (max-width: 1440px) {
  #bannerSlider .carousel-inner {height: 482px; }
}

@media (max-width: 1200px) {
  #bannerSlider .carousel-inner {height: 402px;}
}

@media (max-width: 992px) {
  #bannerSlider .carousel-inner {height: 316px;}
}

@media (max-width: 768px) {
  #bannerSlider .carousel-inner {height: 233px;}
}

@media (max-width: 576px) {
  #bannerSlider .carousel-inner { height: 205px;}
}

@media (max-width: 375px) {
  #bannerSlider .carousel-inner { height: 128px;}
}

/* สำหรับรูป portrait ที่สูงกว่ากว้าง */
#bannerSlider .carousel-item.portrait img {
  object-fit: cover; /* หรือ contain แล้วแต่ต้องการ */
  object-position: center;
}

/* ##################### Service #################### */
.bg-services { background: url('../images/overhead-structure.png') no-repeat center center; background-size: 100%; background-position: center center;}
.service-title { color: #0d2c59; font-size: 2.8rem; font-weight: 600;}
.service-subtitle { color: #282828; font-size: 1.7rem; font-weight: 400;}
.icon-service, .icon-service-hover { height: 80px;  margin-bottom: 5px; transition: 0.3s;}
.icon-service-hover { display: none;}
.service-box:hover .icon-service {display: none;}
.service-box:hover .icon-service-hover { display: block; opacity: 1;}
.service-item { flex: 0 0 16%;  padding: 10px 5px;}
.service-box {text-decoration: none; max-width: 180px; width: 100%; margin: auto; background-color: #ffffff; border: 2px solid #fff; padding: 10px; border-radius: 30px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); text-align: center;   display: flex;  flex-direction: column;  justify-content: center; align-items: center; min-height: 160px; transition: all 0.3s ease-in-out;}
.service-box:hover { background-color: #0b346a;}
.service-box:hover .title-service-item { color: #fff; }
.service-box .title-service-item { font-size: 1rem; color: #0d2c59; margin-top: 10px;  font-weight: 600;  transition: color 0.3s ease;}
.slider-controls { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%);  justify-content: space-between; z-index: 10;}
.slider-controls .carousel-control-prev, .slider-controls .carousel-control-next {  position: absolute; top: 50%; transform: translateY(-50%);  width: 45px; height: 45px; background-color:#0b346a; opacity: 0.9; border-radius: 50%; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);border: none; cursor: pointer;}
.slider-controls .carousel-control-prev:hover, .slider-controls .carousel-control-next:hover{ opacity: 1;}
.slider-controls .carousel-control-prev-icon,
.slider-controls .carousel-control-next-icon { position: absolute;  border: solid #FFF; border-width: 0 3px 3px 0;  width: 15px; height: 15px; background-image: none;}
.slider-controls .carousel-control-prev-icon { transform: rotate(135deg); left: 18px;}
.slider-controls .carousel-control-next-icon { transform: rotate(-45deg); right: 18px;}

/* Service Responsive Styles */
@media (max-width: 1199px) {
  .service-item {flex: 0 0 16%; }
}

@media (max-width: 992px) {
  .service-item {flex: 0 0 16%; padding: 10px 0px;}
  .slider-controls { left:-20px; right: -20px;}
}

@media (min-width: 767px) and (max-width: 821px) {
  #bannerSlider .carousel-control-prev {left: 0px;}
  #bannerSlider .carousel-control-next {right: 0px;}
  .slider-controls {left: 0; right: 0; }
  .service-box {padding: 15px;}
}

@media (max-width: 767px) {
  .service-item { flex: 0 0 30%; padding: 10px 2px;}
  .slider-controls {left: 0; right: 0; }
  .service-item {padding: 0px 0px 10px 0px;}
}

@media (max-width: 576px) {
 /*.service-item { flex: 0 0 100%;} */
  .service-title { font-size: 2.2rem; text-shadow: -2px 0 0 white, 2px 0 0 white, 0 -2px 0 white, 0  2px 0 white,
        -2px -2px 0 white, 2px -2px 0 white, -2px  2px 0 white, 2px  2px 0 white; }
  .service-subtitle {  font-size: 1.5rem;}
}
@media (max-width: 420px) {
  .service-item { flex: 0 0 100%; }
}

/* ##################### Service - Custom Slider #################### */
.service-container { overflow: hidden; position: relative; width: 100%;}
#serviceItems {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.3s ease-in-out;
  gap: 1rem;
}

.service-item {
  flex: 0 0 calc((100% / 5) - 1rem);
}
/* .service-item { flex: 0 0 auto !important; width: calc((100% / 7) - (6rem / 7)) !important; box-sizing: border-box;} */

/* ≤ 1200px */
@media (max-width: 1199px) {
  .service-item {
    flex: 0 0 calc((100% / 4) - 1rem);
  }
}

/* ≤ 992px */
@media (max-width: 991px) {
  .service-item {
    flex: 0 0 calc((100% / 3) - 1rem);
  }
}

/* ≤ 768px */
@media (max-width: 767px) {
  .service-item {
    flex: 0 0 calc((100% / 2) - 1rem);
  }
}

/* มือถือเล็ก */
@media (max-width: 480px) {
  .service-item {
    flex: 0 0 100%;
  }
}

/* ##################### filter dohtotravel #################### */
.dohtotravel { background-color: #ffffff; backdrop-filter: blur(20px);
  border-radius: 1.25rem;  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);  width: 100%; height: 100%;
  padding: 1.5rem 1.5rem 0rem 1.5rem; margin-bottom: 2.5rem; transition: all 0.3s ease-in-out;}
.dohtotravel h2 { font-weight: 700; color: #0d3b66;  text-align: left;  letter-spacing: 0.02em;}
.dohtotravel .form-label { font-size: 1.1rem; font-weight: 600;  color: #0d3b66;  margin-bottom: 0.4rem;}
.dohtotravel .required-star { color: #b10211; font-size: 1.2rem; margin-left: 0.25rem; background-color: #ffffff;}
.dohtotravel .input-group-addon { background-color: transparent;  border: none; color: #0d3b66; font-size: 18px;
    padding-left: 12px;}
.dohtotravel .input-group-text { background-color: transparent; border: none; color: #0d3b66; font-size: 1.3rem;
  padding-left: 0;}
.dohtotravel .btn-submit-search { position: absolute; right: 0; top: 0; height: 100%; border-radius: 0 10px 10px 0 !important;
    background-color: #277da1; color: white; border: none; padding: 0 15px; z-index: 4;}
.dohtotravel .form-control { border: 1px solid #277da1;  border-radius: 10px !important;
    padding: 12px 16px;  font-size: 16px; transition: border-color 0.3s ease, box-shadow 0.3s ease; height: auto;}
.dohtotravel .form-control:focus { border-color: #64b6f7; box-shadow: 0 0 8px rgba(13, 59, 102, 0.3); outline: none;}
.dohtotravel legend { font-weight: 700; color: #0d3b66; font-size: 1.1rem;}
.dohtotravel .form-check-label { font-size: 1rem; color: #0d3b66; margin-left: 0.3rem;  user-select: none;}
.dohtotravel .form-check-input { width: 1.2rem; height: 1.2rem; border: 2px solid #64b6f7;}
.dohtotravel .form-check-input:checked { background-color: #0d3b66;  border-color: #0d3b66;}
.dohtotravel .form-check-input:focus { box-shadow: 0 0 5px rgba(13, 59, 102, 0.6); outline: none;}
.dohtotravel .btn-clear, .dohtotravel .btn-search { flex: 1; font-weight: 600; padding: 0.75rem; border-radius: 0.75rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; border: none;  cursor: pointer;}
.dohtotravel .btn-clear { background-color: #f8f9fa; color: #000; border: 1px solid #dee2e6; flex: 1; font-size: 1.1rem;}
.btn-clear:hover, .btn-clear:focus {  background-color: #e9ecef; color: #000; }
.dohtotravel .btn-search { background-color: #024dbc; color: white; flex: 1; font-size: 1.1rem;}
.btn-search:hover, .btn-search:focus { background-color:#0350c2; color: white;  transform: translateY(-1px); }
.dohtotravel .form-control::placeholder { color: #444; }
@media (max-width: 768px) {
  .dohtotravel{padding: 1.5rem 1.5rem 1.5rem 1.5rem;}
}

/* ##################### hdms #################### */
.hdms-card {border-radius: 20px;  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); border: none; overflow: hidden; transition: transform 0.3s ease;}
.card-header-hdms {background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); color: #FFF; padding:1rem 1rem; border-bottom: none; text-align: center;}
.hdms-stat-card {padding: 0.4rem 0.4rem; text-align: center; height: 100%; position: relative; }
.hdms-stat-icon { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 0.5rem; font-size: 1.5rem;}
.hdms-stat-number { font-size: 2.5rem; font-weight: 800; line-height: 1;margin-bottom: 0.5rem;}
.hdms-stat-number-label {font-size: 1rem; color: #333; font-weight: 500;}
.hdms-stat-label { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem;}
.hdms-stat-details { display: flex;justify-content: space-around; margin-top: 1rem;}
.hdms-stat-detail-item { text-align: center; }
.hdms-stat-detail-value {font-size: 1.25rem; font-weight: 700; line-height: 1; margin-bottom: 0.25rem;}
.hdms-stat-detail-label {font-size: 1rem; color: #333;}
.primary-card .hdms-stat-icon {background: rgba(106, 17, 203, 0.1);color: #6a11cb;}
.primary-card .hdms-stat-number {color: #6a11cb;}
.success-card .hdms-stat-icon {background: rgba(37, 180, 137, 0.1);color: #03a071;}
.success-card .hdms-stat-number {color: #02845d;}
.danger-card .hdms-stat-icon {background: rgba(255, 77, 109, 0.1);color: #c7455d; }
.danger-card .hdms-stat-number {color: #c7455d;}
@media (max-width: 768px) {
    .hdms-stat-card {padding: 1.5rem 1rem;}
    .hdms-stat-number {font-size: 2rem;}
    .hdms-stat-details {/*flex-direction: column; gap: 0.5rem;*/}
}
.hdms-stat-wrapper:not(:last-child) .hdms-stat-card {border-right: 1px solid #dee2e6; border-bottom: 1px solid #dee2e6;}
.hdms-stat-wrapper:last-child .hdms-stat-card {border-right: none;}
.btn-hdms{  background-color: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.3); color: white; border-radius: 8px; font-weight: 500; padding: 0.4rem 1rem;}
.btn-hdms:hover{ background-color: rgba(255, 255, 255, 0.25);}

.bg1 {position: relative; z-index: 0; background-image: url(../images/bg1.jpg); background-position: top center; background-size: cover; background-repeat: no-repeat;}
@media (max-width: 1200px) {
  .bg1{padding-bottom: 120px;}
}

/* ##################### NEWS #################### */
.title-news {padding-top: 70px;}
.traffic-sign1 { position: absolute; top:0; z-index: -1; }
.w-80 { max-width: 80%; }
@media (min-width: 768px) {
  .w-md-80 { width: 80% !important; }
}
.btn-viewall { background-color: #8f4402; border-radius: 1rem; padding:8px 20px; font-size: 1rem; font-weight: 500; line-height: 1.2;  display: inline-flex; align-items: center; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);}
.btn-viewall:hover, .btn-viewall:focus { background-color: #a75004; outline: none; text-decoration: none;}
#newsTabs .nav-link.active{color: #0b346a; font-size: 1.6rem; font-weight: 600; border: 0; }
#newsTabs .nav-link{color: #555; font-size: 1.6rem; font-weight: 400;}
#newsTabs .nav-item:not(:last-child) .nav-link::after{  content: "|";font-weight: 400; margin-left: 2rem; color: #ccc; display: inline-block; position: relative; right: 0;}
#newsTabs{border-bottom: 0; margin-bottom: 50px;}
#newsTabs .nav-link { border: none ; outline: none ;}
#newsTabs .nav-link:focus, #newsTabs .nav-link:hover, #newsTabs .nav-link.active { border: none; outline: none; box-shadow: none;}
.news-card img {border-radius: 30px; object-fit: cover; width: 100%; height: 350px; }
.badge-news {background-color: #d7e7f4; color: #0b346a; font-weight: 500; font-size:1rem; padding: 2px 10px; border-radius: 2px; margin-top: 15px; margin-bottom: 15px; display: inline-block;}
.news-meta {font-size: 0.875rem; color: #555;}
.card-news-title { font-size: 1.1rem; font-weight: 500; line-height: 1.4; }
.news-card a { color: #282828; text-decoration: none;}
.news-card a:hover{color: #0d6efd;}
@media (max-width: 576px) {
  .btn-viewall { white-space: nowrap; width: auto !important;  display: inline-flex !important;  align-self: flex-end !important; }
}
@media (max-width: 992px) {
  .traffic-sign1{left: -60px;}
}
@media (max-width: 767px) {
  .traffic-sign1{left: -50px;}
  .ml-mobile-50 { margin-left: 55px;}
  #newsTabs { margin-bottom: -30px;}
}
@media (min-width: 353px) and (max-width: 503px) {
   .ml-mobile-50 { margin-left: 55px;}
}
@media (max-width: 420px) {
   .traffic-sign1 { top: -75px; left: -152px;}
   #newsTabs { margin-bottom: 0px; }
   .title-news {  padding-top: 0px;}
   .ml-mobile-50 { margin-left: 0px;}
}

@media (max-width: 1200px) {
  #newsTabs .nav-link {padding: 0.5rem 0.5rem; }
}

/* ##################### VIDEO #################### */
#videoTabs .nav-link.active{color: #0b346a; font-size: 1.4rem; font-weight: 600; border: 0; }
#videoTabs .nav-link{color: #555; font-size: 1.4rem; font-weight: 400;}
#videoTabs .nav-item:not(:last-child) .nav-link::after{  content: "|";font-weight: 400; margin-left: 2rem; color: #ccc; display: inline-block; position: relative; right: 0;}
#videoTabs {border-bottom: 0; margin-bottom: 50px;}
#videoTabs .nav-link { border: none ; outline: none ;}
#videoTabs .nav-link:focus, #videoTabs .nav-link:hover, #videoTabs .nav-link.active { border: none; outline: none; box-shadow: none;}

.video-container { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden; background-color: #000;border-radius: 30px;}
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;}
.video-embed-small { position: relative; width: 200px; aspect-ratio: 16 / 9; overflow: hidden; background-color: #000; border-radius: 16px;}
.video-embed-small iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; border-radius: 16px;}
.video-item { display: flex; gap: 1rem; align-items: flex-start;}
.video-info { flex: 1;}
.video-info a{ text-decoration: none;}
.video-title a{color: #282828; text-decoration: none;}
.video-title a:hover {color: #0d6efd;}
.video-title {  font-size: 1.1rem; font-weight: 500; color: #282828;  margin-bottom: 0.25rem; line-height: 1.4;}
.video-meta { font-size: 0.875rem; color: #6c757d;}
.video-thumbnail-wrapper { position: relative; aspect-ratio: 16 / 9; background-color: #000; overflow: hidden; border-radius: 20px;}
.video-thumbnail-wrapper img { width: 100%; height: 100%;  object-fit: cover;}
.play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 3rem; color: white; text-shadow: 0 0 5px rgba(0,0,0,0.5);}
.play-icon2 { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 2rem; color: white; text-shadow: 0 0 5px rgba(0,0,0,0.5);}

@media (max-width: 767.98px) {
  #videoTabs { margin-left: 2rem !important; position: relative; z-index: 1; margin-bottom: 0px;}
   #videoTabs .nav-link { padding: 0.3rem 0rem 0.3rem 1rem}
  .icon-traffic-sign2 {position: absolute; z-index: 0; left: -40px;}
 }

@media (min-width: 768px) and (max-width: 991.98px) {
  #videoTabs { margin-left: 4rem !important; position: relative; z-index: 1; margin-bottom: 0px;}
  #videoTabs .nav-link { padding: 0.3rem 0rem 0.3rem 0rem;}
  .icon-traffic-sign2 {position: absolute; z-index: 0; left: -80px;}
  #videoTabs .nav-item:not(:last-child) .nav-link::after{  margin-left: 1rem; margin-right: 1rem; }
}
@media (min-width: 992px) and (max-width: 1200px) {
  #videoTabs { position: relative; z-index: 1; margin-bottom: 0px;}
  #videoTabs .nav-link { padding: 0.3rem 0rem 0.3rem 0rem;}
  .icon-traffic-sign2 {position: absolute; z-index: 0; left: -60px;}
  #videoTabs .nav-item:not(:last-child) .nav-link::after{  margin-left: 1rem; margin-right: 1rem; }

}
@media (min-width: 466px) and (max-width: 549px) {
  #videoTabs .nav-item:not(:last-child) .nav-link::after { margin-left: 1rem;}
}
@media (max-width: 420px) {
  .icon-traffic-sign2{top:-50px;}
  #videoTabs {margin-top: 50px;}
  #videoTabs .nav-link {padding: 0.3rem 0rem 0.3rem 0rem; }
  .video-item {flex-direction:column;}
  .video-embed-small{width: 100%;}

}

/* ##################### eBook #################### */
.ebook-btn-custom { background-color: #8f4402; color: #fff; border-radius: 1rem; padding:8px 20px; font-size: 0.95rem; display: inline-block; float: right; margin-bottom: 1rem; text-decoration: none; }
.ebook-btn-custom:hover, .ebook-btn-custom:focus { background-color: #a75004; color: #fff; }
.ebook-sign-board {position: relative; display: flex; flex-direction: column; gap: 0.5rem; padding-top: 50px; padding-bottom: 80px; }
.ebook-sign-board::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 40px; height: 800%; background-image: url(../images/pole.svg); background-repeat: no-repeat; background-size: contain; background-position: top center;
  z-index: -1; /* อยู่ข้างหลัง */
  pointer-events: none; /* ไม่ให้บังการคลิก */
}
.ebook-sign-link {  display: flex; align-items: center; justify-content: space-between; text-align: center; gap: 10px; background-color: #006bb5; color: #FFFFFF; padding: 12px 24px; border: 3px solid #006bb5; border-radius: 15px; position: relative; font-size: 1.4rem; font-weight: 600; text-decoration: none;line-height: 1.2; }
.ebook-sign-link::after { content: ""; position: absolute; top: 3px; left: 3px; right: 3px; bottom: 3px; border: 2px solid #FFFFFF; border-radius: 10px; pointer-events: none; text-decoration: none;}
.ebook-sign-link:hover, .ebook-sign-link:focus, .ebook-sign-link:active  { background-color: #015896; text-decoration: none; }
.ebook-card { box-shadow: 0 4px 12px rgba(0,0,0,0.15); height: 100%; overflow: hidden; transition: transform 0.2s;}
.ebook-card a{text-decoration: none; display: block; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.ebook-card a:hover {  transform: translateY(-3px) scale(1.03); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);}
.ebook-card img { width: 100%; height: 300px; object-fit: cover; object-position: top;}
.ebook-card-footer { color: #fff; padding: 0.6rem; }
.ebook-bg-green { background-color: #026433; }
.ebook-bg-yellow { background-color: #785103; }
.ebook-bg-blue { background-color: #0b346a; }
.ebook-bg-red { background-color: #a52a2a; }
.date-jr {margin-bottom: 5px;}
.arrow-ebook {width: 40px; height: auto; right: 20px; position: absolute;}
.link-right { flex-direction: row;}
.link-left { flex-direction: row-reverse;}
.arrow-ebook.rotate-horizontal { transform: rotate(-90deg); left: 20px; position: absolute;}
.arrow-ebook.rotate-right { transform: rotate(90deg);right: 20px; position: absolute;}
.ebook-masonry > div:nth-child(odd) .ebook-card { transform: translateY(0); transition: transform 0.3s ease;}
.ebook-masonry > div:nth-child(even) .ebook-card { transform: translateY(50px); transition: transform 0.3s ease;}

@media (min-width: 0px) and (max-width: 575.98px) {
  .ebook-sign-board{padding-bottom: 30px;}
  .ebook-masonry > div:nth-child(even) .ebook-card { transform: translateY(0px);}
  .ebook-card{ height:auto;}
}

/* ##################### INFOGRAPHIC #################### */
.title-infographic{ font-size: 2.2rem; letter-spacing: 2px;}
.infographic-carousel {position: relative; background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); padding: 50px 0; color: white; background-image: url(../images/bg-info.jpg); background-size: cover; background-repeat: no-repeat; background-position: top center; }
.infographic-carousel .carousel-item { padding: 20px 0; }
.infographic-carousel .card-container { display: flex; justify-content: center; align-items: center; gap: 30px; padding: 0 40px; flex-wrap: wrap; }
.infographic-carousel .card { border-radius: 2px; overflow: hidden; background: transparent; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5); transition: all 0.3s ease; display: flex; flex-direction: column; align-items: center; border: 0; }
.infographic-carousel .card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; border-radius: 0; }
.infographic-carousel .card:hover img { transform: scale(1.05); }
.infographic-carousel .center-card { width: 240px; height: 320px; z-index: 3; }
.infographic-carousel .side-card { width: 200px; height: 260px; z-index: 2; }
.infographic-carousel .edge-card { width: 160px; height: 200px; z-index: 1; }
.infographic-carousel .carousel-control-prev, .infographic-carousel .carousel-control-next { width: 50px; height: 50px; top: 50%; transform: translateY(-50%); opacity: 0.9; background-color: transparent !important; border-radius: 50%; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); }
.infographic-carousel .carousel-control-prev { left: 10px; }
.infographic-carousel .carousel-control-next { right: 10px; }
.infographic-carousel .carousel-control-prev:hover, .infographic-carousel .carousel-control-next:hover { opacity: 1; }
.infographic-carousel .carousel-indicators { bottom: -43px; }
.infographic-carousel .carousel-indicators [data-bs-target] { position: relative; width: 24px; height: 24px; margin: 0 6px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.5); border: none; }
.infographic-carousel .carousel-indicators .active { background-color: white; }
.infographic-carousel .carousel-indicators [data-bs-target]::before {  content: ""; position: absolute; top: 4px; left: 4px; width: 16px;  height: 16px; border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);  transition: background-color 0.3s, opacity 0.3s, transform 0.3s;}
@media (max-width: 576px) {
  .infographic-carousel .card-container { flex-wrap: wrap; justify-content: center; flex-direction: column; align-items: center; }
  .infographic-carousel .card { width: 95% !important; height: 100%; margin: 10px 0px !important;}
  .infographic-carousel .carousel-item { padding: 0;}
  .infographic-carousel .carousel-control-prev, .infographic-carousel .carousel-control-next { display: none; }
  .infographic-carousel .card {box-shadow: none;}
  .infographic-carousel .card img{box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);}
}
@media (max-width: 992px)  { .infographic-carousel .card-container{ gap: 5px;}}
@media (max-width: 1200px) {
.infographic-carousel .card-container { gap: 10px; flex-wrap: nowrap; justify-content: space-between; padding: 0 20px; overflow-x: auto; }
.infographic-carousel .center-card { width: 160px; }
.infographic-carousel .side-card { width: 140px; }
.infographic-carousel .edge-card { width: 120px; }
.infographic-carousel .card { max-height: 100%; overflow: hidden; margin: 0 5px;  height: 100%;}
.infographic-carousel .card img {width: 100%; height: auto; max-height: 100%; object-fit: cover;}
}
@media (max-width: 1400px) { .infographic-carousel .card-container { padding: 0;}  }

/* ##################### PROCUREMENT #################### */
.bg-procurement-and-job{ position: relative; z-index: 0; padding-top: 50px; padding-bottom: 50px !important; background: url('../images/bg-procurement.jpg') no-repeat; background-size: cover; background-position: top center; }
.procurement-and-job .nav-link { font-weight: 600; color: #1d3557; color: #0b346a; font-size: 1.4rem; font-weight: 500;}
.procurement-and-job .nav-link.active { background-color:transparent; border-radius: 0.5rem; color: #014bac; font-weight: 700;}
.procurement-and-job .list-group-item { border: none; border-radius: 15px; background-color: #ecf0f8; margin-bottom: 10px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); padding: 20px;}
.procurement-and-job .list-group-item a {text-decoration: none; color: #282828;}
.procurement-and-job .list-group-item a:hover {color: #0d4690;}
.procurement-and-job .date-box { flex-shrink: 0; background-color: #d7e7f4; border-radius: 0.5rem; text-align: center; font-weight: 700; padding: 0.5rem; }
.procurement-and-job .date-box .day { font-size: 1.25rem; color: #0b346a; }
.procurement-and-job .date-box .month { font-size: 0.9rem; color: #0b346a; }
.procurement-and-job .btn-more {flex-shrink: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-decoration: none; font-size: 1.05rem; color: #0b346a; font-weight: 500; position: relative; }
.procurement-and-job .btn-more:focus-visible { outline: 3px solid #ffb703; outline-offset: 2px; }
.procurement-and-job .btn-more:hover img { filter: brightness(1.5); }
.procurement-and-job .btn-more:hover {color: #0d4690;}
.procurement-and-job .btn-more img{margin-bottom: 5px;}
.procurement-and-job .btn-more::after { content: ""; display: block; position: absolute; left: -20px; top: 50%; transform: translateY(-50%); height: 100%; border-left: 1px solid #9b9b9b;}

.procurement-title{color: #0d2c59; font-size: 2.8rem; font-weight: 600;}
.procurement-title2{font-size: 2rem; line-height:1.2; margin-top: -35px;}
.procurement-and-job nav{border-right: 3px solid #d7e7f4;}
.procurement-and-job .nav-pills {position: relative; z-index: 0;}
.procurement-and-job .nav-link {display: flex; align-items: center; gap: 0.5rem; text-align: right; width: 100%; flex-direction: row-reverse; padding: 10px 0px;}
.icon-circle { display: flex; justify-content: center; align-items: center; width: 50px;  }
.icon-circle::after { content: ""; position: absolute; top: 50%;  transform: translateY(-50%); width: 2px; height: 80%;
  border-right: 2px dashed #ccc; background: none; z-index: -1;}
@media (min-width: 768px) { .icon-circle::after {right: 22px;} }
@media (min-width: 992px) { .icon-circle::after {right: 32px;}  }
@media (max-width: 767.98px) {
  .procurement-title{text-align: center !important;}
  .procurement-and-job .nav-link{  flex-direction: row;}
  .icon-circle::after {  }
}
@media (max-width: 575.98px) { .flex-fill {padding-bottom: 15px; padding-top: 15px;} }

/* ##################### Recommended links #################### */
.recommended-links-title{ color: #0d2c59; font-size: 2.8rem; font-weight: 600; text-align: center; margin-bottom: 30px;}
.recommended-links .card { position: relative; border: none; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); height: 100%; }
.recommended-links .card-large img { object-fit: cover; width: 100%; height: auto; }
.recommended-links .card-small img { object-fit: cover; width: 100%; height: auto; }
.recommended-links .btn-detail { background-color: #E85C0D; color: #fff; border-radius: 50px; padding: .3rem .8rem; font-size: 0.85rem; }
.recommended-links .btn-detail:focus { outline: 3px solid #000; outline-offset: 2px; }
.recommended-links .carousel-indicators [data-bs-target] { background-color: #FFF; width: 24px; height: 24px; margin: 0 6px; border-radius: 50%; opacity: 0.6; transition: opacity 0.5s; }
.recommended-links .carousel-indicators .active { opacity: 1; }
.recommended-links .carousel-indicators { bottom: -60px; }
.arrow-next-recommended-links {opacity: 0.7; background-color:transparent !important; box-shadow:none; top: 20px !important; position: absolute;}
.arrow-prev-recommended-links {opacity: 0.7; background-color:transparent; box-shadow:none; bottom:-45px; position: absolute;}
.recommended-links a{display: inline-block; transition: transform 0.3s ease, box-shadow 0.3s ease;}
.recommended-links a:hover{transform: scale(1.05); }

/* ##################### FOOTER #################### */
.curve-road-svg { position: absolute; top: clamp(-150px, -8vw, 0px);  left: 0; width: 100%; z-index: 1;}
@media (min-width: 1921px) and (max-width: 2499px) {
  .curve-road-svg {top: -180px;}
}

@media (min-width: 2500px) and (max-width: 2999px) {
  .curve-road-svg {top: -200px;}
}

@media (min-width: 3000px) and (max-width: 3499px) {
  .curve-road-svg {top: -250px;}
}

@media (min-width: 3500px) and (max-width: 3999px) {
  .curve-road-svg {top: -280px;}
}

@media (min-width: 4000px) and (max-width: 4999px) {
  .curve-road-svg {top: -338px;}
  .recommended-links {padding-bottom: 60px;}
}

@media (min-width: 5000px) {
  .curve-road-svg {top: -355px;}
  .recommended-links {padding-bottom: 60px;}
}

.bg-procurement-and-job { padding-bottom: clamp(80px, 12vw, 300px); }

    /* ##################### BANNER #################### */
    #partnerCarousel { position: relative; z-index: 1; }
    #partnerCarousel .carousel-control-prev,.carousel-control-next { position: absolute; width: 45px; height: 45px; background-color:#f3f4f5; border-radius: 50%;  position: absolute; top: 50%; transform: translateY(-50%); box-shadow:none;}
    #partnerCarousel .carousel-control-prev { left: -55px;}
    #partnerCarousel .carousel-control-next { /*right: -55px;*/}
    #partnerCarousel .carousel-control-prev-icon,
    #partnerCarousel .carousel-control-next-icon { position: absolute;  border: solid #282828; border-width: 0 3px 3px 0;  width: 15px; height: 15px; background-image: none;}
    #partnerCarousel .carousel-control-prev-icon { left: 19px; transform: rotate(-225deg); }
    #partnerCarousel .carousel-control-next-icon { right: 19px; transform: rotate(-45deg); }
    .partner-item a { display: inline-block; transition: transform 0.3s ease, box-shadow 0.3s ease;}
    .partner-item a:hover{transform: scale(1.05); }
    @media (max-width: 768px) {
      #partnerCarousel .carousel-control-next {right: 0px; }
      #partnerCarousel .carousel-control-prev {left: 0px; }
    }
.textfooter h2, .textfooter h3 { color: #003f72}
.name-bottom{color: #003f72}
.address-footer strong{color: #003f72}
.menu-bottom li a, .text-mail {color: #000; text-decoration: none;}
.menu-bottom li a:hover, .text-mail:hover {color: #0d6efd;}
.bg-copyright{background-color: #f3f4f5; color: #000; }
.bg-copyright nav a{color: #000; text-decoration: none;}
.bg-copyright a:hover{color: #0d6efd; }
.social-footer a img { transition: filter 0.3s ease, transform 0.3s ease;
  filter:
    drop-shadow(4px 0 6px rgba(0, 0, 0, 0.1))
    drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
  transition: filter 0.3s ease;
}
.social-footer a:hover img {
  transform: scale(1.05);
}

/* ##################### GO TO TOP #################### */
.go-to-top { position: fixed; bottom: 2px; right: 20px; cursor: pointer; display: none; z-index: 999;}
.go-to-top img { width: 70px; height: 70px; transition: transform 0.3s ease;}
.go-to-top:hover img { transform: scale(1.1);}

/* ##################### CHATBOT #################### */
.chatbot-container { position: fixed; bottom: 80px; right: 15px; z-index: 9999; }
.chatbot-toggle { background-color: #fc8204; color: white; border: none; border-radius: 50%; width: 80px; height: 80px; font-size: 24px; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.chatbot-box { display: none; position: absolute; bottom: 70px; right: 0; width: 300px; max-height: 400px; background-color: white; border: 1px solid #ddd; border-radius: 12px; overflow: hidden; flex-direction: column; }
.chatbot-header { background-color: #fc8204; color: black; padding: 8px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.chatbot-close { cursor: pointer; font-size:3rem; font-weight: 300; line-height: 0; }
.chatbot-body { padding: 15px; font-size: 1rem; color: #333; }

/* ##################### accessibility #################### */
#accessibility-btn {/*position: fixed; bottom: 170px; right: 30px;*/ display: none; cursor: pointer;/* z-index: 9999;*/}
#accessibility-btn button { background-color: #003f72; color: white; border: none; border-radius: 1px; padding: 5px; width: 70px; height: 70px; font-size: 24px; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
#accessibility-btn button:hover { background-color: #0056a3; }

@media (max-width: 992px) {
  .go-to-top, .chatbot-container, #accessibility-btn {right: 0px;}
}
.visually-hidden {position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;  clip: rect(0 0 0 0); white-space: nowrap; border: 0;}

/* ##################### Cookie Consent #################### */
.cookie-consent-container { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); width: 60%; max-width: 800px; background-color: #FFFFFF; border-radius: 30px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); padding: 20px; z-index: 9999; display: none; animation: slideUp 0.5s ease-out; border: 1px solid rgba(0, 0, 0, 0.05);}
@keyframes slideUp {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to { opacity: 1; transform: translate(-50%, 0);}
}
.cookie-header {display: flex; align-items: flex-start;}
.cookie-icon {background-color: #FFF2EC; border-radius: 50%; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; margin-right: 15px; flex-shrink: 0;}
.cookie-icon svg {width: 24px; height: 24px; color: #FF6B35;}
.cookie-title {font-weight: 600; font-size: 1.25rem; margin-bottom: 4px; color: #2D3748;}
.cookie-actions { display: flex; justify-content: flex-end; gap: 12px;}
.btn-accept { background-color: #8f4402; border: none; color: white; padding: 8px 20px; border-radius: 12px; font-weight: 600; transition: all 0.3s ease;}
.btn-accept:hover, .btn-accept:focus {background-color: #9f4c04; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);}

@media (max-width: 768px) {
    .cookie-consent-container {  width: 90%; padding: 20px; }
    .cookie-header { flex-direction: column; align-items: center; text-align: center; }
    .cookie-icon {margin-right: 0; margin-bottom: 12px;}
    .cookie-actions {flex-direction: column; }
    .btn-accept { width: 100%;}
}

/* ##################### PAGE #################### */
.page-bottom{ margin-bottom: 200px;}
.breadcrumb-custom { font-size: 1rem; text-align: right;}
.breadcrumb-custom a { color: #555; text-decoration: none;}
.breadcrumb-custom a:hover{color: #024dbc;}
.breadcrumb-custom span {padding-left: 5px; padding-right: 5px;}
.social-share { display: flex; flex-wrap: wrap; gap: 0px; align-items: flex-end; align-self: flex-start; }
.social-share a {text-decoration: none; cursor: pointer; vertical-align: bottom; transition: transform 0.2s ease-in-out; width: 44px; height: 44px; display: inline-flex; align-items: center;  justify-content: center; }
.social-share a:hover{transform: scale(1.1);}
.social-share a img { display: block;  }
.social-share a:focus { outline: 2px solid #024dbc; outline-offset: 3px;}
.text-muted {color: #555 !important;}

/*
.sidebar { background-color: white; border-radius: 0.75rem; box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);}
.sidebar .nav-link {color: #333; padding: 0.75rem 1rem; border-left: 4px solid transparent; border-radius: 0.5rem;}
.sidebar .nav-link:hover, .sidebar .nav-link:focus {background-color: rgba(0, 86, 179, 0.05);border-left-color: #0056b3;}
.sidebar .nav-link.active { background-color: rgba(0, 86, 179, 0.1); border-left-color: #004085; color: #004085; font-weight: 600; }
*/

.sidebar { background-color: white; border: 1px solid #eee; border-radius: 0.75rem; box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); height: auto;/* สูงตามเนื้อหา */ align-self: flex-start; /* ไม่ยืดเต็ม row */ padding: 0;}
.sidebar .no-link { white-space: normal; color: #003366; padding: 0.75rem 1.2rem; border-left: 4px solid transparent; border-radius: 0.75rem; font-weight: 500; transition: all 0.3s ease; display: flex; align-items: center; gap: 0.5rem; border-bottom: 1px solid #ddd;}
.sidebar .no-link.active:hover, .sidebar .no-link.active:hover *, .sidebar .no-link.active *:hover {  cursor: pointer; }
.sidebar .nav-link { white-space: normal; color: #003366; padding: 0.75rem 1.2rem; border-left: 4px solid transparent; border-radius: 0.75rem; font-weight: 500; transition: all 0.3s ease; display: flex; align-items: center; gap: 0.5rem; border-bottom: 1px solid #ddd;}
.sidebar .nav-link:hover:not(.active) {  white-space: normal; background: linear-gradient(90deg, #f0f5fc, #e8effa); border-left-color: #0056b3; color: #002244 !important; box-shadow: 0 2px 8px rgba(0, 67, 122, 0.15); }
.sidebar .nav-link.active {  white-space: normal; background: linear-gradient(135deg, #00478f, #003366); color: #ffffff; border-left-color: #00a8ff; font-weight: 600; box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 12px rgba(0, 40, 80, 0.25); border-bottom: none;}
.sidebar .nav-link.active:hover, .sidebar .nav-link.active:hover *, .sidebar .nav-link.active *:hover { background: linear-gradient(135deg, #00478f, #003366) !important; color: #ffffff !important; border-left-color: #00a8ff !important; box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 12px rgba(0, 40, 80, 0.25) !important; cursor: pointer; }
.sidebar .nav-link:focus { outline: 2px solid #0056b3; outline-offset: 2px; }
.sidebar .nav-link:focus:not(.focus-visible) { outline: none; }
  .sidebar .nav-tabs { border:0;}
@media (max-width: 767.98px) {
  .sidebar .nav-tabs { flex-direction: row !important; overflow-x: auto; -webkit-overflow-scrolling: touch;}
  .sidebar .nav-link { /*white-space: nowrap;*/ }
}
.sidebar .no-link.disabled,.sidebar .nav-link.disabled {color: #333 !important; opacity:1; font-weight:600;}
.sidebar .nav-link:hover .bi{ background: none !important;  box-shadow:none !important; }
.sidebar .nav-link.active:hover span { text-decoration: none !important; outline: none !important; box-shadow: none !important;}

/* ##################### History Page #################### */
.timeline-container { position: relative; padding-top: 30px; padding-bottom: 30px; }
.timeline-line { position: absolute; top: 0; left: 50%; width: 3px; height: 100%; background: #999; transform: translateX(-50%); z-index: 0; }
.timeline-line { top: 0; height: calc(35%); }
.timeline-line.dashed { top: 30%; height: calc(70%); border-left: 3px dashed #999; border-left: 3px solid transparent; border-image: repeating-linear-gradient(to bottom, #999 0, #999 10px, transparent 10px, transparent 20px); border-image-slice: 1; background: none; }
.timeline-event { position: relative; margin-top: 1rem; margin-bottom: 2rem; display: flex; align-items: flex-start; }
.timeline-event.left .content { padding: 0; width: 60%; text-align: right; padding-right: 7rem; position: relative;z-index: 1;}
.timeline-event.right .content { padding: 0; width: 60%; text-align: left; padding-left: 7rem; margin-left: auto; position: relative;z-index: 1;}
.timeline-event .year { width: 55%; font-weight: bold; font-size: 1.9rem; color: #757575; position: relative; z-index: 1;}
.timeline-event.left .year { order: 2; padding-left: 4rem; line-height: 30px; }
.timeline-event.right .year { order: 0; text-align: right; padding-right: 4rem; line-height: 30px; }
/* จุดวงกลม */
.timeline-dot { position: absolute; left: 50%; top: 0.5rem; width: 16px; height: 16px; background: #999; border-radius: 50%; z-index: 0; transform: translateX(-50%); }
.timeline-car { position: relative; text-align: center; margin: 0rem 0rem 5rem 0rem; }
.timeline-car img { width: 60px; position: relative; z-index: 1; }
/* เส้นแนวนอนสำหรับทุกจุด */
.timeline-dot::before {content: ""; position: absolute; top: 50%; width: 60px; height: 1px; background: #999; transform: translateY(-50%);}
.timeline-event.left .timeline-dot::before { left: 26px;}
.timeline-event.right .timeline-dot::before { right: 26px;}

/* Responsive */
@media (max-width: 768px) {
    .timeline-line { left: 30px; }
    .timeline-event, .timeline-event.left, .timeline-event.right { flex-direction: column; width: 100%; margin-left: 0; padding-left: 60px; }
    .timeline-event .content, .timeline-event.left .content, .timeline-event.right .content { width: 100%; text-align: left !important; padding: 0 !important; margin: 0 !important; }
    .timeline-event .year { width: 100%; text-align: left !important; padding: 0 !important; margin-bottom: 10px; font-size: 1.5rem;}
    .timeline-event.left .year { order: -1;}
    .timeline-dot { left: 30px; }
    .timeline-car { margin-left: 30px; text-align: left; margin-bottom: 3rem; }
    .timeline-car img { width: 40px; margin-left: 0; transform: translateX(-50%); position: relative; left: 0px; }
    /* ปรับเส้นแนวนอนให้สั้นลงในจอแท็บเล็ต */
    .timeline-dot::before { width: 12vw; max-width: 15px; min-width: 15px; }
    .timeline-event.left .timeline-dot::before,
    .timeline-event.right .timeline-dot::before { left: 18px; right: 18px; }
}
@media (max-width: 576px) {
    .timeline-line { left: 20px; }
    .timeline-event, .timeline-event.left, .timeline-event.right { padding-left: 40px; }
    .timeline-dot { left: 20px; }
    .timeline-car { margin-left: 20px; }
    .timeline-car img { width: 40px; left: 0px; }

    /* ปรับเส้นแนวนอนให้สั้นลงในมือถือ */
    .timeline-dot::before { width: 20vw; max-width: 10px; min-width: 10px; }
    .timeline-event.left .timeline-dot::before,
    .timeline-event.right .timeline-dot::before { left: 14px; right: 14px; }
}

/* ##################### org structure Page #################### */
.org-chart {
  --org-primary-color: #445b72;
  --org-secondary-color: #95d1fa;
  --org-accent-color: #e74c3c;
  --org-light-color: #ecf0f1;
}

.org-chart { position: relative; padding: 0rem 0 0rem 0; min-height: 800px; }
.org-level { display: flex; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; position: relative; }
.org-node { background-color: white; border: 2px solid var(--org-primary-color); border-radius: 12px; padding: 0.5rem; margin: 0.5rem; text-align: center; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; position: relative; z-index: 10; }
/*.org-node:hover { transform: translateY(-5px); box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15); }*/
.org-node h3, .org-node h4, .org-node h5 { margin: 0.5rem 0; font-weight: 600; }
.org-node.level-1 { background-color: var(--org-primary-color); color: white; border-color: var(--org-primary-color); width: 60%; }
.org-node.level-2 { background-color: var(--org-secondary-color); color: white; border-color: var(--org-secondary-color); flex: 1; min-width: 300px; max-width: 500px; }
.org-node.level-3 { background-color: var(--org-light-color); color:#000; flex: 1 0 18%; padding: 1rem 0rem; min-width: 200px; max-width: 300px; font-weight: 700;}
.org-node.full-width { flex: 0 0 100%; max-width: 100%; }
.connectors-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.connector { position: absolute; background-color: #b3b3b3; z-index: 1; }
.connector.vertical { width: 2px; }
.connector.horizontal { height: 2px; }
.org-chart-container { overflow-x: auto; position: relative; }
.org-node:focus { outline: 3px solid #005fcc; outline-offset: 2px; }
@media (prefers-contrast: high) { .org-node { border-width: 3px; } .connector { background-color: #000; } }
@media print { .org-node { break-inside: avoid; box-shadow: none; border: 2px solid #000; } .org-node.level-1 { background-color: #fff; color: #000; border: 3px solid #000; } }
@media (max-width: 1200px) { .org-node.level-3 { flex: 1 0 22%; } }
@media (max-width: 992px) { .org-node.level-3 { flex: 1 0 30%; } .level-2-container { flex-direction: column; align-items: center; } .org-node.level-2 { min-width: 90%; max-width: 90%; } }
@media (max-width: 768px) { .org-level { flex-direction: column; align-items: center; } .org-node { min-width: 90%; margin: 0.5rem 0; } .org-node.level-3 { flex: 1 0 100%; } }
.skip-link { position: absolute; top: -40px; left: 6px; background: #000; color: #fff; padding: 8px; z-index: 100; text-decoration: none; }
.skip-link:focus { top: 0; }
.org-node ul { text-align: left; padding-left: 1rem; margin-bottom: 0; }
.org-node li { margin-bottom: 0.25rem; }
.level-2-container { display: flex; justify-content: space-between; gap: 2rem; width: 100%; }

/* =========================
   Level-2 node (หัว + เนื้อหา)
   ========================= */
.org-node.level-2 { background: transparent;  border: none; box-shadow: none; padding: 0; display: flex; flex-direction: column;
  overflow: hidden;  border-radius: 12px; flex: 1; min-width: 300px; max-width: 500px;}

/* ส่วนหัวกล่อง */
.org-node.level-2 .node-header {  background-color: #4ba6e3; color: #000; font-weight: 700;  text-align: center;  padding: 0.5rem 0.5rem;
  /*border-top-left-radius: 12px;  border-top-right-radius: 12px;*/ margin: 0px 10px 0px 10px; border-radius: 12px;  z-index: 1;}

/* ส่วนเนื้อหากล่อง */
.org-node.level-2 .node-body {  background-color: var(--org-secondary-color);  color: #000;  padding: 2rem; border-radius: 12px; /*border-bottom-left-radius: 12px;  border-bottom-right-radius: 12px;*/
  border: 1px solid #ccc;  border-top: none; margin-top: -5px; z-index: 0;}
.org-node.level-2 .node-body ul {  margin: 0;  padding-left: 1.5rem;  text-align: left;}
.org-node.level-2 .node-body li {  font-weight: 600;  margin-bottom: 0.4rem;}

.white-icon { filter: brightness(0) invert(1);}
.blue-icon { filter: invert(37%) sepia(70%) saturate(2900%) hue-rotate(190deg) brightness(95%) contrast(90%);}

/* ##################### คณะผู้บริหารปัจจุบัน board executives Page #################### */
.board-chart {text-align: center; margin-top: 150px; }
.board-level { display: flex; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; gap: 30px; align-items: flex-start !important; }
.board-card-1 { position: relative; width: 350px; background: linear-gradient(to bottom, white 90%, rgba(243, 156, 18, 0.1)); border-radius: 15px; border-top: 4px solid #f39c12; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); padding: 40px 10px 25px; transition: transform 0.2s; display: flex; flex-direction: column; }
.board-card-1:hover { transform: translateY(-5px); }
.board-card { position: relative; width: 300px;     background: linear-gradient(to bottom, white 90%, rgba(40, 116, 166, 0.1)); border-radius: 15px; border-top: 4px solid #2874a6; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); padding: 40px 10px 25px; transition: transform 0.2s; display: flex; flex-direction: column; }
.board-card:hover { transform: translateY(-5px); }
.board-card img, .board-card-1 img { position: absolute; top: -130px; left: 50%; transform: translateX(-50%); width: 150px; height: 150px; border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.board-name-th { font-weight: 700; color: #1a5276; font-size: 1.3rem; font-weight: 600; margin-bottom: 3px; }
.board-name-en { font-size: 1rem; color: #1b6393; margin-bottom: 5px; }
.board-position { font-size: 1rem; color: #333; font-weight: 600; }
.board-level .board-card,.board-level .board-card-1 {  margin-bottom: 120px !important;}
@media (min-width: 1200px) {.board-level:nth-child(4) .board-card, .board-level:nth-child(4) .board-card-1 {  margin-bottom: 0 !important;}}
@media (max-width: 1200px) {.board-level:nth-child(4) .board-card:last-child, .board-level:nth-child(4) .board-card-1:last-child { margin-bottom: 0 !important;}}

/* ##################### ทำเนียบอธิบดี board former directors Page #################### */
.former-timeline { display: flex; flex-direction: column; align-items: center; padding: 1rem;  }
.former-timeline-item, .former-timeline-item-connector { display: grid; grid-template-columns: 180px 2px 1fr; align-items: center; width: 100%; max-width: 400px; margin: 0 auto;}
.former-timeline-date-wrapper { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; background-color: #fff; }
.former-timeline-date { text-align: center; font-weight: 600; background-color: #f6e3b6; border-radius: 0.5rem; padding: 0.5rem 1rem; color: #000; font-size: 1rem; min-width: 150px; }
.former-timeline-dash { font-weight: 600; font-size: 1rem; line-height: 1; color: #000; }
.former-timeline-connector { width: 2px; height: 100px; background-color: #B8860B; margin-left: auto; margin-right: auto; position: relative; }
.former-timeline-connector::before, .former-timeline-connector::after { content: ""; display: block; width: 10px; height: 10px; background-color: #B8860B; border-radius: 50%; position: absolute; left: 50%; transform: translateX(-50%); }
.former-timeline-connector::before { top: 0; }
.former-timeline-connector::after { bottom: 0; }
.former-timeline-content { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: 1rem; position: relative; }
.former-timeline-avatar { width: 120px; height: 140px; flex-shrink: 0; object-fit: cover; object-position: top; border-radius: 0.75rem; }
.former-timeline-order { position: absolute; top: 15px; left: 150px; background-color: #f6e3b6; color: #000; width: 33px; height: 33px;border-radius: 50%; font-size: 1rem; font-weight: 400; padding: 5px; text-align: center; line-height: 1.5; user-select: none;  }
.former-timeline-name { margin: 0; font-size: 1.1rem; color: #000; font-weight: 600; flex-shrink: 0; }

@media (max-width: 576px) {
  .former-timeline-item, .former-timeline-item-connector { grid-template-columns: 1fr !important; text-align: center; max-width: 100%; padding: 0 1rem; margin-bottom:10px;}
  .former-timeline-content { flex-direction: column; align-items: center; }
  .former-timeline-avatar { width: 100px; height: 100px; }
  .former-timeline-order { position: static; margin-top: -8px; margin-bottom: -8px; left: auto; width: 30px; height: 30px; line-height: 33px;  font-size: 0.9rem; padding: 0; }
  .former-timeline-connector { height: 60px; margin-left: auto; margin-right: auto; }
  .former-timeline-date { min-width: auto; width: auto; padding: 0.3rem 0.8rem; font-size: 0.9rem; }
  .former-timeline-date-wrapper { gap: 0.15rem; }
}
@media (min-width: 577px) and (max-width: 670px) {
.former-timeline-item, .former-timeline-item-connector { max-width: 100%; padding: 0 0.5rem; grid-template-columns: 140px 2px 1fr;  }
.former-timeline-date { min-width: 120px; padding: 0.4rem 0.6rem; font-size: 0.95rem; }
.former-timeline-avatar { width: 100px; height: 100px; }
.former-timeline-order { left: 120px; top: 12px; width: 28px; height: 28px; font-size: 0.9rem; padding: 4px; }
}

/* ##################### หน้าที่ความรับผิดชอบ responsibilities Page #################### */
.responsibilities-list { counter-reset: item; list-style: none; padding-left: 0; }
.responsibilities-list li { counter-increment: item; position: relative; padding-left: 2.7rem; margin-bottom: 0.5rem; }
.responsibilities-list li::before { content: counter(item) "."; position: absolute; left: 0; top: 0.2rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; background-color: rgb(212, 233, 248); display: flex; align-items: center; justify-content: center; font-weight: normal;}

.downloads-table { border-radius: 1rem; overflow: hidden;}
.downloads-table thead th { background-color: #f3f4f6; color: #111827; font-weight: 600; font-size: 1rem; padding: 12px 10px 12px 10px;}
.downloads-table tbody tr { border-bottom: 1px solid #e5e7eb;}
.downloads-table tbody tr:last-child { border-bottom: none;}
.downloads-table tbody tr td { padding: 12px 10px; vertical-align: middle; }
.downloads-table tbody tr td a { color: #000; text-decoration: none; transition: all 0.2s ease;}
.downloads-table tbody tr td a:hover { text-decoration: none; color: #0a58ca;}
.downloads-table a.btn {transition: all 0.2s ease;}
.downloads-table a.btn:hover {background-color: #d7f7fd; border: 1px solid #FFF;}
.btn-download { display: inline-flex; justify-content: center; align-items: center; padding: 8px; width: 70px;}
.downloads-table tbody tr:nth-child(even):hover td {  background-color: #f8f9fa;}
.tr-dis-hover:hover{  background-color: #FFF !important;}
.col-download{width: 130px;}

/* ##################### ebook #################### */
.ebook img { width: 200px; height: 283px; object-fit: cover; object-position: top; border-radius: 1px; box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25); transition: transform 0.3s ease, box-shadow 0.3s ease;}
.ebook-annual-report img { width: 250px; height: 354px; object-fit: cover; object-position: top; border-radius: 1px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); transition: transform 0.3s ease, box-shadow 0.3s ease;}
.ebook-annual-report a {text-decoration: none; color: #000;}
.ebook-annual-report a:hover {color: #0a58ca;}
.journal img { width: 250px; height: 354px; /*width: 176px; height: 248px;*/ object-fit: cover; object-position: top; border-radius: 1px; box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25); transition: transform 0.3s ease, box-shadow 0.3s ease;}
.journal a {text-decoration: none; color: #000;}
.journal a:hover {color: #0a58ca;}
.btn-download2 {font-size: 0.9rem; padding: 8px 15px 8px 15px; margin-bottom: 5px; display: inline-block; border-radius: 6px; border: 1px solid #C4C3C3; color: #333; text-decoration: none;}
.btn-download2 img{width: 20px; height: 20px; box-shadow: none; }
.btn-download2:hover { background-color: #d7f7fd; border-color: #C4C3C3; text-decoration: none; }
.btn-download3 {min-width: 120px; font-size: 0.9rem; padding: 5px 10px 5px 10px; margin-bottom: 5px; display: inline-block; border-radius: 6px; border: 1px solid #C4C3C3; color: #333; text-decoration: none;}
.btn-download3 img {width: 26px; box-shadow: none; }
.btn-download3:hover { background-color: #e4f5f9; border-color: #C4C3C3; text-decoration: none; }

.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;  text-overflow: ellipsis;  min-height: 4.2rem; }
.clamp-1 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;  text-overflow: ellipsis;  min-height: 3rem; }
.clamp-1-journal { display: -webkit-box; -webkit-line-clamp: 1; overflow: hidden;  text-overflow: ellipsis;  min-height: 3rem; }

/* ##################### กลยุทธ์ strategy #################### */
.section-title {position: relative; padding-bottom: 1rem; margin-bottom: 2rem; color: #1a3e8c; display: inline-block; }
.section-title:after {content: ''; position: absolute; left: 0; bottom: 8px; width: 100%; height: 4px; background: linear-gradient(90deg, #1a3e8c 0%, #0d6efd 100%); border-radius: 0.75rem;}
.section-title2 {position: relative; padding-bottom: 1rem; color: #1a3e8c; display: inline-block; }
.section-title2:after {content: ''; position: absolute; left: 0; bottom: 8px; width: 100%; height: 4px; background: linear-gradient(90deg, #1a3e8c 0%, #0d6efd 100%); border-radius: 0.75rem;}

.shadow-notop { box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);}
.shadow-notop2 { box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); border-radius: 0.75rem; padding: 1rem 2rem; text-align: center;}
.shadow-havetop { background-color: #ffffff;  border-top: 4px solid #0056b3; border-radius: 0.75rem; padding: 1rem 2rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);}
.circle-number { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background-color: #52a4e3; color: black; font-weight: 600; margin-bottom: 10px;}
.circle-number2 { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background-color: #52a4e3; color: black; font-size: 1.2rem; font-weight: 700; margin-bottom: 10px;}

.strategy-card { background-color: #ffffff; border-radius: 0.75rem; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.strategy-card:focus-within {box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }
.strategy-card-header { background-color: #52a4e3; text-align: center; padding: 0.4rem 0; }
.strategy-card-header2 { background-color:#52a4e3; text-align: left; padding: 0.7rem 2rem; font-weight: 500; font-size: 1.3rem;}
.strategy-letter { font-weight: 700; font-size: 1.75rem; color: #000; display: inline-block; }
.strategy-card-body { padding: 1rem 2rem; }
.strategy-card:focus-within { outline: 3px solid #2563eb; outline-offset: 4px; }
.numbering{padding-left: 3em;}
.nested-numbering-1 { counter-reset: item; list-style: none; padding-left: 3em; }
.nested-numbering-1 > li { counter-increment: item; position: relative; }
.nested-numbering-1 > li::before { content: "1." counter(item) ". "; position: absolute; left: -2em; }

.nested-numbering-2 { counter-reset: item; list-style: none; padding-left: 3em;}
.nested-numbering-2 > li { counter-increment: item; position: relative; }
.nested-numbering-2 > li::before { content: "2." counter(item) ". "; position: absolute; left: -2em; }

.nested-numbering-3 { counter-reset: item; list-style: none; padding-left: 3em;}
.nested-numbering-3 > li { counter-increment: item; position: relative; }
.nested-numbering-3 > li::before { content: "3." counter(item) ". "; position: absolute; left: -2em; }

.nested-numbering-4 { counter-reset: item; list-style: none; padding-left: 3em;}
.nested-numbering-4 > li { counter-increment: item; position: relative; }
.nested-numbering-4 > li::before { content: "4." counter(item) ". "; position: absolute; left: -2em; }

.nested-numbering-5 { counter-reset: item; list-style: none; padding-left: 3em;}
.nested-numbering-5 > li { counter-increment: item; position: relative; }
.nested-numbering-5 > li::before { content: "5." counter(item) ". "; position: absolute; left: -2em; }

.box_strategy_download {position: relative; background-color: #f0f0f0; border-radius: 0.75rem; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); color: #1a1a1a; overflow: hidden; }
.box_strategy_download h2 { font-size: 1.5rem; color: #000; }
.btn-strategy-download { display: inline-flex; align-items: center; justify-content: center; background-color: #37c157; color: #000; font-weight: 600; border-radius: 0.75rem; padding: 0.6rem 1.25rem; font-size: 1rem; text-decoration: none; border: none; transition: background-color 0.2s ease, transform 0.2s ease; }
.btn-strategy-download:hover, .btn-strategy-download:focus { background-color: #2cb54c; color: #000; transform: translateY(-2px); }
.box_strategy_download::before { content: ""; position: absolute; top: 30%; left: 0; width: 80px; height: 4px; background-color: #0056b3; border-radius: 2px; transform: translateY(-50%);}

/* ##################### บุคลากร chart #################### */
.officials-chart-container { width: 100%; margin: 0 auto; padding-top: 1rem;}
.officials-chart-title { font-size: 1.5rem; text-align: center; font-weight: 600; color: #0f172a; line-height: 1.3; }
.officials-chart-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.officials-chart-wrapper { position: relative; height: 500px; margin-bottom: 1rem; }
.officials-chart-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; font-size: 1rem; }
.officials-chart-legend-item { display: flex; align-items: center; gap: 0.75rem; padding: 8px 12px; border-radius: 8px; background-color: #f8fafc; transition: transform 0.2s, box-shadow 0.2s; }
.officials-chart-legend-item:hover, .officials-chart-legend-item:focus-within { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }
.officials-chart-legend-color { width: 20px; height: 20px; border-radius: 4px; display: inline-block; border: 2px solid rgba(255, 255, 255, 0.8); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); }
.officials-chart-color-1 { background-color: #4f46e5; }
.officials-chart-color-2 { background-color: #0ea5e9; }
.officials-chart-color-3 { background-color: #d946ef; }
.officials-chart-data-table { width: 100%; max-width: 900px; margin: 2rem auto 0; border-collapse: collapse; font-size: 0.95rem; }
.officials-chart-data-table th, .officials-chart-data-table td { padding: 12px 15px; text-align: left; border-bottom: 1px solid #e2e8f0; }
.officials-chart-data-table th { background-color: #f1f5f9; font-weight: 600; }
.officials-chart-data-table tr:hover { background-color: #f8fafc; }
.officials-chart-total-row { font-weight: 600; background-color: #f1f5f9; }
.officials-chart-focus-indicator:focus { outline: 3px solid #4f46e5; outline-offset: 2px; border-radius: 4px; }

@media (max-width: 768px) {
  .officials-chart-wrapper { height: 400px; }
  .officials-chart-title { font-size: 1.3rem; }
  .officials-chart-legend { flex-direction: column; align-items: center; gap: 1rem; }
}

@media (max-width: 480px) {
  .officials-chart-wrapper { height: 350px; }
}

@media (prefers-contrast: high) {
  .officials-chart-legend-color { border: 2px solid #000; }
  .officials-chart-container { border: 2px solid #1e293b; }
}

@media (prefers-reduced-motion: reduce) {
  .officials-chart-legend-item { transition: none; }
}

/* ##################### รายงานประจำปี annual-report #################### */
.btn-filter { display: inline-flex; align-items: center; justify-content: center; background-color: #084299; color: #FFF; font-weight: 600; border-radius: 0.5rem; padding: 0.5rem 1rem; font-size: 1rem; text-decoration: none; border: none; cursor: pointer; transition: background-color 0.2s ease, transform 0.2s ease; margin-right: 10px; }
.btn-filter:hover, .btn-filter:focus { background-color: #0a4caf; color: #FFF; }
.btn-filter.active { background-color: #2563eb; color: #fff; }

/* ##################### pagination #################### */
.pagination-doh .page-link { color: #1a3e8c; border: 1px solid #1a3e8c; background-color: #ffffff; transition: 0.2s ease; }
.pagination-doh .page-link:hover,
.pagination-doh .page-link:focus { background-color: #1a3e8c; color: #ffffff; border-color: #1a3e8c; outline: 3px solid #1a3e8c; outline-offset: 2px; }
.pagination-doh .page-item.active .page-link { background-color: #1a3e8c; color: #ffffff; border-color: #1a3e8c; }
.pagination-lg .page-link { white-space: nowrap; }

/* ##################### แอปบริการประชาชน citizen_service_apps #################### */
.icon-app{width: 128px; height: 128px; border-radius: 10px; display: block; margin: 0 auto; margin-bottom: 20px;}
.icon-app-detail{width: 128px; height: 128px; border-radius: 10px; display: block; margin-bottom: 20px;}
.btn-readmore { display: inline-block; background-color: #024dbc; color: white; border-radius: 8px; padding: 0.3rem 1.3rem; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; border: none;  cursor: pointer;}
.btn-readmore:hover, .btn-readmore:focus { background-color:#1660d0; color: white; }
.btn-blue-gradient{ display: inline-block; background: linear-gradient(90deg, #086bcd, #014fa7); border-radius: 20px; color: white;  font-size: 1rem; text-decoration: none;  /*border: 2px solid red; ขอบ */ outline: 1.5px solid white; outline-offset: -4px; box-sizing: border-box; cursor: pointer; padding: 10px 20px;}
.btn-blue-gradient:hover{ background: linear-gradient(90deg, #014fa7, #086bcd);}
.manual-app a{color: #000; text-decoration: none; transition: all 0.2s ease;}
.manual-app a:hover { text-decoration: none; color: #0a58ca;}
.border-divider-top {border-top: 1px solid #bbb}
.border-divider { width: 1px; background-color: #bbb; height: 100%; margin: auto 0;}
.list-feature { margin: 0;}
.list-feature ul { list-style: none; padding-left: 0; margin-top: 20px; }
.list-feature ul li { position: relative; padding-left: 30px; margin-bottom: 0.5rem; }
.list-feature ul li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; background-image: url('../images/icon-check 1.svg'); background-size: contain; background-repeat: no-repeat; background-position: center; }

/* ##################### หน่วยงานภูมิภาค regional-offices #################### */
.btn-filter2 { background-color: #084299; color: #FFF; text-decoration: none; border: none; cursor: pointer; transition: background-color 0.2s ease, transform 0.2s ease; margin-right: 10px; }
.btn-filter2:hover, .btn-filter:focus { background-color: #0a4caf; color: #FFF; }
.btn-filter2.active { background-color: #2563eb; color: #fff; }

.link-contact{text-decoration: none; color: #000;}
.link-contact:hover{ color: #0a58ca;}
.select2-results .text-primary { color: #0350c4 !important;}
.select2-results__option--selected span.text-primary { color: #FFF !important; }
.select2-results__option.select2-results__option--selected{background-color:#0350c4 !important;}

/* ##################### CONTACT #################### */
.contact-icon {font-size: 1.5rem; margin-bottom: 15px; color: #0b5394;}
.contact-info-card{background-color: #ffffff; border-top: 4px solid #2874a6; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee; border-radius: 0.75rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);}
.map-container {border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); border: 1px solid #dee2e6;}
.region-tab { border-bottom: 2px solid #0b5394; background-color: #ffffff; box-shadow: inset 0 -1px 0 rgba(11, 83, 148, 0.2); padding-left: 10px; padding-right: 10px; }
.region-tab .nav-link { color: #555; font-size: 1.15rem; font-weight: 600; padding: 12px 28px; border: none; border-radius: 8px 8px 0 0; transition: all 0.3s ease; margin-right: 12px; position: relative; }
.region-tab .nav-link:hover { color: #0b5394; background-color: #e6f0fb; cursor: pointer; box-shadow: 0 4px 8px rgba(11, 83, 148, 0.1); }
.region-tab .nav-link.active { color: #0b5394; background-color: #f0f8ff; border-bottom: 4px solid #0b5394; margin-bottom: -2px; font-weight: 700; z-index: 2; }
@media (max-width: 576px) { .region-tab .nav-link { padding: 10px 16px; font-size: 1rem; margin-right: 8px; } }

/* ##################### สถิติทางหลวง statistic-chart #################### */
.page-title-stat{ color: #034199; margin-bottom: 10px; font-weight: 700; /*border-bottom: 2px solid #dee2e6;*/}
.chart-container { position: relative; height: 500px; margin-bottom: 30px; }
.note-section { margin-top: 30px; padding: 20px; background-color: #f8f9fa; border-radius: 8px;  border-left: 4px solid #2c5282; }
.note-title { font-weight: 600; color: #2d3748; margin-bottom: 10px; }
.note-list { margin: 0; padding-left: 20px; color: #4a5568; }
.note-list li { margin-bottom: 8px; }
.filter-stat-controls { display: flex; justify-content: center; gap: 15px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-stat-btn { padding: 8px 16px; background: #e2e8f0; border: none;border-radius: 6px; font-family: 'Prompt', sans-serif; font-weight: 500;  cursor: pointer; transition: all 0.3s ease;}
.filter-stat-btn.active { background: #2c5282; color: white;        }
@media (max-width: 768px) {
    .chart-container { height: 400px; }
}

/* ##################### การขออนุญาตที่เกี่ยวข้องกับกรมทางหลวง doh_access_permit Page #################### */
.access_permit-list { counter-reset: item; list-style: none; padding-left: 0; }
.access_permit-list li { counter-increment: item; position: relative; padding-left: 2.7rem; margin-bottom: 0.5rem; font-size: 1.2rem; font-weight: 600; }
.access_permit-list li::before { content: counter(item) "."; position: absolute; left: 0; top: 0rem; width: 2rem; height: 2rem; border-radius: 50%; background-color: rgb(212, 233, 248); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 600; }
.circle-1-number { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background-color: #7bd7f9; color: #000; font-weight: 600; margin-right: 8px; font-size: 1.2rem; }

.step-container {display: flex; flex-wrap: wrap; justify-content: start; align-items: stretch; gap: 15px; margin-bottom: 40px; }
.step-box1 {flex: 1 1 auto; min-height: 180px; max-width: 200px; background: linear-gradient(to top, #ffffff, #e5edf7); border: 2px solid #1255b1; border-radius: 30px; padding: 10px 5px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: transform 0.2s, box-shadow 0.2s; text-align: center; display: flex; flex-direction: column;  }
.step-box1:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.step-box2 {flex: 1 1 auto; min-height: 180px; max-width: 260px; background: linear-gradient(to top, #ffffff, #e5edf7); border: 2px solid #1255b1; border-radius: 30px; padding: 10px 5px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: transform 0.2s, box-shadow 0.2s; text-align: center; display: flex; flex-direction: column;  }
.step-box2:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.step-title {font-size: 1.1rem; font-weight: 500; color: #000; }
.step-time {font-size: 1rem; color: #844803; font-weight: 600; border: 1px solid #ccc; background-color: #fdfded; border-radius: 20px; display: inline-flex;  display: inline-flex; justify-content: center; align-items: center; padding: 0.3rem 0.8rem; width: fit-content; margin: auto auto 0; margin-top: auto;}
.step-icon {font-size: 1.2rem; color: #0458d5; display: flex; border-radius: 50%; background-color: #FFF; width: 44px; height: 44px; align-items: center; justify-content: center; margin: 0 auto 10px;}
.step-arrow {display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #0d6efd; }
.step-infobox { background-color: #eff3f7; line-height: 1.8;  border-left: 6px solid #1255b1; border-radius: 8px;  padding: 20px; }

/* ##################### NEWS Page #################### */
.news-gallery img{width: 260px; height: 183px; border-radius: 10px !important; object-fit: cover; object-position: top;}

/* ##################### PROCUREMENT Page #################### */
.procurement-box {border: 1px solid #eee;  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1); border-radius: 8px; padding: 20px 10px;}
.procurement-table { border-radius: 1rem; overflow: hidden;}
.procurement-table thead th { background-color: #e7eff5; text-align: center; color: #111827; font-weight: 600; font-size: 1rem; padding: 12px 10px 12px 10px;}
.procurement-table tbody tr { border-bottom: 1px solid #e5e7eb;}
.procurement-table tbody tr:last-child { border-bottom: none;}
.procurement-table tbody tr td { padding: 12px 10px; vertical-align: middle; text-align: center;}
.procurement-table tbody tr td a { color: #000; text-decoration: none; transition: all 0.2s ease;}
.procurement-table tbody tr td a:hover { text-decoration: none; color: #0a58ca;}
.procurement-table a.btn {transition: all 0.2s ease;}
.procurement-table a.btn:hover {background-color: #d7f7fd; border: 1px solid #FFF;}
.procurement-table tbody tr:nth-child(even):hover td { background-color: #f8f9fa !important;}
.procurement-table td:nth-child(2) {text-align: left;}
.procurement-table td:nth-child(4) {text-align: right;}
@media (min-width: 768px) {
  .col-procurement { width: 130px; }
  .col-procurement2 { width: 203px; }
  .col-procurement3 { width: 172px; }
}

@media (max-width: 767.98px) {
  .col-procurement,
  .col-procurement2,
  .col-procurement3 { width: auto; min-width: 80px; }
}
.procurement-iconbox { width: 70px; height: 70px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; transition: all 0.3s;}
.text-brown{color: #834201;}
.bg-gray {background-color:#d3d3d3 ;}
.bg-brown {background-color:#f5eae0 ;}
.btn-outline-brown { border:1px solid #834201;}
.btn-outline-brown:hover { background-color: #834201; color: #FFF;}
.badge-procurement { font-size: 0.9rem; font-weight: 600; padding: 0.3rem 0.8rem !important;  }
.disabled { pointer-events: none; /* ปิดการคลิก */  opacity: 0.4; cursor: not-allowed; /* แสดงเมาส์แบบห้ามคลิก */ filter: grayscale(100%); }

.procurement-plan-table { border-radius: 1rem; overflow: hidden;}
.procurement-plan-table thead th { background-color: #e7eff5; text-align: center; color: #111827; font-weight: 600; font-size: 1rem; padding: 12px 10px 12px 10px;}
.procurement-plan-table tbody tr { border-bottom: 1px solid #e5e7eb;}
.procurement-plan-table tbody tr:last-child { border-bottom: none;}
.procurement-plan-table tbody tr td { padding: 12px 10px; vertical-align: middle; text-align: center; }
.procurement-plan-table tbody tr td a { color: #000; text-decoration: none; transition: all 0.2s ease;}
.procurement-plan-table tbody tr td a:hover { text-decoration: none; color: #0a58ca;}
.procurement-plan-table a.btn {transition: all 0.2s ease;}
.procurement-plan-table a.btn:hover {background-color: #d7f7fd; border: 1px solid #FFF;}
.procurement-plan-table tbody tr:nth-child(even):hover td { background-color: #f8f9fa !important;}
.procurement-plan-table th, .procurement-plan-table td {text-align: center;}
.procurement-plan-table td:nth-child(2) {text-align: left;}
@media (min-width: 768px) {
  .col-procurement-plan { width: 130px; }
  .col-procurement-plan2 { width: 228px; }
}

.procurement-progress-table { border-radius: 1rem; overflow: hidden;}
.procurement-progress-table thead th { background-color: #e7eff5; text-align: center; color: #111827; font-weight: 600; font-size: 1rem; padding: 12px 10px 12px 10px; vertical-align: middle;}
.procurement-progress-table tbody tr { border-bottom: 1px solid #e5e7eb;}
.procurement-progress-table tbody tr:last-child { border-bottom: none;}
.procurement-progress-table tbody tr td { padding: 12px 10px; vertical-align: middle;text-align: center; }
.procurement-progress-table tbody tr td a { color: #000; text-decoration: none; transition: all 0.2s ease;}
.procurement-progress-table tbody tr td a:hover { text-decoration: none; color: #0a58ca;}
.procurement-progress-table a.btn {transition: all 0.2s ease;}
.procurement-progress-table a.btn:hover {background-color: #d7f7fd; border: 1px solid #FFF;}
.procurement-progress-table tbody tr:nth-child(even):hover td { background-color: #f8f9fa !important;}
.procurement-progress-table th, .procurement-progress-table td {text-align: center; word-break: break-all; white-space: normal; }
.procurement-progress-table td:nth-child(3) {text-align: left;  }
.procurement-progress-table td:nth-child(4) {text-align: right;}
.procurement_progress_col-1{min-width: 124px;}
.procurement_progress_col-2{min-width: 328px;}
.procurement_progress_col-3{min-width: 140px;}
.procurement_progress_col-4{min-width: 110px;}

.table-section-procurement_progress { width: 95vw; position: relative; left: calc(-60vw + 50%); right: calc(-60vw + 50%); background: #fff; box-sizing: border-box; z-index: 1;}
@media (max-width: 768px) {
   .table-section-procurement_progress { width: 100%; left: 0; transform: none; right: auto; padding: 0 15px;}
}

.procurement-summary-table { border-radius: 1rem; overflow: hidden;}
.procurement-summary-table thead th { background-color: #e7eff5; text-align: center; color: #111827; font-weight: 600; font-size: 1rem; padding: 12px 10px 12px 10px;vertical-align: middle;}
.procurement-summary-table tbody tr { border-bottom: 1px solid #e5e7eb;}
.procurement-summary-table tbody tr:last-child { border-bottom: none;}
.procurement-summary-table tbody tr td { padding: 12px 10px; vertical-align: middle; }
.procurement-summary-table tbody tr td a { color: #000; text-decoration: none; transition: all 0.2s ease;}
.procurement-summary-table tbody tr td a:hover { text-decoration: none; color: #0a58ca;}
.procurement-summary-table a.btn {transition: all 0.2s ease;}
.procurement-summary-table a.btn:hover {background-color: #d7f7fd; border: 1px solid #FFF;}
.procurement-summary-table tbody tr:nth-child(even):hover td { background-color: #f8f9fa !important;}
.procurement-summary-table th, .procurement-summary-table td {text-align: center; }
.procurement-summary-table td:nth-child(1) {text-align: left;  }
.procurement_summary_col-1{min-width: 400px;}
.procurement_summary_col-2{min-width: 150px;}
.table-section-procurement_summary { width: 95vw; position: relative; left: calc(-60vw + 50%); right: calc(-60vw + 50%); background: #fff; box-sizing: border-box; z-index: 1;}
@media (max-width: 768px) {
   .table-section-procurement_summary { width: 100%; left: 0; transform: none; right: auto; padding: 0 15px;}
}
@media (min-width: 768px) {
  .table-section-procurement_summary { margin-top: 120px; }
}
/* ##################### JOBS Page #################### */
.jobs-table { border-radius: 1rem; overflow: hidden;}
.jobs-table thead th { background-color: #e7eff5; text-align: center; color: #111827; font-weight: 600; font-size: 1rem; padding: 12px 10px 12px 10px;}
.jobs-table tbody tr { border-bottom: 1px solid #e5e7eb;}
.jobs-table tbody tr:last-child { border-bottom: none;}
.jobs-table tbody tr td { padding: 12px 10px; vertical-align: middle; }
.jobs-table tbody tr td a { color: #000; text-decoration: none; transition: all 0.2s ease;}
.jobs-table tbody tr td a:hover { text-decoration: none; color: #0a58ca;}
.jobs-table a.btn {transition: all 0.2s ease;}
.jobs-table a.btn:hover {background-color: #d7f7fd; border: 1px solid #FFF;}
.jobs-table tbody tr:nth-child(even):hover td { background-color: #f8f9fa !important;}
.jobs-table th:nth-child(4), .jobs-table td:nth-child(4) {text-align: right;}
@media (min-width: 768px) {
  .col-jobs { width: 240px; }
}
.jobs-table td:nth-child(1) { text-align: center; vertical-align: middle;}

/* ##################### VDO Page #################### */
.vdo-list p{ height: 60px; overflow: hidden;}

/* ##################### ข้อมูลทางหลวง highway-info Page #################### */
.road-card { transition: transform 0.3s, box-shadow 0.3s; border-left: 4px solid; }
.highway-special { border-left-color: #dc3545; }
.highway-national { border-left-color: #0d6efd; }
.highway-rural { border-left-color: #198754; }
.highway-local { border-left-color: #834201; }
.bg-brown2{background-color:#834201;}
.bg-info-dark {background-color:#017ca1;}
.highway-concession { border-left-color: #0dcaf0; }
.stat-box { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); border-radius: 10px; padding: 20px; margin: 20px 0; }
.icon-large { font-size: 1.8rem; }
.card-sign-img { height: 250px; background-color: #eee; display: flex; align-items: flex-start; justify-content: center; overflow: hidden; border-radius: 10px;}
.card-sign-img img { height: 100%; width: auto;  object-fit: contain; padding: 20px;}
.text-blue2{color: #084299;}

.notation-box { background-color: #f8f9fa;  border-left: 4px solid #0d6efd;  padding: 1.5rem;  border-radius: 0 8px 8px 0;}
.notation-box ol li, .notation-box ul li {padding-bottom: 10px;}

.bidding-guide { border: 2px solid #0055b3; border-radius: 12px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); background-color: #ffffff; overflow: hidden; margin-bottom: 20px; }
.bidding-guide .header-box { background-color: #0055b3; color: #ffffff; padding: 12px 20px; font-weight: 600; font-size: 1.1rem; border-radius: 10px 10px 0 0; }
.bidding-guide .list-item { display: flex; align-items: flex-start; text-decoration: none; padding: 10px 20px; border-bottom: 1px solid #aaccee; color: #003366; font-size: 1rem; cursor: pointer; transition: background-color 0.2s; }
.bidding-guide .list-item:last-child { border-bottom: none; }
.bidding-guide .arrow { font-weight: 700; margin-right: 15px; font-size: 1.4rem; color: #0059b3; user-select: none; flex-shrink: 0; margin-top: 2px; }
.bidding-guide .list-item:hover, .bidding-guide .list-item:focus { background-color: #f5faff; outline: none; }

/* ##################### การคัดเลือกบุคคล person-selection Page #################### */
.content-title { color: #1e51a4ff; font-weight: 600; position: relative; padding-bottom: 0.5rem; margin-bottom: 0;}
.content-title:after { content: ""; position: absolute; bottom: 0; left: 0; width: 60px; height: 3px; background-color: #f8b739;}
.content-title2 { color: #1e51a4ff; font-weight: 600; position: relative; padding-bottom: 0.5rem; margin-bottom: 0;}

.evaluation-tab {border-bottom: 1px solid #dee2e6; }
.evaluation-tab .nav-link {color: #6c757d; border: none; padding: 0.75rem 1.5rem;font-weight: 600; }
.evaluation-tab .nav-link.active { color: #1e51a4ff; border-bottom: 3px solid #1e51a4ff; background-color: transparent;}

.file-icon {font-size: 1.5rem; margin-right: 0.75rem; }
.file-icon.pdf {color: #d63333; }
.file-icon.excel { color: #217346;}
.file-icon.word { color: #2b579a;}

/* ##################### ศูนย์ข้อมูลข่าวสาร doh-information-center Page #################### */
.boxinfo { border-radius: 10px; border: 1px solid #EEE; background: white; padding: 25px; transition: 0.35s; position: relative; overflow: hidden; }
.boxinfo-content { border-bottom: 1px solid #EEE; padding-bottom: 10px; margin-bottom: 20px; }
.boxinfo::after { content: ""; position: absolute; right: -20px; top: -15px; width: 60px; height: 53px; border-radius: 50%; background-color: #EEEEEE; transition: 0.35s; }
.boxinfo::before { content: ""; position: absolute; right: -23px; top: -15px; width: 66px; height: 59px; border-radius: 50%; border: 1px solid #eee; transition: 0.35s; }
.boxinfo .explore-btn5 a i { height: 26px; min-width: 26px; max-width: 26px; border-radius: 50%; display: inline-block; align-items: center; justify-content: center; border: 1px solid #46d993; font-size: 20px; transform: rotate(-45deg); transition: 0.35s; }
.boxinfo .explore-btn5 a { color: #333; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; transition: 0.35s; }
.boxinfo .explore-btn5 a i::before { position: relative; top: -2px; left: 2px; }
.boxinfo h5 a { color: #017fd8ff; font-size: 18px; font-weight: 600; transition: 0.35s; text-decoration: none; }

.inner-tabs { margin-top: 1rem;}
.inner-nav-tabs { border-bottom: 1px solid #dee2e6;}
.inner-nav-tabs .nav-link { border: 1px solid transparent; border-top-left-radius: 0.25rem;  border-top-right-radius: 0.25rem; margin-bottom: -1px; padding: 0.5rem 1rem; color: #495057;}
.inner-nav-tabs .nav-link.active { color: #495057; background-color: #fff; border-color: #dee2e6 #dee2e6 #fff;}
.inner-tab-content { padding: 1rem 0;}
.inner-tab-pane { display: none;}
.inner-tab-pane.active { display: block;}

.accordion-button:not(.collapsed)::after { transform: rotate(-180deg); transition: transform 0.2s ease-in-out; }
.uniform-img { height: 250px; width: 100%; object-fit: cover;}

.doh-information-center-links ul li {list-style: none;}
.doh-information-center-links a { display: flex; font-weight: 500; align-items: center; padding: 1rem 1.25rem; margin-bottom: 0.75rem; background-color: #f8f9fa; border-radius: 8px; color:#000; text-decoration: none; transition: all 0.3s ease; border: 1px solid transparent; }
.doh-information-center-links .bi { margin-right: 0.75rem; font-size: 1.25rem; color: #0056b3;}
.doh-information-center-links a:hover,
.doh-information-center-links a:focus { background-color: rgba(13, 110, 253, 0.1); color: #0056b3; border-color: #0d6efd; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); outline: none;  }

.doh-information-center-links2 ul li {list-style: none;}
.doh-information-center-links2 a { display: flex; align-items: center; padding: 1rem 1.25rem; margin-bottom: 0.75rem; background-color: #f8f9fa; border-radius: 8px; color:#000; text-decoration: none; transition: all 0.3s ease; border: 1px solid transparent; }
.doh-information-center-links2 .bi { margin-right: 0.75rem; font-size: 1.25rem; color: #0056b3;}
.doh-information-center-links2 a:hover,
.doh-information-center-links2 a:focus { background-color: rgba(13, 110, 253, 0.1); color: #0056b3; border-color: #0d6efd; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); outline: none;  }

.trial-balance-collapse,
.trial-balance-collapse.collapsing { transition: none !important; height: auto !important; overflow: visible !important;}

.text-darkblue{color: #1a3e8c;}

.custom-list1 ul {list-style:none; padding:0; margin:0;}
.custom-list1 li {position:relative; padding-left:25px; margin-left:25px; margin-bottom:12px; color:#000;}
.custom-list1 li a {text-decoration: none; color:#000;}
.custom-list1 li a:hover{ color: #0a58ca;}
.custom-list1 li::before { /*content:"✦"; */ content: "\f470"; font-family:bootstrap-icons; font-size: 20px; position:absolute; left:0; top:50%; transform:translateY(-50%); color:#0055a5;}
.custom-list1 li.no-style::before { content: none;}

.custom-list2 li {position:relative; color:#000;}
.custom-list2 li a {text-decoration: none; color:#1a3e8c;}
.custom-list2 li a:hover{ color: #0a58ca;}

/* ##################### โครงการทางหลวงระหว่างประเทศ international_highway_project #################### */
.bg-gray2{ background-color: rgba(0, 0, 0, .10);}
.bg-brown3{ background-color: rgba(225, 217, 210, 0.5); }
.timeline2 {position: relative; margin-left: 20px; padding-left: 30px; border-left: 2px solid #b3a28b;}
.timeline2-item { position: relative; padding-bottom: 25px;}
.timeline2-dot { position: absolute; left: -39px; top: 6px; width: 16px; height: 16px; background-color: #b3a28b; border-radius: 50%;}
.timeline2-content h5 {font-weight: 700; margin-bottom: 5px;}
.timeline2-content p { margin-bottom: 0; color: #000; line-height: 1.6;}
.timeline2-item:last-child { padding-bottom: 0;}
.circle-number3 { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background-color: #c1b09f; color: black; font-weight: 600; margin-bottom: 10px;}

.img-project-details { max-height: 250px; width:100%; object-fit: cover; display: block; object-position: top;}
.img-project-ebook img{ margin: auto; text-align: center; max-height: 250px; width:180px; object-fit: cover; display: block; /*object-position: top;*/ border-radius: 6px; box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15); border:1px solid rgba(0, 0, 0, .10)}

.text-indent { text-indent: 30px; }

/* ##################### หน้าโปรไฟล์บุคคลกรมทางหลวง board_executives_detail #################### */
.contact2-icon { color: #0055a5; font-size: 1.2rem; margin-right: 0.5rem;}
.contact-info {background-color: white; border-radius: 10px;}

.card-custom-board { border: none; border-radius: 10px;  box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: transform 0.3s ease; margin-bottom: 1.5rem;}
.card-custom-board:hover { }
.card-header-custom-board {background-color: #0055a5; color: white; border-radius: 10px 10px 0 0 !important; padding: 0.8rem 1.5rem;}
.table-custom-board {border-collapse: separate; border-spacing: 0; width: 100%; }
.table-custom-board tbody tr:nth-child(odd) {background-color: #e6f0fa;}
.table-custom-board tbody tr:hover {background-color: #d9e7f7; }

.timeline-board{position:relative; padding-left:2rem;}
.timeline-board::before{content:''; position:absolute; left:7px; top:0; bottom:0; width:2px; background-color:#0055a5;}
.timeline-board-item{position:relative; margin-bottom:1rem; border-radius: 8px; border: 1px solid #dee2e6; padding: 0.7rem 1.5rem;}
.timeline-board-item::before{content:''; position:absolute; left:-1.9rem; top:14px; width:12px; height:12px; border-radius:50%; background-color:#0055a5; border:2px solid white; box-shadow:0 0 0 2px #0055a5;}

/* ##################### poll_detail #################### */
.poll-header-section { margin-bottom: 30px; }
.poll-header-section img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; }
.poll-header-title { color: #1e3a8a; font-weight: 700; }
.poll-section-title { font-weight: 600; color: #1e3a8a; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid #cbd5e1; display: flex; align-items: center; }
.poll-intro-section { background-color: #f8fafc; border-radius: 12px; padding: 30px; margin-bottom: 30px; border-left: 4px solid #1e40af; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.survey-card { border: none; border-radius: 12px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); margin-bottom: 25px; overflow: hidden; }
.survey-card-header { background: #1e40af; color: #ffffff; padding: 20px 25px; border-bottom: none; }
.survey-card-body { padding: 30px; }
.question-type-section { margin-bottom: 30px; }
.question-type-card { /*background: #ffffff; border: 2px solid #e2e8f0; border-radius: 8px;*/ padding: 24px; margin-bottom: 20px; }
.question-type-title { font-weight: 600; color: #1e293b; margin-bottom: 16px; font-size: 1.1rem; line-height: 1.5; }
.multiple-grid { display: grid; grid-template-columns: 2fr repeat(5, 1fr); gap: 8px; margin-top: 16px; }
.multiple-grid-header { font-weight: 600; text-align: center; padding: 12px 8px; background-color: #f1f5f9; border-radius: 6px; font-size: 1rem; color: #000; }
.multiple-grid-item { text-align: center; padding: 12px 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: #000; }
.poll-btn-submit { background: #1e3a8a; color: #ffffff; border: 2px solid #1e3a8a; border-radius: 8px; padding: 10px 10px; font-weight:500; font-size: 1.2rem; }
.poll-btn-submit:hover { background: #eee; color: #000;border: 2px solid #1e3a8a;}
/* Custom form-check-input styles */
.poll .form-check-label {margin-left: 8px; padding-top: 2px;}
.poll .form-check-input { border: 2px solid #64748b; width: 1.2em; height: 1.2em; }
.poll .form-check-input:focus { border-color: #1e40af; outline: 2px solid #1e40af; outline-offset: 2px; }
.poll .form-check-input:checked { background-color: #1e40af; border-color: #1e40af; border-width: 2px; }
.poll .form-check-input[type="radio"]:checked { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e"); }
.poll .form-check-input[type="checkbox"]:checked { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e"); }

/* Multiple grid radio buttons */
.multiple-grid input[type="radio"] { border: 2px solid #64748b; width: 1.2em; height: 1.2em; }
.multiple-grid input[type="radio"]:focus { border-color: #1e40af; outline: 2px solid #1e40af; outline-offset: 2px; }
.multiple-grid input[type="radio"]:checked { background-color: #1e40af; border-color: #1e40af; border-width: 2px; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e"); }


@media (max-width: 768px) {
.poll-header-section img { height: 150px; }
.multiple-grid { grid-template-columns: 1fr; gap: 12px; }
.multiple-grid-header { display: none; }
.multiple-grid-item { border-bottom: 1px solid #e2e8f0; padding-bottom: 12px; justify-content: flex-start; text-align: left; }
.survey-card-body { padding: 20px; }
.poll-intro-section { padding: 20px; }
}

/* ##################### โครงการระหว่างการก่อสร้าง #################### */
.detail-tabs .nav-link { font-size: 1.25rem; color: #555; font-weight: 500; padding: 12px 20px; border: none; }
.detail-tabs .nav-link.active { color: #1a5fb4; font-weight: 600; border-bottom: 3px solid #1a5fb4; background: transparent; }
.project .tab-content { padding: 20px; border-top: 1px solid #dee2e6; }
.info-row { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #f0f0f0; }
.info-label { font-weight: 600; color: #666; }
.map-placeholder { height: 300px; background-color: #e9ecef; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #666; }
.project-gallery img { height: 183px; border-radius: 10px !important;  object-fit: cover;  object-position: top;}

.project-table { border-radius: 1rem; overflow: hidden;}
.project-table thead th { background-color: #e7eff5; text-align: center; color: #111827; font-weight: 600; font-size: 1rem; padding: 12px 10px 12px 10px;}
.project-table tbody tr { border-bottom: 1px solid #e5e7eb;}
.project-table tbody tr:last-child { border-bottom: none;}
.project-table tbody tr:nth-child(even) td {background-color: #f5f5f5;}
.project-table tbody tr td { padding: 12px 10px; vertical-align: middle; text-align: center;}
.project-table tbody tr td a { color: #000; text-decoration: none; transition: all 0.2s ease;}
.project-table tbody tr td a:hover { text-decoration: none; color: #0a58ca;}
.project-table a.btn {transition: all 0.2s ease;}
.project-table a.btn:hover {background-color: #d7f7fd; border: 1px solid #FFF;}
.project-table tbody tr:nth-child(even):hover td { background-color: #f8f9fa !important;}
.project-table td:nth-child(2) {text-align: left;}
.project-table td:nth-child(3) {text-align: left;}

 .project {
            --project-primary-blue: #1a56db;
            --project-secondary-blue: #3b82f6;
            --project-accent-green: #059669;
            --project-accent-red: #b91c1c;
            --project-light-bg: #f8fafc;
            --project-dark-text: #1f2937;
            --project-light-text: #6b7280;
            --project-card-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
            --project-transition: all 0.3s ease;
        }

.project {--project-primary-blue: #1a56db;--project-secondary-blue: #3b82f6;--project-accent-green: #059669;--project-accent-red: #b91c1c;--project-light-bg: #f8fafc;--project-dark-text: #1f2937;--project-light-text: #6b7280;--project-card-shadow: 0 10px 25px rgba(0,0,0,0.05);--project-transition: all 0.3s ease;}
.project .container-custom {max-width: 1400px;padding: 0 20px;margin: 0 auto;}
.project .project-badge {display: inline-block;background: rgba(255,255,255,0.2);backdrop-filter: blur(10px);color: white;padding: 0.5rem 1.5rem;border-radius: 50px;font-weight: 500;margin-bottom: 1rem;border: 1px solid rgba(255,255,255,0.3);}
.project .project-title {color: white;font-size: 2.5rem;font-weight: 700;margin-bottom: 0.5rem;text-shadow: 0 2px 10px rgba(0,0,0,0.1);}
.project .project-subtitle {color: rgba(255,255,255,0.9);font-size: 1.2rem;font-weight: 300;}
.project .project-main-container {display: flex;flex-direction: column;gap: 2rem;margin-bottom: 3rem;}
.project .map-row {background: white;border-radius: 20px;overflow: hidden;box-shadow: var(--project-card-shadow);position: relative;height: 500px;}
.project #projectMap {width: 100%;height: 100%;border-radius: 20px;}
.project .map-overlay {position: absolute;top: 20px;left: 20px;right: 20px;display: flex;justify-content: space-between;align-items: center;z-index: 100;}
.project .map-info {background: rgba(255,255,255,0.95);backdrop-filter: blur(10px);padding: 15px 20px;border-radius: 12px;box-shadow: 0 5px 15px rgba(0,0,0,0.08);}
.project .distance-display {font-size: 1.5rem;font-weight: 700;color: var(--project-primary-blue);display: flex;align-items: center;gap: 8px;}
.project .map-controls {display: flex;gap: 10px;}
.project .map-btn {width: 45px;height: 45px;border-radius: 12px;border: none;background: white;color: var(--project-primary-blue);display: flex;align-items: center;justify-content: center;cursor: pointer;transition: var(--project-transition);box-shadow: 0 4px 12px rgba(0,0,0,0.1);}
.project .map-btn:hover {transform: translateY(-2px);background: var(--project-primary-blue);color: white;box-shadow: 0 8px 20px rgba(26,86,219,0.3);}
.project .info-row {display: grid;grid-template-columns: repeat(auto-fit,minmax(300px,1fr));gap: 1.5rem;}
.project .point-card {background: var(--project-light-bg);border-radius: 15px;padding: 1.5rem;border-left: 5px solid;transition: var(--project-transition);cursor: pointer;height: 100%;}
.project .point-card.start {border-left-color: var(--project-accent-green);background: linear-gradient(to right,#f0fdf4,#f8fafc);}
.project .point-card.end {border-left-color: var(--project-accent-red);background: linear-gradient(to right,#fee2e5,#f8fafc);}
.project .point-header {display: flex;justify-content: space-between;align-items: center;margin-bottom: 1rem;}
.project .point-title {display: flex;align-items: center;gap: 10px;font-size: 1.2rem;font-weight: 600;}
.project .point-badge {padding: 5px 15px;border-radius: 20px;font-size: 0.9rem;font-weight: 600;}
.project .badge-start {background: #d1fae5;color: var(--project-accent-green);}
.project .badge-end {background: #fee2e2;color: var(--project-accent-red);}
.project .coordinates-container {background: white;border-radius: 10px;padding: 1rem;margin-top: 1rem;border: 1px solid #e5e7eb;}
.project .coordinate-item {display: flex;align-items: center;gap: 10px;padding: 8px 0;border-bottom: 1px dashed #e5e7eb;}
.project .coordinate-item:last-child {border-bottom: none;}
.project .coord-label {color: var(--project-light-text);font-size: 0.9rem;min-width: 100px;}
.project .coord-value {font-weight: 600;color: var(--project-dark-text);background: #f3f4f6;padding: 4px 12px;border-radius: 6px;}
@media (max-width: 768px) {.project .project-title {font-size: 2rem;}.project .map-overlay {flex-direction: column;gap: 10px;align-items: stretch;}.project .map-info {text-align: center;}.project .map-controls {justify-content: center;}.project .info-row {grid-template-columns: 1fr;}.project .map-row {height: 400px;}}

/* ##################### procurement_detail #################### */
.project-card dt{margin-bottom: 2px; padding-top:8px; padding-bottom: 8px; border-radius:2px;}
.project-card dd{ padding-left: 20px; background-color: #f9f9f9; margin-bottom: 2px; padding-top: 8px; padding-bottom: 8px; border-radius:2px;}
.bg-dt-project { background: #e0f1f9; font-weight: 600; line-height: 2.7rem;}
.price-card { background: #e0f1f9; border-radius:10px;}
.price-amount { color: #1c2d5e; font-size: 1.7rem; font-weight: 600;}
.price-label { color: #014d94; font-size: 1.2rem;}
.price-currency { color: #000; font-size: 1.2rem;}

.procurement_detail-table.table-bordered {border: 2px solid #FFF !important; border-radius: 8px; border-collapse: separate;  }
.procurement_detail-table thead th {background: #e0f1f9; padding: 12px 10px 12px 10px; border-radius:4px; text-align: center;}
.procurement_detail-table tbody tr { border-bottom: 1px solid #e5e7eb;}
.procurement_detail-table tbody tr td a { color: #000; text-decoration: none; transition: all 0.2s ease;}
.procurement_detail-table tbody tr td { padding: 8px 8px; vertical-align: middle; background-color: #f9f9f9;}
.link-pdf { background-color:#FFF;  display: inline-block; padding: 6px; border-radius: 6px; transition: all 0.2s ease;  cursor: pointer; border: 1px solid #e5e7eb;}
.link-pdf img { display: block; transition: transform 0.2s ease;}
.link-pdf:hover {background-color: #b8e1fd; border-color: #b8e1fd; }
.link-pdf:hover img {transform: scale(1.1); filter: brightness(1.2);}

/* ##################### ITA #################### */
.content-ita .category-header { display: flex; align-items: center; margin-bottom: 1.5rem; /*padding-bottom: 1rem; border-bottom: 2px solid #f0f0f0;*/}
.content-ita .category-icon { width: 50px; height: 50px; background: linear-gradient(135deg, #2d7dd2 0%, #4dabf7 100%); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-right: 1rem; color: white; font-size: 1.5rem;}
.content-ita .category-card { background: white; border-radius: 12px; padding: 1rem; margin-bottom: 1.5rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); transition: all 0.3s ease; height: 100%;}
.content-ita .item-card {background: white; border-radius: 10px; padding: 1rem; margin-bottom: 7px; border: 1px solid #eaeaea; transition: all 0.3s ease; display: flex; flex-direction: column; align-items: start; justify-content: space-between; height: 100%;}
.content-ita .btn-read {display: block; background: #e3f2fd; color: #1976d2;  border: none;  border-radius: 20px; padding: 0.3rem 1.2rem; font-weight: 500; font-size: 0.9rem; transition: all 0.3s ease; flex-shrink: 0; white-space: nowrap;}
.content-ita .btn-read:hover { background: #42a5f5;  color: #ffffff; box-shadow: 0 4px 10px rgba(66, 165, 245, 0.4);}
.content-ita .category-title {font-size: 1.3rem; font-weight: 500;}
.content-ita .item-title{font-size: 1rem; font-weight: 400; }

/* ##################### Tab ข่าวภูมิภาค regional_news #################### */
.news-event-item {display: flex; border-bottom:1px solid #ccc; padding-bottom: 5px; margin-bottom: 5px;}
.news-event-text a{ color: #282828; font-size: 1.1rem; font-weight: 500; text-decoration: none; line-height: 1.4;}
.news-event-text a {display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.4em * 4);}
.news-event-text a:hover { color: #0d6efd; }
.img-news-thumbnail { min-width: 90px; height:68px; object-fit: cover; object-position: center; background-color: #ccc; border-radius: 4px; margin-right:10px; border: 1px solid #eee;}
@media (min-width: 0px) and (max-width: 400px) {
  .news-event-item {flex-direction: column; align-items: center;}
  .img-news-thumbnail {margin-bottom: 10px;}
}

/* ##################### ปุ่ม ข่าวรับสมัครงาน #################### */
.exam-btn { min-width: 250px; padding: 0.5rem 1rem; border-radius: 16px; font-size: 1.125rem; font-weight: 600; display: flex; justify-content: center; align-items: center; gap: 0.75rem; text-align: center; border: 2px solid transparent; color: #FFFFFF; box-shadow: 0 4px 12px rgba(0,0,0,.18); transition: background-color .2s ease, box-shadow .2s ease, transform .15s ease;}
.exam-btn i {font-size: 1.6rem; line-height: 1;}
a.exam-btn {text-decoration: none;}
.btn-map { background-color: #3d50b0;}
.btn-map:hover,
.btn-map:focus-visible { background-color: #3143a1; border-color: #FFFFFF; outline: none; box-shadow: 0 8px 20px rgba(0,0,0,.25);}
.btn-score { background-color: #1E8E5A;}
.btn-score:hover, .btn-score:focus-visible { background-color: #027b43; border-color: #FFFFFF; outline: none; box-shadow: 0 8px 20px rgba(0,0,0,.25);}

/* ##################### ติดต่อเรา #################### */
.office-item-card { border: 1px solid #e9ecef; border-radius: 10px; transition: all 0.2s ease; height: 100%; background: white; }
.office-item-card:hover { border-color: #0d6efd; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.office-item-card .card-body { padding: 1.25rem; }
.office-details { margin-top: 0.75rem; }
.office-details p { margin-bottom: 0.25rem; line-height: 1.4; }
.office-icon { width: 48px; height: 48px; border-radius: 8px; background: linear-gradient(135deg, #f8f9fa, #e9ecef); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #495057; }

.region-tab .nav-link { font-weight: 500; border: none; border-bottom: 2px solid transparent; color: #333; padding: 0.75rem 1rem; transition: all 0.2s; }
.region-tab .nav-link:hover { color: #0d6efd; }
.region-tab .nav-link.active { color: #0d6efd; border-bottom-color: #0d6efd; background: transparent; font-weight: 600; }

.office-result-card { background: white; border-radius: 12px; padding: 1.5rem; border: 1px solid #dee2e6; box-shadow: 0 4px 12px rgba(0,0,0,0.05); animation: fadeIn 0.3s ease; }
.office-result-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 2px solid #f0f0f0; }
.office-result-header .office-name { font-size: 1.1rem; font-weight: 600; color: #212529; margin: 0; flex: 1; }
.office-type-badge { background: #e7f1ff; color: #0d6efd; padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.75rem; font-weight: 500; white-space: nowrap; margin-left: 0.75rem; }
.office-result-content { font-size: 0.95rem; }
.office-info-row { display: flex; align-items: flex-start; margin-bottom: 0.75rem; color: #000; }
.office-info-row i { width: 20px; color: #000; margin-right: 0.75rem; margin-top: 0.125rem; flex-shrink: 0; }
.office-info-row a { color: #0d6efd; text-decoration: none; }
.office-info-row a:hover { text-decoration: underline; }

.search-box { background: #f8f9fa; padding: 1.5rem; border-radius: 12px; border: 1px solid #e9ecef; }
.filter-options { background: #f8f9fa; padding: 1rem 1.5rem; border-radius: 8px; margin-top: 1rem; }

#clearSearch { min-width: 100px; font-weight: 500; }

@media (max-width: 768px) {
.office-result-header { flex-direction: column; align-items: flex-start; }
.office-type-badge { margin-left: 0; margin-top: 0.5rem; }
.region-tab .nav-link { padding: 0.5rem 0.75rem; font-size: 1.1rem; }
.search-box { padding: 1.25rem; }
.office-item-card .card-body { padding: 1rem; }
.office-icon { width: 40px; height: 40px; } }
@media (max-width: 576px) {
.region-tab .nav-link { padding: 0.5rem; font-size: 1.1rem;}
.office-result-card { padding: 1.25rem; }
}

.select2-container .select2-selection { height: 38px !important; }
.select2-container .select2-selection__rendered {/* line-height: 48px !important;*/ }
.select2-container .select2-selection__arrow { height: 48px !important; }
.select2-container--default .select2-selection--single .select2-selection__placeholder {line-height: 38px;}

.btn-doh-blue { background-color: #0046AD; border: 1px solid #00388A; color: white; border-radius: 8px;}
.btn-doh-blue:hover { background-color: #00388A; color: white;}
.btn-doh-green {background-color: #00693E; border: 1px solid #005530; color: white; border-radius: 8px;}
.btn-doh-green:hover {background-color: #005530; color: white;}


/* Sitemap */
.sitemap-tree { list-style: none; padding-left: 0;}
.sitemap-tree ul { list-style: none; padding-left: 1.5rem; margin-top: 0.25rem; margin-left: 1.5rem; border-left: 2px solid  #dee2e6;}
.sitemap-tree ul > li { position: relative; padding-left: 8px;}
.sitemap-tree ul > li::before { content: "•"; position: absolute; left: 0; top: 3px; color: #0d6efd; font-size: 1.5rem;}
.sitemap-item { margin-bottom: 0.25rem;}
.sitemap-item-header {padding: 0.5rem 0.75rem; border-radius: 8px; transition: all 0.2s ease; cursor: pointer; display: flex; align-items: center; text-decoration: none; color: inherit;}
.sitemap-item-header:hover,
.sitemap-item-header.active { background-color: #cfe2ff;  color: #0b5ed7;}
.toggle-icon {width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; margin-right: 0.75rem; color: #0d6efd; font-size: 0.9rem; flex-shrink: 0;}
.toggle-icon.collapsed i { transform: rotate(-90deg);}
.item-icon {width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background-color: #cfe2ff; border-radius: 8px; margin-right: 1rem; color: #0b5ed7; font-size: 1.2rem; flex-shrink: 0;}
.item-content {flex-grow: 1;}
.item-title { font-size: 1rem; font-weight: 500;}
.item-link {font-size: 0.85rem; color:#6c757d; margin-top: 0.1rem; word-break: break-all;}
.sitemap-tree .badge { font-size: 0.75rem; padding: 0.25rem 0.5rem;  border-radius: 4px; font-weight: 500; margin-left: 0.5rem;}
.sitemap-tree .badge-external { background-color: #fff3cd; color: #856404;}
.sitemap-tree .badge-count { background-color: #0b5ed7; color: white;}

@media (max-width: 768px) {
    .sitemap-tree ul { padding-left: 1rem; }
    .item-icon {width: 36px; height: 36px; font-size: 1rem; }
}

/* ====================== รายงานสถานการณ์ภัยพิบัติ ====================== */
.stats-hdms-container { padding: 0.7rem; background-color: white; border-bottom: 1px solid #e9ecef; }
.stat-hdms-card {border-radius: 10px; padding: 0.5rem; height: 100%;display: flex;flex-direction: column;justify-content: center;transition: transform 0.3s, box-shadow 0.3s;box-shadow:  0 4px 12px rgba(0, 0, 0, 0.08);border: none;}
.stat-hdms-card:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); }
.stat-hdms-icon { width: 48px;height: 48px;border-radius: 50%;display: flex;align-items: center;justify-content: center;font-size: 1.4rem;margin-bottom: 1rem;}
.stat-hdms-number {font-size: 2rem;font-weight: 800;line-height: 1;margin-bottom: 0.25rem;}
.stat-hdms-unit { font-size: 1rem;font-weight: 500;color: #333;}
.stat-hdms-label {font-size: 0.92rem; font-weight: 600; color: #000;}
.primary-stat-hdms { border-left: 4px solid #0d6efd;}
.primary-stat-hdms .stat-hdms-icon { background-color: rgba(13, 110, 253, 0.1); color: #0d6efd; }
.success-stat-hdms {border-left: 4px solid #28a745;}
.success-stat-hdms .stat-hdms-icon { background-color: rgba(40, 167, 69, 0.1); color: #28a745;}
.danger-stat-hdms {border-left: 4px solid #dc3545;}
.danger-stat-hdms .stat-hdms-icon { background-color: rgba(220, 53, 69, 0.1); color: #dc3545;}

/* Disaster Cards Grid ==== CUSTOM FLEXBOX STYLES==== */
.custom-disaster-section { padding: 15px;}
.custom-disaster-grid { display: flex; flex-wrap: wrap; gap: 5px;}
.custom-disaster-item {flex: 1 0 calc(33.33% - 15px); min-width: 87px; max-width: 87px; /*min-width: 150px; max-width: 200px;*/
    padding: 5px 5px;border-radius: 8px; background: #f8f9fa; text-align: center;}
.custom-disaster-content { display: flex; flex-direction: column; align-items: center;}
.custom-disaster-name { line-height: 1.1;color: #000; font-size: 0.9rem; font-weight: 500; min-height: 35px;display: flex; align-items: center; justify-content: center;}
.custom-disaster-count { margin-top: 3px; font-size: 0.9rem; color: #000;}

/* ==== ข่าวหนังสือพิมพ์==== */
.newspaper-item { border-bottom: 1px solid #eaeaea; padding-bottom: 1rem; margin-bottom: 1rem; transition: all 0.2s ease; }
.newspaper-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0;}
.newspaper-card { border: 1px solid #e0e0e0; border-radius: 30px; transition: all 0.3s ease;height: 100%; }
.newspaper-header { background: linear-gradient(135deg, #e3f0fb 0%, #cfe3f7 100%);border-radius: 30px 30px 0 0; border-bottom: 1px solid #e0e0e0; }
.newspaper-title {font-size: 1.1rem; color: #282828; font-weight: 500; line-height: 1.4; transition: color 0.2s; }
.newspaper-title:hover {color: #0d6efd;}

/* ==== infographic ==== */
.infographic-card img {border-radius: 4px;  object-fit: contain; width: 100%; max-height: 404px; padding: 2px; /*background-color:#f1f3f4;*/}
.infographic-card a { color: #282828; text-decoration: none; }
.card-infographic-title { color: #282828; text-decoration: none; font-size: 1.1rem; font-weight: 500; line-height: 1.4;}
.card-infographic-title:hover { color: #0a58ca;}
.btn-viewall-infographic { background-color: #FFF; color: #000; border-radius: 1rem; padding:8px 20px; font-size: 1rem; font-weight: 500; line-height: 1.2;  display: inline-flex; align-items: center; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);}
.btn-viewall-infographic:hover, .btn-viewall-infographic:focus { background-color: #fff; color: #04529d; outline: none; text-decoration: none;}

/* ==== RSS ==== */
.rss {
            --dhb-blue: #00509E;
            --dhb-blue-light: #1A7FDE;
            --dhb-orange: #FF6600;
            --dhb-gray-light: #F8F9FA;
            --dhb-gray-border: #E0E0E0;
            --dhb-text: #333333;
            --dhb-text-light: #666666;
            --dhb-success: #28a745;
            font-family: 'Prompt', sans-serif;
        }
.rss .section-title { color:var(--dhb-blue); font-size:1.8rem; font-weight:700; margin-bottom:1.5rem; position:relative; padding-bottom:0.75rem; }
.rss .section-title::after { content:""; position:absolute; bottom:0; left:0; width:60px; height:3px; background: var(--dhb-blue-light); border-radius:2px; }
.rss .section-subtitle {  font-size:1.1rem; margin-bottom:1.5rem; max-width:800px; }

.rss .filter-section { background:white; padding:1.5rem; border-radius:12px; margin:2rem 0 1.5rem; box-shadow:0 4px 15px rgba(0,0,0,0.05); border:1px solid var(--dhb-gray-border); }
.rss .filter-label { color:var(--dhb-blue); font-size:1.1rem; font-weight:600; margin-bottom:1rem; }
.rss .filter-chips { display:flex; flex-wrap:wrap; gap:10px; }
.rss .filter-chip { display:inline-flex; align-items:center; padding:0.6rem 1.2rem; background-color:white; border:2px solid var(--dhb-gray-border); border-radius:50px; font-size:0.95rem; font-weight:500; cursor:pointer; transition:all 0.3s; color: #000; text-decoration:none; }
.rss .filter-chip:hover { border-color:var(--dhb-blue); color:var(--dhb-blue); box-shadow:0 4px 10px rgba(255,102,0,0.1); }
.rss .filter-chip.active { background-color:var(--dhb-blue); border-color:var(--dhb-blue);  color:white; box-shadow: 0 4px 12px rgba(0, 80, 158, 0.25); font-weight:600; }
.rss .filter-chip i { margin-right:8px; font-size:1rem; }

.rss .info-cards { margin-bottom:2.5rem; }
.rss .info-card { background:white; border-radius:12px; padding:1.75rem; height:100%; box-shadow:0 5px 20px rgba(0,0,0,0.05); border:1px solid var(--dhb-gray-border); transition:all 0.3s; }
.rss .info-card:hover { box-shadow:0 10px 25px rgba(0,0,0,0.08); }

.rss .info-card-icon { width:60px; height:60px; border-radius:12px; display:flex; align-items:center; justify-content:center; margin-bottom:1.25rem; font-size:1.8rem; color:white; }
.rss .icon-info { background:linear-gradient(135deg,var(--dhb-blue) 0%,var(--dhb-blue-light) 100%); }
.rss .icon-help { background:linear-gradient(135deg,var(--dhb-success) 0%,#20c997 100%); }
.rss .icon-rss { background:linear-gradient(135deg,var(--dhb-orange) 0%,#ff914d 100%); }

.rss .info-card-title { color:var(--dhb-blue); font-size:1.25rem; font-weight:700; margin-bottom:1rem; }

.rss .rss-feeds-section { margin-bottom:3rem; }
.rss .rss-feeds-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(350px,1fr)); gap:1.5rem; margin-top:1rem; }

@media (max-width:768px) {
  .rss .rss-feeds-grid { grid-template-columns:1fr; }
}

.rss .rss-feed-card { background:white; border-radius:12px; overflow:hidden; box-shadow:0 5px 20px rgba(0,0,0,0.05); border:1px solid var(--dhb-gray-border); transition:all 0.3s; height:100%; }
.rss .rss-feed-card:hover { box-shadow:0 10px 25px rgba(0,0,0,0.08); }
.rss .rss-feed-header { background:var(--dhb-gray-light); padding:1.5rem; border-bottom:1px solid var(--dhb-gray-border); }
.rss .feed-title { color:var(--dhb-blue); font-size:1.2rem; font-weight:700; margin-bottom:0.5rem; display:flex; align-items:center; }
.rss .feed-title i { color: var(--dhb-blue-light); margin-right:10px; font-size:1.2rem; }
.rss .feed-description { font-size:0.95rem; margin-bottom:0; line-height:1.5; }
.rss .rss-feed-body { padding:1.5rem; }
.rss .feed-url-container { margin-bottom:1rem; }
.rss .feed-url-wrapper { display:flex; flex-direction:column; gap:0.75rem; }
.rss .feed-url { background:var(--dhb-gray-light); border:1px solid var(--dhb-gray-border); border-radius:8px; padding:1rem; font-family:'Courier New',monospace; font-size:0.9rem; word-break:break-all; line-height:1.5; flex-grow:1; }

.rss .copy-btn {background: white; border: 2px solid var(--dhb-blue-light); border-radius: 8px; padding: 0.75rem 1.25rem;
    font-size: 0.95rem; font-weight: 600; color: var(--dhb-blue); transition: all 0.2s; display: flex; align-items: center; justify-content: center; width: 100%;}
.rss .copy-btn:hover { background:var(--dhb-blue-light); color:white; }

.rss .feed-meta { display:flex; justify-content:space-between; align-items:center; margin-top:1rem; padding-top:1rem; border-top:1px solid var(--dhb-gray-border); font-size:0.9rem; color:var(--dhb-text-light); }
.rss .feed-date { display:flex; align-items:center; font-size:0.9rem; color: #000;}
.rss .feed-date i { margin-right:6px; color: var(--dhb-blue-light); font-size:1rem; }

.rss .developer-section { background:linear-gradient(135deg,#f8f9ff 0%,#edf2ff 100%); border-radius:16px; padding:2.5rem; margin:2.5rem 0; border:1px solid var(--dhb-gray-border); }
.rss .developer-title { color:var(--dhb-blue); font-size:1.6rem; font-weight:700; margin-bottom:1.5rem; text-align:center; }

.rss .code-example { background:#1e1e1e; border-radius:10px; padding:1.5rem; margin:1.5rem 0; overflow-x:auto; font-family:'Courier New',monospace; font-size:0.95rem; }
.rss .code-example code { color:#d4d4d4; line-height:1.5; }
.rss .code-example .tag { color:#569cd6; }
.rss .code-example .attr { color:#9cdcfe; }
.rss .code-example .value { color:#ce9178; }

.rss .api-methods { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:1.25rem; margin-top:1.5rem; }
.rss .api-method { background:white; border-radius:10px; padding:1.5rem; box-shadow:0 4px 12px rgba(0,0,0,0.05); border-left: 4px solid var(--dhb-blue-light);  border-top: 1px solid var(--dhb-blue-pale); }
@media (min-width: 1400px) {
  .rss .api-methods {
    grid-template-columns: repeat(3, 1fr);
  }
}
.rss .method-title { color:var(--dhb-blue); font-size:1.1rem; font-weight:600; margin-bottom:0.75rem; }
.rss .api-method p, .rss .api-method ul { font-size:0.95rem; line-height:1.5; }
.rss .method-title1 { color: var(--dhb-blue); font-weight: 600;}
.rss .tutorial-section { background:white; border-radius:16px; padding:2rem; margin:2.5rem 0; box-shadow:0 8px 25px rgba(0,0,0,0.05); }
.rss .tutorial-title { color:var(--dhb-blue); font-size:1.6rem; font-weight:700; margin-bottom:2rem; text-align:center; }
.rss .tutorial-steps { counter-reset:step-counter; list-style:none; padding:0; margin:0; }
.rss .tutorial-step { position:relative; padding:1rem 0 1rem 4rem; border-bottom:1px solid var(--dhb-gray-border); }
.rss .tutorial-step:last-child { border-bottom:none; }
.rss .tutorial-step::before { counter-increment:step-counter; content:counter(step-counter); position:absolute; left:0; top:1.75rem; width:40px; height:40px; background:var(--dhb-blue); color:white; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:1.2rem; }

.rss .step-title { color:var(--dhb-blue); font-size:1.2rem; font-weight:600; margin-bottom:0.75rem; }

.rss .browser-support { display:flex; flex-wrap:wrap; gap:1rem; justify-content:center; margin-top:2rem; }
.rss .browser-icon { width:60px; height:60px; border-radius:12px; display:flex; align-items:center; justify-content:center; background:white; box-shadow:0 4px 12px rgba(0,0,0,0.08); font-size:1.8rem; color:var(--dhb-blue); transition:all 0.3s; }
.rss .browser-icon:hover { transform:translateY(-5px); box-shadow:0 8px 20px rgba(0,0,0,0.12); }




/* ##################### Content Color Style โครงการทางหลวงระหว่างประเทศ #################### */

/* สีน้ำตาล */
.content-brown-tone .bg-brown3 { background-color: rgba(225, 217, 210, 0.5); }
.content-brown-tone .timeline2 { border-left-color: #b3a28b; }
.content-brown-tone .timeline2-dot { background-color: #b3a28b; }
.content-brown-tone .circle-number3 { background-color: #c1b09f; }

/* สีฟ้า */
.content-blue-tone .bg-brown3 { background-color: rgba(107, 140, 179, 0.15); }
.content-blue-tone .timeline2 { border-left-color: #8AA9CC; }
.content-blue-tone .timeline2-dot { background-color: #6B8CB3; }
.content-blue-tone .circle-number3 { background-color: #A6C1DD; }

/* สีเขียว */
.content-green-tone .bg-brown3 { background-color: rgba(122, 168, 122, 0.15); }
.content-green-tone .timeline2 { border-left-color: #9BBE9B; }
.content-green-tone .timeline2-dot { background-color: #7AA87A; }
.content-green-tone .circle-number3 { background-color: #B5D2B5; }

/* สีส้ม */
.content-orange-tone .bg-brown3 { background-color: rgba(251, 183, 156, 0.15); }
.content-orange-tone .timeline2 { border-left-color: #FFB28C; }
.content-orange-tone .timeline2-dot { background-color: #FF8A5C; }
.content-orange-tone .circle-number3 { background-color: #FF8A5C; }
