/* Metallic Gold Gradient for Buttons */
.has-custom-gold-background-color,
.wp-block-button__link.has-custom-gold-background-color,
.wp-element-button.has-custom-gold-background-color {
	background: linear-gradient(145deg, #7a6228 0%, #9B7B37 18%, #c9a84c 38%, #d4b856 50%, #c9a84c 62%, #9B7B37 82%, #7a6228 100%) !important;
	border: none;
	text-shadow: 0 1px 1px rgba(0,0,0,0.15);
	transition: all .3s ease;
}

.has-custom-gold-background-color:hover,
.wp-block-button__link.has-custom-gold-background-color:hover,
.wp-element-button.has-custom-gold-background-color:hover {
	background: linear-gradient(145deg, #8a7030 0%, #ab8b47 18%, #d9b85c 38%, #e4c866 50%, #d9b85c 62%, #ab8b47 82%, #8a7030 100%) !important;
	box-shadow: 0 4px 15px rgba(155,123,55,0.4);
}

/* FAQ Filter & Accordion Styles */
.faq-wrapper {
	max-width: none;
	margin: 0 auto;
}

.faq-target {
	position: absolute;
	visibility: hidden;
}

.faq-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 32px;
}

.faq-btn {
	padding: 10px 22px;
	border: 2px solid #072140;
	border-radius: 50px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	color: #072140;
	background: transparent;
	transition: all .2s ease;
	text-decoration: none;
}

.faq-btn:hover {
	background: #072140;
	color: #fff;
	text-decoration: none;
}

/* Default state - show all, "All" button active */
.faq-btn-all {
	background: #072140;
	color: #fff;
}

/* When a target is active, reset "All" and highlight the active filter */
#faq-show-working:target ~ .faq-filters .faq-btn-all,
#faq-show-bookkeeping:target ~ .faq-filters .faq-btn-all,
#faq-show-advisory:target ~ .faq-filters .faq-btn-all,
#faq-show-tax:target ~ .faq-filters .faq-btn-all,
#faq-show-pricing:target ~ .faq-filters .faq-btn-all,
#faq-show-getting-started:target ~ .faq-filters .faq-btn-all {
	background: transparent;
	color: #072140;
}

#faq-show-working:target ~ .faq-filters .faq-btn-working,
#faq-show-bookkeeping:target ~ .faq-filters .faq-btn-bookkeeping,
#faq-show-advisory:target ~ .faq-filters .faq-btn-advisory,
#faq-show-tax:target ~ .faq-filters .faq-btn-tax,
#faq-show-pricing:target ~ .faq-filters .faq-btn-pricing,
#faq-show-getting-started:target ~ .faq-filters .faq-btn-getting-started {
	background: #072140;
	color: #fff;
}

/* When "All" is targeted, restore its active state */
#faq-show-all:target ~ .faq-filters .faq-btn-all {
	background: #072140;
	color: #fff;
}

/* Hide non-matching items when a filter is active */
#faq-show-working:target ~ .faq-list .faq-detail {
	display: none;
}

#faq-show-working:target ~ .faq-list .cat-working {
	display: block;
}

#faq-show-bookkeeping:target ~ .faq-list .faq-detail {
	display: none;
}

#faq-show-bookkeeping:target ~ .faq-list .cat-bookkeeping {
	display: block;
}

#faq-show-advisory:target ~ .faq-list .faq-detail {
	display: none;
}

#faq-show-advisory:target ~ .faq-list .cat-advisory {
	display: block;
}

#faq-show-tax:target ~ .faq-list .faq-detail {
	display: none;
}

#faq-show-tax:target ~ .faq-list .cat-tax {
	display: block;
}

#faq-show-pricing:target ~ .faq-list .faq-detail {
	display: none;
}

#faq-show-pricing:target ~ .faq-list .cat-pricing {
	display: block;
}

#faq-show-getting-started:target ~ .faq-list .faq-detail {
	display: none;
}

#faq-show-getting-started:target ~ .faq-list .cat-getting-started {
	display: block;
}

/* "All" target shows everything */
#faq-show-all:target ~ .faq-list .faq-detail {
	display: block;
}

/* Accordion styles */
.faq-detail {
	border: 1px solid #e8d9c3;
	border-radius: 8px;
	margin-bottom: 12px;
	overflow: hidden;
}

.faq-detail[open] {
	border-color: #9B7B37;
}

.faq-summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 24px;
	cursor: pointer;
	font-weight: 700;
	font-size: 17px;
	color: #072140;
	list-style: none;
	background: #fff;
}

.faq-summary::-webkit-details-marker {
	display: none;
}

.faq-summary::marker {
	display: none;
	content: "";
}

.faq-plus {
	color: #9B7B37;
	font-size: 24px;
	font-weight: 400;
	flex-shrink: 0;
	margin-left: 16px;
	transition: transform .2s ease;
}

.faq-detail[open] .faq-plus {
	transform: rotate(45deg);
}

.faq-answer-content {
	padding: 0 24px 20px;
	color: #555;
	font-size: 15px;
	line-height: 1.7;
	background: #fff;
}

.faq-answer-content p {
	margin: 0;
}

/* ===== Guide Download Modal Popup ===== */
.doza-modal-overlay {
	display: none;
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	max-width: 100vw !important;
	background: rgba(7, 33, 64, 0.7) !important;
	z-index: 99999 !important;
	justify-content: center;
	align-items: center;
	padding: 20px;
	margin: 0 !important;
}

.doza-modal-overlay:target {
	display: flex !important;
}

