/**
 * ForexSignale Theme Control - Bloomberg Homepage CSS
 * Prefix: fxmag-hp- (homepage)
 */

/* ========================================
   CSS VARIABLES (Dark/Light Theme)
   ======================================== */
:root {
    --fxhp-bg-primary: #0a0a0a;
    --fxhp-bg-secondary: #111111;
    --fxhp-bg-tertiary: #1a1a1a;
    --fxhp-bg-card: #151515;
    --fxhp-text-primary: #ffffff;
    --fxhp-text-secondary: #e0e0e0;
    --fxhp-text-muted: #888888;
    --fxhp-text-dark: #666666;
    --fxhp-border-color: #222222;
    --fxhp-border-light: #2a2a2a;
    --fxhp-accent: #f97316;
    --fxhp-accent-hover: #ea580c;
    --fxhp-success: #22c55e;
    --fxhp-danger: #ef4444;
    --fxhp-ticker-bg: linear-gradient(90deg, #1a1a2e, #16213e);
}

[data-theme="light"] {
    --fxhp-bg-primary: #ffffff;
    --fxhp-bg-secondary: #fafafa;
    --fxhp-bg-tertiary: #f5f5f5;
    --fxhp-bg-card: #ffffff;
    --fxhp-text-primary: #1a1a1a;
    --fxhp-text-secondary: #333333;
    --fxhp-text-muted: #666666;
    --fxhp-text-dark: #888888;
    --fxhp-border-color: #e5e5e5;
    --fxhp-border-light: #eeeeee;
    --fxhp-ticker-bg: linear-gradient(90deg, #f8fafc, #f1f5f9);
}

/* ========================================
   HOMEPAGE WRAPPER
   ======================================== */
.fxmag-hp-wrapper {
    font-family: 'Inter', sans-serif;
    background: var(--fxhp-bg-primary);
    color: var(--fxhp-text-secondary);
    transition: background 0.3s, color 0.3s;
}

/* ========================================
   LIVE TICKER
   ======================================== */
.fxmag-hp-live-ticker {
    background: var(--fxhp-ticker-bg);
    padding: 10px 0;
    overflow: hidden;
    border-bottom: 1px solid var(--fxhp-border-color);
}

.fxmag-hp-ticker-track {
    display: flex;
    animation: fxhpTickerScroll 40s linear infinite;
    white-space: nowrap;
}

.fxmag-hp-ticker-track:hover {
    animation-play-state: paused;
}

@keyframes fxhpTickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.fxmag-hp-ticker-item {
    padding: 0 50px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--fxhp-text-secondary);
}

.fxmag-hp-ticker-item .tag {
    background: var(--fxhp-accent);
    color: #000;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 10px;
}

/* ========================================
   SIGNALE BAR
   ======================================== */
.fxmag-hp-signale-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(90deg, var(--fxhp-accent), var(--fxhp-accent-hover));
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fxmag-hp-signale-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.fxmag-hp-signale-bar h3 {
    color: #000;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin: 0;
}

.fxmag-hp-signal-previews {
    display: flex;
    gap: 15px;
}

.fxmag-hp-signal-preview {
    background: rgba(0,0,0,0.15);
    padding: 8px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.fxmag-hp-signal-preview .symbol {
    font-weight: 700;
    font-size: 14px;
    color: #000;
}

.fxmag-hp-signal-preview .type {
    background: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

.fxmag-hp-signal-preview .type.bullish { color: var(--fxhp-success); }
.fxmag-hp-signal-preview .type.bearish { color: var(--fxhp-danger); }

.fxmag-hp-signale-cta {
    background: #000;
    color: var(--fxhp-accent);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fxmag-hp-signale-cta:hover {
    color: var(--fxhp-accent);
    text-decoration: none;
}

.fxmag-hp-signale-cta .count {
    background: var(--fxhp-accent);
    color: #000;
    padding: 2px 8px;
    border-radius: 4px;
}

/* ========================================
   HEADER
   ======================================== */
.fxmag-hp-header {
    background: var(--fxhp-bg-secondary);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--fxhp-border-color);
}

.fxmag-hp-logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--fxhp-text-primary);
    text-decoration: none;
}

.fxmag-hp-logo span { color: var(--fxhp-accent); }

.fxmag-hp-nav {
    display: flex;
    gap: 25px;
}

.fxmag-hp-nav a {
    color: var(--fxhp-text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
}

.fxmag-hp-nav a:hover { color: var(--fxhp-text-primary); }
.fxmag-hp-nav a.active { color: var(--fxhp-accent); }

.fxmag-hp-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.fxmag-hp-theme-toggle {
    background: var(--fxhp-bg-tertiary);
    border: 1px solid var(--fxhp-border-color);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
}

.fxmag-hp-theme-toggle:hover {
    border-color: var(--fxhp-accent);
}

/* ========================================
   HERO SECTION
   ======================================== */
.fxmag-hp-hero-section {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 0;
    border-bottom: 1px solid var(--fxhp-border-color);
}

/* Wenn nur Hero oder nur Breaking aktiv */
.fxmag-hp-hero-section.no-breaking {
    grid-template-columns: 1fr;
}

.fxmag-hp-hero-section.no-hero {
    grid-template-columns: 1fr;
}

.fxmag-hp-hero-section.no-hero .fxmag-hp-breaking-sidebar {
    border-left: none;
    max-height: 300px;
}

.fxmag-hp-hero-carousel {
    background: var(--fxhp-bg-secondary);
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.fxmag-hp-carousel-slides {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.fxmag-hp-carousel-slide {
    width: 100%;
    min-width: 100%;
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fxmag-hp-carousel-slide .cat {
    color: var(--fxhp-accent);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 15px;
}

.fxmag-hp-carousel-slide h2 {
    font-size: 36px;
    line-height: 1.25;
    color: var(--fxhp-text-primary);
    margin-bottom: 20px;
}

.fxmag-hp-carousel-slide h2 a {
    color: var(--fxhp-text-primary);
    text-decoration: none;
}

.fxmag-hp-carousel-slide h2 a:hover { color: var(--fxhp-accent); }

.fxmag-hp-carousel-slide .excerpt {
    font-size: 16px;
    color: var(--fxhp-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 600px;
}

.fxmag-hp-carousel-slide .meta {
    font-size: 12px;
    color: var(--fxhp-text-dark);
}

.fxmag-hp-carousel-dots {
    position: absolute;
    bottom: 25px;
    left: 50px;
    display: flex;
    gap: 10px;
}

.fxmag-hp-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--fxhp-border-light);
    cursor: pointer;
    transition: all 0.2s;
}

.fxmag-hp-carousel-dot.active {
    background: var(--fxhp-accent);
    width: 30px;
    border-radius: 5px;
}

.fxmag-hp-carousel-nav {
    position: absolute;
    bottom: 25px;
    right: 50px;
    display: flex;
    gap: 10px;
}

.fxmag-hp-carousel-btn {
    background: var(--fxhp-bg-tertiary);
    border: 1px solid var(--fxhp-border-color);
    color: var(--fxhp-text-secondary);
    width: 40px;
    height: 40px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
}

.fxmag-hp-carousel-btn:hover {
    background: var(--fxhp-accent);
    color: #000;
    border-color: var(--fxhp-accent);
}

/* ========================================
   BREAKING NEWS SIDEBAR
   ======================================== */
.fxmag-hp-breaking-sidebar {
    background: var(--fxhp-bg-tertiary);
    border-left: 1px solid var(--fxhp-border-color);
    display: flex;
    flex-direction: column;
}

.fxmag-hp-breaking-header {
    padding: 20px;
    border-bottom: 1px solid var(--fxhp-border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.fxmag-hp-breaking-header .pulse {
    width: 10px;
    height: 10px;
    background: var(--fxhp-danger);
    border-radius: 50%;
    animation: fxhpPulse 2s infinite;
}

@keyframes fxhpPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.7); }
    50% { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
}

.fxmag-hp-breaking-header h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--fxhp-danger);
    margin: 0;
}

.fxmag-hp-breaking-ticker {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.fxmag-hp-breaking-ticker-track {
    display: flex;
    flex-direction: column;
    animation: fxhpBreakingScroll 12s linear infinite;
}

.fxmag-hp-breaking-ticker:hover .fxmag-hp-breaking-ticker-track {
    animation-play-state: paused;
}

@keyframes fxhpBreakingScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.fxmag-hp-breaking-item {
    padding: 18px 20px;
    border-bottom: 1px solid var(--fxhp-border-color);
    transition: background 0.2s;
}

.fxmag-hp-breaking-item:hover {
    background: var(--fxhp-bg-card);
}

.fxmag-hp-breaking-item .time {
    font-size: 11px;
    color: var(--fxhp-accent);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 6px;
}

.fxmag-hp-breaking-item a {
    color: var(--fxhp-text-secondary);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    display: block;
}

.fxmag-hp-breaking-item a:hover { color: var(--fxhp-text-primary); }

/* ========================================
   MAIN GRID (3 Columns)
   ======================================== */
.fxmag-hp-main-grid {
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    gap: 0;
    max-width: 1600px;
    margin: 0 auto;
}

/* Ohne Sidebars - nur Content-Bereich */
.fxmag-hp-main-grid.no-sidebars {
    grid-template-columns: 1fr;
    max-width: 900px;
}

/* ========================================
   LIVE COLUMN (Left Sidebar)
   ======================================== */
.fxmag-hp-live-column {
    background: var(--fxhp-bg-secondary);
    border-right: 1px solid var(--fxhp-border-color);
    padding: 25px;
}

.fxmag-hp-live-column h2 {
    color: var(--fxhp-success);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fxmag-hp-live-column h2::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--fxhp-success);
    border-radius: 50%;
    animation: fxhpPulse 2s infinite;
}

.fxmag-hp-live-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--fxhp-border-color);
}

