.elementor-52099 .elementor-element.elementor-element-16cfb9e{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--overlay-opacity:0.3;--padding-top:180px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-52099 .elementor-element.elementor-element-16cfb9e::before, .elementor-52099 .elementor-element.elementor-element-16cfb9e > .elementor-background-video-container::before, .elementor-52099 .elementor-element.elementor-element-16cfb9e > .e-con-inner > .elementor-background-video-container::before, .elementor-52099 .elementor-element.elementor-element-16cfb9e > .elementor-background-slideshow::before, .elementor-52099 .elementor-element.elementor-element-16cfb9e > .e-con-inner > .elementor-background-slideshow::before, .elementor-52099 .elementor-element.elementor-element-16cfb9e > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-image:url("https://www.saragarzaranpsicologia.com/wp-content/uploads/2026/08/homeherobg.png");--background-overlay:'';background-position:bottom center;background-size:cover;}.elementor-52099 .elementor-element.elementor-element-2f54ce2{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--flex-wrap:wrap;--margin-top:70px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-52099 .elementor-element.elementor-element-df07bef{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--flex-wrap:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-52099 .elementor-element.elementor-element-083325e{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--flex-wrap:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-loop-grid .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-size:var( --e-global-typography-accent-font-size );font-weight:var( --e-global-typography-accent-font-weight );text-transform:var( --e-global-typography-accent-text-transform );font-style:var( --e-global-typography-accent-font-style );text-decoration:var( --e-global-typography-accent-text-decoration );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );}.elementor-widget-loop-grid .elementor-pagination{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );text-transform:var( --e-global-typography-secondary-text-transform );font-style:var( --e-global-typography-secondary-font-style );text-decoration:var( --e-global-typography-secondary-text-decoration );line-height:var( --e-global-typography-secondary-line-height );letter-spacing:var( --e-global-typography-secondary-letter-spacing );}.elementor-widget-loop-grid .e-load-more-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );text-transform:var( --e-global-typography-secondary-text-transform );font-style:var( --e-global-typography-secondary-font-style );text-decoration:var( --e-global-typography-secondary-text-decoration );line-height:var( --e-global-typography-secondary-line-height );letter-spacing:var( --e-global-typography-secondary-letter-spacing );}.elementor-52099 .elementor-element.elementor-element-25b6d2b{--grid-columns:1;}.elementor-52099 .elementor-element.elementor-element-fc2004d{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--flex-wrap:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-52099 .elementor-element.elementor-element-6242b95{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--flex-wrap:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-52099 .elementor-element.elementor-element-4bdaabb{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--flex-wrap:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-52099 .elementor-element.elementor-element-9da87df{--e-filter-direction:row;--e-filter-white-space:nowrap;--e-filter-justify-content:center;--e-filter-item-width:initial;--e-filter-item-flex-grow:0;--e-filter-wrap:wrap;--e-filter-overflow-x:initial;}.elementor-widget-search{--e-search-input-color:var( --e-global-color-text );}.elementor-widget-search.e-focus{--e-search-input-color:var( --e-global-color-text );}.elementor-widget-search .elementor-pagination{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );text-transform:var( --e-global-typography-primary-text-transform );font-style:var( --e-global-typography-primary-font-style );text-decoration:var( --e-global-typography-primary-text-decoration );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );}.elementor-52099 .elementor-element.elementor-element-f794b75.elementor-element{--align-self:center;--order:99999 /* order end hack */;--flex-grow:0;--flex-shrink:0;}.elementor-52099 .elementor-element.elementor-element-02d5e15{--grid-columns:3;--grid-row-gap:32px;--grid-column-gap:26px;}.elementor-52099 .elementor-element.elementor-element-02d5e15 > .elementor-widget-container{margin:00px 0px 0px 0px;}.elementor-52099 .elementor-element.elementor-element-02d5e15 .elementor-loop-container{grid-auto-rows:1fr;}.elementor-52099 .elementor-element.elementor-element-02d5e15 .e-loop-item > .elementor-section, .elementor-52099 .elementor-element.elementor-element-02d5e15 .e-loop-item > .elementor-section > .elementor-container, .elementor-52099 .elementor-element.elementor-element-02d5e15 .e-loop-item > .e-con, .elementor-52099 .elementor-element.elementor-element-02d5e15 .e-loop-item .elementor-section-wrap  > .e-con{height:100%;}.elementor-52099 .elementor-element.elementor-element-02d5e15 .elementor-pagination{text-align:center;}body:not(.rtl) .elementor-52099 .elementor-element.elementor-element-02d5e15 .elementor-pagination .page-numbers:not(:first-child){margin-left:calc( 10px/2 );}body:not(.rtl) .elementor-52099 .elementor-element.elementor-element-02d5e15 .elementor-pagination .page-numbers:not(:last-child){margin-right:calc( 10px/2 );}body.rtl .elementor-52099 .elementor-element.elementor-element-02d5e15 .elementor-pagination .page-numbers:not(:first-child){margin-right:calc( 10px/2 );}body.rtl .elementor-52099 .elementor-element.elementor-element-02d5e15 .elementor-pagination .page-numbers:not(:last-child){margin-left:calc( 10px/2 );}:root{--page-title-display:none;}@media(max-width:1024px){.elementor-52099 .elementor-element.elementor-element-16cfb9e{--padding-top:150px;--padding-bottom:0px;--padding-left:30px;--padding-right:30px;}.elementor-widget-loop-grid .elementor-pagination{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );letter-spacing:var( --e-global-typography-secondary-letter-spacing );}.elementor-widget-loop-grid .elementor-button{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );}.elementor-widget-loop-grid .e-load-more-message{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );letter-spacing:var( --e-global-typography-secondary-letter-spacing );}.elementor-52099 .elementor-element.elementor-element-25b6d2b{--grid-columns:1;}.elementor-widget-search .elementor-pagination{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );}.elementor-52099 .elementor-element.elementor-element-02d5e15{--grid-columns:2;}}@media(max-width:767px){.elementor-52099 .elementor-element.elementor-element-16cfb9e{--padding-top:125px;--padding-bottom:0px;--padding-left:20px;--padding-right:20px;}.elementor-widget-loop-grid .elementor-pagination{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );letter-spacing:var( --e-global-typography-secondary-letter-spacing );}.elementor-widget-loop-grid .elementor-button{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );letter-spacing:var( --e-global-typography-accent-letter-spacing );}.elementor-widget-loop-grid .e-load-more-message{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );letter-spacing:var( --e-global-typography-secondary-letter-spacing );}.elementor-52099 .elementor-element.elementor-element-25b6d2b{--grid-columns:1;}.elementor-widget-search .elementor-pagination{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );}.elementor-52099 .elementor-element.elementor-element-02d5e15{--grid-columns:1;}}/* Start custom CSS for container, class: .elementor-element-16cfb9e *//* 01. Variables y ámbito: no afecta a cabecera, pie ni otras páginas. */
.sg-blog-page {
  --sg-blue: #1e83ad;
  --sg-action: #186c95;
  --sg-action-hover: #125675;
  --sg-text: #504f4f;
  --sg-muted: #64717a;
  --sg-cream: #f7f3ef;
  --sg-line: #dde6e9;
  --sg-width: 1250px;
  --sg-serif: "Linux Liberty", "Linux Libertine", Georgia, serif;
  --sg-sans: Lato, Arial, sans-serif;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin-top: 80px ;: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  color: var(--sg-text);
  font-family: var(--sg-sans);
}
.sg-blog-page,
.sg-blog-page * { box-sizing: border-box; }
.sg-blog-page.sg-blog-page * {
  text-transform: none !important;
  letter-spacing: normal !important;
}
.sg-blog-page > .e-con-inner {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 02. Secciones: un único ancho, sin doble margen lateral. */
.sg-blog-page :is(.sg-blog-hero, .sg-blog-featured-section,
  .sg-blog-articles-section, .sg-blog-faq-section, .sg-blog-cta-section) {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 64px 24px !important;
  gap: 0 !important;
}
.sg-blog-page .sg-blog-hero { padding-top: 28px !important; padding-bottom: 48px !important; }
.sg-blog-page .sg-blog-featured-section { padding-top: 36px !important; background: #fff !important; }
.sg-blog-page .sg-blog-articles-section { background: var(--sg-cream) !important; }
.sg-blog-page :is(.sg-blog-hero, .sg-blog-featured-section,
  .sg-blog-articles-section, .sg-blog-faq-section, .sg-blog-cta-section) > .e-con-inner,
.sg-blog-page .sg-blog-section-inner,
.sg-blog-page .sg-blog-section-inner > .e-con-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: var(--sg-width) !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  gap: 0 !important;
}
.sg-blog-page :is(.sg-blog-featured-loop, .sg-blog-main-loop, .sg-blog-tools-row) {
  width: 100% !important;
  max-width: var(--sg-width) !important;
  min-width: 0 !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding: 0 !important;
}
.sg-blog-page :is(.sg-blog-featured-loop, .sg-blog-main-loop) > .elementor-widget-container {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 03. Logo completo. Las fotos de los artículos tienen reglas propias. */
.sg-blog-page .sg-blog-logo {
  display: block !important;
  width: 100% !important;
  max-width: 640px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 auto 28px !important;
  padding: 0 !important;
  object-fit: contain !important;
  overflow: visible !important;
}
.sg-blog-page .sg-blog-logo :is(.elementor-widget-container, a, picture, img) {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  overflow: visible !important;
  clip-path: none !important;
}

/* 04. Tipografía: cubre títulos HTML y widgets de Elementor. */
.sg-blog-page :is(h1, h2, h3, .elementor-heading-title) {
  color: var(--sg-blue) !important;
  font-family: var(--sg-serif) !important;
  font-weight: 500 !important;
  font-style: normal !important;
  white-space: normal !important;
  overflow-wrap: break-word;
}
.sg-blog-page :is(h1, h2, h3, .elementor-heading-title) :is(a, span, strong) {
  color: inherit !important;
  font: inherit !important;
  text-decoration: none !important;
}
.sg-blog-page h2 { font-size: 40px !important; line-height: 1.18 !important; }
.sg-blog-page :is(.sg-blog-hero-copy, .sg-blog-section-heading,
  .sg-blog-section-heading-left) {
  display: block !important;
  width: 100% !important;
  max-width: var(--sg-width) !important;
  margin: 0 auto 30px !important;
  padding: 0 !important;
  text-align: center !important;
}
.sg-blog-page .sg-blog-hero-copy { margin-bottom: 0 !important; }
.sg-blog-page .sg-blog-hero-copy h1 {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  font-size: clamp(32px, 3.4vw, 46px) !important;
  line-height: 1.16 !important;
  text-align: center !important;
  text-wrap: balance;
}
.sg-blog-page :is(.sg-blog-section-heading, .sg-blog-section-heading-left,
  .sg-blog-faq-section, .sg-blog-cta-section) h2 {
  margin: 0 !important;
  font-size: clamp(30px, 3vw, 40px) !important;
  line-height: 1.18 !important;
  text-wrap: balance;
}
.sg-blog-page :is(.sg-blog-hero-copy, .sg-blog-section-heading,
  .sg-blog-section-heading-left) p,
.sg-blog-page .sg-blog-hero-description {
  width: 100% !important;
  max-width: 980px !important;
  margin: 16px auto 0 !important;
  color: var(--sg-text) !important;
  font-family: var(--sg-sans) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  text-align: center !important;
}
.sg-blog-page .sg-blog-hero-description p { margin: 0 !important; }
.sg-blog-page :is(.sg-blog-eyebrow, .sg-section-eyebrow,
  .sg-blog-section-eyebrow):not(.elementor-widget),
.sg-blog-page :is(.sg-blog-eyebrow, .sg-section-eyebrow,
  .sg-blog-section-eyebrow).elementor-widget > .elementor-widget-container > p:only-child {
  margin: 0 auto 12px !important;
  color: var(--sg-action) !important;
  font-family: var(--sg-sans) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

/* 05. Botones de lectura y enlace de entrada al listado. */
.sg-blog-page .sg-card-link .elementor-button,
.sg-blog-page .sg-blog-hero-copy a[href^="#"],
.sg-blog-page .sg-blog-cta-section .elementor-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: auto !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 12px 20px !important;
  color: #fff !important;
  background: var(--sg-action) !important;
  border: 1px solid var(--sg-action) !important;
  border-radius: 8px !important;
  font: 600 15px/1.35 var(--sg-sans) !important;
  text-decoration: none !important;
  white-space: normal !important;
  box-shadow: none !important;
  transform: none !important;
  transition: background-color .18s ease, border-color .18s ease !important;
}
.sg-blog-page .sg-blog-hero-copy a[href^="#"] { margin-top: 24px !important; }
.sg-blog-page .sg-card-link .elementor-button :is(span, i),
.sg-blog-page .sg-blog-cta-section .elementor-button :is(span, i) { color: inherit !important; }
.sg-blog-page .sg-card-link .elementor-button:hover,
.sg-blog-page .sg-blog-hero-copy a[href^="#"]:hover,
.sg-blog-page .sg-blog-cta-section .elementor-button:hover {
  color: #fff !important;
  background: var(--sg-action-hover) !important;
  border-color: var(--sg-action-hover) !important;
}

/* 06. Loop Grids: una columna destacada; tres, dos y una en el listado. */
.sg-blog-page .sg-blog-featured-loop .elementor-loop-container {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
}
.sg-blog-page .sg-blog-main-loop .elementor-loop-container {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-rows: 1fr !important;
  align-items: stretch !important;
  gap: 28px 24px !important;
}
.sg-blog-page :is(.sg-blog-main-loop, .sg-blog-featured-loop) .e-loop-item {
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 !important;
}

/* 07. Tarjetas: sin altura máxima que pueda cortar el contenido. */
.sg-blog-page :is(.sg-featured-card, .sg-post-card) {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid var(--sg-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 7px 22px rgba(30, 60, 75, .045) !important;
  transform: none !important;
}
.sg-blog-page .sg-featured-card {
  display: grid !important;
  grid-template-columns: minmax(0, .44fr) minmax(0, .56fr) !important;
  align-items: stretch !important;
  height: auto !important;
}
.sg-blog-page .sg-post-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}
.sg-blog-page :is(.sg-featured-card, .sg-post-card) > .e-con-inner {
  display: contents !important;
}

/* 08. Fotos: el marco controla el tamaño; la imagen lo rellena. */
.sg-blog-page :is(.sg-featured-card-media, .sg-post-card-media) {
  position: relative !important;
  display: block !important;
  align-self: stretch !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #eaf0f1 !important;
  aspect-ratio: auto !important;
}
.sg-blog-page .sg-featured-card-media {
  height: auto !important;
  min-height: 360px !important;
  max-height: none !important;
}
.sg-blog-page .sg-post-card-media {
  flex: 0 0 220px !important;
  height: 220px !important;
  min-height: 220px !important;
  max-height: 220px !important;
}
.sg-blog-page :is(.sg-featured-card-media, .sg-post-card-media)
  :is(.elementor-widget-container, a, picture) {
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.sg-blog-page :is(.sg-featured-card-media, .sg-post-card-media) img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  transform: none !important;
}

/* 09. Cuerpos, títulos completos y extractos breves. */
.sg-blog-page :is(.sg-featured-card-body, .sg-post-card-body),
.sg-blog-page :is(.sg-featured-card-body, .sg-post-card-body) > .e-con-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 14px !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: visible !important;
}
.sg-blog-page .sg-featured-card-body {
  justify-content: center !important;
  padding: 30px 34px !important;
}
.sg-blog-page .sg-post-card-body { flex: 1 !important; padding: 24px !important; }
.sg-blog-page :is(.sg-featured-card-body, .sg-post-card-body) > .e-con-inner {
  flex: 1 !important;
  max-width: none !important;
  padding: 0 !important;
}
.sg-blog-page :is(.sg-featured-card-body, .sg-post-card-body) .elementor-widget {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}
.sg-blog-page :is(.sg-featured-card-title, .sg-post-card-title) .elementor-heading-title,
.sg-blog-page :is(.sg-featured-card-title, .sg-post-card-title) .elementor-heading-title a {
  display: block !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: visible !important;
  color: var(--sg-blue) !important;
  font-family: var(--sg-serif) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  -webkit-line-clamp: unset !important;
}
.sg-blog-page .sg-featured-card-title .elementor-heading-title,
.sg-blog-page .sg-featured-card-title .elementor-heading-title a {
  font-size: 34px !important;
  line-height: 1.18 !important;
}
.sg-blog-page .sg-post-card-title {
  font-size: 24px !important;
  min-height: 3.6em !important;
}
.sg-blog-page .sg-post-card-title .elementor-heading-title,
.sg-blog-page .sg-post-card-title .elementor-heading-title a {
  font-size: 24px !important;
  line-height: 1.2 !important;
}
.sg-blog-page :is(.sg-featured-card-excerpt, .sg-post-card-excerpt),
.sg-blog-page :is(.sg-featured-card-excerpt, .sg-post-card-excerpt) p {
  margin: 0 !important;
  color: var(--sg-muted) !important;
  font-family: var(--sg-sans) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  text-align: left !important;
}
.sg-blog-page :is(.sg-featured-card-excerpt, .sg-post-card-excerpt) {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  max-height: 4.8em !important;
  overflow: hidden !important;
}
.sg-blog-page .sg-post-card-excerpt { min-height: 4.8em !important; }
.sg-blog-page :is(.sg-card-category, .sg-card-meta),
.sg-blog-page :is(.sg-card-category, .sg-card-meta) :is(a, span, li) {
  font-family: var(--sg-sans) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
}
.sg-blog-page .sg-card-category,
.sg-blog-page .sg-card-category :is(a, span, li) { color: var(--sg-action) !important; }
.sg-blog-page .sg-card-meta,
.sg-blog-page .sg-card-meta :is(a, span, li) { color: var(--sg-muted) !important; }
.sg-blog-page .sg-post-card-body .sg-card-meta { margin-top: auto !important; padding-top: 4px !important; }
.sg-blog-page :is(.sg-card-category, .sg-card-meta) .elementor-icon-list-icon :is(i, svg) {
  font-size: 13px !important;
  width: 13px !important;
  height: 13px !important;
  color: var(--sg-action) !important;
  fill: var(--sg-action) !important;
}
.sg-blog-page .sg-card-link .elementor-button-wrapper { display: flex !important; justify-content: flex-start !important; }

/* 10. Filtros: compactos, con estado seleccionado visible. */
.sg-blog-page .sg-blog-tools-row {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 22px !important;
  margin-bottom: 32px !important;
}
.sg-blog-page .sg-blog-tools-row > .e-con-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 22px !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}
.sg-blog-page .sg-blog-tools-row .elementor-widget-taxonomy-filter { width: 100% !important; }
.sg-blog-page .e-filter {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.sg-blog-page .e-filter-item {
  min-height: 40px !important;
  margin: 0 !important;
  padding: 9px 13px !important;
  color: var(--sg-action) !important;
  background: #fff !important;
  border: 1px solid var(--sg-line) !important;
  border-radius: 8px !important;
  font: 400 14px/1.4 var(--sg-sans) !important;
  text-align: center !important;
  white-space: normal !important;
  box-shadow: none !important;
}
.sg-blog-page .e-filter-item:hover { border-color: var(--sg-action) !important; }
.sg-blog-page .e-filter-item[aria-pressed="true"] {
  color: #fff !important;
  background: var(--sg-action) !important;
  border-color: var(--sg-action) !important;
}

/* 11. Buscador: centrado y compatible con HTML y Search de Elementor. */
.sg-blog-page .sg-blog-search {
  width: 100% !important;
  max-width: 560px !important;
  margin: 0 auto !important;
  padding: 0px !important;
}
.sg-blog-page form.sg-blog-search,
.sg-blog-page .sg-blog-search :is(form, .elementor-search-form__container, .e-search-form) {
  display: flex !important;
  align-items: stretch !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0px !important;
  background: transparent !important;
  border: 0 !important;
  overflow: visible !important;
}
.sg-blog-page .sg-blog-search :is(label, .e-search-input-wrapper) { flex: 1 !important; min-width: 0 !important; margin: 0 !important; }
.sg-blog-page .sg-blog-search :is(input[type="search"], input[type="text"]) {
  flex: 1 !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 48px !important;
  margin: 0 !important;
  margin-left: -100px !important;
  padding: 12px 16px !important;
  color: var(--sg-text) !important;
  background: #fff !important;
  border: 1px solid #b8cbd3 !important;
  border-radius: 8px !important;
  font: 400 16px/1.4 var(--sg-sans) !important;
  box-shadow: none !important;
}
.sg-blog-page .sg-blog-search :is(button[type="submit"], input[type="submit"]) {
  position: static !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 100px !important;
  min-height: 48px !important;
  transform: translateX(-150px) !important;
  margin-left: 50px ;
  padding: 12px 20px !important;
  color: #fff !important;
  background: var(--sg-action) !important;
  border: 1px solid var(--sg-action) !important;
  border-radius: 8px !important;
  font: 600 15px/1.4 var(--sg-sans) !important;
  box-shadow: none !important;
}
.sg-blog-page .sg-blog-search :is(button[type="submit"], input[type="submit"]):hover { background: var(--sg-action-hover) !important; }
.sg-blog-page .sg-blog-search button :is(span, i, svg) { color: inherit !important; fill: currentColor !important; }

/* 12. Paginación: todos los números del mismo tamaño. */
.sg-blog-page .elementor-pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 36px 0 0 !important;
  padding: 0 !important;
  font-family: var(--sg-sans) !important;
}
.sg-blog-page .elementor-pagination .page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 9px 12px !important;
  color: var(--sg-action) !important;
  background: #fff !important;
  border: 1px solid var(--sg-line) !important;
  border-radius: 8px !important;
  font: 400 15px/1.4 var(--sg-sans) !important;
  text-decoration: none !important;
}
.sg-blog-page .elementor-pagination .page-numbers.current {
  color: #fff !important;
  background: var(--sg-action) !important;
  border-color: var(--sg-action) !important;
}