.doza-modal-content {
	max-width: 520px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.doza-popup-close {
	position: absolute;
	top: 12px;
	right: 16px;
	z-index: 10;
}

.doza-close-btn {
	font-size: 28px;
	color: #072140;
	text-decoration: none;
	font-weight: 300;
	line-height: 1;
	opacity: .6;
	transition: opacity .2s;
}

.doza-close-btn:hover {
	opacity: 1;
	text-decoration: none;
	color: #072140;
}

.doza-gate-form .wp-block-jetpack-contact-form {
	margin: 0;
}

.doza-gate-form input[type="text"],
.doza-gate-form input[type="email"],
.doza-gate-form input[type="tel"] {
	border: 2px solid #e8d9c3;
	border-radius: 8px;
	padding: 12px 16px;
	font-size: 15px;
	width: 100%;
	transition: border-color .2s;
}

.doza-gate-form input[type="text"]:focus,
.doza-gate-form input[type="email"]:focus,
.doza-gate-form input[type="tel"]:focus {
	border-color: #9B7B37;
	outline: none;
	box-shadow: 0 0 0 3px rgba(155, 123, 55, 0.15);
}

.doza-gate-form label {
	font-weight: 600;
	color: #072140;
	font-size: 14px;
	margin-bottom: 6px;
}

.doza-gate-form .pushbutton-wide,
.doza-gate-form button[type="submit"] {
	background: linear-gradient(135deg, #9B7B37, #c4a44a) !important;
	color: #fff !important;
	border: none;
	border-radius: 50px;
	padding: 14px 32px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	width: 100%;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all .3s ease;
}

.doza-gate-form .pushbutton-wide:hover,
.doza-gate-form button[type="submit"]:hover {
	background: linear-gradient(135deg, #c4a44a, #9B7B37) !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 15px rgba(155, 123, 55, 0.4);
}

/* Mobile responsive */
@media (max-width: 600px) {
	.doza-modal-content {
		max-width: 100%;
		margin: 10px;
	}
}

/* Jetpack form input refinements */
#guide-download-form input[type="text"],
#guide-download-form input[type="email"],
#guide-download-form input[type="tel"] {
	border: 2px solid #e8d9c3 !important;
	border-radius: 8px !important;
	padding: 12px 16px !important;
	font-size: 15px !important;
	transition: border-color .2s;
}

#guide-download-form input[type="text"]:focus,
#guide-download-form input[type="email"]:focus,
#guide-download-form input[type="tel"]:focus {
	border-color: #9B7B37 !important;
	outline: none;
	box-shadow: 0 0 0 3px rgba(155, 123, 55, 0.15) !important;
}

#guide-download-form .pushbutton-wide {
	background: linear-gradient(135deg, #9B7B37, #c4a44a) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 50px !important;
	padding: 14px 32px !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	cursor: pointer;
	width: 100% !important;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all .3s ease;
}

#guide-download-form .pushbutton-wide:hover {
	background: linear-gradient(135deg, #c4a44a, #9B7B37) !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 15px rgba(155, 123, 55, 0.4) !important;
}

/* ===== Team Section Text Alignment ===== */
.page-id-7 .wp-block-columns .wp-block-column h4.wp-block-heading {
	text-align: center !important;
}

.page-id-7 .wp-block-columns .wp-block-column details {
	text-align: center;
}

/* ===== Footer Styling ===== */
.wp-block-template-part .wp-block-image img {
	filter: brightness(0) invert(1);
}

.footer-links-list {
	list-style: none !important;
	padding-left: 0 !important;
}

.footer-links-list li {
	list-style: none !important;
	padding-left: 0 !important;
}

/* ===== Team Section Cards ===== */










.team-section .wp-block-separator.team-section-divider {
	width: 60px;
	margin: 0 auto 20px !important;
	min-height: 3px;
	height: 3px;
	border: none !important;
}

.team-section .wp-block-columns {
	margin-bottom: 30px;
}

@media (max-width: 781px) {
	
	
	.team-section {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
}

/* Hero Heading - Staggered Layout */
.hero-heading {
	max-width: 900px;
	margin-left: auto !important;
	margin-right: auto !important;
	line-height: 1.15 !important;
	font-size: 48px !important;
	text-align: center;
}

.hero-heading br {
	display: inline;
}

/* Tablet */
@media (max-width: 1024px) {
	.hero-heading {
		font-size: 40px !important;
		max-width: 700px;
	}
}

/* Mobile */
@media (max-width: 600px) {
	.hero-heading {
		font-size: 28px !important;
		max-width: 100%;
		letter-spacing: 1px !important;
	}
}

/* Hero Subheading - More visible */
.wp-block-cover .wp-block-paragraph[style*="20px"] {
	color: #c9a84c !important;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
	font-weight: 600 !important;
	font-size: 21px !important;
}

/* ==================== REBRAND BANNER ==================== */
.doza-rebrand-banner {
  background: #072140;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.4;
  position: relative;
  z-index: 100;
}
.doza-banner-checkbox { display: none !important; }
.doza-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 40px 10px 20px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}
.doza-banner-text { letter-spacing: 0.3px; }
.doza-banner-text strong {
  color: #c9a84c;
  font-weight: 600;
}
.doza-banner-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: rgba(255,255,255,0.8);
  padding: 4px 8px;
  font-weight: 300;
  user-select: none;
  transition: color 0.2s;
}
.doza-banner-close:hover { color: #ffffff; }
.doza-banner-checkbox:checked ~ .doza-banner-inner { display: none; }
@media (max-width: 600px) {
  .doza-rebrand-banner { font-size: 12px; }
  .doza-banner-inner { padding: 10px 36px 10px 12px; }
  .doza-banner-close { right: 10px; font-size: 20px; }
}

/* ==================== REBRAND POPUP ==================== */
.doza-popup-wrap {
  position: fixed;
  inset: 0;
  z-index: 9999;
  animation: dozaPopupFadeIn 0.4s ease-out 2s both;
  pointer-events: none;
}
.doza-popup-wrap * { pointer-events: auto; }
@keyframes dozaPopupFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.doza-popup-checkbox { display: none !important; }
.doza-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 33, 64, 0.65);
  cursor: pointer;
}
.doza-popup-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border-radius: 12px;
  padding: 40px 36px 32px;
  max-width: 480px;
  width: calc(100% - 32px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  text-align: center;
  box-sizing: border-box;
}
.doza-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 26px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  user-select: none;
  transition: color 0.2s;
  font-weight: 300;
}
.doza-popup-close:hover { color: #072140; }
.doza-popup-badge {
  display: inline-block;
  background: #c9a84c;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.doza-popup-heading {
  color: #072140 !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  margin: 0 0 16px 0 !important;
  line-height: 1.2;
}
.doza-popup-body {
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 14px 0;
}
.doza-popup-body strong { color: #072140; }
.doza-popup-body-small {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 24px 0;
}
.doza-popup-btn {
  display: inline-block;
  background: #072140;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  border: none;
  user-select: none;
}
.doza-popup-btn:hover { background: #0a2e5c; color: #ffffff; }
.doza-popup-checkbox:checked ~ .doza-popup-overlay,
.doza-popup-checkbox:checked ~ .doza-popup-card { display: none; }
@media (max-width: 600px) {
  .doza-popup-card { padding: 32px 24px 24px; }
  .doza-popup-heading { font-size: 24px !important; }
  .doza-popup-body { font-size: 15px; }
}



/* ==================== LANDING PAGE SERVICE CARDS ==================== */
body.page-id-309 div[style*="#f7f5ef"],
body.page-id-309 div[style*="#F7F5EF"] {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  will-change: transform, box-shadow;
  box-shadow: 0 2px 8px rgba(7, 33, 64, 0.04);
}

body.page-id-309 div[style*="#f7f5ef"]:hover,
body.page-id-309 div[style*="#F7F5EF"]:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(7, 33, 64, 0.15),
              0 4px 8px rgba(7, 33, 64, 0.08);
}

body.page-id-309 div[style*="#f7f5ef"] img,
body.page-id-309 div[style*="#F7F5EF"] img {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.page-id-309 div[style*="#f7f5ef"]:hover img,
body.page-id-309 div[style*="#F7F5EF"]:hover img {
  transform: scale(1.12) rotate(-4deg);
}

body.page-id-309 div[style*="#f7f5ef"] h3,
body.page-id-309 div[style*="#f7f5ef"] h4,
body.page-id-309 div[style*="#F7F5EF"] h3,
body.page-id-309 div[style*="#F7F5EF"] h4 {
  transition: color 0.3s ease;
}

body.page-id-309 div[style*="#f7f5ef"]:hover h3,
body.page-id-309 div[style*="#f7f5ef"]:hover h4,
body.page-id-309 div[style*="#F7F5EF"]:hover h3,
body.page-id-309 div[style*="#F7F5EF"]:hover h4 {
  color: #9B7B37 !important;
}

/* ==================== LANDING PAGE FORM + CALENDLY ==================== */
/* Cleaner Jetpack form styling on landing page */
body.page-id-309 .wp-block-jetpack-contact-form input[type="text"],
body.page-id-309 .wp-block-jetpack-contact-form input[type="email"],
body.page-id-309 .wp-block-jetpack-contact-form input[type="tel"],
body.page-id-309 .wp-block-jetpack-contact-form select,
body.page-id-309 .wp-block-jetpack-contact-form textarea {
  border: 1.5px solid #e0e0e0 !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  background: #ffffff !important;
}

body.page-id-309 .wp-block-jetpack-contact-form input[type="text"]:focus,
body.page-id-309 .wp-block-jetpack-contact-form input[type="email"]:focus,
body.page-id-309 .wp-block-jetpack-contact-form input[type="tel"]:focus,
body.page-id-309 .wp-block-jetpack-contact-form select:focus,
body.page-id-309 .wp-block-jetpack-contact-form textarea:focus {
  border-color: #9B7B37 !important;
  box-shadow: 0 0 0 3px rgba(155, 123, 55, 0.15) !important;
  outline: none !important;
}

body.page-id-309 .wp-block-jetpack-contact-form label {
  font-weight: 600 !important;
  color: #072140 !important;
  font-size: 14px !important;
  margin-bottom: 6px !important;
  display: block !important;
}

/* Submit button styling */
body.page-id-309 .wp-block-jetpack-contact-form button[type="submit"],
body.page-id-309 .wp-block-jetpack-button .wp-block-button__link {
  background: #072140 !important;
  color: #ffffff !important;
  padding: 14px 32px !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border: none !important;
  cursor: pointer !important;
  transition: background 0.2s ease, transform 0.1s ease !important;
  width: 100% !important;
}

body.page-id-309 .wp-block-jetpack-contact-form button[type="submit"]:hover,
body.page-id-309 .wp-block-jetpack-button .wp-block-button__link:hover {
  background: #0a2e5c !important;
  transform: translateY(-1px) !important;
}

/* Calendly iframe container */
body.page-id-309 .doza-calendly-inline {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(7, 33, 64, 0.08);
  background: #ffffff;
}

body.page-id-309 .doza-calendly-inline iframe {
  display: block;
  border: none;
  width: 100%;
  min-height: 1100px;
}

/* Add spacing between form column and calendly column */
body.page-id-309 .wp-block-columns {
  gap: 40px !important;
}

/* Section intro paragraphs - make them more subtle */
body.page-id-309 .wp-block-column > p {
  color: #666 !important;
  font-size: 15px !important;
  margin-bottom: 24px !important;
}

/* Headings in form section */


/* Mobile */
@media (max-width: 782px) {
  body.page-id-309 .doza-calendly-inline {
    margin-top: 40px;
  }
  body.page-id-309 .doza-calendly-inline iframe {
    min-height: 1000px;
  }
}

/* ==================== LANDING PAGE SPACING & HEADERS ==================== */
/* Column headers - big and bold */
body.page-id-309 .wp-block-column h2 {
  font-size: 32px !important;
  font-weight: 700 !important;
  color: #072140 !important;
  line-height: 1.2 !important;
  margin: 0 0 8px 0 !important;
}

/* Subtitle paragraphs under headings */
body.page-id-309 .wp-block-column > p:first-of-type,
body.page-id-309 .wp-block-column h2 + p {
  color: #666 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  margin: 0 0 32px 0 !important;
}

/* Gap between the two columns */
body.page-id-309 .wp-block-columns {
  gap: 60px !important;
}

/* Form field spacing */
body.page-id-309 .wp-block-jetpack-contact-form .grunion-field-wrap,
body.page-id-309 .wp-block-jetpack-contact-form .jetpack-field {
  margin-bottom: 20px !important;
}

/* Calendly widget - ensure nice container */
body.page-id-309 .wp-block-jetpack-calendly {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(7, 33, 64, 0.08);
  background: #ffffff;
}

body.page-id-309 .wp-block-jetpack-calendly iframe {
  border-radius: 12px;
  min-height: 1100px !important;
}

/* Mobile - stack columns, reduce heading size */
@media (max-width: 782px) {
  body.page-id-309 .wp-block-columns { gap: 40px !important; }
  body.page-id-309 .wp-block-column h2 {
    font-size: 26px !important;
  }
}

/* Make Calendly widget fit entirely without scroll */
body.page-id-309 .wp-block-jetpack-calendly,
body.page-id-309 .wp-block-jetpack-calendly .calendly-inline-widget {
  height: auto !important;
  min-height: 1100px !important;
  overflow: visible !important;
}

body.page-id-309 .wp-block-jetpack-calendly iframe {
  height: 1100px !important;
  min-height: 1100px !important;
}

@media (max-width: 782px) {
  body.page-id-309 .wp-block-jetpack-calendly,
  body.page-id-309 .wp-block-jetpack-calendly .calendly-inline-widget,
  body.page-id-309 .wp-block-jetpack-calendly iframe {
    min-height: 1000px !important;
    height: 1000px !important;
  }
}

/* ==================== ABOUT LONG-FORM SECTION ==================== */
.doza-about-longform {
  background: #ffffff;
  padding: 80px 24px;
  width: 100%;
  border-top: 1px solid #f0f0f0;
}

.doza-about-inner {
  max-width: 820px;
  margin: 0 auto;
}

.doza-about-longform .doza-eyebrow {
  color: #9B7B37;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  text-align: center;
}

.doza-about-longform h2 {
  color: #072140 !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  margin: 0 0 24px 0 !important;
  line-height: 1.2;
  text-align: center;
}

.doza-about-longform .doza-lead {
  color: #444 !important;
  font-size: 18px !important;
  line-height: 1.65 !important;
  margin: 0 0 40px 0 !important;
  text-align: center;
}

.doza-about-longform h3 {
  color: #072140 !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  margin: 32px 0 12px 0 !important;
  padding-top: 8px;
  border-top: 3px solid #c9a84c;
  display: inline-block;
  padding-right: 24px;
}

.doza-about-longform p {
  color: #333 !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  margin: 0 0 14px 0 !important;
}

.doza-about-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 8px 0 16px 0 !important;
}

.doza-about-list li {
  position: relative;
  padding-left: 28px;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.doza-about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border: 2px solid #9B7B37;
  border-radius: 3px;
}

.doza-about-list li::after {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 1px;
  color: #9B7B37;
  font-weight: 700;
  font-size: 14px;
}

.doza-about-bottomline {
  background: #F7F5EF;
  border-left: 4px solid #9B7B37;
  padding: 24px 28px;
  margin-top: 32px;
  border-radius: 0 8px 8px 0;
}

.doza-about-bottomline h3 {
  margin-top: 0 !important;
  border-top: none;
  padding-top: 0;
}

@media (max-width: 600px) {
  .doza-about-longform { padding: 50px 20px; }
  .doza-about-longform h2 { font-size: 26px !important; }
  .doza-about-longform .doza-lead { font-size: 16px !important; }
  .doza-about-longform h3 { font-size: 19px !important; }
}

/* ==================== TEAM PHOTOS — CONSISTENT PORTRAIT ASPECT ==================== */
/* Lock all team photos to a 4:5 portrait aspect ratio across all breakpoints */
.team-card .wp-block-image, .team-card figure {
  width: 100%;
  margin: 0 !important;
}
.team-card .wp-block-image img, .team-card figure img {
  width: 100% !important;
  aspect-ratio: 4 / 5 !important;
  height: auto !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block;
  border-radius: 0 !important;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Tablet — keep portrait */
@media (max-width: 1024px) {
  .team-card .wp-block-image img, .team-card figure img { aspect-ratio: 4 / 5 !important; }
}

/* Mobile */
@media (max-width: 600px) {
  .team-card .wp-block-image img, .team-card figure img { aspect-ratio: 4 / 5 !important; }
}


/* ==================== TEAM CARD BIO ALIGNMENT ==================== */
.team-card p {
  text-align: center !important;
}
.team-card .wp-block-paragraph {
  text-align: center !important;
}

/* ==================== TEAM CARD PARAGRAPH PADDING ==================== */
.team-card p {
  padding-left: 20px !important;
  padding-right: 20px !important;
  text-align: center !important;
}
.team-card p.has-text-align-center {
  padding-left: 20px !important;
  padding-right: 20px !important;
}







/* ==================== LEADERSHIP ROW — FLOATING MAGAZINE LAYOUT ==================== */
.doza-leadership-row {
  max-width: 1080px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 40px !important;
}

.doza-leadership-row > .wp-block-column {
  width: 100% !important;
  flex-basis: 100% !important;
  max-width: 100% !important;
}

.doza-leadership-row .team-card {
  display: block !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  padding: 36px 40px !important;
  box-shadow: 0 2px 12px rgba(7, 33, 64, 0.08);
  overflow: hidden;
  text-align: left !important;
}

/* Float photo LEFT for first card (Nacho) */
.doza-leadership-row > .wp-block-column:nth-child(1) .team-card .wp-block-image,
.doza-leadership-row > .wp-block-column:nth-child(1) .team-card figure {
  float: left !important;
  margin: 0 32px 16px 0 !important;
  width: 260px !important;
  max-width: 260px !important;
}

/* Float photo RIGHT for second card (Patricia) */
.doza-leadership-row > .wp-block-column:nth-child(2) .team-card .wp-block-image,
.doza-leadership-row > .wp-block-column:nth-child(2) .team-card figure {
  float: right !important;
  margin: 0 0 16px 32px !important;
  width: 260px !important;
  max-width: 260px !important;
}

/* Photo image */
.doza-leadership-row .team-card .wp-block-image img,
.doza-leadership-row .team-card figure img {
  width: 260px !important;
  max-width: 260px !important;
  height: 325px !important;
  aspect-ratio: 4/5 !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  display: block !important;
}

/* Hide separator */
.doza-leadership-row .team-card .wp-block-separator,
.doza-leadership-row .team-card hr {
  display: none !important;
}

/* Heading */
.doza-leadership-row .team-card h2,
.doza-leadership-row .team-card h3,
.doza-leadership-row .team-card h4 {
  text-align: left !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #072140 !important;
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}

/* Title (role) */
.doza-leadership-row .team-card > p:first-of-type {
  text-align: left !important;
  font-style: italic !important;
  color: #9B7B37 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 0 0 14px 0 !important;
  margin: 0 0 18px 0 !important;
  border-bottom: 1px solid rgba(155, 123, 55, 0.3) !important;
  letter-spacing: 0.3px;
}

/* Bio paragraphs */
.doza-leadership-row .team-card > p:not(:first-of-type) {
  text-align: left !important;
  padding: 0 !important;
  font-size: 14.5px !important;
  line-height: 1.65 !important;
  color: #444 !important;
  margin: 0 0 14px 0 !important;
}

/* Clear floats at the end */
.doza-leadership-row .team-card::after {
  content: "";
  display: table;
  clear: both;
}

/* Mobile - photo on top, bio below */
@media (max-width: 782px) {
  .doza-leadership-row .team-card {
    padding: 24px !important;
    text-align: center !important;
  }
  .doza-leadership-row > .wp-block-column:nth-child(1) .team-card .wp-block-image,
  .doza-leadership-row > .wp-block-column:nth-child(2) .team-card .wp-block-image,
  .doza-leadership-row > .wp-block-column:nth-child(1) .team-card figure,
  .doza-leadership-row > .wp-block-column:nth-child(2) .team-card figure {
    float: none !important;
    margin: 0 auto 20px auto !important;
    width: 100% !important;
    max-width: 240px !important;
  }
  .doza-leadership-row .team-card .wp-block-image img,
  .doza-leadership-row .team-card figure img {
    width: 100% !important;
    max-width: 240px !important;
    margin: 0 auto !important;
  }
  .doza-leadership-row .team-card h2,
  .doza-leadership-row .team-card h3,
  .doza-leadership-row .team-card h4,
  .doza-leadership-row .team-card p {
    text-align: center !important;
  }
}

/* ==================== MOBILE AUDIT FIXES ==================== */
/* Prevent long words/URLs from overflowing on mobile */
body, p, h1, h2, h3, h4, h5, h6, li, td, a, span, div {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Long URLs in body content */
.entry-content a, .wp-block-post-content a, p a {
  word-break: break-word;
}

/* FAQ filter tabs — allow horizontal scroll on mobile if too many to fit */
@media (max-width: 600px) {
  .faq-tabs, [class*="faq-filter"], [class*="faq-categories"] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    scrollbar-width: thin;
  }
  .faq-tabs > *, [class*="faq-filter"] > *, [class*="faq-categories"] > * {
    flex-shrink: 0;
    display: inline-block;
  }
}

/* Footer tel/mailto links - clean up styling */
footer a[href^="tel:"],
footer a[href^="mailto:"] {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
footer a[href^="tel:"]:hover,
footer a[href^="mailto:"]:hover {
  color: #c9a84c;
  text-decoration: underline;
}

/* Ensure mobile menu is touch-friendly */
@media (max-width: 600px) {
  .wp-block-navigation__responsive-container-open,
  .wp-block-navigation__responsive-container-close {
    min-width: 44px;
    min-height: 44px;
  }
}

/* ==================== MOBILE NAV & HEADER FIXES ==================== */
@media (max-width: 782px) {
  /* Make hamburger menu icon larger and easier to tap */
  .wp-block-navigation__responsive-container-open {
    padding: 12px !important;
    min-width: 48px !important;
    min-height: 48px !important;
  }
  .wp-block-navigation__responsive-container-open svg {
    width: 32px !important;
    height: 32px !important;
  }

  /* Slim down the Get Started + Client Portal header buttons */
  header .wp-block-button__link,
  .wp-block-template-part header .wp-block-button__link,
  .wp-block-buttons.is-style-outline .wp-block-button__link,
  header .wp-block-buttons .wp-block-button__link {
    padding: 8px 14px !important;
    font-size: 13px !important;
    min-height: 0 !important;
    line-height: 1.3 !important;
    white-space: nowrap;
  }

  /* Reduce header padding on mobile */
  .wp-block-template-part > .wp-block-group {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Header buttons gap */
  header .wp-block-buttons {
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }
}

/* Smaller phones - hide Client Portal text, keep Get Started compact */
@media (max-width: 480px) {
  header .wp-block-button__link {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
}

/* ==================== ABOUT: OUR PROCESS + WHAT MAKES US DIFFERENT ==================== */
@media (max-width: 782px) {
  /* Force multi-column groups to stack vertically on mobile */
  body.page-id-7 .wp-block-columns,
  body.page-id-7 .wp-block-columns:not(.is-not-stacked-on-mobile) {
    flex-direction: column !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
  }
  body.page-id-7 .wp-block-columns > .wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* Padding for the About page sections */
  body.page-id-7 .wp-block-group.alignfull {
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  /* Section headings */
  body.page-id-7 .wp-block-group.alignfull h2 {
    font-size: 28px !important;
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
  }
  body.page-id-7 .wp-block-group.alignfull h3 {
    font-size: 18px !important;
    line-height: 1.3 !important;
  }
  body.page-id-7 .wp-block-group.alignfull p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
}

/* ==================== WHO WE SERVE PAGE ==================== */
@media (max-width: 782px) {
  body.page-id-13 .wp-block-columns,
  body.page-id-13 .wp-block-columns:not(.is-not-stacked-on-mobile) {
    flex-direction: column !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
  }
  body.page-id-13 .wp-block-columns > .wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  body.page-id-13 .wp-block-group.alignfull {
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
  body.page-id-13 .wp-block-group.alignfull h2 {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }
  body.page-id-13 .wp-block-group.alignfull h3 {
    font-size: 18px !important;
    line-height: 1.3 !important;
  }
  body.page-id-13 .wp-block-group.alignfull p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
}

/* ==================== GLOBAL MOBILE FIXES ==================== */
@media (max-width: 782px) {
  /* Prevent long words from causing horizontal overflow */
  body, p, h1, h2, h3, h4, h5, h6, li, a {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  /* Ensure no element overflows viewport */
  body { overflow-x: hidden; }
}

/* ==================== MOBILE HORIZONTAL SCROLLERS ==================== */
@media (max-width: 782px) {
  /* Reset the page-level mobile rules that force vertical stacking */
  body.page-id-7 .doza-process-section .wp-block-columns,
  body.page-id-7 .doza-different-section .wp-block-columns {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 8px 20px 24px !important;
    margin-left: -20px !important;
    margin-right: -20px !important;
    scrollbar-width: thin;
  }

  body.page-id-7 .doza-process-section .wp-block-columns > .wp-block-column,
  body.page-id-7 .doza-different-section .wp-block-columns > .wp-block-column {
    flex: 0 0 80% !important;
    width: 80% !important;
    min-width: 80% !important;
    max-width: 80% !important;
    scroll-snap-align: center !important;
  }

  /* OUR PROCESS — Timeline horizontal scroller */
  /* The timeline is a Custom HTML block with nested divs containing step cards */
  body.page-id-7 .doza-process-section .wp-block-html {
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
    margin-left: -20px;
    margin-right: -20px;
    padding: 8px 20px 24px;
    scrollbar-width: thin;
    scroll-snap-type: x mandatory;
  }

  /* Make timeline children flow horizontally */
  body.page-id-7 .doza-process-section .wp-block-html > div {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
    width: max-content !important;
    padding: 0 !important;
  }

  /* Each step card */
  body.page-id-7 .doza-process-section .wp-block-html > div > div {
    flex: 0 0 78vw !important;
    width: 78vw !important;
    min-width: 78vw !important;
    max-width: 78vw !important;
    scroll-snap-align: center !important;
  }

  /* WHAT MAKES US DIFFERENT — Horizontal scroller */
  body.page-id-7 .doza-different-section .wp-block-group {
    /* If inner groups exist, ensure they don't constrain width */
    width: auto;
  }

  /* Scroll hint */
  body.page-id-7 .doza-process-section::after,
  body.page-id-7 .doza-different-section::after {
    content: "← Swipe to see more →";
    display: block;
    text-align: center;
    color: #9B7B37;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 12px;
    opacity: 0.7;
  }

  /* Custom scrollbar styling */
  body.page-id-7 .doza-process-section .wp-block-html::-webkit-scrollbar,
  body.page-id-7 .doza-process-section .wp-block-columns::-webkit-scrollbar,
  body.page-id-7 .doza-different-section .wp-block-columns::-webkit-scrollbar {
    height: 6px;
  }
  body.page-id-7 .doza-process-section .wp-block-html::-webkit-scrollbar-thumb,
  body.page-id-7 .doza-process-section .wp-block-columns::-webkit-scrollbar-thumb,
  body.page-id-7 .doza-different-section .wp-block-columns::-webkit-scrollbar-thumb {
    background: #c9a84c;
    border-radius: 3px;
  }
  body.page-id-7 .doza-process-section .wp-block-html::-webkit-scrollbar-track,
  body.page-id-7 .doza-process-section .wp-block-columns::-webkit-scrollbar-track,
  body.page-id-7 .doza-different-section .wp-block-columns::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 3px;
  }
}







/* ==================== TESTIMONIALS CAROUSEL — HIGH SPECIFICITY AUTO-SCROLL ==================== */
@keyframes dozaScrollLoop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

body .doza-testimonials-carousel {
  overflow: hidden !important;
  position: relative;
  width: 100% !important;
}

body .doza-testimonials-carousel > .wp-block-columns,
body .doza-testimonials-carousel .wp-block-columns,
body .doza-testimonials-carousel .wp-block-columns.is-layout-flex,
body .doza-testimonials-carousel > .wp-container-core-columns-is-layout-1 {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  max-width: none !important;
  min-width: 0 !important;
  gap: 24px !important;
  padding: 16px 12px 24px !important;
  margin: 0 !important;
  overflow: visible !important;
  animation: dozaScrollLoop 50s linear infinite !important;
  animation-play-state: running !important;
  will-change: transform;
  justify-content: flex-start !important;
}

body .doza-testimonials-carousel:hover > .wp-block-columns,
body .doza-testimonials-carousel:hover .wp-block-columns,
body .doza-testimonials-carousel:focus-within .wp-block-columns {
  animation-play-state: paused !important;
}

body .doza-testimonials-carousel .wp-block-columns > .wp-block-column {
  flex: 0 0 360px !important;
  flex-basis: 360px !important;
  width: 360px !important;
  min-width: 360px !important;
  max-width: 360px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Edge fade gradients */
body .doza-testimonials-carousel::before,
body .doza-testimonials-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 5;
}
body .doza-testimonials-carousel::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, rgba(255,255,255,0));
}
body .doza-testimonials-carousel::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, rgba(255,255,255,0));
}

/* Mobile - smaller cards, faster scroll */
@media (max-width: 782px) {
  body .doza-testimonials-carousel .wp-block-columns {
    gap: 16px !important;
    animation: dozaScrollLoop 35s linear infinite !important;
  }
  body .doza-testimonials-carousel .wp-block-columns > .wp-block-column {
    flex: 0 0 280px !important;
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
  }
  body .doza-testimonials-carousel::before,
  body .doza-testimonials-carousel::after {
    width: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .doza-testimonials-carousel .wp-block-columns {
    animation: none !important;
  }
}

/* ==================== TESTIMONIAL CARD INNER SPACING ==================== */
body .doza-testimonials-carousel .wp-block-columns > .wp-block-column {
  padding: 32px 28px !important;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(7, 33, 64, 0.06);
  display: flex !important;
  flex-direction: column !important;
}

body .doza-testimonials-carousel .wp-block-columns > .wp-block-column > p {
  margin: 0 !important;
  padding: 0 !important;
}

/* Stars */
body .doza-testimonials-carousel .wp-block-columns > .wp-block-column > p:first-of-type {
  margin-bottom: 18px !important;
}

/* Quote */
body .doza-testimonials-carousel .wp-block-columns > .wp-block-column > p:nth-of-type(2) {
  font-style: italic;
  color: #444;
  line-height: 1.65 !important;
  margin-bottom: 24px !important;
  flex-grow: 1;
}

/* Attribution name */
body .doza-testimonials-carousel .wp-block-columns > .wp-block-column > p:last-of-type {
  margin-top: auto !important;
  color: #072140;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 782px) {
  body .doza-testimonials-carousel .wp-block-columns > .wp-block-column {
    padding: 24px 22px !important;
  }
}

/* ==================== RESOURCES GUIDE CARDS — UNIFORM BUTTONS ==================== */
body.page-id-15 .wp-block-column .wp-block-buttons {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  margin-top: 16px !important;
}
body.page-id-15 .wp-block-column .wp-block-button {
  width: auto !important;
}
body.page-id-15 .wp-block-column .wp-block-button .wp-element-button,
body.page-id-15 .wp-block-column .wp-block-button .wp-block-button__link {
  width: 153px !important;
  min-width: 153px !important;
  max-width: 153px !important;
  text-align: center !important;
  display: inline-block !important;
  white-space: normal !important;
  line-height: 1.3 !important;
}

/* ==================== CREDENTIALS / CERTIFICATIONS SECTION ==================== */
/* Full-width breakout */
.doza-credentials-section {
  background: #F7F5EF;
  padding: 80px 24px;
  width: 100vw !important;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  max-width: 100vw !important;
}

.doza-credentials-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.doza-credentials-eyebrow {
  color: #9B7B37;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  margin: 0 0 12px 0;
  text-transform: uppercase;
}

.doza-credentials-heading {
  color: #072140 !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  margin: 0 0 12px 0 !important;
  line-height: 1.2;
}

.doza-credentials-subtitle {
  color: #666 !important;
  font-size: 16px !important;
  margin: 0 auto 48px !important;
  max-width: 600px;
}

.doza-credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.doza-credential-card {
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 36px 24px;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s ease, border-color 0.3s ease;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(7, 33, 64, 0.04);
  min-height: 140px;
}

.doza-credential-card:hover {
  border-color: #9B7B37;
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(7, 33, 64, 0.12);
}

/* Hide badge circles entirely */
.doza-credential-badge {
  display: none !important;
}

.doza-credential-card h3 {
  color: #072140 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.3;
}

.doza-credential-card p {
  color: #9B7B37 !important;
  font-size: 13px !important;
  margin: 0 !important;
  line-height: 1.5;
  font-style: italic;
}

@media (max-width: 900px) {
  .doza-credentials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .doza-credentials-heading { font-size: 28px !important; }
  .doza-credentials-section { padding: 60px 20px; }
}

@media (max-width: 500px) {
  .doza-credentials-grid {
    grid-template-columns: 1fr;
  }
  .doza-credentials-heading { font-size: 24px !important; }
}





/* ==================== GROWTH CARD — FORCE LEGIBLE TEXT ==================== */
/* Target any group on services page with navy bg containing the Growth heading */
body.page-id-9 .wp-block-group[style*="background-color:#072140" i],
body.page-id-9 .wp-block-group[style*="background-color: #072140" i],
body.page-id-9 .wp-block-group[style*="background:#072140" i],
body.page-id-9 .wp-block-group[style*="background: #072140" i] {
  color: #ffffff !important;
}

/* All text inside Growth card → white by default */
body.page-id-9 .wp-block-group[style*="#072140" i] h1,
body.page-id-9 .wp-block-group[style*="#072140" i] h2,
body.page-id-9 .wp-block-group[style*="#072140" i] h3,
body.page-id-9 .wp-block-group[style*="#072140" i] h4,
body.page-id-9 .wp-block-group[style*="#072140" i] h5,
body.page-id-9 .wp-block-group[style*="#072140" i] p {
  color: #ffffff !important;
}

/* Price line ($650/month) → gold for accent */
body.page-id-9 .wp-block-group[style*="#072140" i] p[style*="font-style:italic"],
body.page-id-9 .wp-block-group[style*="#072140" i] p em {
  color: #c9a84c !important;
}

/* Inside the cream "Often includes" callout → navy text (override the white inheritance) */
body.page-id-9 .wp-block-group[style*="#072140" i] .wp-block-group[style*="#F7F5EF" i],
body.page-id-9 .wp-block-group[style*="#072140" i] .wp-block-group[style*="#FDF8F0" i],
body.page-id-9 .wp-block-group[style*="#072140" i] .wp-block-group[style*="rgba(155" i] {
  color: #072140 !important;
}
body.page-id-9 .wp-block-group[style*="#072140" i] .wp-block-group[style*="#F7F5EF" i] *,
body.page-id-9 .wp-block-group[style*="#072140" i] .wp-block-group[style*="#FDF8F0" i] *,
body.page-id-9 .wp-block-group[style*="#072140" i] .wp-block-group[style*="rgba(155" i] * {
  color: #072140 !important;
}

/* MOST POPULAR badge — keep white text on gold */
body.page-id-9 .wp-block-group[style*="#072140" i] p[style*="background-color:#9B7B37" i],
body.page-id-9 .wp-block-group[style*="#072140" i] p[style*="background:#9B7B37" i] {
  color: #ffffff !important;
}

/* Get Started button on Growth → keep gold bg, white text */
body.page-id-9 .wp-block-group[style*="#072140" i] .wp-element-button {
  color: #ffffff !important;
}

/* ==================== REBRAND BANNER — COMPACT SPACING ==================== */
.doza-rebrand-banner {
  padding: 0 !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
}
.doza-banner-inner {
  padding: 8px 44px 8px 20px !important;
  min-height: 0 !important;
  align-items: center !important;
}
.doza-banner-text {
  margin: 0 !important;
  padding: 0 !important;
  letter-spacing: 0.2px !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
}
.doza-banner-close {
  font-size: 20px !important;
  padding: 0 6px !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

@media (max-width: 600px) {
  .doza-banner-inner { padding: 8px 36px 8px 12px !important; }
  .doza-banner-text { font-size: 11.5px !important; line-height: 1.3 !important; }
  .doza-banner-close { font-size: 18px !important; right: 8px !important; }
}

/* ==================== HEADER — VERTICAL CENTER ALIGNMENT ==================== */
header.wp-block-template-part > .wp-block-group,
.wp-block-template-part header,
header > .wp-block-group {
  align-items: center !important;
}

/* Ensure logo, nav, and buttons all align to vertical center */
header .wp-block-group {
  align-items: center !important;
}

header .wp-block-navigation,
header .wp-block-navigation__container,
header .wp-block-buttons,
header .wp-block-image,
header .wp-block-site-logo {
  align-self: center !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
}

/* Make the entire header row a flex container with center vertical alignment */
header .wp-block-group.is-layout-flex,
.wp-block-template-part > .wp-block-group.is-layout-flex {
  display: flex !important;
  align-items: center !important;
  flex-direction: row !important;
}

/* Logo image vertical center */
header .wp-block-image img,
header .wp-block-site-logo img {
  display: block !important;
  vertical-align: middle !important;
}

/* Nav menu items */
header .wp-block-navigation__container {
  align-items: center !important;
}
header .wp-block-navigation-item {
  display: flex !important;
  align-items: center !important;
}

/* Header buttons */
header .wp-block-button {
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
}

/* =============================================
   Interactive Hover Effects – Service & Package Cards
   ============================================= */

/* Service Cards (How We Support Your Business) */
.wp-block-group.has-custom-cream-background-color .wp-block-column.has-white-background-color {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.wp-block-group.has-custom-cream-background-color .wp-block-column.has-white-background-color:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(15, 36, 67, 0.14);
  border-color: #9B7B37;
}

/* Emoji icon scale on service card hover */
.wp-block-group.has-custom-cream-background-color .wp-block-column.has-white-background-color:hover p:first-child {
  transform: scale(1.18);
  transition: transform 0.25s ease;
  display: block;
}
.wp-block-group.has-custom-cream-background-color .wp-block-column.has-white-background-color p:first-child {
  transition: transform 0.25s ease;
  display: block;
}

/* Package Cards (Packages for Every Stage of Business) */
.wp-block-group.has-custom-navy-background-color .wp-block-column.has-custom-medium-navy-background-color {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.wp-block-group.has-custom-navy-background-color .wp-block-column.has-custom-medium-navy-background-color:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  border-color: #9B7B37;
}
/* Gold heading highlight on package card hover */
.wp-block-group.has-custom-navy-background-color .wp-block-column.has-custom-medium-navy-background-color:hover h3 {
  letter-spacing: 0.5px;
  transition: letter-spacing 0.25s ease;
}
.wp-block-group.has-custom-navy-background-color .wp-block-column.has-custom-medium-navy-background-color h3 {
  transition: letter-spacing 0.25s ease;
}

/* =============================================
   Homepage Header – Remove extra top padding
   The popup HTML block sits as first child, so
   the hero cover block gets block-gap margin-top
   instead of 0 like on inner pages. Zero both out.
   ============================================= */
body.home .wp-block-post-content {
  padding-top: 0 !important;
}
body.home .wp-block-post-content > .wp-block-cover.alignfull:first-of-type,
body.home .wp-block-post-content > .wp-block-cover.alignfull {
  margin-block-start: 0 !important;
}

/* Fix: Often includes box text color in Growth pricing card */
body.page-id-9 .wp-block-group[style*="#072140" i] .wp-block-group[style*="#F7F5EF" i] p,
body.page-id-9 .wp-block-group[style*="#072140" i] .wp-block-group[style*="#f7f5ef" i] p {
	  color: #555555 !important;
}

/* Fix: Often includes box text color in Growth pricing card (using class selector) */
body.page-id-9 .wp-block-group[style*="#072140" i] .wp-block-group.has-custom-cream-background-color p {
	  color: #555555 !important;
}
}
}

/* Fix: Often includes bold label color in Growth pricing card */
body.page-id-9 .wp-block-group[style*="#072140" i] .wp-block-group.has-custom-cream-background-color mark.has-inline-color,
body.page-id-9 .wp-block-group[style*="#072140" i] .wp-block-group.has-custom-cream-background-color em {
	  color: #555555 !important;
}
}

/* Doza Group — menu hover interactivity */
.wp-block-navigation .wp-block-navigation-item__content {
  position: relative;
  transition: color .35s ease;
}
.wp-block-navigation .wp-block-navigation-item__content::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background-color: #9B7B37;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .4s ease;
}
.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .wp-block-navigation-item__content:focus-visible {
  color: #9B7B37 !important;
}
.wp-block-navigation .wp-block-navigation-item__content:hover::after,
.wp-block-navigation .wp-block-navigation-item__content:focus-visible::after {
  transform: scaleX(1);
}

/* Sub-menu items */
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  transition: color .35s ease, background-color .35s ease, padding-left .35s ease;
}
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after {
  display: none;
}
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
  color: #9B7B37 !important;
  background-color: rgba(155, 123, 55, 0.08);
  padding-left: 1.25em;
}

