.info-layout {
    display: flex;
    flex-direction: row-reverse;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.news-sidebar {
    flex: 1;
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    color: white;
}

.news-sidebar h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    text-align: center;
    color: white;
}

.news-sidebar article {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.news-sidebar article:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

.news-sidebar h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: white;
}

.news-sidebar p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: white;
    margin: 0;
}

.news-sidebar a {
    text-decoration: none;
    color: rgb(175, 202, 245);
    font-weight: bold;
    transition: color 0.3s ease;
}

.news-sidebar a:hover {
    color: var(--primary-color);
}

.updates a:hover {
    color: var(--primary-color);
}

.info-content {
    flex: 3;
    display: grid;
    grid-template-areas:
        "daily-tip news"
        "professional-info professional-info"
        "research research";
    grid-gap: 2rem;
}

.daily-tip {
    grid-area: daily-tip;
    background-color: var(--primary-color);
    color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    font-size: 20px;
}

.updates {
    grid-area: news;
    background-color: var(--light-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: right;
}

.updates a {
    color: black;
    text-decoration: underline;
}

.updates a:hover {
    color: var(--primary-color);
}

.professional-info {
    grid-area: professional-info;
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.professional-list a {
    text-decoration: none;
    font-size: larger;
    color: black;
    font-weight: bold;
    transition: color 0.3s ease;
}

.professional-list a:hover {
    color: var(--accent-color);
}

.professional-list a:hover mark {
    color: var(--accent-color);
}

.research {
    grid-area: research;
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.research a {
    color: black;
    text-decoration: none;
}

.research a:hover {
    color: var(--primary-color);
}

.important {
    font-weight: bold;
    color: var(--primary-color);
}

.hero {
    text-align: center;
    padding: 6rem 1rem;
    position: relative;
    color: white;
    background: linear-gradient(135deg, var(--primary-color) 30%, var(--accent-color) 70%);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../Images/info_hero.jpg') no-repeat center center/cover;
    opacity: 0.35;
    z-index: 1;
}

.hero h1,
.hero p {
    position: relative;
    z-index: 2;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

h2 {
    margin-bottom: 0.8rem;
    font-size: 1.8rem;
    text-align: center;
}

@media (max-width: 768px) {
    .info-content {
        grid-template-areas:
            "daily-tip"
            "updates"
            "professional-info"
            "research";
    }
}
