/* Reduce Space Post Title | 6370588-ZD BB */
.entry-title:before {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* Larger Footer Menu Links | 6370588-ZD BB */
.footer-navigation .footer-menu a {
	font-size: 1.2em !important;
}

/* Widen Footer Area | 6370588-ZD BB */
body:not(.fse-enabled) #colophon {
	width: 70% !important;
}

/*remove space between page title and content | 6370588-zd*/
.singular .hentry .entry-header .entry-title::before, .singular .hentry .entry-header .entry-title::after {
	display: none;
}

/* reduce spacing above page headings // 6370588-zen (JJ) */
@media only screen and (min-width: 560px) {
	.site-main {
		padding-top: 0;
	}
	
	.site-header .site-logo {
		margin-bottom: 0;
	}
}

/* Change "Contact Us" menu item to button // 6370588-zen (JJ) */
@media only screen and (min-width: 560px) {
	.main-navigation > div > ul {
		align-items: center;
	}
	
	.main-navigation > div > ul > li {
		margin: 0 5px 5px 0;
	}
	
	.main-navigation > div > ul > li:last-child {
		margin-right: 0;
	}
	
	.site-header .main-navigation li.menu-item-22 {
		border-color: var(--wp--preset--color--primary);
		font-weight: 700;
		background-color: #b71d1d;
		border-radius: 5px;
		border-width: 0;
		padding: 16px;
	}
	
	.site-header .main-navigation li.menu-item-22:hover {
		background-color: var(--wp--preset--color--primary-hover);
	}
	
	.main-navigation li.menu-item-22 > a,
										  .site-header .main-navigation > div > ul > li.menu-item-22:hover > a, 
										  .site-header .main-navigation > div > ul > li.menu-item-22:focus-within > a, 
										  .site-header .main-navigation > div > ul > li.menu-item-22.current-menu-item > a {
		color: var(--wp--preset--color--background);
	}
}

/* Change font size for body text */
body {
	font-size: 18px;
}

/* Change font size for headings */
h1 {
	font-size: 35px;
}

h2 {
	font-size: 31px;
}

h3 {
	font-size: 27px;
}

h4 {
	font-size: 25px;
}

h5 {
	font-size: 20px;
}

h6 {
	font-size: 20px;
}

/* Change font size for paragraphs */
p {
	font-size: 20px;
}

/* Change font size for links */
a {
	font-size: 20px;
}

/* Change font size for lists */
ul,
ol {
	font-size: 20px;
}

li, li a {
	font-size: 20px !important;
}

/* set footer area in mobile | 6702877-zd tdl */
@media screen and (max-width: 599px) {
	body:not(.fse-enabled) #colophon {
		width: unset !important;
	}
	
	.widget-area.responsive-max-width a, p, body {
		font-size: 16px;
	}
}

/* set footer area and text in mobile | 6702877-zd tdl */
@media screen and (max-width: 599px) {
	body:not(.fse-enabled) #colophon {
		width: unset !important;
	}
	
	.widget-area.responsive-max-width a, p, body {
		font-size: 20px;
	}
}

/* Mobile menu adjustments */
@media screen and (max-width: 560px) {
	.sub-menu {
		display: none;
		font-size: 18px !important;
	}
	
	.sub-menu li a {
		font-size: 18px !important;
	}
	
	.menu-item-has-children {
		position: relative;
		padding-right: 60px;
	}
	
	.menu-item-has-children:after {
		display: inline-block;
		width: 30px;
		height: 30px;
		padding: 5px;
		background-size: contain;
		position: absolute;
		right: 0;
		top: 0;
		background: transparent url('https://marriage-counseling-fort-collins.com/wp-content/uploads/2024/08/arrow-down-3101.png') no-repeat center center;
		content: '';
		background-size: 80%;
	}
	
	.menu-item-has-children:hover > ul {
		display: block;
	}
	
	.site-logo {
		position: relative;
		z-index: 20;
		display: inline-block;
		margin-bottom: 0;
	}
	
	#toggle-menu {
		position: absolute;
		top: 0;
		right: 10px;
		width: 110px;
		display: flex;
		text-decoration: none !important;
	}
	
	#toggle-menu .dropdown-icon {
		font-size: 41px;
		line-height: 1;
		position: absolute;
		right: 10px;
		top: 5px;
	}
	
	#site-navigation {
		position: absolute;
		top: 10px;
		right: 0;
		background-color: #fdf6f6;
		padding-top: 104px;
		z-index: 10;
	}
	
	.menu-primary-container {
		padding: 0 20px 10px;
		border-bottom: 1px solid #cf8080;
	}
}
.badge-image {
  width: 100% !important; 
  max-width: 220px !important; 
  height: auto !important;
  display: block !important;
}

