/* assets/css/pdf-style.css */

/* Import de fuentes desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Rozha+One&display=swap');

@page {
    margin: 15mm 12mm;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.5;
    font-size: 13px;
    margin: 0;
    padding: 0;
}

.pdf-header {
    text-align: center;
    padding-bottom: 5px;
    border-bottom: 2px solid #2C559E;
    margin-bottom: 15px;
}

.pdf-header h1 {
    font-family: 'Rozha One', serif;
    font-size: 26px;
    color: #2C559E;
    margin: 0;
    padding: 0;
}

.pdf-article {
    page-break-after: always;
    margin: 0 0 10px;
    padding: 0;
}

.pdf-article h2 {
    font-size: 18px;
    color: #2C559E;
    margin: 8px 0 4px;
    padding: 0;
    font-weight: 600;
}

.date {
    font-size: 11px;
    color: #777;
    margin: 2px 0 10px;
    padding: 0;
    font-style: italic;
}

/* Imagen destacada */
.featured-img {
    margin: 0 0 10px;
    text-align: center;
}
.featured-img img {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
}

/* Imágenes dentro del contenido */
.content img {
    max-width: 60%;
    height: auto;
    display: block;
    margin: 10px auto;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.content {
    margin: 0 0 15px;
    padding: 0;
}

/* Línea entre artículos */
hr {
    border: none;
    border-bottom: 1px solid #e6e6e6;
    margin: 15px 0;
}

/* Pie de página */
.pdf-footer {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    color: #777;
    margin-top: 20px;
    padding: 0;
}
.pdf-footer p {
    margin: 0;
    padding: 0;
}
