/* Obour team site, loaded after style.css and home.css */
.inner-page .hero { padding: 4.5rem 0 4rem; }

/* Supervision and member cards */
.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 340px));
    justify-content: center;
    gap: 1.5rem;
}
.person-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.person-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 168px;
    height: 168px;
    margin-bottom: 1.25rem;
    overflow: hidden;
    border: 4px solid var(--surface);
    border-radius: 50%;
    background: var(--primary-light);
    box-shadow: 0 0 0 2px var(--primary);
    color: var(--primary);
    font-size: 3.5rem;
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-name { margin: 0 0 0.25rem; font-size: 1.25rem; font-weight: 700; line-height: 1.4; }
.person-role { margin: 0; color: var(--text-muted); font-size: 1rem; line-height: 1.6; }

/* Team sections on the members page */
.team-block { margin-block-end: 3rem; }
.team-block:last-child { margin-block-end: 0; }
.team-block h3 { margin-bottom: 0.25rem; font-size: 1.375rem; font-weight: 700; text-align: center; }
.team-block > p { margin-bottom: 1.5rem; color: var(--text-muted); text-align: center; }
.team-empty {
    max-width: 480px;
    margin-inline: auto;
    padding: 1rem 1.25rem;
    border: 1px dashed var(--border);
    border-radius: 0.875rem;
    color: var(--text-muted);
    text-align: center;
}

/* Text panels */
.panel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.5rem; }
.panel {
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}
.panel h2, .panel h3 { margin-bottom: 0.75rem; font-size: 1.3rem; font-weight: 700; line-height: 1.4; }
.panel p { color: var(--text-muted); line-height: 1.85; }
.panel p + p { margin-top: 0.75rem; }
.check-list { display: grid; gap: 0.75rem; }
.check-list li { display: flex; gap: 0.625rem; color: var(--text-muted); line-height: 1.75; }
.check-list i { flex: none; margin-top: 0.4rem; color: var(--primary); font-size: 0.9rem; }
.text-link { display: inline-block; padding-block: 0.5rem; color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 0.25em; }

/* Follow band */
.follow-band { padding: 4rem 0; background: var(--navy-deep); color: #fff; text-align: center; }
[data-theme="dark"] .follow-band { background: var(--surface); }
.follow-band h2 { margin-bottom: 0.5rem; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); font-weight: 700; line-height: 1.35; }
.follow-band p { margin-bottom: 1.5rem; color: #cfe0f0; }
.follow-band .btn-primary { background: #fff; color: var(--navy); }
.follow-band .btn-primary:hover { background: #e6f1fb; }

/* Contact cards */
.contact-card { align-items: center !important; text-align: center !important; }
.contact-card .btn { margin-top: 1.25rem; }
.contact-card p { overflow-wrap: anywhere; }

/* Not found */
.not-found { padding: 5rem 0; text-align: center; }
.not-found h1 { color: var(--primary); font-size: clamp(3.5rem, 2.5rem + 5vw, 6rem); font-weight: 800; line-height: 1.1; }
.not-found h2 { margin: 0.75rem 0; font-size: 1.5rem; font-weight: 700; }
.not-found p { margin-bottom: 1.75rem; color: var(--text-muted); }

@media (max-width: 768px) {
    .inner-page .hero { padding: 3.25rem 0 3rem; }
    .person-photo { width: 148px; height: 148px; }
    .follow-band { padding: 3rem 0; }
}
.team-sub { margin-block: 1.75rem 0.75rem; font-size: 1.125rem; font-weight: 700; }
