/* Estilo general */
body {
    margin: 0;
    font-family: 'Noto Serif JP', serif;
    background: url('art-1850155_1920.jpg') center/cover fixed no-repeat;
    color: #333;
    line-height: 1.8;
}
/* Header con imagen fija */
header {
    background: url('shodo-header.jpg') center/cover no-repeat;
    height: 30vh;
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
    header {
        font-size: 2rem;
        height: 25vh;
    }
}
/* Contenedor general */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    position: relative;
    z-index: 2;
}
nav {
    background-color: rgba(197, 184, 209, 0.9);
    position: sticky;
    top: 0;
    padding: 0.5rem 0;
    text-align: center;
    z-index: 3;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
nav a {
    color: #4a2c2a;
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 1.1rem;
}
@media (max-width: 768px) {
    nav a {
        margin: 0.3rem 0.5rem;
        font-size: 1rem;
    }
}
nav a:hover {
    color: #8576a9;
}
.article-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
@media (min-width: 768px) {
    .article-preview {
        flex-direction: row;
    }
}
.article-preview img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border: 3px solid #8576a9;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
@media (min-width: 768px) {
    .article-preview img {
        margin-right: 1.5rem;
        margin-bottom: 0;
    }
}
.article-preview:hover img {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.article-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.article-preview div {
    flex: 1;
}
.article-preview h3 {
    margin: 0;
    color: #8576a9;
    font-size: 2rem;
}
.article-preview p {
    margin: 0.5rem 0 1rem 0;
    font-size: 1.2rem;
}
.read-more {
    color: #8576a9;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
}
.read-more:hover {
    color: #4a2c2a;
    text-decoration: underline;
}
.centered-image {
    display: block;
    margin: 3rem auto;
    max-width: 100%;
    height: auto;
    border: 3px solid #8576a9;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.restricted-image {
    display: block;
    margin: 2rem auto;
    max-width: 400px;
    height: auto;
    border: 2px solid #8576a9;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
footer {
    text-align: center;
    background-color: #8576a9;
    color: #fff;
    padding: 1.5rem;
    margin-top: 2rem;
    font-size: 1.1rem;
}