.fxmag-hp-live-item .time {
    font-size: 11px;
    color: var(--fxhp-success);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 5px;
}

.fxmag-hp-live-item a {
    color: var(--fxhp-text-muted);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
    display: block;
}

.fxmag-hp-live-item a:hover { color: var(--fxhp-text-primary); }

/* ========================================
   CONTENT AREA (Center)
   ======================================== */
.fxmag-hp-content-area {
    padding: 25px 30px;
    background: var(--fxhp-bg-primary);
}

.fxmag-hp-category-tabs {
    display: flex;
    gap: 5px;
    border-bottom: 1px solid var(--fxhp-border-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
}

.fxmag-hp-cat-tab {
    background: none;
    border: none;
    color: var(--fxhp-text-muted);
    padding: 10px 18px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
}

.fxmag-hp-cat-tab:hover {
    background: var(--fxhp-bg-tertiary);
    color: var(--fxhp-text-primary);
}

.fxmag-hp-cat-tab.active {
    background: var(--fxhp-accent);
    color: #000;
}

.fxmag-hp-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.fxmag-hp-post-card {
    background: var(--fxhp-bg-card);
    border: 1px solid var(--fxhp-border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s;
}

.fxmag-hp-post-card:hover {
    transform: translateY(-3px);
    border-color: var(--fxhp-accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.fxmag-hp-post-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: var(--fxhp-bg-tertiary);
}

.fxmag-hp-post-card-content {
    padding: 18px;
}

.fxmag-hp-post-card .tag {
    font-size: 10px;
    color: var(--fxhp-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.fxmag-hp-post-card h3 {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--fxhp-text-primary);
}

.fxmag-hp-post-card h3 a {
    color: var(--fxhp-text-primary);
    text-decoration: none;
}

.fxmag-hp-post-card h3 a:hover { color: var(--fxhp-accent); }

.fxmag-hp-post-card .meta {
    font-size: 12px;
    color: var(--fxhp-text-dark);
}

/* ========================================
   SIDEBAR (Right)
   ======================================== */
.fxmag-hp-sidebar {
    background: var(--fxhp-bg-secondary);
    border-left: 1px solid var(--fxhp-border-color);
    padding: 25px;
}

.fxmag-hp-sidebar-box {
    margin-bottom: 25px;
}

.fxmag-hp-sidebar-box h3 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--fxhp-text-muted);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--fxhp-border-color);
}

.fxmag-hp-market-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--fxhp-border-color);
    font-size: 13px;
}

