/* PoliMetrics custom styles */

:root {
    --pm-primary: #1a365d;
    --pm-accent: #2563eb;
    --pm-cdu: #000000;
    --pm-spd: #E3000F;
    --pm-gruene: #1AA64A;
    --pm-linke: #BE3075;
    --pm-fdp: #FFED00;
    --pm-afd: #009EE0;
    --pm-bsw: #009688;
}

/* Hero */
.hero {
    text-align: center;
    padding: 3rem 0 2rem;
}

.hero h1 {
    font-size: 2.2rem;
    max-width: 750px;
    margin: 0 auto;
    color: var(--pm-primary);
}

.hero p {
    max-width: 600px;
    margin: 1rem auto 0;
    font-size: 1.1rem;
}

/* Embed grid */
.embed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.embed-card {
    padding: 1.5rem;
    border: 1px solid var(--pico-muted-border-color, #e2e8f0);
    border-radius: 8px;
}

.embed-card h3 {
    margin-top: 0;
    font-size: 1.15rem;
}

.embed-card p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.embed-card .tag {
    display: inline-block;
    background: var(--pico-secondary-background, #f1f5f9);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

/* Instagram & Twitter embeds: constrain width */
.embed-card blockquote {
    margin: 0 auto;
}

/* Language switcher */
.lang-switch {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Placeholder section */
.placeholder {
    text-align: center;
    padding: 3rem 0;
}

/* Footer */
footer {
    text-align: center;
    padding-bottom: 2rem;
}

/* Responsive */
@media (max-width: 576px) {
    .embed-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.6rem;
    }
}
