/* Z Global Adjustments to Compile 
Last Edited: 2-2-2026 */

/*@media (min-width: 1800px)
.\33xl\:text-9xl {
    font-size: 5rem !important;
}*/


/* Global Link Underline Issue Fix FEB 2026 */
a {
    text-decoration: none !important;
}

/* ============================================================
   Greater Hawaii Tours — FAQ Styling (z-faqs-ght)
   Targets both WP block output + exported static HTML
   ============================================================ */

/* Theme-tunable variables (adjust once) */
:root{
  --zfg-bg: #f5f6f7;            /* light gray card */
  --zfg-bg-hover: #fafbfc;      /* slightly lighter on hover */
  --zfg-border: #d9dde2;        /* subtle border */

  /* Accent color (swap to test):
     Pink: #D8428D
     Blue: #056FB7
  */
  --zfg-accent: #D8428D;        /* GHT pink (default) */

  --zfg-text: #0f172a;          /* near-black */
  --zfg-muted: #475569;         /* slate */
  --zfg-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  --zfg-radius: 14px;
  --zfg-gap: 14px;

  /* Focus ring — update this if you switch accent to blue */
  --zfg-focus: rgba(216, 66, 141, 0.22); /* pink focus */
  /* Blue focus option:
     --zfg-focus: rgba(5, 111, 183, 0.22);
  */
}

/* Overall wrapper */
.zfg-faqs{
  margin: 28px 0;
}

.zfg-faq-group{
  margin: 0 0 28px 0;
}

.zfg-faq-group-title{
  margin: 0 0 12px 0;
  font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.6rem);
  line-height: 1.25;
  color: var(--zfg-text);
}

/* Each FAQ item card */
.zfg-faq-item{
  background: var(--zfg-bg);
  border: 2px solid var(--zfg-border);
  border-radius: var(--zfg-radius);
  overflow: clip; /* modern; prevents inner animation overflow */
  margin: 0 0 var(--zfg-gap) 0;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

/* Hover/focus encourages clicking */
.zfg-faq-item:hover{
  background: var(--zfg-bg-hover);
  border-color: var(--zfg-accent);
  /* transform: translateY(-1px); */ /* intentionally disabled */
  box-shadow: var(--zfg-shadow);
}

/* Remove default marker so we can draw our own chevron */
.zfg-faq-item > summary{
  list-style: none;
}
.zfg-faq-item > summary::-webkit-details-marker{
  display: none;
}

/* Summary (question row) */
.zfg-faq-q{
  position: relative;
  cursor: pointer;
  padding: 16px 52px 16px 18px; /* space for chevron on right */
  font-weight: 700;
  color: var(--zfg-text);
  line-height: 1.35;
  user-select: none;
  transition: color 180ms ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation; /* improved mobile tap behavior */
}

/* Subtle “interactive” hint */
.zfg-faq-item:hover .zfg-faq-q{
  color: #0b3b69; /* slight nudge toward ght blue (safe, subtle) */
}

/* Keyboard accessibility */
.zfg-faq-item > summary:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px var(--zfg-focus);
}

/* Subtle pressed/active feel (no layout shift) */
.zfg-faq-item > summary:active{
  opacity: 0.92;
}

/* Chevron icon (pure CSS) */
.zfg-faq-q::after{
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 3px solid var(--zfg-accent);
  border-bottom: 3px solid var(--zfg-accent);
  transform: translateY(-50%) rotate(45deg); /* looks like a chevron */
  transform-origin: 50% 50%;
  transition: transform 220ms ease, opacity 180ms ease;
  opacity: 0.9;
}

/* Open state chevron rotation */
.zfg-faq-item[open] .zfg-faq-q::after{
  transform: translateY(-50%) rotate(225deg);
}

/* Answer container */
.zfg-faq-a{
  padding: 0 18px 16px 18px;
  color: var(--zfg-muted);
  line-height: 1.65;
}

/* Answer typography */
.zfg-faq-a p{
  margin: 10px 0 0 0;
}
.zfg-faq-a p:first-child{
  margin-top: 10px;
}
.zfg-faq-a a{
  color: #056FB7;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}
.zfg-faq-a a:hover{
  color: var(--zfg-accent);
}

/* ------------------------------------------------------------
   Smooth open/close animation (CSS-only, best-effort)
   <details> is tricky; this uses fade/slide + chevron rotation.
   ------------------------------------------------------------ */

.zfg-faq-item .zfg-faq-a{
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 200ms ease, transform 200ms ease;
}

/* When open, reveal smoothly */
.zfg-faq-item[open] .zfg-faq-a{
  opacity: 1;
  transform: translateY(0);
}

/* Optional: add a divider line between question and answer when open */
.zfg-faq-item[open] .zfg-faq-q{
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce){
  .zfg-faq-item,
  .zfg-faq-q::after,
  .zfg-faq-a{
    transition: none !important;
  }
}

/* ------------------------------------------------------------
   Compact mode (optional): add class "zfg-compact" to wrapper
   ------------------------------------------------------------ */
.zfg-faqs.zfg-compact .zfg-faq-q{
  padding: 12px 48px 12px 14px;
  font-weight: 700;
}
.zfg-faqs.zfg-compact .zfg-faq-a{
  padding: 0 14px 14px 14px;
}

/* fix separator color */
.wp-block-separator{
  color: #d9d9d9;
  background-color: #d9d9d9;
  border-color: #d9d9d9;
}



/* END FAQ STYLES ******************/
/* Single Tour Post Style Overides */

/*#content-single-tour {
    background: #fffce9;
}*/

#content-single-tour h1{
    font-size: 1.6rem;
    line-height: 2rem;
}

#content-single-tour h2 {
    font-size: 1.4rem;
    line-height: 2rem;
}

#content-single-tour h3 {
    font-size: 1.2rem;
    line-height: 2rem;
}

/* Z Classic Block Overides */

.block-classic h2 {
    font-size: 1.4rem;
    line-height: 2rem;
}

.block-classic h3 {
    font-size: 1.2rem;
    line-height: 2rem;
    margin-bottom: .5rem;
}

.block-classic ul, .block-classic ol {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.block-classic ul li, .block-classic ol li {
    margin-bottom: 0.5rem;
    margin-left: 1rem;
    line-height: 1.714285714em;
    list-style: disc;
}

/* Fix for zoom-in text area on mobile */
input[type=email], input[type=number], input[type=search], input[type=tel], input[type=text], select, select[multiple], textarea {
    font-size: 16px;
}