/*
 Theme Name:   Hello Child
 Template:     hello-elementor
 Version:      1.0
*/

/* Base styling */


body, p, h1, h2, h3, h4, h5, h6, a, span, button, input, textarea {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif,
               "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
}
	

.wp-block-button a {
  background-color: #2D3958 !important;
  color: #fff !important;
  font-weight: 500 !important;
  border-radius: 3px !important;
  border: none !important;
  padding: 0.45rem 0.9rem !important;
  font-size: clamp(0.8rem, 1.5vw, 0.95rem) !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
  text-align: center !important;
  text-decoration: none !important;
}

@media (max-width: 767px) {
  .wp-block-button a {
    padding: 0.2rem 0.5rem !important;
  }
}
.wp-block-button a:hover {
  background-color: #516CB1 !important;
  text-decoration: none !important;
}

/* === Page Content Padding === */
.page-content > .wp-block-group {
  padding: 4rem 1.5rem;
}

/* === Responsive Styles === */
@media (max-width: 767px) {
  .page-content > .wp-block-group {
    padding: 2.5rem 1.25rem;
  }
}


.banner-box h2 {
  text-transform: uppercase;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: white;
  letter-spacing: 0.06em;
}

 .yoast-breadcrumbs {
  text-transform: uppercase;
  font-weight: 600;
  color: #FFF;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.yoast-breadcrumbs a {
  text-transform: uppercase;
  font-weight: 600;
  color: #FFF;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.banner-box {
background-color: rgba(196, 149, 61, 0.7);
  color: white;
  padding: 1.5rem 2rem;
	gap: 0;
}

@media (max-width: 767px) {
  .banner-box-wrapper {
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }
}

.cover-banner {
  min-height: clamp(200px, 30vw, 300px) !important;
}


.wp-block-post-title a {
  text-decoration: none !important;
}


.site-header {
  max-width: 1140px !important;
  width: 100%;
  margin: 0 auto;
  padding: 0.5rem 0 !important;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-logo img {
  max-width: 160px;
  height: auto;
  display: block;
}
.site-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2.5rem;
}

@media (max-width: 1024px) {
  .site-header {
    padding: 0.2rem 1.25rem !important;
  }
}

/* Mobile logo size */
@media (max-width: 768px) {
  .site-logo img {
    max-width: 110px;
  }
}

.site-nav ul li a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  display: block;
  padding: 0.5rem 0;
  font-size: 1.125rem;
}

.site-nav ul li a:hover,
.site-nav ul li.current-menu-item > a {
  color: #5D78A5;
}

.cta-button {
  background: #3B4F73;
  color: white;
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #5D78A5;
  color: white;
}


.mobile-icons {
	display: none;
}

/* Mobile styles */
@media (max-width: 768px) {
	.site-header {
	  position: sticky;
	  top: 0;
	  z-index: 9999;
	  background-color: #fff;
	}
	.cta-button {
		display: none;
	}
	.header-container {
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.site-logo {
		order: 1;
	}
	
	.mobile-icons {
	  order: 2;
	  display: flex;
	  gap: 1rem;
	  align-items: center;
	}

	.mobile-icons > * {
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  width: 40px;
	  height: 40px;
	}
	
  .site-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff; /* background color of mobile menu */
    padding: 1rem;
    position: absolute;
    top: 46px; /* adjust to header height */
    left: 0;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  .site-nav.active {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .site-nav ul li a {
    padding: 0.75rem 1rem;
    display: block;
    color: #333;
  }


}