/* Button hover state */
.wp-block-button__link:hover {
	background-color: #bb00bb;
}

/* Grid layout for all posts */
.wp-block-query ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	list-style: none;
	padding: 0;
}

.wp-block-query li {
	margin: 0;
}

.wp-block-cover img {
	object-fit: contain;
/* shows the whole image */
	width: 100%;
	height: auto;
}

/* Make search result titles more obviously clickable */
.search .entry-title a {
	color: #0073aa;
/* default link color */
	text-decoration: none;
/* optional: remove underline */
	transition: color .3s ease;
}

.search .entry-title a:hover {
	color: #005177;
/* strong contrasting color on hover */
	text-decoration: underline;
/* adds extra cue */
	cursor: pointer;
}

.single-post.postid-829 .karuna-share-section {
	display: none;
}

/* Facebook icon in header */
.fb-header {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: #1877f2;
	color: #fff;
	border-radius: 50%;
	text-decoration: none;
	font-size: 22px;
	font-weight: 900;
	position: absolute;
	top: 20px;
	right: 40px;
	z-index: 99;
}

.fb-header:hover {
	background: #145dbf;
}

/* ===== Remove Footer Bottom Line ===== */
.site-footer .site-info {
	border-top: none !important;
	padding-top: 10px !important;
	margin-top: 10px !important;
}

.site-footer .widget a {
	color: #fff;
	text-decoration: none;
	margin: 0 10px;
	display: inline-block;
}

/* Footer links */
.site-footer a {
	color: #ffffff;
	text-decoration: none;
}

/* Remove paragraph spacing in footer */
.footer-widgets p {
	margin: 0 !important;
	padding: 0 !important;
	line-height: .5 !important;
}

.footer-widgets .widget {
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1 !important;
}

/* Center footer content */
.footer-widgets-wrapper {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
}

/* Center the first widget */
.footer-widgets-wrapper .widget-area:first-child {
	width: 100% !important;
	max-width: 700px !important;
	text-align: center !important;
}

/* Reduce overall header padding */
.site-header {
	padding-top: 0 px;
	padding-bottom: 0 px;
}

/* Limit logo size */
.site-logo img {
	max-height: 100px;
	width: auto;
}

/* Prevent site title from being so tall */
.site-title {
	font-size: 28px;
	line-height: 1.2;
	margin-bottom: 5px;
}

/* Reduce space under site branding */
.site-branding {
	margin-bottom: 0;
}

/* Align menu better */
.main-navigation {
	margin-top: 20px;
}

/* Reduce menu item spacing */
.main-navigation a {
	padding: 8px 12px;
	font-weight: 600;
}

.header-bottom {
	display: none !important;
}

.site-title {
	text-transform: none;
	letter-spacing: .5px;
}

/* === HEADER LAYOUT: LOGO LEFT / MENU RIGHT === */
/* Use flexbox for header layout */
.site-header .wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* Keep branding grouped */
.site-branding {
	display: flex;
	align-items: center;
	max-width: 65%;
}

/* Logo size control */
.site-logo img {
	max-height: 100px;
	width: auto;
	margin-right: 15px;
}

/* Site title cleanup */
.site-title {
	font-size: 36px;
	line-height: 1.2;
	margin: 0;
	text-transform: none;
}

/* Navigation to the right */
.main-navigation {
	margin-top: 0;
}

/* Menu spacing */
.main-navigation a {
	padding: 10px 14px;
	font-weight: 600;
}

/* Make long title feel lighter */
.site-title {
	letter-spacing: .5px;
	max-width: 100%;
}

/* === SLIM HEADER TWEAKS === */
/* Reduce vertical padding */
.site-header {
	padding-top: 10px;
	padding-bottom: 10px;
}

/* Shrink logo a bit more */
.site-logo img {
	max-height: 75px;
}

/* Slightly smaller title */
.site-title {
	font-size: 22px;
	line-height: 1.15;
}

/* Tighten navigation links */
.main-navigation a {
	padding: 6px 10px;
	font-size: 14px;
}

/* Remove extra spacing around header wrapper */
.site-header .wrapper {
	padding-top: 0;
	padding-bottom: 0;
}

/* ===== HEADER: make logo + menu on one line ===== */
.site-header .wrapper {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	flex-wrap: nowrap !important;
}

/* make the menu a horizontal row */
.main-navigation ul {
	display: flex !important;
	gap: 18px !important;
}

/* keep menu on the right */
.main-navigation {
	margin-top: 0 !important;
}

