@import url("https://db.onlinewebfonts.com/c/d571b52b60b5617399ce8eab62bf3eb3");

@font-face {
    font-family: "Engravers Old English BT";
    src: url("https://db.onlinewebfonts.com/t/d571b52b60b5617399ce8eab62bf3eb3.eot");
    src: url("https://db.onlinewebfonts.com/t/d571b52b60b5617399ce8eab62bf3eb3.eot?#iefix") format("embedded-opentype"),
        url("https://db.onlinewebfonts.com/t/d571b52b60b5617399ce8eab62bf3eb3.woff2") format("woff2"),
        url("https://db.onlinewebfonts.com/t/d571b52b60b5617399ce8eab62bf3eb3.woff") format("woff"),
        url("https://db.onlinewebfonts.com/t/d571b52b60b5617399ce8eab62bf3eb3.ttf") format("truetype"),
        url("https://db.onlinewebfonts.com/t/d571b52b60b5617399ce8eab62bf3eb3.svg#Engravers Old English BT W03 Rg") format("svg");
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Playfair+Display:wght@400;700;900&family=UnifrakturMaguntia&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Times New Roman', Times, serif;
    background-color: #f8f8f8;
    line-height: 1.4;
    color: #333;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
    min-height: 100vh;
}

/* Header */
.header {
    padding: 30px 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    border-bottom: none;
    animation: slideDown 0.8s ease-out;
}

.date-left img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.header-top {
    text-align: center;
    font-size: 15px;
    letter-spacing: 10px;
    font-weight: 400;
    margin-bottom: 25px;
    color: #333;
    text-transform: uppercase;
    position: relative;
}

.header-top::before,
.header-top::after {
    content: '';
    position: absolute;
    top: 40%;
    width: 22%;
    height: 2px;
    background: #333;
}

.header-top::before {
    left: 0;
}

.header-top::after {
    right: 0;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    position: relative;
}

.header-main::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #333;
}

.date-left {
    position: relative;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.1;
    color: #333;
    min-width: 120px;
}

.date-left::after {
    content: '';
    position: absolute;
    right: 0;
    top: -40%;
    bottom: 10%;
    width: 2px;
    background: #333;
}

.number-right {
    position: relative;
    text-align: center;
    font-size: 29px;
    font-weight: bold;
    color: #333;
    min-width: 120px;
    padding-left: 20px;
}

.number-right::before {
    content: '';
    position: absolute;
    left: 0;
    top: -80%;
    bottom: -12%;
    width: 2px;
    background: #333;
}

.newspaper-title {
    font-family: "Engravers Old English BT", 'UnifrakturMaguntia', 'Cinzel', serif;
    font-size: 75px;
    color: #000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 3px;
    position: relative;
    transition: all 0.3s ease;
}

.newspaper-title:hover {
    transform: scale(1.02);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
}

.main-image-container {
    width: 100%;
    height: 40vh;
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.website-url {
    background: #000;
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: bold;
    margin-top: -10px;
}

/* Content Area */
.content {
    padding: 30px 40px;
    flex: 1;
}

/* Main Article Section */
.main-article {
    margin-bottom: 10px;
}

.main-headline {
    font-family: 'Times New Roman', Times, serif;
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    color: #333;
    width: 100%;
    margin-top: 20px;
}

.article-text {
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    text-align: left;
    color: #333;
    width: 100%;
    margin-top: 15px;
    line-height: 1.5;
}

.article-text-preguntas {
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    text-align: left;
    color: #333;
    width: 100%;
    margin-top: 15px;
    line-height: 1.5;
    font-weight: bold;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 12px;
    margin-top: 40px;
}

/* Carousel Section */
.carousel-section {
    margin: 40px 0;
    padding: 0;
}

.carousel-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.carousel-wrapper {
    flex: 1;
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
    flex-wrap: nowrap;
}

.carousel-item {
    background: #f8f8f8;
    border: 2px solid #333;
    border-radius: 15px;
    padding: 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    width: 95%;
}

.carousel-item:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.carousel-item h4 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    text-align: center;
}

.carousel-item p {
    font-family: 'Times New Roman', Times, serif;
    font-size: 12px;
    color: #666;
    line-height: 1.3;
    text-align: center;
}

