/* RC Portal Custom Styles */

/* Base background */
body, [data-bs-theme="light"] body {
    background-color: #f7f7f7 !important;
    font-family: 'Montserrat', sans-serif !important;
}

/* Secondary Action accents */
.btn-success, .bg-success {
    background-color: #6be536 !important;
    border-color: #6be536 !important;
    color: #100d0d !important;
}

.text-success { color: #6be536 !important; }

/* Topbar White */
.topbar {
    background: #ffffff;
    border-bottom: 0;
}
.left-logo img {
    padding: 10px 0;
}

/* RC Gradient Menu */
.rc-gradient-menu {
    background: linear-gradient(90deg, #9b28b0 0%, #17c628 30%, #17c628 100%);
    border: none !important;
}
.rc-search-form {
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 2px 10px;
}
.rc-search-form input::placeholder {
    color: #ffffff;
    opacity: 0.8;
}
.rc-search-form input:focus {
    box-shadow: none;
    background: transparent;
}
.rc-accessibility-btn {
    background: #118cff !important;
    border: none;
    transition: all 0.3s;
}
.rc-accessibility-btn:hover {
    transform: scale(1.05);
}

/* Ticker Bar */
.rc-ticker-bar {
    background-color: #d35400; /* Laranja escuro */
    font-family: 'Poppins', sans-serif;
}

/* Hero Section / Featured Layout overrides */
.rc-hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    height: 500px;
}
@media (max-width: 991px) {
    .rc-hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
    }
}
.rc-hero-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}
.rc-hero-item.main-item {
    grid-row: span 2;
}
.rc-hero-item.sub-item-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.rc-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.rc-hero-item:hover .rc-hero-img {
    transform: scale(1.03);
}
.rc-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    padding: 30px 20px 20px;
    color: white;
}
.rc-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 5px;
}
.rc-hero-title a {
    color: white !important;
    text-decoration: none;
}
.rc-hero-cat {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    position: absolute;
    top: 15px;
    left: 15px;
}
.rc-hero-cat.bg-blue { background-color: #276495; color: white; }
.rc-hero-cat.bg-blue-light { background-color: #0d6efd; color: white; }
.rc-hero-cat.bg-brown { background-color: #8c5a4f; color: white; }

/* Color Blocks for Categories */
/* ÚLTIMAS (Salmão) */
.cat-block-salmao {
    background-color: #f77062 !important; /* Salmão/Coral */
    color: white !important;
    padding: 30px;
    border-radius: 12px;
}
.cat-block-salmao .section-title, 
.cat-block-salmao .post-title,
.cat-block-salmao .post-meta,
.cat-block-salmao a {
    color: white !important;
}

/* ECONOMIA (Magenta) */
.cat-block-magenta {
    background-color: #de50f7 !important; /* Magenta vibrante */
    color: white !important;
    padding: 30px;
    border-radius: 12px;
}
.cat-block-magenta .section-title, 
.cat-block-magenta .post-title,
.cat-block-magenta .post-meta,
.cat-block-magenta a {
    color: white !important;
}

/* Weather Widget Base */
.weather-widget {
    background-color: #006aff;
    color: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}
