/* JIA — صفحات البناء التنظيمي (circl) */

.jia-circl-page {
    padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.jia-circl-hero {
    padding: clamp(1.5rem, 4vw, 2.25rem) 0 1rem;
    text-align: center;
    background: linear-gradient(180deg, var(--jia-pub-brand-soft, #e8f3f8) 0%, transparent 92%);
}

.jia-circl-hero__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.92rem;
    color: var(--jia-pub-brand-2, #1a7a9c);
}

.jia-circl-hero__title {
    margin: 0;
    font-size: clamp(1.45rem, 3.5vw, 2.1rem);
    font-weight: 800;
    color: var(--jia-pub-brand, #0a4d6e);
    line-height: 1.35;
}

.jia-circl-shell {
    width: min(100% - clamp(1.25rem, 6vw, 2.5rem), var(--jia-pub-container, 1080px));
    margin-inline: auto;
}

.jia-circl-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
    padding: 1.25rem 1.15rem;
    background: #fff;
    border: 1px solid rgba(10, 77, 110, 0.1);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(6, 36, 54, 0.06);
    margin-bottom: 1.75rem;
}

.jia-circl-nav__chip {
    border: 1px solid rgba(10, 77, 110, 0.16);
    background: #fff;
    color: var(--jia-pub-ink, #163247);
    padding: 0.5rem 1.05rem;
    border-radius: 999px;
    font-size: 0.94rem;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.jia-circl-nav__chip:hover {
    border-color: rgba(10, 77, 110, 0.32);
    background: rgba(232, 243, 248, 0.65);
}

.jia-circl-nav__chip.is-active {
    background: var(--jia-pub-brand, #0a4d6e);
    border-color: var(--jia-pub-brand, #0a4d6e);
    color: #fff;
    box-shadow: 0 4px 14px rgba(10, 77, 110, 0.22);
}

.jia-circl-block {
    scroll-margin-top: 6rem;
    margin-bottom: 1.5rem;
    background: #fff;
    border: 1px solid rgba(10, 77, 110, 0.1);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(6, 36, 54, 0.05);
}

.jia-circl-block__head {
    padding: 1.1rem 1.25rem;
    background: linear-gradient(135deg, rgba(10, 77, 110, 0.06), rgba(26, 122, 156, 0.08));
    border-bottom: 1px solid rgba(10, 77, 110, 0.08);
}

.jia-circl-block__title {
    margin: 0;
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    font-weight: 700;
    color: var(--jia-pub-brand, #0a4d6e);
}

.jia-circl-dept-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding: 1rem 1.15rem 0.35rem;
}

.jia-circl-dept-tab {
    border: 0;
    background: rgba(10, 77, 110, 0.07);
    color: var(--jia-pub-ink, #163247);
    padding: 0.48rem 0.95rem;
    border-radius: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.16s ease, color 0.16s ease;
}

.jia-circl-dept-tab:hover {
    background: rgba(26, 122, 156, 0.15);
}

.jia-circl-dept-tab.is-active {
    background: var(--jia-pub-brand-2, #1a7a9c);
    color: #fff;
}

.jia-circl-dept-body {
    padding: 1rem 1.25rem 1.35rem;
}

.jia-circl-dept-panel {
    display: none;
    line-height: 1.75;
    color: var(--jia-pub-ink, #163247);
    font-size: 0.98rem;
}

.jia-circl-dept-panel.is-open {
    display: block;
}

.jia-circl-dept-panel p {
    margin: 0 0 0.75rem;
}