/*
Theme Name: Football.com Theme
Author: Football4Free
Description: Ein maßgeschneidertes Theme für Football.com News
Version: 1.0
*/

:root {
    --primary-color: #0039a6;
    --primary-color-light: #0057ff;
    --primary-color-dark: #002d80;
    --text-color: #101827;
    --text-color-light: #4b5563;
    --background-color: #edf2f7;
    --card-color: #ffffff;
    --border-color: #d1d5db;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --primary-color: #1e88e5;
    --text-color: #f1f5f9;
    --text-color-light: #b0bec5;
    --background-color: #0f172a;
    --card-color: #1e293b;
    --border-color: #334155;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background-color: var(--background-color); color: var(--text-color); line-height: 1.6; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }

.header { background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%); padding: 0.75rem 0; color: white; position: sticky; top: 0; z-index: 100; }
.header-container { display: flex; align-items: center; justify-content: space-between; }
.logo a { color: white; text-decoration: none; font-weight: 700; font-size: 1.5rem; }
.slogan { font-size: 0.8rem; opacity: 0.8; font-weight: 400; display: block; }

.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; margin: 2rem 0; }
.breadcrumb { margin-bottom: 1.5rem; font-size: 0.9rem; }
.breadcrumb a { color: var(--primary-color); text-decoration: none; font-weight: 600; }

.article-main { background: var(--card-color); padding: 2.5rem; border-radius: var(--radius-lg); border: 1px solid var(--border-color); box-shadow: var(--shadow-md); }
.article-title { font-size: 2.4rem; font-weight: 700; line-height: 1.2; margin-bottom: 1.5rem; text-wrap: balance; }
.article-hero-img { width: 100%; height: auto; border-radius: var(--radius-md); margin-bottom: 2rem; object-fit: cover; }
.article-content { font-size: 1.1rem; line-height: 1.8; }
.article-content p { margin-bottom: 1.5rem; }
.article-content h2 { margin: 2.5rem 0 1rem; font-size: 1.8rem; line-height: 1.5; }

.sidebar-widget { background: var(--card-color); padding: 1.5rem; border-radius: var(--radius-lg); border: 1px solid var(--border-color); margin-bottom: 1.5rem; }
.widget-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; border-bottom: 3px solid var(--primary-color); padding-bottom: 5px; text-transform: uppercase; }
.sidebar-link { display: block; margin-bottom: 0.8rem; text-decoration: none; color: var(--text-color); font-weight: 600; font-size: 0.95rem; }
.sidebar-link:hover { color: var(--primary-color); }

.widget-forum { background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%); color: white; border: none; }
.widget-forum .widget-title { color: white; border-color: rgba(255,255,255,0.3); }
.forum-btn { display: block; background: white; color: var(--primary-color); text-align: center; padding: 0.8rem; border-radius: var(--radius-md); text-decoration: none; font-weight: 700; margin-top: 1rem; }

.footer { background: var(--card-color); padding: 3rem 0; border-top: 1px solid var(--border-color); text-align: center; margin-top: 4rem; }

.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100dvh; background: rgba(15, 23, 42, 0.75); display: none; justify-content: center; align-items: center; z-index: 1000; backdrop-filter: blur(8px); overscroll-behavior: contain; }
.modal-overlay.active { display: flex; }
.modal-container { background: var(--card-color); width: 95%; max-width: 550px; border-radius: 1.25rem; overflow: hidden; touch-action: manipulation; }
.modal-header { padding: 1.5rem; display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid var(--border-color); }
.modal-close { background: transparent; border: none; color: var(--text-color-light); font-size: 1.5rem; cursor: pointer; padding: 0.2rem; }
.modal-close:hover { color: #f9423a; }

@media (max-width: 768px) {
    .article-layout { grid-template-columns: 1fr; }
    .article-main { padding: 1.5rem; }
    .article-title { font-size: 1.8rem; }
    .alt-streams-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 0.4rem; }
    .alt-stream-btn { padding: 0.4rem 0.2rem; font-size: 0.75rem; border-radius: 0.4rem; width: 100%; min-width: 0; position: relative; }
    .alt-stream-btn span:not(.lang-tag) { display: block; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .alt-stream-btn.active-stream-btn::before { font-size: 0.85rem; top: -5px; right: -5px; }
}

/* --- Beitrags-Übersicht Anpassungen --- */

/* Abstände zwischen den Beiträgen */
.post-item {
    margin-bottom: 3.5rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--border-color);
}

