/* ==========================================================
   Filmetal – Responsabilidad Social (rsocial.html) – sitio actual
   ========================================================== */
:root {
  --fm-verde: #36882e;
  --fm-azul: #043171;
  --fm-tinta: #1f2a24;
  --fm-gris: #66716a;
  --fm-borde: #e3e8e4;
  --fm-fondo: #f5f7f5;
}

.rs-page { padding-top: 70px; }
.rs-intro { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.rs-kicker { display: inline-block; font-family: "Montserrat", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fm-verde); margin-bottom: 10px; }
.rs-intro h2 { font-size: 32px; line-height: 1.25; margin-bottom: 16px; text-transform: none; color: var(--fm-tinta); }
.rs-intro p { font-size: 17px; color: var(--fm-gris); line-height: 1.7; }
.rs-empty { text-align: center; padding: 40px; background: var(--fm-fondo); border-radius: 10px; color: var(--fm-gris); }

.rs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.rs-grid.rs-grid-2 { grid-template-columns: 1fr 1fr; }
.rs-card { background: #fff; border: 1px solid var(--fm-borde); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.rs-card:hover { box-shadow: 0 14px 34px rgba(31, 42, 36, .12); transform: translateY(-3px); }
.rs-card-img { display: block; aspect-ratio: 3 / 2; background: var(--fm-fondo); overflow: hidden; }
.rs-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.rs-card:hover .rs-card-img img { transform: scale(1.04); }
.rs-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.rs-card-body time { font-size: 13px; color: var(--fm-verde); font-weight: 600; margin-bottom: 8px; }
.rs-card-body h3 { font-size: 21px; line-height: 1.3; text-transform: none; margin: 0 0 8px; }
.rs-card-body h3 a { color: var(--fm-tinta); }
.rs-card-body h3 a:hover { color: var(--fm-verde); }
.rs-card-body .rs-sub { font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 15px; color: var(--fm-azul); margin-bottom: 10px; }
.rs-card-body p { color: var(--fm-gris); line-height: 1.65; margin-bottom: 18px; }
.rs-more { margin-top: auto; font-weight: 700; color: var(--fm-verde); font-size: 14px; }
.rs-more:hover { color: var(--fm-azul); }

.rs-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
.rs-featured .rs-card-img { aspect-ratio: auto; min-height: 340px; }
.rs-featured .rs-card-body { padding: 36px; justify-content: center; }
.rs-featured .rs-card-body h3 { font-size: 28px; }
.rs-featured .rs-more { margin-top: 6px; }

/* Artículo */
.rs-article { padding-top: 50px; }
.rs-article article, .rs-breadcrumb { max-width: 820px; margin-left: auto; margin-right: auto; }
.rs-breadcrumb { margin-bottom: 24px; font-size: 14px; }
.rs-breadcrumb a { color: var(--fm-verde); font-weight: 600; }
.rs-article-head time { color: var(--fm-verde); font-weight: 600; font-size: 14px; }
.rs-article-head h1 { font-size: 38px; line-height: 1.2; text-transform: none; color: var(--fm-tinta); margin: 10px 0 12px; }
.rs-article-head .rs-sub { font-family: "Montserrat", sans-serif; font-size: 20px; font-weight: 600; color: var(--fm-azul); line-height: 1.4; margin-bottom: 28px; }
.rs-article-img { margin: 0 0 32px; }
.rs-article-img img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 10px; }
.rs-article-body p { font-size: 17px; line-height: 1.8; color: #39433d; margin-bottom: 1.2em; }
.rs-related { margin-top: 70px; padding-top: 40px; border-top: 1px solid var(--fm-borde); }
.rs-related h2 { font-size: 24px; text-transform: none; margin-bottom: 24px; }

@media (max-width: 991px) {
  .rs-grid { grid-template-columns: 1fr 1fr; }
  .rs-featured { grid-template-columns: 1fr; }
  .rs-featured .rs-card-img { min-height: 0; aspect-ratio: 3 / 2; }
}
@media (max-width: 767px) {
  .rs-intro h2 { font-size: 26px; }
  .rs-article-head h1 { font-size: 28px; }
  .rs-grid, .rs-grid.rs-grid-2 { grid-template-columns: 1fr; }
  .rs-featured .rs-card-body { padding: 24px; }
}
