/* ---------------------------------------------------------------------
   css/organizations.css — public page /{lang}/organizations only.
   Loaded through $page_specific_css, so every rule stays under .org-page.
   --------------------------------------------------------------------- */

.org-page {
    max-width: 1060px;
    margin: 0 auto 70px;
    padding: 0 20px;
    color: #1e293b;
}

/* --- Hero --- */
.org-hero {
    padding: 48px 0 8px;
    max-width: 760px;
}

.org-eyebrow {
    margin: 0 0 10px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2563eb;
}

.org-page h1 {
    font-family: 'Noto Serif', serif;
    font-size: 2.3rem;
    line-height: 1.2;
    color: #0f172a;
    margin: 0 0 18px;
}

.org-lead {
    font-size: 1.1rem;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}

/* --- Section headings --- */
.org-page h2 {
    font-family: 'Noto Serif', serif;
    font-size: 1.5rem;
    color: #0f172a;
    margin: 56px 0 22px;
}

/* --- Feature cards --- */
.org-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.org-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px;
}

.org-card h3 {
    font-size: 1.02rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.org-card h3 svg {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    stroke: #2563eb;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.org-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
}

/* --- Steps --- */
.org-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    counter-reset: org-step;
}

.org-steps li {
    counter-increment: org-step;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px;
}

.org-steps li::before {
    content: counter(org-step);
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
}

.org-steps h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 8px;
}

.org-steps p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
}

/* --- "Not a teacher account" note --- */
.org-note {
    margin-top: 40px;
    padding: 20px 22px;
    border: 1px solid #fcd34d;
    border-left: 4px solid #f59e0b;
    border-radius: 10px;
    background: #fffbeb;
}

.org-note h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #78350f;
    margin: 0 0 8px;
}

.org-note p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #92400e;
}

/* --- Closing call to action --- */
.org-cta {
    margin-top: 56px;
    padding: 34px 28px;
    border-radius: 14px;
    background: #0f172a;
    color: #fff;
    text-align: center;
}

.org-cta h2 {
    color: #fff;
    margin: 0 0 10px;
}

.org-cta p {
    margin: 0 auto 22px;
    max-width: 560px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
}

.org-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.org-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.org-btn--primary {
    background: #2563eb;
    color: #fff;
}

.org-btn--primary:hover {
    background: #1d4ed8;
    color: #fff;
    text-decoration: none;
}

.org-btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.org-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
}

/* --- Phones --- */
@media (max-width: 600px) {
    .org-page {
        margin-bottom: 50px;
    }

    .org-hero {
        padding-top: 32px;
    }

    .org-page h1 {
        font-size: 1.75rem;
    }

    .org-lead {
        font-size: 1rem;
    }

    .org-page h2 {
        margin: 42px 0 18px;
        font-size: 1.3rem;
    }

    .org-cta {
        padding: 28px 20px;
    }

    .org-actions .org-btn {
        width: 100%;
    }
}
