/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #64748b;
    --text-color: #1e293b;
    --text-light: #64748b;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: var(--primary-color);
    color: white;
    padding: 2rem 0;
    box-shadow: var(--shadow-md);
    border-bottom: 2px solid var(--border-color);
}

.header-content {
    text-align: center;
}

.site-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-title a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.site-title a:hover {
    opacity: 0.9;
}

.site-tagline {
    display: none;
}

/* Main Content */
.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 300px);
    background: var(--bg-light);
}

.main-content .container {
    max-width: 1280px;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.6rem;
    margin-bottom: 3rem;
}

/* Post Card */
.post-card {
    background: var(--bg-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
    position: relative;
}

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

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

.post-content {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.post-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

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

.post-meta {
    display: flex;
    gap: 0.8rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.post-excerpt {
    color: var(--text-light);
    margin-bottom: 0.8rem;
    flex: 1;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    align-self: flex-start;
}

.read-more:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Single Post */
.single-post {
    background: var(--bg-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 3rem;
    margin-bottom: 3rem;
}

.post-featured-image {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

.post-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.post-header .post-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.post-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-color);
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination-link {
    padding: 0.75rem 1.5rem;
    background: var(--bg-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    font-weight: 500;
}

.pagination-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pagination-info {
    color: var(--text-light);
    font-weight: 500;
}

/* Related Posts */
.related-posts {
    margin-top: 4rem;
}

.related-posts h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.no-posts h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.no-posts p {
    color: var(--text-light);
    font-size: 1.125rem;
}

.no-posts a {
    color: var(--primary-color);
    text-decoration: underline;
}

.no-posts a:hover {
    color: var(--primary-dark);
}

/* Search Section */
.search-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.search-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #60a5fa, var(--primary-color));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.search-form {
    width: 100%;
}

.search-input-wrapper {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: stretch;
}

.search-input {
    flex: 1;
    padding: 1.5rem 2rem;
    border: 3px solid var(--border-color);
    border-radius: 12px;
    font-size: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    color: var(--text-color);
    font-weight: 400;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
}

.search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
    opacity: 0.8;
}

.search-input:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15), 0 4px 16px rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
    background: #ffffff;
}

.search-button {
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 160px;
}

.search-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.search-button:hover::before {
    left: 100%;
}

.search-button:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e3a8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.search-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}

.search-results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
}

.search-results-info p {
    margin: 0;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
}

