.main-menu {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  align-items: center;
}

.main-menu a:hover {
  color: #2563eb; /* Tailwind: text-blue-600 */
}

.body {
  font-family: 'Kanit', sans-serif;
}

.dropdown-menu {
  display: none;
  position: absolute;
  margin-top: 0.5rem;
  width: 12rem;
  background-color: white;
  border-radius: 0.375rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 10;
}

.group:hover .dropdown-menu {
      display: block;
    }

.dropdown-menu {
      display: block;
    }

.dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
}

.dropdown-item:hover {
  background-color: #f3f4f6; /* Tailwind: bg-gray-100 */
}
.ul {
  flex: space x -6;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}
.ul li + li {
  margin-left: 24px; /* เหมือนกับ space-x-6 */
}
.hover:hover {
  color: #2563eb;
}
.box {
  display: block;
  padding: 0.5rem 0.5rem;
  
}
.box:hover {
  background-color: #f5f5f5; /* เทาอ่อนเทียบเท่า gray-100 */
}

.menu {
  margin-left: 24px;
  padding: 5px;
  height: 30px;
  
}

.menu li {
  list-style: none;
  float: left;
  width: 160px;
  position: relative;
}

.menu li a {
  display: block;
  padding: 8px 10px;
  color: #333;
  text-align: center;
  background-color: white;
  transition: background-color 0.3s;
}

.menu li a:hover {
  background-color: #f3f3f3;
  color: #007BA7;
}

.menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  width: 160px;
  background-color: #007BA7;
  padding: 0;
  margin: 0;
}

.menu li:hover ul {
  display: block;
}

.menu li ul li {
  float: none;
  width: 100%;
}

.menu li ul li a {
  color: #fff;
  background-color: #007BA7;
  padding: 8px 12px;
}

.menu li ul li a:hover {
  background-color: #ff0000;
}

.font-kanit {
  font-family: "Kanit", sans-serif;
}

.history-media-wrapper {
  flex-shrink: 0;
  width: 100%;
  margin-left: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .history-media-wrapper {
    width: 50%;
    margin-right: 1rem;
    margin-bottom: 0;
  }
}

.history-media {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.content-copy {
  max-width: 330px;
  line-height: 1.8;
  word-break: break-word;
  white-space: normal;
}

.content-lead {
  font-size: 120%;
  margin-bottom: 0.3em;
}

.content-subtext {
  font-size: 90%;
  color: #17191e;
  margin-bottom: 0.8em;
}

.content-subtext-95 {
  font-size: 95%;
  color: #17191e;
  margin-bottom: 0.8em;
}


.contact-text {
  line-height: 1.8;
  word-break: break-word;
  white-space: normal;
}

.contact-text-150 {
  max-width: 150px;
}

.contact-text-200 {
  max-width: 200px;
}

.contact-text-220 {
  max-width: 220px;
}

.contact-text-250 {
  max-width: 250px;
}

.contact-text-tight {
  margin-bottom: 0.5em;
}

.map-frame {
  width: 100%;
  height: 100%;
  border: 0;
}


.btn-primary {
  display: inline-block;
  background-color: #2563eb;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 4px 6px rgba(30, 64, 175, 0.2);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  background-color: #1d4ed8;
  box-shadow: 0 6px 12px rgba(30, 64, 175, 0.25);
}

.product-card {
  background-color: #ffffff;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 15px rgba(15, 23, 42, 0.1), 0 4px 6px rgba(15, 23, 42, 0.05);
}

.product-image {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: 0.5rem;
}

.responsive-banner {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.contact-logo {
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .contact-logo {
    justify-content: flex-end;
  }
}



.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}


.btn-block {
  display: block;
  width: 100%;
}

.btn-lg {
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
}

.form-card {
  background-color: #f3f4f6;
  padding: 2.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  font-size: 1.125rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-textarea {
  min-height: 10rem;
  resize: none;
}

.intro-copy {
  font-size: 110%;
}


.content-lead-85 {
  font-size: 85%;
  color: #4B5563;
  margin-bottom: 0.8em;
}

