/* IMPORTACIÓN DE TIPOGRAFÍA */
@import url('https://googleapis.com');

/* ESTILOS GENERALES Y LIENZO LIMPIO */
body {
    font-family: 'Inter', sans-serif;
    background-color: #FAFAFA; /* Blanco humo muy suave para evitar fatiga */
    color: #171717;            /* Negro carbón suave */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* MENÚ DE NAVEGACIÓN SUPERIOR */
.nav-menu {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.nav-link {
    text-decoration: none;
    color: #737373;
    font-size: 14px;
    padding: 6px 16px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    background-color: #FFFFFF;
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: #171717;
    border-color: #A3A3A3;
    background-color: #F5F5F5;
}

/* ENCABEZADO FLOTANTE */
.header-minimal {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 40px 0;
    width: 100%;
    max-width: 800px;
}

.avatar-circle {
    width: 70px;
    height: 70px;
    background-color: #E5E5E5;
    color: #171717;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.main-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 6px 0;
    letter-spacing: 0.5px;
}

.subtitle {
    font-size: 14px;
    color: #737373;
    margin: 0;
}

/* CONTENEDOR GENERAL */
.content-container {
    width: 100%;
    max-width: 750px;
    padding: 0 20px;
    box-sizing: border-box;
}

/* BIENVENIDA */
.welcome-section {
    background-color: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #404040;
    margin-bottom: 40px;
}

/* SECCIONES Y TÍTULOS */
.section-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #171717;
    margin-bottom: 20px;
}

/* GRID DE CATEGORÍAS */
.categories-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.category-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    padding: 16px;
    text-decoration: none;
    color: #171717;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-item:hover {
    transform: translateY(-2px);
    border-color: #A3A3A3;
}

.category-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.category-name {
    font-size: 13px;
    font-weight: 600;
}

/* LAYOUT DE DOS COLUMNAS */
.two-column-layout {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.posts-list {
    flex: 2;
}

.posts-intro {
    font-size: 14px;
    color: #737373;
    margin-bottom: 20px;
}

/* ARTÍCULOS */
.post-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #F0F0F0;
    padding-bottom: 16px;
}

.post-meta {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.post-title {
    font-size: 15px;
    font-weight: 600;
    color: #1A365D; /* Azul sutil de enlaces */
    text-decoration: underline;
}

.post-date {
    font-size: 12px;
    color: #A3A3A3;
}

.post-description {
    font-size: 13px;
    color: #525252;
    margin: 6px 0 0 0;
}

.view-all-link {
    display: inline-block;
    font-size: 13px;
    color: #171717;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
}

/* CAJA DE SUSCRIPCIÓN */
.subscribe-card {
    flex: 1;
    background-color: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    height: fit-content;
}

.subscribe-card h3 {
    margin: 0 0 12px 0;
    font-size: 15px;
    font-weight: 700;
}

.mail-icon {
    font-size: 32px;
    margin-bottom: 16px;
    color: #A3A3A3;
}

.subscribe-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    font-size: 12px;
    box-sizing: border-box;
    text-align: center;
}

/* FRASE / RECUADRO INFERIOR */
.bottom-quote {
    background-color: #E5E5E5;
    border-radius: 12px;
    padding: 20px;
    font-size: 13px;
    text-align: center;
    line-height: 1.6;
    color: #404040;
    margin-bottom: 40px;
}

.bottom-quote a {
    color: #171717;
    text-decoration: underline;
}

/* REDES SOCIALES TRASSERAS */
.social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 50px;
    font-size: 13px;
    color: #737373;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    text-decoration: none;
    font-size: 18px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: opacity 0.2s;
}

.social-icons a:hover {
    opacity: 1;
}

/* RESPONSIVO (MÓVILES) */
@media (max-width: 650px) {
    .two-column-layout {
        flex-direction: column;
        gap: 30px;
    }
    .categories-grid {
        flex-direction: column;
        gap: 12px;
    }
}

css
/* ==========================================================================
   ESTILOS ESPECÍFICOS PARA LA PÁGINA "ACERCA DE"
   ========================================================================== */

