/* Global Markets - Financial Terminal Style */
/* Font: Consolas/Monaco monospace ONLY. Colors: Black #000, Red #dc2626, White, Dark gray #1a1a1a */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Consolas', 'Monaco', 'Lucida Console', 'Courier New', monospace;
    line-height: 1.55;
    color: #d4d4d4;
    background: #000000;
    font-size: 14px;
}

a {
    color: #d4d4d4;
    text-decoration: none;
    transition: color 0.15s;
}

a:hover {
    color: #dc2626;
}

/* ---------- RED LINE + BLACK NAV ---------- */
.gm-redline {
    height: 3px;
    background: #dc2626;
}

.gm-nav {
    background: #000;
    border-bottom: 1px solid #262626;
    padding: 0 24px;
}

.gm-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
}

.gm-brand {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gm-nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
}

.gm-nav-links a {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #737373;
    font-weight: 500;
}

.gm-nav-links a:hover {
    color: #fff;
}

.gm-nav-links a.active {
    color: #dc2626;
}

/* ---------- TICKER BAR ---------- */
.gm-ticker {
    background: #0a0a0a;
    border-bottom: 1px solid #1a1a1a;
    padding: 10px 24px;
    overflow: hidden;
}

.gm-ticker-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    gap: 32px;
    font-size: 0.78rem;
    color: #a3a3a3;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.gm-ticker-inner .gm-up {
    color: #22c55e;
}

.gm-ticker-inner .gm-down {
    color: #dc2626;
}

.gm-ticker-inner span {
    color: #737373;
}

/* ---------- HEADLINE AREA (no traditional hero) ---------- */
.gm-headline {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 24px 20px;
    border-bottom: 1px solid #1a1a1a;
}

.gm-headline h1 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}

.gm-headline .gm-datestamp {
    font-size: 0.72rem;
    color: #525252;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- 4-COLUMN DENSE GRID ---------- */
.gm-grid-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 24px;
}

.gm-grid-section .gm-section-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #dc2626;
    font-weight: 700;
    margin-bottom: 12px;
}

.gm-dense-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid #262626;
}

.gm-cell {
    padding: 12px 14px;
    border-right: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
    background: #0a0a0a;
    transition: background 0.15s;
}

.gm-cell:hover {
    background: #141414;
}

.gm-cell:nth-child(4n) {
    border-right: none;
}

.gm-cell .gm-cat {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #dc2626;
    font-weight: 600;
    margin-bottom: 4px;
}

.gm-cell h3 {
    font-size: 0.82rem;
    font-weight: 600;
    color: #e5e5e5;
    line-height: 1.35;
    margin-bottom: 4px;
}

.gm-cell h3 a {
    color: #e5e5e5;
}

.gm-cell h3 a:hover {
    color: #dc2626;
}

.gm-cell .gm-celldate {
    font-size: 0.65rem;
    color: #525252;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---------- FEATURED ARTICLES (wider cards) ---------- */
.gm-featured {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 24px 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.gm-feat-card {
    background: #1a1a1a;
    border-top: 3px solid #dc2626;
    padding: 20px;
}

.gm-feat-card .gm-ftag {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #dc2626;
    font-weight: 600;
    margin-bottom: 8px;
}

.gm-feat-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 8px;
}

.gm-feat-card h3 a {
    color: #fff;
}

.gm-feat-card h3 a:hover {
    color: #dc2626;
}

.gm-feat-card p {
    font-size: 0.8rem;
    color: #a3a3a3;
    line-height: 1.55;
}

/* ---------- COVERAGE SECTION ---------- */
.gm-coverage {
    border-top: 1px solid #1a1a1a;
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 24px;
}

.gm-coverage .gm-section-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #dc2626;
    font-weight: 700;
    margin-bottom: 16px;
}

.gm-cov-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid #262626;
}

.gm-cov-cell {
    padding: 16px 18px;
    border-right: 1px solid #1a1a1a;
    background: #0a0a0a;
}

.gm-cov-cell:last-child {
    border-right: none;
}

