/* ============================================
   BLOG SLIDER SECTION
   ============================================ */

.blog-slider-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.blog-swiper {
    position: relative;
    padding: 0 50px;
}

.featured-post {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.featured-post-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    filter: blur(3px) brightness(0.7);
}

.featured-post:hover .featured-post-image img {
    transform: scale(1.05);
    filter: blur(4px) brightness(0.6);
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    color: #ffffff;
    z-index: 2;
}

.featured-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.9);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.featured-content h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px 0;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.featured-content p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #ffffff;
    color: #1f2937;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Swiper Navigation */
.swiper-button-prev,
.swiper-button-next {
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #2563eb;
    transform: scale(1.1);
}

.swiper-button-prev:hover:after,
.swiper-button-next:hover:after {
    color: #ffffff;
}

/* Swiper Pagination */
.swiper-pagination {
    bottom: 20px !important;
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #ffffff;
    width: 32px;
    border-radius: 6px;
}

/* ============================================
   BLOG SECTION
   ============================================ */

.blog-section {
    padding: 80px 0;
    background: #ffffff;
}

/* Breadcrumb */
.breadcrumb-nav {
    margin-bottom: 48px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6b7280;
}

.breadcrumb-item a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #2563eb;
}

.breadcrumb-item.active {
    color: #1f2937;
    font-weight: 500;
}

.breadcrumb-item:not(:last-child):after {
    content: '/';
    margin-left: 12px;
    color: #d1d5db;
}

/* Page Title */
.page-title {
    font-size: 42px;
    font-weight: 800;
    color: #1f2937;
    margin: 0;
    line-height: 1.2;
}

/* Blog Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
}

/* Blog Main */
.blog-main {
    min-width: 0;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

/* Blog Card */
.blog-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #2563eb;
}

.blog-card-image {
    display: block;
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

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

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

.blog-card-content {
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
}

.blog-date svg {
    color: #9ca3af;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 12px 0;
}

.blog-card-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #2563eb;
}

.blog-card-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0 0 16px 0;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-card-link:hover {
    gap: 10px;
}

.blog-card-link svg {
    transition: transform 0.3s ease;
}

.blog-card-link:hover svg {
    transform: translateX(4px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 40px;
    grid-column: 1 / -1;
}

.empty-state svg {
    margin-bottom: 24px;
}

.empty-state h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px 0;
}

.empty-state p {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

/* Single Post */
.single-post {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
}
.single-post-info {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.single-post-info .post-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 16px;
    padding: 8px 16px;
    background: #f3f4f6;
    border-radius: 8px;
}

.single-post-info .post-date svg {
    color: #9ca3af;
}

.single-post-info .post-title {
    font-size: 36px;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.3;
    margin: 0;
}

.decorated-link {
    text-decoration: none!important;
}

/* Responsive */
@media (max-width: 768px) {
    .single-post-info .post-title {
        font-size: 28px;
    }

    .single-post-info {
        margin-bottom: 24px;
        padding-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .single-post-info .post-title {
        font-size: 24px;
    }

    .single-post-info .post-date {
        font-size: 13px;
        padding: 6px 12px;
    }
}

.post-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.post-date svg {
    color: #9ca3af;
}

.single-post-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.single-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-post-content {
    padding: 40px;
    font-size: 17px;
    line-height: 1.8;
    color: #374151;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin: 32px 0 16px 0;
}

.single-post-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 28px 0 12px 0;
}

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

.single-post-content ul,
.single-post-content ol {
    margin: 0 0 20px 0;
    padding-left: 28px;
}

.single-post-content li {
    margin-bottom: 8px;
}

.single-post-content a {
    color: #2563eb;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1d4ed8;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
}

.single-post-content blockquote {
    border-left: 4px solid #2563eb;
    padding: 16px 24px;
    margin: 24px 0;
    background: #f8fafc;
    border-radius: 8px;
    font-style: italic;
    color: #4b5563;
}

.single-post-footer {
    padding: 32px 40px;
    border-top: 1px solid #e5e7eb;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 20px;
}

.share-label {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background: #1877f2;
    color: #ffffff;
}

.share-btn.facebook:hover {
    background: #0c63d4;
    transform: translateY(-4px);
}

.share-btn.twitter {
    background: #1da1f2;
    color: #ffffff;
}

.share-btn.twitter:hover {
    background: #0c8bd9;
    transform: translateY(-4px);
}

.share-btn.linkedin {
    background: #0a66c2;
    color: #ffffff;
}

.share-btn.linkedin:hover {
    background: #004182;
    transform: translateY(-4px);
}

.share-btn.whatsapp {
    background: #25d366;
    color: #ffffff;
}

.share-btn.whatsapp:hover {
    background: #1da851;
    transform: translateY(-4px);
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 32px;
}

.widget-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid #2563eb;
}

