/* Radio Regeneración — capa compartida para las páginas de Noticias y usuarios.
   Los tokens, fuentes, header y footer se heredan de assets/css/styles.css.
   No afecta al reproductor principal porque todas las reglas están aisladas. */
.rf-page {
  background: var(--cream);
  padding-bottom: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
}
.rf-page .site-header {flex-shrink: 0}
.rf-page .links [aria-current="page"] {color: var(--wine); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 8px}
.rf-page .header-pill {display: inline-flex; align-items: center; gap: 9px; color: var(--wine)}
.rf-page .rf-access-link:hover {background: var(--wine); border-color: var(--wine); color: white}
.rf-page .rf-main {flex: 1 0 auto; width: 100%}
.rf-page .rf-site-footer {background: #fff; margin-top: 45px}
.rf-page .foot {padding: 26px 0}
.rf-page a:focus-visible,.rf-page button:focus-visible,.rf-page input:focus-visible,.rf-page textarea:focus-visible,.rf-page select:focus-visible {outline: 3px solid var(--gold); outline-offset: 3px}
.rf-container {width: min(1160px, calc(100% - 48px)); margin-inline: auto; padding: 0 0 45px}
.rf-hero {padding: 70px 0 34px; display:flex; align-items:flex-end; justify-content:space-between; gap:30px}
.rf-hero-content {max-width:790px}
.rf-eyebrow {color:var(--red); font-weight:800; font-size:11px; letter-spacing:2px; text-transform:uppercase}
.rf-hero h1,.rf-detail h1 {font: 800 clamp(34px, 5vw, 58px)/1.08 Outfit, Arial, sans-serif; letter-spacing: -1.8px; margin: 12px 0 15px; color: var(--ink)}
.rf-hero h1 .heading-period,.rf-detail h1 .heading-period {color:var(--red)}
.rf-hero p {color:var(--muted); line-height:1.75; font-size:15px; max-width:690px; margin:0}
.rf-chip {flex-shrink:0; border:1px solid #e6d9d9; color:var(--wine); border-radius:100px; padding:11px 15px; font-size:10px; letter-spacing:1.2px; font-weight:800; background:#fff; text-transform:uppercase}
.rf-grid {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px}
/* Las tarjetas de noticias son las mismas que en index.html */
.rf-grid .news-card {display:flex; flex-direction:column; min-width:0; box-shadow:0 8px 24px rgba(54, 20, 38, .035); transition:transform .2s,box-shadow .2s}
.rf-grid .news-card:hover {transform:translateY(-3px);box-shadow:0 13px 30px rgba(54,20,38,.1)}
.rf-grid .news-visual {height:190px}
.rf-grid .news-copy {flex:1; display:flex; flex-direction:column}
.rf-grid .news-copy p {min-height:0; flex:1}
.rf-grid .news-date {margin-top:16px}
.news-visual .news-image {position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
.news-visual .news-number {z-index:2; position:relative; color:white; opacity:1; text-shadow:0 1px 6px #0009}
.news-title-link {color:inherit; text-decoration:none}
.news-title-link:hover {color:var(--wine); text-decoration:underline}
.rf-read-link {display:inline-flex; align-items:center; gap:8px; color:var(--wine); font-size:12px; font-weight:800; margin-top:14px}
.rf-read-link:hover {text-decoration:underline}
.rf-empty {grid-column: 1 / -1; border:1px solid #ece3df; border-radius:15px; background:#fff; padding:36px 32px; display:flex; align-items:center; gap:20px; text-align:left; min-height:170px}
.rf-empty-icon {flex-shrink:0; width:68px; height:68px; display:grid; place-items:center; border-radius:16px; background:#f4e5e7; color:var(--wine); font:800 37px Outfit}
.rf-empty h3 {font:800 22px Outfit; margin:0 0 7px}
.rf-empty p {color:var(--muted); margin:0; line-height:1.65; font-size:14px}
.rf-state {color:var(--muted); font-size:13px; margin:12px 0 20px; min-height:0}
.rf-state:empty,.rf-state[hidden] {display:none}
.rf-error {color:#a71e34!important}
.rf-two {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; align-items:start}
.rf-box {background:#fff; border:1px solid #ece3df; border-radius:14px; padding:28px; box-shadow:0 6px 18px rgba(70,35,42,.035); min-width:0}
.rf-box h2 {font:800 25px/1.2 Outfit,Arial,sans-serif; letter-spacing:-.5px; margin:0 0 21px}
.rf-box h3 {font:800 19px/1.2 Outfit,Arial,sans-serif; margin:0 0 12px}
.rf-card-head {display:flex; align-items:center; gap:14px; border-bottom:1px solid var(--line); padding-bottom:18px; margin-bottom:23px}
.rf-card-head h2 {margin:0 0 4px}
.rf-card-head p {margin:0; font-size:13px; color:var(--muted)}
.rf-card-icon {width:44px; height:44px; border-radius:12px; background:#f4e6e9; color:var(--wine); display:grid; place-items:center; font-size:22px; flex-shrink:0}
.rf-form {display:grid; gap:16px}
.rf-form label {display:grid; gap:8px; font-size:13px; font-weight:800; color:var(--ink)}
.rf-form input,.rf-form textarea,.rf-form select {width:100%; min-width:0; border:1px solid #d9ced0; border-radius:9px; color:var(--ink); background:#fff; padding:12px 14px; font:500 14px 'DM Sans',Arial,sans-serif; transition:border-color .18s}
.rf-form input:focus,.rf-form textarea:focus,.rf-form select:focus {border-color:var(--wine)}
.rf-form textarea {min-height:180px; resize:vertical; line-height:1.6}
.rf-form input[type=file] {padding:11px; background:#faf8f5}
.rf-form .rf-field-row {display:grid; grid-template-columns:1fr 1fr; gap:14px}
.rf-btn {border:1px solid var(--wine); border-radius:9px; background:var(--wine); color:white; padding:12px 17px; font-weight:800; font-size:13px; text-decoration:none; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; gap:8px; transition:background .18s,transform .18s}
.rf-btn:hover:not(:disabled) {background:#84213d; transform:translateY(-1px)}
.rf-btn:disabled {opacity:.55;cursor:not-allowed}
.rf-btn-secondary {background:#fff; color:var(--wine); border-color:#ead6da}
.rf-btn-secondary:hover:not(:disabled) {background:#f9eef0}
.rf-btn-google {background:#fff; color:var(--ink); border:1px solid #ded7d5}
.rf-btn-google:hover:not(:disabled) {background:#f7f4f2}
.rf-google-g {font-weight:900; font-size:17px; color:#4285f4}
.rf-inline-link {border:0; background:transparent; color:var(--wine); padding:7px 0; cursor:pointer; font-weight:800; font-size:13px; text-decoration:underline; text-underline-offset:3px}
.rf-mini {font-size:13px; color:var(--muted); line-height:1.7}
.rf-divider {display:flex; align-items:center; gap:14px; margin:22px 0 18px; color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:1.2px; font-weight:800}
.rf-divider::before,.rf-divider::after {content:'';height:1px;background:var(--line);flex:1}
.rf-info {margin:20px 0 0; padding:14px 17px; border-radius:9px; background:#faf3ed; color:#685357; border-left:3px solid var(--gold); font-size:13px; line-height:1.7}
.rf-account-details {background:#faf8f5; padding:17px; border-radius:10px; overflow-wrap:anywhere}
.rf-account-details p {margin:0}
.rf-admin {display:grid; grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr); gap:22px; align-items:start}
.rf-list {padding:0; list-style:none; margin:0; display:grid; gap:0}
.rf-list li {display:flex; justify-content:space-between; align-items:center; gap:14px; border-bottom:1px solid var(--line); padding:14px 0; font-size:13px}
.rf-actions {display:flex; gap:7px; flex-shrink:0}
.rf-list button {border-radius:7px; border:1px solid #ddcdd2; background:#fff; padding:7px 12px; cursor:pointer; font-weight:700; color:var(--wine)}
.rf-list button:hover {background:#faf1f3}
.rf-list .rf-danger {color:#ad2537; border-color:#edc8cf}
.rf-preview {display:block; width:100%; max-width:250px; max-height:180px; object-fit:cover; border-radius:10px; margin-top:12px}
.rf-preview:not([src]),.rf-preview[src=""] {display:none}
.rf-detail {max-width:860px; margin:0 auto 25px; border:1px solid #ece3df; background:#fff; padding:clamp(22px,5vw,56px); border-radius:16px; box-shadow:0 10px 28px rgba(54,20,38,.035)}
.rf-detail h1 {margin:15px 0 18px; font-size:clamp(32px, 4.5vw, 52px)}
.rf-detail__summary {color:#756e71; font-size:clamp(16px,2.3vw,19px); line-height:1.65; margin:0 0 21px}
.rf-detail__image {width:100%; height:auto; max-height:460px; object-fit:cover; border-radius:10px; margin:10px 0 27px}
.rf-detail__body {white-space:pre-wrap; overflow-wrap:anywhere; font-size:16px; line-height:1.9}
.rf-back {display:inline-flex; align-items:center; gap:8px; padding:35px 0 20px; font-size:13px; font-weight:800; color:var(--wine)}
.rf-back:hover {text-decoration:underline}
.rf-wide-box {max-width:720px}
.rf-logout {margin-top:22px}
@media(max-width:950px){.rf-page .header-pill {display:none}.rf-grid {grid-template-columns:repeat(2,minmax(0,1fr))}.rf-admin {grid-template-columns:1fr}}
@media(max-width:680px){
 .rf-container {width:min(100% - 32px,1160px); padding-bottom:15px}
 .rf-hero {padding:40px 0 25px; flex-direction:column; align-items:flex-start; gap:14px}
 .rf-grid,.rf-two {grid-template-columns:1fr}
 .rf-page .links {gap:14px}
 .rf-box {padding:21px}
 .rf-empty {flex-direction:column; align-items:flex-start; padding:24px}
 .rf-grid .news-visual {height:175px}
 .rf-form .rf-field-row {grid-template-columns:1fr}
 .rf-list li {align-items:flex-start; flex-direction:column}
 .rf-site-footer {margin-top:30px}
}

/* Preservar el atributo hidden aunque haya contenedores con display:flex/grid */
.rf-page [hidden] {display:none !important}

/* Acceso y registro: mostrar un único formulario centrado por vista */
.rf-login-layout {display:grid; grid-template-columns:minmax(0,560px); justify-content:center}
.rf-login-layout > .rf-box {width:100%}
.rf-login-page .rf-state {max-width:560px; margin-inline:auto}
.rf-switch-view {margin:20px 0 0; border-top:1px solid var(--line); padding-top:18px; color:var(--muted); font-size:14px; text-align:center}
.rf-switch-view a {color:var(--wine); font-weight:800; text-underline-offset:3px}
.rf-switch-view a:hover {text-decoration-thickness:2px}
