/* ==== 1. กล่องรีวิวแบบละมุน อ่านง่าย ==== */
.review-box,
blockquote,
.wp-block-quote {
  background-color: #ffffffcc; /* ขาวโปร่งเล็กน้อย */
  color: #1a1a1a;
  padding: 1.5em;
  border-left: 5px solid #C7A95B; /* เส้นทองอ่อน */
  border-radius: 8px;
  font-size: 1.1em;
  line-height: 1.6;
  box-shadow: 0 0 10px rgba(199, 169, 91, 0.08);
}

/* ==== 2. กล่องเนื้อหาหลัก อ่านชัดตาไม่ล้า ==== */
.entry-content,
.text-box,
.section-content {
  background-color: #fefefe;
  color: #1a1a1a;
  font-size: 1em;
  line-height: 1.75;
  letter-spacing: 0.2px;
}

/* ==== 3. ปุ่ม CTA แบบหรูหรา ==== */
button,
.wp-block-button__link,
.cta-button {
  background-color: #152238; /* น้ำเงินเข้ม */
  color: #ffffff;
  border-radius: 5px;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  display: inline-block;
  border: none;
}

button:hover,
.wp-block-button__link:hover,
.cta-button:hover {
  background-color: #C7A95B; /* ทอง */
  color: #152238;
}
.blog .entry-title a,
.archive .entry-title a,
.post .entry-title a {
  color: #2c3e50; /* สีกรมท่าอ่านง่าย หรูหรา */
  font-weight: 600;
}

.blog .entry-title a:hover,
.archive .entry-title a:hover,
.post .entry-title a:hover {
  color: #96764d; /* สีทองอ่อนตอน hover */
}

.article-filter-buttons {
  text-align: center;
  margin: 2em 0 3em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
}

.article-filter-buttons.dual-line .category-btn {
  background-color: #f8f5f1;
  border: 1px solid #c7a95b;
  border-radius: 999px;
  padding: 0.8em 1.5em;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  line-height: 1.3;
  transition: all 0.3s ease;
  min-width: 140px;
}

.article-filter-buttons.dual-line .category-btn:hover {
  background-color: #c7a95b;
  color: #ffffff;
}

.article-filter-buttons .category-btn .eng {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 15px;
  display: block;
}

.article-filter-buttons .category-btn .thai {
  font-family: 'Prompt', sans-serif;
  font-size: 13px;
  color: inherit;
}

.category-btn {
  display: inline-block;
  padding: 1.2em 1.8em;
  margin: 0.6em;
  text-align: center;
  background-color: #f9f7f4;
  border: 2px solid #c7a95b;
  border-radius: 50px;
  color: #152238;
  font-weight: 600;
  transition: all 0.35s ease;
  box-shadow: 0 0 0 transparent;
}

.category-btn:hover {
  background-color: #fdfaf5; /* ขาวละมุน */
  color: #1e2e4a; /* กรมสว่าง */
  border-color: #bfa36a; /* ทองแพง */
  box-shadow: 0 6px 20px rgba(191, 163, 106, 0.25); /* เงาทองนวล */
  transform: translateY(-2px) scale(1.015);
}

.article-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1em;
  margin: 2em 0;
}

.article-filter-buttons .category-btn {
  min-width: 160px;
  max-width: 220px;
  width: 100%;
}

/* ปรับสำหรับมือถือ */
@media (max-width: 768px) {
  .article-filter-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8em;
  }

  .article-filter-buttons .category-btn {
    width: 100%;
    max-width: none;
  }

	.article-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.category-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 16px 24px;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  border: 2px solid #cbbba0;
  border-radius: 30px;
  color: #152238;
  background-color: #fdfaf6;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.04);
}

.category-btn .eng {
  font-weight: 600;
  font-size: 16px;
}

.category-btn .thai {
  font-size: 14px;
  color: #9a8b78;
  margin-top: 4px;
}
	
	/* === Luxury Highlight Box === */
.highlight-box {
  margin: 4em auto;
  max-width: 700px;
  padding: 2em;
  background-color: #fefaf4;
  border: 1px solid #e0d6c2;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  text-align: center;
  transition: all 0.3s ease;
}

.highlight-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.highlight-image {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  margin-bottom: 1.5em;
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
}

.highlight-title {
  font-size: 1.6em;
  font-family: 'Playfair Display', serif;
  color: #b79e72;
  margin-bottom: 1em;
  letter-spacing: 1px;
}

.highlight-cta {
  display: inline-block;
  padding: 0.75em 1.5em;
  background-color: #152238;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.highlight-cta:hover {
  background-color: #96764d;
  transform: scale(1.05);
}
	
	/* ===== กล่องไฮไลต์หมวดหมู่ (Section 2) ===== */
.highlight-section {
  display: grid;
  gap: 2rem;
  padding: 1rem 0;
}

@media (min-width: 768px) {
  .highlight-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.highlight-box {
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(199, 169, 91, 0.12);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(199, 169, 91, 0.2);
}

.highlight-image {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #f1e9d8;
}

.highlight-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin: 1rem 0 0.5rem;
  color: #152238;
  letter-spacing: 0.5px;
}

