/* =========================================================================
   POLTESA PORTAL - CUSTOM STYLING
   ========================================================================= */

:root {
    --poltesa-blue: #003366;
    --poltesa-yellow: #ffcc00;
    --poltesa-dark: #1a1a1a;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1 0 auto;
}

/* Custom Palette Overrides */
.bg-primary {
    background-color: var(--poltesa-blue) !important;
}

.text-primary {
    color: var(--poltesa-blue) !important;
}

.btn-primary {
    background-color: var(--poltesa-blue) !important;
    border-color: var(--poltesa-blue) !important;
}

.btn-primary:hover {
    background-color: #002244 !important;
    border-color: #002244 !important;
}

/* Navigation & Hover Effects */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    transition: color 0.2s ease-in-out;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--poltesa-yellow) !important;
}

/* Card Transitions & Typography */
.hover-shadow {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-shadow:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.article-content {
    line-height: 1.8;
    font-size: 1.05rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* Dropdown Custom Style */
.dropdown-menu {
    border: none;
    border-top: 3px solid var(--poltesa-yellow);
}

.dropdown-item:hover {
    background-color: #e9ecef;
    color: var(--poltesa-blue);
}