/*
 Theme Name:   Clandestine Child
 Theme URI:    https://understrap.com
 Description:  Understrap Child Theme
 Author:       Jay Thornton
 Author URI:   https://jaythornton000.com
 Template:     understrap
 Version:      1.2.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: understrap/understrap-child
*/

/* Typography overrides */
h1, h2, h3, h4, h5, h6,
.page-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: #111827;
}
h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

/* =Site Structure */
.bg-primary, #main-nav {
	background-color: #fff;
}
.offcanvas .dropdown-menu {
  display: none;
  position: static;
  float: none;
  margin-top: 0.5rem;
}
.offcanvas .dropdown-menu.show {
  display: block;
}
.navbar-brand {
  max-width: 160px;
}
.offcanvas .navbar-brand img {
  width: 160px;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar-nav .nav-link {
  color: #fff;
  padding: 20px !important;
}
.navbar-nav .dropdown-menu {
  right: auto;
  left: 0;
  transform: none;
  min-width: 250px;
  white-space: normal;
}
/* Force last menu dropdown to open toward the left */
.navbar-nav > .nav-item:last-child .dropdown-menu {
  right: 0;
  left: auto;
}

.wp-block-button__link {
	background: #530337;
	border-radius: .5rem;
  color: #fff;
}
.wp-block-button__link:hover {
	color: #b8941f;
}
.icon-ball {
  width: 56px;
  height: 56px;
  background: #530337;
  border-radius: 50%; /* or use 50% for circle */
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  margin-bottom: 20px;
}
.icon-box {
  width: 56px;
  height: 56px;
  background: #111827;
  border-radius: 0.25rem; /* or use 50% for circle */
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.icon-noBox {
  width: 56px;
  height: 56px;
  background: transparent;
  color: #eab308;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  margin-bottom: 20px;
}
.footer-social {
  text-align: left;
}
.footer-social .menu-item {
  display: inline;
  margin: 10px;
}
.footer-social .menu-item a {
  color: #fff;
  font-size: 1.2rem;
}


/* =Pages */
.page-header {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e5e5e5;
}
.hero-header {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 70vh;
  position: relative;
}
.hero-overlay {
  background-color: rgba(0, 0, 0, 0.5); /* dark overlay for contrast */
  width: 100%;
  min-height: 70vh;
  padding: 4rem 2rem;
  color: #fff !important;
}
.hero-overlay h1  {
  color: #fff;
}
.hero-header.no-cover {
  background-color: #ffffff;
  padding-top:150px;
  min-height: 60vh;
}
.understrap-read-more-link, .wp-block-post-excerpt__excerpt {
  display: none;
}
.entry-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}
.pageContent {
  background: #f9fafb;
  padding: 2rem 0;
}
.home .pageContent {
  background: #fff;
}
.single .blockquote, .single .wp-block-quote {
  border: solid 1px #e5e5e5;
  padding: 20px;
  font-style: italic;
  font-size: 1.2rem;
  text-align: center;
  margin: 20px 20px 40px 20px;
  background: #eeeeee;
}

.roundImg img {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;   /* Keeps image from stretching */
  width: 100%;         /* Ensures responsiveness */
  height: auto;        /* Maintains aspect ratio on load */
  display: block;
  overflow: hidden;
}

/* =Colors */
.bg-plum {
	background: #530337;
}
.bg-darkgray {
	background: #111827;
}
.plum-gradient {
  background: linear-gradient(
    140deg,
    #0b0610 0%,
    #2a0a2e 40%,
    #530337 100%
  );
  color: #fff;
  text-align: center;
  padding: 4rem 1rem 1rem 1rem;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

/* Tablet and below */
@media (max-width: 991.98px) {
  h1 {
    font-size: 2.5rem;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  h1 {
    font-size: 2rem;
  }
}