/* =============================================
   BLOG PAGE STYLES - FULLY RESPONSIVE
   ============================================= */

/* Page Header / Hero Section */
.blog-page-header {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #021936 0%, #0a2a4a 100%);
    overflow: hidden;
}

.blog-page-header__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.12;
}

.blog-page-header__title {
    font-size: 52px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-breadcrumb li {
    color: #0EBD66;
    font-size: 16px;
}

.blog-breadcrumb li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-breadcrumb li a:hover {
    color: #0EBD66;
}

/* Blog Main Section */
.blog-main {
    padding: 80px 0;
    background: #ffffff;
}

/* Blog Grid */
.blog-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Blog Card */
.blog-card {
    flex: 1;
    min-width: calc(33.33% - 20px);
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #0EBD66;
}

.blog-card__image {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.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.05);
}

.blog-card__date {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #0EBD66;
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.blog-card__content {
    padding: 25px;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.blog-card__meta span {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card__meta i {
    color: #0EBD66;
    font-size: 12px;
}

.blog-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-card__title a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card__title a:hover {
    color: #0EBD66;
}

.blog-card__excerpt {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-card__readmore {
    color: #0EBD66;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.blog-card__readmore:hover {
    gap: 12px;
    color: #0a9e55;
}

/* Featured Blog Card */
.blog-card--featured {
    min-width: 100%;
    display: flex;
    margin-bottom: 30px;
}

.blog-card--featured .blog-card__image {
    flex: 1;
    height: auto;
    min-height: 300px;
}

.blog-card--featured .blog-card__content {
    flex: 1;
    padding: 35px;
}

.blog-card--featured .blog-card__title {
    font-size: 28px;
}

/* Sidebar */
.blog-sidebar {
    margin-top: 0;
}

.sidebar-widget {
    background: #f8fafc;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
}

.sidebar-widget__title {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0EBD66;
    display: inline-block;
}

/* Search Widget */
.search-form {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.search-form input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    outline: none;
    font-size: 14px;
}

.search-form button {
    background: #0EBD66;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-form button i {
    color: #ffffff;
    font-size: 16px;
}

.search-form button:hover {
    background: #0a9e55;
}

/* Categories Widget */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.categories-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.categories-list a {
    color: #4a5568;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    transition: color 0.3s ease;
}

.categories-list a:hover {
    color: #0EBD66;
}

.categories-list span {
    color: #0EBD66;
    font-weight: 600;
}

/* Recent Posts Widget */
.recent-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.recent-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post__image {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post__content h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
}

.recent-post__content a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post__content a:hover {
    color: #0EBD66;
}

.recent-post__date {
    font-size: 11px;
    color: #6b7280;
}

/* Tags Widget */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags-cloud a {
    background: #ffffff;
    color: #4a5568;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.tags-cloud a:hover {
    background: #0EBD66;
    color: #ffffff;
    border-color: #0EBD66;
}

/* Newsletter Widget */
.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.newsletter-form button {
    width: 100%;
    background: #0EBD66;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #0a9e55;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    color: #4a5568;
}

.pagination a:hover,
.pagination .active {
    background: #0EBD66;
    color: #ffffff;
    border-color: #0EBD66;
}

/* Section Tag */
.section-tag {
    color: #0EBD66;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.section-title {
    color: #1a202c;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 1199px) {
    .blog-page-header__title {
        font-size: 44px;
    }
    .blog-card {
        min-width: calc(50% - 15px);
    }
    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 991px) {
    .blog-page-header {
        padding: 80px 0;
    }
    .blog-page-header__title {
        font-size: 38px;
    }
    .blog-main {
        padding: 60px 0;
    }
    .blog-card--featured {
        flex-direction: column;
    }
    .blog-card--featured .blog-card__image {
        height: 250px;
    }
    .blog-card--featured .blog-card__title {
        font-size: 22px;
    }
    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .blog-page-header {
        padding: 60px 0;
    }
    .blog-page-header__title {
        font-size: 32px;
    }
    .blog-card {
        min-width: 100%;
    }
    .blog-grid {
        gap: 25px;
    }
    .blog-card__title {
        font-size: 18px;
    }
    .section-title {
        font-size: 24px;
    }
}

@media (max-width: 575px) {
    .blog-page-header__title {
        font-size: 28px;
    }
    .blog-breadcrumb {
        font-size: 14px;
    }
    .blog-card__content {
        padding: 20px;
    }
    .blog-card__meta {
        gap: 10px;
    }
    .blog-card__meta span {
        font-size: 11px;
    }
    .pagination a,
    .pagination span {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
}