@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Balinese&display=swap" rel="stylesheet"&family=Playfair+Display:wght@400;600;700&family=Lobster+Two:wght@400;700&family=EB+Garamond:wght@400;500;600;700&family=Sriracha&family=Amatic+SC:wght@400;700&family=Noto+Serif+JP:wght@400;600;700&family=Island+Moments&family=UnifrakturCook:wght@700&family=Cormorant+Garamond:wght@400;500;600;700&display=swap');

/* ===== FAQ Card Wrapper (the Group block) ===== */
.faq-wrap {
  border: 1px solid #e5e7eb;           /* neutral border */
  border-radius: 16px;
  padding: 20px 22px;
  background: #ffffff;
  /* Optional soft shadow */
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

/* If you didn't add the class in the editor: 
   select the Group block, Advanced -> Additional CSS Class(es) -> faq-wrap */

/* ===== Each FAQ item (Details block) ===== */
.faq-wrap .wp-block-details {
  padding: 12px 0;
  border-top: 1px solid #f1f5f9;
}
.faq-wrap .wp-block-details:first-of-type {
  border-top: 0;
}

/* The clickable question line */
.faq-wrap .wp-block-details summary {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;               /* removes default marker in some browsers */
}

/* Remove default disclosure triangle in WebKit */
.faq-wrap .wp-block-details summary::-webkit-details-marker {
  display: none;
}

/* Custom arrow glyph (right-aligned) */
.faq-wrap .wp-block-details summary::after {
  content: "⌄";
  margin-left: 12px;
  color: #9ca3af;
  transition: transform 0.2s ease;
  line-height: 1;
}

/* Rotate arrow when open */
.faq-wrap .wp-block-details[open] summary::after {
  transform: rotate(180deg);
}

/* Answer text */
.faq-wrap .wp-block-details > *:not(summary) {
  margin-top: 8px;
  color: #374151;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* === Japan Page (ID 7558): Full-Width Cherry Blossom Animation === */

/* Make the petal layer cover the entire screen */
body.page-id-7558 .bt_petal-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
  width: 100vw;
  height: 100vh;
}

/* Animation keyframes */
@keyframes floatDown {
  0% { transform: translateY(-10%) rotate(0deg); opacity: 0; }
  10% { opacity: 0.85; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0.9; }
}

/* Petal behavior */
body.page-id-7558 .bt_petal {
  position: absolute;
  animation: floatDown linear infinite;
  will-change: transform, opacity;
  opacity: .8;
}

body.page-id-7558 .bt_petal:nth-child(3n)   { animation-duration: 13s; animation-delay: 1s; }
body.page-id-7558 .bt_petal:nth-child(3n+1) { animation-duration: 17s; animation-delay: 3s; }
body.page-id-7558 .bt_petal:nth-child(3n+2) { animation-duration: 21s; animation-delay: 5s; }
body.page-id-7558 .bt_petal:nth-child(4n)   { filter: blur(1px); }
body.page-id-7558 .bt_petal:nth-child(5n)   { opacity: .6; }

/* Make sure content sits above petals */
body.page-id-7558 .bth-content {
  position: relative;
  z-index: 3;
}

/* Optional bamboo stripe background */
body.page-id-7558 .bth-bambooStripe {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .7;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(34,197,94,.10) 2%, rgba(0,0,0,0) 4%),
    linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(34,197,94,.12) 1%, rgba(0,0,0,0) 3%);
  background-size: 120px 100%, 160px 100%;
  background-position: 0 0, 40px 0;
  background-repeat: repeat;
  z-index: 1;
}

/* Accessibility: stop animation for reduced motion */
@media (prefers-reduced-motion: reduce) {
  body.page-id-7558 .bt_petal { animation: none !important; }
}


