/* CSS riêng của trang index site (frontend/pages/indexSite.tpl) */

.huaf_page_index_site .huaf_site_about {
    margin-bottom: 15px;
    line-height: 1.6;
}

.huaf_page_index_site .huaf_site_journals h2 {
    margin: 15px 0 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.huaf_page_index_site .huaf_site_journals > ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.huaf_page_index_site .huaf_site_journal {
    display: flex;
    gap: 15px;
    padding: 15px;
    border: 1px solid color-mix(in srgb, var(--primary-color) 20%, transparent);
    border-radius: 3px;
    background: #FFF;
}

.huaf_page_index_site .huaf_site_journal_thumb {
    flex: 0 0 140px;
    line-height: 0;
}

.huaf_page_index_site .huaf_site_journal_thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.huaf_page_index_site .huaf_site_journal_body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.huaf_page_index_site .huaf_site_journal_body h3 {
    margin: 0;
    padding: 0;
    font-weight: 700;
    line-height: 1.3;
}

.huaf_page_index_site .huaf_site_journal_body h3 a {
    padding: 0;
    color: var(--primary-color);
    text-decoration: none;
}

.huaf_page_index_site .huaf_site_journal_body h3 a:hover {
    color: var(--primary-darker-color);
    text-decoration: underline;
}

.huaf_page_index_site .huaf_site_journal_description {
    line-height: 1.6;
}

.huaf_page_index_site .huaf_site_journal_links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.huaf_page_index_site .huaf_site_journal_link a {
    padding: 0;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.huaf_page_index_site .huaf_site_journal_link a:hover {
    color: var(--primary-darker-color);
    text-decoration: underline;
}

@media (max-width: 600px) {
    .huaf_page_index_site .huaf_site_journal {
        flex-direction: column;
    }

    .huaf_page_index_site .huaf_site_journal_thumb {
        flex-basis: auto;
        align-self: center;
        width: 100%;
        max-width: 220px;
    }
}