.gm-cov-cell h3 {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.gm-cov-cell p {
    font-size: 0.78rem;
    color: #737373;
    line-height: 1.55;
}

/* ---------- ABOUT: TERMINAL DIRECTORY ---------- */
.gm-about-header {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 24px;
    border-bottom: 1px solid #1a1a1a;
}

.gm-about-header h1 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.gm-about-header p {
    font-size: 0.82rem;
    color: #525252;
    margin-top: 6px;
    line-height: 1.55;
    max-width: 700px;
}

.gm-about-mission {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 24px;
    border-bottom: 1px solid #1a1a1a;
}

.gm-about-mission .gm-section-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #dc2626;
    font-weight: 700;
    margin-bottom: 14px;
}

.gm-about-mission p {
    font-size: 0.82rem;
    color: #a3a3a3;
    line-height: 1.7;
    margin-bottom: 14px;
    max-width: 780px;
}

/* Team directory - terminal style */
.gm-team-dir {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 24px 48px;
}

.gm-team-dir .gm-section-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #dc2626;
    font-weight: 700;
    margin-bottom: 18px;
}

.gm-team-entry {
    padding: 14px 0;
    border-bottom: 1px solid #1a1a1a;
}

.gm-team-entry:last-child {
    border-bottom: none;
}

.gm-team-entry .gm-tline {
    font-size: 0.85rem;
    color: #d4d4d4;
    line-height: 1.4;
}

.gm-team-entry .gm-tline .gm-prompt {
    color: #dc2626;
    font-weight: 700;
}

.gm-team-entry .gm-tline .gm-tname-val {
    color: #fff;
    font-weight: 700;
}

.gm-team-entry .gm-tbio {
    font-size: 0.78rem;
    color: #525252;
    margin-top: 4px;
    padding-left: 24px;
    line-height: 1.55;
}

.gm-team-entry .gm-tli {
    font-size: 0.75rem;
    padding-left: 24px;
    margin-top: 4px;
    display: block;
}

/* ---------- CONTACT ---------- */
.gm-contact-header {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 24px 16px;
}

.gm-contact-header h1 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #dc2626;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gm-contact-header p {
    font-size: 0.82rem;
    color: #525252;
    margin-top: 4px;
}

.gm-contact-form {
    max-width: 560px;
    padding: 0 24px 48px;
}

.gm-contact-form label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #525252;
    font-weight: 600;
    margin-bottom: 4px;
}

.gm-contact-form input,
.gm-contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #262626;
    font-size: 0.85rem;
    font-family: 'Consolas', 'Monaco', 'Lucida Console', 'Courier New', monospace;
    margin-bottom: 18px;
    background: #0a0a0a;
    color: #d4d4d4;
    transition: border-color 0.15s;
}

.gm-contact-form input:focus,
.gm-contact-form textarea:focus {
    outline: none;
    border-color: #dc2626;
}

.gm-contact-form input::placeholder,
.gm-contact-form textarea::placeholder {
    color: #333333;
}

.gm-contact-form textarea {
    min-height: 100px;
    resize: vertical;
}

.gm-contact-form .gm-submit {
    display: inline-block;
    padding: 10px 28px;
    background: #dc2626;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: 'Consolas', 'Monaco', 'Lucida Console', 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}

.gm-contact-form .gm-submit:hover {
    background: #b91c1c;
}

/* ---------- FOOTER ---------- */
.gm-footer {
    border-top: 1px solid #1a1a1a;
    padding: 20px 24px;
}

.gm-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gm-footer-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.gm-footer-links a {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #525252;
}

.gm-footer-links a:hover {
    color: #dc2626;
}

.gm-footer .gm-copy {
    font-size: 0.68rem;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---------- ARTICLE CONTENT (for existing article pages) ---------- */
.article-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.article-content h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-content .meta {
    color: #525252;
    font-size: 0.78rem;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #262626;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 0.88rem;
    color: #d4d4d4;
    line-height: 1.65;
}

.article-content h2 {
    font-size: 1rem;
    font-weight: 700;
    color: #dc2626;
    margin-top: 40px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 8px;
    font-size: 0.88rem;
    color: #d4d4d4;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .gm-dense-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gm-cell:nth-child(2n) {
        border-right: none;
    }
    .gm-featured {
        grid-template-columns: 1fr;
    }
    .gm-cov-row {
        grid-template-columns: 1fr;
    }
    .gm-cov-cell {
        border-right: none;
        border-bottom: 1px solid #1a1a1a;
    }
    .gm-ticker-inner {
        overflow-x: auto;
    }
    .gm-footer-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