/* stop menu wrapping to the next line */
.main-navigation ul li {
	white-space: nowrap !important;
}

.site-title {
	font-size: 18px !important;
	line-height: 1.1 !important;
	margin: 0 !important;
}

.site-title {
	font-size: 14px !important;
	line-height: 1.1 !important;
	margin: 0 !important;
}

.site-description {
	font-size: 10px !important;
	line-height: 1.1 !important;
	margin: 0 !important;
	opacity: .7 !important;
}

/* Shrink the hero / first block below the purple bar */
.wp-block-cover,
.page-header,
.entry-header {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
	margin: 0 !important;
	min-height: auto !important;
}

/* === Make the area below the purple bar smaller === */
/* Reduce padding and height of the hero/cover block */
.wp-block-cover,
.page-header,
.entry-header {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
	margin: 0 !important;
	min-height: auto !important;
}

/* Shrink the main title text */
.wp-block-cover h1,
.page-header h1,
.entry-title {
	font-size: 24px !important;
	line-height: 1.2 !important;
	margin: 0 !important;
}

/* Shrink subtitle/tagline */
.wp-block-cover p,
.page-header p,
.page-header .site-description {
	font-size: 14px !important;
	line-height: 1.3 !important;
	margin: 0 !important;
	opacity: .85 !important;
}

/* 1) Shrink the subtitle text below the title */
.site-description,
.entry-subtitle,
.hero-subtitle,
.wp-block-group__inner-container p,
p.subtitle,
p.tagline,
h1 + p {
	font-size: 12px !important;
	line-height: 1.25 !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: .75 !important;
}

/* ===== Make main title + tagline smaller and more compact ===== */
/* Reduce spacing above and below the title block */
.site-header + .site-content .wrap,
.page-header,
.entry-header {
	margin-top: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 1px !important;
}

.top-bar {
	padding: 6px 0;
	font-size: 12px;
}

.header-social {
	position: absolute;
	right: 20px;
	top: 15px;
}

/* Make the lower purple bar narrower */
.header-widget-area-wrapper {
	padding: 8px 0 !important;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 20px;
}

@media (max-width: 768px) {
	.site-branding {
		gap: 10px;
	}
	
	.main-navigation ul {
		gap: 15px;
	}
}

.footer-widgets p,
.footer-widgets li {
	line-height: .8 !important;
}

/* =========================
   FIX MOBILE HEADER / FB ICON
   ========================= */
@media (max-width: 768px) {
	/* Fix broken header spacing */
	.top-header {
		padding-top: 12px !important;
		padding-bottom: 12px !important;
		overflow: hidden;
	}
	
	/* Make the Facebook icon behave normally */
	.fb-header {
		position: relative !important;
		top: auto !important;
		right: auto !important;
		margin: 0 auto !important;
	}
	
	/* Remove absolute positioning from parent */
	.header-social {
		position: relative !important;
		right: auto !important;
		top: auto !important;
	}
	
	/* Optional: center header content */
	.top-header .header-social {
		display: flex !important;
		justify-content: center !important;
	}
	
	@media (max-width: 768px) {
	.site-footer {
		padding-top: 5px;
		padding-bottom: 5px;
	}
}
	/* FORM CONTAINER */
.mailpoet_form {
  background-color: #f3f5f7; /* soft gray like your sections */
  padding: 25px;
  border-radius: 8px;
  max-width: 500px;
  margin: 0 auto;
}

/* LABELS */
.mailpoet_form label {
  color: #2c5d8a; /* your site blue */
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}

/* INPUT FIELDS */
.mailpoet_form input[type="text"],
.mailpoet_form input[type="email"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
}

/* INPUT FOCUS (when clicked) */
.mailpoet_form input:focus {
  outline: none;
  border-color: #2c5d8a;
  box-shadow: 0 0 0 2px rgba(44, 93, 138, 0.15);
}

/* SUBMIT BUTTON */
.mailpoet_form .mailpoet_submit {
  background-color: #2c5d8a; /* your blue */
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 12px 20px;
  font-weight: bold;
  margin-top: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* BUTTON HOVER */
.mailpoet_form .mailpoet_submit:hover {
  background-color: #3f7cac; /* lighter blue hover */
}

/* OPTIONAL: ADD GREEN ACCENT LINE ON TOP */
.mailpoet_form::before {
  content: "";
  display: block;
  height: 5px;
  background-color: #6aa84f; /* your green */
  border-radius: 8px 8px 0 0;
  margin: -25px -25px 20px -25px;
}
.media-body h5:has(a[href*="/profile/"]) {
    display: none !important;
}