/* === Base spacing and typography === */
#author-visits-hero,
#author-visits-programs,
#author-visits-formats,
#author-visits-includes,
#author-visits-testimonials,
#author-visits-booking,
#author-visits-cta {
    padding: 60px 20px;
}

#author-visits-hero h1,
#author-visits-programs h2,
#author-visits-formats h2,
#author-visits-includes h2,
#author-visits-testimonials h2,
#author-visits-booking h2,
#author-visits-cta h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}


/* === Responsive row and columns === */
.row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 40px;
}

.column.leftthird,
.column.righttwothird {
    padding: 15px;
}

.column.left {
    flex: 1 1 50%;
    padding: 15px;
}

.column.right {
    flex: 1 1 50%;
    padding: 15px;
}

/* Specific column widths for desktop */
@media (min-width: 768px) {
    .column.leftthird {
        flex: 1 1 30%;
    }

    .column.righttwothird {
        flex: 1 1 65%;
    }
}

/* Stack columns on mobile */
@media (max-width: 767px) {
    .column.left,
    .column.right,
    .column.leftthird,
    .column.righttwothird {
        flex: 1 1 100%;
        padding: 10px 0;
    }
}

/* === Images === */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;

}

/* === Author Visit Testimonials Slider === */
#author-visits-testimonials {
  position: relative;
  padding: 60px 20px;
  text-align: center;
  background-color: #f7f7f7;
  overflow: hidden;
}

#author-visits-testimonials .container {
  position: relative;
}

#author-visits-testimonials h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

/* Testimonial blockquote slider */
#author-visits-testimonials .slider-wrapper {
  position: relative;
  height: 250px;
  max-width: none;
  padding: 0 16px;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 16px;
}

#author-visits-testimonials .slider-wrapper blockquote {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1s ease, visibility 1s ease;
  font-style: italic;
  width: 100%;
  max-width: clamp(700px, 75%, 950px);
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 20px;
}

#author-visits-testimonials .slider-wrapper blockquote.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

#author-visits-testimonials blockquote p {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  color: #333;
  line-height: 1.6;
  margin-bottom: 0.5em;
}

#author-visits-testimonials blockquote footer {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: #555;
  margin-top: 0.5em;
  font-style: italic;
}

/* Dot navigation */
#author-visits-testimonials #testimonials-dots {
  text-align: center;
  margin-top: 1em;
  position: relative;
  z-index: 2;
  opacity: 0;
  transition: opacity 1s ease;
}

#author-visits-testimonials:hover #testimonials-dots {
  opacity: 1;
}

#author-visits-testimonials #testimonials-dots .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.5s ease;
  opacity: 0.7;
}

#author-visits-testimonials #testimonials-dots .dot.active {
  background-color: #545454;
  transform: scale(1.2);
  opacity: 1;
}

/* Arrows */
#author-visits-testimonials .quote-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 0 16px;
  max-width: 100%;
}

#author-visits-testimonials .quote-nav button {
  background: rgba(255, 255, 255, 0.85);
  border: none;
  font-size: 2rem;
  color: #545454;
  border-radius: 50%;
  background-color: #f7f7f7;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#author-visits-testimonials .quote-nav button:hover {
  background-color: rgba(200, 200, 200, 0.9);
}

/* Mobile tweaks */
@media (max-width: 600px) {
  #author-visits-testimonials .slider-wrapper {
    height: auto;
    padding: 0 12px;
  }

  #author-visits-testimonials .slider-wrapper blockquote {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 0;
    margin-bottom: 20px;
  }

  #author-visits-testimonials .slider-wrapper blockquote:not(.active) {
    display: none;
  }

  #author-visits-testimonials .quote-nav {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    margin-top: 0;
  }

  #author-visits-testimonials .quote-nav button {
    font-size: 1.8rem;
    width: 36px;
    height: 36px;
  }
}
/* === Final CTA === */
#author-visits-cta { 
    background-color: #fef3ef; /* soft peach/pink to stand out */
    text-align: center;
}

#author-visits-cta .funbutton a {
    font-size: 1.2rem;
    padding: 16px 32px;
}



/* === HERO section with overlap === */
.hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.hero-text-box {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    background-color: #fff;
    padding: 30px;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.hero-text-box h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
}

.hero-text-box p {
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Responsive adjustments for HERO */
@media (max-width: 900px) {
    .hero-text-box {
        position: static;
        transform: none;
        max-width: 100%;
        margin-top: 20px;
        box-shadow: none;
        background-color: transparent;
        padding: 0 20px;
        text-align: center;
    }
}
/* === Author Visit Programs Section === */
#author-visits-programs {
  padding: 60px 20px;
  background-color: #fcf9f6;
  text-align: center;
}

