/* ==========================================================================
   1. Vista Llista (Home) - Captura 22.12.39.png
   ========================================================================== */
.rda-events-home-wrapper {
    color: #fff;
    font-family: system-ui, -apple-system, sans-serif;
    padding: 2rem 0;
}

.rda-home-title {
    font-family: 'Playfair Display', serif; /* Font elegant com la de la captura */
    font-size: 3rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 2rem;
    color: #fff;
}

.rda-home-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
}

.rda-home-item {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.rda-icon {
    margin-right: 15px;
    font-size: 1.5rem;
}

.rda-date {
    font-weight: 400;
}

.rda-separator {
    margin: 0 15px;
    color: rgba(255, 255, 255, 0.5);
}

.rda-title {
    font-weight: 300;
}

.rda-home-action {
    text-align: center;
    margin-top: 2rem;
}

.rda-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #3b504f; /* Color del botó de la captura */
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #fff;
    font-size: 1rem;
    transition: background 0.3s ease;
}
.rda-btn:hover {
    background-color: #2c3c3b;
    color: #fff;
}

/* ==========================================================================
   2. Vista Targetes (Esdeveniments) - Captura 22.13.06.png
   ========================================================================== */
.rda-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.rda-card {
    background: #fff;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
}

.rda-card-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.rda-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.rda-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
}

.rda-card-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rda-card-meta strong {
    color: #333;
}

.rda-card-excerpt {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
}

.rda-btn-card {
    display: block;
    text-align: center;
    background-color: #3b504f;
    color: #fff;
    padding: 12px;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.3s;
}

.rda-btn-card:hover {
    background-color: #2c3c3b;
    color: #fff;
}