/*
Theme Name: GreenView
Theme URI: https://greenview.de
Author: EXCIT3D & Dromni
Author URI: https://excit3d.de
Description: Custom WordPress theme for GreenView - KI-gestützte Waldschutz-Technologie
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: greenview
Tags: custom-theme, responsive, green, environment
*/

/* CSS Variables for Color Palette */
:root {
    /* Primary Colors */
    --primary-light: #FAFBFF;
    --primary-green: #3AB54A;
    --primary-dark-green: #103516;
    --primary-medium-green: #2B6036;
    
    /* Grayscale Colors */
    --gray-cloud: #EDEFF7;
    --gray-smoke: #D3D6E0;
    --gray-steel: #BCBFCC;
    --gray-space: #9DA2B3;
    --gray-graphite: #6E7180;
    --gray-arsenic: #40424D;
    --gray-phantom: #1E1E24;
    --gray-black: #000000;
    
    /* Semantic Colors */
    --text-primary: var(--gray-phantom);
    --text-secondary: var(--gray-graphite);
    --text-light: var(--gray-space);
    --background-primary: var(--primary-light);
    --background-secondary: var(--gray-cloud);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 251, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-smoke);
    transition: top 0.3s ease;
}

/* Admin Bar Adjustment */
body.admin-bar .header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .header {
        top: 46px;
    }
}

.nav {
    padding: 0.75rem 0;
}

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

.nav-logo .logo {
    height: 32px;
    width: auto;
    vertical-align: middle;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* WordPress Navigation Integration */
.nav-menu li a,
.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.1em;
    transition: color 0.3s ease;
    font-family: 'Manrope', sans-serif;
}

.nav-menu li a:hover,
.nav-link:hover,
.nav-menu li.current-menu-item a,
.nav-menu li.current_page_item a {
    color: var(--primary-green);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Mobile Navigation Styles */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 54px;
        flex-direction: column;
        background-color: var(--background-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 0.5rem 0;
        z-index: 999;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0.4rem 0;
        padding: 0.4rem 0;
    }
    
    .nav-menu li a {
        display: block;
        padding: 0.3rem 1rem;
    }
    
    body.admin-bar .nav-menu {
        top: 100px;
    }
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(-45deg, var(--primary-light), #f0f8f1, var(--gray-cloud), #f5fdf6, var(--background-primary));
    background-size: 400% 400%;
    animation: gradientShift 15s ease-in-out infinite;
    padding-top: 80px;
    overflow: hidden;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-dark-green);
}

.hero-subtitle {
    color: var(--primary-dark-green);
    font-size: 0.85em;
}

.highlight {
    color: var(--primary-green);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.btn-primary:hover {
    background: var(--primary-dark-green);
    border-color: var(--primary-dark-green);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-green);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-emblem {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(58, 181, 74, 0.2));
    animation: droneFloat 4s ease-in-out infinite;
}

@keyframes droneFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-8px) translateX(5px);
    }
    50% {
        transform: translateY(-5px) translateX(-3px);
    }
    75% {
        transform: translateY(-12px) translateX(2px);
    }
}

/* ============================================
   HERO MOBILE RESPONSIVE
   ============================================ */

@media screen and (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 2rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 2rem 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 1rem;
        padding: 0 2rem;
    }
    
    .hero-emblem {
        max-width: 280px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 480px) {
    .hero-container {
        padding: 1.5rem 16px;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-image {
        padding: 0 1.5rem;
    }
    
    .hero-emblem {
        max-width: 220px;
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark-green);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--background-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Responsive Features Grid */
@media screen and (max-width: 768px) {
    .features {
        padding: 4rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-smoke);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(58, 181, 74, 0.15);
    border-color: var(--primary-green);
}

/* DISABLE hover effect on single post pages */
.single .feature-card:hover,
.singular .feature-card:hover {
    transform: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--gray-smoke);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-icon .icon {
    width: 80px;
    height: 80px;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark-green);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--background-secondary) 0%, var(--gray-smoke) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-img {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Funding Section with Hover Effect */
.funding-info {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--gray-cloud);
    margin-top: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: default;
}

.funding-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(58, 181, 74, 0.2);
    border-color: var(--primary-green);
}

