/*
Theme Name: Demokratie-News
Author: Demokratie-News
Description: News und Changelog für eine mobile App in Entwicklung
Version: 2.0.2
Requires PHP: 7.4
*/
*{box-sizing:border-box}body{margin:0;background:#0c0c0e;color:#fff;font:16px/1.6 system-ui,Arial}a{color:inherit;text-decoration:none}a:hover{color:#ff6577}.wrap{width:min(1200px,calc(100% - 36px));margin:auto}header{background:#161619;border-bottom:1px solid #38383c;position:sticky;top:0;z-index:5}header .wrap{display:flex;justify-content:space-between;align-items:center;min-height:80px;gap:15px}.brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:1.3rem}.brand img{width:52px;height:52px}.btn{background:#ed263b;color:white;display:inline-block;border-radius:9px;padding:11px 18px;font-weight:750}.btn:hover{background:#b8192d;color:white}.disabled{background:#444}.hero{padding:70px 0;background:radial-gradient(ellipse at 80% 0%,#76203577,transparent 55%)}.hero h1{font-size:clamp(3rem,7vw,5.5rem);line-height:1.06;letter-spacing:-.05em;margin:20px 0}.hero p{color:#c4c4c9;max-width:650px}.tag{color:#ff8795;font-weight:800;letter-spacing:.08em;font-size:.8rem}.cols{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:55px 0 85px}.item{background:#1b1b20;border:1px solid #38383f;border-radius:13px;padding:21px;margin-bottom:15px}.item h3{margin:5px 0}.item p,.date{color:#b3b3ba}.date{font-size:.8rem}.content{max-width:780px;padding:50px 0 80px}.content img{max-width:100%;height:auto}footer{border-top:1px solid #38383f;padding:25px 0;color:#aaa}@media(max-width:700px){.cols{grid-template-columns:1fr}.brand{font-size:1rem}.brand img{width:42px;height:42px}.btn{padding:9px 12px;font-size:.85rem}.hero{padding:50px 0}}

/* Configurable hero subtitle */
.hero .hero-title{margin:24px 0 5px;font-size:clamp(2.9rem,7vw,5.2rem);line-height:1.07}.hero .hero-subtitle{font-size:clamp(1.25rem,2.7vw,1.9rem);font-weight:550;line-height:1.35;color:#f1f1f3;margin:0 0 20px;letter-spacing:-.015em}.hero .hero-subtitle:empty{display:none}

/* v1.2: tighter hero-to-feed spacing, taller feed cards */
.hero{padding-bottom:26px}
.cols{padding-top:25px}
.cols .item{min-height:185px;padding:28px 25px;display:flex;flex-direction:column;justify-content:flex-start}
.cols .item h3{margin:10px 0 8px}
@media(max-width:700px){.hero{padding-bottom:22px}.cols{padding-top:20px}.cols .item{min-height:165px;padding:24px 20px}}

/* Footer legal navigation */
.footer-layout{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.legal-links{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.legal-btn{display:inline-flex;align-items:center;justify-content:center;padding:9px 15px;border:1px solid #67676f;border-radius:9px;color:#fff;font-size:.9rem;font-weight:650;line-height:1.3;transition:background .2s,border-color .2s}
.legal-btn:hover,.legal-btn:focus-visible{background:#ed263c;border-color:#ed263c;color:#fff}
.legal-btn-inactive{opacity:.5;cursor:not-allowed}
@media(max-width:720px){.footer-layout{align-items:flex-start;flex-direction:column}.legal-links{width:100%}.legal-btn{flex:1}}

/* v1.4: slogan beside logo, compact development hero */
.brand-copy{display:flex;flex-direction:column;gap:0;line-height:1.18}.brand-copy strong{font-size:1.3rem;letter-spacing:-.02em}.brand-copy small{font-size:.78rem;color:#c4c4ca;font-weight:500;margin-top:5px;letter-spacing:.01em}.hero{padding-top:24px;padding-bottom:20px}.hero .tag{display:inline-block;margin:0 0 3px}.hero p{margin:8px 0 15px}.cols{padding-top:20px}
@media(max-width:700px){.brand-copy strong{font-size:1.03rem}.brand-copy small{font-size:.68rem;margin-top:3px}.hero{padding-top:18px;padding-bottom:15px}.cols{padding-top:15px}}

/* v1.6: expandable news cards */
#news .item{min-height:185px}
.news-expand{margin-top:auto;padding-top:16px}
.news-expand summary{display:inline-flex;align-items:center;gap:8px;cursor:pointer;color:#ff8795;font-weight:750;list-style:none;user-select:none}
.news-expand summary::-webkit-details-marker{display:none}
.news-expand summary::after{content:'+';font-size:1.35rem;line-height:1}
.news-expand[open] summary::after{content:'−'}
.news-expand .expand-less{display:none}
.news-expand[open] .expand-less{display:inline}
.news-expand[open] .expand-more{display:none}
.news-expand[open]{margin-top:10px;border-top:1px solid #38383f}
.news-full-content{padding-top:12px;color:#d6d6dc;overflow-wrap:anywhere}
.news-full-content p{color:#d6d6dc}
.news-full-content a{text-decoration:underline;text-underline-offset:3px;color:#ff8795}
.news-full-content img,.news-full-content video,.news-full-content iframe{max-width:100%;height:auto}
.news-full-content pre{max-width:100%;overflow-x:auto}
.news-expand summary:focus-visible{outline:2px solid #ff8795;outline-offset:5px;border-radius:3px}

/* v1.8: optional configurable 1200x300 banner below sticky header */
.an-header-banner{width:min(1200px,calc(100% - 36px));margin:20px auto 0;line-height:0}
.an-header-banner img{display:block;width:100%;height:auto;aspect-ratio:4/1;object-fit:contain;border-radius:9px}
@media(max-width:700px){.an-header-banner{margin-top:14px}}

.an-contact-details address{font-style:normal;line-height:1.7}.an-legal-contact{margin-top:2rem}

/* v2.0: Kontaktbutton rechts neben Download */
.an-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.an-contact-btn{background:#29292f;border:1px solid #ed263b}.an-contact-btn:hover{background:#ed263b}@media(max-width:480px){header .wrap{gap:8px}.an-header-actions{gap:6px}.an-header-actions .btn{padding:8px 10px;font-size:.78rem}.brand{gap:6px}.brand img{width:36px;height:36px}}
