/*
Theme Name: ElevenConnect
Theme URI: https://deine-domain.de
Author: Dein Name
Author URI: https://deine-domain.de
Description: Eigenes WordPress Theme für eine EA FC / Pro Clubs Newsseite
Version: 1.0
Text Domain: elevenconnect
*/

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: #05070c;
    color: #ffffff;
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.5;
}

a {
    color: #ffffff;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

.container {
    width: min(1320px, 92%);
    margin: 0 auto;
}

.site-header {
    background: #0c1220;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 28px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo a {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.main-nav ul,
.main-menu {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li,
.main-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a,
.main-menu a {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-menu a:hover {
    color: #ff2a2a;
}

.site-main {
    padding: 40px 0 70px;
}

.main-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 50px;
}

.content-area {
    display: flex;
    flex-direction: column;
    gap: 50px;
    min-width: 0;
}

.hero-section {
    margin-bottom: 56px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.hero-main {
    min-width: 0;
}

.hero-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 28px;
}

.hero-card,
.news-card {
    background: #11151d;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 18px;
    overflow: hidden;
}

.hero-card,
.news-card,
.focus-card {
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-card:hover,
.news-card:hover,
.focus-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 42, 42, 0.4);
}

.hero-card-large {
    position: relative;
    height: 100%;
    min-height: 100%;
}

.hero-card-large .hero-image-link,
.hero-card-large img {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-card-large img {
    object-fit: cover;
}

.hero-card-large::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.85) 30%,
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0.0) 100%
    );
    pointer-events: none;
}

.hero-card-content,
.news-card-content {
    padding: 20px;
}

.hero-card-content-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 24px 28px 22px;
}

.hero-card-small {
    position: relative;
    min-height: 280px;
    overflow: hidden;
}

.hero-card-small .hero-image-link,
.hero-card-small img {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-card-small img {
    object-fit: cover;
}

.hero-card-small .hero-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 18px 20px 20px;
    background: none;
}

.hero-card-small::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.9) 0%,
        rgba(0,0,0,0.6) 40%,
        rgba(0,0,0,0.1) 75%,
        transparent 100%
    );
}

.post-category {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #ff2a2a, #ff0000);
    border: none;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 14px rgba(255, 42, 42, 0.35);
}

.hero-title {
    margin: 0 0 12px;
    font-size: 48px;
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.02em;
    max-width: 75%;
    text-wrap: balance;
}

.hero-excerpt {
    margin: 0 0 18px;
    color: rgba(255,255,255,0.82);
    font-size: 15px;
    line-height: 1.45;
    max-width: 78%;
}

.hero-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 8px;
}

.hero-meta {
    margin-top: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-meta .meta-date::before {
    content: "🕒";
    margin-right: 4px;
    font-size: 12px;
}

.hero-cta a {
    color: #ff2a2a;
    font-size: 15px;
    font-weight: 700;
}

.hero-cta a:hover {
    color: #ffffff;
}

.hero-small-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
}

.hero-title a:hover,
.hero-small-title a:hover,
.news-title a:hover,
.sidebar-post a:hover {
    color: #ff2a2a;
}

.section-heading {
    margin-bottom: 22px;
}

.section-heading h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.1;
}

.section-heading-flex {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-badge {
    background: rgba(255, 42, 42, 0.14);
    color: #ff2a2a;
    border: 1px solid rgba(255, 42, 42, 0.35);
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.news-title {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.15;
}

.news-excerpt {
    margin: 0;
    color: rgba(255,255,255,0.72);
    font-size: 16px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-block {
    background: #11151d;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 20px;
}

.sidebar-block h3 {
    margin: 0 0 15px;
    font-size: 18px;
}

.sidebar-post {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.sidebar-post img {
    width: 70px;
    border-radius: 6px;
}

.sidebar-post h4 {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
}

.focus-section {
    margin-top: 10px;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.focus-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #11151d;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 18px;
}

.focus-content {
    min-width: 0;
}

.focus-kicker {
    margin-bottom: 8px;
    color: rgba(255,255,255,0.58);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.focus-content h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.25;
}

.focus-content p {
    margin: 0 0 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.72);
    line-height: 1.5;
}

.focus-meta {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* Neues Fokus-Icon-System */
.focus-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* TROPHY */
.icon-trophy {
    background: rgba(255, 196, 0, 0.12);
}

.icon-trophy::before {
    content: "🏆";
    font-size: 20px;
}

/* TACTICS */
.icon-tactics {
    background: rgba(255, 42, 42, 0.12);
}

.icon-tactics::before {
    content: "✖";
    font-size: 20px;
    color: #ff2a2a;
}

/* CHART */
.icon-chart {
    background: rgba(74, 144, 226, 0.12);
}

.icon-chart::before {
    content: "📊";
    font-size: 18px;
}

/* BULB */
.icon-bulb {
    background: rgba(76, 217, 100, 0.12);
}

.icon-bulb::before {
    content: "💡";
    font-size: 18px;
}

/* BALL */
.icon-ball {
    background: rgba(255,255,255,0.08);
}

.icon-ball::before {
    content: "⚽";
    font-size: 18px;
}

/* DEFAULT */
.icon-default {
    background: rgba(255,255,255,0.06);
}

.icon-default::before {
    content: "•";
    font-size: 20px;
}

.site-footer {
    background: #0c1220;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 22px 0;
    margin-top: 60px;
}

.site-footer p {
    margin: 0;
    color: rgba(255,255,255,0.75);
}

@media (max-width: 1100px) {
    .main-layout {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-card-large {
        min-height: 520px;
        max-height: none;
    }

    .hero-title {
        font-size: 52px;
        max-width: 90%;
    }

    .hero-excerpt {
        max-width: 85%;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav ul,
    .main-menu {
        flex-wrap: wrap;
        gap: 14px 18px;
    }

    .news-grid,
    .focus-grid {
        grid-template-columns: 1fr;
    }

    .hero-side {
        grid-template-rows: auto;
    }

    .hero-card-large {
        min-height: 420px;
    }

    .hero-title {
        font-size: 34px;
        max-width: 100%;
    }

    .hero-excerpt {
        max-width: 100%;
        font-size: 16px;
    }

    .hero-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .hero-small-title,
    .news-title {
        font-size: 24px;
    }

    .hero-card-small {
        min-height: 276px;
    }
}