/*
Theme Name: Hogar Tecno Astra Child
Theme URI: https://example.com/hogar-tecno
Author: Solkaris
Author URI: https://example.com
Description: Child theme de Astra inspirado en la maqueta Hogar Tecno para blog de domótica y afiliación.
Version: 1.1.0
Template: astra
Text Domain: hogar-tecno
*/

/* Reset básico y variables del tema */
:root {
  --bg: #f8f9fb;
  --text: #1b1b1d;
  --muted: #51535a;
  --accent: #ffa500;
  --white: #ffffff;
  --dark: #101218;
  --soft-gray: #e9ecf2;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-md: 0 18px 36px rgba(16, 18, 24, 0.12);
  --shadow-sm: 0 8px 20px rgba(16, 18, 24, 0.1);
}

body {
  font-family: 'Inter', 'Roboto', sans-serif;
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: 84px;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  padding-top: 0;
}

/* Encabezado fijo */
.site-header.hogar-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(16, 18, 24, 0.05);
}

.hogar-nav-container {
  width: min(1160px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 40px;
}

.hogar-nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hogar-logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.hogar-logo a,
.hogar-logo img {
  display: inline-flex;
  align-items: center;
}

.hogar-logo img {
  max-height: 64px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.hogar-logo img {
  max-height: 64px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.hogar-main-nav {
  display: flex;
  gap: 24px;
  font-weight: 500;
}

.hogar-main-nav a {
  position: relative;
  padding-bottom: 4px;
}

.hogar-main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  transition: transform 0.25s ease;
}

.hogar-main-nav a:hover::after,
.hogar-main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.chat-fab-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: var(--dark);
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(16, 18, 24, 0.16);
}

.chat-fab-header:focus-visible {
  outline: 2px solid rgba(255, 165, 0, 0.45);
  outline-offset: 2px;
}

.hogar-container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

/* Hero */
.hero-hogar {
  padding: 90px 0 60px;
  background: linear-gradient(120deg, rgba(255, 165, 0, 0.08), rgba(255, 165, 0, 0));
}

.hero-hogar .hogar-container {
  width: min(1160px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 48px;
}

.hero-text {
  display: flex;
  flex-direction: column;
}

.hero-hogar h1 {
  font-size: clamp(2.25rem, 5vw, 3.2rem);
  margin-bottom: 12px;
  line-height: 1.1;
}

.hero-hogar p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 520px;
}

.affiliate-search {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 540px;
}

.affiliate-search__title {
  font-weight: 600;
  color: var(--dark);
  margin: 0;
}

.affiliate-search__form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.affiliate-search__form input[type="search"] {
  flex: 1;
  min-width: 220px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(16, 18, 24, 0.12);
  font-size: 1rem;
  font-family: inherit;
}

.affiliate-search__form input[type="search"]:focus {
  outline: 2px solid rgba(255, 165, 0, 0.4);
  border-color: transparent;
}

.affiliate-search__disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-hogar img {
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(16, 18, 24, 0.12);
}

.sorka-showcase {
  background: radial-gradient(circle at top right, rgba(255, 165, 0, 0.08), transparent 65%);
  padding-top: 40px;
}

.sorka-layout {
  width: min(1160px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 48px;
}

.sorka-image img {
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(16, 18, 24, 0.18);
}

.sorka-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sorka-content h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin: 0;
}

.sorka-content p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.sorka-content ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
}

.sorka-content li {
  position: relative;
  list-style: none;
  padding-left: 18px;
}

.sorka-content li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
  top: 0;
}

/* Botones */
.btn-hogar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-hogar:focus-visible {
  outline: 3px solid rgba(255, 165, 0, 0.55);
  outline-offset: 3px;
}

.btn-hogar-primary {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 14px 24px rgba(255, 165, 0, 0.28);
}

.btn-hogar-primary:hover,
.btn-hogar-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(255, 165, 0, 0.32);
}

.btn-hogar-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-hogar-secondary {
  background: transparent;
  color: var(--dark);
  border: 1px solid rgba(16, 18, 24, 0.15);
}

.btn-hogar-secondary:hover,
.btn-hogar-secondary:focus-visible {
  border-color: rgba(16, 18, 24, 0.35);
}

/* Secciones genéricas */
.section-hogar {
  padding: 80px 0;
}

.section-hogar .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-hogar .section-header h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.section-hogar .section-header p {
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto;
}