.image-with-tooltip {
  position: relative;
  display: inline-block;
  max-width: 220px !important; 
  width: 100%;
}

.tooltip-icon {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 24px;
  height: 24px;
  background-color: #d3d3d3;
  color: #000;
  font-weight: bold;
  font-size: 16px;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  cursor: pointer;
  font-family: Arial, sans-serif;
  user-select: none;
  box-shadow: 0 0 4px rgba(0,0,0,0.15);
  z-index: 10;
}

.tooltip-icon .tooltip-text {
  visibility: hidden;
  width: 240px;
  background-color: rgba(51, 51, 51, 0.85); 
  color: #fff;
  text-align: left;
  padding: 8px 10px;
  border-radius: 5px;
  position: absolute;
  z-index: 20;
  top: 50%;                
  left: 110%;              
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 13px;
  line-height: 1.4;
  white-space: normal;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.tooltip-icon:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}
/* Hide image on screens smaller than 768px (typical tablet/mobile width) */
@media only screen and (max-width: 767px) {
    .desktop-only {
        display: none !important;
    }
}

/* Show image on larger screens (PC/desktop) */
@media only screen and (min-width: 768px) {
    .desktop-only {
        display: block !important;
    }
}
@media (max-width: 768px) {
    .main-menu {
        position: fixed;  /* sticks to viewport */
        top: 0;           /* stick to top */
        left: 0;
        width: 100%;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    }
}
.floating-button {
    position: fixed;       
    bottom: 20px;         
    right: 20px;          
    background-color: #b71d1d; 
    color: #fcf6f6;           
    padding: 15px 25px;    
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;    
    text-decoration: none; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 9999;       
    transition: background 0.3s ease, transform 0.2s ease;
}

/* Hover effect */
.floating-button:hover {
    background-color: #574142;
		color: #e8e3e3;
    transform: translateY(-2px);
}

/* Smaller button on mobile */
@media (max-width: 768px) {
    .floating-button {
        padding: 15px 25px;
        font-size: 15px;
        bottom: 15px;
        right: 15px;
    }
}
@media (max-width: 768px) {
    .main-menu {
        position: fixed;          /* Stick to top */
        top: 0;
        left: 0;
        width: 100%;
        background-color: #fcf6f6;   /* adjust color */
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
        z-index: 9999;

        display: flex;           
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;       
    }

    /* Push page content down so it doesn't go under menu */
    body {
        padding-top: 60px;       
    }
/* Ensure body and html do not scroll horizontally */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Wrapper prevents overflow from internal elements */
.form-wrapper {
  max-width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
  margin: 0 auto;
}

/* Form container is responsive */
.form-container {
  max-width: 550px;
  width: 100%;
  margin: 0 auto;
  padding: 25px;
  box-sizing: border-box;
}

/* Make all iframes (EmailJS + reCAPTCHA) responsive */
iframe {
  max-width: 100% !important;
  width: 100% !important;
  display: block !important;
  border: 0 !important;
  height: auto !important;
}

.captcha-wrapper {
  width: 100%;
  max-width: 304px; /* reCAPTCHA default width */
  margin: 0 auto;
}

.g-recaptcha {
  transform: scale(0.77); /* scale for small screens */
  transform-origin: 0 0;
}

/* Make scaling responsive */
@media (max-width: 480px) {
  .g-recaptcha {
    transform: scale(0.65);
    transform-origin: 0 0;
  }
}
/* Disable Hever/Neve's flex layout for THIS form only */
#contactForm {
  display: block !important;
}

/* Make each field stack correctly */
#contactForm label,
#contactForm input,
#contactForm textarea,
#contactForm .checkbox-group {
  display: block !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
  margin-bottom: 15px !important;
}

/* Stack checkbox and radio labels */
#contactForm .checkbox-group label {
  display: block !important;
  margin-bottom: 6px !important;
}
	.wp-block-group.form > .wp-block-group__inner-container {
  border: 1px solid #f0e4e4;
  border-radius: 8px;
  padding: 24px;
  background-color: #fcf6f6;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}