.fxmag-hp-market-item .name { color: var(--fxhp-text-muted); }

.fxmag-hp-market-item .value {
    font-family: 'JetBrains Mono', monospace;
    color: var(--fxhp-text-secondary);
}

.fxmag-hp-market-item .change.up { color: var(--fxhp-success); font-weight: 600; }
.fxmag-hp-market-item .change.down { color: var(--fxhp-danger); font-weight: 600; }

/* Video Box */
.fxmag-hp-video-box {
    background: var(--fxhp-bg-tertiary);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.fxmag-hp-video-box .label {
    background: var(--fxhp-danger);
    color: #fff;
    padding: 8px 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.fxmag-hp-video-box .video-wrapper {
    aspect-ratio: 16/9;
    background: #000;
}

.fxmag-hp-video-box iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.fxmag-hp-video-box .video-title {
    padding: 12px;
    font-size: 12px;
    color: var(--fxhp-text-muted);
}

/* Performance Card */
.fxmag-hp-perf-card {
    background: var(--fxhp-bg-tertiary);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
}

.fxmag-hp-perf-card .name {
    font-size: 13px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--fxhp-text-secondary);
}

.fxmag-hp-perf-card .value {
    font-size: 22px;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
}

.fxmag-hp-perf-card .value.profit { color: var(--fxhp-success); }
.fxmag-hp-perf-card .value.loss { color: var(--fxhp-danger); }

/* ========================================
   AD SLOTS & FUTURE BOXES
   ======================================== */
.fxmag-hp-ad-slot {
    background: var(--fxhp-bg-tertiary);
    border: 1px dashed var(--fxhp-border-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin: 20px 0;
}

.fxmag-hp-ad-slot span {
    color: var(--fxhp-text-dark);
    font-size: 11px;
    text-transform: uppercase;
}

.fxmag-hp-future-box {
    background: var(--fxhp-bg-tertiary);
    border: 2px dashed var(--fxhp-accent);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 15px;
}

.fxmag-hp-future-box .title {
    font-weight: 700;
    color: var(--fxhp-text-secondary);
    margin-bottom: 5px;
}

.fxmag-hp-future-box .coming {
    font-size: 12px;
    color: var(--fxhp-accent);
}

/* ========================================
   TEXT ARCHIVE
   ======================================== */
.fxmag-hp-text-archive {
    max-width: 1600px;
    margin: 0 auto;
    padding: 30px;
    background: var(--fxhp-bg-secondary);
    border-top: 1px solid var(--fxhp-border-color);
}

.fxmag-hp-text-archive h2 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--fxhp-text-muted);
    margin-bottom: 20px;
}