#author-visits-programs h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

/* === Responsive Grid === */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  max-width: 1200px; /* allow for wider row */
  margin: 0 auto;
  padding: 0 16px;
}

/* === Individual Program Card === */
.program-card {
  background: #fff;
  border-radius: 12px;
  border-top: 6px solid var(--accent);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* === Toggle Button for Card === */
.card-toggle {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 24px;
  cursor: pointer;
  outline: none;
  font: inherit;
}

.card-toggle:hover {
  background: #fdf8f4;
}

/* === Badge Header Inside Card === */
.badge {
  background-color: var(--accent);
  color: #fff;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  text-align: center;
}

.badge h3 {
  font-size: 1.2rem;
  margin: 0 0 6px;
  font-weight: 600;
}

.badge .grades {
  font-style: italic;
  font-size: 1.1rem;
  margin: 0;
}

/* === Static Info === */
.duration {
  font-weight: bold;
  font-size: 0.95rem;
  color: #333;
  border-top: 1px solid #ccc;
  margin: 12px 0 16px;
  padding-top: 8px;
}

.desc {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

/* === Hidden Expandable Details === */
.card-details {
  display: none;
  text-align: left;
  padding: 0 24px 24px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  animation: fadeIn 0.3s ease;
}

.program-card.open .card-details {
  display: block;
}

/* Chevron Styling */
.chevron-wrap {
  margin-top: -8px;
  text-align: center;
  padding-bottom: 16px;
}

.chevron {
  width: 32px;
  height: 32px;
  color: #888;
  transition: transform 0.3s ease, color 0.3s ease;
  display: inline-block;
}

.program-card.open .chevron {
  transform: rotate(180deg);
  color: #444;
}

.toggle-icon {
  display: block;
  font-size: 1.8rem;
  color: #666;
  text-align: center;
  margin-top: 16px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.program-card.open .toggle-icon {
  content: "-";
  color: #444;
}

/* === Fade In Animation === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Footer Note === */
.note {
  margin-top: 40px;
  text-align: center;
  font-size: 0.95rem;
  color: #555;
}

/* === Interest Form === */
#author-visits-interest-form {
    padding: 60px 20px;
    background-color: #f7f7f7;
    text-align: center;
}

#author-visits-interest-form h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

#author-visits-interest-form p {
    margin-bottom: 30px;
    font-size: 1rem;
    color: #555;
}

#author-visits-interest-form form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

#author-visits-interest-form .form-group {
    margin-bottom: 20px;
}

#author-visits-interest-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

#author-visits-interest-form input,
#author-visits-interest-form select,
#author-visits-interest-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
}

#author-visits-interest-form input:focus,
#author-visits-interest-form select:focus,
#author-visits-interest-form textarea:focus {
    outline: none;
    border-color: #d87a5f;
    box-shadow: 0 0 5px rgba(216, 122, 95, 0.5);
}

#author-visits-interest-form .funbutton button {
    background-color: #d87a5f;
    color: #fff;
    font-size: 1rem;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#author-visits-interest-form .funbutton button:hover {
    background-color: #b75f48;
} 

/* === Program Badge Boxes === */
.program-badge {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    border-radius: 30px;
    color: #fff;
    text-align: center;
    width: 100%;
    max-width: 280px;
    margin: 20px auto;
    font-family: 'Work Sans', sans-serif;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.program-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.program-grade {
    font-size: 2rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 600;
}

#author-visits-interest-form iframe {
    border: none;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: block;
}

#author-visits-interest-form form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

#author-visits-interest-form .form-group {
    margin-bottom: 20px;
}

#author-visits-interest-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

#author-visits-interest-form input,
#author-visits-interest-form select,
#author-visits-interest-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
}

#author-visits-interest-form input:focus,
#author-visits-interest-form select:focus,
#author-visits-interest-form textarea:focus {
    outline: none;
    border-color: #d87a5f;
    box-shadow: 0 0 5px rgba(216, 122, 95, 0.5);
}

#author-visits-interest-form .funbutton button {
    background-color: #d87a5f;
    color: #fff;
    font-size: 1rem;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#author-visits-interest-form .funbutton button:hover {
    background-color: #b75f48;
}
/* === Formats + What's Included Section === */
#author-visits-format-include {
  background-color: #fefefe;
  padding: 60px 20px;
}

