/*
Theme Name: RTI
Theme URI: https://rtiinteligente.com.br
Author: Guilherme Figueira
Author URI: https://rtiinteligente.com.br
Description: Tema exclusivo desenvolvido para a consultoria RTI Inteligente - Focado em Reforma Tributária.
Version: 1.0.1
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: rti
*/

:root {
    /* Color Palette - Light Premium */
    --bg-body: #FFFFFF;
    --bg-soft: #F8F9FA;
    --text-dark: #0B121E;
    /* Deep Navy/Black */
    --text-gray: #4A5568;
    /* Slate Gray */
    --accent-gold: #C5A065;
    /* Premium Gold */
    --accent-gold-dark: #B08D55;
    --color-border: #E2E8F0;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --spacing-md: 16px;
    --spacing-xl: 64px;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-body);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-gold);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn,
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
}

.btn-gold,
.btn-primary {
    background-color: var(--accent-gold);
    color: white;
}

.btn-gold:hover,
.btn-primary:hover {
    background-color: var(--accent-gold-dark);
    color: white;
}

.btn-outline {
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--text-dark);
    color: white;
}

.btn-outline-gold {
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    background: transparent;
}

.btn-outline-gold:hover {
    background-color: var(--accent-gold);
    color: white;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 0;
    /* Let news ticker handle border */
    padding: 10px 0;
    /* Making header slightly thinner to match elegance */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0;
}

.site-title a {
    color: var(--text-dark);
}

.site-title span {
    color: var(--accent-gold);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.main-navigation a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.main-navigation a:hover {
    color: var(--accent-gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* News Ticker (Below Header, Thin and Sticky) */
.news-ticker {
    background-color: #FDFCE4;
    /* Very soft yellow */
    border-bottom: 1px solid #E8E5B1;
    /* Subtle delimiter */
    border-top: 1px solid #E8E5B1;
    /* Subtle delimiter */
    padding: 3px 0;
    /* Extremely thin */
    font-size: 0.8rem;
    text-align: center;
    color: var(--text-dark);
    position: sticky;
    top: 61px;
    /* Sticks right below the header (10px padding * 2 + logo height) */
    z-index: 999;
    /* Just below header */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    /* Subtle separation from content below */
}

.news-ticker a {
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: underline;
}

.news-ticker a:hover {
    color: var(--text-dark);
}

/* WP Admin Bar Sticky Adjustments */
.admin-bar .site-header {
    top: 32px;
}

.admin-bar .news-ticker {
    top: 93px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }

    .admin-bar .news-ticker {
        top: 107px;
    }
}

/* Hero Section with Carousel Background */
.hero {
    padding: 120px 0 140px;
    /* Increased padding for impact */
    position: relative;
    overflow: hidden;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeCarousel 15s infinite;
}

/* CSS Animation Delays for Crossfade */
.hero-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 5s;
}

.hero-slide:nth-child(3) {
    animation-delay: 10s;
}

@keyframes fadeCarousel {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    10% {
        opacity: 1;
    }

    33% {
        opacity: 1;
        transform: scale(1.05);
    }

    /* Subtle zoom effect */
    43% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 18, 30, 0.75);
    /* Dark Navy overlay */
    z-index: 1;
}

.hero-portal-container {
    display: flex;
    gap: 40px;
    align-items: center;
}

.hero-main-content {
    flex: 0 0 58%;
    /* Roughly 60% */
}

