/* Blog Section Styles */
.blog-section {
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 0;
}

.blog-section-container {
    max-width: 1222px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.blog-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.blog-clear-filter {
    text-decoration: none;
    
}


.blog-main-title {
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #1C4067;
}

.blog-main-subtitle {
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #1C4067;
    max-width: 401px;
    margin-top: 12px;
}

/* Blog Slider */
.blog-slider {
    position: relative;
}

.blog-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}

.blog-cards-container .blog-card-link {
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.blog-card {
    background-color: white;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    max-width: 590px;
    max-height: 283.6497497558594px;
    height: 283.6497497558594px;
    width: 100%;
}

.blog-carousel .blog-card {
    max-height: 436px;
    height: 436px;
}

.blog-card:hover {}

.blog-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.blog-card:hover .blog-card-image img {}

.blog-category {
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
    border-bottom: 1px solid #FFFFFF33;
    padding-bottom: 21px;
    margin-bottom: 21px;
    width: 100%;
}

.blog-card-content {
    padding: 33px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.blog-card-title {
    font-family: Manrope, sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 1.4;
    text-transform: uppercase;
    color: #FFFFFF;
    width: 100%;
}

.blog-card-content-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}


.blog-read-more  {
    width: 17px;
    height: 17px;
}

/* Blog Slider Controls */
.blog-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.slider-prev,
.slider-next {
    background-color: #1e3a8a;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
    background-color: #1e40af;
    transform: scale(1.1);
}

.slider-prev img,
.slider-next img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.slider-dots {
    display: flex;
    gap: 0.8rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #1e3a8a;
    transform: scale(1.2);
}

.dot:hover {
    background-color: #64748b;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-cards-container {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 40px 0;
    }
    
    .blog-section-container {
        padding: 0 20px;
    }
    
    .blog-title {
        font-size: 24px;
        letter-spacing: 1px;
        max-width: none;
        text-align: center;
        width: 100%;
    }
    
    .blog-header {
        margin-bottom: 30px;
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .blog-main-title {
        font-size: 12px;
    }
    
    .blog-main-subtitle {
        font-size: 26px;
        max-width: 250px;
        margin-top: 8px;
    }
    
    .blog-header-section {
        padding: 60px 0;
    }
    
    .blog-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }
    
    .blog-card {
        max-width: none;
        width: 100%;
        height: 300px;
    }
    
    .blog-card-content {
        padding: 25px 20px;
    }
    
    .blog-card-title {
        font-size: 14px;
    }
    
    .blog-category {
        font-size: 12px;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    
    .blog-section-title {
        font-size: 28px;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .blog-section {
        padding: 30px 0;
    }
    
    .blog-title {
        font-size: 20px;
    }
    
    .blog-main-title {
        font-size: 11px;
    }
    
    .blog-main-subtitle {
        font-size: 24px;
        margin-top: 6px;
    }
    
    .blog-header-section {
        padding: 40px 0;
    }
    
    .blog-card {
        height: 250px;
    }
    
    .blog-card-content {
        padding: 20px 15px;
    }
    
    .blog-card-title {
        font-size: 12px;
    }
    
    .blog-category {
        font-size: 10px;
        padding-bottom: 12px;
        margin-bottom: 12px;
    }
    
    .blog-section-title {
        font-size: 24px;
    }
}

/* Blog Page Specific Styles */

/* Blog Header */
.blog-main {
    background-color: #ffffff;
}

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

.blog-header-section {
    background-color: #F8F2E6;
    padding: 100px 0;
}



/* Featured Blog Section */
.blog-featured-section {
    background-color: #F8F2E6;
    padding-bottom: 100px;
}

.blog-featured-section .blog-cards-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Blog Carousel Styles */
.blog-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-carousel .slick-list {
    margin: 0 -15px;
}

.blog-carousel .slick-slide {
    padding: 0 15px;
}

/* Featured Section with Arrows */
.blog-featured-section {
    position: relative;
}

.blog-featured-arrows {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    z-index: 100;
    width: 100%;
    max-width: 1270px;
    left: 50%;
    margin-left: -635px;
    pointer-events: none;
}

.blog-featured-arrows .arrow-button {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
}


.blog-featured-arrows .arrow-prev {
    left: -25px;
}

.blog-featured-arrows .arrow-next {
    right: -25px;
}

.blog-featured-arrows .arrow-button img {
    width: 18px;
    height: 16px;
}

/* Custom Arrow Styles */
.blog-carousel-prev,
.blog-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
}

.blog-carousel-prev:hover,
.blog-carousel-next:hover {
    background-color: #1e40af;
    transform: translateY(-50%) scale(1.1);
}

.blog-carousel-prev {
    left: -25px;
}

.blog-carousel-next {
    right: -25px;
}

.blog-carousel-prev img,
.blog-carousel-next img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* Hide default slick arrows */
.blog-carousel .slick-arrow {
    display: none !important;
}

/* Custom Dot Styles */
.blog-carousel .slick-dots {
    bottom: -50px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-carousel .slick-dots li {
    width: 12px;
    height: 12px;
    margin: 0;
}

.blog-carousel .slick-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #cbd5e1;
    border: none;
    cursor: pointer;
    font-size: 0;
    transition: all 0.3s ease;
    padding: 0;
}

.blog-carousel .slick-dots li button:hover {
    background-color: #64748b;
}

.blog-carousel .slick-dots li.slick-active button {
    background-color: #1e3a8a;
    transform: scale(1.2);
}

/* Blog Posts Section */
.blog-posts-section {
    padding: 98px 0 98px;
    background-color: #ffffff;
}

.blog-section-header {
    margin-bottom: 49px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.blog-section-title {
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #1C4067;
}

.blog-section-header-title {
    font-family: Manrope;
    font-weight: 700;
    font-style: Bold;
    font-size: 36px;
    leading-trim: NONE;
    line-height: 120%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: #1C4067;
    max-width: 401px;
    margin-bottom: 48px;
}

/* Blog Grid Layout */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 49px;
    max-width: 1222px;
    width: 100%;
}

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

.blog-posts-section .pagination-btn {
    background-color: white;
    border: 2px solid #e2e8f0;
    color: #64748b;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 45px;
    text-align: center;
}

.blog-posts-section .pagination-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-2px);
}