/* Grid de productos */
.product-grid {
  width: min(1160px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.affiliate-table-grid {
  width: min(1160px, 92vw);
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.affiliate-table-card {
  background: var(--white);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(16, 18, 24, 0.08);
  overflow: hidden;
}

.affiliate-table-card table {
  width: 100%;
}

.product-card {
  background: var(--white);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 8px 20px rgba(16, 18, 24, 0.1);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(16, 18, 24, 0.12);
}

.product-card img {
  aspect-ratio: 4/3;
  object-fit: cover;
}

.product-card h3 {
  margin: 0 0 12px;
  font-size: 1.24rem;
}

.product-card p {
  color: var(--muted);
  margin-bottom: 20px;
}

/* Artículos */
.featured-articles {
  background: var(--bg);
}

.article-grid {
  width: min(1160px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.article-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 20px rgba(16, 18, 24, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(16, 18, 24, 0.12);
}

.article-card img {
  border-radius: 0;
  height: 200px;
  object-fit: cover;
}

.article-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.article-meta {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Guías */
.guides-section {
  background: linear-gradient(145deg, rgba(16, 18, 24, 0.02), rgba(255, 165, 0, 0.06));
}

.guides-grid {
  width: min(1160px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.guide-card {
  background: var(--white);
  padding: 28px;
  border-radius: 24px;
  box-shadow: 0 8px 20px rgba(16, 18, 24, 0.1);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.guide-card p {
  color: var(--muted);
  margin: 0;
}

.guide-card .link {
  color: var(--accent);
  font-weight: 600;
}

/* Newsletter */
.cta-newsletter {
  background: var(--soft-gray);
}

.newsletter-wrap {
  width: min(780px, 92vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.newsletter-form input[type="email"] {
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid rgba(16, 18, 24, 0.12);
  min-width: 280px;
  font-size: 1rem;
  font-family: inherit;
}

.newsletter-form input[type="email"]:focus-visible {
  outline: 2px solid rgba(255, 165, 0, 0.4);
  border-color: transparent;
}

.newsletter-description {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
}

.newsletter-description p {
  margin: 0 0 12px;
}

.newsletter-shortcode {
  width: 100%;
}

.newsletter-consent {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 540px;
  margin: 8px auto 0;
}

.newsletter-consent a {
  color: var(--accent);
  font-weight: 600;
}

.newsletter-feedback {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
  text-align: center;
}

.newsletter-feedback--success {
  background: rgba(46, 204, 113, 0.12);
  color: #1f7a4d;
  border: 1px solid rgba(46, 204, 113, 0.25);
}

.newsletter-feedback--error {
  background: rgba(231, 76, 60, 0.12);
  color: #7c1d1d;
  border: 1px solid rgba(231, 76, 60, 0.25);
}

.newsletter-extra-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  width: 0;
}

/* Footer */
.site-footer.hogar-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.76);
  padding: 48px 0;
}

.hogar-footer-content {
  width: min(1160px, 92vw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hogar-footer-nav {
  display: flex;
  gap: 20px;
}

.hogar-footer-nav a {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 500;
}

.hogar-footer-nav a:hover {
  color: var(--accent);
}

/* Chat flotante */
.chat-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 12px 18px 12px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 18px 36px rgba(16, 18, 24, 0.12);
  font-weight: 600;
  z-index: 1000;
}

.chat-toggle:focus-visible,
.chat-close:focus-visible {
  outline: 3px solid rgba(255, 165, 0, 0.6);
  outline-offset: 3px;
}

.chat-toggle img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-window {
  position: fixed;
  bottom: 110px;
  right: 24px;
  width: min(360px, 88vw);
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(16, 18, 24, 0.12);
  display: flex;
  flex-direction: column;
  max-height: min(540px, 80vh);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  overflow: hidden;
  z-index: 999;
}

.chat-window.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chat-header {
  padding: 18px;
  background: var(--dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chat-agent {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-agent img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-agent span {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}

.chat-close {
  background: rgba(255, 255, 255, 0.16);
  border: none;
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.chat-body {
  padding: 20px;
  background: var(--bg);
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-message {
  background: var(--white);
  padding: 14px 16px;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(16, 18, 24, 0.08);
  color: var(--text);
}

.chat-message.agent {
  align-self: flex-start;
}

.chat-message.user {
  align-self: flex-end;
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 8px 18px rgba(255, 165, 0, 0.28);
}

.chat-message.error {
  align-self: flex-start;
  background: #fdf2f2;
  color: #7f1d1d;
  border: 1px solid rgba(127, 29, 29, 0.18);
}

.chat-message .agent,
.chat-message .user-label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.chat-placeholder {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(16, 18, 24, 0.05);
}

.chat-input {
  display: flex;
  gap: 12px;
  padding: 18px;
  border-top: 1px solid rgba(16, 18, 24, 0.08);
  background: var(--white);
}

.chat-input input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(16, 18, 24, 0.12);
  font-family: inherit;
}

.chat-input input:focus-visible {
  outline: 2px solid rgba(255, 165, 0, 0.4);
  border-color: transparent;
}

.chat-body[aria-busy="true"]::after {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  margin: 12px auto 8px;
  border-radius: 50%;
  border: 3px solid rgba(16, 18, 24, 0.12);
  border-top-color: var(--accent);
  animation: hogar-spin 0.8s linear infinite;
}

.chat-body[aria-busy="true"] .chat-message:last-child {
  margin-bottom: 0;
}

@keyframes hogar-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.sr-only,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Responsividad */
@media (max-width: 960px) {
  body {
    padding-top: 76px;
  }

  .hogar-nav-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .hogar-nav-actions {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .hogar-logo img {
    max-height: 48px;
  }

  .chat-fab-header {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .hero-hogar .hogar-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sorka-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sorka-content {
    align-items: center;
  }

  .sorka-content ul {
    align-items: flex-start;
    text-align: left;
  }

  .hero-hogar .hero-text {
    order: 2;
  }

  .hero-hogar .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .affiliate-search {
    align-items: center;
  }

  .affiliate-search__form {
    flex-direction: column;
    align-items: stretch;
  }

  .affiliate-search__form input[type="search"],
  .affiliate-search__form .btn-hogar {
    width: 100%;
  }

  .hero-hogar .hero-image {
    order: 1;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-form input,
  .newsletter-form .btn-hogar {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .section-hogar {
    padding: 60px 0;
  }

  .chat-toggle {
    bottom: 18px;
    right: 18px;
    padding-right: 16px;
  }

  .chat-window {
    bottom: 96px;
    right: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* === Solkaris Pulse Animations === */
@keyframes solkaris-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 165, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 165, 0, 0);
  }
}

.chat-toggle,
.chat-fab-header {
  animation: solkaris-pulse 2.5s infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chat-toggle:hover,
.chat-fab-header:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 165, 0, 0.4);
}

/* Estado activo del chat */
.chat-window.open .chat-header {
  animation: solkaris-pulse 1.8s infinite;
  background: linear-gradient(120deg, var(--accent), #ffd580);
}
/* SOBRE NOSOTROS */
.about-hogar {
  background: radial-gradient(circle at top, rgba(255, 165, 0, 0.08), transparent 55%);
  padding: 90px 0;
}

.about-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 16px;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.about-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
}

.about-list li::before {
  content: '•';
  position: absolute;
  left: 8px;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

.about-cards {
  display: grid;
  gap: 18px;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.about-card h3 {
  margin-top: 0;
}

/* BLOG LANDING */
.blog-hero {
  padding: 70px 0;
  background: linear-gradient(120deg, rgba(255, 165, 0, 0.12), rgba(255, 165, 0, 0));
}

.blog-hero__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.blog-hero__content .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: var(--muted);
}

.blog-hero__content h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin: 14px 0 20px;
}

.blog-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.blog-hero__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px auto 0;
}

.cat-chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(16, 18, 24, 0.12);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.cat-chip:hover,
.cat-chip:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.blog-grid {
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.blog-card__thumb img,
.blog-card__thumb .hogar-placeholder-thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--muted);
}

.blog-card__title {
  margin: 0;
  font-size: 1.25rem;
}

.blog-card__excerpt {
  color: var(--muted);
  margin: 0;
}

.blog-card__link {
  margin-top: auto;
  color: var(--accent);
  font-weight: 600;
}

.blog-pagination {
  margin: 48px auto 90px;
}

.blog-pagination .nav-links {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.blog-pagination a,
.blog-pagination span {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(16, 18, 24, 0.12);
}

.blog-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: var(--soft-gray);
}

.hogar-placeholder-thumb {
  border-radius: var(--radius-lg);
  display: block;
}

@media (max-width: 768px) {
  .about-hogar {
    padding: 60px 0;
  }

  .blog-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─────────────────────────────────────────────── */
/* FIX: Avatar Kaël — Círculo Perfecto             */
/* Auditoría Antigravity 2026-02-22                */
/* ─────────────────────────────────────────────── */

/* Contenedor Elementor Image Box - debe recortar  */
.elementor-image-box-img {
    border-radius: 50% !important;
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* La imagen del avatar de Kaël directamente      */
.elementor-image-box-img img,
img[src*='kael-soberano'] {
    width: 200px !important;
    height: 200px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center top !important;
    border-radius: 50% !important;
    display: block !important;
    max-width: 200px !important;
}