.carousel-btn {
    background: #333;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: #555;
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* Imagen de portada */
.portada-image-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.portada-image {
    width: 765px;
    height: 510px;
    object-fit: cover;
    display: block;
}

.carousel-item-image {
    width: 100%;
    height: 130px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 10px;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-item-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-shrink: 0;
    width: calc((100% - 40px) / 3);
}

.carousel-item-link:hover .carousel-item {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Instagram Section */
.instagram-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    padding: 20px 0;
}

.instagram-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.instagram-link:hover {
    transform: scale(1.1);
}

.instagram-icon {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.instagram-link:hover .instagram-icon {
    transform: rotate(5deg);
}

.instagram-text {
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Estilos para el botÃ³n de volver al inicio */
.back-to-home-container {
    display: flex;
    justify-content: center;
    margin: 40px 0 20px;
}

.back-to-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #333;
    color: white;
    border: 2px solid #333;
    padding: 12px 25px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.back-to-home-btn:hover {
    background: white;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.back-to-home-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.back-to-home-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.back-to-home-btn:hover i {
    transform: translateX(-3px);
}

.article-signature {
            text-align: right;
            font-weight: bold;
            margin-top: 20px;
            font-size: 16px;
        }

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 889px) {
    .date-left::after,
    .number-right::before,
    .header-top::before,
    .header-top::after {
        display: none;
    }

    .newspaper-title {
        font-size: 48px;
    }

    .carousel-container {
        gap: 10px;
    }

    .carousel-btn {
        display: flex;
    }
}

@media (max-width: 720px) {
    .carousel-item-link {
        width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 600px) {
    .carousel-item-link {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        margin: 0;
        box-shadow: none;
    }

    .header {
        padding: 20px;
    }

    .content {
        padding: 20px;
    }

    .header-top::before,
    .header-top::after {
        width: 120px;
    }

    .header-main {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .newspaper-title {
        font-size: 48px;
    }

    .portada-image {
        width: 100%;
        height: auto;
    }

    .carousel-wrapper {
        overflow: hidden;
    }

    .carousel-item {
        padding: 15px;
    }

    .carousel-item h4 {
        font-size: 15px;
    }

    .carousel-item p {
        font-size: 12px;
    }

    .carousel-btn {
        display: flex;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .carousel-container {
        gap: 10px;
    }

    .back-to-home-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .instagram-icon {
        width: 50px;
        height: 50px;
    }

    .instagram-text {
        font-size: 14px;
    }

    .instagram-section {
        margin: 30px 0;
        padding: 15px 0;
    }
}

@media (max-width: 450px) {
    .newspaper-title-section {
        font-size: 34px;
    }

    .carousel-item {
        padding: 15px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

/* Print Styles */
@media print {
    .container {
        box-shadow: none;
    }

    .website-url {
        background: #fff;
        color: #000;
        border: 1px solid #000;
    }
}


/* ==========================================
   SECCIÓN DE CONTACTO - FORMULARIO
   ========================================== */

.contact-section {
    margin: 40px 0 30px;
    padding: 30px;
    background: #f8f8f8;
    border: 2px solid #333;
    border-radius: 8px;
}

.contact-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    color: #333;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.contact-subtitle {
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    font-family: 'Times New Roman', Times, serif;
    padding: 12px 15px;
    border: 2px solid #333;
    background: white;
    font-size: 15px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #555;
    box-shadow: 0 0 8px rgba(51, 51, 51, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit-contact {
    width: 100%;
    background: #333;
    color: white;
    padding: 14px;
    border: 2px solid #333;
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin-top: 10px;
}

.btn-submit-contact:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-submit-contact:active {
    transform: translateY(0);
}

.btn-submit-contact:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.mensaje-respuesta {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    display: none;
}

.mensaje-respuesta.exito {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
    display: block;
}

.mensaje-respuesta.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
    display: block;
}

/* ==========================================
   RESPONSIVE - FORMULARIO DE CONTACTO
   ========================================== */

/* Tablets */
@media (max-width: 768px) {
    .contact-section {
        padding: 25px 20px;
        margin: 30px 0 20px;
    }
    
    .contact-title {
        font-size: 22px;
        letter-spacing: 1.5px;
    }
    
    .contact-subtitle {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group textarea {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .btn-submit-contact {
        padding: 12px;
        font-size: 15px;
    }
}

/* Móviles */
@media (max-width: 480px) {
    .contact-section {
        padding: 20px 15px;
        margin: 20px 0 15px;
        border-radius: 6px;
    }
    
    .contact-title {
        font-size: 20px;
        letter-spacing: 1px;
        margin-bottom: 8px;
    }
    
    .contact-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .form-row {
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .form-group label {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group textarea {
        font-size: 14px;
        padding: 10px;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .btn-submit-contact {
        padding: 12px;
        font-size: 14px;
        letter-spacing: 0.8px;
    }
    
    .mensaje-respuesta {
        padding: 12px;
        font-size: 14px;
        margin-top: 15px;
    }
}

/* Móviles pequeños */
@media (max-width: 360px) {
    .contact-section {
        padding: 15px 10px;
    }
    
    .contact-title {
        font-size: 18px;
    }
    
    .contact-subtitle {
        font-size: 13px;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group textarea {
        font-size: 13px;
        padding: 8px;
    }
}