/* ============================================================
   BLOG STYLES - TecFogo
   Complementary styles for the blog section
   Colors: #E52328 (red), #333333 (dark), #666666 (gray)
   ============================================================ */

/* === CSS Variables === */
:root {
    --blog-red: #E52328;
    --blog-red-dark: #c41e22;
    --blog-red-light: #fef5f5;
    --blog-dark: #333333;
    --blog-gray: #666666;
    --blog-light-gray: #f8f9fa;
    --blog-border: #e8e8e8;
    --blog-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    --blog-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --blog-radius: 12px;
    --blog-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* === Blog Page Header === */
.blog-page-header {
    background: var(--blog-light-gray);
    padding: 130px 0 35px; /* Aumentado de 50px para 130px para compensar o header fixo do site */
    margin-bottom: 0;
    border-bottom: 3px solid var(--blog-red);
    position: relative;
    overflow: hidden;
}

.blog-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(229, 35, 40, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.blog-page-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--blog-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-page-title span {
    color: var(--blog-red);
}

/* === Breadcrumb === */
.blog-breadcrumb {
    padding: 0;
    font-size: 14px;
    color: var(--blog-gray);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.blog-breadcrumb a {
    color: var(--blog-red);
    text-decoration: none;
    transition: var(--blog-transition);
    font-weight: 500;
}

.blog-breadcrumb a:hover {
    color: var(--blog-red-dark);
    text-decoration: underline;
}

.blog-breadcrumb .separator {
    margin: 0 8px;
    color: #bbb;
    font-size: 12px;
}

.blog-breadcrumb .current {
    color: var(--blog-gray);
    font-weight: 400;
}

.blog-breadcrumb-bar {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid var(--blog-border);
}

/* === Blog Listing Section === */
.blog-listing-section {
    background: #fff;
}

.pt-60 {
    padding-top: 60px;
}

.pb-60 {
    padding-bottom: 60px;
}

.pt-50 {
    padding-top: 50px;
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-30 {
    margin-top: 30px !important;
}

/* === Blog Cards === */
.blog-card {
    background: #fff;
    border-radius: var(--blog-radius);
    overflow: hidden;
    box-shadow: var(--blog-shadow);
    transition: var(--blog-transition);
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    opacity: 0;
    animation: blogFadeIn 0.6s ease forwards;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--blog-shadow-hover);
}

.blog-card .card-image-link {
    display: block;
    text-decoration: none;
}

.blog-card .card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.blog-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover .card-image img {
    transform: scale(1.08);
}

.blog-card .card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--blog-red);
    color: #fff;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(229, 35, 40, 0.35);
    transition: var(--blog-transition);
}

.blog-card:hover .card-category {
    background: var(--blog-red-dark);
    transform: translateY(-2px);
}

.blog-card .card-body {
    padding: 22px 25px 25px;
}

.blog-card .card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--blog-dark);
    margin-bottom: 10px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.blog-card .card-title a:hover {
    color: var(--blog-red);
}

.blog-card .card-excerpt {
    font-size: 14px;
    color: var(--blog-gray);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card .card-meta {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
}

.blog-card .card-meta i {
    margin-right: 4px;
    font-size: 12px;
}

.blog-card .card-author,
.blog-card .card-date {
    display: flex;
    align-items: center;
}

/* === No Cover Placeholder === */
.no-cover-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--blog-red) 0%, var(--blog-red-dark) 50%, #a01518 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.25);
    font-size: 56px;
}

.no-cover-placeholder-sm {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--blog-red), var(--blog-red-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 24px;
}

/* === Post Hero === */
.post-hero {
    position: relative;
    min-height: 320px; /* Usa min-height para acomodar o conteúdo de forma dinâmica */
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-top: 0 !important; /* Garante a remoção de qualquer margin-top indesejada */
    margin-bottom: 0;
}

.post-hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.post-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0.75) 100%
    );
    z-index: 1;
}

