/* ============================================================
   ACM Housing News Sources — Stylesheet v1.0
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600&family=Rajdhani:wght@400;500;600;700&display=swap');

.acm-hn-fullwidth {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    margin-left: -50vw !important;
    background: #07080A !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    font-family: 'Rajdhani', sans-serif;
    color: #E8E0D0;
}

/* ── Red ACM Banner Header ── */
.acm-hn-header {
    background: linear-gradient(135deg, #6B0000 0%, #8B0000 40%, #7A0000 100%);
    border-bottom: 3px solid #C9A84C;
    padding: 28px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.acm-hn-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(0,0,0,0.04) 40px, rgba(0,0,0,0.04) 80px);
    pointer-events: none;
}
.acm-hn-brand {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(232,224,208,0.65);
    margin-bottom: 8px;
}
.acm-hn-title {
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0;
}
.acm-hn-sub {
    font-size: 11px;
    color: rgba(232,224,208,0.55);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 6px;
}
.acm-hn-byline {
    border: 1px solid rgba(201,168,76,0.6);
    padding: 12px 20px;
    text-align: center;
    flex-shrink: 0;
}
.acm-hn-byline-label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(232,224,208,0.5);
    margin-bottom: 4px;
}
.acm-hn-byline-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    color: #E8CC7A;
}
@media (max-width: 700px) {
    .acm-hn-header { flex-direction: column; gap: 16px; padding: 24px 20px; }
    .acm-hn-title  { font-size: 24px; }
}

/* ── Stats bar ── */
.acm-hn-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 16px 48px;
    background: #0A0B0E;
    border-bottom: 1px solid rgba(201,168,76,0.12);
    flex-wrap: wrap;
}
.acm-hn-stat { display: flex; flex-direction: column; align-items: center; }
.acm-hn-stat-num { font-size: 28px; font-weight: 700; color: #E8CC7A; line-height: 1; }
.acm-hn-stat-lbl { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #555; margin-top: 3px; }
.acm-hn-stat-desc { font-size: 12px; color: #444; margin-left: auto; letter-spacing: 0.5px; max-width: 400px; line-height: 1.4; }
@media (max-width: 700px) { .acm-hn-stats { padding: 14px 20px; gap: 24px; } .acm-hn-stat-desc { margin-left: 0; } }

/* ── Intro text ── */
.acm-hn-intro {
    padding: 36px 48px 0;
    max-width: 100%;
}
.acm-hn-intro p {
    font-size: 18px;
    line-height: 1.9;
    color: #B8B0A0;
    margin: 0 0 20px;
    max-width: 100%;
}
@media (max-width: 700px) { .acm-hn-intro { padding: 24px 20px 0; } .acm-hn-intro p { font-size: 16px; } }

/* ── Ticker sections ── */
.acm-hn-ticker-section {
    margin: 32px 48px 0;
    background: #0A0B0E;
    border: 1px solid rgba(201,168,76,0.15);
}
@media (max-width: 700px) { .acm-hn-ticker-section { margin: 20px 16px 0; } }

.acm-hn-ticker-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #C9A84C;
    border-bottom: 1px solid rgba(201,168,76,0.12);
}
.acm-hn-ticker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00C853;
    box-shadow: 0 0 6px rgba(0,200,83,0.6);
    flex-shrink: 0;
}
.acm-hn-tradingview-wrap {
    padding: 12px 8px;
    min-height: 60px;
    overflow-x: auto;
}

/* ── Sources section ── */
.acm-hn-sources {
    padding: 40px 48px 56px;
}
@media (max-width: 700px) { .acm-hn-sources { padding: 24px 16px 40px; } }

.acm-hn-sources-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #C9A84C;
    border-bottom: 1px solid rgba(201,168,76,0.2);
    padding-bottom: 12px;
    margin-bottom: 24px;
}

/* ── Card grid ── */
.acm-hn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 1000px) { .acm-hn-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .acm-hn-grid { grid-template-columns: 1fr; } }

/* ── Individual category card ── */
.acm-hn-card {
    background: #0E1014;
    border: 1px solid rgba(201,168,76,0.12);
    border-top: 3px solid #C9A84C;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.acm-hn-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px 12px;
    border-bottom: 1px solid rgba(201,168,76,0.1);
}
.acm-hn-card-icon { font-size: 16px; flex-shrink: 0; }
.acm-hn-card-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #E8E0D0;
    flex: 1;
    line-height: 1.3;
}
.acm-hn-card-count {
    background: rgba(201,168,76,0.12);
    color: #C9A84C;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 1px;
    flex-shrink: 0;
}

.acm-hn-card-desc {
    font-size: 13px;
    color: #555;
    padding: 10px 18px;
    line-height: 1.5;
    border-bottom: 1px solid rgba(201,168,76,0.06);
}

.acm-hn-card-links {
    list-style: none;
    padding: 8px 0;
    margin: 0;
    flex: 1;
}
.acm-hn-card-links li {
    border-bottom: 1px solid rgba(201,168,76,0.05);
}
.acm-hn-card-links li:last-child { border-bottom: none; }
.acm-hn-card-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 15px;
    color: #8A8278;
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
}
.acm-hn-card-links a:hover {
    color: #E8CC7A;
    background: rgba(201,168,76,0.05);
    text-decoration: none;
}
.acm-hn-link-arrow {
    font-size: 12px;
    color: #C9A84C;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.15s;
}
.acm-hn-card-links a:hover .acm-hn-link-arrow { opacity: 1; }
