.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;
}

/* Ad Sidebar Container - Full Width with Centered Content */
.ad-sidebar-container {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* Ad Full Width Container - Spans entire viewport width */
.ad-fullwidth-container {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 15px 0 !important;
    background: rgba(0, 0, 0, 0.02) !important;
}

/* Remove unwanted borders from paragraphs in post content */
.post-content p {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}


/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    margin: 0 5px;
}

.pagination a:hover,
.pagination span.paginator_active {
    background: var(--bs-primary);
    color: white;
    border-color: var(--bs-primary);
}

.pagination .current {
    background: var(--bs-primary);
    color: white;
    border-color: var(--bs-primary);
}

.dark .pagination a,
.dark .pagination span {
    background: #374151;
    border-color: rgba(255, 255, 255, 0.2);
    color: #f9fafb;
}

.dark .pagination a:hover {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}

/* Latest News Styles */
.latest-news-list .post-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.latest-news-list .post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.latest-news-list .post-item:hover {
    transform: translateY(-2px);
}

.latest-news-list .post-image {
    overflow: hidden;
    border-radius: 12px;
}

.latest-news-list .post-image img {
    transition: transform 0.3s ease;
}

.latest-news-list .post-item:hover .post-image img {
    transform: scale(1.05);
}

.latest-news-list .post-meta {
    color: #6b7280;
    font-size: 0.875rem;
}

