/* =====================================================================
   Trolha News - seccao de noticias/blog na homepage
   ===================================================================== */

.trolha-news {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.trolha-news__wrap {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 40px 44px;
}

/* Header */
.trolha-news__header {
    text-align: center;
    margin-bottom: 24px;
}

.trolha-news__title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.trolha-news__subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    margin: 0;
}

/* Carousel */
.trolha-news__carousel .owl-stage-outer {
    overflow: hidden;
}
.trolha-news__carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

/* Padding no card para o hover/shadow respirar dentro do owl-item */
.trolha-news__carousel .owl-item .trolha-news__card {
    margin: 12px 4px;
}

/* Card */
.trolha-news__card {
    display: flex !important;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.trolha-news__card:hover {
    border-color: #1a4f8b;
    box-shadow: 0 4px 12px rgba(26, 79, 139, .07);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

/* Imagem */
.trolha-news__card-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.trolha-news__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.trolha-news__card:hover .trolha-news__card-img img {
    transform: scale(1.04);
}

/* Body */
.trolha-news__card-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.trolha-news__card-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 4px;
    line-height: 1.3;
}

.trolha-news__card-desc {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.45;
    margin: 0 0 8px;
    flex: 1;
}

.trolha-news__card-link {
    font-size: 12px;
    font-weight: 600;
    color: #f5a623;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color .2s ease;
}

.trolha-news__card-link .fa {
    font-size: 10px;
    transition: transform .2s ease;
}

.trolha-news__card:hover .trolha-news__card-link {
    color: #e8930c;
}

.trolha-news__card:hover .trolha-news__card-link .fa {
    transform: translateX(3px);
}

/* Footer - botao "Ver todas" */
.trolha-news__footer {
    text-align: center;
    margin-top: 24px;
}

.trolha-news__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    background: #f5a623;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background .2s ease, transform .15s ease;
}

.trolha-news__cta:hover {
    background: #e8930c;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.trolha-news__cta .fa {
    font-size: 12px;
    transition: transform .2s ease;
}

.trolha-news__cta:hover .fa {
    transform: translateX(3px);
}

/* Dots */
.trolha-news__carousel .owl-dots {
    text-align: center;
    margin-top: 16px;
}

.trolha-news__carousel .owl-dot span {
    width: 8px;
    height: 8px;
    background: #d1d5db;
    border-radius: 50%;
    display: inline-block;
    margin: 0 4px;
    transition: background .2s ease;
}

.trolha-news__carousel .owl-dot.active span {
    background: #f5a623;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .trolha-news__wrap { padding: 30px 24px 36px; }
    .trolha-news__title { font-size: 22px; }
}

@media (max-width: 575px) {
    .trolha-news__wrap { padding: 24px 16px 30px; }
    .trolha-news__title { font-size: 20px; }
    .trolha-news__card-body { padding: 10px 12px 12px; }
    .trolha-news__card-title { font-size: 14px; }
    .trolha-news__card-desc { font-size: 13px; }
}
