/*
Theme Name: CannaNews Dark
Theme URI: https://cannachrichten.de
Author: Agentic AI
Description: A modern, dark-mode glassmorphism theme for Cannabis News.
Version: 1.0
License: GPLO
*/

:root {
    --bg-dark: #0a0a0a;
    --card-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent-green: #00ff9d;
    --accent-purple: #bd00ff;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --font-main: 'Outfit', sans-serif;
}

/* Hero Section */
.hero-section {
    background: radial-gradient(circle at 20% 50%, rgba(189, 0, 255, 0.15) 0%, rgba(10, 10, 10, 0) 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 255, 157, 0.1) 0%, rgba(10, 10, 10, 0) 50%);
    padding: 100px 0;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 40px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin: 0 0 20px 0;
    line-height: 1.1;
    font-weight: 700;
}

.hero-content .highlight {
    background: linear-gradient(135deg, #00ff9d 0%, #00b8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.hero-btn {
    display: inline-block;
    background: var(--accent-green);
    color: #000;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.4);
    text-decoration: none;
    opacity: 1;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    color: var(--accent-green);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Header */
.site-header {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    text-decoration: none;
}

.site-title span {
    color: var(--accent-green);
}

/* Grid Layout */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

/* Card Style */
.news-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 25px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    /* For absolute positioning of badge */
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 157, 0.05);
    border-color: rgba(0, 255, 157, 0.2);
}

.news-card h2 {
    font-size: 1.1em;
    margin-top: 0;
    line-height: 1.4;
    color: var(--text-primary);
}

.news-card h2 a {
    color: var(--text-primary);
    text-decoration: none;
}

.news-card p {
    font-size: 0.9em;
    color: var(--text-secondary);
    flex-grow: 1;
}

.card-meta {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    font-size: 0.8em;
    color: #666;
}

/* Badges */
.score-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.75em;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
}

/* Single Post Content */
.single-post-content {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.single-post-content h1 {
    font-size: 2.2em;
    margin-bottom: 20px;
}

.single-post-content p {
    font-size: 1.1em;
    color: #ddd;
    margin-bottom: 1.5em;
}

.single-post-content h2,
.single-post-content h3 {
    margin-top: 2em;
    color: var(--accent-green);
}

.single-post-content ul {
    list-style-type: none;
    padding-left: 0;
}

.single-post-content li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.single-post-content li:before {
    content: "•";
    color: var(--accent-green);
    position: absolute;
    left: 0;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 0;
    text-align: center;
    color: #666;
    margin-top: 80px;
    font-size: 0.9em;
}