.highlight-cta {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.5rem 1.2rem;
  background-color: #152238;
  color: #fff;
  font-weight: 500;
  border-radius: 40px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.highlight-cta:hover {
  background-color: #96764d;
}

	.highlight-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 420px; /* ความสูงเท่ากันทุกกล่อง */
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.highlight-image {
  max-height: 200px;
  object-fit: cover;
  border-radius: 12px;
  width: auto;
}
	
	.highlight-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.highlight-box {
  width: 320px;
  height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
	
	.highlight-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

.highlight-box {
  width: 320px;
  height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.highlight-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.highlight-image {
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}

.highlight-title {
  font-size: 20px;
  font-weight: bold;
  color: #1e293b;
  text-align: center;
  margin-bottom: 8px;
}

.highlight-cta {
  padding: 10px 20px;
  background: #152238;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.highlight-cta:hover {
  background: #96764d;
  color: #fff;
}
	
	.post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

.post-card {
  width: 320px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

.post-card img {
  width: 100%;
  height: auto;
}

.post-card-title {
  font-size: 20px;
  font-weight: 600;
  padding: 16px;
  color: #152238;
}

.post-card a {
  display: inline-block;
  margin-bottom: 16px;
  font-weight: 500;
  color: #96764d;
  text-decoration: none;
}
	
	.latest-posts-grid {
  margin-top: 80px;
  text-align: center;
}
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 32px;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  justify-items: center;
}
.post-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 16px;
  max-width: 360px;
}
.post-card img {
  border-radius: 12px;
  width: 100%;
  height: auto;
}
.post-card h3 {
  font-size: 18px;
  margin: 12px 0 8px;
}
.post-card a {
  color: #333;
  text-decoration: none;
}
.post-card .post-date {
  font-size: 14px;
  color: #999;
}
	
	.latest-posts-grid {
  margin-top: 80px;
  text-align: center;
}
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 32px;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  justify-items: center;
}
.post-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 16px;
  max-width: 360px;
}
.post-card img {
  border-radius: 12px;
  width: 100%;
  height: auto;
}
.post-card h3 {
  font-size: 18px;
  margin: 12px 0 8px;
}
.post-card a {
  color: #333;
  text-decoration: none;
}
.post-card .post-date {
  font-size: 14px;
  color: #999;
}

.brand-box {
  border: 2px solid #e0e0e0;
  border-radius: 16px;
  padding: 24px;
  margin: 20px auto;
  text-align: center;
  background: #fdfdfd;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  max-width: 720px;
}
.brand-box img {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 16px;
}
.brand-name {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
}
.brand-desc {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}
.cta-button-brand {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s ease;
}
.cta-button-brand:hover {
  background: linear-gradient(90deg, #2575fc 0%, #6a11cb 100%);
}
@media only screen and (max-width: 767px) {
  header.site-header {
    min-height: 40px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    background-size: cover !important;
    background-position: center center !important;
  }

  header.site-header .custom-logo-link img {
    max-height: 34px !important;
    height: auto !important;
  }

  .site-title, .site-description {
    display: none !important;  /* ซ่อนชื่อ SEVENTINn CLINIC */
  }
}
.page-header {
  background-color: #FDF8F2; /* เปลี่ยนสีพื้นหลังตรงนี้ */
  padding: 60px 20px;
  text-align: center;
}

.page-header h1 {
  color: #B89B73; /* เปลี่ยนสีคำว่า “บทความ” */
  font-size: 36px;
  font-weight: 600;
}
	.flower-icon {
  height: 72px;
  background-color: #fdf8f4;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.04);
  filter: drop-shadow(0px 2px 2px rgba(0,0,0,0.06));
}
	filter: drop-shadow(0 3px 4px rgba(0,0,0,0.08));
	.main-card {
  background: #fdf8f3;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  font-family: 'Prompt', sans-serif;
}

.card-icon {
  width: 64px;
  margin-bottom: 12px;
}

.card-desc {
  color: #666;
  font-size: 15px;
  margin-bottom: 14px;
}

.cta-zone {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.cta-button {
  border: none;
  padding: 10px 20px;
  border-radius: 28px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  text-align: center;
}

.cta-button.purple {
  background-color: #5e4ab1;
  color: white;
}

.cta-button.black {
  background-color: #333;
  color: white;
}

.subcard-wrapper {
  background: #f6f4f2;
  padding: 16px;
  border-radius: 12px;
  margin-top: 10px;
}

.subcard {
  border-bottom: 1px solid #ddd;
  padding: 8px 0;
}

.subcard:last-child {
  border-bottom: none;
}
.hifu-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  font-family: 'Prompt', sans-serif;
  color: #a6a6a6;
  margin-bottom: 24px;
}
.hifu-nav a {
  text-decoration: none;
  color: #a6a6a6;
}
.hifu-nav span {
  color: #ccc;
}

.section-title {
  font-family: 'Prompt', sans-serif;
  text-align: center;
  font-size: 22px;
  color: #b59b6c;
  margin-bottom: 20px;
}

.hifu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

.hifu-card {
  background: #fdfaf6;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  font-family: 'Prompt', sans-serif;
}

.hifu-card h3 {
  color: #5e4ab1;
  font-size: 18px;
  margin-bottom: 8px;
}

.hifu-card p {
  color: #444;
  font-size: 15px;
  line-height: 1.6;
}

.cta-line {
  text-align: center;
  margin: 32px auto 60px;
}
.cta-line a {
  background-color: #b89b6d;
  color: white;
  padding: 12px 28px;
  border-radius: 32px;
  text-decoration: none;
  font-weight: 500;
}

.elegant-accordion details {
  background-color: #fdfaf6;
  border-radius: 16px;
  margin: 10px 0;
  padding: 18px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  font-family: 'Prompt', sans-serif;
  overflow: hidden;
}

.elegant-accordion summary {
  font-weight: 600;
  font-size: 1.05em;
  font-family: 'Georgia', serif;
  color: #442e1c;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between; /* ให้ชื่อเมนูอยู่ซ้าย ลูกศรอยู่ขวา */
  align-items: center;
  line-height: 1.2;
  padding: 12px 18px 10px;
  transition: color 0.3s;
}

.elegant-accordion .arrow {
  font-size: 1.1em;
  color: #c1a377;
  margin-left: 12px;
}

/* แถบสีทองด้านหน้าชื่อเมนู */
.elegant-accordion summary::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background-color: #d6b88f;
  border-radius: 2px;
  margin-right: 10px;
}


