.rt-container {
    color: #333;
    font-family: Arial, sans-serif;
}

.rt-title {
    color: #0b3b60;
    font-weight: bold;
    font-size: 1.8rem;
    line-height: 1.3;
}

.rt-section-title {
    color: #0b3b60;
    font-weight: bold;
    border-bottom: 3px solid #0b3b60;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

.rt-card {
    background-color: #eef4f9;
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: none;
}

.rt-icon-circle {
    background-color: #2173b9;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

    .rt-icon-circle img {
        width: 22px;
        height: 22px;
        object-fit: contain;
        filter: brightness(0) invert(1);
    }

.rt-card-title {
    color: #0b3b60;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 10px;
}

.rt-card-text {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 30px;
}

.rt-card-action-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: #2173b9;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

    .rt-card-action-icon:hover {
        opacity: 0.8;
        color: #fff;
    }

.rt-card-action-link:hover {
    opacity: 0.8;
    color: #0b3b60 !important;
    text-decoration: underline;
}

.rt-card-action-link {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #2173b9;
    font-size: 0.85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Cores Base dos Temas (FAQ) */
.rt-faq-section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.rt-faq-section-badge {
    background-color: #2173b9;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.rt-faq-section-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0;
}

.rt-faq-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #2173b9;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    scroll-margin-top: 20px;
}

/* Classes de Cores Específicas para Temas 2, 3 e 4 */
.rt-theme-2-bg {
    background-color: #00a65a !important;
}

.rt-theme-2-border {
    border-left-color: #00a65a !important;
}

.rt-theme-3-bg {
    background-color: #f39c12 !important;
}

.rt-theme-3-border {
    border-left-color: #f39c12 !important;
}

.rt-theme-4-bg {
    background-color: #7b61ff !important;
}

.rt-theme-4-border {
    border-left-color: #7b61ff !important;
}

.rt-faq-q-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.rt-faq-q-badge {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    color: #333;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.rt-faq-q-title {
    font-weight: bold;
    font-size: 1rem;
    margin: 0;
    padding-top: 4px;
}

.rt-faq-q-text {
    font-size: 0.95rem;
    color: #444;
    margin-left: 45px;
    line-height: 1.6;
}

/* --- Linha do Tempo (Cronograma Expansível) --- */
.rt-timeline-wrapper {
    position: relative;
    width: 100%;
    margin: 2rem auto 0;
    padding: 1.5rem 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

    .rt-timeline-wrapper::before {
        content: "";
        position: absolute;
        top: 85px;
        left: 8.33%;
        right: 8.33%;
        height: 3px;
        background: #e0e0e0;
        border-radius: 999px;
        z-index: 1;
    }

.rt-tl-item {
    position: relative;
    z-index: 2;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rt-tl-date {
    height: 24px;
    line-height: 22px;
    margin-bottom: 12px;
    padding: 0 .75rem;
    font-weight: bold;
    font-size: .78rem;
    letter-spacing: .06em;
    color: #777;
    background: #f4f8fb;
    border: 1px solid #ddd;
    border-radius: 999px;
}

.rt-tl-dot {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    border: 4px solid #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .rt-tl-dot:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    }

.rt-tl-title {
    margin-top: 1rem;
    font-weight: bold;
    font-size: .95rem;
    line-height: 1.3;
    color: #333;
}

.rt-tl-desc {
    font-size: .85rem;
    color: #666;
    margin-top: 0.25rem;
    line-height: 1.35;
}

.rt-tl-detail {
    margin-top: 1rem;
    font-size: 0.85rem;
    text-align: left;
    background: #fff;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    border-left: 4px solid var(--dot-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    line-height: 1.45;
}


.rt-tl-item {
    width: 100%;
    max-width: 340px;
}

}

/* Novo Layout Footer (Biblioteca e FAQ) */
.rt-footer-title {
    color: #0b3b60;
    font-weight: bold;
    font-size: 1.3rem;
    border-bottom: 2px solid #0b3b60;
    padding-bottom: 10px;
    margin-bottom: 20px;
    width: 100%;
}

.rt-doc-card {
    background-color: #f4f8fb;
    border-radius: 8px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    text-decoration: none;
    transition: background-color 0.2s;
}

    .rt-doc-card:hover {
        background-color: #e6f0f9;
    }

.rt-doc-icon-pdf {
    background-color: #d93838;
    color: white;
    font-weight: bold;
    font-size: 0.75rem;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rt-doc-info {
    flex-grow: 1;
    margin-left: 15px;
    display: flex;
    flex-direction: column;
}

.rt-doc-title {
    color: #0b3b60;
    font-weight: bold;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.rt-doc-date {
    color: #777;
    font-size: 0.8rem;
}

.rt-doc-download {
    color: #2173b9;
    font-size: 1.2rem;
}

.rt-faq-link-card {
    background-color: #f4f8fb;
    border-radius: 8px;
    padding: 16px 20px;
    display: block;
    color: #0b3b60;
    font-size: 0.95rem;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 12px;
    transition: background-color 0.2s;
}

    .rt-faq-link-card:hover {
        background-color: #e6f0f9;
        color: #0b3b60;
    }

.rt-link-ver-todos {
    color: #2173b9;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

    .rt-link-ver-todos:hover {
        text-decoration: underline;
    }
/* Layout padrão para Desktop (Horizontal) */
.rt-timeline-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 15px; /* Espaçamento entre os itens */
}

.rt-tl-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Quebra para Mobile (Telas menores que 768px) */
@media (max-width: 768px) {
    /* Remove a linha cinza de fundo no modo mobile */
    .rt-timeline-wrapper::before {
        display: none !important;
    }

    .rt-timeline-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 35px;
    }

    .rt-tl-item {
        width: 100%;
        align-items: flex-start;
        text-align: left;
        position: relative;
        padding-left: 90px;
        min-height: 70px;
    }

    .rt-tl-dot {
        position: absolute;
        left: 0;
        top: 0;
    }

    .rt-tl-date {
        display: inline-block;
        margin-bottom: 5px;
        margin-top: 0;
    }

    .rt-tl-title {
        margin-top: 0;
    }

    /* Mantém o quadro explicativo perfeitamente alinhado abaixo do texto principal */
    .rt-tl-item .collapse {
        width: 100%;
        margin-top: 10px;
    }
}