/* 13. FAQ existente, enlaces y accesibilidad. No crea preguntas nuevas. */
.sg-blog-page .sg-blog-faq-section :is(.elementor-tab-title, .e-n-accordion-item-title) {
  color: var(--sg-action) !important;
  font-family: var(--sg-sans) !important;
  font-size: 18px !important;
  line-height: 1.4 !important;
}
.sg-blog-page .sg-blog-faq-section :is(.elementor-tab-content, p) {
  color: var(--sg-text) !important;
  font-family: var(--sg-sans) !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
}
.sg-blog-page :is(a, button, input, summary):focus-visible {
  outline: 3px solid var(--sg-action) !important;
  outline-offset: 3px !important;
}
.sg-blog-page .sg-blog-articles-section { scroll-margin-top: 100px; }

/* 14. Tablet. */
@media (max-width: 1024px) {
  .sg-blog-page .sg-blog-main-loop .elementor-loop-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .sg-blog-page .sg-featured-card-body { padding: 26px !important; }
  .sg-blog-page .sg-featured-card-title .elementor-heading-title,
  .sg-blog-page .sg-featured-card-title .elementor-heading-title a { font-size: 30px !important; }
}

/* 15. Móvil: contenido completo y botones cómodos. */
@media (max-width: 767px) {
  .sg-blog-page :is(.sg-blog-hero, .sg-blog-featured-section,
    .sg-blog-articles-section, .sg-blog-faq-section, .sg-blog-cta-section) {
    padding: 44px 16px !important;
  }
  .sg-blog-page .sg-blog-hero { padding-top: 22px !important; padding-bottom: 24px !important; }
  .sg-blog-page .sg-blog-logo { max-width: 430px !important; margin-bottom: 22px !important; }
  .sg-blog-page .sg-blog-hero-copy h1 { font-size: 32px !important; }
  .sg-blog-page :is(.sg-blog-hero-copy, .sg-blog-section-heading, .sg-blog-section-heading-left) p,
  .sg-blog-page .sg-blog-hero-description { font-size: 16px !important; }
  .sg-blog-page .sg-blog-main-loop .elementor-loop-container {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-rows: auto !important;
    gap: 24px !important;
  }
  .sg-blog-page .sg-featured-card { grid-template-columns: minmax(0, 1fr) !important; }
  .sg-blog-page .sg-featured-card-media {
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
  }
  .sg-blog-page :is(.sg-featured-card-body, .sg-post-card-body) { padding: 24px 20px !important; }
  .sg-blog-page .sg-featured-card-title .elementor-heading-title,
  .sg-blog-page .sg-featured-card-title .elementor-heading-title a { font-size: 28px !important; }
  .sg-blog-page .sg-post-card-title,
  .sg-blog-page .sg-post-card-excerpt { min-height: 0 !important; }
  .sg-blog-page .sg-card-link .elementor-button-wrapper,
  .sg-blog-page .sg-card-link .elementor-button { width: 100% !important; }
  .sg-blog-page .e-filter-item { font-size: 13px !important; padding: 8px 10px !important; }
}
@media (max-width: 420px) {
  .sg-blog-page form.sg-blog-search,
  .sg-blog-page .sg-blog-search :is(form, .elementor-search-form__container, .e-search-form) { flex-wrap: wrap !important; }
  .sg-blog-page .sg-blog-search :is(button[type="submit"], input[type="submit"]) { width: 100% !important; }
}
@media (prefers-reduced-motion: reduce) {
  .sg-blog-page * { animation: none !important; transition: none !important; }
}

@media (max-width: 767px) {

  .sg-blog-page .sg-blog-search {
    max-width: 100% !important;
  }

  .sg-blog-page form.sg-blog-search,
  .sg-blog-page .sg-blog-search :is(
    form,
    .elementor-search-form__container,
    .e-search-form
  ) {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .sg-blog-page .sg-blog-search :is(
    label:not(.screen-reader-text):not(.elementor-screen-only),
    .e-search-input-wrapper
  ) {
    width: 100% !important;
    flex: none !important;
  }

  .sg-blog-page .sg-blog-search :is(
    input[type="search"],
    input[type="text"],
    button[type="submit"],
    input[type="submit"]
  ) {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    transform: none !important;
  }

  .sg-blog-page .sg-blog-search :is(
    button[type="submit"],
    input[type="submit"]
  ) {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }

}/* End custom CSS */