/* Glassmorphic Portal Sidebar */
.hero-news-sidebar {
    flex: 0 0 38%;
    /* Roughly 40% */
    background: rgba(11, 18, 30, 0.65);
    /* Deep navy translucent */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.hero-news-header h3 {
    color: var(--accent-gold);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.hero-news-header a {
    color: #E2E8F0;
    font-size: 0.8rem;
    text-decoration: underline;
}

.hero-news-header a:hover {
    color: #FFFFFF;
}

.hero-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-news-item {
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
    transition: 0.3s;
}

.hero-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hero-news-item:hover {
    transform: translateX(5px);
}

.hero-news-item .news-date {
    display: block;
    color: var(--accent-gold);
    font-size: 0.75rem;
    margin-bottom: 5px;
}

.hero-news-item h4 {
    color: #FFFFFF;
    font-size: 1.05rem;
    line-height: 1.4;
    font-weight: 500;
}

.hero-news-item:hover h4 {
    color: #E2E8F0;
}

@media screen and (max-width: 992px) {
    .hero-portal-container {
        flex-direction: column;
    }

    .hero-main-content,
    .hero-news-sidebar {
        flex: 0 0 100%;
        width: 100%;
    }

    .hero-news-sidebar {
        margin-top: 40px;
    }
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #FFFFFF;
    /* White text over dark overlay */
}

.hero h1 span {
    color: var(--accent-gold);
}

.hero p {
    font-size: 1.2rem;
    color: #E2E8F0;
    /* Soft gray/white */
    margin-bottom: 30px;
}

.btn-outline-light {
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    display: inline-block;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    background: transparent;
    cursor: pointer;
    transition: 0.3s;
}

.btn-outline-light:hover {
    background-color: #FFFFFF;
    color: var(--text-dark);
}

/* Stats Section */
.stats-bar {
    background: var(--text-dark);
    color: white;
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 20px;
}

.stat-item h3 {
    color: var(--accent-gold);
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Consulting Section (4-column Grid) */
.consulting-section {
    padding: 100px 0;
    background: #F8F9FA;
}

.consulting-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.consulting-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s ease;
}

.consulting-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
}

.consulting-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.consulting-content {
    padding: 30px 20px;
    flex-grow: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.consulting-content h3 {
    font-size: 1.25rem;
    color: #365D52;
    /* Sophisticated dark green based on reference */
    margin-bottom: 15px;
    line-height: 1.3;
}

.consulting-content p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Solid Consulting Card (CTA) */
.consulting-solid {
    background: var(--text-dark);
    /* Dark Navy/Black for contrast */
    border: none;
    color: #FFFFFF;
}

.consulting-solid .consulting-content h3 {
    color: var(--accent-gold);
    /* Gold title */
    font-size: 1.5rem;
}

.consulting-solid .consulting-content p {
    color: #E2E8F0;
}

.consulting-solid:hover {
    background: #000000;
    /* Darker black on hover */
    box-shadow: 0 15px 30px rgba(197, 160, 101, 0.2);
    /* Subtle gold shadow */
}

/* Services Grid */
.services {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-gray);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.card {
    background: white;
    padding: 40px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-bottom: 5px solid var(--accent-gold);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 25px;
    color: var(--accent-gold);
    font-size: 1.5rem;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.card-link {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Glossary Section */
.glossary-section {
    background: var(--text-dark);
    padding: 80px 0;
}

.glossary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.glossary-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 6px;
    display: block;
    border-left: 3px solid transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.glossary-item:hover {
    border-left-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.glossary-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.glossary-item p {
    font-size: 0.85rem;
    color: #E2E8F0;
    margin-bottom: 15px;
}

.glossary-item span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-gold);
}

/* News Portal Layout (75/25 Split) */
.news-portal-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.news-portal-main {
    flex: 0 0 70%;
    max-width: 70%;
}

.news-portal-sidebar {
    flex: 0 0 calc(30% - 40px);
    max-width: calc(30% - 40px);
    position: sticky;
    top: 60px;
    /* Keep the Instagram feed in view while scrolling news */
}

.news-portal-header {
    border-bottom: 2px solid var(--text-dark);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.news-portal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Portal Grid Item (Card Layout) */
.portal-grid-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.portal-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    border-color: rgba(197, 160, 101, 0.3);
}

.portal-grid-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    height: 100%;
}

.portal-grid-img {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid var(--accent-gold);
}

.portal-grid-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portal-grid-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.portal-category {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portal-date {
    color: var(--text-gray);
    font-weight: 400;
}

.portal-grid-title {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
    transition: 0.3s;
}

.portal-grid-item:hover .portal-grid-title {
    color: var(--accent-gold);
}

.btn-outline-dark {
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    background: transparent;
    padding: 10px 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    transition: 0.3s;
    display: inline-block;
}

.btn-outline-dark:hover {
    background: var(--text-dark);
    color: #FFFFFF;
}

/* Instagram Sidebar Widget */
.instagram-widget {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.instagram-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.instagram-follow-btn {
    background: #E1306C;
    color: white;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    transition: 0.3s;
}

.instagram-follow-btn:hover {
    background: #C13584;
    /* Darker Insta color */
    color: white;
}

/* Instagram Carousel Styles */
.instagram-carousel-wrapper:hover #insta-prev,
.instagram-carousel-wrapper:hover #insta-next {
    opacity: 1;
}

#insta-prev,
#insta-next {
    opacity: 0;
    transition: opacity 0.3s, background 0.3s;
}

#insta-prev:hover,
#insta-next:hover {
    background: #FFFFFF !important;
    color: #E1306C !important;
}

.insta-slide {
    text-decoration: none;
}

.insta-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s;
    z-index: 1;
    pointer-events: none;
}

