@import url("https://fonts.googleapis.com/css2?family=Kanit: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");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Kanit", sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgb(0 51 102);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 1.2rem;
  color: #2563eb;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ff6600;
}

.nav-buttons {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-primary {
  background: #003366;
  color: white;
}

.btn-primary:hover {
  background: #003366;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-outline:hover {
  background: #003366;
  color: white;
  border: 2px solid #003366;
}

/* Hero Section */
.hero {
  padding-top: 100px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: url("../assets/hero-polo-texture-navy-collar-abc-01.jpg") center/cover no-repeat;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 10px;
  opacity: 0.9;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero {
    background-position: 70% center;
  }
}

/* Stats Section */
.stats {
  padding: 60px 0;
  background: #f9fafb;
}

.stats-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.stat-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  color: #2563eb;
}

.stat-title {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 10px;
}

.stat-value {
  font-size: 2rem;
  font-weight: bold;
  color: #1a1a1a;
}

/* About Section */
.about {
  padding: 80px 0;
  background: #f9fafb;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1a1a1a;
}

.section-header {
  display: flex;
  justify-content: space-between; 
  align-items: center; 
  margin-bottom: 1.5rem; 
}

.section-link {
  text-decoration: none;
  color: #1a1a1a;
}

.section-link:hover {
  color: #2563eb;
}
.section-subtitle {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: stretch;
}

.about-card {
  /* background: #f9fafb; */
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border-radius: 12px;
  justify-content: space-between;
  margin-top: 80px;
}

.about-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-text p {
  color: #6b7280;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  vertical-align: middle;
}

.about-intro {
  margin-bottom: 1.75rem;
}
.about-intro .intro-body p + p {
  margin-top: 0.75rem;
}

.about-subhead {
  margin-top: 1.25rem;
  font-weight: 700;
}
.about-list {
  margin: 0.5rem 0 1rem 1.25rem;
  line-height: 1.7;
}

.about-cta {
  margin-top: 16px;
  padding-left: 14px;
  border-left: 4px solid #ff6600;
  font-style: italic;
  font-weight: 500;
  line-height: 1.7;
  color: #333;
}

@media (max-width: 768px) {
  .about-intro {
    margin-bottom: 1.25rem;
  }
  .about-list {
    margin-left: 1rem;
  }
}

