html {
  scroll-behavior: smooth;
}

body {
  box-sizing: border-box;
}

input {
  background-color: white;
}

.responsive-heading {
  font-size: 1.8rem;
  /* Mobile */
}

@media (min-width: 768px) {
  .responsive-heading {
    font-size: 2.2rem;
    /* Tablet */
  }
  .site-name-responsive {
    font-size: 1.8rem;
  }
}

@media (min-width: 1024px) {
  .responsive-heading {
    font-size: 3rem;
    /* Desktop */
  }
  .site-name-responsive {
    font-size: 2.2rem;
  }
}

@media (min-width: 1280px) {
  .responsive-heading {
    font-size: 3.5rem;
    /* Larger Desktop */
  }
}

/* Header specific styles */

#siteHeader.scrolled {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Hero Section */

.hero-section {
  background-attachment: fixed;
}

/* Animations */

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.slide-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.slide-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-bottom {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.slide-in-bottom.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animation-delay-100 {
  transition-delay: 0.1s;
}

.animation-delay-200 {
  transition-delay: 0.2s;
}

.animation-delay-300 {
  transition-delay: 0.3s;
}

.animation-delay-400 {
  transition-delay: 0.4s;
}

.animation-delay-500 {
  transition-delay: 0.5s;
}

/* Cookie Banner */

#cookieConsentBanner.show {
  transform: translateX(0);
}

#cookieConfigModal.show {
  opacity: 1;
  visibility: visible;
}

#cookieConfigModal.show > div {
  transform: scale(1);
  opacity: 1;
}

/* Ensure buttons do not have underline */

button {
  text-decoration: none !important;
}

/* Mobile menu specific styles */

#mobileMenu.show {
  transform: translateY(0);
}

/*
 * New stock styles for common content elements within .complianceCoreSlot
 * These styles are designed to be general-purpose and not overly opinionated,
 * with moderate font sizes for headings.
 */

.complianceCoreSlot {
  /* Padding for the main content slot, providing space from its container edges */
  padding: 24px;
}

/* Headings */

.complianceCoreSlot h1 {
  font-size: 28px;
  /* Moderate size for main heading */
  font-weight: 700;
  /* Bold */
  line-height: 1.2;
  /* Tighter line height for headings */
  margin-top: 32px;
  /* Spacing above the heading */
  margin-bottom: 16px;
  /* Spacing below the heading */
}

.complianceCoreSlot h2 {
  font-size: 24px;
  /* Slightly smaller than h1 */
  font-weight: 700;
  line-height: 1.2;
  margin-top: 28px;
  margin-bottom: 14px;
}

.complianceCoreSlot h3 {
  font-size: 20px;
  /* Further reduced size */
  font-weight: 600;
  /* Slightly less bold than h1/h2 */
  line-height: 1.3;
  margin-top: 24px;
  margin-bottom: 12px;
}

.complianceCoreSlot h4 {
  font-size: 18px;
  /* Approaching body text size */
  font-weight: 600;
  line-height: 1.4;
  margin-top: 20px;
  margin-bottom: 10px;
}

.complianceCoreSlot h5 {
  font-size: 16px;
  /* Same as body text, but with a different weight */
  font-weight: 500;
  /* Lighter than other headings */
  line-height: 1.5;
  margin-top: 16px;
  margin-bottom: 8px;
}

/* Paragraphs */

.complianceCoreSlot p {
  font-size: 16px;
  /* Standard body text size for readability */
  line-height: 1.6;
  /* Optimal line height for paragraphs */
  margin-bottom: 16px;
  /* Spacing between paragraphs */
}

/* Unordered Lists */

.complianceCoreSlot ul {
  list-style-type: disc;
  /* Default bullet style */
  margin-top: 16px;
  /* Spacing above the list */
  margin-bottom: 16px;
  /* Spacing below the list */
  padding-left: 24px;
  /* Indentation for the bullet points */
}

/* List Items */

.complianceCoreSlot li {
  font-size: 16px;
  /* Consistent font size with body text */
  line-height: 1.6;
  /* Consistent line height for list items */
  margin-bottom: 8px;
  /* Spacing between individual list items */
}

/* Optional: Remove bottom margin from the last element within the slot for cleaner layout */

.complianceCoreSlot p:last-child,
.complianceCoreCoreSlot ul:last-child,
.complianceCoreCoreSlot ol:last-child {
  margin-bottom: 0;
}
