/* Cookie consent banner brand styling (moved from the old Customizer 'Additional CSS'). */
/* Style the entire cookie consent banner to match Bubble Self Storage brand */
.cky-consent-container {
  border-top: 2px solid #6d5beb !important;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1) !important;
  background-color: #ffffff !important;
  padding: 20px 30px !important;
  font-family: Arial, sans-serif !important;
}

.cky-title {
  color: #333 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
}

.cky-notice-des {
  color: #666 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  margin-bottom: 15px !important;
}

/* Reset and override all cookie consent button styles */
.cky-btn {
  /* Reset existing styles */
  background-color: transparent !important;
  border: 1px solid #ccc !important;
  border-radius: 30px !important; /* Rounded buttons like on the site */
  font-size: 14px !important;
  padding: 10px 22px !important;
  margin: 5px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  
  /* Add transition for hover effects */
  transition: all 0.2s ease !important;
}

/* Style for the 'Accept All' button - match the purple from the site */
.cky-btn.cky-btn-accept {
  background-color: #6d5beb !important; /* Purple color from Bubble site */
  color: white !important;
  border-color: #6d5beb !important;
  font-weight: 600 !important;
}

.cky-btn.cky-btn-accept:hover {
  background-color: #5949d0 !important;
  border-color: #5949d0 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(109, 91, 235, 0.2) !important;
}

/* Style for the 'Reject All' button */
.cky-btn.cky-btn-reject {
  background-color: white !important;
  color: #6d5beb !important;
  border-color: #6d5beb !important;
}

.cky-btn.cky-btn-reject:hover {
  background-color: #f8f7ff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(109, 91, 235, 0.1) !important;
}

/* Style for the 'Customize' button */
.cky-btn.cky-btn-customize {
  background-color: white !important;
  color: #666 !important;
  border-color: #ddd !important;
}

.cky-btn.cky-btn-customize:hover {
  background-color: #f5f5f5 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05) !important;
}

/* Make sure button container is properly spaced */
.cky-notice-btn-wrapper {
  display: flex !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 20px !important;
}

/* Make buttons more responsive */
@media (max-width: 576px) {
  .cky-consent-container {
    padding: 15px 20px !important;
  }
  
  .cky-btn {
    padding: 8px 16px !important;
    font-size: 13px !important;
    flex: 1 !important;
    text-align: center !important;
  }
  
  .cky-notice-btn-wrapper {
    justify-content: center !important;
  }
}

/* Center and constrain the main sitemap container */
.rank-math-html-sitemap {
    display: block !important;
    max-width: 1280px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 20px 20px 20px 20px;
    box-sizing: border-box;
}

/* Ensure individual sitemap sections behave as regular block elements */
.rank-math-html-sitemap__section {
    display: block !important;
    width: 100%;
    margin-bottom: 40px; /* Adds space between sections like Posts, Pages, Properties */
}

/* Center the section headings */
.rank-math-html-sitemap__title {
    text-align: center !important;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
}