.article {
    min-height: 93vh;
    padding: 0;
    margin: auto;
}

.container_article {
    margin: auto;
    align-items: center;
}

.title_article {
    margin-top: 5%;
}

.title_article h1 {
    color: #00042c;
    font-weight: bold;
    text-transform: uppercase;
}

.title_article p {
    color: #00042c;
    font-weight: bold;
}

.title_heading {
    font-size: 1.875rem;
    font-weight: bold;
    color: #1f2937;
}

@media (min-width: 768px) {
    .title_heading {
        font-size: 2.25rem;
    }
}

.title_subtitle {
    font-size: 1.125rem;
    color: #4b5563;
    margin-top: 0.5rem;
}

.header_article {
    margin: 0 10% 10% 10%;
    background: #00042c;
    border-radius: 4px;
    border: 3px solid #F8DD4F;
    padding: 1.5rem;
}

/* Espaçamento entre botões */
.header_article nav {
    display: flex;
    gap: 1.5rem;
}

.tab-button {
    padding: 1rem 0.25rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s ease-in-out;
    background: #00042c;
    border: none;
    cursor: pointer;
}

.tab-active {
    border-bottom: 2px solid #F8DD4F;
    color: #F8DD4F;
}

.tab-inactive {
    border-bottom: 2px solid transparent;
    color: #6b7280;
}

.item-card {
    padding: 1.5rem;
    border-top: 1px solid #F8DD4F;
    border-bottom: 1px solid #F8DD4F;
    transition: box-shadow 0.3s;
}

.item-card h3 {
    color: white;
    font-weight: bold;
}

.item-card p {
    color: white;
}

.item-card:hover {
    box-shadow: 0 4px 6px #2f3149;
}

.item-link {
    display: inline-block;
    margin-top: 1rem;
    color: white;
    font-weight: 600;
    transition: color 0.3s;
    text-decoration: none;
}

.item-link:hover {
    color: #F8DD4F;
}

/* Espaçamento vertical entre artigos */
[ x-show="activeTab === 'artigos'" ] > div {
    display: flex;
    flex-direction: column;
    /* gap: 1.5rem; */
}

.event {
    display: flex;
    flex-direction: column;
    /* gap: 1.5rem; */
}

.event-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-top: 1px solid #F8DD4F;
    border-bottom: 1px solid #F8DD4F;
    transition: box-shadow 0.3s;
}

@media (min-width: 640px) {
    .event-card {
        flex-direction: row;
        align-items: flex-start;
    }
    .event-card > div:first-child {
        margin-right: 1.5rem;
        margin-bottom: 0;
    }
}

.event-year {
    text-align: center;
    border-radius: 0.5rem;
    padding: 1rem;
    width: 100%;
    margin-bottom: 1rem; 
    /* background: #1f2937; */
    color: white;
}

@media (min-width: 640px) {
    .event-year {
        width: 8rem;
    }
}

.event-link {
    display: inline-block; 
    color: #ffffff;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    /* background: #444; */
    transition: background-color 0.3s;
    text-decoration: none;
}

.event-link:hover {
    background: #F8DD4F;
    color: #00042c;
}

.event-card h3 {
    color: white;
    font-weight: bold;
}

.event-card p {
    color: white;
}

.event-text {
    width: 90%;
}