/* Der letzte Beitrag braucht keine Trennlinie und keinen extra Abstand */
.post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Titel in der Übersicht klickbar machen und Farbe anpassen */
.article-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.article-title a:hover {
    color: var(--primary-color);
}

/* Den (mehr ...)-Link stylen */
a.more-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

a.more-link:hover {
    text-decoration: underline;
}

.article-meta {
    font-size: 0.9rem;
    color: var(--text-color-light);
    margin-top: 0.5rem;    /* Bringt minimal Luft zwischen Titel und Autor */
    margin-bottom: 0.5rem; /* Hier ist der vergrößerte Abstand zum Text! */
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.article-image-wrapper {
    margin-bottom: 2rem; /* Abstand vom Bild zum darunterliegenden Text */
}

.article-hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    object-fit: cover;
}

/* Falls kein Bild da ist, hat die Meta-Leiste ja schon ihren Abstand (aus der letzten Nachricht) */


/* --- Fließtext Stream-Layout für den Blog --- */
.wp-editorial-stream-block {
    margin: 2.5rem 0;
    font-family: inherit; /* Nutzt automatisch deine Blog-Schriftart */
}

.wp-editorial-stream-block h2 {
    margin-bottom: 1rem;
}

.wp-stream-intro-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-color, #333);
}

.wp-stream-intro-text strong {
    color: var(--primary-color, #0039a6);
}

/* Die neue, simple Aufzählung */
.wp-inline-stream-list {
    margin: 0 0 2rem 1.5rem !important; /* Schöner Abstand nach links für die Punkte */
    padding: 0 !important;
    list-style-type: disc !important; /* Klassische schwarze Punkte */
}

.wp-inline-stream-list li {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color, #333);
}

/* Der Link zum Stream */
.wp-inline-stream-list li a {
    color: var(--primary-color, #0039a6);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-left: 0.4rem;
}

.wp-inline-stream-list li a:hover {
    color: var(--primary-color-dark, #002d80);
    text-decoration: none;
}

/* Der Geoblocking-Hinweis in kleinerer, kursiver Schrift unter dem Link */
.wp-inline-geo-notice {
    display: block;
    font-size: 0.95rem;
    color: var(--text-color-light, #64748b);
    margin-top: 0.3rem;
}

.wp-inline-geo-notice strong {
    color: inherit; /* Erbt die graue Farbe, ist aber fett */
}



/* Styling für die neue Match-Fakten-Liste ganz oben */
.wp-match-facts-list {
    margin: 0 0 2.5rem 0;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.wp-match-facts-list li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-color, #333);
}

/* Anpassung der Headings im Block, damit sie etwas abstehen */
.wp-editorial-stream-block h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 800;
}

/* Styling für die VPN Anleitung (nummerierte Liste) */
.wp-vpn-guide-list {
    margin: 0 0 2rem 0;
    padding-left: 1.5rem;
    list-style-type: decimal;
}

.wp-vpn-guide-list li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color, #333);
}

.wp-vpn-guide-list li a {
    color: var(--primary-color, #0039a6);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wp-vpn-guide-list li a:hover {
    color: var(--primary-color-dark, #002d80);
    text-decoration: none;
}
























/* Styling für die Sender-Anzahl Info oben */
.wp-match-count-info {
    background-color: rgba(0, 57, 166, 0.07); /* Zartes Blau */
    border-left: 4px solid #0039a6;           /* Dein Blau als Akzent-Linie */
    padding: 1rem 1.25rem;
    border-radius: 4px;
    font-size: 1.1rem;
    color: #101827;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wp-match-count-info i {
    color: #0039a6;
    font-size: 1.2rem;
}

.wp-match-count-info strong {
    color: #0039a6;
    font-weight: 800;
}

ul.wp-block-list {
    margin-left:25px
}
