/**
 * Estilos para o T&T Document Carousel
 */

/* Container principal do carrossel */
.tt-document-carousel-wrapper {
    margin: 20px 0;
    position: relative;
}

/* Mensagens de erro */
.tt-doc-carousel-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 10px 15px;
    border-radius: 4px;
    margin: 10px 0;
}

/* Mensagem quando não há documentos */
.tt-doc-carousel-no-results {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    color: #6c757d;
}

/* Estilo para os itens do carrossel */
.tt-doc-carousel-item {
    position: relative;
    padding: 15px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Document Carousel Subtitle Styling */
.tt-document-carousel-wrapper .subtitle {
    color: #ffffff !important;
    font-weight: 600 !important;
    opacity: 0.9 !important;
    font-size: 1.15em !important;
}

.tt-doc-carousel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Ícone do tipo de documento */
.tt-doc-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #007bff;
}

/* Título do documento */
.tt-doc-title {
    font-size: 1.1em;
    font-weight: 600;
    margin: 10px 0;
    color: #333;
}

/* Data do documento */
.tt-doc-date {
    font-size: 0.85em;
    color: #6c757d;
    margin-bottom: 10px;
}

/* Botão de download */
.tt-doc-download {
    display: inline-block;
    padding: 6px 12px;
    background-color: transparent;
    color: #ffffff!important;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: 700;
    border: 1px solid #ffffff;
    transition: all 0.2s ease-in-out;
}

.tt-doc-download:hover {
    background-color: rgba(255,255,255,0.12);
    color: #ffffff;
    text-decoration: none;
}

/* Escopo local: reduzir largura mínima dos itens do carrossel apenas neste plugin */
.tt-document-carousel-wrapper .slider-wrap.clb-slider-item {
    min-width: 280px !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .tt-doc-carousel-item {
        margin-bottom: 15px;
    }
}

/* Estilo para os controles de navegação do carrossel */
.ohio-carousel .owl-nav button {
    background: rgba(255, 255, 255, 0.8) !important;
    color: #333 !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.ohio-carousel .owl-nav button.owl-prev {
    left: 15px;
}

.ohio-carousel .owl-nav button.owl-next {
    right: 15px;
}

.ohio-carousel .owl-nav button:hover {
    background: #007bff !important;
    color: #fff !important;
}

/* Estilo para os indicadores de página */
.ohio-carousel .owl-dots {
    text-align: center;
    margin-top: 15px;
}

.ohio-carousel .owl-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: #ddd;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.ohio-carousel .owl-dot.active {
    background: #007bff;
}

/* Ajustes para o banner dentro do carrossel */
.ohio-banner {
    height: 100%;
    min-height: 200px;
}

/* Tamanho fixo para imagens de capa do documento */
.tt-doc-banner .image-holder {
    width: 150px !important;
    height: 195px !important;
    max-width: 150px !important;
}

.tt-doc-banner .image-holder img {
    width: 150px !important;
    height: 195px !important;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Ajustes para o título da seção */
.ohio-headline h3 {
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.document-abstract{
    color: #ffffffcc !important;
}