 /* === CONFIGURACIÓN GLOBAL === */
@font-face {
    font-family: 'Pluto';
    src: url('Fonts/PlutoMedium.woff2') format('woff2'),
         url('Fonts/PlutoMedium.woff') format('woff'),
         url('Fonts/PlutoMedium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FF Tisa Pro';
    src: url('Fonts/ff tisa pro/7831e268-5989-4ac5-a414-efb5679b99e4.woff') format('woff'),
         url('Fonts/ff tisa pro/c99a9cbc-fb4c-4d2c-8344-a3502e88398f.ttf') format('truetype'),
         url('Fonts/ff tisa pro/1f87dcbc-ff92-483f-846c-60b483794215.eot');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-image: url("../img/");
    /* usa tu imagen */
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    /* SE ESTIRA EN ALTURA */
    /*background-attachment: fixed;
    /* efecto parallax */
    width: 100%;
}
a{
    text-decoration: none;
    color: inherit;
    color: black !important;
    font-family: 'Pluto', serif;
}
a:hover{
   color: #EE6A5A !important;
}
.sidebar a,
.report-title,
h1, h2, h3, h4, h5, h6 {
    font-family: 'Pluto', serif;
    font-weight: 500;
}
.report-author,
p, li, .content-section, .boletin-content, .article-meta-text {
    font-family: 'FF Tisa Pro', serif;
    font-weight: 400;
    color: #222;
}

.title-block h1 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.1;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
}

/* Notas editoriales */
.content-section {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #222;
    padding-bottom: 4rem;
}

/* Barra superior fija */
.top-bar {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    /* la barra no bloquea el scroll */
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    pointer-events: auto;
    /* los botones sí son clickeables */
}

.icon-btn:hover {
    background: #ffffff;
}

/* Menú lateral */
.sidebar {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100vh;
    background: #1f1f1f;
    color: #fff;
    padding: 20px;
    transition: left .35s ease;
    z-index: 2000;
}

.sidebar.open {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.sidebar-title {
    font-size: 1.1rem;
    margin: 0;
}

.sidebar-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
}

.sidebar a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin: 6px 0;
    font-size: 0.98rem;
}

.sidebar a:hover {
    text-decoration: underline;
}

.reportajes-linea{
  max-width: 520px;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}

.report-item{
  margin-bottom: 2.5rem;
}

.report-item a img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.report-text{
  padding-top: .9rem;
}

.reportajes-linea .report-title{
  font-weight: 800;
  line-height: 1.15;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
}

.reportajes-linea .report-divider{
  height: 2px;
  background: #111;
  margin: .7rem 0 .7rem;
}

.reportajes-linea .report-author{
  font-size: .95rem;
  color: #1a1a1a;
}

/* CONTENIDO DEL ARTÍCULO */
.content-section {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #222;
    padding: 2.5rem 1.5rem 4rem;
}

.article-header {
    max-width: 750px;
    margin: 0 auto 1.5rem;
    text-align: center;
    padding: 100px 1rem 0px;
}

/* círculo con ícono del especial */
.article-icon {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    /* fondo rojo/naranja */
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* aquí puedes poner un svg o una imagen */
.article-icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.article-title {
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.1;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

/* línea con nombre, sección y foto */
.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.article-meta-line {
    flex: 1;
    border-bottom: 1px solid #111;
}

.article-meta-text {
    min-width: 170px;
    text-align: center;
    font-size: 0.85rem;
}

.article-meta-text .autor {
    font-weight: 700;
}

.article-meta-text .seccion {
    font-style: italic;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #dfe7f2;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 576px) {
    .article-meta {
        flex-wrap: nowrap;
        gap: .5rem;
    }

    .article-meta-text {
        min-width: 150px;
        font-size: 0.8rem;
    }
}

.fullwidth-photo {
    width: 100%;
    margin: 0;
    /* espacio arriba y abajo */
}

.fullwidth-photo img {
    width: 100%;
    height: auto;
    /* mantiene proporción */
    display: block;
    object-fit: cover;
    /* recorta bien si asignas height fija */
    border-radius: 0;
    /* por si quieres que sea totalmente rectangular */
}

/* ==== SECCIONES ESTILO BOLETÍN ==== */
.boletin-section {
    max-width: 750px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.boletin-ribbon {
    width: fit-content;
    padding: 0.6rem 2rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    clip-path: polygon(0 0, 90% 0, 100% 100%, 0 100%);
    margin-bottom: 1rem;
}

/* Colores personalizados */
.ribbon-recomendacion {
    background: #c94126;
    /* rojo-anaranjado */
}

.ribbon-debesleer {
    background: #c3c324;
    /* verde/amarillo */
}

.boletin-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #222;
}

/* === CONFIGURACIÓN GLOBAL === */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-image: url("../img/bus_especial_2025_fondo.svg");
    /* usa tu imagen */
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    /* SE ESTIRA EN ALTURA */
    /*background-attachment: fixed;
    /* efecto parallax */
    width: 100%;
}

.title-block h1 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.1;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
}

