:root {
  --page-bg: #ffffff;
  --text: #050505;
  --muted: #68717a;
  --hot: #f2545b;
  --button: #f2545b;
  --button-hover: #e6474e;
  --card-bg: #ffffff;
  --desktop-border: #eeeeee;
  --desktop-shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --content-width: 760px;
  --desktop-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

.page {
  width: 100%;
  margin: 0 auto;
}

.article-card {
  width: 100%;
  background: var(--card-bg);
}

.article-hero {
  width: 100%;
}

.article-image-wrap {
  margin: 0;
}

.article-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.article-header {
  padding: 18px 4px 0;
}

.article-title {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.meta-icon {
  font-size: 16px;
  line-height: 1;
}

.meta-hot {
  color: var(--hot);
  font-weight: 600;
}

.article-content-shell {
  padding: 0 4px 28px;
}

.article-text {
  position: relative;
  overflow: hidden;
  transition: max-height 460ms ease;
}

.article-text.is-collapsed {
  max-height: 468px;
}

.article-copy {
  padding-top: 18px;
  font-size: 20px;
  line-height: 1.52;
  letter-spacing: -0.02em;
}

.article-copy p {
  margin: 0 0 22px;
}

.article-copy strong {
  font-weight: 800;
}

.article-fade {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    #ffffff 78%
  );
}

.article-text.is-collapsed .article-fade {
  display: block;
}

.read-more-button {
  width: 100%;
  margin-top: 14px;
  border: 0;
  border-radius: 6px;
  padding: 16px 24px;
  background: var(--button);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  text-align: left;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.read-more-button:hover {
  background: var(--button-hover);
}

.read-more-button:active {
  transform: translateY(1px);
}

.read-more-button:focus-visible {
  outline: 3px solid rgba(242, 84, 91, 0.35);
  outline-offset: 3px;
}

.read-more-button.is-hidden {
  display: none;
}

/* Mobile: mantiene el look de la captura */
@media (max-width: 767px) {
  .page {
    max-width: 480px;
  }

  .article-card {
    padding: 0 4px;
  }

  .article-image {
    aspect-ratio: 456 / 359;
  }
}

/* Tablet: lectura vertical, pero más limpia y centrada */
@media (min-width: 768px) {
  body {
    background:
      radial-gradient(circle at top, rgba(242, 84, 91, 0.08), transparent 420px),
      #f5f5f5;
  }

  .page {
    max-width: 860px;
    padding: 36px 24px;
  }

  .article-card {
    overflow: hidden;
    border: 1px solid var(--desktop-border);
    border-radius: var(--radius);
    box-shadow: var(--desktop-shadow);
  }

  .article-header,
  .article-content-shell {
    width: min(100% - 64px, var(--content-width));
    margin-inline: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .article-header {
    padding-top: 28px;
  }

  .article-title {
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.05;
  }

  .article-meta {
    margin-top: 18px;
    font-size: 15px;
  }

  .article-content-shell {
    padding-bottom: 44px;
  }

  .article-copy {
    padding-top: 28px;
    font-size: 21px;
    line-height: 1.62;
  }

  .article-text.is-collapsed {
    max-height: 430px;
  }

  .read-more-button {
    max-width: 320px;
    text-align: center;
  }
}

/* Desktop: imagen y cabecera en dos columnas.
   La imagen ocupa siempre la misma altura que el bloque derecho. */
@media (min-width: 1024px) {
  .page {
    max-width: var(--desktop-width);
    padding: 48px 32px;
  }

  .article-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 1.50fr);
    align-items: stretch;
  }

  .article-image-wrap {
    position: relative;
    min-height: 360px;
    height: auto;
    margin: 0;
    overflow: hidden;
  }

  .article-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
  }

  .article-header {
    width: auto;
    margin: 0;
    padding: 54px 54px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .article-title {
    font-size: clamp(42px, 4.2vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.055em;
  }

  .article-meta {
    margin-top: 26px;
    font-size: 16px;
  }

  .article-content-shell {
    width: 90%;
    padding-top: 18px;
  }

  .article-copy {
    font-size: 21px;
    line-height: 1.72;
  }

  .article-text.is-collapsed {
    max-height: 350px;
  }

  .article-fade {
    height: 180px;
  }

  .read-more-button {
    margin-top: 20px;
  }
}

/* Desktop grande */
@media (min-width: 1280px) {
  .page {
    max-width: 1180px;
  }

  .article-hero {
    grid-template-columns: minmax(0, 1.18fr) minmax(400px, 1.50fr);
  }

  .article-header {
    padding: 64px;
  }

  .article-image-wrap {
    min-height: 400px;
  }

  .article-content-shell {
    width: min(90%);
  }
}