.icon-box {
  background-color: rgba(255, 102, 0, 0.1);

  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.icon-box-center {
  background-color: rgba(255, 102, 0, 0.1);

  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.icon-box1 {
  background-color: rgba(255, 102, 0, 0.1);

  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.icon-box2 {
  background-color: rgba(23, 198, 83, 0.1);
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Services Section */
.services {
  padding: 80px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  
}

.service-card {
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 4px 2px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  color: #2563eb;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-top: 30px;
  margin-bottom: 10px;
}

.service-card p {
  color: #6b7280;
}

.features-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.features-image figcaption {
  display: none !important;
}

.icon-box {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 50px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

@media (max-width: 992px) {

  .feature-item {
    flex-direction: column;
    
  }

  .icon-box {
    justify-content: center;
  }

  .features-image img {
    height: 300px;
  }
}


.text-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.text-box p {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Section */
.category {
  padding: 80px 0;
  /* background: #f9fafb; */
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  margin-top: 40px;
}

.category-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.category-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  width: 100%;
  height: 400px;
}

.category-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  transform-origin: center center;
}

.category-item:hover img {
  transform: scale(1.15);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.btn-view {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background-color: transparent;
  color: #fff;
  padding: 8px 20px;
  border: 2px solid #fff;
  border-radius: 25px;
  font-size: 14px;
  opacity: 0;
  transition: all 0.35s ease;
  z-index: 3;
  cursor: pointer;
  text-decoration: none; 
}

.category-item:hover .btn-view {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.category-item:hover .overlay {
  opacity: 1;
}


.category-itemgrid {
  aspect-ratio: 1;
  background: #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s;
}

.category-itemgrid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-expandgrid {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 32px;

  opacity: 0;
  transform: translateY(16px);
  max-height: 0;
  overflow: hidden;
  pointer-events: none;

  transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.35s ease;
}

.category-selected-title {
  display: none;      
  margin-top: 24px;
  font-size: 24px;
}


.category-selected-title.is-visible {
  display: block;
}

.category-expandgrid.is-active {
  opacity: 1;
  transform: translateY(0);
  max-height: 2000px; 
  pointer-events: auto;
}

.category-item.active .overlay {
  opacity: 1;
}

.category-item.active img {
  transform: scale(1.15);
}

.category-item figcaption {
  display: none !important;
}


@media (max-width: 1024px) {
  .category-expandgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

ul.breadcrumb {
  padding: 10px 16px;
  margin-top: 80px;
}

ul.breadcrumb li {
  display: inline;
  color: #ff6600;
}

ul.breadcrumb li + li:before {
  padding: 8px;
  color: black;
  content: "/\00a0";
}

ul.breadcrumb li a {
  color: #000000;
  text-decoration: none;
}

ul.breadcrumb li a:hover {
  color: #01447e;
  text-decoration: underline;
}

/* Process Section */
.process {
  padding: 80px 0;
  background: #f9fafb;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: stretch;
  counter-reset: step;
}

.process-button {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 30px;
  justify-content: center;
}

.process-info img {
  width: 100%;

  object-fit: contain; 
  scroll-snap-align: start;
  background: #ffffff; 
}

.process-color {
  position: relative;
  background: #f9fafb;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;

}

.process-color > * {
  width: min(1200px, calc(100% - 2rem)); 
  margin-inline: auto;
}


.process-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: 800;
  color: #1a1a1a;
  margin-top: 16px;
}


.process-subtitle {
  font-weight: 700;
  margin: 6px 0 10px;
}

.processstep-grid {
  display: grid;
  grid-template-columns: 1fr; 
  gap: 28px;
  align-items: center;
  padding: 28px 0;
}

.process-text p {
  color: #6b7280;
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
  max-width: 62ch; 
}

.process-image {
  justify-self: stretch;
}
.process-image img {
  width: 95%;
  height: clamp(220px, 40vw, 380px);
  object-fit: cover; 
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: block;
}

.process-info .container {
  padding-bottom: 56px;
}

.processcenter-button {
  text-align: start;
  margin-top: 40px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .processstep-grid {
    grid-template-columns: 1fr 1fr; 
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .processstep-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .process-text {
    grid-column: 1 / -1; 
    align-self: start;
  }

  .process-image {
    grid-column: 1 / -1; 
    justify-self: stretch;
  }
}

.process-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08), 0 6px 8px rgba(0, 0, 0, 0.06);
}

.process-card::after {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: clamp(56px, 8vw, 120px);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 102, 0, 0.07);
  pointer-events: none;
  transition: color 0.2s ease;
}

.process-card:hover::after {
  color: rgba(255, 102, 0, 0.13);
}

.process-step {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: #ff6600;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.process-card:hover .process-step {
  transform: scale(1.08);
}

.process-step svg {
  stroke: currentColor;
}

.process-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 4px 0 6px;
}

.process-card p {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0;
}

.customer {
  padding: 80px 0;
  background: #f9fafb;
}


.customer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.customer-card {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  padding: 24px 16px;
  text-align: center;
  border-radius: 10px;

  transition: all 0.25s ease;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.customer-card:hover {
  transform: translateY(-4px);
}

.customer-card img {
  max-width: 220px;
  max-height: 80px;
  width: auto;
  height: auto;
}

.customer-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border-radius: 10px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.customer-card:hover .overlay,
.customer-card:focus-within .overlay {
  opacity: 1;
}

.customer-card:hover .popover {
  display: none;
}

@media (max-width: 1024px) {
  .customer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .customer-card .popover {
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .customer-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .customer-card .popover {
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .customer-card {
    font-size: 0.85rem;
  }
  .customer-card .popover {
    max-width: 280px;
  }
}

.contact {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  display: inline-block;
  vertical-align: middle;
}

.contact-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 6px;
  row-gap: 6px;
  align-items: start;
  margin-bottom: 20px;
}

.contact-item .icon-box1 {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  flex-shrink: 0;
}

.contact-item > h4 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  line-height: 1.3;
}

.contact-item > p {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  line-height: 1.6;
}

.contact-form {
  background: #f9fafb;
  padding: 40px;
  border-radius: 12px;
}

.contact-text {
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact {
  padding: clamp(48px, 6vw, 80px) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: clamp(24px, 4vw, 40px);
  margin-top: 40px;
  align-items: start; /
}

.contact-info iframe {
  width: 80%;
  height: auto;
  aspect-ratio: 4 / 3;
  border: 0;
  display: block;
  border-radius: 10px;
}

.map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
}
.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.form-group input,
.form-group textarea {
  font-size: 1rem;
  padding: 12px 14px;
}
button.btn,
button[type="submit"] {
  min-height: 44px;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info {
    order: 1;
  }
  .contact-form {
    order: 2;
  }
}

@media (max-width: 768px) {
  .contact {
    padding: 48px 0;
  }
  .contact-item {
    grid-template-columns: 44px 1fr; 
  }
  .contact-item .icon-box1 svg {
    width: 20px;
    height: 20px;
  }
  .contact-form {
    padding: 24px; 
  }
  .contact-text h2 {
    font-size: 1.25rem;
  }
  .form-group {
    margin-bottom: 16px;
  }
  .form-group label {
    font-size: 0.95rem;
  }
  .form-group input,
  .form-group textarea {
    font-size: 0.95rem;
    padding: 11px 12px;
  }
}

@media (max-width: 480px) {
  .contact-grid {
    gap: 20px;
    margin-top: 28px;
  }
  .contact-info h3 {
    font-size: 1.25rem;
    margin-bottom: 14px;
  }
  .contact-item {
    margin-bottom: 14px;
    row-gap: 4px;
  }
  .contact-item > p {
    line-height: 1.5;
  }
  .contact-form {
    padding: 20px;
    border-radius: 10px;
  }
  .form-group textarea {
    min-height: 100px;
  }
}

/* Footer */
footer {
  background: #003366;
  color: white;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 10px;
  color: #d1d5db;
}

.footer-section a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #60a5fa;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 30px;
  text-align: center;
  color: #9ca3af;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #4b5563;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #ffffff;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .nav-container {
    position: relative;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgb(0 51 102);
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    z-index: 1001;
  }

  .nav-buttons {
    display: none;
    position: absolute;
    top: calc(100% + 180px);
    left: 0;
    right: 0;
    background: rgb(0 51 102);
    padding: 12px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid #ff6600;
    z-index: 1001;
  }

  nav.is-open .nav-links {
    display: flex;
  }
  nav.is-open .nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
  .hero .subtitle {
    font-size: 1.2rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 2rem;
  }
}

html,
body {
  overflow-x: hidden;
}

nav,
.nav-container {
  max-width: 100%;
  box-sizing: border-box;
}

nav {
  overflow: visible;
}
.nav-container {
  overflow: visible;
}

.faq {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 50px;
}
.faq h2 {
  margin-bottom: 20px;
}
.faq p {
  margin-bottom: 20px;
}

:root {
  --container-max: 1200px; 
  --container-pad: 20px; 
  --sidenav-w: 300px;
  --rail-gap: 40px;
  --nav-top: 96px; /
}


@media (max-width: 1023.98px) {
  .process-sidenav {
    display: none !important;
  }
}

@media (min-width: 1024px) {

  .process-layout {
    display: block !important;
    position: relative;
  }

  .process-sidenav {
    position: fixed !important;
    top: calc(var(--nav-top) + 8px) !important;
    right: calc(
      (100vw - min(var(--container-max), 100vw)) / 2 + var(--container-pad)
    ) !important;
    width: var(--sidenav-w) !important;
    z-index: 1500 !important;
    display: block !important;
    box-sizing: border-box;
  }

  .sidenav-card {
    position: static !important;
    background: transparent;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    padding: 16px 14px;
    max-height: calc(100vh - (var(--nav-top) + 8px + 24px));
    overflow: auto;
  }

  .sidenav-title {
    margin: 0 0 8px;
    font: 800 1rem/1.4 "Kanit", system-ui, sans-serif;
    color: #111827;
  }
  .sidenav-list {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 8px;
  }
  .sidenav-list a {
    display: inline-block;
    padding: 6px 6px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    transition: color 0.15s, background-color 0.15s, padding 0.15s;
  }
  .sidenav-list a:hover {
    color: #ff6600;
  }
  .sidenav-list a.is-active {
    color: #ff6600;
    background: rgba(255, 102, 0, 0.08);
  }


  .process-layout .process-color > *,
  .process-layout .process-main > .processstep-grid {
    padding-right: calc(var(--sidenav-w) + var(--rail-gap)) !important;
  }


  .process-layout .process-color {
    left: auto !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    z-index: 1;
  }
}

[id^="step-"] {
  scroll-margin-top: calc(var(--nav-top) + 14px);
}

:root {
  --container-max: 1200px; 
  --container-pad: 20px; 
  --sidenav-w: 300px;
  --rail-gap: 40px;
}

@media (min-width: 1024px) {

  .process-layout .process-color {
    position: relative;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    width: 100vw !important;
    background: #f9fafb;
    z-index: 0;
  }

  .process-layout .process-color > * {
    position: relative;
    z-index: 1;
    width: min(var(--container-max), calc(100% - 2 * var(--container-pad)));
    margin-inline: auto;
    padding-right: calc(var(--sidenav-w) + var(--rail-gap));
  }

  .process-layout .process-main > .processstep-grid {
    padding-right: calc(var(--sidenav-w) + var(--rail-gap));
  }
}

.sidenav-title {
  margin: 16px 0 8px;
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
}

.sidenav-title.sidenav-link a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.sidenav-title.sidenav-link a:hover {
  color: #ff6600;
}

.sidenav-title.sidenav-link a.is-active {
  color: #ff6600;
  background: rgba(255, 102, 0, 0.08);
  border-radius: 6px;
  padding: 4px 8px;
}

.process-details > summary.read-more {
  cursor: pointer;
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  font-weight: 600;
  user-select: none;
}
.process-details[open] > summary.read-more {
  border-color: #d1d5db;
}

.process-standard {
  margin-top: 0.5rem;
}


.process-figcap {
  display: none;
}

@media (max-width: 640px) {
  .process-brief {
    display: -webkit-box;

    -webkit-box-orient: vertical;
    overflow: hidden;
  } 
}

.process-details[open] > summary.read-more {
  order: 99; 
  margin-top: 1rem; 
}


.process-details {
  display: flex;
  flex-direction: column;
}

.process-details > summary.read-more {
  align-self: flex-start; 
  width: auto;
}

