/*
Theme Name: Arule Health Blog
Theme URI: https://arulehealth.com
Author: Arule Health
Author URI: https://arulehealth.com
Description: Custom WordPress theme matching the Arule Health Next.js website design. Features professional healthcare design with Plus Jakarta Sans and Space Grotesk fonts, matching colors and components.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arule-health
Tags: blog, healthcare, medical, professional, custom-colors, custom-menu, featured-images, threaded-comments

This theme was built to match the main Arule Health website design system.
*/

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  /* Arule Health Brand Colors */
  --background: 210 20% 98%;
  --foreground: 220 40% 13%;

  --card: 0 0% 100%;
  --card-foreground: 220 40% 13%;

  --popover: 0 0% 100%;
  --popover-foreground: 220 40% 13%;

  /* Primary: #4e71d9 → hsl(224, 63%, 58%) */
  --primary: 224 63% 58%;
  --primary-foreground: 0 0% 100%;

  /* Secondary: soft blue tint */
  --secondary: 224 40% 95%;
  --secondary-foreground: 224 63% 30%;

  --muted: 220 20% 95%;
  --muted-foreground: 220 15% 46%;

  /* Accent: #4abd72 → hsl(144, 47%, 52%) */
  --accent: 144 47% 52%;
  --accent-foreground: 0 0% 100%;

  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;

  --border: 220 20% 90%;
  --input: 220 20% 90%;
  --ring: 224 63% 58%;

  --radius: 0.75rem;

  /* Custom gradients */
  --gradient-primary: linear-gradient(135deg, hsl(224, 63%, 58%), hsl(224, 63%, 45%));
  --gradient-accent: linear-gradient(135deg, hsl(144, 47%, 52%), hsl(144, 60%, 42%));
  --gradient-hero: linear-gradient(135deg, hsl(224, 63%, 12%), hsl(224, 63%, 22%), hsl(224, 50%, 30%));
  --gradient-cta: linear-gradient(135deg, hsl(144, 47%, 48%), hsl(144, 55%, 40%));
  --gradient-card: linear-gradient(180deg, hsl(0, 0%, 100%), hsl(224, 40%, 98%));

  --shadow-soft: 0 4px 20px -4px hsl(224 63% 58% / 0.12);
  --shadow-elevated: 0 12px 40px -8px hsl(224 63% 58% / 0.18);
  --shadow-accent: 0 6px 24px -4px hsl(144 47% 52% / 0.25);

  /* Healthcare-specific colors */
  --healthcare-trust: 217 91% 60%;
  --healthcare-success: 142 71% 45%;
  --healthcare-caution: 38 92% 50%;
  --healthcare-critical: 0 72% 51%;

  /* Text colors */
  --text-high-contrast: 222 47% 11%;
  --text-medium-contrast: 215 20% 35%;
  --text-low-contrast: 215 16% 47%;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: hsl(var(--foreground));
}

h1 { font-size: 3.5rem; line-height: 1.2; }
h2 { font-size: 2.5rem; line-height: 1.3; }
h3 { font-size: 1.875rem; line-height: 1.4; }
h4 { font-size: 1.5rem; line-height: 1.4; }
h5 { font-size: 1.25rem; line-height: 1.5; }
h6 { font-size: 1.125rem; line-height: 1.5; }

/* Responsive headings */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
}

