
:root {
    --tdi-primary: #2b8bd6;
    --tdi-secondary: #ef7f1a;
    --tdi-dark: #0f172a;
}

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
    color: #111827;
}

.topbar {
    background: var(--tdi-dark);
    color: #cbd5e1;
    font-size: .9rem;
}

.topbar a {
    color: #e2e8f0;
    text-decoration: none;
}

.topbar .social a {
    margin-left: .75rem;
    opacity: .8;
}

.topbar .social a:hover {
    opacity: 1;
}

.navbar {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

.navbar-brand img {
    height: 44px;
}

.navbar-brand span {
    font-weight: 700;
    letter-spacing: .5px;
}

.hero {
    background: url('/assets/img/hero-wave.svg') center/cover no-repeat, linear-gradient(135deg, #2b8bd6 0%, #ef7f1a 100%);
    color: #fff;
}

.hero .search-wrap {
    background: rgba(255, 255, 255, .12);
    border-radius: 16px;
    padding: 16px;
    backdrop-filter: blur(6px);
}

.hero .form-control::placeholder {
    color: #e5e7eb;
}

.hero .tag {
    display: inline-block;
    padding: .25rem .5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .2);
    margin: .125rem .25rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
}

.section-title .bar {
    width: 6px;
    height: 24px;
    background: var(--tdi-secondary);
    border-radius: 4px;
}

.card-news .badge {
    position: absolute;
    top: 12px;
    left: 12px;
}

.card-news img {
    max-height: 180px;
    object-fit: cover;
}

.category-card {
    transition: transform .2s ease, box-shadow .2s ease;
    border: 1px solid #e5e7eb;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
}

.footer {
    background: #0b1220;
    color: #94a3b8;
}

.footer a {
    color: #e2e8f0;
    text-decoration: none;
}

.footer h6 {
    color: #fff;
}

.footer .brand img {
    height: 46px;
}

.footer .brand span {
    color: #fff;
    font-weight: 700;
}

.btn-primary {
    --bs-btn-bg: var(--tdi-primary);
    --bs-btn-border-color: var(--tdi-primary);
    --bs-btn-hover-bg: #2479b9;
    --bs-btn-hover-border-color: #2479b9;
}

.btn-outline-primary {
    --bs-btn-color: var(--tdi-primary);
    --bs-btn-border-color: var(--tdi-primary);
    --bs-btn-hover-bg: var(--tdi-primary);
    --bs-btn-hover-border-color: var(--tdi-primary);
}

a {
    color: var(--tdi-primary);
}

a:hover {
    color: #1e6aa2;
}

