/*
Theme Name: DailyAbsurd Minimal (Onion Header)
Theme URI: https://dailyabsurd.com
Author: The Daily Absurd
Author URI: https://dailyabsurd.com
Description: Ultra-minimal, headlines-only homepage with an Onion-style masthead (centered logo/title + dateline). AdSense-ready with sticky mobile footer and in-content ads.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dailyabsurd-minimal-onion
Tags: minimal, news, mobile-first, ads, one-column
*/
:root{--bg:#ffffff; --text:#111111; --muted:#6b7280; --link:#0ea5e9; --border:#e5e7eb; --maxw: 900px;}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji';color:var(--text);background:var(--bg);line-height:1.65}
a{color:var(--link);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;border:0}
.container{max-width:var(--maxw);margin:0 auto;padding:0 16px}
.masthead{border-bottom:1px solid var(--border);background:#fff}
.masthead-inner{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px 0;gap:6px}
.site-title{font-weight:900;font-size:1.7rem;letter-spacing:.2px;color:#111;margin:0}
.tagline{font-size:.9rem;color:var(--muted)}
.custom-logo{max-height:56px;height:auto;width:auto}
.dateline{border-bottom:1px solid var(--border);background:#fff}
.dateline-inner{display:flex;align-items:center;justify-content:space-between;padding:8px 0;font-size:.95rem;color:#111}
.dateline a{color:#111}
.list{padding:14px 0}
.item{padding:12px 0;border-bottom:1px solid var(--border)}
.item:last-child{border-bottom:0}
a.title{display:block;font-weight:900;color:#111;font-size:1.12rem;line-height:1.25}
.meta{color:var(--muted);font-size:.9rem;margin-top:4px}
.ad-slot{display:block;text-align:center;border:1px dashed #cbd5e1;border-radius:10px;padding:8px;margin:12px 0;color:#64748b;font-size:.9rem}
.single .entry-title{font-weight:900;font-size:1.8rem;margin:.5rem 0;line-height:1.2}
.single .content p{margin:1rem 0}
.share{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}
.share a{display:inline-block;background:#0ea5e9;color:#fff;padding:8px 12px;border-radius:8px;font-weight:700}
.share a:hover{filter:brightness(.95)}
.site-footer{border-top:1px solid var(--border);margin-top:20px}
.footer-inner{padding:16px 0;color:var(--muted);font-size:.9rem}
.sticky-ad{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--border);box-shadow:0 -2px 10px rgba(0,0,0,.06);z-index:50;padding:8px 12px;display:none;align-items:center;justify-content:center}
.sticky-ad .close{position:absolute;right:8px;top:8px;border:0;background:#fff;font-size:18px;line-height:1;cursor:pointer}
@media (max-width:767px){ .sticky-ad{display:flex} }
@media (min-width:768px){ .site-title{font-size:2rem} .single .entry-title{font-size:2.2rem} }