/* DISEÑO DEL CONTENEDOR BIOGRÁFICO */
.about-layout {
    display: flex;
    gap: 40px;
    margin-top: 20px;
    margin-bottom: 50px;
    align-items: flex-start;
}

/* COLUMNA DE LA FOTO */
.photo-container {
    flex: 1;
    max-width: 280px;
    width: 100%;
}

.photo-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1; /* Mantiene la tarjeta perfectamente cuadrada */
    background-color: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-icon {
    font-size: 70px;
    filter: grayscale(100%);
    opacity: 0.3;
}

/* Si usas una imagen real en el futuro, este estilo la adaptará perfectamente */
.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 11px;
}

/* COLUMNA DEL TEXTO */
.bio-text {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bio-text p {
    font-size: 14px;
    line-height: 1.7;
    color: #404040;
    margin: 0;
}

.bio-text .lead-text {
    font-size: 16px;
    font-weight: 600;
    color: #171717;
    line-height: 1.5;
}

/* TARJETA INFERIOR DE CONTACTO */
.contact-card {
    background-color: #E5E5E5; /* Bloque gris de énfasis idéntico a las maquetas */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-bottom: 60px;
}

.contact-card h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 700;
    color: #171717;
}

.contact-card p {
    font-size: 14px;
    color: #404040;
    line-height: 1.6;
    max-width: 550px;
    margin: 0 auto 24px auto;
}

/* BOTONES DE REDES EN EL ACERCA DE */
.social-icons-box {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.social-btn {
    background-color: #FFFFFF;
    color: #171717;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border: 1px solid #D4D4D4;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.social-btn:hover {
    border-color: #A3A3A3;
    background-color: #F5F5F5;
    transform: translateY(-1px);
}

/* AJUSTES RESPONSIVOS (PANTALLAS MÓVILES) */
@media (max-width: 650px) {
    .about-layout {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .photo-container {
        max-width: 220px; /* Se achica un poco en móviles para no saturar */
    }
    
    .bio-text {
        text-align: center;
    }
}

/* ==========================================================================
   ESTILOS ESPECÍFICOS PARA LA PÁGINA "BLOG"
   ========================================================================== */

/* Reducción de margen para la cabecera del blog (le da un aire más directo de lectura) */
.blog-header {
    margin: 30px 0;
}

/* BARRA DE FILTRADO HORIZONTAL */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: #FFFFFF;
    color: #171717;
    border: 1px solid #E5E5E5;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px; /* Botones ovalados tipo pastilla, idénticos al boceto */
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: #A3A3A3;
    background-color: #F5F5F5;
}

.filter-btn.active {
    background-color: #E5E5E5;
    border-color: #171717;
    color: #171717;
}

/* FEED / MURO DE ARTÍCULOS */
.blog-feed {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 50px;
}

.feed-item {
    background-color: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Caja contenedora para el icono del post */
.feed-icon-box {
    width: 60px;
    height: 60px;
    background-color: #F5F5F5;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

/* Estructura interna de los textos del artículo */
.feed-content {
    display: flex;
    flex-direction: column;
}

.feed-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #737373;
    font-weight: 700;
    margin-bottom: 6px;
}

.feed-title {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.feed-title a {
    color: #171717;
    text-decoration: none;
    transition: color 0.1s ease;
}

.feed-title a:hover {
    color: #525252;
    text-decoration: underline;
}

.feed-date {
    font-size: 12px;
    color: #A3A3A3;
    margin-bottom: 12px;
}

.feed-excerpt {
    font-size: 13.5px;
    color: #404040;
    line-height: 1.6;
    margin: 0 0 14px 0;
}

.read-more-link {
    font-size: 13px;
    color: #171717;
    text-decoration: underline;
    font-weight: 600;
    width: fit-content;
}

/* ADAPTACIÓN MÓVIL PARA EL FEED */
@media (max-width: 600px) {
    .feed-item {
        flex-direction: column; /* Pone el icono arriba y el texto abajo si no hay espacio */
        gap: 16px;
        padding: 20px;
    }
    
    .feed-icon-box {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .feed-title {
        font-size: 16px;
    }
}
