/**
 * MurciaNoticias — capa de periódico serio
 * Broadsheet: reglas finas, serif de titulares, anuncios que no reservan hueco vacío.
 */

:root {
    --mn-brand: #1d4aa8;
    --mn-ink: #111111;
    --mn-muted: #5c5c5c;
    --mn-rule: #1a1a1a;
    --mn-rule-soft: #d6d6d6;
    --mn-paper: #ffffff;
    --mn-paper-alt: #f4f1ea;
    --mn-breaking: #9b1c1c;
    --mn-radius: 0px;
    --mn-shadow: none;
    --mn-font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
    --mn-font-ui: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html,
body {
    background-color: var(--mn-paper);
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    font-family: var(--mn-font-ui) !important;
    font-size: 16px;
    line-height: 1.6;
    color: var(--mn-ink);
    -webkit-font-smoothing: antialiased;
}

p {
    color: #222222;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.logo-text,
.home-masthead__title,
.news-featured h2,
.news-featured h3,
.caption h2,
.caption h3 {
    font-family: var(--mn-font-display) !important;
    color: var(--mn-ink);
    letter-spacing: -0.015em;
}

/* ─── Anuncios: no reservar hueco si están vacíos ─── */
.ad-slot {
    width: 100%;
    display: block;
    overflow: hidden;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    margin: 0;
}

.ad-slot:has(img),
.ad-slot:has(iframe),
.ad-slot:has(a),
.ad-slot.is-loaded {
    aspect-ratio: 1200 / 250 !important;
    min-height: 90px !important;
    margin: 16px 0;
}

@media (max-width: 767px) {
    .ad-slot:has(img),
    .ad-slot:has(iframe),
    .ad-slot:has(a),
    .ad-slot.is-loaded {
        aspect-ratio: 300 / 250 !important;
    }
}

/* ─── Top bar ─── */
.top-bar-wrap {
    background: var(--mn-brand);
}

.top-bar {
    padding: 6px 0;
    font-family: var(--mn-font-ui);
}

.top-bar .top-contact .list {
    font-size: 12px;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.top-bar .inline.text-right,
.top-bar__tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.top-bar #user-profile:empty {
    display: none !important;
}

.top-bar #user-profile {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.top-bar #user-profile a {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.top-bar__search {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.top-bar select,
.top-bar #municipios {
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    max-width: 180px;
}

.top-bar select option {
    color: #111;
}

/* ─── Masthead de cabecera ─── */
header {
    background: var(--mn-paper);
}

header .container {
    padding-top: 0;
    padding-bottom: 0;
}

.mn-masthead {
    width: 100%;
    text-align: center;
    padding: 14px 0 10px;
    border-bottom: 3px solid var(--mn-rule);
}

header .aniversario {
    margin: 0 0 6px;
    font-family: var(--mn-font-ui);
    font-size: 11px;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mn-muted);
    opacity: 1;
}

.mn-navbar-header {
    width: 100%;
    float: none;
}

.mn-navbar-header__bar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

header .logo {
    float: none !important;
    width: auto !important;
    padding: 0 !important;
    max-width: 100%;
}

header .logo a,
header .logo a.navbar-brand {
    float: none !important;
    display: inline-block;
    font-family: var(--mn-font-display);
    font-size: clamp(28px, 5.2vw, 58px) !important;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 0.95 !important;
    color: var(--mn-ink) !important;
    white-space: nowrap;
    padding: 0 !important;
    max-width: 100%;
}

.logo .logo-text {
    display: block;
}

.logo .fecha {
    display: block;
    margin-top: 6px;
    font-family: var(--mn-font-ui);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.75;
}

header .navbar {
    background: transparent !important;
    border: 0;
    min-height: 0;
    margin-bottom: 0;
}

header .nav-wrapper {
    float: none;
    width: 100%;
}

header .nav-wrapper ul {
    border-top: none;
    border-bottom: 1px solid var(--mn-rule);
    text-align: center;
}

.navbar-nav {
    float: none !important;
    display: inline-block;
    margin: 0 auto;
}

.navbar-nav > li > a {
    font-family: var(--mn-font-ui);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 12px 14px;
}

.navbar-nav > li > a::after {
    bottom: 6px;
    height: 1px;
}

.dropdown-menu {
    border-radius: 0;
    border: 1px solid var(--mn-rule-soft);
    box-shadow: none;
}

/* ─── Migas ─── */
.breadcrumb {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 10px 0 0 !important;
    margin: 0 0 8px;
    font-family: var(--mn-font-ui);
    font-size: 13px;
    color: var(--mn-muted);
}

.breadcrumb > li + li:before {
    content: "/";
    padding: 0 8px;
    color: #999;
}

