/*
Theme Name: Sidetron
Theme URI: https://sidetron.de/
Author: Sidetron
Author URI: https://sidetron.de/
Description: Offizielles Theme der Dachmarke Sidetron - Gaming, Community & Digital. Dunkles Panda-Design mit Blog, projekten und Kontaktbereich. Ready zum Beiträge posten.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sidetron
Tags: gaming, community, blog, dark, custom-logo, custom-menu, featured-images, translation-ready
*/

:root{
  --st-bg:#0e1013;
  --st-bg-2:#151920;
  --st-card:#171b22;
  --st-card-2:#1d232c;
  --st-border:#262d38;
  --st-text:#e6e9ef;
  --st-muted:#9aa4b2;
  --st-accent:#4bbf6b;      /* Bambus-Grün */
  --st-accent-2:#2f9e52;
  --st-white:#ffffff;
  --st-radius:14px;
  --st-max:1160px;
  --st-font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--st-bg);
  color:var(--st-text);
  font-family:var(--st-font);
  line-height:1.65;
  font-size:17px;
  -webkit-font-smoothing:antialiased;
}
a{color:var(--st-accent);text-decoration:none}
a:hover{color:var(--st-accent-2)}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,h4{line-height:1.2;color:var(--st-white);margin:0 0 .5em}
h1{font-size:clamp(2rem,5vw,3.4rem);font-weight:800;letter-spacing:-.02em}
h2{font-size:clamp(1.5rem,3vw,2.2rem);font-weight:700}
h3{font-size:1.25rem}
p{margin:0 0 1em}

.st-container{max-width:var(--st-max);margin:0 auto;padding:0 22px}
.st-section{padding:74px 0}
.st-section--alt{background:var(--st-bg-2)}
.st-eyebrow{color:var(--st-accent);font-weight:700;text-transform:uppercase;letter-spacing:.14em;font-size:.8rem;margin-bottom:10px}
.st-lead{color:var(--st-muted);font-size:1.12rem;max-width:720px}
.st-center{text-align:center}
.st-center .st-lead{margin-left:auto;margin-right:auto}

/* Buttons */
.st-btn{
  display:inline-block;background:var(--st-accent);color:#07130b !important;
  font-weight:700;padding:13px 26px;border-radius:10px;transition:.18s;
  border:1px solid transparent;cursor:pointer;font-size:1rem;
}
.st-btn:hover{background:var(--st-accent-2);color:#fff !important;transform:translateY(-2px)}
.st-btn--ghost{background:transparent;color:var(--st-text) !important;border-color:var(--st-border)}
.st-btn--ghost:hover{border-color:var(--st-accent);color:var(--st-accent) !important;background:transparent;transform:translateY(-2px)}

/* Header */
.st-header{
  position:sticky;top:0;z-index:50;background:rgba(14,16,19,.85);
  backdrop-filter:blur(10px);border-bottom:1px solid var(--st-border);
}
.st-header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0}
.st-brand{display:flex;align-items:center;gap:12px;color:var(--st-white);font-weight:800;font-size:1.3rem}
.st-brand img{max-height:44px;width:auto}
.st-brand .st-dot{color:var(--st-accent)}
.st-nav ul{list-style:none;display:flex;gap:6px;margin:0;padding:0;flex-wrap:wrap}
.st-nav a{color:var(--st-text);padding:9px 14px;border-radius:9px;font-weight:600;font-size:.98rem}
.st-nav a:hover,.st-nav .current-menu-item>a{background:var(--st-card-2);color:var(--st-accent)}
.st-burger{display:none;background:none;border:1px solid var(--st-border);color:var(--st-text);border-radius:9px;padding:9px 12px;font-size:1.2rem;cursor:pointer}