/* Doza Group — header CTA button hover */
header .wp-block-button__link {
  transition: background-color .4s ease, border-color .4s ease, color .4s ease, transform .4s ease, box-shadow .4s ease;
  will-change: transform;
}
header .wp-block-button__link:hover,
header .wp-block-button__link:focus-visible {
  background: linear-gradient(145deg, #7a6228 0%, #9B7B37 18%, #c9a84c 38%, #d4b856 50%, #c9a84c 62%, #9B7B37 82%, #7a6228 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(7, 33, 64, 0.18);
}


/* Doza Group — body button hover interactivity */

/* Navy-filled buttons (class-based or inline-styled) */
.wp-block-button__link.has-custom-navy-background-color,
.wp-block-button__link[style*="background-color:#072140"],
.wp-block-button__link[style*="background-color: #072140"] {
  transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
  will-change: transform;
}
.wp-block-button__link.has-custom-navy-background-color:hover,
.wp-block-button__link.has-custom-navy-background-color:focus-visible,
.wp-block-button__link[style*="background-color:#072140"]:hover,
.wp-block-button__link[style*="background-color:#072140"]:focus-visible,
.wp-block-button__link[style*="background-color: #072140"]:hover,
.wp-block-button__link[style*="background-color: #072140"]:focus-visible {
  background: linear-gradient(145deg, #7a6228 0%, #9B7B37 18%, #c9a84c 38%, #d4b856 50%, #c9a84c 62%, #9B7B37 82%, #7a6228 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(7, 33, 64, 0.18);
}

/* Outlined navy buttons (transparent bg + navy border) */
.wp-block-button__link.has-border-color[style*="background-color:transparent"],
.wp-block-button__link.has-border-color[style*="background-color: transparent"] {
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  will-change: transform;
}
.wp-block-button__link.has-border-color[style*="background-color:transparent"]:hover,
.wp-block-button__link.has-border-color[style*="background-color:transparent"]:focus-visible,
.wp-block-button__link.has-border-color[style*="background-color: transparent"]:hover,
.wp-block-button__link.has-border-color[style*="background-color: transparent"]:focus-visible {
  background-color: #072140 !important;
  color: #ffffff !important;
  border-color: #072140 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(7, 33, 64, 0.18);
}

/* Outlined gold (filled gold + gold border) */
.wp-block-button__link.has-border-color[style*="background-color:#9B7B37"],
.wp-block-button__link.has-border-color[style*="background-color: #9B7B37"] {
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  will-change: transform;
}
.wp-block-button__link.has-border-color[style*="background-color:#9B7B37"]:hover,
.wp-block-button__link.has-border-color[style*="background-color:#9B7B37"]:focus-visible,
.wp-block-button__link.has-border-color[style*="background-color: #9B7B37"]:hover,
.wp-block-button__link.has-border-color[style*="background-color: #9B7B37"]:focus-visible {
  background-color: #7a6228 !important;
  border-color: #7a6228 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(7, 33, 64, 0.18);
}


/* Doza Group — footer hover interactivity */
footer a:not(.wp-social-link-anchor):not(.wp-block-button__link) {
  transition: color .35s ease;
}
footer a:not(.wp-social-link-anchor):not(.wp-block-button__link):hover,
footer a:not(.wp-social-link-anchor):not(.wp-block-button__link):focus-visible {
  color: #9B7B37 !important;
}

footer .wp-social-link {
  transition: transform .35s ease;
}
footer .wp-social-link:hover,
footer .wp-social-link:focus-within {
  transform: translateY(-2px) scale(1.08);
}
footer .wp-social-link:hover .wp-block-social-link-anchor,
footer .wp-social-link:focus-within .wp-block-social-link-anchor {
  color: #9B7B37 !important;
}


/* Doza Group — page animations */
@media (prefers-reduced-motion: no-preference) {
  .doza-anim-load,
  .doza-anim-fade-up,
  .doza-anim-stagger {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s cubic-bezier(.2,.6,.2,1), transform .6s cubic-bezier(.2,.6,.2,1);
    will-change: opacity, transform;
  }
  .doza-anim-load.doza-anim-in,
  .doza-anim-fade-up.doza-anim-in,
  .doza-anim-stagger.doza-anim-in {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Doza Group — jetpack form button hover */
.pushbutton-wide,
button.pushbutton-wide,
input.pushbutton-wide {
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, opacity .25s ease;
}
.pushbutton-wide:hover,
.pushbutton-wide:focus-visible,
button.pushbutton-wide:hover,
input.pushbutton-wide:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(7, 33, 64, 0.18);
}


/* Doza Group — extended interactivity v1 */
@media (prefers-reduced-motion: no-preference) {
  @supports selector(:has(*)) {
    .wp-block-columns > .wp-block-column:has(h3),
    .wp-block-columns > .wp-block-column:has(figure):not(:has(h2)),
    .wp-block-columns > .wp-block-column:has(.wp-block-image):not(:has(h2)) {
      transition: transform .35s cubic-bezier(.2,.6,.2,1), box-shadow .35s ease;
    }
    .wp-block-columns > .wp-block-column:has(h3):hover,
    .wp-block-columns > .wp-block-column:has(figure):not(:has(h2)):hover,
    .wp-block-columns > .wp-block-column:has(.wp-block-image):not(:has(h2)):hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 32px rgba(7, 33, 64, 0.12);
    }
  }
  .wp-block-columns > .wp-block-column .wp-block-image,
  .wp-block-columns > .wp-block-column figure.wp-block-image {
    overflow: hidden;
  }
  .wp-block-columns > .wp-block-column .wp-block-image img,
  .wp-block-columns > .wp-block-column figure.wp-block-image img {
    transition: transform .5s cubic-bezier(.2,.6,.2,1);
    will-change: transform;
  }
  .wp-block-columns > .wp-block-column:hover .wp-block-image img,
  .wp-block-columns > .wp-block-column:hover figure.wp-block-image img {
    transform: scale(1.04);
  }
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #9B7B37 !important;
  box-shadow: 0 0 0 3px rgba(155, 123, 55, 0.15) !important;
  transition: border-color .25s ease, box-shadow .25s ease;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="url"],
input[type="search"],
textarea,
select {
  transition: border-color .25s ease, box-shadow .25s ease;
}
details summary {
  cursor: pointer;
  transition: color .25s ease;
  position: relative;
}
details summary::-webkit-details-marker {
  display: none;
}
details summary::marker {
  content: '';
}
details summary:hover {
  color: #9B7B37;
}
details > summary::after {
  content: '›';
  display: inline-block;
  margin-left: 0.6em;
  font-size: 1.2em;
  font-weight: 600;
  color: #9B7B37;
  transition: transform .3s cubic-bezier(.2,.6,.2,1);
  transform: rotate(90deg);
}
details[open] > summary::after {
  transform: rotate(270deg);
}
.doza-anim-eyebrow {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity .5s cubic-bezier(.2,.6,.2,1), transform .5s cubic-bezier(.2,.6,.2,1);
  will-change: opacity, transform;
}
.doza-anim-eyebrow.doza-anim-in {
  opacity: 1;
  transform: translateY(0);
}
.doza-anim-stepnum {
  opacity: 0;
  transform: scale(0.5);
  transition: opacity .5s ease, transform .6s cubic-bezier(.34,1.56,.64,1);
  display: inline-block;
  will-change: opacity, transform;
}
.doza-anim-stepnum.doza-anim-in {
  opacity: 1;
  transform: scale(1);
}
@keyframes doza-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.doza-pulse {
  animation: doza-pulse 3s ease-in-out infinite;
  transform-origin: center;
}


/* ==================== BLOG CARDS — RESOURCES PAGE ==================== */
.wp-block-latest-posts.is-grid,
.wp-block-latest-posts__list.is-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 32px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.wp-block-latest-posts.is-grid > li,
.wp-block-latest-posts__list.is-grid > li {
  background: #ffffff !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 12px rgba(7, 33, 64, 0.08) !important;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s ease !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  margin: 0 !important;
  cursor: pointer !important;
  position: relative;
}

.wp-block-latest-posts.is-grid > li:hover,
.wp-block-latest-posts__list.is-grid > li:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 40px rgba(7, 33, 64, 0.15) !important;
}

/* Featured image area */
.wp-block-latest-posts__featured-image {
  margin: 0 !important;
  overflow: hidden !important;
  aspect-ratio: 16/10 !important;
  background: linear-gradient(135deg, #072140 0%, #0a2e5c 50%, #9B7B37 100%) !important;
  position: relative;
}

.wp-block-latest-posts__featured-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.5s ease !important;
}

.wp-block-latest-posts.is-grid > li:hover .wp-block-latest-posts__featured-image img {
  transform: scale(1.05) !important;
}

/* Show gold READ ARTICLE badge in image area when no featured image */
.wp-block-latest-posts__featured-image::before {
  content: 'THE DOZA GROUP';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 4px;
  z-index: 0;
  pointer-events: none;
}

.wp-block-latest-posts__featured-image img {
  position: relative;
  z-index: 1;
}

/* Post title */
.wp-block-latest-posts.is-grid > li > a:first-of-type,
.wp-block-latest-posts__post-title,
.wp-block-latest-posts > li > a {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #072140 !important;
  line-height: 1.35 !important;
  margin: 24px 24px 12px 24px !important;
  text-decoration: none !important;
  display: block !important;
  transition: color 0.2s ease !important;
}

.wp-block-latest-posts.is-grid > li:hover > a {
  color: #9B7B37 !important;
}

/* Post date */
.wp-block-latest-posts__post-date {
  font-size: 12px !important;
  color: #9B7B37 !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  margin: 16px 24px 0 24px !important;
  order: -1 !important;
}

/* Post excerpt */
.wp-block-latest-posts__post-excerpt,
.wp-block-latest-posts.is-grid > li > div:not(.wp-block-latest-posts__featured-image) {
  font-size: 14px !important;
  color: #666 !important;
  line-height: 1.6 !important;
  margin: 0 24px 24px 24px !important;
  flex-grow: 1;
}

/* Read more link */
.wp-block-latest-posts__post-excerpt a {
  display: inline-block !important;
  color: #9B7B37 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  margin-top: 8px !important;
  text-decoration: none !important;
  letter-spacing: 0.5px;
}

.wp-block-latest-posts__post-excerpt a::after {
  content: ' →';
  transition: transform 0.2s ease;
  display: inline-block;
}

.wp-block-latest-posts__post-excerpt a:hover::after {
  transform: translateX(4px);
}

/* Make entire card clickable */
.wp-block-latest-posts.is-grid > li > a:first-of-type {
  display: block;
}

.wp-block-latest-posts.is-grid > li > a:first-of-type::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Mobile */
@media (max-width: 900px) {
  .wp-block-latest-posts.is-grid,
  .wp-block-latest-posts__list.is-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 600px) {
  .wp-block-latest-posts.is-grid,
  .wp-block-latest-posts__list.is-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==================== BLOG SECTION — CENTER ALIGNMENT ==================== */
/* Center the Latest Posts grid within its parent */
.wp-block-latest-posts.is-grid,
.wp-block-latest-posts__list.is-grid,
body.page-id-15 .wp-block-latest-posts {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1200px !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
}

/* Ensure the parent section is full-width with centered content */
body.page-id-15 .wp-block-latest-posts__list,
body.page-id-15 .wp-block-latest-posts {
  box-sizing: border-box;
}

@media (max-width: 782px) {
  .wp-block-latest-posts.is-grid,
  .wp-block-latest-posts__list.is-grid,
  body.page-id-15 .wp-block-latest-posts {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}



/* ==================== HORIZONTAL OVERFLOW SAFETY ==================== */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

/* ==================== RESOURCES PAGE — FILTER PILLS ==================== */
html { scroll-behavior: smooth !important; }

.doza-resource-filter {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid rgba(7, 33, 64, 0.08);
  padding: 16px 20px;
  margin: 0;
  width: 100%;
  box-shadow: 0 2px 12px rgba(7, 33, 64, 0.04);
}

.doza-resource-filter-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.doza-resource-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: #F7F5EF;
  color: #072140 !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 999px;
  text-decoration: none !important;
  border: 2px solid transparent;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap;
}

.doza-resource-pill:hover {
  background: #9B7B37;
  color: #ffffff !important;
  border-color: #9B7B37;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(155, 123, 55, 0.25);
}

.doza-resource-pill:active {
  transform: translateY(0);
}

@media (max-width: 600px) {
  .doza-resource-filter { padding: 12px 16px; }
  .doza-resource-filter-inner { gap: 8px; }
  .doza-resource-pill {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* Remove white gaps between full-width sections — site-wide */
.entry-content > .alignfull,
.entry-content > .wp-block-group.alignfull,
.entry-content > .wp-block-cover.alignfull,
.entry-content > .wp-block-columns.alignfull,
.wp-block-post-content > .alignfull {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}


/* Remove white bar between content and footer */
.entry-content,
.wp-block-post-content {
  padding-bottom: 0 !important;
}


/* Hover effect on Starter/Growth/Scale package cards (homepage) */
.wp-block-column.has-custom-medium-navy-background-color {
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}
.wp-block-column.has-custom-medium-navy-background-color:hover {
  background-color: #F7F5EF !important;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}
.wp-block-column.has-custom-medium-navy-background-color:hover h3,
.wp-block-column.has-custom-medium-navy-background-color:hover h4 {
  color: #072140 !important;
}
.wp-block-column.has-custom-medium-navy-background-color:hover p,
.wp-block-column.has-custom-medium-navy-background-color:hover li,
.wp-block-column.has-custom-medium-navy-background-color:hover span {
  color: #333 !important;
}


/* ===== Interactive effects: What Makes Us Different cards ===== */
.doza-different-section div[style*="border-radius:12px"][style*="flex:1 1 0"] {
  transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1),
              background 0.35s ease,
              border-color 0.35s ease,
              box-shadow 0.35s ease !important;
  cursor: default;
  position: relative;
}
.doza-different-section div[style*="border-radius:12px"][style*="flex:1 1 0"]:hover {
  transform: translateY(-8px) !important;
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(155, 123, 55, 0.65) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35),
              0 0 0 1px rgba(155, 123, 55, 0.35) inset !important;
}
/* Scale + glow the icon ring on hover */
.doza-different-section div[style*="border-radius:12px"][style*="flex:1 1 0"] > div:first-child {
  transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1),
              box-shadow 0.4s ease !important;
}
.doza-different-section div[style*="border-radius:12px"][style*="flex:1 1 0"]:hover > div:first-child {
  transform: scale(1.10) rotate(-3deg) !important;
  box-shadow: 0 0 24px rgba(155, 123, 55, 0.4) !important;
}

/* ===== Interactive effects: How We Work With You process steps ===== */
.doza-process-section div[style*="border-bottom:3px solid #9b7b37"] {
  transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1),
              box-shadow 0.35s ease,
              border-bottom-width 0.25s ease !important;
  cursor: default;
}
.doza-process-section div[style*="border-bottom:3px solid #9b7b37"]:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 14px 32px rgba(7, 33, 64, 0.18) !important;
  border-bottom-width: 5px !important;
}
/* Step badge pulse on hover */
@keyframes dozaStepBadgePulse {
  0% { box-shadow: 0 0 0 0 rgba(155, 123, 55, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(155, 123, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(155, 123, 55, 0); }
}
.doza-process-section div[style*="border-bottom:3px solid #9b7b37"] > div:first-child {
  transition: transform 0.3s ease !important;
}
.doza-process-section div[style*="border-bottom:3px solid #9b7b37"]:hover > div:first-child {
  animation: dozaStepBadgePulse 1.2s ease-out infinite;
  transform: translateY(-2px);
}


/* Add hover effect to Steps 2 & 4 (zigzag bottom row with border-top) */
.doza-process-section div[style*="border-top:3px solid #9b7b37"] {
  transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1),
              box-shadow 0.35s ease,
              border-top-width 0.25s ease !important;
  cursor: default;
}
.doza-process-section div[style*="border-top:3px solid #9b7b37"]:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 14px 32px rgba(7, 33, 64, 0.18) !important;
  border-top-width: 5px !important;
}
/* Step badge pulse on hover for steps 2 & 4 */
.doza-process-section div[style*="border-top:3px solid #9b7b37"] > div:first-child {
  transition: transform 0.3s ease !important;
}
.doza-process-section div[style*="border-top:3px solid #9b7b37"]:hover > div:first-child {
  animation: dozaStepBadgePulse 1.2s ease-out infinite;
  transform: translateY(-2px);
}