.latest-news-list .post-category {
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.latest-news-list .post-title {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.latest-news-list .post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.latest-news-list .post-excerpt {
    color: #6b7280;
    line-height: 1.6;
}

.dark .latest-news-list .post-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.dark .latest-news-list .post-meta,
.dark .latest-news-list .post-excerpt {
    color: #9ca3af;
}

@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .pagination a,
    .pagination span {
        min-width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }

    .latest-news-list .post-item {
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
}


/* Editorials Styles */
.letter-badge {
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-item {
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.category-item:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.dark .letter-header {
    background: rgba(0, 0, 0, 0.95);
}

@media (max-width: 768px) {
    .letter-badge {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .letter-header {
        position: static;
    }
}


/* Cities Styles */
.city-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.city-card:hover {
    border-color: var(--bs-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.dark .city-card {
    background: #1f2937;
    border-color: rgba(255, 255, 255, 0.1);
}

.dark .city-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.city-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

.dark .city-image {
    background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

.city-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.city-icon {
    font-size: 1.5rem;
    color: var(--bs-primary);
    opacity: 0.7;
}

.city-image-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bs-primary) 0%, rgba(var(--bs-primary-rgb), 0.8) 100%);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.city-name {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
    transition: color 0.2s ease;
}

.dark .city-name {
    color: #f9fafb;
}

.city-state {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.dark .city-state {
    color: #9ca3af;
}

.cities-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (max-width: 768px) {
    .city-card {
        padding: 1rem;
    }
}


/* City Hero Styles */
.city-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
    overflow: hidden;
    margin: 0 0 3rem 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    cursor: pointer;
}

.city-hero .city-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    transform: scale(1);
}

.city-hero:hover .city-image {
    transform: scale(1.05);
}

.city-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 5;
}

.city-hero .city-content {
    position: relative;
    z-index: 10;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
    padding: 0 2rem;
}

.city-hero .city-content .vstack {
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
}

.city-hero .city-name {
    font-size: 4rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
}

.city-hero .city-description {
    font-size: 1.2rem;
    margin: 1rem 0 0 0;
    opacity: 0.95;
    max-width: 600px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .city-hero {
        height: 250px;
        margin-left: calc(50% - 50vw);
    }

    .city-hero .city-name {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .city-hero .city-description {
        font-size: 1rem;
        max-width: 90%;
    }

    .city-hero .city-content {
        padding: 0 1rem;
    }
}

/* Columns Styles */
.column-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.column-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.column-content {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    text-align: left !important;
    gap: 1.5rem !important;
}

.column-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e9ecef;
    transition: border-color 0.3s ease;
    flex-shrink: 0;
}

.column-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.column-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.column-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.column-actions {
    flex-shrink: 0;
}

.dark .column-card {
    background: #1f2937;
    border-color: rgba(255, 255, 255, 0.1);
}

.dark .column-card:hover {
    border-color: var(--bs-primary);
}

@media (max-width: 768px) {
    .column-content {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem !important;
    }

    .column-photo {
        width: 80px;
        height: 80px;
    }

    .column-info {
        text-align: center;
    }
}


/* Column Hero Styles */
.column-hero {
    position: relative;
    height: 450px;
    background: url('<?= asset("images/common/column-bg.jpg"); ?>') center center;
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
    margin: 0 0 3rem 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.column-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 5;
}

.column-hero .column-content {
    position: relative;
    z-index: 10;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
    padding: 0 2rem;
}

.column-hero .column-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 600px;
}

.column-hero .column-photo-container {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.column-hero .column-photo-container:hover {
    transform: scale(1.05);
}

.column-hero .column-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.column-hero .column-photo-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.column-hero .column-name {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
    line-height: 1.1;
    text-transform: uppercase;
}

.column-hero .column-title {
    font-size: 1.3rem;
    margin: 0;
    opacity: 0.9;
    font-weight: 400;
    font-style: italic;
}

.column-hero .column-description {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.95;
    line-height: 1.5;
    text-align: center;
}

.column-hero .column-badge {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Articles Section */
.articles-section {
    margin-top: 2rem;
}

.article-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--bs-primary);
}

.article-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-image-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-content {
    padding: 1.5rem;
}

.article-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-title a:hover {
    color: var(--bs-primary);
}

.article-excerpt {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    justify-content: between;
    align-items: center;
    font-size: 0.8rem;
    color: #9ca3af;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.read-more {
    color: var(--bs-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* Empty State */
.empty-articles {
    text-align: center;
    padding: 4rem 2rem;
    color: #6b7280;
}

.empty-articles i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

/* Dark Mode */
.dark .article-card {
    background: #1f2937;
    border-color: rgba(255, 255, 255, 0.1);
}

.dark .article-card:hover {
    border-color: var(--bs-primary);
}

.dark .article-title a {
    color: #f9fafb;
}

.dark .article-excerpt {
    color: #9ca3af;
}

.dark .article-meta {
    color: #6b7280;
}

@media (max-width: 768px) {
    .column-hero {
        height: 350px;
        margin-left: calc(50% - 50vw);
        background-attachment: scroll;
    }

    .column-hero .column-photo-container {
        width: 120px;
        height: 120px;
    }

    .column-hero .column-name {
        font-size: 2.5rem;
        letter-spacing: 0.5px;
    }

    .column-hero .column-title {
        font-size: 1.1rem;
    }

    .column-hero .column-description {
        font-size: 1rem;
    }

    .column-hero .column-content {
        padding: 0 1rem;
    }

    .article-image {
        height: 160px;
    }

    .article-image-placeholder {
        height: 160px;
    }

    .article-content {
        padding: 1rem;
    }
}

/* Post Navigation Styles */
.post-navigation .new-post {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.post-navigation .new-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-navigation .new-post .featured-image img {
    transition: transform 0.3s ease;
}

.post-navigation .new-post:hover .featured-image img {
    transform: scale(1.05);
}

/* Related Posts Styles */
.post-related .post:hover {
    transform: translateY(-2px);
}

.post-related .post {
    transition: all 0.3s ease;
}

/* Author Section Styles */
.post-author {
    border-left: 4px solid var(--bs-primary);
}

/* Share Buttons Styles */
.post-share-icons a:hover {
    transform: scale(1.1);
}

.post-share-icons a {
    transition: all 0.3s ease;
}

/* Facebook Comments Styles */
.post-comments {
    background: rgba(var(--bs-gray-25-rgb), 0.3);
    border-radius: 12px;
    padding: 2rem;
}

.facebook-comments-container {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dark .facebook-comments-container {
    background: #2d3748;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comments-header h4 {
    color: var(--bs-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comments-header h4:before {
    content: "💬";
    font-size: 1.2em;
}

.dark .comments-header h4 {
    color: var(--bs-light);
}

.comment-guidelines {
    border-left: 3px solid var(--bs-primary);
}

.dark .comment-guidelines {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--bs-light);
}

.dark .post-comments {
    background: rgba(255, 255, 255, 0.05);
}

/* Loading state for comments */
.fb-comments {
    min-height: 200px;
    position: relative;
}

.fb-comments:empty::before {
    content: "Carregando comentários...";
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #666;
    font-style: italic;
}


/* Search Page Styles */
.search-form {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-dark) 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.search-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.search-form .form-control {
    border: none;
    padding: 0.875rem 1.25rem;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-form .btn {
    border-radius: 50px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.search-results-header {
    background: rgba(var(--bs-primary-rgb), 0.05);
    border-left: 4px solid var(--bs-primary);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.search-result-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.search-result-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.search-result-item:hover {
    transform: translateY(-2px);
}

.search-result-image {
    overflow: hidden;
    border-radius: 12px;
}

.search-result-image img {
    transition: transform 0.3s ease;
}

.search-result-item:hover .search-result-image img {
    transform: scale(1.05);
}

.search-result-meta {
    color: #6b7280;
    font-size: 0.875rem;
}

.search-result-category {
    background: var(--bs-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-result-title {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.search-result-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-result-title a:hover {
    color: var(--bs-primary);
}

.search-result-excerpt {
    color: #6b7280;
    line-height: 1.6;
}

.search-highlight {
    background: yellow;
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
    font-weight: 600;
}

.search-no-results {
    text-align: center;
    padding: 3rem 1rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 15px;
    border: 2px dashed rgba(0, 0, 0, 0.1);
}

.search-suggestions {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.dark .search-form {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.dark .search-results-header {
    background: rgba(59, 130, 246, 0.1);
    border-left-color: #3b82f6;
}

.dark .search-result-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.dark .search-result-meta,
.dark .search-result-excerpt {
    color: #9ca3af;
}

.dark .search-no-results {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark .search-suggestions {
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .search-form {
        padding: 1.5rem;
    }

    .search-result-item {
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
}

/* Fix for injected ads overflowing container */
.ad-container-text,
.ad-sidebar-container,
.ad-fullwidth-container {
    width: 100%;
    max-width: 100%;
    height: auto;
    overflow: hidden;
    background: transparent !important;
}

/* Global fix for Google Ads background color and size */
ins.adsbygoogle {
    background: transparent !important;
    width: 100% !important;
    height: auto !important;
}

ins.adsbygoogle iframe {
    min-height: auto !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Fix for Youtube videos overflowing container */
.post-content iframe,
.post-content video {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}