a {
  color: hsl(var(--primary));
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: hsl(224, 63%, 45%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== LAYOUT ===== */
.container-narrow {
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .container-narrow {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (min-width: 1024px) {
  .container-narrow {
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

.section-padding {
  padding: 5rem 1.5rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding: 7rem 5rem;
  }
}

/* ===== NAVIGATION BAR ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  border-bottom: 1px solid rgba(220, 225, 235, 0.5);
  padding: 0.75rem 0;
  transition: all 0.5s ease;
}

.site-header .container-narrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  height: 62px;
  width: auto;
}

@media (max-width: 767px) {
  .site-logo img {
    height: 100px;
  }
}

.main-navigation {
  display: none;
}

@media (min-width: 768px) {
  .main-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.main-navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
  align-items: center;
}

.main-navigation a {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  transition: color 0.2s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
  color: hsl(var(--primary));
}

.btn-accent {
  background: var(--gradient-cta);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: var(--shadow-accent);
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px -4px hsl(144 47% 52% / 0.35);
  color: white;
}

/* Mobile menu toggle */
.menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu li {
  margin-bottom: 1rem;
}

.mobile-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  display: block;
  padding: 0.5rem 0;
}

.mobile-menu a:hover,
.mobile-menu .current-menu-item a {
  color: hsl(var(--primary));
}

/* ===== MAIN CONTENT ===== */
.site-main {
  margin-top: 100px;
  min-height: calc(100vh - 500px);
}

@media (max-width: 767px) {
  .site-main {
    margin-top: 140px;
  }
}

/* ===== BLOG CARDS (Archive/Home) ===== */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background: white;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s ease-out;
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--primary));
  background: hsl(var(--secondary));
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.blog-card-title a {
  color: hsl(var(--foreground));
  transition: color 0.2s ease;
}

.blog-card-title a:hover {
  color: hsl(var(--primary));
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: hsl(var(--text-low-contrast));
}

/* ===== SINGLE BLOG POST ===== */
.blog-article {
  max-width: 768px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.blog-header {
  margin-bottom: 3rem;
}

.blog-single-title {
  font-size: 3rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .blog-single-title {
    font-size: 2rem;
  }
}

.blog-featured-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 2rem 0;
}

.blog-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: hsl(var(--text-medium-contrast));
}

.blog-content p {
  margin-bottom: 1.5rem;
}

.blog-content h2 {
  font-size: 2rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.blog-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-content ul,
.blog-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.blog-content li {
  margin-bottom: 0.5rem;
}

.blog-content a {
  color: hsl(var(--primary));
  text-decoration: underline;
}

.blog-content a:hover {
  color: hsl(224, 63%, 45%);
}

.blog-content blockquote {
  border-left: 4px solid hsl(var(--primary));
  padding-left: 1.5rem;
  font-style: italic;
  color: hsl(var(--text-medium-contrast));
  margin: 2rem 0;
}

.blog-content img {
  border-radius: var(--radius);
  margin: 2rem 0;
}

.blog-content code {
  background: hsl(var(--muted));
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.9em;
  color: hsl(224, 63%, 45%);
  font-family: 'Courier New', monospace;
}

.blog-content pre {
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  padding: 1.5rem;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 2rem 0;
}

.blog-content pre code {
  background: none;
  color: inherit;
  padding: 0;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid hsl(var(--border));
  background: white;
  padding: 3.5rem 1.5rem;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-logo img {
  height: 48px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  max-width: 300px;
}

.footer-heading {
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: hsl(var(--primary));
}

.footer-text {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  cursor: default;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-info {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

@media (min-width: 768px) {
  .footer-contact {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact-item svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
}

.footer-social-link {
  transition: color 0.2s ease;
}

.footer-social-link:hover {
  color: hsl(var(--primary));
}

.footer-copyright {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ===== UTILITY CLASSES ===== */
.glass-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  z-index: 1;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
  transition: all 0.2s ease-out;
}

/* ===== ACCESSIBILITY ===== */
*:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
  border-radius: 0.25rem;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===== WORDPRESS SPECIFIC ===== */
.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
  margin-top: 0.5rem;
}

.sticky {
  /* Styles for sticky posts */
}

.bypostauthor {
  /* Styles for post author */
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 3rem 0;
}

.pagination a,
.pagination span {
  padding: 0.5rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.pagination a:hover {
  background: hsl(var(--primary));
  color: white;
  border-color: hsl(var(--primary));
}

.pagination .current {
  background: hsl(var(--primary));
  color: white;
  border-color: hsl(var(--primary));
}

/* ===== COMMENTS ===== */
.comments-area {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid hsl(var(--border));
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
}

.comment-author {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.comment-meta {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.comment-content {
  font-size: 0.875rem;
  line-height: 1.6;
}

.comment-reply-link {
  font-size: 0.75rem;
  color: hsl(var(--primary));
  font-weight: 600;
}

/* ===== RESPONSIVE IMAGES ===== */
img {
  height: auto;
  max-width: 100%;
}

/* ===== GUTENBERG BUTTON OVERRIDES ===== */
.wp-block-buttons {
  display: flex !important;
  justify-content: center !important;
  margin: 2.5rem 0 !important;
}

.wp-block-button,
.wp-block-button.btn-accent {
  display: inline-block !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 9999px !important;
}

.wp-block-button__link,
.wp-block-button .wp-block-button__link,
.wp-element-button,
a.wp-block-button__link,
.btn-accent a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.875rem 2.25rem !important;
  background-color: #10b981 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  border-radius: 9999px !important;
  border: none !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39) !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
}

.wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:hover,
.wp-element-button:hover,
a.wp-block-button__link:hover,
.btn-accent a:hover {
  background-color: #059669 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px 0 rgba(16, 185, 129, 0.5) !important;
  text-decoration: none !important;
}

/* ===== ENTRY FOOTER (POSTED IN TAGS) ===== */
.entry-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.6;
}

.entry-footer a {
  color: #10b981;
  font-weight: 500;
  text-decoration: none;
  margin: 0 0.25rem;
  transition: color 0.2s ease;
}

.entry-footer a:hover {
  color: #059669;
  text-decoration: underline;
}

/* ===== COMMENT FORM ("LEAVE A REPLY") STYLING ===== */
#respond {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2.5rem;
  margin-top: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.comment-reply-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.comment-notes {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1.75rem;
}

.comment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.comment-form-comment {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
}

.comment-form-author,
.comment-form-email {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
}

.comment-form-url {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
}

.comment-form-cookies-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: #475569;
  margin: 0.5rem 0 1rem 0;
}

.comment-form-cookies-consent input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  accent-color: #10b981;
  cursor: pointer;
}

.comment-form label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.375rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.comment-form textarea {
  min-height: 140px;
  resize: vertical;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.form-submit {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

.form-submit #submit,
.comment-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background-color: #10b981;
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.form-submit #submit:hover,
.comment-form input[type="submit"]:hover {
  background-color: #059669;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

@media (max-width: 640px) {
  .comment-form {
    grid-template-columns: 1fr;
  }
  .comment-form-author,
  .comment-form-email {
    grid-column: 1 / -1;
  }
  #respond {
    padding: 1.5rem;
  }
}

/* ===== FOOTER LOGO TRANSPARENCY & SIZING FIX ===== */
.footer-logo img,
.site-branding img,
.site-logo img {
  height: auto !important;
  max-height: 48px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
  background: transparent !important;
  mix-blend-mode: multiply !important;
  margin-bottom: 1.25rem !important;
}

/* ===== FOOTER LOGO INCREASE WIDTH & SIZE ===== */
.footer-logo img,
.site-footer .footer-logo img {
  height: auto !important;
  max-height: 60px !important;
  width: 175px !important;
  max-width: 240px !important;
  object-fit: contain !important;
  margin-bottom: 1.25rem !important;
}

/* ===== FOOTER LOGO CROPPED SIZING & LEFT ALIGNMENT ===== */
.footer-logo {
  text-align: left !important;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

.footer-logo a {
  display: inline-block !important;
}

.footer-logo img,
.site-footer .footer-logo img {
  height: 52px !important;
  max-height: 70px !important;
  width: auto !important;
  max-width: 260px !important;
  object-fit: contain !important;
  margin: 0 0 1.25rem 0 !important;
  display: block !important;
}

/* ===== FOOTER LOGO PERFECT SIZING ===== */
.footer-logo img,
.site-footer .footer-logo img {
  height: 38px !important;
  max-height: 42px !important;
  width: auto !important;
  max-width: 210px !important;
  object-fit: contain !important;
  margin: 0 0 1rem 0 !important;
  display: block !important;
}

/* ===== HEADER LOGO MATCHING FOOTER LOGO ===== */
.site-logo img,
.custom-logo,
.site-branding img {
  height: 38px !important;
  max-height: 42px !important;
  width: auto !important;
  max-width: 210px !important;
  object-fit: contain !important;
  background: transparent !important;
  mix-blend-mode: multiply !important;
}

/* ===== HEADER FLEX ALIGNMENT FIX ===== */
.site-header .container-narrow {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.site-branding {
  display: flex !important;
  align-items: center !important;
}

.site-logo,
.site-logo a,
.custom-logo-link {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-logo img,
.site-branding img,
.custom-logo {
  height: 38px !important;
  max-height: 40px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: middle !important;
  background: transparent !important;
  mix-blend-mode: multiply !important;
}
