/* Oxygen shortcode wrapper replaced the full-width code block. */
#shortcode-23-13746 { width: 100%; }
.ct-shortcode:has(.main-holiday-page-container) { width: 100%; }

.main-holiday-page-container,
  .hero-frame-wrapper,
  .related-locations-wrapper {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    clear: both;
  }
 
  .hero-section {
    min-height: 400px;
    padding: 40px;
    display: flex;
    align-items: center;
    position: relative !important;
    box-sizing: border-box;
  }
 
  .hero-badges-stack {
    position: absolute;
    top: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    z-index: 10;
  }
 
  .hero-back-btn {
    position: absolute !important;
    bottom: 25px !important;
    right: 25px !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
  }
 
  /* Header Blog Badge Styling */
  .hero-blog-badge {
    background: #2563eb;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .hero-blog-badge:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    color: #ffffff !important;
  }

  /* ============================================================
   * HOLIDAY WORLD MAP STYLING
   * ============================================================ */
 
  #holiday-world-map,
  #holiday-world-map *,
  .holiday-map-popup,
  .holiday-map-pin-number {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  }
 
  .holiday-map-wrapper {
    position: relative !important;
    width: 100% !important;
    margin-bottom: 40px;
  }
 
  #holiday-world-map {
    width: 100% !important;
    height: 500px !important;
    min-height: 400px !important;
    display: block !important;
    position: relative !important;
    box-sizing: border-box !important;
    background-color: #f4f4f4;
    z-index: 1;
    border-radius: 15px;
    overflow: hidden;
  }
 
  /* Custom Leaflet Marker Styling - Perfectly Centered Pin Numbers */
  .leaflet-marker-icon.holiday-map-pin-wrapper {
    background: transparent !important;
    border: none !important;
  }
 
  .holiday-map-pin-wrapper {
    width: 54px !important;
    height: 64px !important;
    position: relative;
  }
 
  .holiday-map-pin {
    position: absolute;
    width: 48px;
    height: 48px;
    left: 3px;
    top: 0;
    background: #d71920;
    border: 3px solid #ffffff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 3px 8px rgba(0,0,0,0.45);
    box-sizing: border-box;
  }
 
  .holiday-map-pin-number {
    position: absolute;
    top: 0;
    left: 0;
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: rotate(45deg);
    transform-origin: center center;
    color: #ffffff;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: -0.5px !important;
    text-align: center;
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
  }
 
  .holiday-map-pin.holiday-map-pin-group {
    background: #475569;
  }

  .holiday-map-popup-link {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    background: #2271b1;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
  }

  .holiday-map-popup {
    width: 230px;
    box-sizing: border-box;
  }
 
  .holiday-map-popup-select {
    width: 100%;
    padding: 8px 10px;
    margin-top: 8px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    background-color: #ffffff;
    color: #333333;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  }
 
  .holiday-map-popup-select:focus {
    outline: none;
    border-color: #2271b1;
  }
 
  .holiday-map-popup-list {
    margin: 8px 0 0 0;
    padding: 0;
    list-style: none;
    max-height: 140px;
    overflow-y: auto;
  }
 
  .holiday-map-popup-list li {
    border-top: 1px solid #e5e5e5;
  }
 
  .holiday-map-popup-list a {
    display: block;
    padding: 6px 0;
    color: #2271b1;
    text-decoration: none;
    font-weight: 600;
  }
 
  /* Card Badge Overlay Styles */
  .location-card-badge-blog {
    background: #2563eb;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .location-card-badge-blog:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    color: #ffffff !important;
  }

  /* Red Scroll To Top Floating Button */
  #scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ef4444;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(239, 68, 68, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease, background-color 0.2s ease;
  }
 
  #scroll-to-top-btn.show-btn {
    opacity: 1;
    visibility: visible;
  }
 
  #scroll-to-top-btn:hover {
    background-color: #dc2626;
    transform: translateY(-3px);
  }
 
  .country-section-header {
    width: 100%;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
  }
 
  .country-section-header h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    color: #1a202c;
    margin: 0;
  }
 
  .country-section-header img {
    width: 36px;
    height: 24px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  }
 
  @media screen and (max-width: 768px) {
 
    .hero-section {
      min-height: 300px;
      padding: 20px;
      flex-direction: column;
      align-items: stretch;
      justify-content: flex-start;
      gap: 15px;
    }
 
    .hero-content-box {
      order: 1;
      padding: 20px !important;
      max-width: 100% !important;
    }
 
    .hero-content-box h1 {
      font-size: 2rem !important;
      margin-bottom: 8px !important;
    }
 
    .hero-content-box h2 {
      font-size: 1rem !important;
    }
 
    .hero-badges-stack {
      order: 2;
      position: relative !important;
      top: auto !important;
      right: auto !important;
      flex-direction: row !important;
      flex-wrap: wrap !important;
      align-items: center !important;
      justify-content: flex-start !important;
      gap: 8px !important;
      margin-top: 10px;
    }
 
    .hero-back-btn {
      order: 3;
      position: relative !important;
      bottom: auto !important;
      right: auto !important;
      align-self: flex-start !important;
      display: inline-flex !important;
      margin-top: 10px;
      z-index: 9999 !important;
    }
 
    #holiday-world-map {
      height: 400px !important;
    }
 
    #scroll-to-top-btn {
      right: auto !important;
      left: 50% !important;
      bottom: 20px !important;
      transform: translateX(-50%) !important;
      width: 44px;
      height: 44px;
    }
 
    #scroll-to-top-btn:hover {
      transform: translateX(-50%) translateY(-3px) !important;
    }
  }

@media (max-width: 768px) {
    body #holiday-world-map {
        display: none !important;
    }
}
