/* =============================================
   Lomas de Surco — Custom styles sobre Tailwind
   ============================================= */

/* Tipografía del cuerpo del artículo */
.prose-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #374151;
}

.prose-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #003F7D22;
}

.prose-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.prose-content p {
    margin-bottom: 1.4rem;
}

.prose-content ul,
.prose-content ol {
    margin-bottom: 1.4rem;
    padding-left: 1.5rem;
}

.prose-content li {
    margin-bottom: 0.4rem;
}

.prose-content ul li {
    list-style-type: disc;
}

.prose-content ol li {
    list-style-type: decimal;
}

.prose-content blockquote {
    border-left: 4px solid #003F7D;
    background: #003F7D08;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 0.75rem 0.75rem 0;
    font-style: italic;
    color: #4b5563;
}

.prose-content a {
    color: #003F7D;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose-content a:hover {
    color: #1856b8;
}

.prose-content img {
    border-radius: 1rem;
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.prose-content strong {
    color: #111827;
    font-weight: 600;
}

/* Truncado de texto */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Animación suave al cargar */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

article, .event-card {
    animation: fadeInUp 0.4s ease both;
}

/* Scrollbar personalizada */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #003F7D55; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #003F7D; }

/* Focus accesible */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid #003F7D;
    outline-offset: 2px;
    border-radius: 4px;
}
