* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Lexend", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #F5FAFA;
    color: #1e293b;
    line-height: 1.6;
}

/* Blog Page Wrapper */
.blog-page-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header Section */
.blog-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
}

.blog-header-content {
    max-width: 900px;
    margin: 0 auto;
}

.blog-main-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #2C7A7B;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.blog-subtitle {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.blog-search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.blog-search-input {
    width: 100%;
    height: 50px;
    padding: 0 60px 0 20px;
    border: 1.5px solid #e1e8ed;
    border-radius: 25px;
    font-size: 15px;
    color: #2c3e50;
    background-color: white;
    outline: none;
    transition: all 0.2s ease;
}

.blog-search-input:focus {
    border-color: #4FD1C5;
    box-shadow: 0 0 0 3px rgba(79, 209, 197, 0.1);
}

.blog-search-input::placeholder {
    color: #95a5a6;
}

.blog-search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #2C7A7B;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: white;
}

.blog-search-button:hover {
    background-color: #0e7490;
    transform: translateY(-50%) scale(1.05);
}

/* Featured Article Section */
.featured-article-section {
    margin-bottom: 80px;
}

.featured-article-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-height: 400px;
}

.featured-article-image-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.featured-article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-article-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.featured-article-category {
    font-size: 12px;
    font-weight: 600;
    color: #4FD1C5;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.featured-article-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    line-height: 1.3;
}

.featured-article-author {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.featured-article-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 24px;
}

.featured-article-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4FD1C5;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
}

.featured-article-link:hover {
    color: #2C7A7B;
    gap: 12px;
}

/* Latest Articles Section */
.latest-articles-section {
    margin-bottom: 80px;
}

.latest-articles-header {
    text-align: center;
    margin-bottom: 50px;
}

.latest-articles-title {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.latest-articles-subtitle {
    font-size: 16px;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.article-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.article-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-category {
    font-size: 12px;
    font-weight: 600;
    color: #2C7A7B;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.article-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2C7A7B;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.article-card-link:hover {
    color: #0e7490;
    gap: 12px;
}

.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.load-more-button {
    background-color: #2C7A7B;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.load-more-button:hover {
    background-color: #0e7490;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 122, 123, 0.3);
}

/* Subscription Section */
.subscription-section {
    background-color: #E8F4F4;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    margin-top: 60px;
}

.subscription-content {
    max-width: 600px;
    margin: 0 auto;
}

.subscription-icon {
    font-size: 32px;
    color: #2C7A7B;
    margin-bottom: 20px;
}

.subscription-title {
    font-size: 32px;
    font-weight: 700;
    color: #2C7A7B;
    margin-bottom: 12px;
}

.subscription-subtitle {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 32px;
}

.subscription-form-container {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
    justify-content: center;
}

.subscription-email-input {
    flex: 1;
    height: 50px;
    padding: 0 20px;
    border: 1.5px solid #e1e8ed;
    border-radius: 25px;
    font-size: 15px;
    color: #2c3e50;
    background-color: white;
    outline: none;
    transition: all 0.2s ease;
}

.subscription-email-input:focus {
    border-color: #4FD1C5;
    box-shadow: 0 0 0 3px rgba(79, 209, 197, 0.1);
}

.subscription-email-input::placeholder {
    color: #95a5a6;
}

.subscription-button {
    background-color: #2C7A7B;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.subscription-button:hover {
    background-color: #0e7490;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 122, 123, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .blog-main-title {
        font-size: 2em;
    }

    .featured-article-card {
        grid-template-columns: 1fr;
    }

    .featured-article-image-container {
        min-height: 300px;
    }
    
    .featured-article-image {
        height: 100%;
    }

    .featured-article-content {
        padding: 40px 30px;
    }

    .featured-article-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .blog-page-wrapper {
        padding: 20px 15px;
    }

    .blog-header {
        padding: 30px 15px;
        margin-bottom: 40px;
    }

    .blog-main-title {
        font-size: 1.75em;
    }

    .blog-subtitle {
        font-size: 14px;
    }

    .blog-search-input {
        height: 45px;
        font-size: 14px;
    }

    .blog-search-button {
        width: 35px;
        height: 35px;
    }

    .featured-article-section {
        margin-bottom: 50px;
    }

    .featured-article-content {
        padding: 30px 20px;
    }

    .featured-article-title {
        font-size: 24px;
    }

    .featured-article-description {
        font-size: 14px;
    }

    .latest-articles-title {
        font-size: 28px;
    }

    .latest-articles-subtitle {
        font-size: 14px;
    }

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

    .subscription-section {
        padding: 40px 20px;
    }

    .subscription-title {
        font-size: 24px;
    }

    .subscription-subtitle {
        font-size: 14px;
    }

    .subscription-form-container {
        flex-direction: column;
    }

    .subscription-email-input,
    .subscription-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .blog-main-title {
        font-size: 1.5em;
    }

    .featured-article-image-container {
        min-height: 250px;
    }
    
    .featured-article-image {
        height: 100%;
    }

    .featured-article-title {
        font-size: 20px;
    }

    .latest-articles-title {
        font-size: 24px;
    }

    .article-card-image {
        height: 180px;
    }

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

    .subscription-title {
        font-size: 20px;
    }
}

/* Loading State */
.loading {
    text-align: center;
    padding: 40px;
    color: #64748b;
}

/* No Results State */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.no-results h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #1e293b;
}

.no-results p {
    font-size: 16px;
}

