/* RSActividades */

.rs-act { padding: 7rem 0; background: var(--white); overflow: hidden; }
.rs-act__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--px-mobile); }
@media (min-width: 768px) { .rs-act__inner { padding: 0 2rem; } }

.rs-act__header { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .rs-act__header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.rs-act__title { font-size: 2.25rem; font-weight: 900; color: var(--analdex-navy); line-height: 1.1; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .rs-act__title { font-size: 3rem; } }
.rs-act__subtitle { color: var(--gray-400); font-size: 0.875rem; max-width: 28rem; line-height: 1.6; }
.rs-act__link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--analdex-navy); font-weight: 700; font-size: 0.875rem; border-bottom: 2px solid var(--analdex-yellow); padding-bottom: 2px; white-space: nowrap; align-self: flex-start; transition: opacity var(--transition-base); }
@media (min-width: 768px) { .rs-act__link { align-self: auto; } }
.rs-act__link:hover { opacity: 0.7; }

/* Filters */
.rs-act__filters { display: flex; gap: 0.5rem; margin-bottom: 2.5rem; }
.rs-act__filter-btn { padding: 0.5rem 1.25rem; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 700; background: var(--gray-100); color: var(--gray-500); transition: all var(--transition-base); cursor: pointer; }
.rs-act__filter-btn:hover { background: var(--gray-200); }
.rs-act__filter-btn.active { background: var(--analdex-navy); color: var(--white); box-shadow: 0 4px 12px rgba(0,0,0,0.10); }

/* Grid */
.rs-act__grid { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .rs-act__grid { grid-template-columns: 1fr 1fr; } }

/* Featured */
.rs-act__featured { position: relative; border-radius: var(--radius-3xl); overflow: hidden; min-height: 540px; cursor: pointer; box-shadow: 0 10px 30px -8px rgba(0,0,0,0.2); }
.rs-act__featured img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slower); }
.rs-act__featured:hover img { transform: scale(1.05); }
.rs-act__featured-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--analdex-navy), hsla(220,76%,20%,0.50), transparent); }
.rs-act__featured-badges { position: absolute; top: 1.25rem; left: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
.rs-act__badge { font-size: 0.625rem; font-weight: 900; padding: 0.25rem 0.75rem; border-radius: var(--radius-full); }
.rs-act__badge--evento { background: var(--analdex-yellow); color: var(--analdex-navy); }
.rs-act__badge--comite { background: rgba(255,255,255,0.20); color: var(--white); }
.rs-act__badge--seminario { background: var(--blue-500); color: var(--white); }
.rs-act__badge--mision { background: var(--emerald-500); color: var(--white); }
.rs-act__badge-proximo { background: rgba(74,222,128,0.20); border: 1px solid rgba(74,222,128,0.40); color: #86efac; font-size: 0.625rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: var(--radius-full); display: flex; align-items: center; gap: 0.25rem; }
.rs-act__badge-realizado { background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.20); color: rgba(255,255,255,0.60); font-size: 0.625rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: var(--radius-full); }
.rs-act__featured-date { position: absolute; top: 1.25rem; right: 1.25rem; background: var(--white); border-radius: var(--radius-2xl); padding: 0.75rem; text-align: center; min-width: 60px; box-shadow: 0 4px 12px rgba(0,0,0,0.10); }
.rs-act__featured-date-day { font-size: 1.5rem; font-weight: 900; color: var(--analdex-navy); line-height: 1; }
.rs-act__featured-date-month { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; color: var(--gray-500); margin-top: 0.125rem; }
.rs-act__featured-date-year { font-size: 0.5625rem; color: var(--gray-400); }
.rs-act__featured-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem; }
.rs-act__featured-location { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.50); font-size: 0.75rem; margin-bottom: 0.75rem; }
.rs-act__featured-title { font-size: 1.5rem; font-weight: 900; color: var(--white); line-height: 1.2; margin-bottom: 0.75rem; transition: color var(--transition-base); }
@media (min-width: 768px) { .rs-act__featured-title { font-size: 1.875rem; } }
.rs-act__featured:hover .rs-act__featured-title { color: var(--analdex-yellow); }
.rs-act__featured-desc { color: rgba(255,255,255,0.60); font-size: 0.875rem; line-height: 1.6; margin-bottom: 1.5rem; max-width: 32rem; }
.rs-act__btn-yellow { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--analdex-yellow); color: var(--analdex-navy); font-weight: 700; font-size: 0.75rem; padding: 0.75rem 1.5rem; border-radius: var(--radius-full); transition: background var(--transition-base); box-shadow: 0 4px 12px rgba(0,0,0,0.10); }
.rs-act__btn-yellow:hover { background: hsla(45,100%,50%,0.90); }

/* Side list */
.rs-act__side { display: flex; flex-direction: column; gap: 0.75rem; min-height: 540px; }
.rs-act__card { display: flex; gap: 0; background: var(--gray-50); border-radius: var(--radius-2xl); overflow: hidden; border: 1px solid var(--gray-100); flex: 1; transition: all var(--transition-base); text-decoration: none; }
.rs-act__card:hover { background: var(--white); border-color: hsla(220,76%,20%,0.15); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.rs-act__card-img { position: relative; width: 5rem; flex-shrink: 0; overflow: hidden; }
.rs-act__card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.rs-act__card:hover .rs-act__card-img img { transform: scale(1.10); }
.rs-act__card-img-overlay { position: absolute; inset: 0; background: hsla(220,76%,20%,0.25); }
.rs-act__card-img-date { position: absolute; bottom: 0.5rem; left: 0; right: 0; display: flex; justify-content: center; }
.rs-act__card-date-pill { background: rgba(255,255,255,0.95); border-radius: var(--radius-md); padding: 0.125rem 0.375rem; text-align: center; box-shadow: 0 2px 4px rgba(0,0,0,0.10); }
.rs-act__card-date-pill-day { font-size: 0.875rem; font-weight: 900; color: var(--analdex-navy); line-height: 1; }
.rs-act__card-date-pill-month { font-size: 0.5rem; font-weight: 700; text-transform: uppercase; color: var(--gray-500); }
.rs-act__card-body { padding: 1rem; display: flex; flex-direction: column; justify-content: center; flex: 1; min-width: 0; }
.rs-act__card-tags { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.rs-act__card-tipo { font-size: 0.625rem; font-weight: 900; padding: 0.25rem 0.625rem; border-radius: var(--radius-full); }
.rs-act__card-status { font-size: 0.75rem; font-weight: 600; }
.rs-act__card-status--proximo { color: var(--green-600); font-weight: 700; display: flex; align-items: center; gap: 0.25rem; }
.rs-act__card-status--realizado { color: var(--gray-400); }
.rs-act__card-title { font-weight: 900; color: var(--analdex-navy); font-size: 0.875rem; line-height: 1.4; margin-bottom: 0.375rem; transition: color var(--transition-base); }
.rs-act__card:hover .rs-act__card-title { color: hsla(220,76%,20%,0.70); }
.rs-act__card-desc { color: var(--gray-400); font-size: 0.75rem; line-height: 1.5; margin-bottom: 0.5rem; }
.rs-act__card-location { display: flex; align-items: center; gap: 0.5rem; color: var(--gray-400); font-size: 0.75rem; }
.rs-act__card-arrow { display: flex; align-items: center; padding-right: 0.75rem; color: var(--gray-300); flex-shrink: 0; transition: color var(--transition-base); }
.rs-act__card:hover .rs-act__card-arrow { color: var(--analdex-yellow); }

.rs-act__empty { text-align: center; padding: 4rem 0; color: var(--gray-400); font-size: 0.875rem; }