/* FILE: assets/css/estimax.css — Estimax Partner Theme */

:root {
  /* Estimax palette (from actual logo colors) */
  --estimax-primary: #110087;  /* deep navy/purple from logo */
  --estimax-accent:  #fe8a28;  /* orange accent from logo */
  --estimax-green:   #b4d440;  /* lime green from logo */
  --estimax-green-dark: #6dae3c; /* darker green from logo */
  --estimax-paper:   #FFFFFF;
  --estimax-ink:     #1a1a2e;  /* dark navy for text */
  --estimax-ink-2:   #2a2a3e;  /* lighter navy for secondary text */
  --estimax-sky:     #f8f9ff;  /* very light blue bg */
  --radius-xl: 16px;
  --shadow-md: 0 10px 24px rgba(17,0,135,.15);
  --shadow-sm: 0 6px 16px rgba(17,0,135,.10);
}

/* Apply overrides only on the Estimax page */
.theme-estimax {
  --btn-bg: var(--estimax-primary);
  --btn-fg: var(--estimax-paper);
  --link:   var(--estimax-primary);
  --link-h: var(--estimax-accent);
}

/* HEADER OVERRIDES */
.theme-estimax header,
.theme-estimax .site-header {
  background: var(--estimax-paper);
  border-bottom: 2px solid var(--estimax-primary);
  box-shadow: 0 2px 10px rgba(17,0,135,.08);
}

.theme-estimax .site-header a,
.theme-estimax .site-header nav a {
  color: var(--estimax-ink);
  font-weight: 500;
}

.theme-estimax .site-header nav a:hover,
.theme-estimax .site-header nav .current-menu-item > a {
  color: var(--estimax-primary);
  font-weight: 600;
}

/* LOGO STYLING */
.theme-estimax .brand--estimax {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-estimax .brand--estimax img {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(17,0,135,.1));
}

/* HERO */
.theme-estimax .estimax-hero {
  position: relative;
  min-height: 60vh;
  display: grid;
  place-items: center;
  color: var(--estimax-paper);
  text-align: center;
  overflow: hidden;
}

.theme-estimax .estimax-hero .eh-bg {
  position: absolute; 
  inset: 0;
  background: 
    url('../img/estimax_tlo.webp') center/cover no-repeat,
    linear-gradient(135deg, var(--estimax-primary) 0%, var(--estimax-green-dark) 100%);
  filter: saturate(1.1) brightness(0.95);
}

/* Delikatna biała mgła dla lepszej czytelności tekstu */
.theme-estimax .estimax-hero .eh-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(0.6px);
}

.theme-estimax .estimax-hero .eh-inner {
  position: relative;
  z-index: 2;
  padding: 6rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.theme-estimax .estimax-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  font-weight: 700;
  text-shadow: 0 3px 6px rgba(0,0,0,0.4);
  color: var(--estimax-paper);
}

.theme-estimax .estimax-hero .lead {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  opacity: 0.98;
  margin-bottom: 0;
  line-height: 1.4;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  color: var(--estimax-paper);
}

/* STATS */
.theme-estimax .estimax-stats {
  background: var(--estimax-sky);
  padding: 4rem 0;
  border-top: 3px solid var(--estimax-green);
}