.insta-slide:hover::after {
    background: rgba(0, 0, 0, 0.2);
}

.insta-slide>div {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Single Post Typography & Content Formatting
   ========================================================================== */
.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.entry-content h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 2rem;
    padding-left: 20px;
}

.entry-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.entry-content blockquote {
    background: #F8F9FA;
    border-left: 5px solid var(--accent-gold);
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-dark);
    border-radius: 0 8px 8px 0;
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

/* ==========================================================================
   Responsive adjustments for portal
   ========================================================================== */
@media screen and (max-width: 992px) {
    .news-portal-container {
        flex-direction: column;
    }

    .news-portal-main,
    .news-portal-sidebar {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .news-portal-sidebar {
        margin-top: 40px;
        position: static;
    }

    .news-portal-grid {
        grid-template-columns: 1fr;
    }
}

.news-list-item:hover {
    background: var(--bg-soft);
    border-left-color: var(--accent-gold);
    transform: translateX(5px);
}

.news-list-item .news-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.news-list-item h4 {
    font-size: 1.05rem;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.news-read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-gold);
}

.news-list-item:hover .news-read-more {
    color: var(--text-dark);
}

/* Legislações specific style */
.news-list-item.legis-item {
    border-left: 3px solid var(--accent-gold);
    background: #FFFFFF;
}

.news-list-item.legis-item:hover {
    background: var(--bg-soft);
}

/* Alternate Style for Articles */
.news-list-item.style-alt {
    background: transparent;
    border-bottom: 1px solid #E2E8F0;
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
    box-shadow: none;
}

.news-list-item.style-alt:hover {
    border-bottom-color: var(--accent-gold);
    background: transparent;
}

/* Footer */
.site-footer {
    background-color: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-col p {
    color: #A0AEC0;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid #2D3748;
    padding-top: 20px;
    text-align: center;
    color: #718096;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
    }

    .main-navigation ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .stats-grid,
    .card-grid,
    .consulting-grid,
    .glossary-grid,
    .news-3col-grid,
    .magazine-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 30px 20px;
    }

    .container {
        padding: 0 20px;
    }
}

/* ==========================================================================
   WP Customer Area - Premium Dashboard Customization
   ========================================================================== */

/* Overriding the default body/page background */
body.cuar-page,
body.customer-area {
    background-color: var(--primary-color) !important;
}

/* Base text color for the entire dashboard area */
.cuar-page .site-main,
.customer-area .site-main {
    color: #E2E8F0;
    padding-top: 50px;
    padding-bottom: 80px;
}

/* Page Titles (Dashboard title, section titles) */
.cuar-page h1,
.customer-area h1,
.cuar-page .cuar-title,
.cuar-page h2 {
    color: #FFFFFF !important;
    font-family: var(--font-heading) !important;
    margin-bottom: 25px;
}

