/*
Theme Name: AP Drudge
Author: Andy Parrish
Description: Drudge-style base for Elementor
Version: 1.0
*/

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

html, body {
    background: #fff;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}

a              { color: #000; text-decoration: none; }
a:hover        { color: #cc0000; text-decoration: underline; }
a:visited      { color: #000; }

img { max-width: 100%; height: auto; }

/* ── Elementor Posts widget — strip all card junk ── */
.elementor-posts--skin-classic .elementor-post,
.elementor-posts--skin-cards   .elementor-post {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 5px;
}
.elementor-post__thumbnail__link { display: none; }
.elementor-post__excerpt         { display: none; }
.elementor-post__read-more       { display: none; }
.elementor-post-info             { display: none; }

.elementor-post__title {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
    margin: 0;
}
.elementor-post__title a,
.elementor-post__title a:visited { color: #000; }
.elementor-post__title a:hover   { color: #cc0000; }

/* ── Elementor heading links ── */
.elementor-widget-heading a,
.elementor-widget-heading a:visited { color: #000; }
.elementor-widget-heading a:hover   { color: #cc0000; }

/* ── Drudge layout helpers ── */
.drudge-col-border-right { border-right: 1px solid #ccc; }
.drudge-col-border-left  { border-left:  1px solid #ccc; }

.drudge-section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #666;
    border-bottom: 1px solid #ccc;
    padding-bottom: 3px;
    margin-bottom: 8px;
}

/* ── Badges ── */
.badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 1px 5px;
    margin-right: 4px;
    color: #fff;
    border-radius: 2px;
    vertical-align: middle;
}
.badge-breaking  { background: #cc0000; animation: blink .85s step-start infinite; }
.badge-exclusive { background: #b59400; }
.badge-video     { background: #8b0000; }
.badge-audio     { background: #1a3a6b; }
.badge-opinion   { background: #2d5a1b; }
@keyframes blink { 50% { opacity: 0; } }

/* ── Header ── */
.ap-topnav {
    background: #000;
    text-align: center;
    padding: 3px 0;
}
.ap-topnav a {
    color: #ccc;
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin: 0 10px;
    text-decoration: none;
}
.ap-topnav a:hover { color: #fff; }

.ap-header {
    text-align: center;
    padding: 10px 0 8px;
    border-bottom: 3px double #000;
}
.ap-site-name {
    font-family: Arial Black, Arial, sans-serif;
    font-weight: 900;
    font-size: clamp(28px, 5vw, 54px);
    text-transform: uppercase;
    color: #000;
    line-height: 1;
    display: block;
    text-decoration: none;
}
.ap-site-name:hover  { color: #000; text-decoration: none; }
.ap-site-tagline {
    font-size: 11px;
    color: #666;
    letter-spacing: .1em;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}
.ap-site-date {
    font-size: 11px;
    color: #666;
    display: block;
    margin-top: 2px;
}

/* ── Footer ── */
.ap-footer {
    background: #000;
    color: #888;
    text-align: center;
    padding: 8px;
    font-size: 10px;
    letter-spacing: .1em;
}
.ap-footer a { color: #888; }
.ap-footer a:hover { color: #fff; text-decoration: none; }

/* ── Single post ── */
.ap-single {
    max-width: 760px;
    margin: 20px auto;
    padding: 0 16px 40px;
}
.ap-single h1 {
    font-family: Arial Black, Arial, sans-serif;
    font-size: clamp(18px, 3vw, 26px);
    text-transform: uppercase;
    line-height: 1.15;
    margin: 16px 0 10px;
}
.ap-single .ap-meta {
    font-size: 11px;
    color: #666;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
    margin-bottom: 14px;
}
.ap-single img.featured {
    width: 100%;
    height: auto;
    margin-bottom: 16px;
    border: 1px solid #ddd;
}
.ap-single .ap-content {
    font-size: 15px;
    line-height: 1.65;
}
