/* Resize the video on homepage SS-3403829-zd*/
.home .wp-block-embed iframe {
    max-width: 230px;
    height: 230px;
}
@media screen and (min-width: 600px) {
    .home .wp-block-embed iframe {
        max-width: 500px;
        height: 500px;
    }
}

/* home page youtube embeds KG-32828502-hc */
.home .wp-block-embed-youtube iframe {
    max-width: 100%;
}
@media screen and (min-width: 600px) {
    .home .wp-block-embed-youtube iframe {
        max-width: 100%;
    }
}

/* CTA button */
.cta-button {
    display: inline-block;
    background-color: #CDAF63;
    color: white;
    font-size: 18px;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-family: 'Garamond', serif;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.cta-button:hover {
    background-color: #B89F50;
    transform: scale(1.05);
}

/* Headings */
body h1 {
  font-size: 24px !important;
}

/* Booking button */
.booking-button {
    display: inline-block;
    background-color: #DAA520;
    color: #fff;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}
.booking-button:hover {
    background-color: #B8860B;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.3);
}

/* CTA Box (legacy) */
.cta-box {
    text-align: center;
    background-color: #f8f1e4;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    margin-top: 30px;
}
.cta-box h2 {
    font-size: 1.8rem;
    color: #B8860B;
    margin-bottom: 10px;
}
.cta-box p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
}

/* FAQ Booking Section */
.faq-booking {
    text-align: center;
    background-color: #f8f1e4;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.2);
    margin-top: 30px;
}
.faq-booking p {
    font-size: 1.2rem;
    color: #333;
}

/* Consistent buttons */
.custom-button {
    display: inline-block;
    background-color: #D4AF37;
    color: #fff;
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease-in-out;
    margin: 10px;
}
.custom-button:hover {
    background-color: #B8860B;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.3);
}

/* Buttons alignment */
.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Refined CTA box */
.cta-box {
    background-color: #f8f1e4;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin: 40px auto;
}
.cta-box h2 {
    font-size: 1.9rem;
    color: #B8860B;
}
.cta-box p {
    font-size: 1.3rem;
    color: #333;
}

/* Page spacing (kept) */
header {
    margin-bottom: 140px;
}

/* Elegant divider */
.elegant-gold-divider {
    height: 2px;
    width: 100px;
    background-color: #CDAF63;
    margin: 40px auto;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Rolls-Royce Booking Section */
.booking-packages {
  font-family: 'Georgia', serif;
  color: #444;
  line-height: 1.75;
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 40px;
  background-color: #fff;
}
.booking-packages h2 {
  font-weight: 600;
  font-size: 28px;
  margin: 70px 0 20px;
  color: #111;
  text-align: center;
}
.booking-packages p {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
  text-align: center;
}
.booking-packages .elegant-gold-divider {
  width: 160px;
  margin: 60px auto 40px;
}

/* Animation */
.booking-packages h2,
.booking-packages p,
.booking-packages .elegant-gold-divider {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 1s ease forwards;
}
.booking-packages h2 { animation-delay: 0.2s; }
.booking-packages .elegant-gold-divider { animation-delay: 0.3s; }
.booking-packages p { animation-delay: 0.4s; }

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Universal logo */
header .custom-logo {
  max-width: 120px;
  margin: 0 auto;
  display: block;
  transition: all 0.3s ease;
}

/* Inner pages */
body:not(.home) header .custom-logo {
  margin-top: 100px !important;
  margin-bottom: 30px !important;
}

/* Homepage */
body.home header .custom-logo {
  margin-top: 50px !important;
  margin-bottom: 20px;
}



/* Hide author/date on single posts */
.single .entry-header > *:not(.entry-title):not(h1) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* MAXIMUM COMPRESSION OF SPACE BELOW HEADER – HOMEPAGE ONLY */
body.home header {
    margin-bottom: 5px !important; /* was 20px */
}

/* ELIMINATE ANY BLOCK-LEVEL TOP SPACE ON HOMEPAGE CONTENT */
body.home .site-content,
body.home .entry-content,
body.home .entry-header,
body.home .content-area,
body.home .hentry {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* PREVENT ANY THEME DEFAULT SPACING ABOVE THE FIRST BLOCK */
body.home .entry-content > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* ============================
   MOBILE FIX – REMOVE GAP BELOW IMAGE
   ============================ */
@media (max-width: 768px) {

  /* Remove space under header */
  body.home header {
      margin-bottom: 5px !important;
      padding-bottom: 0 !important;
  }

  /* Remove hidden padding from mobile containers */
  body.home .site-content,
  body.home .entry-content,
  body.home .content-area,
  body.home .entry-header,
  body.home .hentry {
      margin-top: 0 !important;
      padding-top: 0 !important;
  }

  /* Remove Gutenberg block spacing on mobile */
  body.home .entry-content > *:first-child,
  body.home .wp-block-group:first-child,
  body.home .wp-block-paragraph:first-child {
      margin-top: 0 !important;
      padding-top: 0 !important;
  }

  /* Obsidian-specific mobile wrapper */
  body.home .ob-section,
  body.home .ob-content,
  body.home .site-main {
      margin-top: 0 !important;
      padding-top: 0 !important;
  }
}

/* ============================
   MOBILE FIX – REMOVE GAP BELOW IMAGE
   ============================ */
@media (max-width: 768px) {

  /* Remove space under header */
  body.home header {
      margin-bottom: 5px !important;
      padding-bottom: 0 !important;
  }

  /* Remove hidden padding from mobile containers */
  body.home .site-content,
  body.home .entry-content,
  body.home .content-area,
  body.home .entry-header,
  body.home .hentry {
      margin-top: 0 !important;
      padding-top: 0 !important;
  }

  /* Remove Gutenberg block spacing on mobile */
  body.home .entry-content > *:first-child,
  body.home .wp-block-group:first-child,
  body.home .wp-block-paragraph:first-child {
      margin-top: 0 !important;
      padding-top: 0 !important;
  }

  /* Obsidian-specific mobile wrapper */
  body.home .ob-section,
  body.home .ob-content,
  body.home .site-main {
      margin-top: 0 !important;
      padding-top: 0 !important;
  }
}


/* === FIX MOBILE GAP UNDER HERO IMAGE (Obsidian Theme) === */
@media only screen and (max-width: 767px) {

    body.home header {
        margin-bottom: 10px !important;
    }

    body.home .site-content,
    body.home .entry-content,
    body.home .entry-header {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Obsidian adds padding via page wrapper on mobile */
    body.home .content-area {
        padding-top: 0 !important;
    }

    body.home .hentry {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}