.post-hero .hero-no-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--blog-red) 0%, var(--blog-red-dark) 50%, #8a1215 100%);
    z-index: 1;
}

.post-hero .hero-no-cover::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.post-hero .hero-content {
    position: relative;
    padding: 50px 0 30px; /* Aumentado padding-top para dar margem confortável e evitar cortes do container */
    color: #fff;
    z-index: 2;
    width: 100%;
}

/* === Post Hero No Cover (White Background) === */
.post-hero.post-hero-no-cover {
    background-color: #ffffff;
    min-height: 260px;
    border-bottom: 1px solid var(--blog-border);
}

.post-hero.post-hero-no-cover .hero-content {
    color: var(--blog-dark);
    padding: 60px 0 30px;
}

.post-hero.post-hero-no-cover h1 {
    color: var(--blog-dark) !important;
    text-shadow: none;
}

.post-hero.post-hero-no-cover .hero-meta {
    color: var(--blog-gray);
}

.post-hero.post-hero-no-cover .hero-meta span {
    color: var(--blog-gray);
}

.post-hero.post-hero-no-cover .hero-meta i {
    color: var(--blog-red);
}

.post-hero.post-hero-no-cover .hero-category-badge:hover {
    background: var(--blog-red-dark);
    color: #fff;
    box-shadow: 0 4px 15px rgba(229, 35, 40, 0.5);
}

.post-hero .hero-category-badge {
    display: inline-block;
    background: var(--blog-red);
    color: #fff;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    margin-bottom: 18px;
    transition: var(--blog-transition);
    box-shadow: 0 2px 10px rgba(229, 35, 40, 0.4);
}

.post-hero .hero-category-badge:hover {
    background: #fff;
    color: var(--blog-red);
}

.post-hero h1 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.25;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    max-width: 800px;
}

.post-hero .hero-meta {
    font-size: 14px;
    opacity: 0.9;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.post-hero .hero-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-hero .hero-meta i {
    font-size: 14px;
}

/* === Article Content === */
.blog-article {
    max-width: 100%;
}

.blog-content {
    font-size: 16.5px;
    line-height: 1.85;
    color: #444;
}

.blog-content h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--blog-dark);
    margin: 35px 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.blog-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--blog-red);
}

.blog-content h3 {
    font-size: 21px;
    font-weight: 600;
    color: var(--blog-dark);
    margin: 28px 0 14px;
}

.blog-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--blog-dark);
    margin: 24px 0 12px;
}

.blog-content p {
    margin-bottom: 20px;
}

.blog-content blockquote {
    border-left: 4px solid var(--blog-red);
    padding: 18px 24px;
    margin: 28px 0;
    background: var(--blog-red-light);
    font-style: italic;
    border-radius: 0 10px 10px 0;
    color: #555;
    position: relative;
}

