.site-branding img.custom-logo { max-height:72px !important; height:auto; width:auto; }
.header .site-logo img{ max-height:72px !important; }
@media (max-width: 768px){ .site-branding img.custom-logo{ max-height:56px !important; } }

/* Additional logo sizing for better control */
.site-logo img { max-height: 72px !important; width: auto !important; }
.ct-header .site-logo img { max-height: 72px !important; }

/* Ensure header height accommodates larger logo */
.ct-header { min-height: 80px !important; }
.site-branding { display: flex; align-items: center; }

/* Responsive adjustments */
@media (max-width: 1024px) { .site-branding img.custom-logo{ max-height: 64px !important; } }
@media (max-width: 768px) { .site-branding img.custom-logo{ max-height: 56px !important; } }
@media (max-width: 480px) { .site-branding img.custom-logo{ max-height: 48px !important; } }

/* Global spacing */
p { margin-bottom: 1em; }
ul, ol { margin: 0 0 1em 1.25em; }
ul li, ol li { margin-bottom: 0.5em; }

/* Hero buttons: stack and full width on small screens */
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .wp-block-button, .hero-cta .wp-block-button__link { padding: 12px 20px; }
@media (max-width: 640px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .wp-block-button, .hero-cta .wp-block-button__link { width: 100%; text-align: center; }
}

/* Brand Colors */
:root {
  --secondary-color: #A0D468;    --accent-color: #F59E0B;
    --text-color: #0F172A;
    --bg-color: #FFFFFF;
}

/* Primary Button Styles */
.wp-block-button.is-style-primary .wp-block-button__link, .btn-primary, .button-primary {
    background-color: var(--primary-color) !important;
    color: #FFFFFF !important;
    border-radius: 6px !important;
}

.wp-block-button.is-style-primary .wp-block-button__link:hover, .btn-primary:hover, .button-primary:hover {
    background-color: var(--accent-color) !important;
}

/* Typography and Colors */
body, p, li { color: var(--text-color); line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { color: var(--text-color); }
h1 { font-size: 44px; }
h2 { font-size: 32px; border-bottom: 4px solid var(--accent-color); padding-bottom: 8px; margin-bottom: 20px; }
h3 { font-size: 24px; }
body { font-size: 18px; background-color: var(--bg-color); }

/* Links */
a { color: var(--primary-color); }
a:hover { color: var(--secondary-color); }

/* Fix 1: Make header title bigger */
.site-title, .ct-header .site-branding .site-title {
  font-size: 36px !important;
}

/* Fix 2: Make hero title white */
.wp-block-cover h1, .wp-block-cover__inner-container h1 {
  color: #ffffff !important;
}

/* Fix 3: Show logo on mobile */
@media (max-width: 999px) {
  [data-device="mobile"] .site-logo-container,
  [data-device="tablet"] .site-logo-container {
    display: block !important;
    visibility: visible !important;
  }
}

/* Hero Gradient Background */
.wp-block-cover, .hero-section, article > p:first-of-type {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #FFFFFF;
    padding: 60px 20px;
    border-radius: 8px;
}

/* Reduce sub-hero bullet list font size */
.entry-content ul li {
  font-size: 22px !important;
}