.content-blog html,
.content-blog body {
    box-sizing: border-box;
}

.content-blog a {
    color: #0b63c9;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.content-blog a:hover,
.content-blog a:focus {
    color: #084a96;
    text-decoration: none;
}

.content-blog a:visited {
    color: #6b3fb3;
}

.content-blog a[href^="http"]::after {
    content: "⧉";
    font-size: 0.8em;
    margin-left: 4px;
    vertical-align: text-top;
    color: currentColor;
}

/* Tipografia */
.content-blog h1 {
    font-size: 28px;
    color: #222;
    margin-bottom: 15px;
}

.content-blog h2 {
    font-size: 22px;
    margin-top: 20px;
    color: #444;
}

.content-blog h3 {
    font-size: 20px;
    margin-top: 15px;
    color: #444;
}

.content-blog p {
    text-align: justify;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.content-blog .paragrafo-com-destaque .destaque-animado {
    position: relative;
    display: inline;
    padding: 0 5px;
    line-height: inherit;
    vertical-align: baseline;
    background-image: linear-gradient(90deg, rgba(255, 235, 59, 0.95), rgba(255, 235, 59, 0.95));
    background-repeat: no-repeat;
    background-size: 0% 100%;
    background-position: 0 0;
    transition: background-size 1.5s ease-out 0.5s;
}

.content-blog .paragrafo-com-destaque .destaque-animado.ativo {
    background-size: 100% 100%;
}

/* Destaques/Citações */
.content-blog .highlight {
    background-color: #e6f2ff;
    border-left: 5px solid #007bff;
    padding: 15px 20px;
    margin: 25px 0;
    border-radius: 5px;
    font-style: italic;
    text-align: justify;
    line-height: 1.6;
}

.content-blog blockquote {
    background: #f7f7f7;
    margin: 32px 48px 24px;
    padding: 35px 40px 30px;
    border-radius: 8px;
    border: 1px solid #eee;
    position: relative;
}

.content-blog blockquote::before {
    content: "\f10d";
    position: absolute;
    left: 40px;
    top: -20px;
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    font-size: 40px;
    line-height: 1;
    color: #096AFA;
}

.content-blog blockquote p {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    line-height: 1.4;
    margin-bottom: 6px;
    /* text-transform: capitalize; */
}

.content-blog blockquote p:last-child {
    margin-bottom: 0;
}

.content-blog ul,
.content-blog ol {
    margin-bottom: 15px;
    padding-left: 1.5rem;
    line-height: 1.6;
    text-align: justify;
    text-align-last: left;
    -moz-text-align-last: left;
    list-style-position: outside;
}

.content-blog ul {
    list-style-type: disc;
}

.content-blog ol {
    list-style-type: decimal;
}

.content-blog ul li {
    list-style-type: disc;
    list-style-position: outside;
}

.content-blog ol li {
    list-style-type: decimal;
    list-style-position: outside;
}

.content-blog li {
    margin-bottom: 15px;
    line-height: 1.6;
    text-align: inherit;
}

/* Container de imagem */
.content-blog .img-container {
    width: 100%;
    /*max-width: 600px;*/
    margin: 0 auto 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.content-blog .img-container img {
    width: 95%;
    /* max-width: 100%; */
    height: auto;
    display: block;
    border-radius: 12px;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, .6));
    transition: transform .5s ease;
    object-fit: cover;
}

.content-blog .img-container figcaption {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    line-height: 1.3;
    text-align: center;
}

.content-blog .img-container:hover img {
    transform: scale(1.05);
}

/* Tooltip para imagens */
.content-blog .tooltip {
    position: absolute;
    bottom: 105%;
    /* acima da imagem */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(34, 34, 34, 0.9);
    color: #fff;
    text-align: center;
    font-size: 13px;
    line-height: 1.4;
    padding: 6px 10px;
    border-radius: 6px;
    max-width: 200px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
    pointer-events: none;
    white-space: normal;
}

.content-blog .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(34, 34, 34, 0.9) transparent transparent transparent;
}

/* Mostrar tooltip ao passar o mouse */
.content-blog .img-container:hover .tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

/* Ajustes para telas pequenas (smartphones) */
@media (max-width: 480px) {
    .content-blog h1 {
        font-size: 20px;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .content-blog h2 {
        font-size: 18px;
        line-height: 1.5;
        margin-top: 10px;
    }

    .content-blog h3 {
        font-size: 16px;
        line-height: 1.5;
        margin-top: 10px;
    }

    .content-blog p {
        font-size: 15px;
        line-height: 1.5;
        text-align: justify;
    }

    .content-blog blockquote {
        margin: 24px 0 20px;
        padding: 28px 22px 22px;
    }

    .content-blog blockquote::before {
        left: 22px;
        top: -16px;
        font-size: 34px;
    }

    .content-blog blockquote p {
        font-size: 16px;
    }

    .content-blog .img-container {
        margin-bottom: 12px;
    }

    .content-blog .img-container img {
        transform-origin: center center;
    }

    .content-blog .img-container figcaption {
        font-size: 13px;
        margin-top: 6px;
    }

    /* Tooltip adaptado para mobile */
    .content-blog .tooltip {
        bottom: auto;
        top: 105%;
        /* aparece abaixo da imagem */
        left: 50%;
        transform: translateX(-50%);
        max-width: 90%;
        font-size: 14px;
        padding: 8px 12px;
    }

    .content-blog .tooltip::after {
        top: -6px;
        /* seta apontando para cima */
        bottom: auto;
        border-color: transparent transparent rgba(34, 34, 34, 0.9) transparent;
    }
}