.format-include-flex {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* Shared heading style */
.visit-formats h2,
.visit-includes h2 {
  font-size: 1.6rem;
  margin-bottom: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: #222;
}

/* === Visit Formats Box === */
.visit-formats {
  flex: 1 1 400px;
  max-width: 100%;
  background: #fcf9f6;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* === Visit Format List Styling === */


.visit-format-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

.visit-format-list > li {
  margin-bottom: 24px;
  padding-left: 0;
}

.visit-format-list > li > strong {
  font-size: 1.1rem;
  display: inline-block;
  margin-bottom: 8px;
  margin-top: 24px;
  color: #222;
}

.visit-format-list ul {
  list-style: disc;
  margin-top: 8px;
  margin-left: 1.2em;
  padding-left: 0;
}

.visit-format-list ul ul {
  list-style: circle;
  margin-left: 1.5em;
  margin-top: 4px;
}

.visit-format-list li {
  margin-bottom: 6px;
}

/* Indent second-level list items */
.visit-format-list > li > ul > li {
  margin-left: 1.2em;
  font-weight: 400;
}

/* Optional: lighter for third-level */
.visit-format-list > li > ul > li > ul li {
  font-weight: 400;
}

/* Emoji icons */
.visit-format-list > li.format-local::before {
  content: "🏫";
}
.visit-format-list > li.format-travel::before {
  content: "✈️";
}
.visit-format-list > li.format-virtual::before {
  content: "🌐";
}
.visit-format-list > li::before {
  display: inline-block;
  margin-right: 8px;
  font-size: 1.2rem;
  line-height: 1;
  vertical-align: middle;
}

.visit-pricing-note {
  margin-top: 36px;
  font-size: 0.95rem;
  color: #555;
  text-align: left;
}

/* === What's Included Section === */
.visit-includes {
  flex: 2 1 660px;
}

.include-block {
  display: flex;
  gap: 24px;
  margin-bottom: 36px;
  align-items: flex-start;
}

.include-block img {
  width: 180px;
  height: 120px; /* Set consistent height */
  object-fit: cover; /* Ensures images are cropped/preserved proportionally */
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0,0,0,0.06);
}

.include-block h4 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 700;
}

.include-block p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

/* Mobile layout */
@media (max-width: 700px) {
  .format-include-flex {
    flex-direction: column;
    gap: 32px;
  }

  .visit-formats {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
    padding: 20px;
    text-align: left;
  }

  .visit-includes {
    flex: 1 1 100%;
    width: 100%;
  }

  .include-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .include-block img {
    width: 100%;
    max-width: 320px;
    height: auto;
  }

  .include-block h4 {
    font-size: 1.05rem;
  }

  .include-block p {
    font-size: 0.95rem;
    max-width: 600px;
  }
}

/* === Mobile Layout Enhancements === */
@media (max-width: 700px) {
  .format-include-flex {
    flex-direction: column;
    gap: 32px;
  }

  /* Visit Formats */
.visit-formats {
  flex: 1 1 100%;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 20px;
  text-align: left;
  margin: 0;
}

  .visit-format-list {
    font-size: 1rem;
  }

  .visit-format-list > li > strong {
    font-size: 1.05rem;
    margin-top: 20px;
  }

  .visit-pricing-note {
    text-align: center;
    margin-top: 24px;
  }

  /* What's Included Blocks */
  .visit-includes {
    width: 100%;
  }

  .include-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .include-block img {
    width: 100%;
    max-width: 320px;
    height: auto;
  }

  .include-block h4 {
    font-size: 1.05rem;
  }

  .include-block p {
    font-size: 0.95rem;
    max-width: 600px;
  }
}

/* Hosting and FAQ */

.hosting-flex {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

.hosting-details,
.hosting-faq {
  flex: 1 1 400px;
  max-width: 600px;
}

.hosting-faq h2 {
  margin-bottom: 20px;
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-list li {
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: #444;
}

.faq-list strong {
  display: block;
  margin-bottom: 4px;
  color: #222;
}

/* Responsive stacking */
@media (max-width: 700px) {
  .hosting-flex {
    flex-direction: column;
  }

  .hosting-details,
  .hosting-faq {
    max-width: 100%;
  }
}

.hosting-details {
  max-width: 800px;
  margin: 0 auto;
}

.hosting-steps {
  padding-left: 1.2em;
  margin-top: 16px;
  margin-bottom: 32px;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
}

.hosting-steps li {
  margin-bottom: 14px;
}

/* Full width Image */

.full-width-image {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  text-align: center;
}

.full-width-image img {
  width: 100%;
  height: auto;
  display: block;
}

.full-width-image .image-caption {
  font-size: 0.9rem;
  color: #666;
  margin-top: 8px;
}