.blog-content blockquote::before {
    content: '\201C';
    position: absolute;
    top: -5px;
    left: 12px;
    font-size: 48px;
    color: var(--blog-red);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 24px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.blog-content code {
    background: #f4f4f4;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    color: var(--blog-red-dark);
}

.blog-content pre {
    background: #1e1e2e;
    color: #cdd6f4;
    padding: 24px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 24px 0;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid #313244;
}

.blog-content pre code {
    background: none;
    color: inherit;
    padding: 0;
    font-size: inherit;
    border-radius: 0;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 20px;
    padding-left: 28px;
}

.blog-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.blog-content a {
    color: var(--blog-red);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: var(--blog-transition);
}

.blog-content a:hover {
    color: var(--blog-red-dark);
    text-decoration-thickness: 2px;
}

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.blog-content th,
.blog-content td {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.blog-content th {
    background: var(--blog-light-gray);
    font-weight: 700;
    color: var(--blog-dark);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content tr:hover td {
    background: #fafbfc;
}

.blog-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, var(--blog-red), transparent);
    margin: 35px 0;
}

/* === Blog Tags === */
.blog-tags {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--blog-border);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-tags .tags-label {
    font-weight: 600;
    color: var(--blog-dark);
    font-size: 14px;
    margin-right: 4px;
}

.blog-tags .tags-label i {
    color: var(--blog-red);
    margin-right: 4px;
}

.blog-tags .tag-badge,
.tag-cloud .tag-badge {
    display: inline-block;
    background: #f0f0f0;
    color: var(--blog-gray);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: var(--blog-transition);
    font-weight: 500;
    border: 1px solid transparent;
}

.blog-tags .tag-badge:hover,
.tag-cloud .tag-badge:hover {
    background: var(--blog-red);
    color: #fff;
    border-color: var(--blog-red);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(229, 35, 40, 0.25);
}

/* === Blog Share === */
.blog-share {
    padding: 22px 0;
    border-top: 1px solid var(--blog-border);
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-share .share-label {
    font-weight: 600;
    color: var(--blog-dark);
    font-size: 14px;
    margin-right: 4px;
}

.blog-share .share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: var(--blog-transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.blog-share .share-btn:hover {
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.blog-share .share-whatsapp {
    background: #25D366;
}

.blog-share .share-whatsapp:hover {
    background: #1da851;
}

.blog-share .share-linkedin {
    background: #0077B5;
}

.blog-share .share-linkedin:hover {
    background: #005e8f;
}

.blog-share .share-copy {
    background: #555;
}

.blog-share .share-copy:hover {
    background: var(--blog-dark);
}

/* === Related Posts === */
.related-posts {
    background: var(--blog-light-gray);
    padding: 40px;
    border-radius: var(--blog-radius);
    margin-top: 45px;
    border: 1px solid var(--blog-border);
}

.related-posts h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--blog-dark);
}

.related-posts h3 i {
    color: var(--blog-red);
    margin-right: 8px;
}

.related-post-card {
    margin-bottom: 20px;
}

.related-post-link {
    text-decoration: none;
    display: block;
    transition: var(--blog-transition);
}

.related-post-link:hover {
    transform: translateY(-3px);
}

.related-post-image {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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

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

.related-post-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--blog-dark);
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-link:hover h4 {
    color: var(--blog-red);
}

/* === Sidebar === */
.blog-sidebar .blog-widget {
    background: #fff;
    padding: 28px;
    border-radius: var(--blog-radius);
    box-shadow: var(--blog-shadow);
    margin-bottom: 28px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--blog-transition);
}

.blog-sidebar .blog-widget:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.blog-sidebar .widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--blog-dark);
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--blog-red);
    position: relative;
}

/* === Sidebar Search === */
.blog-sidebar .search-form {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.blog-sidebar .search-form input {
    flex: 1;
    border: 1px solid #ddd;
    padding: 12px 16px;
    border-radius: 8px 0 0 8px;
    outline: none;
    font-size: 14px;
    color: var(--blog-dark);
    transition: var(--blog-transition);
    background: #fafafa;
    border-right: none;
}

.blog-sidebar .search-form input::placeholder {
    color: #aaa;
}

.blog-sidebar .search-form input:focus {
    border-color: var(--blog-red);
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--blog-red);
}

.blog-sidebar .search-form button {
    background: var(--blog-red);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-size: 16px;
    transition: var(--blog-transition);
}

.blog-sidebar .search-form button:hover {
    background: var(--blog-red-dark);
}

/* === Sidebar Categories === */
.blog-sidebar .category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar .category-list li {
    padding: 11px 0;
    border-bottom: 1px solid #f0f0f0;
}

.blog-sidebar .category-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.blog-sidebar .category-list li:first-child {
    padding-top: 0;
}

.blog-sidebar .category-list li a {
    color: #555;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--blog-transition);
    font-size: 14px;
    font-weight: 500;
}

.blog-sidebar .category-list li a:hover {
    color: var(--blog-red);
    padding-left: 5px;
}

