﻿html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'SFPro-Regular', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'SFPro-Bold', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

p, span, small {
    font-family: 'SFPro-Regular', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.btn-news-selected {
    background-color: #fbbf24;
    color: #ffffff !important;
    border: none;
    border-radius: 999px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    font-family: 'SFPro-Semibold', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

    .btn-news-selected:hover {
        background-color: #fbbf24;
        opacity: 0.9;
    }

.btn-news-outline {
    background-color: transparent;
    border: 2px solid #fbbf24;
    color: #fbbf24;
    border-radius: 999px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-family: 'SFPro-Semibold', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

    .btn-news-outline:hover {
        background-color: #fbbf24;
        color: #ffffff;
    }

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px 24px;
    margin-top: 24px;
}

.card {
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
    height: 100%;
}

.card-img-top {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.card-body {
    display: flex;
    flex-direction: column;
    padding: 16px;
    flex-grow: 1;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
    font-family: 'SFPro-Semibold', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.card-text {
    font-size: 16px;
    color: #374151;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'SFPro-Regular', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.badge-news-source {
    background-color: #fee7b9;
    color: #000000;
    font-size: 13px;
    font-weight: 500 !important;
    border-radius: 8px;
    padding: 8px 14px;
    margin-bottom: 8px;
    display: inline-block;
    width: fit-content;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.custom-rounded {
    border-radius: 13px;
}
