:root {
  --container: 1140px;
}

html,
body {
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.ec-container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Header logo */
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.custom-logo {
  height: 80px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  display: block;
}

/* Contenido de artículos */
.article-content {
  font-size: 17px;
  line-height: 1.85;
  color: #1f2937;
}

.article-content p {
  margin: 0 0 28px 0;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  font-weight: 700;
  margin: 32px 0 16px;
  line-height: 1.3;
}

.article-content a {
  color: #b91c1c;
  text-decoration: none;
}

.article-content a:hover {
  text-decoration: underline;
}

.article-content ul,
.article-content ol {
  margin: 0 0 28px 24px;
}

.article-content li {
  margin-bottom: 10px;
}

.article-content blockquote {
  border-left: 4px solid #dc2626;
  padding-left: 16px;
  margin: 28px 0;
  color: #4b5563;
  font-style: italic;
}

/* Hero slider */
.ec-hero-swiper {
  width: 100%;
  overflow: hidden;
}

.ec-hero-swiper .swiper-wrapper {
  display: flex;
}

.ec-hero-swiper .swiper-slide {
  width: 100% !important;
  flex-shrink: 0;
}

.ec-hero-swiper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Móvil */
@media (max-width: 767px) {
  .ec-container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .custom-logo {
    height: 58px;
    max-width: 250px;
  }

  .ec-hero-swiper .swiper-button-prev,
  .ec-hero-swiper .swiper-button-next {
    display: none !important;
  }
}
.ec-hero-swiper,
.ec-hero-swiper .swiper-wrapper,
.ec-hero-swiper .swiper-slide {
  height: 100%;
}