/* === STYLES FOR FIDES ECOSYSTEM PAGE === */

.ecosystem-page {
    background-color: #ffffff;
    color: #111111;
}

/* Override dark-theme styles from style.css */
.ecosystem-page .main-header:not(.is-top) {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid #e0e0e0;
}
.ecosystem-page .logo span,
.ecosystem-page .hamburger span {
    color: #111111;
    background-color: #111111;
}
.ecosystem-page .desktop-nav > li > a {
    color: #555555;
}
.ecosystem-page .desktop-nav > li > a:hover {
    color: #111111;
}
.ecosystem-page .btn-secondary {
    background-color: #f0f0f0;
    color: #111;
    border: 1px solid #e0e0e0;
}
.ecosystem-page .btn-secondary:hover {
    background-color: #e0e0e0;
    border-color: #d0d0d0;
}

/* Article Layout & Typography */
.article-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 1rem;
}

.ecosystem-article {
    padding-top: calc(var(--header-height-desktop) + 4rem);
    padding-bottom: 4rem;
}

.article-header h1 {
    font-family: 'Albert Sans', sans-serif;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #111;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.meta-text {
    display: flex;
    flex-direction: column;
}
.meta-text strong {
    font-family: 'Albert Sans', sans-serif;
    font-weight: 600;
    color: #111;
}
.meta-text span {
    font-family: 'Albert Sans', sans-serif;
    color: #666;
    font-size: 0.9rem;
}

.article-hero-image {
    margin: 0 0 2.5rem 0;
}
.article-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.article-content {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.5em;
}

.article-content h2 {
    font-family: 'Albert Sans', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 700;
    margin-top: 2.5em;
    margin-bottom: 1em;
    line-height: 1.3;
}

.article-content a {
    color: #111;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.article-content a:hover {
    color: #000;
    text-decoration-thickness: 2px;
}

/* Form Section */
.join-network-section {
    background-color: #f7f7f7;
    padding: 6rem 0;
    border-top: 1px solid #e0e0e0;
}

.join-network-section h2 {
    font-family: 'Albert Sans', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.join-network-section p {
    font-family: 'Albert Sans', sans-serif;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 50ch;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.25rem;
    border-radius: 12px;
    background-color: #ededed;
    border: 1px solid transparent;
    font-family: 'Albert Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #666;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #aaa;
    background-color: #fff;
}

.recaptcha-notice {
    font-family: 'Albert Sans', sans-serif;
    font-size: 0.8rem;
    color: #666;
    line-height: 1.6;
}
.recaptcha-notice a {
    color: #333;
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    background-color: #111;
    color: #fff;
    padding: 1.25rem;
    font-family: 'Albert Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.btn-submit:hover {
    background-color: #333;
}