/*
Theme Name: IPA Leer Custom Theme
Theme URI: https://www.ipa-leer.de
Description: Maßgeschneidertes Theme für die IPA Verbindungsstelle Leer e.V. (Design analog ipa-deutschland.de)
Author: IPA Leer
Version: 2.0
*/

:root {
    --ipa-blue: #002b5e;      /* Original IPA Deutschland Blau */
    --ipa-gold: #ffb400;      /* Original IPA Deutschland Gold */
    --ipa-text: #333333;
    --ipa-bg: #f4f6f9;
    --ipa-light: #ffffff;
    --ipa-footer: #1a202c;
}

body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--ipa-text);
    background-color: var(--ipa-bg);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--ipa-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--ipa-gold);
}

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--ipa-light);
    border-top: 5px solid var(--ipa-blue);
    border-bottom: 3px solid var(--ipa-gold);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-branding img {
    max-height: 80px;
    width: auto;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ipa-blue);
    line-height: 1.2;
}

.site-description {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.main-navigation a {
    color: var(--ipa-blue);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
    padding: 10px 0;
}

.main-navigation a:hover {
    color: var(--ipa-gold);
}

/* --- Main Layout --- */
.site-main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* --- News / Artikel (Kacheloptik) --- */
.ipa-article {
    background: var(--ipa-light);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-left: 5px solid var(--ipa-blue);
}

.ipa-article-header {
    margin-bottom: 20px;
}

.ipa-title {
    color: var(--ipa-blue);
    font-size: 2rem;
    margin: 0 0 10px 0;
}

.entry-meta {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.entry-content {
    font-size: 1.05rem;
}

/* --- Footer (Daten aus HTML) --- */
.site-footer {
    background-color: var(--ipa-footer);
    color: #a0aec0;
    padding: 60px 20px 20px;
    margin-top: 60px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h4 {
    color: var(--ipa-light);
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--ipa-gold);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-widget p {
    margin: 0 0 10px 0;
    line-height: 1.6;
}

.footer-widget a {
    color: #a0aec0;
}

.footer-widget a:hover {
    color: var(--ipa-light);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid #2d3748;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
}

/* --- Status Badge --- */
.status-badge {
    background-color: #fee2e2;
    color: #ef4444;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}