/*
======================================
ESTILOS GENERALES
======================================
*/
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    /* Degradado de atardecer: de naranja a rosa */
    background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
    color: #333; /* Color de texto oscuro para que se lea bien */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/*
======================================
CONTENEDOR 1: TÍTULO
======================================
*/
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem 1rem;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header a {
    text-decoration: none;
    color: #444;
}

.header h1 {
    font-family: 'Georgia', serif;
    font-size: clamp(2rem, 8vw, 5rem);
    font-weight: 700;
    margin: 0;
    color: #444;
}

/*
======================================
CONTENEDOR 2: ENTRADAS DEL BLOG
======================================
*/
.main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    max-width: 800px;
    margin: 2rem auto;
}

.blog-post {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.post-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.post-type-circle {
    width: 60px;
    height: 60px;
    /* Degradado de círculo: de amarillo a naranja */
    background: linear-gradient(45deg, #fceabb 0%, #f8b500 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.post-type {
    font-size: 0.8rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.post-header h2 {
    font-family: 'Georgia', serif;
    font-size: 1.5rem;
    margin: 0;
    color: #555;
    word-break: break-word;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.post-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.post-content .quote {
    font-style: italic;
    font-size: 1.2rem;
    text-align: center;
    padding: 1rem;
    border-left: 5px solid #ff7e5f;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.conversation-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.conversation-table td {
    border: 1px solid #ddd;
    padding: 0.8rem;
    vertical-align: top;
}

.conversation-table .interlocutor {
    font-weight: bold;
    width: 25%;
    background-color: #f9f9f9;
}

/*
======================================
CONTENEDOR 3: PIE DE PÁGINA
======================================
*/
.footer {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 1.5rem 1rem;
    text-align: center;
    margin-top: auto;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-nav a {
    text-decoration: none;
}

.nav-circle {
    width: 50px;
    height: 50px;
    background: #ff7e5f;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.nav-circle:hover {
    background: #feb47b;
    transform: scale(1.1);
}

.arrow-symbol {
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
}

.footer p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}
