/* interiores.css - Euro Tech: blog, artículos y páginas legales */

/* ===== BLOG ===== */
body.blog .elementor-location-archive,
body.blog main .elementor {
  padding: 56px 20px 88px;
  max-width: 1180px;
  margin: 0 auto;
  box-sizing: border-box;
}

body.blog :is(main, .elementor-location-archive, .elementor-location-single) h1.elementor-heading-title {
  color: #0B1626;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  margin-bottom: 24px;
}

body.blog .elementor-posts-container {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  body.blog .elementor-posts-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

body.blog .elementor-post {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body.blog .elementor-post__thumbnail__link {
  margin: 0;
  width: 100%;
  display: block;
}

body.blog .elementor-post__thumbnail {
  padding: 20px !important;
  height: 240px;
  box-sizing: border-box;
}

body.blog .elementor-post__thumbnail img {
  transform: none !important;
  inset: auto;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  display: block;
}

body.blog .elementor-post__text {
  padding: 8px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

body.blog .elementor-post__meta-data {
  font-size: 15px;
  color: #33415A;
  margin-bottom: 8px;
}

body.blog .elementor-post__meta-data span::before {
  display: none;
}

body.blog .elementor-post__title {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.1;
  color: #0B1626;
  margin: 16px 0 8px;
}

body.blog .elementor-post__title a {
  color: #0B1626;
  text-decoration: none;
}

body.blog .elementor-post__excerpt {
  font-family: "Barlow", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: #33415A;
  margin: 0 0 12px;
}

body.blog .elementor-post-date {
  font-size: 15px;
  color: #33415A;
  margin-bottom: 12px;
  display: block;
}

body.blog .elementor-post-avatar,
body.blog .elementor-post-author {
  display: none;
}

body.blog .elementor-post__read-more {
  font-family: "Barlow", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #09529F;
  text-decoration: underline;
  display: inline-block;
  padding: 10px 0;
  min-height: 44px;
  margin-top: auto;
}

body.blog main a:focus-visible {
  outline: 3px solid #0B1626;
  outline-offset: 3px;
}

/* ===== ARTÍCULO SINGLE ===== */
body.single-post :is(main, .elementor-location-archive, .elementor-location-single) .elementor-widget-theme-post-content,
body.single-post :is(main, .elementor-location-archive, .elementor-location-single) .elementor-widget-theme-post-title {
  max-width: 760px;
  margin-inline: auto;
}

body.single-post :is(main, .elementor-location-archive, .elementor-location-single) h1.elementor-heading-title {
  color: #0B1626;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  margin-bottom: 24px;
}

body.single-post :is(main, .elementor-location-archive, .elementor-location-single) p {
  font-family: "Barlow", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: #33415A;
  margin: 1em 0;
}

body.single-post :is(main, .elementor-location-archive, .elementor-location-single) h2 {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.1;
  color: #0B1626;
  margin: 1.5em 0 0.5em;
}

body.single-post :is(main, .elementor-location-archive, .elementor-location-single) a {
  color: #09529F;
  text-decoration: underline;
}

body.single-post :is(main, .elementor-location-archive, .elementor-location-single) img {
  border-radius: 15px;
  display: block;
  max-width: 100%;
  height: auto;
}

body.single-post main a:focus-visible {
  outline: 3px solid #0B1626;
  outline-offset: 3px;
}

/* ===== PÁGINAS LEGALES 2142 Y 2740 ===== */
body.page-id-2142 main .page-content,
body.page-id-2740 main .page-content {
  max-width: 860px;
  margin: 0 auto !important;
  padding: 56px 20px 88px !important;
  box-sizing: border-box;
}

body.page-id-2142 main .elementor-container,
body.page-id-2740 main .elementor-container {
  display: block !important;
  max-width: none !important;
  min-height: 0 !important;
}

body.page-id-2142 main .elementor-container:has(h1),
body.page-id-2740 main .elementor-container:has(h1) {
  display: flex !important;
  flex-direction: column;
}

body.page-id-2142 main .elementor-column:has(h1),
body.page-id-2740 main .elementor-column:has(h1) {
  order: -1;
}

body.page-id-2142 main .elementor-spacer,
body.page-id-2740 main .elementor-spacer {
  display: none !important;
}

body.page-id-2142 main :is(p, li, span, div, strong),
body.page-id-2740 main :is(p, li, span, div, strong) {
  color: #33415A !important;
  text-align: left !important;
  font-family: "Barlow", sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

body.page-id-2142 main h1,
body.page-id-2740 main h1 {
  color: #0B1626 !important;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
}

body.page-id-2142 main a:focus-visible,
body.page-id-2740 main a:focus-visible {
  outline: 3px solid #0B1626;
  outline-offset: 3px;
}