.search-results-info strong {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.clear-search {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    transition: all 0.3s ease;
    display: inline-block;
    background: white;
}

.clear-search:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Highlight search terms */
mark {
    background: #fef08a;
    color: var(--text-color);
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .search-section {
        padding: 2rem 1.5rem;
        margin-bottom: 3rem;
    }
    
    .search-input-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-input {
        padding: 1.25rem 1.5rem;
        font-size: 1.1rem;
        border-width: 2px;
    }
    
    .search-button {
        width: 100%;
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
        min-width: auto;
    }
    
    .search-results-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .search-results-info p {
        font-size: 1rem;
    }
    
    .clear-search {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.25rem;
    }
}

/* Footer */
.site-footer {
    background: var(--text-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

.site-footer p {
    opacity: 0.8;
}

/* Produtos de Afiliado */
.affiliate-product {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #cbd5e1;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: var(--transition);
}

.affiliate-product:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.product-image {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.product-info {
    flex: 1;
}

.product-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #ff6b00;
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.product-link:hover {
    background: #e55a00;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.external-icon {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.875rem;
}

.product-error {
    color: var(--danger-color);
    font-style: italic;
    padding: 0.5rem;
    background: #fee2e2;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .affiliate-product {
        flex-direction: column;
    }
    
    .product-image {
        width: 100%;
        height: 250px;
    }
    .site-title {
        font-size: 2rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .single-post {
        padding: 1.5rem;
    }
    
    .post-header .post-title {
        font-size: 1.75rem;
    }
    
    .main-content {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .site-header {
        padding: 2rem 0;
    }
    
    .site-title {
        font-size: 1.75rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Comments Section */
.comments-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.comments-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.comments-count {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: normal;
}

.comment-form-container {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: var(--radius);
    margin-bottom: 3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comment-form-container h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.comment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-form .form-group {
    margin-bottom: 1rem;
}

.comment-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.comment-form .form-group input,
.comment-form .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.comment-form .form-group input:focus,
.comment-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.comment-form .form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.comment-form .form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.comment-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius);
    display: none;
}

.comment-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
    display: block;
}

.comment-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    display: block;
}

.comments-list {
    margin-top: 2rem;
}

.no-comments {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-style: italic;
}

.comment-item {
    background: var(--bg-color);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.comment-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.comment-header {
    margin-bottom: 1rem;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.comment-author strong {
    color: var(--text-color);
    font-size: 1.1rem;
}

.comment-date {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.comment-content {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.comment-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.btn-reply {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.875rem;
    transition: var(--transition);
}

.btn-reply:hover {
    background: var(--primary-color);
    color: white;
}

.comment-replies {
    margin-top: 1.5rem;
    padding-left: 1rem;
    border-left: 2px solid var(--border-color);
}

.comment-item[style*="margin-left"] {
    border-left-color: #cbd5e1;
}

/* Category Sections */
.category-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.category-section:last-child {
    border-bottom: none;
}

.category-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.category-title {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.category-description {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.post-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .comment-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .comment-item {
        padding: 1rem;
    }
    
    .comment-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .category-section {
        margin-bottom: 2rem;
    }
}

/* Rotating Banner */
.rotating-banner-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 2rem 0 3rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: var(--bg-light);
}

.rotating-banner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.banner-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    visibility: hidden !important;
    display: block !important;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
    pointer-events: none;
    margin: 0 !important;
    padding: 0 !important;
}

.banner-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2;
    pointer-events: auto;
}

.banner-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.banner-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.banner-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.banner-slide:hover .banner-image-wrapper img {
    transform: scale(1.1);
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    padding: 2rem;
    z-index: 3;
}

.banner-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-indicator:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.banner-indicator.active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: var(--text-color);
}

.banner-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.banner-nav.prev {
    left: 20px;
}

.banner-nav.next {
    right: 20px;
}

@media (max-width: 768px) {
    .rotating-banner-container {
        height: 300px;
        margin: 1.5rem 0 2rem 0;
    }
    
    .banner-title {
        font-size: 1.25rem;
        padding: 1.5rem;
    }
    
    .banner-nav {
        width: 36px;
        height: 36px;
    }
    
    .banner-nav.prev {
        left: 10px;
    }
    
    .banner-nav.next {
        right: 10px;
    }
    
    .banner-indicators {
        bottom: 15px;
    }
    
    .banner-indicator {
        width: 10px;
        height: 10px;
    }
    
    .banner-indicator.active {
        width: 24px;
    }
}

@media (max-width: 480px) {
    .rotating-banner-container {
        height: 250px;
    }
    
    .banner-title {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .banner-nav {
        width: 32px;
        height: 32px;
    }
    
    .banner-overlay {
        padding: 1rem;
    }
}

/* Featured Posts Section - Estilo Globo Esporte */
section.featured-posts-section {
    margin: 3rem 0 4rem 0 !important;
    padding: 0 !important;
    width: 100% !important;
    clear: both !important;
    display: block !important;
    visibility: visible !important;
}

section.featured-posts-section .featured-posts-grid {
    display: grid !important;
    grid-template-columns: 2fr 1fr !important;
    gap: 3rem !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: stretch !important;
    width: 100% !important;
    list-style: none !important;
    box-sizing: border-box !important;
}

article.featured-post-main,
.featured-post-main {
    background: var(--bg-color) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: var(--shadow) !important;
    border: 1px solid var(--border-color) !important;
    transition: var(--transition) !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    align-self: stretch !important;
}

.featured-posts-grid .featured-post-main {
    height: 100% !important;
    min-height: 100% !important;
}

.featured-post-main:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.featured-post-link {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    text-decoration: none !important;
    color: inherit !important;
}

.featured-post-main .featured-post-image {
    width: 100% !important;
    height: 340px !important;
    min-height: 340px !important;
    overflow: hidden !important;
    background: var(--bg-light) !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.featured-post-main:not(:has(.featured-post-image)) .featured-post-content {
    padding-top: 1.5rem !important;
}

.featured-post-main:not(:has(.featured-post-image)) .featured-post-link {
    display: flex;
    flex-direction: column;
}

.featured-post-main .featured-post-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
    display: block !important;
}

.featured-post-main:hover .featured-post-image img {
    transform: scale(1.03);
}

.featured-post-main .featured-post-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow: hidden;
    min-height: 0;
}

.featured-post-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 0.875rem;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
    margin: 0;
}

.featured-post-main .featured-post-title {
    font-size: 1.625rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    color: var(--text-color) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.featured-post-main .featured-post-excerpt {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    flex: 1;
    overflow: hidden;
}

.featured-post-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    padding-top: 0.875rem;
    border-top: 1px solid var(--border-color);
}

/* Featured Posts Side (Segundo e Terceiro) */
.featured-posts-side {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    align-items: stretch !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
}

.featured-post-side-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
    flex: 1 !important;
}

article.featured-post-side,
.featured-post-side {
    background: var(--bg-color) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: var(--shadow) !important;
    border: 1px solid var(--border-color) !important;
    transition: var(--transition) !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-height: calc((576.8px - 2rem) / 2) !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.featured-post-side:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.featured-post-side .featured-post-link {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    text-decoration: none !important;
    color: inherit !important;
}

.featured-post-side .featured-post-image {
    width: 100% !important;
    height: 206px !important;
    min-height: 206px !important;
    overflow: hidden !important;
    background: var(--bg-light) !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.featured-post-side:not(:has(.featured-post-image)) .featured-post-content {
    padding-top: 1.25rem !important;
}

.featured-post-side:not(:has(.featured-post-image)) .featured-post-link {
    display: flex;
    flex-direction: column;
}

.featured-post-side .featured-post-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
    display: block !important;
}

.featured-post-side:hover .featured-post-image img {
    transform: scale(1.03);
}

.featured-post-side .featured-post-content {
    padding: 1.25rem !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    overflow: hidden !important;
    min-height: 0 !important;
}

.featured-post-title-external {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    color: var(--text-color) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.featured-post-title-external .featured-post-title-link {
    color: var(--text-color) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    display: block !important;
}

.featured-post-title-external .featured-post-title-link:hover {
    color: var(--primary-color) !important;
}

.featured-post-side .featured-post-meta {
    display: flex;
    gap: 1.25rem;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

/* Remaining Posts Section - Estilo Globo Esporte */
.remaining-posts-section {
    margin: 5rem 0 3rem 0 !important;
    padding-top: 4rem !important;
    border-top: 3px solid var(--border-color) !important;
    width: 100% !important;
    clear: both !important;
    display: block !important;
}

.remaining-posts-container {
    width: 100% !important;
}

.remaining-posts-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    width: 100% !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.remaining-post-item {
    background: var(--bg-color) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: var(--shadow) !important;
    border: 1px solid var(--border-color) !important;
    transition: var(--transition) !important;
    width: 100% !important;
    display: block !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.remaining-post-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.remaining-post-link {
    display: flex !important;
    gap: 2rem !important;
    text-decoration: none !important;
    color: inherit !important;
    padding: 2rem !important;
}

.remaining-post-image {
    width: 280px;
    min-width: 280px;
    height: 180px;
    overflow: hidden;
    border-radius: 6px;
    background: var(--bg-light);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remaining-post-link:has(.remaining-post-image:empty) .remaining-post-image,
.remaining-post-link:not(:has(.remaining-post-image)) {
    padding-left: 0;
}

.remaining-post-item:not(:has(.remaining-post-image)) .remaining-post-link {
    padding-left: 2rem;
}

.remaining-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.remaining-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}

.remaining-post-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
    margin: 0;
}

.remaining-post-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: var(--text-color);
}

.remaining-post-excerpt {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.remaining-post-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

@media (max-width: 968px) {
    /* Em tablets: layout vertical simples - FORÇAR SOBRESCRITA */
    section.featured-posts-section .featured-posts-grid,
    .featured-posts-section .featured-posts-grid,
    .featured-posts-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        align-items: stretch !important;
    }
    
    .featured-post-main,
    .featured-post-side {
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
        width: 100% !important;
    }
    
    .featured-posts-side {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    .featured-post-side-wrapper {
        width: 100% !important;
        flex: none !important;
    }
    
    /* Imagens uniformes em tablets */
    .featured-post-main .featured-post-image,
    .featured-post-side .featured-post-image {
        height: 280px !important;
        min-height: 280px !important;
    }
    
    /* Conteúdo uniforme */
    .featured-post-main .featured-post-content,
    .featured-post-side .featured-post-content {
        padding: 1.5rem !important;
    }
    
    /* Títulos uniformes */
    .featured-post-main .featured-post-title {
        font-size: 1.5rem !important;
    }
    
    .featured-post-title-external {
        font-size: 1.375rem !important;
        margin-top: 0.875rem !important;
        padding: 0 1.5rem !important;
    }
    
    .featured-post-main .featured-post-excerpt,
    .featured-post-side .featured-post-excerpt {
        font-size: 0.9375rem !important;
    }
    
    .remaining-post-link {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .remaining-post-image {
        width: 100%;
        min-width: 100%;
        height: 240px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 1.5rem 0;
    }
    
    .search-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .featured-posts-section {
        margin: 2rem 0;
    }
    
    /* Em mobile: layout vertical simples, um acima do outro - FORÇAR SOBRESCRITA */
    section.featured-posts-section .featured-posts-grid,
    .featured-posts-section .featured-posts-grid,
    .featured-posts-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        align-items: stretch !important;
    }
    
    /* Todos os posts têm o mesmo estilo em mobile */
    .featured-post-main,
    .featured-post-side {
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
        width: 100% !important;
    }
    
    .featured-posts-side {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    .featured-post-side-wrapper {
        width: 100% !important;
        flex: none !important;
    }
    
    /* Imagens com altura uniforme em mobile */
    .featured-post-main .featured-post-image,
    .featured-post-side .featured-post-image {
        height: 220px !important;
        min-height: 220px !important;
    }
    
    /* Conteúdo uniforme em mobile */
    .featured-post-main .featured-post-content,
    .featured-post-side .featured-post-content {
        padding: 1.5rem !important;
    }
    
    /* Títulos uniformes em mobile */
    .featured-post-main .featured-post-title {
        font-size: 1.375rem !important;
    }
    
    .featured-post-title-external {
        font-size: 1.25rem !important;
        margin-top: 0.75rem !important;
        margin-bottom: 0 !important;
        padding: 0 1.5rem !important;
    }
    
    .featured-post-title-external .featured-post-title-link {
        color: var(--text-color) !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
    }
    
    .featured-post-title-external .featured-post-title-link:hover {
        color: var(--primary-color) !important;
    }
    
    /* Excerpt uniforme */
    .featured-post-main .featured-post-excerpt,
    .featured-post-side .featured-post-excerpt {
        font-size: 0.9375rem !important;
    }
    
    /* Meta uniforme */
    .featured-post-main .featured-post-meta,
    .featured-post-side .featured-post-meta {
        font-size: 0.8125rem !important;
        gap: 1rem !important;
    }
    
    .remaining-posts-section {
        margin: 3rem 0 2rem 0;
        padding-top: 2rem;
    }
    
    .remaining-posts-list {
        gap: 1.5rem;
    }
    
    .remaining-post-link {
        padding: 1.25rem;
    }
    
    .remaining-post-image {
        height: 200px;
    }
    
    .remaining-post-title {
        font-size: 1.375rem;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 1.5rem 0;
    }
    
    .site-title {
        font-size: 1.75rem;
    }
    
    .main-content {
        padding: 1rem 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .search-section {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .featured-posts-section {
        margin: 1.5rem 0;
    }
    
    /* Em telas muito pequenas: layout vertical ainda mais compacto - FORÇAR SOBRESCRITA */
    section.featured-posts-section .featured-posts-grid,
    .featured-posts-section .featured-posts-grid,
    .featured-posts-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        align-items: stretch !important;
    }
    
    .featured-post-main,
    .featured-post-side {
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
        width: 100% !important;
    }
    
    .featured-posts-side {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    
    .featured-post-side-wrapper {
        width: 100% !important;
        flex: none !important;
    }
    
    /* Imagens menores em telas muito pequenas */
    .featured-post-main .featured-post-image,
    .featured-post-side .featured-post-image {
        height: 200px !important;
        min-height: 200px !important;
    }
    
    /* Conteúdo mais compacto */
    .featured-post-main .featured-post-content,
    .featured-post-side .featured-post-content {
        padding: 1.25rem !important;
        gap: 0.625rem !important;
    }
    
    /* Títulos menores */
    .featured-post-main .featured-post-title {
        font-size: 1.25rem !important;
    }
    
    .featured-post-title-external {
        font-size: 1.125rem !important;
        margin-top: 0.625rem !important;
        padding: 0 1.25rem !important;
    }
    
    /* Excerpt menor */
    .featured-post-main .featured-post-excerpt,
    .featured-post-side .featured-post-excerpt {
        font-size: 0.875rem !important;
    }
    
    /* Meta menor */
    .featured-post-main .featured-post-meta,
    .featured-post-side .featured-post-meta {
        font-size: 0.75rem !important;
        gap: 0.875rem !important;
        padding-top: 0.75rem !important;
    }
    
    .remaining-posts-section {
        margin: 2rem 0 1.5rem 0;
        padding-top: 1.5rem;
    }
    
    .remaining-posts-list {
        gap: 1.25rem;
    }
    
    .remaining-post-link {
        padding: 1rem;
        gap: 1rem;
    }
    
    .remaining-post-image {
        height: 180px;
    }
    
    .remaining-post-title {
        font-size: 1.125rem;
    }
    
    .remaining-post-excerpt {
        font-size: 0.9375rem;
    }
}

/* ============================================
   REGRAS FORÇADAS PARA MOBILE - SOBRESCREVER TUDO
   ============================================ */
@media screen and (max-width: 768px) {
    /* FORÇAR LAYOUT VERTICAL EM MOBILE - PRIORIDADE MÁXIMA */
    section.featured-posts-section > .featured-posts-grid,
    .featured-posts-section .featured-posts-grid,
    section .featured-posts-grid,
    .featured-posts-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        gap: 2rem !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* FORÇAR POSTS SIDE A FICAREM ABAIXO */
    .featured-posts-section .featured-posts-side,
    .featured-posts-side {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        gap: 2rem !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* FORÇAR POSTS A TEREM MESMO TAMANHO */
    .featured-posts-section .featured-post-main,
    .featured-posts-section .featured-post-side,
    .featured-post-main,
    .featured-post-side {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        flex: none !important;
    }
}

@media screen and (max-width: 480px) {
    /* FORÇAR LAYOUT VERTICAL EM TELAS MUITO PEQUENAS */
    section.featured-posts-section > .featured-posts-grid,
    .featured-posts-section .featured-posts-grid,
    section .featured-posts-grid,
    .featured-posts-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .featured-posts-side {
        gap: 1.5rem !important;
    }
}