/* Clean up the breadcrumbs or sub-navigation */
.cuar-page .dropdown-menu {
    background-color: #0F2547 !important;
}

/* Customer Area Blocks/Cards (e.g. Dashboard blocks, file lists) */
.cuar-page .cuar-block,
.customer-area .cuar-block,
.cuar-page .cuar-item-list>li,
.cuar-page .cuar-content,
.cuar-page .panel-default,
.cuar-page .panel {
    background-color: #0F2547 !important;
    /* Slightly lighter navy for cards */
    border: 1px solid var(--accent-gold) !important;
    border-radius: 8px !important;
    padding: 25px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    color: #E2E8F0 !important;
}

/* Fix the large white/gray wrap around the dashboard content */
.cuar-page .page-content,
.cuar-page article,
.cuar-page .cuar-body,
.cuar-page .cuar-wrapper,
.cuar-page .container {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

/* Force Panel Headers to not use plugin gray */
.cuar-page .panel-heading,
.cuar-block .panel-heading {
    background-color: transparent !important;
    border-color: rgba(197, 160, 101, 0.3) !important;
}

.cuar-page .panel-title,
.cuar-page .panel-title a {
    color: var(--accent-gold) !important;
    font-family: var(--font-heading) !important;
}

/* Override plugin's dark mode vars */
:root {
    --cuar-panel-bg: #0F2547 !important;
    --cuar-panel-border: var(--accent-gold) !important;
    --cuar-text-color: #E2E8F0 !important;
    --cuar-heading-color: #FFFFFF !important;
}

/* Translating English Menu via CSS Content (Hack for the free plugin) */
.cuar-menu>li>a>span.hidden-xs {
    display: none !important;
}

.cuar-menu>li>a[href*="dashboard"]::after {
    content: "Painel";
}

.cuar-menu>li>a[href*="customer-files"]::after {
    content: "Arquivos";
}

.cuar-menu>li>a[href*="customer-pages"]::after {
    content: "Páginas";
}

.cuar-menu>li>a[href*="account"]::after {
    content: "Minha Conta";
}

.cuar-menu>li>a::after {
    font-weight: 600;
    text-transform: uppercase;
}

/* Headings inside blocks get the gold accent */
.cuar-page .cuar-block h3,
.cuar-page .panel-heading,
.cuar-page .cuar-content h2,
.cuar-page .cuar-content h3 {
    color: var(--accent-gold) !important;
    border-bottom: 1px solid rgba(197, 160, 101, 0.3) !important;
    padding-bottom: 15px !important;
    margin-bottom: 20px !important;
    background: transparent !important;
}

/* Links inside Customer Area */
.cuar-page a,
.customer-area a {
    color: var(--accent-gold) !important;
    font-weight: 600;
}

.cuar-page a:hover,
.customer-area a:hover {
    color: #FFFFFF !important;
}

/* Buttons inside the dashboard (Pagination, download links, etc.) */
.cuar-page .btn,
.customer-area .btn {
    background-color: var(--accent-gold) !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
}

.cuar-page .btn:hover,
.customer-area .btn:hover {
    background-color: var(--accent-gold-dark) !important;
}

/* Dashboard Navigation Tabs generated by the plugin */
.cuar-menu {
    background-color: transparent !important;
    border: none !important;
    margin-bottom: 30px !important;
}

.cuar-menu>li>a {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #FFFFFF !important;
    border-radius: 4px !important;
    margin-right: 10px !important;
    border: 1px solid rgba(197, 160, 101, 0.2) !important;
    padding: 10px 20px !important;
}

.cuar-menu>li.active>a,
.cuar-menu>li>a:hover {
    background-color: var(--accent-gold) !important;
    color: #0A192F !important;
    border-color: var(--accent-gold) !important;
}

/* Hide the default empty content notice if it's too bright */
.cuar-no-content {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #E2E8F0 !important;
    border: 1px dashed var(--accent-gold) !important;
    padding: 30px !important;
    text-align: center;
    border-radius: 8px;
}