/*
Theme Name: Newspaper Broadsheet
Theme URI: https://christianleger.ca
Author: Custom
Description: An anti-corporate, print-inspired newspaper theme with obsidian black backgrounds, pitch-black stock ticker background, and native theme red/green ticker text.
Version: 2.6
*/

/* --- ABSOLUTE BLACK GLOBAL ENVIRONMENT --- */
html, body, #page, .site, .site-content, #newspaper-root {
    background-color: #000000 !important;
    background: #000000 !important;
    color: #ffffff !important;
    font-family: Georgia, "Times New Roman", serif;
    margin: 0;
    padding: 0;
}

#newspaper-root {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #080808 !important;
    border-left: 2px solid #ff0055;
    border-right: 2px solid #ff0055;
    box-shadow: 0 4px 35px rgba(255,0,85,0.15);
}

/* --- MASTHEAD HEADER (Centered & Straight) --- */
.news-masthead {
    border-bottom: 4px double #ff0055;
    border-top: 2px solid #00e5ff;
    padding: 20px 0;
    margin-bottom: 25px;
    text-align: center;
    display: block;
    background-color: #000000 !important;
}

.news-masthead h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin: 0 auto;
    letter-spacing: -1px;
    text-transform: uppercase;
    display: inline-block;
    transform: none !important;
}

/* --- CHAOTIC MULTI-FONT & NEON GLOW LETTER STYLING --- */
.news-masthead h1 span {
    display: inline-block;
    transition: transform 0.2s ease, filter 0.2s ease;
}

/* Every 1st letter: Acid Mint */
.news-masthead h1 span:nth-child(odd) {
    color: #00ffaa;
    font-family: "Courier New", Courier, monospace;
    transform: translateY(-3px) rotate(2deg);
    text-shadow: 0 0 30px rgba(0, 255, 170, 0.36), 0 0 60px rgba(0, 255, 170, 0.18);
}

/* Every 2nd letter: Glitch Cyan */
.news-masthead h1 span:nth-child(even) {
    color: #00e5ff;
    font-family: Impact, Charcoal, sans-serif;
    transform: translateY(3px) rotate(-3deg);
    text-shadow: 0 0 30px rgba(0, 229, 255, 0.36), 0 0 60px rgba(0, 229, 255, 0.18);
}

/* Every 3rd letter: Electric Magenta */
.news-masthead h1 span:nth-child(3n) {
    color: #ff0055;
    font-family: Georgia, "Times New Roman", serif;
    transform: translateY(-1px) rotate(1deg);
    text-shadow: 0 0 30px rgba(255, 0, 85, 0.36), 0 0 60px rgba(255, 0, 85, 0.18);
}

/* Every 4th letter: Acid Yellow */
.news-masthead h1 span:nth-child(4n) {
    color: #ccff00;
    font-family: "Lucida Console", Monaco, monospace;
    transform: translateY(4px) rotate(-2deg);
    text-shadow: 0 0 30px rgba(204, 255, 0, 0.36), 0 0 60px rgba(204, 255, 0, 0.18);
}

.news-masthead h1 span:hover {
    transform: scale(1.25) rotate(0deg) !important;
    filter: drop-shadow(0 0 12px #ffffff);
}

.news-nav-links {
    margin-top: 10px;
    text-align: center;
}

.news-nav-links a {
    color: #00e5ff;
    text-decoration: none;
    font-family: "Courier New", monospace;
    font-size: 12px;
    text-transform: uppercase;
    margin: 0 10px;
    border-bottom: 1px dotted #ff0055;
}

.news-nav-links a:hover {
    color: #00ffaa;
    background: #12001a;
}

/* --- THE 3-COLUMN NEWSPAPER GRID --- */
.news-layout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

@media (max-width: 800px) {
    .news-layout-grid {
        grid-template-columns: 1fr;
    }
}

/* --- MAIN EDITORIAL WELL (Left Side) --- */
.editorial-well {
    border-right: 1px solid #333333;
    padding-right: 30px;
}

@media (max-width: 800px) {
    .editorial-well {
        border-right: none;
        padding-right: 0;
        border-bottom: 2px solid #ff0055;
        padding-bottom: 30px;
    }
}

.lead-story {
    margin-bottom: 40px;
    border-bottom: 2px solid #333333;
    padding-bottom: 30px;
}

.lead-story h2 {
    font-size: 2.2rem;
    line-height: 1.1;
    margin-top: 10px;
    font-weight: 900;
    color: #00ffaa;
    text-shadow: 1px 1px 0px rgba(255,0,85,0.4);
}

.secondary-stories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.story-card {
    border-top: 1px solid #333333;
    padding-top: 10px;
}

.story-card h3 {
    font-size: 1.2rem;
    line-height: 1.2;
    color: #00e5ff;
}

/* --- RIGHT SIDEBAR --- */
.news-sidebar {
    font-family: "Courier New", Courier, monospace;
    font-size: 13px;
}

.sidebar-box {
    border: 1px solid #ff0055;
    background: #050505 !important;
    padding: 15px;
    margin-bottom: 25px;
    box-shadow: 3px 3px 0px rgba(0,229,255,0.15);
}

.sidebar-box h4 {
    margin-top: 0;
    border-bottom: 1px solid #00ffaa;
    padding-bottom: 5px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #00ffaa;
}

/* --- PITCH-BLACK STOCK TICKER CONTAINER (Native Red/Green Text Preserved) --- */
.broadsheet-ticker-bar {
    background-color: #000000 !important;
    background: #000000 !important;
    border-top: 2px solid #ff0055 !important;
    border-bottom: 2px solid #ff0055 !important;
    padding: 8px 0 !important;
    margin: 20px 0 !important;
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.15) !important;
}

/* Picture of the Day Styling */
.potd-image img {
    width: 100%;
    height: auto;
    border: 1px solid #ff0055;
}

.potd-caption {
    font-size: 11px;
    margin-top: 8px;
    line-height: 1.3;
    color: #cccccc;
}

/* GoToSocial Feed Ticker Styling */
.gts-post {
    border-bottom: 1px dashed #222222;
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-size: 12px;
}

.gts-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* --- LOAD MORE & FOOTER --- */
.load-more-container {
    text-align: center;
    margin: 40px 0;
}

.load-more-btn {
    background: #000000 !important;
    color: #00ffaa !important;
    border: 2px solid #ff0055;
    padding: 12px 30px;
    font-family: "Courier New", monospace;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 1px;
    box-shadow: 3px 3px 0px #00e5ff;
    transition: all 0.2s ease;
}

.load-more-btn:hover {
    background: #00ffaa !important;
    color: #000000 !important;
    box-shadow: 1px 1px 0px #ff0055;
}

.news-footer {
    border-top: 2px solid #ff0055;
    margin-top: 40px;
    padding: 15px 0;
    text-align: center;
    font-size: 11px;
    font-family: "Courier New", monospace;
    text-transform: uppercase;
    color: #888888;
    background-color: #000000 !important;
}

/* --- SURREALIST IMAGE FILTERS --- */
.editorial-well img,
.potd-image img,
.story-card img,
.broadsheet-item img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid #ff0055;
    filter: contrast(135%) hue-rotate(210deg) saturate(190%) brightness(85%);
    mix-blend-mode: luminosity;
    transition: filter 0.4s ease, transform 0.3s ease;
}

.editorial-well img:hover,
.potd-image img:hover,
.story-card img:hover {
    filter: contrast(160%) hue-rotate(330deg) saturate(240%) brightness(100%);
    transform: rotate(0.8deg);
}
