/* Hero Section */
.hero-section {
    background: #F6F4EF;
    margin: 40px 180px 40px 40px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 0 20px 0 0;
}

.hero-content {
    padding: 80px 0;
}

.hero-image {
    max-height: 700px;
}

.hero-image img {
    width: 100%;
    height: auto;
    min-height: 700px;
    object-fit: cover;
}

.hero-content h1 {
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    /* 28.8px */
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 150px;
}

.hero-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.text-column {
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 140%;
    /* 22.4px */
    letter-spacing: 0.8px;
}

.hero-button {
    display: inline-block;
    background: transparent;
    color: black;
    padding: 8px 12px;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease;
    border: 1px solid #000;
}

.hero-button:hover {
    background: #555;
    color: white;
}

/* Articles Section */

.articles-section {
    padding: 80px 0;
    background: #000;
    color: white;
}

.articles-container {
    padding: 0 180px 0 40px;
}

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

.section-title {
    font-size: 2rem;
    margin-bottom: 50px;
    color: white;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.article-card {
    /* background: #111; */
    overflow: hidden;
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-10px);
}

.card-medium-top,
.card-large-right {
    margin-top: 30px;
}

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

.article-content {
    padding: 20px 20px 20px 0;
}

.article-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-title a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    /* 21.6px */
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.article-title a:hover {
    opacity: 0.8;
}

.article-excerpt {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #ccc;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: #999;
}

.article-date {
    color: #999;
}

.article-category {
    background: #333;
    color: #fff;
    padding: 2px 8px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s ease;
}

.article-link:hover {
    border-bottom: 1px solid #fff;
}

.load-more-container {
    text-align: center;
}

.load-more-btn {
    background: transparent;
    color: white;
    border: none;
    border-bottom: 1px solid white;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.8px;
}

.load-more-btn:hover {
    transform: translateY(-5px);

}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    margin: 40px 180px 40px 40px;
    background: #f8f8f8;
}

.newsletter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 0 20px;
}

.newsletter-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 600px;
}

.newsletter-text-content {
    text-align: center;
}

.newsletter-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.newsletter-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: black;
}

.newsletter-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: black;
    margin-bottom: 30px;
    margin-top: 100px;
    width: 75%;
    text-align: center;
    margin: 0px auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.form-group input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    border: none;
    background-color: transparent;
    border-bottom: 1px solid black;
    font-size: 0.9rem;
}

.subscribe-btn {
    background: transparent;
    color: black;
    border: none;
    padding: 12px 25px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.3s ease;
    border: 1px solid #000;
    max-width: 200px;
    margin-left: auto;
}

.subscribe-btn:hover {
    background: #555;
    color: #ddd;
}

.newsletter-note p {
    margin-top: 200px;
    font-size: 0.8rem;
    color: black;
    line-height: 1.4;
}

.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    padding: 40px 0;
}

/* Load More AJAX Functionality */
.load-more-btn.loading {
    opacity: 0.6;
    cursor: not-allowed;
}

.load-more-btn.loading:after {
    content: '...';
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
    margin: 40px 40px 40px 40px;
}

.newsletter-section {
    margin: 40px 40px 40px 40px;
}

.articles-container {
    padding: 0 40px 0 40px;
}


    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding-right: 0;
    }

    .hero-content {
    padding: 40px;
}

    .hero-text {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

    .card-medium-top,
.card-large-right {
    margin-top: 0px;
}

    .newsletter-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .form-group {
        flex-direction: column;
    }
}