/* Blog Section - Swiper Carousel Design */

.blog-section {
    padding: 40px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4a574, transparent);
}

.blog-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4a574, transparent);
}

.blog-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-header {
    text-align: center;
    margin-bottom: 30px;
}

.blog-subtitle {
    font-size: 14px;
    color: #d4a574;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.blog-header h2 {
    font-size: 48px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -1px;
}

.blog-description {
    font-size: 16px;
    color: #888;
    margin: 0;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.blog-content {
    position: relative;
}

/* Blog Slider */
.blog-slider {
    position: relative;
    /* padding-bottom: 50px !important; */
    display: block;
    overflow: visible !important;
}

.swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

/* Blog Entry */
.blog-entry {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    height: 100%;
    border-top: 4px solid #d4a574;
}

.blog-entry:hover {
    box-shadow: 0 10px 40px rgba(212, 165, 116, 0.15);
    transform: translateY(-5px);
}

/* Entry Image */
.entry--img {
    position: relative;
    overflow: hidden;
    height: 240px;
    background: #f5f5f5;
}

.entry--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-entry:hover .entry--img img {
    transform: scale(1.05);
}

/* Entry Content */
.entry--content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.entry--meta {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.entry--meta a {
    color: #d4a574;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry--meta a:hover {
    color: #333;
}

.entry--title {
    margin-bottom: 12px;
}

.entry--title h4 {
    font-size: 18px;
    color: #333;
    margin: 0;
    font-weight: 700;
    line-height: 1.4;
}

.entry--title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry--title a:hover {
    color: #d4a574;
}

/* Entry Bio */
.entry--bio {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

/* Entry Footer */
.entry--footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.entry--date {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Swiper Pagination Styles */
.blog-slider .swiper-pagination {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    display: flex !important;
    gap: 10px !important;
    justify-content: center !important;
    z-index: 10 !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-top: 30px !important;
    padding: 20px 0 !important;
}

.blog-slider .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: #d4a574 !important;
    background-color: #d4a574 !important;
    opacity: 0.5 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    display: inline-block !important;
    margin: 0 5px !important;
}

.blog-slider .swiper-pagination-bullet-active {
    background: #d4a574 !important;
    background-color: #d4a574 !important;
    opacity: 1 !important;
    width: 30px !important;
    border-radius: 6px !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blog-section {
        padding: 40px 0;
    }

    .blog-header h2 {
        font-size: 40px;
    }

    .entry--img {
        height: 220px;
    }

    .entry--title h4 {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 30px 0;
    }

    .blog-header {
        margin-bottom: 25px;
    }

    .blog-header h2 {
        font-size: 32px;
    }

    .blog-description {
        font-size: 14px;
    }

    .entry--img {
        height: 200px;
    }

    .entry--content {
        padding: 20px;
    }

    .entry--title h4 {
        font-size: 15px;
    }

    .entry--bio {
        font-size: 13px;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .blog-section {
        padding: 25px 0;
    }

    .blog-wrapper {
        padding: 0 15px;
    }

    .blog-header h2 {
        font-size: 26px;
        margin-bottom: 8px;
    }

    .blog-header {
        margin-bottom: 20px;
    }

    .blog-subtitle {
        font-size: 12px;
    }

    .blog-description {
        font-size: 13px;
    }

    .entry--img {
        height: 180px;
    }

    .entry--content {
        padding: 15px;
    }

    .entry--meta {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .entry--title h4 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .entry--bio {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .entry--footer {
        padding-top: 10px;
    }

    .entry--date {
        font-size: 10px;
    }

    .blog-slider {
        padding-bottom: 35px;
    }
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-entry {
    animation: slideInUp 0.6s ease-out forwards;
}

.blog-entry:nth-child(1) {
    animation-delay: 0.1s;
}

.blog-entry:nth-child(2) {
    animation-delay: 0.2s;
}

.blog-entry:nth-child(3) {
    animation-delay: 0.3s;
}
