@font-face {
    font-family: 'Lato';
    src: url('/front/assets/fonts/Lato/Lato-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('/front/assets/fonts/Lato/Lato-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-family-primary: 'Lato', sans-serif;
    --font-family-secondary: 'Lato', sans-serif;
    --font-heading-family: 'Lato', sans-serif;
    --font-display-family: 'Lato', sans-serif;
    --font-text-family: 'Lato', sans-serif;
}

body {
    font-family: 'Lato', sans-serif !important;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.news-row-title,
.section-title,
.section-header h2,
.block-header h2,
.card-title,
.opinion-card h2 {
    font-family: 'Lato', sans-serif !important;
}

.btn-primary,
.bg-primary {
    background-color: #0155ee !important;
    color: #fff;
}

.news-detail-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    background: white;
    margin-top: -100px;
    position: relative;
    z-index: 3;
}

.news-sidebar {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
}

.news-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin: 25px 0;
    font-style: italic;
    color: #555;
}

.latest-news-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.latest-news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.latest-news-img {
    width: 100px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
}

.latest-news-content {
    flex: 1;
}

.latest-news-title {
    font-size: 18px;
    color: black;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.latest-news-title:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.latest-news-date {
    font-size: 0.8rem;
    color: #6c757d;
}

@media (max-width: 768px) {
    .news-detail-card {
        margin-top: -50px;
    }

    .latest-news-item {
        flex-direction: column;
    }

    .latest-news-img {
        width: 100%;
        height: 150px;
        margin-right: 0;
        margin-bottom: 15px;
    }
}

.opinion-blog,
.opinion-blog h2,
.opinion-blog h2 a,
.opinion-blog p,
.opinion-chip,
.opinion-meta,
.opinion-read-more,
.opinion-author {
    font-family: 'Lato', sans-serif !important;
}

.opinion-blog h2,
.opinion-blog h2 a {
    font-weight: 700;
}