/* ─── Títulos de sección / categoría / páginas ─── */
.news .heading h1,
.news .heading h2,
.news .heading h1.sidebar-heading,
.news .heading h2.sidebar-heading,
.heading h1.sidebar-heading,
h1.sidebar-heading {
    background: transparent !important;
    color: var(--mn-ink) !important;
    font-family: var(--mn-font-display) !important;
    font-size: clamp(28px, 4vw, 44px) !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    text-transform: none !important;
    padding: 4px 0 12px !important;
    margin: 0 0 20px;
    border-bottom: 1px solid var(--mn-rule);
    border-radius: 0 !important;
    line-height: 1.15;
}

.news .heading h2 a {
    color: var(--mn-ink) !important;
}

.sidebar h2.sidebar-heading,
.sidebar .sidebar-heading,
.sidebar label.sidebar-heading,
.home-sidebar__title,
.home-sidebar__label {
    background: transparent !important;
    color: var(--mn-ink) !important;
    font-family: var(--mn-font-ui) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em;
    text-transform: uppercase !important;
    padding: 0 0 8px !important;
    margin: 0 0 14px;
    border-bottom: 1px solid var(--mn-rule);
    border-radius: 0 !important;
}

/* ─── Listados (categoría, autor, personaje, búsqueda) ─── */
.noticia {
    margin-bottom: 0;
    padding: 20px 0;
    border-bottom: 1px solid var(--mn-rule-soft);
}

.noticia:last-of-type {
    border-bottom: 0;
}

.thumbnail {
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    border: 0;
    padding: 0;
}

.thumbnail:hover {
    transform: none;
    box-shadow: none;
}

.thumbnail .photo,
.thumbnail .photog {
    border-radius: 0;
}

.thumbnail:hover .photo,
.thumbnail:hover .photog {
    transform: none;
}

.noticia .caption h2 {
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 700;
    line-height: 1.22;
    margin: 0 0 10px;
}

.noticia .caption h2 a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.list-byline,
.noticia .caption .thumbnail,
.noticia .caption .list-byline {
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    font-family: var(--mn-font-ui);
    font-size: 13px;
    color: var(--mn-muted);
    letter-spacing: 0.02em;
}

.noticia .caption .thumbnail:hover {
    transform: none;
    box-shadow: none;
    background: none;
}

.list-byline a,
.noticia .caption .thumbnail a {
    color: var(--mn-ink);
    font-weight: 700;
}

.pagination a {
    border-radius: 0;
    font-family: var(--mn-font-ui);
}

.pagination a:hover {
    transform: none;
}

/* ─── Artículo ─── */
.news-single-page .headnew {
    display: block;
    width: 100%;
    margin: 8px 0 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--mn-rule);
}

.news-single-page .reading-time {
    font-family: var(--mn-font-ui);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mn-brand);
    opacity: 1;
    margin: 0 0 8px;
}

.news-single-page .headnew h1 {
    font-family: var(--mn-font-display);
    font-size: clamp(28px, 4.2vw, 46px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
}

.headnew a .tag,
.headnew .tag {
    border-radius: 0;
    background: transparent;
    color: var(--mn-brand);
    border: 1px solid var(--mn-brand);
    font-family: var(--mn-font-ui);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 8px;
}

.headnew .tag.tag-keyword {
    background: transparent;
    color: var(--mn-muted);
    border-color: var(--mn-rule-soft);
}

.article-byline,
.news-single-page .headnew > .col-sm-5 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mn-font-ui);
    font-size: 14px;
    color: var(--mn-muted);
    padding-left: 0;
    padding-right: 0;
}

.news-single-page .mini.rounded {
    border-radius: 0;
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.news-single-page .subtitle {
    border-radius: 0;
    background: transparent;
    border: 0;
    border-left: 3px solid var(--mn-rule);
    padding: 4px 0 4px 16px;
    font-family: var(--mn-font-display);
    font-size: clamp(18px, 2vw, 22px);
    font-style: italic;
    font-weight: 500;
    line-height: 1.4;
    color: #333;
    margin: 0 0 24px;
}

.news-single-page .thumbnail .photo img,
.foto img,
.contenido img {
    border-radius: 0;
}

.contenido {
    font-family: var(--mn-font-display);
    font-size: 1.2rem;
    line-height: 1.75;
    color: #1a1a1a;
}

.news-single-page .contenido blockquote {
    border-radius: 0;
    background: transparent;
    border-left: 3px solid var(--mn-rule);
    font-family: var(--mn-font-display);
}

#puntuador {
    border-top: 1px solid var(--mn-rule-soft);
    padding-top: 24px;
    margin-top: 36px;
}

#puntuador h2 {
    font-family: var(--mn-font-display);
    font-size: 22px;
    margin-bottom: 16px;
}

