   #breadcrumb  {
    -webkit-box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.3);
    background-color: #e41d38;
    font-weight: 500;
  }
  section {
    padding: 72px 0;
    /* min-height: 100vh;  ให้ wrapper เต็มหน้าจอ */
    background-color: white;
  }  
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
  .page-title {
    padding: 10px 0px 5px 20px;
    margin-top: 1px;
    margin-left: 25px;
    border-radius: 0;
    border-width: 0 0 0 10px;
    border-color: #e41d38;
    border-style: solid;
    font-weight: 500;
    font-size: 32px;
    line-height: 1.3em;
    text-align: start;
    /* background-image: linear-gradient(317deg, #ffffff 30%, #f1f1f1  100%); */
}

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }
}

.widget-title {
    padding: 2px 0px 2px 2px;
    margin-left: -1px;
    border-width: 0 0 2px 0;
    border-color: #e41d38;
    border-style: solid;
    font-weight: 500;
    font-size: 22px;
    margin-bottom: 10px;
}

.list-unstyled {
    padding-left: 8px;
    list-style: none;
}
p { 
    font-size: 18px;
    line-height: 1.6; 
    font-weight: 400;
}
 
a { 
  color: #212529;
    text-decoration: none;
}
.entry-title a:hover {
    color: #e41d38;
    text-decoration: none;
}

.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}

.social-share {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  /* background-color: #ddd; */
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-btn svg {
  width: 48px;
  height: 48px;
}

.social-btn.facebook {
  background-color: #3b5998;
}

.social-btn.twitter {
  background-color: #1da1f2;
}

.social-btn.line {
  background-color: #00c300;
}

.social-btn:hover {
  transform: scale(1.15);
  opacity: 0.85;
  color: white;
}


  @media (min-width: 992px) {
    section {
        padding: 85px 0;
    } 
  } 

  .wp-block-image img {
    box-sizing: border-box;
    height: auto;
    /* max-width: 80%; */
    vertical-align: bottom;
    /* border-radius: 0 0 0 50px; */
    border-top: 12px solid;
    border-image: linear-gradient(to right, #e41d38, #f1f1f1) 100% 0;
}

  header.masthead {
  padding-top: 6rem;
  padding-bottom: 6rem;
  }
    #mainNav  {
    font-size: 1.2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #212529;
   
  }
 
  .masthead {
  position: relative;
  background-image: url('../assets/img/header-bg.jpg');
  background-size: cover;
  background-position: center;
  height: 150px; /* adjust as needed */
  color: white;
  overflow: hidden;
}

.masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 0, 0, 0.6); /* red with 30% opacity */
  backdrop-filter: blur(1px); /* applies blur to what's behind */
  -webkit-backdrop-filter: blur(1px); /* Safari support */
   filter: grayscale(100%);
  opacity: 0.6;
  z-index: 1;
}

.masthead .container {
  position: relative;
  z-index: 2; /* content appears above the overlay */
}