.fxmag-hp-archive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px 30px;
}

.fxmag-hp-archive-grid a {
    color: var(--fxhp-text-muted);
    text-decoration: none;
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 1px solid var(--fxhp-border-color);
    display: flex;
    justify-content: space-between;
}

.fxmag-hp-archive-grid a:hover { color: var(--fxhp-text-primary); }
.fxmag-hp-archive-grid a .time { color: var(--fxhp-text-dark); font-size: 11px; }

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */
@media (max-width: 1200px) {
    .fxmag-hp-main-grid { grid-template-columns: 1fr 280px; }
    .fxmag-hp-live-column { display: none; }
    .fxmag-hp-archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .fxmag-hp-hero-section {
        grid-template-columns: 1fr;
    }
    .fxmag-hp-breaking-sidebar {
        max-height: 250px;
        border-left: none;
        border-top: 1px solid var(--fxhp-border-color);
    }
    /* Breaking News bleibt vertikal scrollend, nur kompakter */
    .fxmag-hp-breaking-ticker {
        height: 200px;
    }
    .fxmag-hp-main-grid { grid-template-columns: 1fr; }
    .fxmag-hp-sidebar {
        border-left: none;
        border-top: 1px solid var(--fxhp-border-color);
    }
    .fxmag-hp-posts-grid { grid-template-columns: 1fr; }
    .fxmag-hp-signal-previews { display: none; }
    .fxmag-hp-signale-bar { justify-content: center; }
    .fxmag-hp-signale-bar-left { flex-direction: column; gap: 10px; }
}

