/* 
 * Styles for the ABIEC Área Técnica Shortcode
 * Mirrors the Elementor Layout from /exportacoes-semanal/
 */

.abiec-at-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.abiec-at-item {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 2px dotted #6ba63d; /* Assuming #6ba63d is the global secondary/primary green used in ABIEC */
}

/* Icon */
.abiec-at-icon {
    flex: 0 0 auto;
    text-align: center;
    width: 10%;
    min-width: 50px;
}
.abiec-at-icon img {
    max-width: 90%;
    height: auto;
}

/* Date */
.abiec-at-date {
    flex: 0 0 auto;
    text-align: center;
    color: #6ba63d; /* Primary/Secondary theme color */
    font-size: 16px;
    font-weight: 500;
    width: 15%;
}

/* Title */
.abiec-at-title {
    flex: 1 1 40%;
    padding: 0 15px;
}
.abiec-at-title h6 {
    font-family: "Barlow Condensed", "Roboto", Sans-serif;
    font-size: 19px;
    font-weight: 600;
    margin: 0;
    color: #123f6d; /* Assuming this is the primary color */
    transition: color 0.3s;
}
.abiec-at-title h6:hover {
    color: #6ba63d;
}

/* Button */
.abiec-at-button-wrap {
    flex: 0 0 auto;
    text-align: center;
}
.abiec-at-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #6ba63d;
    color: #ffffff;
    font-family: inherit;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 3px;
    text-decoration: none;
    transition: background-color 0.2s;
    font-size: 13px; /* "elementor-size-sm" */
}
.abiec-at-button:hover,
.abiec-at-button:focus {
    background-color: #123f6d; /* Primary theme color */
    color: #ffffff;
    text-decoration: none;
}

.abiec-at-btn-icon {
    display: inline-flex;
    margin-right: 10px;
    width: 14px;
    height: 14px;
}

.abiec-at-btn-text {
    font-weight: 600;
}

/* Responsive Tablet */
@media (max-width: 1024px) {
    .abiec-at-item {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .abiec-at-title {
        flex: 1 1 100%;
        order: 4;
        text-align: center;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .abiec-at-icon,
    .abiec-at-date,
    .abiec-at-button-wrap {
        flex: 1 1 33%;
    }
}

/* Responsive Mobile */
@media (max-width: 767px) {
    .abiec-at-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    .abiec-at-icon,
    .abiec-at-date,
    .abiec-at-title,
    .abiec-at-button-wrap {
        width: 100%;
        flex: 1 1 auto;
    }
    .abiec-at-title {
        order: initial;
    }
}
