/* Perspektiv Article Styles — Extracted from embedded <style> blocks */
/* Applied to all 4 perspektiv articles via _layouts/perspektiv.html */

/* Hero Section — Overlay Style */
.perspektiv-hero {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}

.perspektiv-hero-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.perspektiv-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.perspektiv-hero-content {
    padding: 32px 40px;
    text-align: center;
    background: var(--background-color-light);
    color: var(--text-color-light);
}

.perspektiv-breadcrumb {
    font-size: 0.9em;
    margin-bottom: 16px;
}

.perspektiv-breadcrumb a {
    color: var(--link-color-light);
}

.perspektiv-hero h1 {
    font-size: 2.5em;
    margin-bottom: 16px;
    color: var(--text-color-light);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.perspektiv-intro {
    font-size: 1.15em;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-color-light);
    opacity: 0.85;
}

/* Content Sections */
.perspektiv-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.perspektiv-section h2 {
    font-size: 1.6em;
    margin-bottom: 20px;
}

.perspektiv-section h3 {
    font-size: 1.2em;
    margin-bottom: 12px;
}

.perspektiv-section p {
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Elements (info boxes) */
.perspektiv-element {
    background: var(--box-background-light);
    padding: 24px;
    border-radius: 12px;
    margin: 24px 0;
    border-left: 4px solid var(--perspektiv-accent, var(--primary-accent));
}

/* Challenges Grid */
.perspektiv-challenges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
}

.perspektiv-challenge {
    background: var(--box-background-light);
    padding: 20px;
    border-radius: 12px;
}

.perspektiv-challenge h4 {
    margin: 0 0 8px 0;
    font-size: 1em;
}

.perspektiv-challenge p {
    margin: 0;
    font-size: 0.95em;
    opacity: 0.85;
}

/* Questions List */
.perspektiv-questions {
    list-style: none;
    padding: 0;
}

.perspektiv-questions li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 24px;
    position: relative;
}

.perspektiv-questions li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-accent);
}

/* CTA Section */
.perspektiv-cta {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
    background: var(--box-background-light);
    border-radius: 16px;
    margin-bottom: 40px;
}

.perspektiv-cta .section-illustration {
    margin: 0 auto 24px;
}

.perspektiv-cta h2 {
    font-size: 1.6em;
    margin-bottom: 16px;
}

.perspektiv-cta p {
    font-size: 1.05em;
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0.85;
}

.perspektiv-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.perspektiv-challenge {
    position: relative;
    padding-top: 48px;
    border-top: 3px solid var(--primary-accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.perspektiv-challenge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.perspektiv-challenge h4 {
    position: relative;
    padding-left: 28px;
}

.perspektiv-challenge h4:before {
    content: "◆";
    position: absolute;
    left: 0;
    color: var(--primary-accent);
    font-size: 0.9em;
}

.perspektiv-element {
    position: relative;
    padding-left: 56px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.perspektiv-element:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.perspektiv-element:before {
    content: "●";
    position: absolute;
    left: 20px;
    top: 26px;
    color: var(--primary-accent);
    font-size: 1.2em;
}

.perspektiv-questions li {
    padding: 16px 0 16px 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: background-color 0.2s ease;
}

.perspektiv-questions li:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.perspektiv-questions li:before {
    content: "→";
    font-weight: bold;
    font-size: 1.1em;
}

.perspektiv-cta {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* About / Scientific Basis */
.perspektiv-about {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.perspektiv-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--link-color-light);
    text-decoration: underline;
}

/* Dark Mode */
.dark-mode .perspektiv-element,
.dark-mode .perspektiv-challenge,
.dark-mode .perspektiv-cta {
    background: var(--box-background-dark);
}

.dark-mode .perspektiv-questions li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .perspektiv-about {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .perspektiv-hero-content {
    background: var(--banner-background-dark);
    color: var(--banner-text-dark);
}

.dark-mode .perspektiv-hero h1 {
    color: var(--banner-text-dark);
}

.dark-mode .perspektiv-intro {
    color: var(--banner-text-dark);
}

.dark-mode .perspektiv-breadcrumb a {
    color: var(--link-color-dark);
}

/* Mobile */
@media (max-width: 768px) {
    .perspektiv-hero-content {
        padding: 30px 20px 20px;
    }

    .perspektiv-hero h1 {
        font-size: 1.8em;
    }

    .perspektiv-intro {
        font-size: 1em;
    }

    .perspektiv-challenges {
        grid-template-columns: 1fr;
    }

    .perspektiv-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
