
*, *::before, *::after { box-sizing: border-box; }
body, h1,h2,h3,h4,h5,h6,figure,form,fieldset,ul,ol,dl,pre { margin:0; padding:0; }

body {
    background: var(--bg, #fff);
    color: var(--link, #000);
    font-family: var(--font-body, Arial, sans-serif);
    font-size: var(--size-link, 13px);
    line-height: 1.4;
}

a              { color: var(--link, #000); text-decoration: none; }
a:hover        { color: var(--hover, #cc0000); text-decoration: underline; }
a:visited      { color: var(--link, #000); }
img            { max-width: 100%; height: auto; display: block; }

/* ── Top nav ── */
.apd-topnav {
    background: var(--topbar-bg, #000);
    text-align: center;
    padding: 3px 0;
}
.apd-topnav a {
    color: var(--topbar-link, #ccc) !important;
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin: 0 10px;
    text-decoration: none;
}
.apd-topnav a:hover { color: #fff !important; text-decoration: none; }

/* ── Header ── */
.apd-header {
    background: var(--header-bg, #fff);
    text-align: center;
    padding: 10px 16px 8px;
    border-bottom: 3px double var(--rule, #000);
}
.apd-sitename {
    font-family: var(--font-hl, "Arial Black", Arial, sans-serif);
    font-weight: 900;
    font-size: var(--size-sn, 52px);
    text-transform: uppercase;
    color: #000 !important;
    display: block;
    text-decoration: none !important;
    line-height: 1;
}
.apd-tagline {
    font-size: 11px;
    color: #666;
    letter-spacing: .1em;
    text-transform: uppercase;
    display: block;
    margin-top: 3px;
}
.apd-clock {
    font-size: 11px;
    color: #666;
    display: block;
    margin-top: 2px;
}

/* ── Grid ── */
.apd-grid {
    display: grid;
    max-width: var(--max-width, 1060px);
    margin: 0 auto;
    border-left: 1px solid var(--col-bdr, #ccc);
    border-right: 1px solid var(--col-bdr, #ccc);
    border-top: 2px solid #000;
    align-items: start;
}
.apd-col {
    padding: 8px 10px 14px;
    min-width: 0;
}
.apd-col-left  { border-right: 1px solid var(--col-bdr, #ccc); }
.apd-col-center {
    text-align: center;
    border-right: 1px solid var(--col-bdr, #ccc);
}

/* ── Labels ── */
.apd-col-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--label, #666);
    border-bottom: 1px solid var(--col-bdr, #ccc);
    padding-bottom: 4px;
    margin-bottom: 8px;
}

/* ── Links ── */
.apd-link {
    display: block;
    font-size: var(--size-link, 13px);
    font-weight: var(--weight-link, 400);
    color: var(--link, #000) !important;
    line-height: 1.35;
    margin-bottom: 6px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #e0e0e0;
    text-decoration: none;
    word-break: break-word;
}
.apd-link:hover { color: var(--hover, #cc0000) !important; text-decoration: underline; }
.apd-link:last-child { border-bottom: none; }

/* ── Top headline ── */
.apd-top-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    margin: 0 auto 8px;
    border: 1px solid #ddd;
    aspect-ratio: 16/9;
}
.apd-main-headline {
    display: block;
    font-family: var(--font-hl, "Arial Black", Arial, sans-serif);
    font-weight: 900;
    font-size: var(--size-hl, 26px);
    text-transform: uppercase;
    color: var(--hl, #cc0000) !important;
    line-height: 1.15;
    text-decoration: none;
    margin-bottom: 8px;
    word-break: break-word;
}
.apd-main-headline:hover { opacity: .85; text-decoration: none !important; }
.apd-center-rule {
    border: none;
    border-top: 2px solid #000;
    margin: 10px 0;
}
.apd-center-link {
    display: block;
    font-size: var(--size-cl, 14px);
    font-weight: 700;
    color: var(--link, #000) !important;
    line-height: 1.3;
    margin-bottom: 8px;
    padding-bottom: 7px;
    border-bottom: 1px dotted #ccc;
    text-decoration: none;
    word-break: break-word;
}
.apd-center-link:hover { color: var(--hover, #cc0000) !important; text-decoration: underline; }
.apd-center-img {
    width: 100%;
    max-width: 440px;
    margin: 0 auto 6px;
    border: 1px solid #ddd;
}

/* ── Badges ── */
.apd-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 1px 5px 2px;
    border-radius: 2px;
    color: #fff;
    margin-right: 3px;
    vertical-align: middle;
}
@keyframes blink { 50% { opacity: 0; } }

/* ── Footer ── */
.apd-footer {
    background: var(--footer-bg, #000);
    color: var(--footer-text, #888);
    text-align: center;
    padding: 10px;
    font-size: 11px;
    margin-top: 0;
    border-top: 2px solid #000;
}
.apd-footer-links { margin-bottom: 6px; }
.apd-footer-links a {
    color: var(--footer-text, #888) !important;
    margin: 0 8px;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: .08em;
}
.apd-footer-links a:hover { color: #fff !important; text-decoration: none; }
.apd-copyright { font-size: 10px; }

/* ── Article / single post ── */
.apd-article {
    max-width: 760px;
    margin: 20px auto;
    padding: 0 20px 40px;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
}
.apd-article-title {
    font-family: var(--font-hl, "Arial Black", Arial, sans-serif);
    font-weight: 900;
    font-size: clamp(20px, 3vw, 28px);
    text-transform: uppercase;
    line-height: 1.15;
    color: #000;
    margin: 16px 0 12px;
}
.apd-article-meta {
    font-size: 12px;
    color: #666;
    border-top: 2px solid #000;
    border-bottom: 1px solid #ddd;
    padding: 8px 0;
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.apd-article-meta a { color: #666 !important; }
.apd-article-meta a:hover { color: var(--hover, #cc0000) !important; }
.apd-byline { font-weight: 700; color: #000 !important; }
.apd-sep { color: #ccc; }
.apd-article-img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

/* ── Article body — paragraph spacing is the whole point ── */
.apd-article-body {
    font-family: var(--font-article, Georgia, serif);
    font-size: var(--size-article, 17px);
    line-height: 1.75;
    color: #1a1a1a;
}
.apd-article-body p {
    margin-top: 0;
    margin-bottom: 1.3em;
}
.apd-article-body p:last-child { margin-bottom: 0; }
.apd-article-body h2 {
    font-family: var(--font-hl, "Arial Black", Arial, sans-serif);
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 1.8em 0 .6em;
    color: #000;
    border-bottom: 1px solid #ddd;
    padding-bottom: 4px;
}
.apd-article-body h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 1.4em 0 .5em;
}
.apd-article-body blockquote {
    border-left: 3px solid var(--hl, #cc0000);
    margin: 1.4em 0;
    padding: 4px 16px;
    color: #444;
    font-style: italic;
}
.apd-article-body ul, .apd-article-body ol {
    margin: .8em 0 1em 1.4em;
}
.apd-article-body li { margin-bottom: .4em; }
.apd-article-body a {
    color: #000 !important;
    text-decoration: underline !important;
}
.apd-article-body a:hover { color: var(--hover, #cc0000) !important; }
.apd-article-body img {
    max-width: 100%;
    height: auto;
    margin: 1em auto;
    border: 1px solid #ddd;
}
.apd-source-line {
    margin-top: 24px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    font-size: 12px;
    color: #888;
}
.apd-source-line a { color: #888 !important; text-decoration: underline !important; }
.apd-article-nav {
    margin-top: 24px;
    padding-top: 12px;
    border-top: 2px solid #000;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ── Responsive ── */
@media (max-width: 700px) {
    .apd-grid {
        grid-template-columns: 1fr !important;
        border: none;
    }
    .apd-col-left, .apd-col-center, .apd-col-right {
        border-right: none !important;
        border-bottom: 1px solid #ccc;
        padding: 12px 14px;
    }
    .apd-col-center { order: -1; text-align: left; }
    .apd-article { border: none; padding: 12px 14px 30px; }
}