.theme-estimax .es-grid {
  display: grid; 
  gap: 2rem;
  grid-template-columns: repeat(3, minmax(0,1fr));
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 900px){
  .theme-estimax .es-grid { 
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.theme-estimax .es-item {
  background: var(--estimax-paper);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.theme-estimax .es-item:hover {
  border-color: var(--estimax-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.theme-estimax .es-num {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  color: var(--estimax-primary);
  margin-bottom: 0.5rem;
}

.theme-estimax .es-label {
  color: var(--estimax-ink-2);
  font-weight: 500;
  font-size: 1.1rem;
}

/* SERVICES */
.theme-estimax .estimax-services { 
  padding: 4rem 0;
  background: linear-gradient(180deg, var(--estimax-paper) 0%, var(--estimax-sky) 100%);
}

.theme-estimax .svc-grid {
  display: grid; 
  gap: 2rem;
  grid-template-columns: repeat(3, minmax(0,1fr));
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 900px){
  .theme-estimax .svc-grid { 
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.theme-estimax .svc-card {
  background: var(--estimax-paper);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--estimax-sky);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 400px; /* Minimalna wysokość dla wyrównania */
}

.theme-estimax .svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--estimax-primary), var(--estimax-green), var(--estimax-accent));
}

.theme-estimax .svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(17,0,135,.15);
  border-color: var(--estimax-primary);
}

.theme-estimax .svc-icon {
  width: 72px; 
  height: 72px;
  border-radius: 50%;
  display: flex; 
  align-items: center;
  justify-content: center;
  background: var(--estimax-primary); /* jednolity granatowy kolor */
  color: var(--estimax-paper);
  margin: 0 auto 1.5rem auto; /* wyśrodkowanie kółka */
  box-shadow: 0 4px 15px rgba(17,0,135,.2);
  padding: 0; /* usunięcie paddingu dla lepszego wyśrodkowania */
}

.theme-estimax .svc-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* biała ikona */
  transition: transform 0.3s ease;
}

.theme-estimax .svc-card:hover .svc-icon {
  background: var(--estimax-primary); /* bez zmiany koloru przy hover */
  box-shadow: 0 6px 20px rgba(17,0,135,.3);
}

.theme-estimax .svc-card:hover .svc-icon img {
  transform: scale(1.1);
}

.theme-estimax .svc-card h3 {
  color: var(--estimax-primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.theme-estimax .svc-card p {
  color: var(--estimax-ink-2);
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  flex: 1; /* Rozciąga tekst aby wypchnąć przyciski na dół */
}

/* EXPANDABLE TEXT */
.theme-estimax .svc-card .description-text {
  max-height: 4.8em; /* ~3 linie tekstu */
  overflow: hidden;
  transition: max-height 0.3s ease;
  position: relative;
}

.theme-estimax .svc-card .description-text.expanded {
  max-height: none;
}

.theme-estimax .svc-card .expand-btn {
  background: none;
  border: none;
  color: var(--estimax-primary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.theme-estimax .svc-card .expand-btn:hover {
  color: var(--estimax-accent);
}

/* CARD FOOTER AREA */
.theme-estimax .svc-card-footer {
  margin-top: auto; /* Wypycha na dół */
}

/* PRICING IN SERVICE CARDS */
.theme-estimax .svc-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--estimax-sky);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  border-left: 4px solid var(--estimax-primary);
}

.theme-estimax .svc-price:last-child {
  margin-bottom: 0;
}

.theme-estimax .svc-price .price-label {
  font-size: 0.9rem;
  color: var(--estimax-ink-2);
  font-weight: 500;
}

.theme-estimax .svc-price .price-value {
  font-size: 1rem;
  color: var(--estimax-primary);
  font-weight: 700;
}

/* BUTTON IN SERVICE CARDS */
.theme-estimax .btn-service {
  display: block;
  width: 100%;
  background: var(--estimax-accent);
  color: var(--estimax-paper);
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  border: 2px solid var(--estimax-accent);
  transition: all 0.3s ease;
  margin-top: 1.5rem;
  font-size: 1rem;
}

.theme-estimax .btn-service:hover {
  background: var(--estimax-primary);
  border-color: var(--estimax-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(17,0,135,.2);
}

/* NASZE REALIZACJE SECTION - DELIKATNY PASEK */
.theme-estimax .estimax-realizations {
  padding: 2.5rem 0;
  background: var(--estimax-sky);
  border-top: 1px solid rgba(17,0,135,.1);
  border-bottom: 1px solid rgba(17,0,135,.1);
}

.theme-estimax .realizations-header {
  text-align: center;
  margin-bottom: 2rem;
}

.theme-estimax .realizations-header h2 {
  color: var(--estimax-primary);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.theme-estimax .realizations-header p {
  color: var(--estimax-ink-2);
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0 auto;
  opacity: 0.8;
}

.theme-estimax .realizations-slider {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  max-width: 1000px;
  margin: 0 auto;
}

.theme-estimax .realizations-track {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}

.theme-estimax .realization-item {
  flex: 0 0 200px; /* Wąskie zdjęcia - 200px szerokości */
  height: 140px; /* Niska wysokość dla wąskiego paska */
  margin-right: 15px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(17,0,135,.1);
  transition: all 0.3s ease;
  filter: brightness(1.1);
}

.theme-estimax .realization-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(17,0,135,.15);
}

@media (max-width: 768px) {
  .theme-estimax .realization-item {
    flex: 0 0 160px;
    height: 120px;
    margin-right: 10px;
  }
}

.theme-estimax .realization-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.theme-estimax .realization-item:hover img {
  transform: scale(1.05);
}

.theme-estimax .realization-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(17,0,135,0.8));
  color: white;
  padding: 1rem 0.75rem 0.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.theme-estimax .realization-item:hover .realization-overlay {
  transform: translateY(0);
}

.theme-estimax .realization-overlay h4 {
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.theme-estimax .realization-overlay p {
  color: rgba(255,255,255,0.9);
  font-size: 0.7rem;
  margin: 0;
  line-height: 1.1;
}

.theme-estimax .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(17,0,135,0.7);
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}

.theme-estimax .slider-btn:hover {
  background: var(--estimax-primary);
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.theme-estimax .prev-btn {
  left: 10px;
}

.theme-estimax .next-btn {
  right: 10px;
}

@media (max-width: 768px) {
  .theme-estimax .slider-btn {
    width: 30px;
    height: 30px;
  }
  
  .theme-estimax .prev-btn {
    left: 5px;
  }
  
  .theme-estimax .next-btn {
    right: 5px;
  }
}

/* ESTIMAX FOOTER CTA - high contrast variant: light background, dark text, no gradients */
.theme-estimax .estimax-footer-cta {
  background: var(--estimax-paper); /* jasne tło */
  color: var(--estimax-ink); /* ciemny tekst */
  padding: 2rem 0; /* nieco niższy pasek */
  position: relative;
  border-top: 1px solid rgba(0,0,0,0.06);
  box-shadow: none; /* brak gradientów i cieni dla prostoty */
}

.theme-estimax .estimax-footer-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px; /* niższy pasek akcentu */
  background: var(--estimax-accent); /* pozostawiamy pomarańczowy pasek akcentu */
}

.theme-estimax .estimax-footer-cta .efc-wrap {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  grid-template-columns: 1fr auto; /* logo removed: content + actions */
  max-width: 1200px;
  margin: 0 auto;
}

.theme-estimax .estimax-footer-cta .efc-content {
  max-width: 560px;
}

.theme-estimax .estimax-footer-cta .efc-actions {
  display: flex;
  flex-direction: row; /* side-by-side */
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-end;
}

/* Slightly smaller buttons to fit side-by-side */
.theme-estimax .btn--efc {
  background: var(--estimax-accent);
  color: var(--estimax-ink);
  padding: 0.7rem 1.25rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid var(--estimax-accent);
  transition: all 0.18s ease;
  font-size: 1rem;
}

.theme-estimax .btn--efc:hover {
  background: var(--estimax-paper); /* inwersja na biały przy hover */
  color: var(--estimax-ink);
  border-color: var(--estimax-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* For outline variant keep weight consistent */
.theme-estimax .btn--efc.btn--outline {
  background: transparent;
  color: var(--estimax-ink);
  border: 2px solid var(--estimax-accent);
}

.theme-estimax .btn--efc.btn--outline:hover {
  background: var(--estimax-accent);
  color: var(--estimax-ink);
  border-color: var(--estimax-accent);
}

@media (max-width: 900px){
  .theme-estimax .estimax-footer-cta { padding: 2.25rem 0; }
  .theme-estimax .estimax-footer-cta .efc-wrap { grid-template-columns: 1fr; text-align: center; }
  .theme-estimax .estimax-footer-cta .efc-actions { flex-direction: column; align-items: center; justify-content: center; }
}

/* Specific Estimax CTA button classes */
.theme-estimax .btn-phone {
  background: var(--estimax-accent);
  color: var(--estimax-ink);
  border: 2px solid var(--estimax-accent);
}

.theme-estimax .btn-phone:hover {
  background: transparent;
  color: var(--estimax-accent);
}

.theme-estimax .btn-email {
  background: transparent;
  color: var(--estimax-ink);
  border: 2px solid var(--estimax-accent);
}

.theme-estimax .btn-email:hover {
  background: var(--estimax-accent);
  color: var(--estimax-ink);
}

/* HIDE STANDARD FOOTER ON ESTIMAX PAGE */
.theme-estimax .site-footer {
  display: none !important;
}

/* DEDICATED ESTIMAX FOOTER */
.theme-estimax .estimax-footer {
  background: var(--estimax-primary);
  color: var(--estimax-paper);
  padding: 3rem 0 1.5rem;
  margin-top: 0;
}

.theme-estimax .estimax-footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .theme-estimax .estimax-footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

.theme-estimax .estimax-company-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.theme-estimax .estimax-footer-logo {
  max-width: 160px;
  height: auto;
  filter: brightness(0) invert(1);
}

@media (max-width: 900px) {
  .theme-estimax .estimax-footer-logo {
    margin: 0 auto;
  }
}

.theme-estimax .estimax-contact-details h3 {
  color: var(--estimax-paper);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.theme-estimax .estimax-owner {
  color: var(--estimax-accent);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.theme-estimax .estimax-contact-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.theme-estimax .contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--estimax-paper);
}

.theme-estimax .contact-item svg {
  color: var(--estimax-accent);
  flex-shrink: 0;
}

.theme-estimax .contact-item a {
  color: var(--estimax-paper);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.theme-estimax .contact-item a:hover {
  color: var(--estimax-accent);
}

.theme-estimax .estimax-services-list h4 {
  color: var(--estimax-paper);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.theme-estimax .estimax-services-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.theme-estimax .estimax-services-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}

.theme-estimax .estimax-services-list li:last-child {
  border-bottom: none;
}

.theme-estimax .estimax-cta h4 {
  color: var(--estimax-paper);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.theme-estimax .estimax-cta p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
}

.theme-estimax .estimax-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.theme-estimax .btn-estimax {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.theme-estimax .btn-phone {
  background: var(--estimax-accent);
  color: var(--estimax-paper);
  border: 2px solid var(--estimax-accent);
}

.theme-estimax .btn-phone:hover {
  background: transparent;
  color: var(--estimax-accent);
}

.theme-estimax .btn-email {
  background: transparent;
  color: var(--estimax-paper);
  border: 2px solid var(--estimax-paper);
}

.theme-estimax .btn-email:hover {
  background: var(--estimax-paper);
  color: var(--estimax-primary);
}

.theme-estimax .estimax-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--estimax-paper) !important; /* force white for entire bottom area */
  font-size: 0.9rem;
}

.theme-estimax .estimax-footer-bottom p {
  color: var(--estimax-paper) !important; /* ensure paragraph (© ...) is white */
}

.theme-estimax .estimax-footer-bottom a {
  color: var(--estimax-paper) !important; /* ensure links are white as well */
}

.theme-estimax .estimax-partnership {
  color: var(--estimax-paper); /* make partnership text white for contrast */
}

.theme-estimax .estimax-partnership a {
  color: var(--estimax-paper);
  text-decoration: none;
}

.theme-estimax .estimax-partnership a:hover {
  color: var(--estimax-accent);
}

/* LINKS */
.theme-estimax a { 
  color: var(--link); 
  transition: color 0.3s ease;
}

.theme-estimax a:hover { 
  color: var(--link-h); 
}

/* BRAND SWITCHING */
.theme-estimax .brand--default { 
  display: none !important; 
}

/* TYPOGRAPHY ENHANCEMENTS */
.theme-estimax h1,
.theme-estimax h2,
.theme-estimax h3 {
  color: var(--estimax-primary);
}

.theme-estimax .page-title {
  display: none; /* Hide default page title since we have custom hero */
}

/* ACCESSIBILITY & FOCUS STATES */
.theme-estimax .btn--hero:focus,
.theme-estimax .btn--efc:focus {
  outline: 3px solid var(--estimax-accent);
  outline-offset: 2px;
}

.theme-estimax .svc-card:focus-within {
  outline: 2px solid var(--estimax-primary);
  outline-offset: 2px;
}

/* SMOOTH SCROLLING */
.theme-estimax {
  scroll-behavior: smooth;
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.theme-estimax .es-item,
.theme-estimax .svc-card {
  animation: fadeInUp 0.6s ease-out;
}

.theme-estimax .es-item:nth-child(2) {
  animation-delay: 0.1s;
}

.theme-estimax .es-item:nth-child(3) {
  animation-delay: 0.2s;
}

.theme-estimax .svc-card:nth-child(2) {
  animation-delay: 0.15s;
}

.theme-estimax .svc-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* PRINT STYLES */
@media print {
  .theme-estimax .estimax-hero .eh-bg {
    background: var(--estimax-primary) !important;
  }
  
  .theme-estimax .estimax-footer-cta {
    background: var(--estimax-primary) !important;
  }
  
  .theme-estimax .btn--hero,
  .theme-estimax .btn--efc {
    background: var(--estimax-primary) !important;
    color: white !important;
  }
}

/* Estimax-only blog preview styles */
.theme-estimax .estimax-blog {
  padding: 2.5rem 0;
  background: var(--estimax-sky);
}
.theme-estimax .estimax-blog .container {
  max-width: 1200px;
  margin: 0 auto;
}
.theme-estimax .estimax-blog h3 {
  color: var(--estimax-primary);
  margin-bottom: 1rem;
  font-size: 1.35rem;
}
.theme-estimax .estimax-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.theme-estimax .estimax-blog-card {
  background: var(--estimax-paper);
  border-radius: 10px;
  padding: 0.8rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.theme-estimax .estimax-blog-card .eb-thumb img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  margin-bottom: 0.6rem;
}
.theme-estimax .estimax-blog-card .eb-title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--estimax-ink);
}
.theme-estimax .estimax-blog-card .eb-excerpt {
  margin: 0;
  color: var(--estimax-ink-2);
  font-size: 0.95rem;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .theme-estimax .estimax-blog-grid { grid-template-columns: 1fr; }
  .theme-estimax .estimax-footer-cta .efc-wrap { grid-template-columns: 1fr; text-align: center; }
  .theme-estimax .estimax-footer-cta .efc-actions { justify-content: center; }
}