#puntuador .gris {
    background: var(--mn-paper-alt);
    border: 1px solid #e6e1d6;
    border-radius: 0;
}

.single-page-content {
    font-family: var(--mn-font-display);
    font-size: 1.15rem;
    line-height: 1.75;
}

.single-page-content form {
    max-width: 560px;
}

.single-page-content img {
    border-radius: 0;
    max-width: 100%;
    height: auto;
}

/* ─── Home: tono de periódico ─── */
.news-featured .home-masthead {
    margin: 4px 0 18px;
    text-align: center;
}

.news-featured .home-masthead__title {
    padding: 0 !important;
    background: transparent !important;
    text-align: center !important;
    color: var(--mn-muted) !important;
    font-family: var(--mn-font-ui) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase;
    line-height: 1.4;
}

.breaking-bar {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border-top: 1px solid var(--mn-rule);
    border-bottom: 1px solid var(--mn-rule);
    padding: 10px 0;
    margin-bottom: 22px;
    gap: 14px;
}

.breaking-bar__badge {
    background: var(--mn-breaking);
    border-radius: 0;
    animation: none;
    font-family: var(--mn-font-ui);
}

.breaking-bar__title a {
    color: var(--mn-ink);
    font-family: var(--mn-font-display);
    white-space: normal;
}

.hero-overlay,
.hero-split,
.home-bento__item,
.hero-card,
.portadon,
.weather-widget,
.home-sidebar,
.bote-home-item {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.author-box {
    margin: 32px 0 8px;
    padding: 16px 0 0;
    border-top: 1px solid var(--mn-rule-soft);
}

.author-box__label {
    margin: 0 0 6px;
    font-family: var(--mn-font-ui);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mn-muted);
}

.author-box__text {
    margin: 0;
    font-family: var(--mn-font-ui);
    font-size: 14px;
    line-height: 1.55;
    color: #444;
}

.hero-overlay__content {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.55) 55%, transparent 100%);
}

.news-featured img,
.news-featured .item,
.news-featured .lazy-bg,
.item.first-col img {
    border-radius: 0;
}

.hero-overlay__content h2,
.hero-overlay__content h2 a,
.hero-split__body h2,
.hero-split__body h2 a {
    font-family: var(--mn-font-display);
}

/* ─── Sidebar ─── */
.sidebar .widget h4 {
    font-family: var(--mn-font-ui);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.thumbnail1 {
    border-radius: 0;
}

.thumbnail1 .photo,
.thumbnail1 img.photo {
    border-radius: 0;
}

.search-sidebar form,
.search-sidebar input,
.search-sidebar button,
.search-sidebar input[type="submit"] {
    border-radius: 0 !important;
}

.search-sidebar input[type="submit"] {
    background: var(--mn-ink) !important;
    color: #fff !important;
}

/* ─── Formularios ─── */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"],
select,
textarea {
    border-radius: 0;
}

.navbar-toggle {
    border-radius: 0;
}

/* ─── Pie ─── */
.footer-main > h2,
.footer-titulo {
    font-family: var(--mn-font-display);
    letter-spacing: -0.02em;
    text-transform: none;
    border-bottom: 1px solid var(--mn-rule);
}

.site-footer .footer-copy-bar {
    letter-spacing: 0.04em;
}

.scrollup i {
    border-radius: 0;
    box-shadow: none;
}

/* ─── Guía turística ─── */
.guia-card,
.guia-card-seccion {
    border-radius: 0;
    background: var(--mn-paper);
    border: 1px solid var(--mn-rule-soft);
}

.guia-card:hover {
    transform: none;
    box-shadow: none;
}

/* ─── Móvil ─── */
@media (max-width: 767px) {
    .mn-masthead {
        text-align: left;
        padding: 10px 0 8px;
    }

    .mn-navbar-header__bar {
        justify-content: space-between;
    }

    header .aniversario {
        text-align: left;
        letter-spacing: 0.1em;
        font-size: 10px;
        margin-bottom: 8px;
    }

    header .logo a,
    header .logo a.navbar-brand {
        font-size: clamp(22px, 7vw, 28px) !important;
        white-space: normal;
        text-align: left;
    }

    header .navbar-toggle {
        border: 1px solid #111;
        background: #fff;
        margin: 0;
    }

    .top-bar .inline.text-right,
    .top-bar__tools {
        justify-content: center;
    }

    .noticia .caption h2 {
        font-size: 20px;
        margin-top: 10px;
    }

    .news-single-page .headnew > .col-sm-7 {
        text-align: left !important;
        justify-content: flex-start;
        margin-top: 12px;
    }

    .contenido {
        font-size: 1.1rem;
    }
}

@media (min-width: 768px) {
    header .navbar-toggle {
        display: none;
    }
}