/* รายการย่อย */
.elegant-accordion .subitem {
  font-weight: 520;
  color: #6a5b48;
  padding-left: 18px;
  margin-top: 10px;
  font-size: 0.97em;
}

.elegant-accordion .subitem a {
  text-decoration: none;
  color: #444;
}

.elegant-accordion .subitem a:hover {
  text-decoration: underline;
  color: #5e4ab1;
}
	/* เอาลูกศรซ้ายมือที่เป็น default ของ browser ออก */
details summary {
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
a.cta-btn:hover {
  background: #a17852;
  transition: 0.3s;
}
	.accordion-container {
  margin-top: 32px;
}.accordion-box {
  background: #fefaf5;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
  font-family: 'Prompt', sans-serif;
  transition: all 0.3s ease;
}

.accordion-box summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 12px 16px;
  font-size: 17px;
  font-weight: 600;
  color: #5c4430;
  background: #fdf9f4;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  transition: background 0.3s ease;
}

.accordion-box[open] summary {
  background: #fcf7ee;
}

.accordion-box summary .arrow-icon {
  height: 18px;
  width: auto;
  transition: transform 0.4s ease;
}

.accordion-box[open] .arrow-icon {
  transform: rotate(90deg);
}

.accordion-box ul {
  margin: 0;
  padding: 0 24px 12px 24px;
  list-style: none;
  font-size: 15px;
  color: #444;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-8px);}
  to {opacity: 1; transform: translateY(0);}
}
	body::before {
  content: "";
  position: fixed;
  top: -20%;
  left: -20%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, #fdf6ec 0%, #f8efe3 50%, transparent 80%);
  opacity: 0.2;
  z-index: -1;
  animation: moveGradient 30s ease-in-out infinite;
}

@keyframes moveGradient {
  0% { transform: translate(0, 0); }
  50% { transform: translate(10px, -10px); }
  100% { transform: translate(0, 0); }
}
	.accordion-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.arrow-icon {
  width: 16px;
  height: auto;
  margin-left: 8px;
}
.cta-button-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* ลบลงได้ถ้าจอเล็ก */
  gap: 16px;
  margin-top: 24px;
}

.cta {
  display: inline-flex;
  align-items: center;
  font-family: 'Prompt', sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.cta.filled {
  background-color: #a68c5a;
  color: white;
  border: 2px solid #a68c5a;
}

.cta.outline {
  background-color: white;
  color: #a68c5a;
  border: 2px solid #a68c5a;
}

.cta:hover {
  background-color: #8d7444;
  border-color: #8d7444;
  color: white;
}
	
	.related-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.item {
  background: #fdfaf6;
  border-radius: 12px;
  padding: 16px;
  width: 45%;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 2px 8px 
	rgba(0,0,0,0.05);
}.item-img {
  width: 100%;
  height: auto; /* ให้ความสูงปรับตามอัตราส่วนภาพ */
  object-fit: contain; /* ป้องกันการครอปและให้เต็มกรอบ */
  border-radius: 8px;
  margin-bottom: 12px;  margin-bottom: 12px;
}

.item h3 {
  color: #7a5e3b;
  margin: 8px 0;
  font-size: 1.1em;
}

.item p {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 12px;
}

.cta-btn {
  display: inline-block;
  background-color: #c6a15e;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9em;
}@media (max-width: 1024px) {
  .menu-item-has-children > a[href="#"] + .sub-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: none !important;
  }
}