.post-content figure {
    margin: 20px 0;
}

.post-content figure figcaption {
    text-align: center;
    font-size: .75rem;
    margin-top: .5rem;
    color: rgba(var(--bs-gray-400-rgb), var(--bs-text-opacity)) !important;
}

.post-content blockquote {
    position: relative;
    width: 90%;
    padding: 20px 5%;
    margin: 20px 0 20px 0;
    font-weight: bold;
    font-size: 17px;
    line-height: 25px;
}

.post-content blockquote p,
.post-content blockquote em,
.post-content blockquote p em {
    color: #484848 !important;
}

.post-content blockquote p:first-child::first-letter {
    font-size: 17px;
    margin-right: 0;
    float: none;
}

.post-content blockquote:before {
    content: '';
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    border-left: 5px solid rgba(0, 0, 0, 0.03);
}

.post-content blockquote:after {
    content: '"';
    position: absolute;
    top: 50px;
    left: 2.5%;
    font-size: 150px;
    opacity: .05;
}

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.8);
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 8px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.video-modal-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    flex: 1;
    padding-right: 1rem;
}

.video-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.video-modal-close:hover {
    background-color: #e9ecef;
    color: #333;
}

.video-modal-body {
    padding: 0;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .video-modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }

    .video-modal-header {
        padding: 0.75rem;
    }

    .video-modal-header h4 {
        font-size: 1rem;
    }
}

/* Estilos para centralização e formatação dos ads na home */
.section-inner {
    text-align: center;
}

.section-inner img {
    margin: 0 auto;
    display: block;
    max-width: 100%;
    height: auto;
}

/* Alternativa para navegadores que não suportam :has() */
.section.panel.overflow-hidden .section-inner a[href*="folhaextra.com"] {
    display: block;
    text-align: center;
}

/* Garantir que as imagens dos ads sejam responsivas e centralizadas */
.section-inner a[href*="folhaextra.com"] img {
    margin: 0 auto;
    display: block;
    max-width: 100%;
    height: auto;
}

/* Centralizar o container dos ads */
.section.panel.overflow-hidden .container.max-w-xl {
    text-align: center;
}

/* Aplicar fundo branco e padding nas seções de ads */
.section.panel.overflow-hidden .section-outer.panel.pt-5.lg\:pt-8 {
    background-color: #ffffff !important;
    padding: 15px 0 !important;
    width: 100%;
}

.small-ad-container {
    padding: 20px;
    background-color: #FFFFFF !important;
}