.blog-sidebar .category-list .count {
    background: #f0f0f0;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: var(--blog-gray);
    font-weight: 600;
    min-width: 28px;
    text-align: center;
    transition: var(--blog-transition);
}

.blog-sidebar .category-list li a:hover .count {
    background: var(--blog-red);
    color: #fff;
}

/* === Sidebar Tag Cloud === */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* === Sidebar Recent Posts === */
.blog-sidebar .recent-post {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}

.blog-sidebar .recent-post:first-child {
    padding-top: 0;
}

.blog-sidebar .recent-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.blog-sidebar .recent-post img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.blog-sidebar .recent-post-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--blog-red), var(--blog-red-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 22px;
}

.blog-sidebar .recent-post .post-info {
    flex: 1;
    min-width: 0;
}

.blog-sidebar .recent-post .post-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 6px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-sidebar .recent-post .post-info h4 a {
    color: var(--blog-dark);
    text-decoration: none;
    transition: var(--blog-transition);
}

.blog-sidebar .recent-post .post-info h4 a:hover {
    color: var(--blog-red);
}

.blog-sidebar .recent-post .post-info span {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* === Pagination === */
.blog-pagination {
    margin: 45px 0 0;
    display: flex;
    justify-content: center;
}

.blog-pagination .pagination {
    gap: 4px;
}

.blog-pagination .pagination .page-item .page-link {
    color: var(--blog-red);
    border: 1px solid #ddd;
    margin: 0;
    border-radius: 8px;
    min-width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    transition: var(--blog-transition);
    box-shadow: none;
}

.blog-pagination .pagination .page-item.active .page-link {
    background: var(--blog-red);
    border-color: var(--blog-red);
    color: #fff;
    box-shadow: 0 2px 10px rgba(229, 35, 40, 0.3);
}

.blog-pagination .pagination .page-item .page-link:hover {
    background: var(--blog-red-light);
    border-color: var(--blog-red);
    color: var(--blog-red);
}

.blog-pagination .pagination .page-item.active .page-link:hover {
    background: var(--blog-red-dark);
    color: #fff;
}

.blog-pagination .pagination .page-item .page-link:focus {
    box-shadow: 0 0 0 3px rgba(229, 35, 40, 0.15);
}

/* === Empty State === */
.blog-empty-state {
    text-align: center;
    padding: 80px 40px;
    background: var(--blog-light-gray);
    border-radius: var(--blog-radius);
    border: 2px dashed #ddd;
}

.blog-empty-state .empty-icon {
    font-size: 56px;
    color: #ccc;
    margin-bottom: 20px;
}

.blog-empty-state h3 {
    font-size: 22px;
    color: var(--blog-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.blog-empty-state p {
    font-size: 16px;
    color: var(--blog-gray);
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

/* === Results Count === */
.blog-results-count {
    margin-bottom: 20px;
    padding: 10px 0;
}

.blog-results-count p {
    font-size: 14px;
    color: var(--blog-gray);
    margin: 0;
    font-weight: 500;
}

/* === 404 === */
.blog-404 {
    text-align: center;
    padding: 80px 0 100px;
}

.blog-404 .error-icon {
    font-size: 64px;
    color: var(--blog-red);
    margin-bottom: 15px;
    opacity: 0.6;
}

.blog-404 h2 {
    font-size: 72px;
    font-weight: 800;
    color: var(--blog-red);
    margin-bottom: 16px;
    line-height: 1;
}

.blog-404 p {
    font-size: 18px;
    color: var(--blog-gray);
    max-width: 450px;
    margin: 0 auto;
    line-height: 1.6;
}

/* === Animations === */
@keyframes blogFadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-card-col:nth-child(1) .blog-card {
    animation-delay: 0s;
}

.blog-card-col:nth-child(2) .blog-card {
    animation-delay: 0.1s;
}

.blog-card-col:nth-child(3) .blog-card {
    animation-delay: 0.2s;
}

.blog-card-col:nth-child(4) .blog-card {
    animation-delay: 0.3s;
}

.blog-card-col:nth-child(5) .blog-card {
    animation-delay: 0.4s;
}

.blog-card-col:nth-child(6) .blog-card {
    animation-delay: 0.5s;
}

/* Sidebar widget stagger */
.blog-sidebar .blog-widget:nth-child(1) {
    animation: blogFadeIn 0.5s ease 0.2s forwards;
    opacity: 0;
}

.blog-sidebar .blog-widget:nth-child(2) {
    animation: blogFadeIn 0.5s ease 0.35s forwards;
    opacity: 0;
}

.blog-sidebar .blog-widget:nth-child(3) {
    animation: blogFadeIn 0.5s ease 0.5s forwards;
    opacity: 0;
}

.blog-sidebar .blog-widget:nth-child(4) {
    animation: blogFadeIn 0.5s ease 0.65s forwards;
    opacity: 0;
}

/* === Blog Article Section === */
.blog-article-section {
    background: #fff;
}

/* === Responsive === */
@media (max-width: 1199px) {
    .post-hero h1 {
        font-size: 32px;
    }
}

@media (max-width: 991px) {
    .post-hero {
        min-height: 280px;
    }

    .post-hero h1 {
        font-size: 28px;
    }

    .post-hero .hero-content {
        padding: 40px 0 25px;
    }

    .blog-page-title {
        font-size: 26px;
    }

    .blog-sidebar {
        margin-top: 45px;
    }

    .related-posts {
        padding: 28px;
    }
}

@media (max-width: 767px) {
    .post-hero {
        min-height: 240px;
    }

    .post-hero h1 {
        font-size: 22px;
    }

    .post-hero .hero-content {
        padding: 30px 0 20px;
    }

    .post-hero .hero-category-badge {
        font-size: 11px;
        padding: 4px 12px;
        margin-bottom: 12px;
    }

    .post-hero .hero-meta {
        font-size: 13px;
        gap: 12px;
    }

    .blog-page-header {
        padding: 35px 0 25px;
    }

    .blog-page-title {
        font-size: 22px;
    }

    .blog-content {
        font-size: 15.5px;
        line-height: 1.8;
    }

    .blog-content h2 {
        font-size: 22px;
    }

    .blog-content h3 {
        font-size: 19px;
    }

    .blog-content blockquote {
        padding: 14px 18px;
        margin: 20px 0;
    }

    .blog-sidebar {
        margin-top: 35px;
    }

    .blog-sidebar .blog-widget {
        padding: 22px;
    }

    .related-posts {
        padding: 22px;
        margin-top: 30px;
    }

    .related-posts h3 {
        font-size: 19px;
        margin-bottom: 20px;
    }

    .blog-share {
        flex-wrap: wrap;
    }

    .blog-empty-state {
        padding: 50px 25px;
    }

    .blog-404 h2 {
        font-size: 56px;
    }

    .blog-breadcrumb {
        font-size: 13px;
    }

    .pt-60 {
        padding-top: 40px;
    }

    .pb-60 {
        padding-bottom: 40px;
    }
}

@media (max-width: 575px) {
    .post-hero {
        min-height: 200px;
    }

    .post-hero h1 {
        font-size: 20px;
    }

    .blog-card .card-body {
        padding: 18px 20px 20px;
    }

    .blog-card .card-title {
        font-size: 16px;
    }

    .blog-card .card-excerpt {
        font-size: 13px;
    }

    .blog-content pre {
        padding: 16px;
        font-size: 13px;
    }
}

/* === Print Styles === */
@media print {
    .blog-sidebar,
    .blog-share,
    .related-posts,
    .whatsapp-float,
    .back-to-top,
    .header-area,
    .footer-area {
        display: none !important;
    }

    .blog-content {
        font-size: 12pt;
        line-height: 1.6;
        color: #000;
    }

    .col-lg-8 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
}
