/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* Container to handle multiple cities */
.gold-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* responsive grid */
    gap: 30px;
    font-family: 'Inter', sans-serif;
}

/* The Card */
.gold-modern-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.gold-modern-card:hover {
    transform: translateY(-5px);
}

/* Badge */
.g-badge-container {
    margin-bottom: 15px;
}
.g-live-badge {
    background: #FFEDD5; /* Orange-ish bg */
    color: #9A3412;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
}

/* Title */
.g-title {
    font-size: 1.1rem;
    color: #4b5563;
    font-weight: 500;
    margin: 0 0 10px 0;
}

/* Hero Section (Price + Pill) */
.g-hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap; /* Wraps on mobile */
}

.g-big-price {
    font-size: 3rem; /* Huge font like image */
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

.g-change-pill {
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Green/Red States */
.g-change-pill.g-green { background: #DCFCE7; color: #16A34A; }
.g-change-pill.g-red { background: #FEE2E2; color: #DC2626; }

/* Last Updated */
.g-updated {
    font-size: 0.85rem;
    color: #9CA3AF;
    margin-bottom: 25px;
}

/* Divider */
.g-divider {
    border: 0;
    border-top: 1px solid #F3F4F6;
    margin: 20px 0;
}

/* Footer Stats Grid */
.g-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    text-align: center;
}

/* Stat Labels */
.g-stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 5px;
}
.g-label-green { color: #16A34A; }
.g-label-red { color: #DC2626; }
.g-label-grey { color: #4B5563; }

/* Stat Values */
.g-stat-value {
    font-size: 1.2rem;
    font-weight: 700;
}
.g-val-green { color: #16A34A; }
.g-val-red { color: #DC2626; }
.g-val-grey { color: #111827; }

/* Mobile Adjustments */
@media (max-width: 768px) {
    .g-hero-section { flex-direction: column; gap: 5px; }
    .g-big-price { font-size: 2.5rem; }
    .g-stats-grid { font-size: 0.8rem; }
}

/* Container - Limits width and hides overflow */
.currency-marquee-wrapper {
    width: 100%; /* Or set a max-width like 1280px */
    overflow: hidden;
    background: #000; /* Omillionaire Black? */
    color: #fff;
    padding: 10px 0;
    white-space: nowrap;
    position: relative;
    font-family: 'Poppins', sans-serif; /* Use your site font */
}

/* The Track - Moves the items */
.currency-marquee-track {
    display: inline-block;
    animation: marqueeScroll 20s linear infinite;
}

/* Individual Currency Item */
.currency-item {
    display: inline-block;
    padding: 0 20px;
    font-size: 14px;
}

.currency-item strong {
    color: #ffd700; /* Gold color for currency code */
}

/* The Animation */
@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move left by 50% because we duplicated the content in PHP */
        transform: translateX(-50%);
    }
}

/* Pause on Hover (UX Best Practice) */
.currency-marquee-wrapper:hover .currency-marquee-track {
    animation-play-state: paused;
}