.blog-posts-section .pagination-btn.active {
    background-color: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.blog-posts-section .pagination-btn.active:hover {
    background-color: #1C4067;
    border-color: #1C4067;
    color: white;
}

/* Blog Page Responsive Design */
@media (max-width: 1200px) {
    .blog-container {
        padding: 0 40px;
    }
    
    .blog-posts-grid {
        gap: 20px;
    }
    
    .blog-carousel {
        max-width: 95%;
    }
    
    .blog-featured-arrows {
        max-width: 95%;
        margin-left: -47.5%;
    }
    
    .blog-featured-arrows .arrow-prev {
        left: -20px;
    }
    
    .blog-featured-arrows .arrow-next {
        right: -20px;
    }
    
    .blog-carousel-prev {
        left: -20px;
    }
    
    .blog-carousel-next {
        right: -20px;
    }
}

@media (max-width: 1024px) {
    .blog-section-title {
        font-size: 36px;
        margin-top: 50px;
    }
    
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 100px;
    }
}

@media (max-width: 768px) {
    .blog-container {
        padding: 0 20px;
    }
    
    .blog-header-section {
        padding: 30px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .blog-section-header-title {
        font-size: 36px;
    }
    
    .blog-main-title {
    }
    
    .blog-featured-section {
        padding: 0;
        padding-bottom: 130px;
    }
    
    .blog-posts-section {
        padding: 30px 0 60px;
    }
    
    .blog-section-header {
        margin-bottom: 30px;
    }
    
    .blog-section-title {
        font-size: 1.5rem;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .blog-posts-section .pagination {
        gap: 0.5rem;
        margin-top: 2rem;
    }
    
    .blog-posts-section .pagination-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        min-width: 40px;
    }
    
    .blog-carousel-prev,
    .blog-carousel-next {
        width: 40px;
        height: 40px;
    }
    
    .blog-carousel-prev {
        left: -15px;
    }
    
    .blog-carousel-next {
        right: -15px;
    }
    
    .blog-carousel-prev img,
    .blog-carousel-next img {
        width: 16px;
        height: 16px;
    }
    
    .blog-featured-arrows {
        position: absolute;
        top: auto;
        bottom: 30px;
        transform: none;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        max-width: 100%;
        margin-left: 0;
        left: 0;
        height: 40px;
    }
    
    .blog-featured-arrows .arrow-button {
        width: 40px;
        height: 40px;
        position: static;
    }
    
    .blog-featured-arrows .arrow-prev {
        left: auto;
    }
    
    .blog-featured-arrows .arrow-next {
        right: auto;
    }
    
    .blog-featured-arrows .arrow-button img {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .blog-container {
        padding: 0 15px;
    }
    
    .blog-header-section {
        padding: 20px 0;
    }
    
    .blog-main-title {
    }
    
    .blog-posts-section {
        padding: 20px 0 40px;
    }
    
    .blog-section-title {
        font-size: 1.3rem;
    }
    
    .blog-posts-grid {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .blog-posts-section .pagination {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 1.5rem;
    }
    
    .blog-posts-section .pagination-btn {
        padding: 0.5rem 0.8rem;
        min-width: 35px;
    }
    
    /* Hide arrows on mobile, show only dots */
    .blog-carousel-prev,
    .blog-carousel-next {
        display: none;
    }
    
    .blog-featured-arrows {
        bottom: -50px;
        gap: 15px;
    }
    
    .blog-featured-arrows .arrow-button {
        width: 35px;
        height: 35px;
    }
    
    .blog-featured-arrows .arrow-button img {
        width: 14px;
        height: 14px;
    }
    
    .blog-carousel .slick-dots {
        bottom: -40px;
    }
    
    .blog-carousel .slick-dots li button {
        width: 10px;
        height: 10px;
    }
}