.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-post-item {
    display: flex;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
}

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

.recent-post-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
}

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

.recent-post-item:hover .recent-post-image img {
    transform: scale(1.1);
}

.recent-post-content {
    flex: 1;
    min-width: 0;
}

.recent-post-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.recent-post-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post-title a:hover {
    color: #2563eb;
}

.recent-post-date {
    font-size: 13px;
    color: #9ca3af;
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
}

.blog-pagination ul {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-pagination li {
    display: flex;
}

.blog-pagination a,
.blog-pagination strong {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-pagination a:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: translateY(-2px);
}

.blog-pagination strong {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Large Tablets & Small Desktops (1024px) */
@media (max-width: 1200px) {
    .blog-layout {
        gap: 40px;
    }

    .blog-sidebar {
        position: static;
    }
}

/* Tablets (768px) */
@media (max-width: 992px) {
    .blog-section {
        padding: 60px 0;
    }

    .blog-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .featured-post {
        height: 400px;
    }

    .featured-content h2 {
        font-size: 28px;
    }

    .single-post-image {
        height: 350px;
    }
}

/* Mobile (600px) */
@media (max-width: 768px) {
    .blog-slider-section {
        padding: 40px 0;
    }

    .blog-swiper {
        padding: 0 20px;
    }

    .featured-post {
        height: 350px;
    }

    .featured-content {
        padding: 20px 24px 60px 24px;
    }

    .featured-content h2 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .featured-content p {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .read-more-btn {
        margin-bottom: 0;
    }

    .swiper-pagination {
        bottom: 12px !important;
    }

    .blog-section {
        padding: 40px 0;
    }

    .breadcrumb-nav {
        margin-bottom: 32px;
    }

    .page-title {
        font-size: 32px;
    }

    .blog-card-image {
        height: 200px;
    }

    .single-post-header {
        padding: 20px 24px;
    }

    .single-post-image {
        height: 250px;
    }

    .single-post-content {
        padding: 24px;
        font-size: 16px;
    }

    .single-post-footer {
        padding: 20px 24px;
    }

    .post-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

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

    .swiper-button-prev,
    .swiper-button-next {
        width: 36px;
        height: 36px;
    }

    .swiper-button-prev:after,
    .swiper-button-next:after {
        font-size: 16px;
    }

    .swiper-button-prev {
        left: 0;
    }

    .swiper-button-next {
        right: 0;
    }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {
    .featured-post {
        height: 320px;
    }

    .featured-content {
        padding: 16px 20px 50px 20px;
    }

    .featured-content h2 {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .featured-content p {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .read-more-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .swiper-pagination {
        bottom: 10px !important;
    }

    .blog-card-content {
        padding: 20px;
    }

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

    .page-title {
        font-size: 28px;
    }

    .single-post-content h2 {
        font-size: 24px;
    }

    .single-post-content h3 {
        font-size: 20px;
    }

    .recent-post-image {
        width: 70px;
        height: 70px;
    }

    .recent-post-title {
        font-size: 14px;
    }

    .blog-pagination a,
    .blog-pagination strong {
        min-width: 40px;
        height: 40px;
        font-size: 14px;
    }
}