/* Hero */
.st-hero{
  position:relative;padding:96px 0 88px;text-align:center;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(75,191,107,.16), transparent 60%),
    linear-gradient(180deg,var(--st-bg-2),var(--st-bg));
  border-bottom:1px solid var(--st-border);
}
.st-hero .st-tag{color:var(--st-accent);font-weight:700;letter-spacing:.18em;text-transform:uppercase;font-size:.82rem}
.st-hero p.st-lead{margin:18px auto 30px}
.st-hero-cta{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* Grids */
.st-grid{display:grid;gap:24px}
.st-grid-2{grid-template-columns:repeat(2,1fr)}
.st-grid-3{grid-template-columns:repeat(3,1fr)}
.st-grid-4{grid-template-columns:repeat(4,1fr)}

.st-card{
  background:var(--st-card);border:1px solid var(--st-border);border-radius:var(--st-radius);
  padding:26px;transition:.18s;
}
.st-card:hover{border-color:var(--st-accent);transform:translateY(-4px)}
.st-card h3{margin-top:0}
.st-card p{color:var(--st-muted);margin-bottom:0}
.st-card .st-ico{font-size:1.8rem;margin-bottom:12px;display:block}

/* Value stats */
.st-stats{display:flex;flex-wrap:wrap;gap:20px;justify-content:center;margin-top:36px}
.st-stat{background:var(--st-card);border:1px solid var(--st-border);border-radius:var(--st-radius);padding:20px 30px;text-align:center;min-width:150px}
.st-stat b{display:block;font-size:2rem;color:var(--st-accent)}
.st-stat span{color:var(--st-muted);font-size:.92rem}

/* Posts */
.st-posts{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.st-post{background:var(--st-card);border:1px solid var(--st-border);border-radius:var(--st-radius);overflow:hidden;transition:.18s;display:flex;flex-direction:column}
.st-post:hover{border-color:var(--st-accent);transform:translateY(-4px)}
.st-post .st-thumb{aspect-ratio:16/9;overflow:hidden;background:var(--st-card-2)}
.st-post .st-thumb img{width:100%;height:100%;object-fit:cover}
.st-post .st-post-body{padding:20px;display:flex;flex-direction:column;flex:1}
.st-post h3{font-size:1.15rem;margin:0 0 8px}
.st-post h3 a{color:var(--st-white)}
.st-post h3 a:hover{color:var(--st-accent)}
.st-meta{color:var(--st-muted);font-size:.82rem;margin-bottom:10px;display:flex;gap:10px;flex-wrap:wrap}
.st-excerpt{color:var(--st-muted);font-size:.95rem;flex:1}
.st-readmore{margin-top:14px;font-weight:700;font-size:.9rem}

/* Single / page content */
.st-content{max-width:820px;margin:0 auto;padding:60px 22px}
.st-content .st-meta{margin-bottom:20px}
.st-article-body{font-size:1.06rem}
.st-article-body img{border-radius:10px;margin:20px 0}
.st-article-body h2,.st-article-body h3{margin-top:1.4em}
.st-article-body blockquote{border-left:3px solid var(--st-accent);margin:1.2em 0;padding:.3em 1.1em;color:var(--st-muted)}
.st-article-body pre{background:var(--st-card-2);padding:16px;border-radius:10px;overflow:auto;border:1px solid var(--st-border)}
.st-article-body code{background:var(--st-card-2);padding:2px 6px;border-radius:6px;font-size:.9em}
.st-featured{border-radius:var(--st-radius);overflow:hidden;margin-bottom:26px;border:1px solid var(--st-border)}

/* Pagination */
.st-pagination{display:flex;gap:8px;justify-content:center;margin-top:44px;flex-wrap:wrap}
.st-pagination a,.st-pagination span{padding:9px 15px;border:1px solid var(--st-border);border-radius:9px;color:var(--st-text)}
.st-pagination .current{background:var(--st-accent);color:#07130b;border-color:var(--st-accent);font-weight:700}
.st-pagination a:hover{border-color:var(--st-accent);color:var(--st-accent)}

/* Partner logos */
.st-partners{display:flex;flex-wrap:wrap;gap:26px;align-items:center;justify-content:center;opacity:.85}
.st-partners span{color:var(--st-muted);font-weight:600;background:var(--st-card);border:1px solid var(--st-border);padding:10px 18px;border-radius:10px}

/* Sidebar */
.st-with-sidebar{display:grid;grid-template-columns:1fr 300px;gap:40px;max-width:var(--st-max);margin:0 auto;padding:60px 22px}
.st-sidebar .widget{background:var(--st-card);border:1px solid var(--st-border);border-radius:var(--st-radius);padding:20px;margin-bottom:22px}
.st-sidebar .widget-title{font-size:1.05rem;color:var(--st-white);margin-bottom:12px}
.st-sidebar ul{list-style:none;margin:0;padding:0}
.st-sidebar li{padding:6px 0;border-bottom:1px solid var(--st-border)}
.st-sidebar li:last-child{border:0}

/* Footer */
.st-footer{background:#0a0c0f;border-top:1px solid var(--st-border);padding:56px 0 26px;color:var(--st-muted)}
.st-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px}
.st-footer h4{color:var(--st-white);font-size:1rem;margin-bottom:14px}
.st-footer ul{list-style:none;margin:0;padding:0}
.st-footer li{padding:5px 0}
.st-footer a{color:var(--st-muted)}
.st-footer a:hover{color:var(--st-accent)}
.st-footer-bottom{border-top:1px solid var(--st-border);margin-top:40px;padding-top:22px;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:.9rem}

/* Forms / comments */
.st-comments{max-width:820px;margin:0 auto;padding:0 22px 60px}
input[type=text],input[type=email],input[type=url],input[type=search],textarea,select{
  width:100%;background:var(--st-card-2);border:1px solid var(--st-border);color:var(--st-text);
  padding:12px 14px;border-radius:9px;font-family:inherit;font-size:1rem;margin-bottom:12px
}
input:focus,textarea:focus{outline:none;border-color:var(--st-accent)}

/* Responsive */
@media(max-width:900px){
  .st-grid-4{grid-template-columns:repeat(2,1fr)}
  .st-grid-3{grid-template-columns:repeat(2,1fr)}
  .st-posts{grid-template-columns:repeat(2,1fr)}
  .st-with-sidebar{grid-template-columns:1fr}
  .st-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .st-nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--st-bg-2);border-bottom:1px solid var(--st-border);padding:10px 22px}
  .st-nav.open{display:block}
  .st-nav ul{flex-direction:column;gap:2px}
  .st-burger{display:inline-block}
  .st-grid-4,.st-grid-3,.st-grid-2,.st-posts{grid-template-columns:1fr}
  .st-footer-grid{grid-template-columns:1fr}
  .st-header-inner{position:relative}
}
