
/* G1 Trading Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --g1-red: #c41e3a;
    --g1-dark-red: #9d1629;
    --g1-light-red: #e8344a;
    --g1-gray: #f5f5f5;
    --g1-dark-gray: #333333;
    --g1-light-gray: #666666;
    --g1-border: #dddddd;
    --g1-white: #ffffff;
    --g1-black: #000000;
    --g1-blue: #0066cc;
    --g1-green: #00aa00;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: var(--g1-dark-gray);
    background-color: var(--g1-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.g1-header {
    background: var(--g1-white);
    border-bottom: 3px solid var(--g1-red);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--g1-dark-gray);
    color: var(--g1-white);
    padding: 5px 0;
    font-size: 12px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.separator {
    color: var(--g1-light-gray);
}

.header-social {
    display: flex;
    gap: 15px;
}

.social-link {
    color: var(--g1-white);
    text-decoration: none;
    font-size: 11px;
    text-transform: uppercase;
}

.social-link:hover {
    color: var(--g1-light-red);
}

.header-main {
    padding: 15px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.g1-logo {
    font-family: 'Roboto', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--g1-red);
    text-transform: lowercase;
    letter-spacing: -2px;
}

.logo-subtitle {
    font-size: 16px;
    font-weight: 300;
    color: var(--g1-light-gray);
    margin-left: 5px;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.nav-item {
    color: var(--g1-dark-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    padding: 10px 0;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
    color: var(--g1-red);
    border-bottom-color: var(--g1-red);
}

.search-section {
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-input {
    padding: 8px 12px;
    border: 1px solid var(--g1-border);
    border-radius: 4px;
    font-size: 13px;
    width: 200px;
}

.search-btn {
    background: var(--g1-red);
    color: var(--g1-white);
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.breadcrumb-bar {
    background: var(--g1-gray);
    padding: 8px 0;
    border-top: 1px solid var(--g1-border);
}

.breadcrumb {
    font-size: 12px;
    color: var(--g1-light-gray);
}

.breadcrumb a {
    color: var(--g1-blue);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Main Content */
.main-content {
    padding: 20px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.main-column {
    background: var(--g1-white);
}

/* Featured News */
.featured-news {
    margin-bottom: 30px;
}

.main-article {
    background: var(--g1-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.article-image {
    position: relative;
    height: 300px;
    background: var(--g1-gray);
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--g1-red);
    color: var(--g1-white);
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 2px;
}

.article-content {
    padding: 20px;
}

.article-title {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    color: var(--g1-dark-gray);
}

.article-summary {
    font-size: 16px;
    line-height: 1.5;
    color: var(--g1-light-gray);
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--g1-light-gray);
}

/* Secondary News */
.secondary-news {
    margin-bottom: 30px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.news-card {
    background: var(--g1-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.news-card:hover {
    transform: translateY(-2px);
}

.news-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.card-content {
    padding: 15px;
}

.card-category {
    font-size: 10px;
    font-weight: 600;
    color: var(--g1-red);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--g1-dark-gray);
}

.card-time {
    font-size: 11px;
    color: var(--g1-light-gray);
}

/* News List */
.news-list {
    background: var(--g1-white);
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section-title {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--g1-red);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--g1-red);
}

.news-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--g1-border);
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-time {
    font-size: 12px;
    font-weight: 600;
    color: var(--g1-red);
    min-width: 50px;
}

.news-content h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--g1-dark-gray);
}

.news-content p {
    font-size: 13px;
    color: var(--g1-light-gray);
    line-height: 1.4;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.widget {
    background: var(--g1-white);
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.widget-title {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--g1-red);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--g1-red);
}

/* Market Widget */
.market-data {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.market-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--g1-border);
}

.market-item:last-child {
    border-bottom: none;
}

.market-name {
    font-weight: 600;
    font-size: 13px;
}

.market-value {
    font-weight: 600;
    font-size: 14px;
}

.market-change {
    font-size: 12px;
    font-weight: 600;
}

.market-value.up,
.market-change.up {
    color: var(--g1-green);
}

.market-value.down,
.market-change.down {
    color: var(--g1-red);
}

/* Bullex Widget */
.bullex-content {
    text-align: center;
}

.bullex-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    font-size: 12px;
    color: var(--g1-light-gray);
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--g1-red);
}

.cta-button {
    background: var(--g1-red);
    color: var(--g1-white);
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: var(--g1-dark-red);
}

/* Most Read Widget */
.most-read-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.most-read-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid var(--g1-border);
}

.most-read-item:last-child {
    border-bottom: none;
}

.rank {
    background: var(--g1-red);
    color: var(--g1-white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.read-title {
    font-size: 13px;
    line-height: 1.3;
    color: var(--g1-dark-gray);
}

/* Newsletter Widget */
.newsletter-widget p {
    font-size: 13px;
    color: var(--g1-light-gray);
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 10px;
    border: 1px solid var(--g1-border);
    border-radius: 4px;
    font-size: 13px;
}

.newsletter-form button {
    background: var(--g1-red);
    color: var(--g1-white);
    border: none;
    padding: 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--g1-dark-red);
}

/* Footer */
.g1-footer {
    background: var(--g1-dark-gray);
    color: var(--g1-white);
    padding: 30px 0 20px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--g1-red);
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-section a {
    color: var(--g1-white);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--g1-light-red);
}

.footer-bottom {
    border-top: 1px solid var(--g1-light-gray);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 11px;
    color: var(--g1-light-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav {
        gap: 20px;
        flex-wrap: wrap;
        display: none;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .g1-logo {
        font-size: 36px;
    }
    
    .search-input {
        width: 150px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .header-top .container {
        flex-direction: column;
        gap: 5px;
    }
    
    .article-title {
        font-size: 20px;
    }
    
    .news-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .news-time {
        min-width: auto;
    }
}