.funding-info:hover .funding-title {
    color: var(--primary-green);
}

.funding-info:hover .efre-logo {
    transform: scale(1.02);
}

.funding-content {
    text-align: center;
    margin-bottom: 1.5rem;
}

.funding-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark-green);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.funding-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.funding-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    overflow: hidden;
}

.efre-logo {
    width: 100%;
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

/* Mobile Fix for About Section & Funding */
@media screen and (max-width: 768px) {
    .about {
        padding: 4rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .funding-info {
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .efre-logo {
        max-width: 100%;
        width: auto;
    }
}

/* Footer */
.footer {
    background: var(--primary-dark-green);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo .logo {
    height: 28px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 300px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* WordPress Specific Styles */
.wp-block-group {
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-description {
        margin: 0 auto;
    }
}

/* ============================================
   CONTACT PAGE (mailto)
   ============================================ */

.contact-page {
    padding: 6rem 0 4rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.contact-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--gray-smoke);
    margin-bottom: 2rem;
    transition: border-color 0.3s ease;
}

.contact-card:hover {
    border-color: var(--primary-green);
}

.contact-icon {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.contact-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-dark-green);
    margin-bottom: 1rem;
}

.contact-card-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-email-display {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.contact-email-display a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.contact-email-display a:hover {
    text-decoration: underline;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.info-card {
    background: var(--background-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--gray-smoke);
}

.info-icon {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark-green);
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

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

.info-card a:hover {
    text-decoration: underline;
}

/* Contact Page Responsive */
@media screen and (max-width: 768px) {
    .contact-page {
        padding: 4rem 0 3rem;
    }
    
    .contact-card {
        padding: 2rem;
    }
    
    .contact-card-title {
        font-size: 1.5rem;
    }
    
    .contact-card-description {
        font-size: 1rem;
    }
    
    .contact-info-cards {
        grid-template-columns: 1fr;
    }
    
    .btn-large {
        width: 100%;
        padding: 14px 24px;
    }
}

/* ============================================
   NEWS PAGE STYLES - RESPONSIVE
   ============================================ */

.news-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark-green) 100%);
    color: white;
    text-align: center;
}

.news-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.news-hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.highlight-white {
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.news-grid-section {
    padding: 4rem 0 6rem;
    background: var(--background-primary);
}

.news-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.news-filter .btn {
    min-width: 100px;
    padding: 10px 20px;
    font-size: 0.95rem;
}

.post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    justify-content: center;
}

.category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-green);
    color: white;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.feature-card .entry-meta {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 0;
}

.feature-card .feature-title a {
    color: var(--primary-dark-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.feature-card .feature-title a:hover {
    color: var(--primary-green);
}

/* News Card Responsive */
@media screen and (max-width: 768px) {
    .news-hero {
        padding: 6rem 0 3rem;
    }
    
    .news-hero-title {
        font-size: 2rem;
    }
    
    .news-hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .news-grid-section {
        padding: 2rem 0 4rem;
    }
    
    .news-filter {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .news-filter .btn {
        min-width: 80px;
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.25rem;
    }
    
    .feature-card .btn {
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .news-hero-title {
        font-size: 1.75rem;
    }
    
    .news-filter .btn {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: unset;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--primary-green);
    border-radius: 6px;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background: var(--primary-green);
    color: white;
}

/* ============================================
   PAGE TEMPLATE STYLES
   ============================================ */

/* Page Entry Content - Main wrapper */
.page-entry-content {
    padding: 6rem 0;
}

/* Entry Header */
.entry-header {
    text-align: left;
    margin-bottom: 2rem;
}

.entry-header .section-title,
.entry-header h1 {
    text-align: left;
}

/* Page Content */
.page-content {
    text-align: left;
}

/* WordPress Block Reset for Page Content */
.page-content .wp-block-columns,
.page-content .wp-block-column,
.page-content .wp-block-group,
.page-content .wp-block-group__inner-container {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
}

.wp-block-columns {
    margin-left: 0;
    margin-right: 0;
    gap: 2rem;
}

.wp-block-column {
    margin-left: 0;
    padding-left: 0;
}

.wp-block-column:first-child {
    margin-left: 0;
}

.wp-block-columns.is-layout-flex {
    margin-left: 0;
}

/* ============================================
   GUTENBERG SUPPORT STYLES
   ============================================ */

.entry-content > * {
    margin-bottom: 1.5rem;
}

.entry-content h1, 
.entry-content h2, 
.entry-content h3, 
.entry-content h4 {
    color: var(--primary-dark-green);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    text-align: left;
}

.entry-content p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    text-align: left;
}

.entry-content blockquote {
    background: var(--gray-cloud);
    border-left: 4px solid var(--primary-green);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-secondary);
    border-radius: 0 8px 8px 0;
    text-align: left;
}

.entry-content ul, 
.entry-content ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

/* ============================================
   SINGLE POST STYLES (Einzelbeiträge)
   ============================================ */

/* Single post card - NO hover effect */
.single .feature-card,
.singular .feature-card {
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    cursor: default;
}

/* Spacing Fix for Single Post & Admin Bar Support */
.single .site-main {
    padding-top: 120px !important;
    padding-bottom: 100px !important;
}

.single .feature-title,
.singular .feature-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.single .entry-meta,
.singular .entry-meta {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-smoke);
    color: var(--text-secondary);
}

.post-navigation {
    max-width: 900px;
    margin: 3rem auto 0;
    display: flex;
    justify-content: space-between;
}

.post-navigation a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.post-navigation a:hover {
    color: var(--primary-dark-green);
}

/* Hide Comments */
#comments, .comment-respond, .comment-reply-title {
    display: none !important;
}

/* Hide WordPress "Edit" link */
.edit-link {
    display: none !important;
}

/* ============================================
   LEGAL PAGES STYLES (Impressum, Datenschutz)
   ============================================ */

.legal-content {
    padding: 10rem 0 8rem;
    background: var(--background-primary);
    min-height: 80vh;
}

.legal-header {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-smoke);
}

