/* DATA PUERTO RICO + sobre la plantilla RetNews: colores de la marca y piezas propias */
:root { --rojo: #d4231f; --marino: #0c0e25; --linea: #e7e7ec; }
body { font-family: 'Open Sans', system-ui, sans-serif; color: #222; background: #fff; }
.loading-container { display: none !important; }
a { color: inherit; }
a:hover { text-decoration: none; }

/* ---------- cabecera ---------- */
header.bg-light { background: #fff !important; }
.topbar { background: var(--marino); color: #cfd2ea; font-size: 12px; padding: 6px 0; }
.topbar a, .topbar .topbar-text { color: #cfd2ea; }
.topbar a:hover { color: #fff; }
.topbar-right { display: flex; justify-content: flex-end; align-items: center; gap: 18px; margin: 0; padding: 0; }
.topbar-right ul { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; }
.navigation-wrap { border-bottom: 1px solid var(--linea); }
.navbar .logo, .dpr_logo img { max-height: 70px; width: auto; }
.dpr_logo { display: block; padding: 8px 0; }
.navbar-nav .nav-link { font-family: Montserrat, sans-serif; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--marino); padding: 22px 12px; }
.navbar-nav .nav-item.active > .nav-link, .navbar-nav .nav-link:hover { color: var(--rojo); }
.navbar-nav .dropdown-menu { border-radius: 0; border: 0; border-top: 2px solid var(--rojo); box-shadow: 0 12px 28px rgba(12, 14, 37, .15); margin-top: 0; }
.navbar-nav .dropdown:hover > .dropdown-menu { display: block; }
.dpr_buscar { display: flex; border: 1px solid var(--linea); margin-left: 10px; }
.dpr_buscar input { border: 0; padding: 7px 10px; font-size: 13px; width: 150px; outline: 0; }
.dpr_buscar button { border: 0; background: var(--marino); color: #fff; padding: 0 12px; }
@media (max-width: 991px) {
  .navbar-nav .nav-link { padding: 11px 4px; }
  .navbar-nav .dropdown-menu { display: block; position: static; box-shadow: none; border: 0; padding-left: 14px; }
  .dpr_buscar { margin: 10px 0; }
  .dpr_buscar input { flex: 1; }
}

.dpr_cotiz_strip { background: var(--marino); }
.dpr_alertas { margin: 0; }

/* tira "última hora" */
.dpr_tira_sec { background: #f6f6f8 !important; padding: 14px 0; border-bottom: 1px solid var(--linea); }
.dpr_tira_tit { font: 700 11px Montserrat, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--rojo); margin-bottom: 8px; }
.dpr_tira { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; }
.dpr_tira .item { flex: 0 0 300px; }
.dpr_tira .card__post-list { display: flex; gap: 12px; align-items: flex-start; }
.dpr_tira .image-sm { flex: 0 0 84px; }
.dpr_tira .image-sm img { width: 84px; height: 64px; object-fit: cover; }
.dpr_tira h6 { font-size: 13.5px; line-height: 1.3; margin: 0; font-weight: 700; }

/* ---------- tarjetas ---------- */
.card__post__body img, .article__image img, .card__post-list img { width: 100%; object-fit: cover; }
.card__post__body > a > img { aspect-ratio: 3 / 2; display: block; }
.popular__news-header .card__post-carousel .card__post__body > a > img { aspect-ratio: 16 / 11; }
.popular__news-right .card__post__body > a > img { aspect-ratio: 16 / 9; }
.card__post__category a, .card__post__category .dpr_urgente { color: inherit; }
.dpr_urgente { background: var(--rojo); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; margin-left: 6px; text-transform: uppercase; }
.dpr_media { background: #fff; color: var(--marino); font-size: 10px; font-weight: 700; padding: 2px 7px; margin-left: 6px; text-transform: uppercase; }
.card__post-list .card__post__category { position: static; display: inline-block; margin-bottom: 6px; }
.card__post__title h3, .card__post__title h5 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.22; }
.card__post__title a { color: inherit; }
.dpr_grande .card__post__title h3 { font-size: 30px; }
.article__content h5 a { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; }
.article__image img { aspect-ratio: 3 / 2; }
@media (max-width: 767px) { .dpr_grande .card__post__title h3 { font-size: 23px; } }

.border_section { font-family: Montserrat, sans-serif; }
h1.border_section { font-size: 24px; }
.dpr_bloque { margin-top: 44px; }
.dpr_more { display: inline-block; border: 1px solid var(--marino); color: var(--marino); background: transparent; padding: 11px 28px; font: 700 12px Montserrat, sans-serif; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.dpr_more:hover { background: var(--marino); color: #fff; }

/* ---------- barra lateral ---------- */
.dpr_lateral .widget { margin-bottom: 34px; }
.dpr_lateral aside { margin-bottom: 30px; }
.dpr_red { display: flex; align-items: center; gap: 14px; padding: 12px 14px; margin-bottom: 10px; color: #fff; }
.dpr_red i { font-size: 24px; width: 28px; text-align: center; }
.dpr_red b { display: block; font-size: 15px; }
.dpr_red small { display: block; opacity: .8; }
.dpr_red_fb { background: #3b5998; } .dpr_red_ig { background: #c13584; }
.dpr_secciones ul { list-style: none; margin: 0; padding: 0; }
.dpr_secciones li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--linea); font-size: 14px; }
.dpr_secciones li span { color: #888; }

/* ---------- nota ---------- */
.wrap__article-detail-title h1 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; }
.dpr_cat_nota a { display: inline-block; background: var(--marino); color: #fff; font: 700 11px Montserrat, sans-serif; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; margin-bottom: 12px; }
.wrap__article-detail-content p { font-size: 17.5px; line-height: 1.8; }
.wrap__article-detail-content h5 { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; margin: 28px 0 10px; font-weight: 700; }
p.dpr_tags { color: var(--rojo); font-weight: 700; font-size: 14px !important; letter-spacing: .02em; }
.dpr_galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 20px; }
.dpr_galeria a { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #eee; }
.dpr_galeria img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 575px) { .dpr_galeria { grid-template-columns: repeat(2, 1fr); } }
.dpr_share { display: inline-block; border: 1px solid var(--marino); padding: 8px 16px; font-size: 13px; font-weight: 700; }
.total-views button.btn { cursor: pointer; }

/* ---------- pie ---------- */
.dpr_mini { display: flex; gap: 12px; margin-bottom: 14px; }
.dpr_mini img { width: 84px; height: 64px; object-fit: cover; flex: 0 0 84px; }
.dpr_mini a { color: #e8eaf8; font-weight: 600; font-size: 14px; line-height: 1.3; }
.dpr_mini small { display: block; color: #9a9cb5; margin-top: 3px; }
.dpr_pie_secs { columns: 2; }
.dpr_pie_secs a { color: #c9cde6; font-size: 14px; line-height: 2; }
.dpr_pie_about { padding: 26px 0 10px; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 18px; color: #c9cde6; }
.dpr_pie_about p a, .dpr_pie_about p { color: #c9cde6; }
.dpr_pie_about p a { text-decoration: underline; }
.dpr_logo_footer { background: #fff; padding: 8px 12px; display: inline-block; margin-bottom: 12px; }
.dpr_logo_footer img { max-height: 60px; }
.dpr_copyright { background: #070816; padding: 16px 0; margin-top: 10px; color: #9a9cb5; font-size: 13px; }
.dpr_f_menu a { color: #c9cde6; margin: 0 8px; }
.dpr_arriba { position: fixed; right: 18px; bottom: 76px; width: 42px; height: 42px; background: var(--marino); color: #fff; text-align: center; line-height: 42px; font-size: 22px; z-index: 40; }
.dpr_arriba:hover { color: #fff; background: var(--rojo); }
.dpr_vacio { padding: 20px 0; }

/* ajustes tras revisar en pantalla */
.dpr_logo { flex: 0 0 auto; }
.navbar .dpr_logo img.logo { height: 62px !important; width: auto !important; max-width: none; }
.dpr_cotiz_strip { padding: 0; }
.dpr_cotiz_strip .dpr_cotiz_fila { padding: 8px 0; }
.dpr_tira .item { flex-basis: 250px; }
html { scroll-behavior: auto !important; }

/* ---------- ajustes 2 ---------- */
.card__post__content.bg__post-cover .card__post__title h3,
.card__post__content.bg__post-cover .card__post__title h5,
.card__post__content.bg__post-cover .card__post__title a,
.card__post__content.bg__post-cover .card__post__author-info a,
.card__post__content.bg__post-cover .card__post__author-info span { color: #fff !important; }
.card__post__content.bg__post-cover .card__post__category a { color: #fff; }
.dpr_grande .card__post__title h3 { text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }

.dpr_lateral .border_section { display: block; font-size: 17px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 18px; padding-bottom: 10px; border-bottom: 3px solid var(--linea); position: relative; color: var(--marino); }
.dpr_lateral .border_section:after { content: ""; position: absolute; left: 0; bottom: -3px; width: 70px; height: 3px; background: var(--rojo); }
.dpr_lateral .widget { background: transparent; box-shadow: none; padding: 0; }

.popular__section-news { padding-top: 40px; }
.popular__news-header-carousel { padding-top: 26px; }
.popular__news-header-carousel .article__entry { margin-bottom: 14px; }

.navbar-nav .nav-link { padding: 22px 9px; font-size: 12px; letter-spacing: .02em; }
.dpr_buscar { flex: 0 0 auto; }
.dpr_buscar input { width: 120px; }
@media (min-width: 992px) and (max-width: 1250px) { .dpr_buscar input { width: 80px; } .navbar-nav .nav-link { padding: 22px 6px; font-size: 11px; } }
.wrap__article-detail-info li + li { margin-left: 8px; }
.wrap__article-detail-info .text-capitalize { margin-right: 6px; }
.total-views button.btn, .total-views button.btn span, .total-views button.btn i { color: #fff; background: var(--marino); border: 0; }
.wrap__article-detail-title h3 { font-family: 'Open Sans', sans-serif; }

/* ---------- ajustes 3: tipografía Inter, títulos sin "capitalize", menos texto sobre la foto ---------- */
body, p, li, span, a, input, button, .nav-link, .border_section, .dpr_more, .breadcrumbs, h1, h2, h3, h4, h5, h6,
.card__post__title h3, .card__post__title h5, .card__post__title h6, .article__content h5, .wrap__article-detail-title h1,
.wrap__article-detail-content h5, .wrap__article-detail-content p, .topbar { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif !important; }
h1, h2, h3, h4, h5, h6, .card__post__title a, .article__content h5 a, .card__post__list h5 a, .dpr_mini a { text-transform: none !important; }
.card__post__title h3, .card__post__title h5, .card__post__title h6, .article__content h5, .wrap__article-detail-title h1 { font-weight: 800; letter-spacing: -.018em; line-height: 1.18; }
.wrap__article-detail-title h1 { font-size: 38px; }
.wrap__article-detail-content h5 { font-weight: 800; font-size: 21px; }
.wrap__article-detail-content p { font-size: 17.5px; line-height: 1.75; color: #24263a; }
@media (max-width: 767px) { .wrap__article-detail-title h1 { font-size: 27px; } }

/* el texto sobre la foto ocupa menos: sin la línea de autor, degradé corto y título más chico */
.bg__post-cover .card__post__author-info { display: none; }
.card__post__content.bg__post-cover { padding: 50px 18px 14px !important; background: linear-gradient(to top, rgba(8, 10, 28, .88) 0%, rgba(8, 10, 28, .6) 55%, rgba(8, 10, 28, 0) 100%) !important; }
.card__post__content.bg__post-cover .card__post__category { margin-bottom: 6px; }
.dpr_grande .card__post__title h3 { font-size: 26px; max-width: 760px; }
.bg__post-cover .card__post__title h5 { font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dpr_grande .card__post__title h3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 767px) { .dpr_grande .card__post__title h3 { font-size: 20px; } }
/* todas las portadas son 1200x630: se muestran enteras, sin recortar el texto de las tarjetas */
.card__post__body > a > img, .popular__news-header .card__post-carousel .card__post__body > a > img, .popular__news-right .card__post__body > a > img, .article__image img { aspect-ratio: 1200 / 630 !important; }
.card__post__author-info, .card__post__author-info *, .article__content li, .article__content li *, .wrap__article-detail-info * { text-transform: none !important; }
