/* Toukh 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; }

/* Logo band and logo meaning */
:root { --gold: #a07c24; }
[data-theme="dark"] { --gold: #e3c16f; }
.logo-band-inner { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: center; gap: 3rem; max-width: 960px; }
.logo-band img, .logo-intro img { width: 100%; height: auto; }
.logo-band h2 { margin-bottom: 0.75rem; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); font-weight: 700; line-height: 1.35; }
.logo-band blockquote, .logo-idea blockquote { margin: 0 0 0.75rem; padding-inline-start: 1rem; border-inline-start: 3px solid var(--gold); color: var(--text-muted); font-size: 1.0625rem; line-height: 1.9; }
.logo-intro { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: center; gap: 2.5rem; max-width: 960px; margin: 0 auto 1rem; }
.logo-intro h2 { margin-bottom: 0.75rem; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); font-weight: 700; }
.logo-intro p { color: var(--text-muted); line-height: 1.85; }
.logo-intro p + p { margin-top: 0.75rem; }
.logo-idea { max-width: 760px; margin-inline: auto; }
.logo-idea p { margin-bottom: 1rem; color: var(--text-muted); line-height: 1.85; }
.logo-sub { margin: 3rem 0 1.25rem; font-size: 1.375rem; font-weight: 700; text-align: center; }
[data-theme="dark"] .logo-meaning .modern-card { background: var(--bg-body); }
.logo-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; }
.swatches, .logo-texts { display: grid; gap: 0.75rem; }
.swatch { display: flex; align-items: center; gap: 0.875rem; }
.swatch-chip { flex: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; }
.swatch strong, .logo-texts strong { display: block; font-weight: 700; line-height: 1.5; }
.swatch-text, .logo-texts li > span { display: block; color: var(--text-muted); line-height: 1.7; }
.logo-texts li { padding-block-end: 0.75rem; border-block-end: 1px solid var(--border); }
.logo-texts li:last-child { padding-block-end: 0; border-block-end: 0; }
.people-grid:empty { display: none; }
.post-grid:has(.ann-empty) { display: block; }
main .post-grid .ann-empty { box-sizing: border-box; width: 100%; padding: 1rem 1.25rem; }

@media (max-width: 768px) {
    .logo-band-inner, .logo-intro { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; justify-items: center; }
    .logo-band img { width: 180px; }
    .logo-intro img { width: 150px; }
    .logo-two { grid-template-columns: minmax(0, 1fr); }
}