.legal-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-dark-green);
    margin-bottom: 1rem;
}

.legal-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    text-align: left;
}

.legal-body h2:first-of-type {
    display: none;
}

.legal-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-smoke);
}

.legal-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-dark-green);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-green);
    text-align: left;
}

.legal-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-green);
    margin: 1.5rem 0 0.75rem;
    text-align: left;
}

.legal-section p {
    margin-bottom: 0.75rem;
    text-align: left;
}

.legal-section ul, .legal-section ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    text-align: left;
}

.partner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
    text-align: left;
}

@media screen and (max-width: 600px) {
    .partner-grid {
        grid-template-columns: 1fr;
    }
}

.partner-data-box {
    background: linear-gradient(135deg, var(--primary-light) 0%, #f0f8f1 100%);
    padding: 0.5rem 1rem;
    margin: 0.3rem 0;
    border-radius: 4px;
    border: 1px solid var(--gray-smoke);
    border-left: 3px solid var(--primary-green);
    text-align: left;
}

.press-release-content blockquote {
    background: var(--gray-cloud);
    border-left: 4px solid var(--primary-green);
    padding: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-secondary);
    text-align: left;
}

/* ============================================
   GENERAL RESPONSIVE FIXES
   ============================================ */

@media screen and (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    /* Feature cards on single pages */
    .single .feature-card,
    .singular .feature-card {
        padding: 1.5rem;
        margin: 0;
    }
    
    .single .feature-title,
    .singular .feature-title {
        font-size: 1.75rem;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}