/* Constrain Resources FAQ list, wrapper, and filter pills */
.faq-wrapper,
.faq-list,
.faq-filters,
.doza-faq-filters,
.doza-faq-search {
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.faq-filters {
  justify-content: center !important;
  flex-wrap: wrap !important;
}


/* Condense Jetpack contact form on Contact page */
.wp-block-jetpack-contact-form {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  column-gap: 18px !important;
  row-gap: 8px !important;
}
/* Full-width fields (Company, textarea, services heading, submit) */
.wp-block-jetpack-contact-form > .wp-block-jetpack-field-text,
.wp-block-jetpack-contact-form > .wp-block-jetpack-field-textarea,
.wp-block-jetpack-contact-form > .wp-block-jetpack-button,
.wp-block-jetpack-contact-form > .contact-form__error,
.wp-block-jetpack-contact-form > p {
  grid-column: 1 / -1 !important;
}
/* Tighter field internals */
.wp-block-jetpack-contact-form .jetpack-field {
  margin-bottom: 0 !important;
}
.wp-block-jetpack-contact-form .jetpack-field__label {
  margin-bottom: 4px !important;
  font-size: 13px !important;
}
.wp-block-jetpack-contact-form input,
.wp-block-jetpack-contact-form select {
  padding: 9px 12px !important;
  font-size: 14px !important;
}
/* Shorter textarea */
.wp-block-jetpack-contact-form textarea {
  min-height: 110px !important;
  height: 110px !important;
  padding: 10px 12px !important;
  font-size: 14px !important;
}
/* Tighter services-interested-in checkbox grid */
.wp-block-jetpack-contact-form > .wp-block-jetpack-field-checkbox {
  margin: 2px 0 !important;
}
.wp-block-jetpack-contact-form .jetpack-field-checkbox label {
  font-size: 13px !important;
  padding: 2px 0 !important;
}
.wp-block-jetpack-contact-form .jetpack-field-checkbox input {
  margin-right: 8px !important;
}
/* Submit button — bigger but no need for large margin above */
.wp-block-jetpack-contact-form .wp-block-jetpack-button-container {
  margin-top: 12px !important;
}

/* Stack into single column at smaller widths */
@media (max-width: 720px) {
  .wp-block-jetpack-contact-form {
    grid-template-columns: 1fr !important;
  }
}


/* ========== Comprehensive Mobile Responsive Rules ========== */

/* Tablet (≤900px): Pricing cards stack vertically */
@media (max-width: 900px) {
  /* Pricing cards (Starter/Growth/Scale flex container) */
  body div[style*="display:flex"][style*="gap:24px"][style*="align-items:stretch"] {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  body div[style*="display:flex"][style*="gap:24px"][style*="align-items:stretch"] > div {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  
  /* Featured tax date cards 2x2 grid → 1 col */
  body div[style*="grid-template-columns:1fr 1fr"][style*="gap:20px"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Tax calendar 4-col month grid → 3 cols */
  body div[style*="grid-template-columns:repeat(4, 1fr)"][style*="gap:12px"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Phone (≤600px): tighter layouts */
@media (max-width: 600px) {
  /* Tax calendar grid → 2 cols on phone */
  body div[style*="grid-template-columns:repeat(4, 1fr)"][style*="gap:12px"],
  body div[style*="grid-template-columns:repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  
  /* Tax calendar wrapper padding */
  body div[style*="linear-gradient(135deg, #072140"] {
    padding: 32px 18px !important;
  }
  
  /* Year text 54px → smaller */
  body div[style*="linear-gradient(135deg, #072140"] h3[style*="font-size:54px"] {
    font-size: 42px !important;
  }
  
  /* Process timeline (about page) - cards already stack via flow layout */
  
  /* Featured tax date cards: tighter padding + smaller date */
  body div[style*="grid-template-columns:1fr 1fr"][style*="gap:20px"] > div {
    padding: 18px 16px !important;
    gap: 14px !important;
  }
  body div[style*="grid-template-columns:1fr 1fr"][style*="gap:20px"] > div > div:first-child {
    min-width: 50px !important;
    padding-right: 14px !important;
  }
  body div[style*="grid-template-columns:1fr 1fr"][style*="gap:20px"] h3 {
    font-size: 15px !important;
  }
  
  /* Pricing card: tighter padding */
  body div[style*="display:flex"][style*="gap:24px"][style*="align-items:stretch"] > div {
    padding: 28px 22px !important;
  }
  body div[style*="display:flex"][style*="gap:24px"][style*="align-items:stretch"] h3 {
    font-size: 24px !important;
  }
  
  /* "Service Packages Designed for Different Business Stages" headline smaller */
  body div[style*="background:#F7F5EF"] h2[style*="font-size:36px"] {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }
  
  /* Industries cards stack to 1 col on phone (2-col and 3-col rows both) */
  body .doza-different-section,
  body .doza-process-section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  
  /* Fun fact callout - already removed but keep CSS in case re-added */
  body .doza-fun-fact {
    margin: 14px 10px !important;
    padding: 14px 16px !important;
  }
  
  /* Calendly widget — match viewport width */
  body .calendly-inline-widget {
    min-width: 100% !important;
    height: 1000px !important; /* taller on mobile since calendar stacks */
  }
  
  /* Contact form: tighter */
  body .wp-block-jetpack-contact-form input,
  body .wp-block-jetpack-contact-form select,
  body .wp-block-jetpack-contact-form textarea {
    font-size: 16px !important; /* prevent iOS zoom on focus */
  }
  
  /* Testimonial cards: full width minus padding */
  body .doza-testimonials-carousel .wp-block-columns > .wp-block-column {
    flex: 0 0 280px !important;
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
  }
  
  /* Calendar legend wrap better */
  body div[style*="linear-gradient(135deg, #072140"] span[style*="font-style:italic"] {
    font-size: 11px !important;
  }
  
  /* Hero headings smaller */
  .wp-block-cover h1.wp-block-heading,
  .wp-block-cover .wp-block-heading[style*="font-size:54px"] {
    font-size: 32px !important;
    line-height: 1.15 !important;
  }
  
  /* Section eyebrows: still readable */
  body p[style*="letter-spacing:3px"][style*="text-transform:uppercase"] {
    letter-spacing: 2px !important;
    font-size: 12px !important;
  }
}

/* Extra small phones (≤400px) */
@media (max-width: 400px) {
  /* Tax calendar: 1 col if needed */
  body div[style*="linear-gradient(135deg, #072140"] {
    padding: 28px 14px !important;
  }
  
  /* Hero buttons stack */
  .wp-block-cover .wp-block-buttons {
    flex-direction: column !important;
    gap: 12px !important;
  }
}
