.boletim-section {
    background: #f5f6f4;
}

.boletim-section > .container {
    max-width: 1120px;
}

.boletim-card {
    margin-bottom: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(38, 50, 51, .1);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(38, 50, 51, .06);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.boletim-card:hover {
    transform: translateY(-3px);
    border-color: rgba(209, 190, 111, .48);
    box-shadow: 0 16px 38px rgba(38, 50, 51, .11);
}

.boletim-card-link {
    display: block;
    color: inherit;
}

.boletim-card-link:hover,
.boletim-card-link:focus {
    color: inherit;
}

.boletim-card-link:focus-visible {
    outline: 3px solid rgba(209, 190, 111, .35);
    outline-offset: -3px;
}

.boletim-card-layout {
    display: grid;
    grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
    min-height: 220px;
}

.boletim-card-layout--sem-imagem {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
}

.boletim-card-image {
    min-height: 220px;
    overflow: hidden;
    background: #eef0ec;
}

.boletim-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.boletim-card:hover .boletim-card-image img {
    transform: scale(1.035);
}

.boletim-card-content {
    display: flex;
    min-width: 0;
    padding: 1.75rem 2rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.boletim-card-date {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .75rem;
    color: #687374;
    font-size: .88rem;
    font-weight: 600;
}

.boletim-card-date i {
    color: #b9a653;
}

.boletim-card-content h2 {
    margin: 0 0 .8rem;
    color: #9f8f42;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 700;
    line-height: 1.35;
}

.boletim-card-content p {
    display: -webkit-box;
    margin: 0 0 1rem;
    overflow: hidden;
    color: #394344;
    font-size: 1rem;
    line-height: 1.65;
    text-align: left;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.boletim-card-action {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: auto;
    color: #263f3d;
    font-size: .92rem;
    font-weight: 700;
}

.boletim-card-action i {
    transition: transform .2s ease;
}

.boletim-card:hover .boletim-card-action i {
    transform: translateX(4px);
}

@media (max-width: 767.98px) {
    .boletim-card-layout {
        grid-template-columns: 1fr;
    }

    .boletim-card-image {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .boletim-card-content {
        padding: 1.4rem;
    }
}

.boletim-detalhe {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2.25rem;
    border: 1px solid rgba(38, 50, 51, .1);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(38, 50, 51, .07);
}

.boletim-detalhe-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(38, 50, 51, .1);
}

.boletim-detalhe-header h1 {
    margin: 0;
    color: #263233;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
}

.boletim-voltar {
    margin-top: 2rem;
}

.boletim-voltar .btn {
    min-width: 240px;
}

.boletim-manual h2 {
    margin: 2.25rem 0 1rem;
    padding: .85rem 1rem;
    border-left: 4px solid #d1be6f;
    border-radius: 0 8px 8px 0;
    background: #f7f7f3;
    color: #263f3d;
    font-size: 1.3rem;
}

.boletim-manual h3 {
    margin: 1.8rem 0 .75rem;
    color: #263f3d;
    font-size: 1.1rem;
}

.boletim-manual .boletim-importante {
    padding: 1rem 1.15rem;
    border: 1px solid rgba(209, 190, 111, .42);
    border-radius: 8px;
    background: #fffbed;
    color: #51491f;
}

.boletim-manual .boletim-item {
    margin-bottom: .45rem;
    padding-left: .25rem;
}

.boletim-manual figure {
    margin: 1.75rem auto 2.25rem;
    text-align: center;
}

.boletim-manual figure img {
    margin: 0 auto;
    border: 1px solid rgba(38, 50, 51, .1);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(38, 50, 51, .09);
}

.boletim-manual .boletim-manual-table {
    overflow: hidden;
    border-radius: 8px;
}

.boletim-manual .boletim-manual-table th {
    background: #263f3d;
    color: #fff;
}

.boletim-manual .boletim-manual-table tr:nth-child(even) td {
    background: #f8f8f5;
}

.boletim-cta-wrap {
    margin: 1.5rem 0 2rem !important;
    text-align: left !important;
}

.boletim-manual a.boletim-cta {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .8rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #d1be6f 0%, #b9a653 100%);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(185, 166, 83, .24);
}

.boletim-manual a.boletim-cta:hover {
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 767.98px) {
    .boletim-detalhe {
        padding: 1.35rem;
    }

    .boletim-detalhe-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1.15rem;
    }

    .boletim-voltar .btn {
        width: 100%;
        min-width: 0;
    }
}
