.home-page {
    padding-bottom: 80px;
}

/* Hero */
.hero-area {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 30px;
    gap: 40px;
}

.hero-text {
    flex: 0 0 58%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-media {
    flex: 0 0 38%;
    display: flex;
    justify-content: flex-end;
}

.hero-text h2,
.hero-text h3,
.hero-text h4 {
    color: #000;
    font-size: 44px;
    font-weight: 300;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 10px;
}

.hero-text b {
    color: #5E4DA7;
    font-weight: 700;
}

.hero-text p {
    margin-top: 5px;
    margin-bottom: 10px;
}

.hero-action-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.hero-action-link a {
    color: #5E4DA7;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.15s;
}

.hero-action-link a:hover {
    text-decoration: underline;
}

.hero-action-link i {
    color: #5E4DA7;
    font-size: 18px;
}

.hero-media img {
    width: 100%;
    max-height: 380px;
    border-radius: 16px;
    object-fit: cover;
    object-position: right;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}

@media (max-width: 768px) {
    .hero-text h2, .hero-text h3, .hero-text h4 {
        font-size: 28px;
    }
    .hero-area {
        flex-direction: column-reverse;
    }
}

/* Search */
.search-section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(94, 77, 167, 0.10);
    padding: 36px 40px;
    margin-bottom: 60px;
    text-align: center;
}

.search-section h2 {
    color: #5E4DA7;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
}

.search-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

@media (max-width: 576px) {
    .search-form {
        flex-direction: column;
    }

    .search-form input[type="text"] {
        max-width: 100%;
    }

    .search-button {
        width: 100%;
    }
}

.search-form input[type="text"] {
    border-radius: 10px;
    border: 1.5px solid #d0cce8;
    background: #fafafa;
    width: 100%;
    max-width: 460px;
    padding: 12px 18px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-form input[type="text"]:focus {
    border-color: #5E4DA7;
    box-shadow: 0 0 0 3px rgba(94, 77, 167, 0.12);
}

.search-button {
    background-color: #5E4DA7;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.search-button:hover {
    background-color: #4a3c8c;
}

/* News section */
.news-section {
    margin-bottom: 40px;
}

.news-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 2px solid #ede9f7;
    padding-bottom: 10px;
    margin-bottom: 24px;
}

.news-section-header h2 {
    color: #5E4DA7;
    font-size: 28px;
    font-weight: 600;
    margin: 0;
}

.see-all-link {
    color: #5E4DA7;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.see-all-link:hover {
    text-decoration: underline;
}

/* News preview card */
.news-preview-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid #f0edf9;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s;
    border-radius: 8px;
}

.news-preview-card:last-of-type {
    border-bottom: none;
}

.news-preview-card:hover {
    background-color: #f9f8fd;
    padding-left: 8px;
}

.news-preview-image {
    width: 140px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.news-preview-body {
    flex: 1;
}

.news-preview-body h3 {
    color: #1a1a2e;
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.news-preview-date {
    color: #5E4DA7;
    font-size: 13px;
    margin: 0 0 8px 0;
}

.news-preview-intro {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.news-section-footer {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.all-news-button {
    background-color: #5E4DA7;
    color: #fff;
    padding: 12px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
}

.all-news-button:hover {
    background-color: #4a3c8c;
    color: #fff;
}