/* Foldable / Tablet Portrait (280px - 600px width) */
@media (max-width: 768px) {
    .fxmag-hp-hero-section {
        display: block !important; /* Kein Grid mehr */
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .fxmag-hp-hero-carousel {
        min-height: auto;
        aspect-ratio: 16 / 9;
        width: 100%;
        margin: 0;
    }
    .fxmag-hp-carousel-slide {
        padding: 20px 15px;
        width: 100%;
        min-width: 100%;
        flex: 0 0 100%;
        box-sizing: border-box;
    }
    .fxmag-hp-carousel-slide h2 {
        font-size: 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
        max-width: 100%;
        white-space: normal;
    }
    .fxmag-hp-carousel-slide .excerpt {
        display: none;
    }
    /* Breaking News - scrollbar mit Touch-Support */
    .fxmag-hp-breaking-sidebar {
        width: 100%;
        margin: 0;
    }
    .fxmag-hp-breaking-ticker {
        height: 180px;
        max-height: 180px;
        overflow-y: scroll;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    .fxmag-hp-breaking-ticker-track {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        animation: none !important;
        transform: none !important;
    }
    .fxmag-hp-breaking-item {
        padding: 12px 15px;
        display: block !important;
        width: 100% !important;
        flex: 0 0 auto !important;
    }
    /* Content gleiche Breite wie Hero/Breaking */
    .fxmag-hp-content-area {
        padding: 15px;
    }
}

@media (max-width: 600px) {
    .fxmag-hp-header { flex-direction: column; gap: 15px; padding: 15px; }
    .fxmag-hp-nav { flex-wrap: wrap; justify-content: center; gap: 10px; }
    .fxmag-hp-nav a { font-size: 12px; padding: 8px 12px; background: var(--fxhp-bg-tertiary); border-radius: 6px; }
    .fxmag-hp-carousel-slide { padding: 30px 20px; }
    .fxmag-hp-carousel-slide h2 { font-size: 24px; }
    .fxmag-hp-carousel-dots { left: 20px; bottom: 15px; }
    .fxmag-hp-carousel-nav { right: 20px; bottom: 15px; }
    .fxmag-hp-content-area { padding: 20px 15px; }
    .fxmag-hp-category-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 10px; }
    .fxmag-hp-cat-tab { white-space: nowrap; }
    .fxmag-hp-text-archive { padding: 20px 15px; }
    .fxmag-hp-archive-grid { grid-template-columns: 1fr; }
    .fxmag-hp-ticker-item { padding: 0 25px; font-size: 12px; }
}

@media (max-width: 480px) {
    .fxmag-hp-live-ticker { padding: 8px 0; }
    .fxmag-hp-ticker-item { padding: 0 15px; font-size: 11px; }
    .fxmag-hp-ticker-item .tag { font-size: 9px; padding: 2px 6px; }
    .fxmag-hp-signale-bar { padding: 12px 15px; flex-direction: column; gap: 12px; }
    .fxmag-hp-signale-bar h3 { font-size: 11px; }
    .fxmag-hp-signale-cta { width: 100%; justify-content: center; }
    .fxmag-hp-header { padding: 12px; }
    .fxmag-hp-logo { font-size: 18px; }
    .fxmag-hp-nav { gap: 6px; }
    .fxmag-hp-nav a { font-size: 11px; padding: 6px 10px; }
    .fxmag-hp-hero-carousel { min-height: auto; aspect-ratio: 16 / 9; }
    .fxmag-hp-carousel-slide { padding: 20px 15px; }
    .fxmag-hp-carousel-slide .cat { font-size: 10px; margin-bottom: 10px; }
    .fxmag-hp-carousel-slide h2 { font-size: 20px; line-height: 1.3; }
    .fxmag-hp-carousel-slide .excerpt { font-size: 14px; display: none; }
    .fxmag-hp-carousel-slide .meta { font-size: 11px; }
    .fxmag-hp-carousel-dots { left: 15px; bottom: 12px; }
    .fxmag-hp-carousel-dot { width: 8px; height: 8px; }
    .fxmag-hp-carousel-dot.active { width: 24px; }
    .fxmag-hp-carousel-nav { right: 15px; bottom: 12px; }
    .fxmag-hp-carousel-btn { width: 34px; height: 34px; font-size: 14px; }
    .fxmag-hp-breaking-ticker { height: 200px; }
    .fxmag-hp-breaking-item { padding: 12px 15px; }
    .fxmag-hp-breaking-item .time { font-size: 10px; }
    .fxmag-hp-breaking-item a { font-size: 13px; }
    .fxmag-hp-content-area { padding: 15px 12px; }
    .fxmag-hp-category-tabs { margin-bottom: 15px; padding-bottom: 8px; }
    .fxmag-hp-cat-tab { padding: 8px 12px; font-size: 11px; }
    .fxmag-hp-post-card-content { padding: 14px; }
    .fxmag-hp-post-card .tag { font-size: 9px; }
    .fxmag-hp-post-card h3 { font-size: 14px; }
    .fxmag-hp-sidebar { padding: 15px; }
    .fxmag-hp-sidebar-box h3 { font-size: 10px; }
    .fxmag-hp-market-item { font-size: 12px; padding: 10px 0; }
    .fxmag-hp-video-box .label { font-size: 9px; padding: 6px 10px; }
    .fxmag-hp-video-box .video-title { font-size: 11px; padding: 10px; }
    .fxmag-hp-perf-card { padding: 12px; }
    .fxmag-hp-perf-card .name { font-size: 12px; }
    .fxmag-hp-perf-card .value { font-size: 18px; }
    .fxmag-hp-text-archive { padding: 15px 12px; }
    .fxmag-hp-text-archive h2 { font-size: 11px; margin-bottom: 15px; }
    .fxmag-hp-archive-grid a { font-size: 12px; padding: 8px 0; }
    .fxmag-hp-archive-grid a .time { font-size: 10px; }
}