/* Notas editoriales */
.content-section {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #222;
    padding-bottom: 4rem;
}

/* Botones top */
/* Barra superior fija */
.top-bar {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    /* la barra no bloquea el scroll */
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    pointer-events: auto;
    /* los botones sí son clickeables */
}

.icon-btn:hover {
    background: #ffffff;
}

/* Menú lateral */
.sidebar {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100vh;
    background: #2EBBC9;
    color: #fff;
    padding: 20px;
    transition: left .35s ease;
    z-index: 2000;
}

.sidebar.open {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.sidebar-title {
    font-size: 1.1rem;
    margin: 0;
}

.sidebar-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
}

.sidebar a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin: 6px 0;
    font-size: 0.98rem;
}

.sidebar a:hover {
    text-decoration: underline;
}

.grid-reportajes {
    max-width: 750px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.text-align-right {
    text-align: right;
}

.report-title {
    font-weight: bold;
    font-size: 1.2rem;
}

.report-divider {
    width: 60%;
    height: 1px;
    background: #000;
    margin: 8px 0;
}

.report-author {
    font-size: 0.9rem;
}

.photo-box {
    width: 120px;
    /* ajusta el tamaño que prefieras */
    height: 120px;
    background-size: cover;
    /* que llene el recuadro */
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    border: 1px solid #ccc;
}

/* IZQUIERDA: línea alineada a la derecha */
.report-row .col-md-4.text-end .report-divider {
    margin-left: auto;
    margin-right: 0;
}

/* DERECHA: línea alineada a la izquierda */
.report-row .col-md-4.text-start .report-divider {
    margin-left: 0;
    margin-right: auto;
}

.overlay-gradient {
    margin: 0 auto;
    max-width: 750px;
}

/* ================= LOADER A PANTALLA COMPLETA ================= */

#loader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease;
}

#loader.loader-hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-inner {
    text-align: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #333;
}

.spinner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #ccc;
    border-top-color: #000;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 12px auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* El contenido arranca oculto y aparece suave cuando termina el loader */
.page-content {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.page-content-visible {
    opacity: 1;
}

/* Fotos ocupan 100% en móvil/tablet y sólo se muestra una */
@media (max-width: 767.98px) {
    .head-index{
        position: relative;
        top: 0px;
    }
    .report-row .col-12.col-md-4.d-flex {
        justify-content: center;
    }

    .report-row .photo-box {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        /* opcional para mantener proporción */
    }
}

.pp-buttons-wrapper {
    text-align: center;
    margin-top: 40px;
}

.pp-btn-banner {
    display: inline-block;
    padding: 12px 30px;
    margin: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    position: relative;
    transform: skewX(-10deg);
    transition: all .2s ease-in-out;
    border-radius: 2px;
}

/* Deshacer el skew del texto adentro */
.pp-btn-banner span,
.pp-btn-banner {
    transform-origin: center;
    color: #fff !important;
}

/* COLORES */
.btn-red {
    background-color: #e84835;
}

.btn-green {
    background-color: #a7c539;
}

/* HOVER */
.pp-btn-banner:hover {
    filter: brightness(1.1);
    transform: skewX(-10deg) translateY(-2px);
    color: black !important;
}

.pp-btn-banner span {
    display: inline-block;
    transform: skewX(10deg);
}


/* Responsive */
@media(max-width: 600px){
    .pp-btn-banner {
        width: 90%;
        text-align: center;
    }
}

