/* /assets/css/community.css */
.community-body {
    background: #f6f8fb;
}

.community-wrap {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    padding: 44px 0 80px;
}

.community-wrap--narrow {
    width: min(900px, calc(100% - 40px));
}

.community-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 36px;
    padding: 42px 46px;
    border: 1px solid #dce8e4;
    border-radius: 28px;
    background:
        radial-gradient(circle at 92% 12%, rgba(15,159,131,.16), transparent 28%),
        linear-gradient(135deg, #effbf7 0%, #ffffff 72%);
    box-shadow: 0 20px 48px rgba(16,45,38,.08);
}

.community-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #0f9f83;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
}

.community-hero h1,
.community-form-head h1,
.community-post-card h1 {
    margin: 0;
    color: #10231f;
    letter-spacing: -.045em;
}

.community-hero h1 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.18;
}

.community-hero p,
.community-form-head p {
    margin: 18px 0 0;
    color: #64736e;
    line-height: 1.75;
}

.community-primary-btn {
    flex: 0 0 auto;
    min-height: 50px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #0f9f83;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(15,159,131,.24);
}

.community-tabs {
    display: flex;
    gap: 8px;
    margin: 28px 0 22px;
    overflow-x: auto;
    scrollbar-width: none;
}

.community-tabs::-webkit-scrollbar { display: none; }

.community-tabs a {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #dfe7e4;
    border-radius: 999px;
    background: #fff;
    color: #5c6b66;
    font-size: 14px;
    font-weight: 850;
}

.community-tabs a.active {
    border-color: #0f9f83;
    background: #0f9f83;
    color: #fff;
}

.community-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
    align-items: start;
}

.community-board,
.community-side-card,
.community-guide-card,
.community-form-card,
.community-post-card,
.community-comments {
    border: 1px solid #e2e9e7;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15,23,42,.05);
}

.community-board {
    overflow: hidden;
}

.community-board-head {
    padding: 25px 28px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #edf1f0;
}

.community-board-head h2 {
    margin: 0;
    color: #17332c;
    font-size: 23px;
}

.community-board-head p {
    margin: 7px 0 0;
    color: #7a8883;
    font-size: 14px;
}

.community-board-head > strong {
    color: #0f9f83;
    font-size: 14px;
}

.community-row {
    min-height: 82px;
    padding: 17px 22px;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    border-bottom: 1px solid #edf1f0;
    transition: background .18s ease;
}

.community-row:hover {
    background: #f8fbfa;
}

.community-row--notice {
    background: #f2faf7;
}

.community-row-category,
.community-row-badge {
    justify-self: start;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f1f5f4;
    color: #61716b;
    font-size: 11px;
    font-weight: 900;
}

.community-row-badge {
    background: #dff7ef;
    color: #0b806b;
}

.community-row-main {
    min-width: 0;
}

.community-row-main > strong {
    display: block;
    overflow: hidden;
    color: #182d28;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.community-row-main > strong em {
    margin-left: 5px;
    color: #0f9f83;
    font-size: 12px;
    font-style: normal;
}

.community-row-meta,
.community-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 9px;
    color: #8a9692;
    font-size: 12px;
}

.community-row-stats {
    display: flex;
    gap: 14px;
    color: #8a9692;
    font-size: 12px;
    white-space: nowrap;
}

.community-side {
    display: grid;
    gap: 16px;
}

.community-side-card,
.community-guide-card {
    padding: 22px;
}

.community-side-head {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf1f0;
}

.community-side-head > span {
    font-size: 24px;
}

.community-side-head strong,
.community-side-head small {
    display: block;
}

.community-side-head strong {
    color: #19322c;
}

.community-side-head small {
    margin-top: 3px;
    color: #98a39f;
}

.community-hot-list {
    margin-top: 10px;
}

.community-hot-list a {
    padding: 11px 0;
    display: grid;
    grid-template-columns: 22px minmax(0,1fr) auto;
    gap: 8px;
    align-items: center;
    border-bottom: 1px solid #f0f3f2;
}

.community-hot-list b {
    color: #0f9f83;
    font-size: 13px;
}

.community-hot-list span {
    overflow: hidden;
    color: #40504b;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.community-hot-list em {
    color: #0f9f83;
    font-size: 11px;
    font-style: normal;
}

.community-side-empty {
    margin: 18px 0 4px;
    color: #98a39f;
    font-size: 13px;
}

.community-guide-card strong {
    color: #19322c;
}

.community-guide-card p {
    margin: 10px 0 16px;
    color: #788680;
    font-size: 13px;
    line-height: 1.7;
}

.community-guide-card a,
.community-text-link,
.community-view-nav a {
    color: #0f9f83;
    font-size: 13px;
    font-weight: 850;
}

.community-search {
    padding: 20px 22px;
    display: grid;
    grid-template-columns: 130px minmax(0,1fr) 76px;
    gap: 8px;
}

.community-search select,
.community-search input,
.community-form-card select,
.community-form-card input[type="text"],
.community-form-card textarea,
.community-comment-form textarea {
    width: 100%;
    border: 1px solid #dce5e2;
    border-radius: 12px;
    background: #fff;
    color: #263d36;
    outline: none;
}

.community-search select,
.community-search input {
    min-height: 44px;
    padding: 0 13px;
}

.community-search button,
.community-form-actions button,
.community-comment-form button {
    border: 0;
    border-radius: 12px;
    background: #12352d;
    color: #fff;
    font-weight: 850;
    cursor: pointer;
}

.community-pagination {
    padding: 22px;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.community-pagination a {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dfe7e4;
    border-radius: 10px;
    background: #fff;
    color: #64736e;
    font-size: 13px;
    font-weight: 800;
}

.community-pagination a.active {
    border-color: #0f9f83;
    background: #0f9f83;
    color: #fff;
}

.community-empty {
    padding: 68px 24px;
    text-align: center;
}

.community-empty strong {
    display: block;
    color: #334943;
}

.community-empty p {
    margin: 8px 0 0;
    color: #98a39f;
    font-size: 13px;
}

.community-form-head {
    margin-bottom: 22px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.community-form-head h1 {
    font-size: 36px;
}

.community-form-card {
    padding: 30px;
    display: grid;
    gap: 22px;
}

.community-form-card > label > span {
    display: block;
    margin-bottom: 9px;
    color: #30453f;
    font-size: 13px;
    font-weight: 850;
}

.community-form-card select,
.community-form-card input[type="text"] {
    min-height: 50px;
    padding: 0 14px;
}

.community-form-card textarea,
.community-comment-form textarea {
    padding: 15px;
    resize: vertical;
    line-height: 1.75;
}

.community-check {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    color: #65746f;
    font-size: 13px;
}

.community-check span {
    margin: 0 !important;
}

.community-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
}

.community-form-actions a,
.community-form-actions button {
    min-height: 46px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.community-form-actions a {
    border: 1px solid #dce5e2;
    border-radius: 12px;
    background: #fff;
    color: #65746f;
    font-weight: 850;
}

.community-alert {
    margin-bottom: 16px;
    padding: 15px 18px;
    border-radius: 14px;
}

.community-alert p { margin: 0; font-size: 14px; }
.community-alert p + p { margin-top: 5px; }
.community-alert--error { border: 1px solid #f3c5c5; background: #fff3f3; color: #b33a3a; }
.community-alert--success { border: 1px solid #bfe5d9; background: #effaf6; color: #0b806b; }

.community-view-nav {
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
}

.community-post-card {
    overflow: hidden;
}

.community-post-card header {
    padding: 30px 34px 25px;
    border-bottom: 1px solid #edf1f0;
}

.community-post-card header > span {
    color: #0f9f83;
    font-size: 12px;
    font-weight: 900;
}

.community-post-card h1 {
    margin-top: 12px;
    font-size: 31px;
    line-height: 1.35;
}

.community-post-content {
    min-height: 260px;
    padding: 38px 34px 50px;
    color: #30443e;
    font-size: 15px;
    line-height: 1.95;
}

.community-post-card footer {
    padding: 17px 34px;
    display: flex;
    gap: 16px;
    border-top: 1px solid #edf1f0;
    color: #7f8b87;
    font-size: 13px;
}

.community-comments {
    margin-top: 20px;
    padding: 28px;
}

.community-comments-head h2 {
    margin: 0 0 18px;
    color: #1d332d;
    font-size: 21px;
}

.community-comments-head h2 span {
    color: #0f9f83;
}

.community-comment {
    padding: 18px 0;
    border-top: 1px solid #edf1f0;
}

.community-comment--reply {
    margin-left: 28px;
    padding-left: 18px;
    border-left: 3px solid #dff3ed;
}

.community-comment-head {
    display: flex;
    gap: 12px;
    align-items: center;
}

.community-comment-head strong {
    color: #2c423b;
    font-size: 13px;
}

.community-comment-head span {
    color: #9aa4a1;
    font-size: 11px;
}

.community-comment p {
    margin: 10px 0 0;
    color: #53635e;
    font-size: 14px;
    line-height: 1.7;
}

.community-empty--comments {
    padding: 38px 20px;
}

.community-comment-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #edf1f0;
}

.community-comment-form > div {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.community-comment-form button {
    min-height: 42px;
    padding: 0 18px;
}

.community-login-box {
    margin-top: 20px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 14px;
    background: #f6faf8;
}

.community-login-box p {
    margin: 0;
    color: #687771;
    font-size: 13px;
}

.community-login-box a {
    color: #0f9f83;
    font-weight: 900;
}

@media (max-width: 980px) {
    .community-layout {
        grid-template-columns: 1fr;
    }
    .community-side {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 768px) {
    .community-wrap,
    .community-wrap--narrow {
        width: calc(100% - 28px);
        padding: 24px 0 58px;
    }

    .community-hero {
        padding: 30px 24px;
        display: block;
        border-radius: 22px;
    }

    .community-hero h1 {
        font-size: 34px;
    }

    .community-primary-btn {
        margin-top: 24px;
        width: 100%;
    }

    .community-layout,
    .community-side {
        grid-template-columns: 1fr;
    }

    .community-board-head {
        padding: 21px 20px;
    }

    .community-row {
        padding: 16px 18px;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .community-row-category,
    .community-row-badge {
        display: inline-flex;
    }

    .community-row-stats {
        justify-content: flex-end;
    }

    .community-search {
        grid-template-columns: 1fr;
    }

    .community-search button {
        min-height: 44px;
    }

    .community-form-head {
        display: block;
    }

    .community-text-link {
        display: inline-block;
        margin-top: 14px;
    }

    .community-form-card,
    .community-comments {
        padding: 22px 18px;
    }

    .community-form-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .community-post-card header,
    .community-post-content,
    .community-post-card footer {
        padding-left: 22px;
        padding-right: 22px;
    }

    .community-post-card h1 {
        font-size: 25px;
    }

    .community-post-content {
        min-height: 200px;
    }
}


/* Community operation policy */
.community-policy-box {
    margin-bottom: 18px;
    padding: 20px 22px;
    border: 1px solid #d6e8e2;
    border-radius: 16px;
    background: #f2faf7;
}

.community-policy-box strong {
    display: block;
    color: #12352d;
    font-size: 14px;
}

.community-policy-box p {
    margin: 8px 0 0;
    color: #63746e;
    font-size: 13px;
    line-height: 1.75;
}

.community-form-options {
    display: grid;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #f8faf9;
}

.community-check--policy {
    align-items: flex-start;
    color: #53635e;
    line-height: 1.6;
}

.community-check--policy input {
    margin-top: 3px;
}

.community-comment-policy {
    margin: -4px 0 22px;
    padding: 13px 15px;
    border-radius: 12px;
    background: #f7f9f8;
    color: #788680;
    font-size: 12px;
    line-height: 1.65;
}

@media (max-width: 768px) {
    .community-policy-box {
        padding: 18px;
    }

    .community-form-options {
        padding: 15px;
    }
}


/* Community v3 */
.community-top-guide {
    margin: 18px 0 24px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid #dce8e4;
    border-radius: 16px;
    background: #ffffff;
}

.community-top-guide span {
    display: block;
    color: #12352d;
    font-size: 14px;
    font-weight: 900;
}

.community-top-guide p {
    margin: 6px 0 0;
    color: #687771;
    font-size: 13px;
    line-height: 1.7;
}

.community-top-guide a,
.community-policy-box a {
    flex: 0 0 auto;
    color: #0f9f83;
    font-size: 13px;
    font-weight: 900;
}

.community-policy-box a {
    display: inline-block;
    margin-top: 9px;
}

.community-view-actions {
    display: flex;
    gap: 14px;
    align-items: center;
}

.community-policy-page {
    padding: 34px;
    border: 1px solid #e2e9e7;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15,23,42,.05);
}

.community-policy-page section + section {
    margin-top: 34px;
    padding-top: 30px;
    border-top: 1px solid #edf1f0;
}

.community-policy-page h2 {
    margin: 0;
    color: #17332c;
    font-size: 20px;
}

.community-policy-page p,
.community-policy-page li {
    color: #5e6f69;
    font-size: 14px;
    line-height: 1.85;
}

.community-policy-page p {
    margin: 12px 0 0;
}

.community-policy-page ul {
    margin: 14px 0 0;
    padding-left: 22px;
}

.community-policy-page li + li {
    margin-top: 8px;
}

.community-policy-date {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid #edf1f0;
    color: #89958f;
    font-size: 13px;
    text-align: right;
}

@media (max-width: 768px) {
    .community-top-guide {
        display: block;
        padding: 18px;
    }

    .community-top-guide a {
        display: inline-block;
        margin-top: 12px;
    }

    .community-view-actions {
        gap: 10px;
    }

    .community-policy-page {
        padding: 24px 20px;
    }

    .community-policy-page h2 {
        font-size: 18px;
    }
}
.community-category-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.community-category-row .community-tabs {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}

.community-write-btn {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    height: 42px;
    padding: 0 20px;
    border-radius: 10px;
    background: #26364f;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background-color .2s ease,
        transform .2s ease;
}

.community-write-btn:hover {
    background: #1d2a3f;
    transform: translateY(-1px);
}
@media (max-width: 768px) {
    .community-category-row {
        gap: 10px;
        margin-bottom: 18px;
    }

    .community-category-row .community-tabs {
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 8px;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .community-category-row .community-tabs::-webkit-scrollbar {
        display: none;
    }

    .community-category-row .community-tabs a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .community-write-btn {
        min-width: 70px;
        height: 38px;
        padding: 0 14px;
        border-radius: 9px;
        font-size: 13px;
    }
}
.community-tabs {
    margin-bottom: 12px;
}

.community-write-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.community-write-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    height: 42px;
    padding: 0 20px;
    border-radius: 10px;
    background: #26364f;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.community-write-btn:hover {
    background: #1d2a3f;
}
@media (max-width: 768px) {
    .community-write-row {
        margin-bottom: 16px;
    }

    .community-write-btn {
        min-width: 72px;
        height: 38px;
        padding: 0 14px;
        font-size: 13px;
    }
}
/* ===== School community extension / 2026-09-21 ===== */
.community-section-switch{
    display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 20px;
}
.community-section-switch a{
    display:inline-flex;align-items:center;min-height:40px;padding:0 15px;border:1px solid #e2e8f0;border-radius:999px;
    background:#fff;color:#475569;text-decoration:none;font-size:14px;font-weight:800;
}
.community-section-switch a.active{background:#101a46;border-color:#101a46;color:#fff}

.community-school-hero,.community-school-board-head{
    display:flex;justify-content:space-between;gap:28px;align-items:flex-end;padding:28px;margin-bottom:22px;
    border:1px solid #e4e8f2;border-radius:22px;background:linear-gradient(135deg,#f8f9ff 0%,#fff 66%);
}
.community-school-hero h1,.community-school-board-head h1{margin:6px 0 8px;font-size:32px;letter-spacing:-.04em;color:#101a46}
.community-school-hero p,.community-school-board-head p{margin:0;color:#64748b;line-height:1.65}
.community-school-search{display:flex;gap:8px;width:min(420px,100%)}
.community-school-search input{flex:1;min-width:0;padding:12px 14px;border:1px solid #cbd5e1;border-radius:12px;background:#fff}
.community-school-search button{border:0;border-radius:12px;padding:0 17px;background:#101a46;color:#fff;font-weight:800}
.community-school-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.community-school-card{display:block;padding:18px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;text-decoration:none;color:#172033;transition:.18s ease}
.community-school-card:hover{transform:translateY(-2px);border-color:#b9b6ff;box-shadow:0 12px 30px rgba(16,26,70,.08)}
.community-school-card--verified{background:linear-gradient(145deg,#f7f5ff,#fff)}
.community-school-card__top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.community-school-card__top strong,.community-school-card>strong{font-size:18px;letter-spacing:-.02em}
.community-school-card__top span{font-size:12px;color:#6d5dfb;font-weight:800}
.community-school-card p{margin:8px 0 5px;color:#64748b;font-size:13px}.community-school-card small{color:#94a3b8}
.community-school-card__badge{display:inline-flex;margin-bottom:10px;padding:5px 8px;border-radius:999px;background:#ede9fe;color:#6d28d9;font-size:11px;font-weight:900}
.community-my-schools,.community-school-list-section{margin:24px 0}
.community-school-board-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.community-school-board-actions>span{font-size:13px;color:#6d5dfb;font-weight:800}
.community-school-board-actions a{display:inline-flex;align-items:center;min-height:40px;padding:0 13px;border:1px solid #dbe1ec;border-radius:11px;text-decoration:none;color:#334155;background:#fff;font-weight:800;font-size:13px}
.community-school-board-actions a.primary{background:#101a46;border-color:#101a46;color:#fff}
.community-school-badge{display:inline-flex!important;align-items:center;min-height:22px;padding:2px 7px!important;border-radius:999px;background:#ede9fe;color:#6d28d9!important;font-size:11px!important;font-weight:900!important;white-space:nowrap}
.community-school-mini{display:inline-flex!important;padding:2px 7px!important;border-radius:999px;background:#f1f5f9;color:#475569!important;font-size:11px!important;font-weight:800}
.community-post-school-link{display:inline-flex;margin-left:8px;padding:4px 8px;border-radius:999px;background:#f1f5f9;color:#475569;text-decoration:none;font-size:12px;font-weight:800}
.community-school-write-context{display:grid;gap:4px;padding:16px;border:1px solid #ddd6fe;border-radius:14px;background:#f7f5ff}
.community-school-write-context span{color:#6d5dfb;font-size:11px;font-weight:900;letter-spacing:.05em}.community-school-write-context strong{font-size:18px;color:#101a46}.community-school-write-context small{color:#64748b}
.community-verification-guide{margin:0 0 18px;padding:18px;border:1px solid #dbeafe;border-radius:14px;background:#eff6ff}
.community-verification-guide strong{display:block;margin-bottom:6px;color:#1d4ed8}.community-verification-guide p{margin:0;color:#475569;line-height:1.7;font-size:13px}
.community-verification-history{margin-top:30px}.community-verification-item{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:15px 2px;border-bottom:1px solid #edf0f5}.community-verification-item>div:first-child{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.community-verification-item span{color:#64748b;font-size:13px}.community-verification-item .status{padding:5px 9px;border-radius:999px;font-weight:900}.community-verification-item .status.pending{background:#fff7ed;color:#c2410c}.community-verification-item .status.approved{background:#ecfdf5;color:#047857}.community-verification-item .status.rejected{background:#fff1f2;color:#be123c}

@media(max-width:860px){
    .community-school-hero,.community-school-board-head{align-items:stretch;flex-direction:column;padding:22px}
    .community-school-search{width:100%}.community-school-grid{grid-template-columns:1fr 1fr}
    .community-school-board-actions{justify-content:flex-start}
}
@media(max-width:560px){.community-school-grid{grid-template-columns:1fr}.community-school-hero h1,.community-school-board-head h1{font-size:27px}.community-section-switch{overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.community-section-switch a{white-space:nowrap}}


/* 2026-09-21 community information architecture */
.community-section-switch {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    overflow-x: auto;
    scrollbar-width: none;
}
.community-section-switch::-webkit-scrollbar { display: none; }
.community-section-switch a {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dfe6e3;
    border-radius: 999px;
    background: #fff;
    color: #52635d;
    font-size: 14px;
    font-weight: 850;
}
.community-section-switch a.active {
    border-color: #17265d;
    background: #17265d;
    color: #fff;
}
.community-section-switch--simple {
    margin-bottom: 22px;
}
.community-context-head {
    margin-bottom: 18px;
    padding: 28px 30px;
    border: 1px solid #e0e8e5;
    border-radius: 20px;
    background: #fff;
}
.community-context-head h1 {
    margin: 0;
    color: #17332c;
    font-size: 30px;
    letter-spacing: -.04em;
}
.community-context-head p {
    margin: 8px 0 0;
    color: #73817c;
    font-size: 14px;
}
.community-school-verify-cta {
    margin: 18px 0 4px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid #cfe7df;
    border-radius: 18px;
    background: #f2faf7;
}
.community-school-verify-cta strong {
    display: block;
    color: #17332c;
    font-size: 15px;
}
.community-school-verify-cta p {
    margin: 5px 0 0;
    color: #6b7b75;
    font-size: 13px;
    line-height: 1.6;
}
.community-school-verify-cta a {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #0f9f83;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}
.community-school-board-actions a.verify {
    border-color: #b9ded3;
    background: #effaf6;
    color: #0b806b;
}
.community-selected-school {
    padding: 17px 18px;
    border: 1px solid #d8e8e2;
    border-radius: 14px;
    background: #f7fbfa;
}
.community-selected-school > span,
.community-selected-school > strong,
.community-selected-school > small {
    display: block;
}
.community-selected-school > span {
    margin-bottom: 7px;
    color: #72817c;
    font-size: 12px;
    font-weight: 800;
}
.community-selected-school > strong {
    color: #17332c;
    font-size: 17px;
}
.community-selected-school > small {
    margin-top: 5px;
    color: #8a9692;
}
@media (max-width: 768px) {
    .community-context-head { padding: 22px 20px; }
    .community-context-head h1 { font-size: 25px; }
    .community-school-verify-cta {
        align-items: stretch;
        flex-direction: column;
    }
    .community-school-verify-cta a { width: 100%; }
}

/* ===== Community 2-depth text navigation / 2026-09-21 =====
   중등 게시판 / 고등학교별 게시판:
   pill button UI -> horizontal sub navigation with active underline
*/
.community-subnav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0 0 28px;
    padding: 0 2px;
    border-bottom: 1px solid #dde4e8;
    overflow-x: auto;
    scrollbar-width: none;
}

.community-subnav::-webkit-scrollbar {
    display: none;
}

.community-subnav a {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding: 0 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #77818d;
    font-size: 15px;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color .18s ease;
}

.community-subnav a:hover {
    color: #101a46;
}

.community-subnav a.active {
    background: transparent;
    color: #101a46;
    font-weight: 900;
}

.community-subnav a.active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: #101a46;
}

@media (max-width: 768px) {
    .community-subnav {
        gap: 24px;
        margin-bottom: 22px;
    }

    .community-subnav a {
        min-height: 46px;
        font-size: 14px;
    }
}



/* ===== Community local navigation: site-consistent style ===== */
.community-local-nav-wrap {
    width: min(1240px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
    margin-top: 18px;
}

.community-local-nav {
    display: flex;
    justify-content: flex-end;
    min-height: 46px;
    border-bottom: 1px solid #dfe5ee;
}

.community-local-nav a {
    position: relative;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    color: #7b8596;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.community-local-nav a:hover {
    color: #14213a;
}

.community-local-nav a.active {
    color: #14213a;
    font-weight: 900;
}

.community-local-nav a.active::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: -1px;
    left: 14px;
    height: 2px;
    border-radius: 999px;
    background: #315ba8;
}

@media (max-width: 720px) {
    .community-local-nav-wrap {
        width: min(100% - 24px, 1240px);
    }

    .community-local-nav {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .community-local-nav::-webkit-scrollbar {
        display: none;
    }
}


/* ===== High school community landing enhancement / 2026-09-21 ===== */
.community-school-hero--story {
    position: relative;
    overflow: hidden;
    align-items: stretch;
    gap: 38px;
    padding: 42px 44px;
    border-color: #dfe5ee;
    background:
        radial-gradient(circle at 12% 20%, rgba(49,91,168,.10), transparent 26%),
        linear-gradient(135deg, #f8fafc 0%, #f2f5fa 48%, #ffffff 100%);
    box-shadow: 0 18px 46px rgba(20,33,58,.07);
}

.community-school-hero--story::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    right: -80px;
    top: -90px;
    border-radius: 50%;
    background: rgba(49,91,168,.06);
    pointer-events: none;
}

.community-school-hero__content {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-width: 0;
    padding: 8px 0;
}

.community-school-hero--story h1 {
    margin: 6px 0 16px;
    color: #14213a;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.14;
    letter-spacing: -.055em;
}

.community-school-hero--story h1 em {
    color: #315ba8;
    font-style: normal;
}

.community-school-hero--story .community-school-hero__content > p {
    max-width: 680px;
    margin: 0;
    color: #687488;
    font-size: 15px;
    line-height: 1.8;
    word-break: keep-all;
}

.community-school-hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.community-school-hero__points span {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border: 1px solid #dfe5ee;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    color: #59667b;
    font-size: 11px;
    font-weight: 850;
}

.community-school-hero__search-panel {
    position: relative;
    z-index: 1;
    flex: 0 0 390px;
    padding: 26px;
    border-radius: 22px;
    background: #14213a;
    color: #fff;
    box-shadow: 0 18px 42px rgba(20,33,58,.14);
}

.community-school-hero__search-kicker {
    display: block;
    color: #9fb4d6;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
}

.community-school-hero__search-panel > strong {
    display: block;
    margin-top: 9px;
    font-size: 22px;
    letter-spacing: -.03em;
}

.community-school-hero__search-panel > p {
    margin: 8px 0 18px;
    color: #bdc8d8;
    font-size: 12px;
    line-height: 1.65;
}

.community-school-hero__search-panel .community-school-search {
    width: 100%;
    gap: 8px;
}

.community-school-hero__search-panel .community-school-search input {
    min-height: 48px;
    border-color: rgba(255,255,255,.14);
    background: #fff;
}

.community-school-hero__search-panel .community-school-search button {
    min-width: 88px;
    min-height: 48px;
    background: #315ba8;
}

.community-school-hero__search-panel > small {
    display: block;
    margin-top: 12px;
    color: #9fb4d6;
    font-size: 10px;
    line-height: 1.55;
}

.community-school-value-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
    margin: 18px 0 28px;
}

.community-school-value-strip article {
    display: grid;
    grid-template-columns: 38px minmax(0,1fr);
    gap: 13px;
    min-height: 112px;
    padding: 18px;
    border: 1px solid #e1e6ee;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(20,33,58,.04);
}

.community-school-value-strip article > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #eef3fb;
    color: #315ba8;
    font-size: 10px;
    font-weight: 900;
}

.community-school-value-strip strong {
    display: block;
    color: #14213a;
    font-size: 14px;
}

.community-school-value-strip p {
    margin: 6px 0 0;
    color: #7b8596;
    font-size: 12px;
    line-height: 1.6;
}

/* School cards: slightly more editorial and easier to scan */
.community-school-list-section {
    margin-top: 30px;
    padding: 28px;
    border: 1px solid #e2e7ef;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(20,33,58,.05);
}

.community-school-list-section > .community-board-head {
    padding: 0 0 22px;
    margin-bottom: 18px;
    border-bottom: 1px solid #edf1f5;
}

.community-school-grid {
    gap: 16px;
}

.community-school-card {
    min-height: 132px;
    padding: 20px;
    border-color: #e2e7ef;
    border-radius: 18px;
    box-shadow: none;
}

.community-school-card:hover {
    border-color: #b8c8e5;
    box-shadow: 0 14px 30px rgba(20,33,58,.08);
}

.community-school-card__top strong,
.community-school-card > strong {
    color: #14213a;
}

.community-school-card__top span {
    color: #315ba8;
}

@media (max-width: 900px) {
    .community-school-hero--story {
        flex-direction: column;
        padding: 32px 28px;
    }

    .community-school-hero__search-panel {
        flex-basis: auto;
        width: 100%;
    }

    .community-school-value-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .community-school-hero--story {
        padding: 26px 20px;
        border-radius: 20px;
    }

    .community-school-hero--story h1 {
        font-size: 31px;
    }

    .community-school-hero__search-panel {
        padding: 21px;
    }

    .community-school-hero__search-panel .community-school-search {
        flex-direction: column;
    }

    .community-school-hero__search-panel .community-school-search button {
        width: 100%;
    }

    .community-school-list-section {
        padding: 20px 16px;
        border-radius: 20px;
    }
}


/* ===== Middle school community landing enhancement / 2026-09-21 ===== */
.community-middle-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 38px;
    margin-bottom: 18px;
    padding: 42px 44px;
    border: 1px solid #dfe5ee;
    border-radius: 22px;
    background:
        radial-gradient(circle at 12% 18%, rgba(49,91,168,.10), transparent 27%),
        linear-gradient(135deg, #f8fafc 0%, #f2f5fa 48%, #ffffff 100%);
    box-shadow: 0 18px 46px rgba(20,33,58,.07);
}

.community-middle-hero::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    right: -80px;
    top: -90px;
    border-radius: 50%;
    background: rgba(49,91,168,.06);
    pointer-events: none;
}

.community-middle-hero__content {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-width: 0;
    padding: 8px 0;
}

.community-middle-hero h1 {
    margin: 6px 0 16px;
    color: #14213a;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.14;
    letter-spacing: -.055em;
}

.community-middle-hero h1 em {
    color: #315ba8;
    font-style: normal;
}

.community-middle-hero__content > p {
    max-width: 680px;
    margin: 0;
    color: #687488;
    font-size: 15px;
    line-height: 1.8;
    word-break: keep-all;
}

.community-middle-hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.community-middle-hero__points span {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border: 1px solid #dfe5ee;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    color: #59667b;
    font-size: 11px;
    font-weight: 850;
}

.community-middle-hero__guide {
    position: relative;
    z-index: 1;
    flex: 0 0 390px;
    padding: 26px;
    border-radius: 22px;
    background: #14213a;
    color: #fff;
    box-shadow: 0 18px 42px rgba(20,33,58,.14);
}

.community-middle-hero__guide-kicker {
    display: block;
    color: #9fb4d6;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
}

.community-middle-hero__guide > strong {
    display: block;
    margin-top: 9px;
    font-size: 22px;
    line-height: 1.45;
    letter-spacing: -.03em;
}

.community-middle-hero__guide > p {
    margin: 10px 0 18px;
    color: #bdc8d8;
    font-size: 12px;
    line-height: 1.65;
}

.community-middle-hero__guide > a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 12px;
    background: #315ba8;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.community-middle-hero__guide > small {
    display: block;
    margin-top: 12px;
    color: #9fb4d6;
    font-size: 10px;
    line-height: 1.55;
}

.community-middle-value-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
    margin: 18px 0 24px;
}

.community-middle-value-strip article {
    display: grid;
    grid-template-columns: 38px minmax(0,1fr);
    gap: 13px;
    min-height: 112px;
    padding: 18px;
    border: 1px solid #e1e6ee;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(20,33,58,.04);
}

.community-middle-value-strip article > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #eef3fb;
    color: #315ba8;
    font-size: 10px;
    font-weight: 900;
}

.community-middle-value-strip strong {
    display: block;
    color: #14213a;
    font-size: 14px;
}

.community-middle-value-strip p {
    margin: 6px 0 0;
    color: #7b8596;
    font-size: 12px;
    line-height: 1.6;
}

.community-top-guide--compact {
    margin: 0 0 24px;
}

.community-middle-hero + .community-middle-value-strip + .community-top-guide--compact + .community-tabs {
    margin-top: 0;
}

/* Align middle school board chrome with the high school landing tone */
.community-layout {
    margin-top: 0;
}

.community-board {
    border-color: #e2e7ef;
    box-shadow: 0 14px 38px rgba(20,33,58,.05);
}

.community-side-card {
    border-color: #e2e7ef;
    box-shadow: 0 14px 38px rgba(20,33,58,.05);
}

@media (max-width: 900px) {
    .community-middle-hero {
        flex-direction: column;
        padding: 32px 28px;
    }

    .community-middle-hero__guide {
        flex-basis: auto;
        width: 100%;
    }

    .community-middle-value-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .community-middle-hero {
        padding: 26px 20px;
        border-radius: 20px;
    }

    .community-middle-hero h1 {
        font-size: 31px;
    }

    .community-middle-hero__guide {
        padding: 21px;
    }

    .community-middle-hero__guide > a {
        width: 100%;
    }
}


/* ===== Community detail view enhancement / 2026-09-21 ===== */
.community-view-page {
    padding-top: 28px;
}

.community-view-nav {
    margin-bottom: 18px;
    padding: 0 2px;
    align-items: center;
}

.community-view-nav > a,
.community-view-actions a {
    color: #667085;
    font-size: 12px;
    font-weight: 800;
}

.community-view-nav > a:hover,
.community-view-actions a:hover {
    color: #315ba8;
}

.community-view-actions {
    display: flex;
    gap: 16px;
}

.community-post-card {
    overflow: hidden;
    border: 1px solid #e0e6ee;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(20,33,58,.06);
}

.community-post-card .community-post-header {
    padding: 34px 38px 30px;
    border-bottom: 1px solid #edf1f5;
    background:
        radial-gradient(circle at 94% 8%, rgba(49,91,168,.07), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.community-post-kickers {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.community-post-category {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef3fb;
    color: #315ba8 !important;
    font-size: 10px !important;
    font-weight: 900 !important;
}

.community-post-school-link {
    margin-left: 0;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border: 1px solid #dfe5ee;
    border-radius: 999px;
    background: #fff;
    color: #59667b;
    font-size: 10px;
    font-weight: 850;
}

.community-post-card h1 {
    margin: 18px 0 0;
    color: #14213a;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.35;
    letter-spacing: -.045em;
    word-break: keep-all;
}

.community-post-authorline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.community-post-avatar {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef3fb;
    color: #315ba8;
    font-size: 14px;
    font-weight: 900;
}

.community-post-authorinfo {
    min-width: 0;
}

.community-post-authorname {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.community-post-authorname strong {
    color: #26364f;
    font-size: 13px;
}

.community-post-authorline .community-post-meta {
    margin-top: 5px;
    gap: 6px 12px;
    color: #98a2b3;
    font-size: 11px;
}

.community-post-content {
    min-height: 320px;
    padding: 42px 38px 56px;
    color: #344255;
    font-size: 15px;
    line-height: 1.95;
    word-break: break-word;
}

.community-post-footer {
    display: flex;
    gap: 10px;
    padding: 18px 38px !important;
    border-top: 1px solid #edf1f5 !important;
    background: #fbfcfe;
}

.community-post-stat {
    min-width: 74px;
    padding: 8px 12px;
    border: 1px solid #e2e7ef;
    border-radius: 12px;
    background: #fff;
}

.community-post-stat span,
.community-post-stat strong {
    display: block;
}

.community-post-stat span {
    color: #98a2b3;
    font-size: 10px;
    font-weight: 800;
}

.community-post-stat strong {
    margin-top: 2px;
    color: #315ba8;
    font-size: 15px;
}

.community-comments {
    margin-top: 22px;
    padding: 28px 30px 30px;
    border: 1px solid #e0e6ee;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(20,33,58,.05);
}

.community-comment-policy {
    margin-bottom: 22px;
    padding: 11px 13px;
    border: 0;
    border-radius: 10px;
    background: #f7f9fb;
    color: #7a8492;
    font-size: 11px;
    line-height: 1.6;
}

.community-comments-head {
    margin-bottom: 14px;
}

.community-comments-kicker {
    display: block;
    color: #315ba8;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .13em;
}

.community-comments-head h2 {
    margin: 6px 0 0;
    color: #14213a;
    font-size: 20px;
    font-weight: 900;
}

.community-comments-head h2 span {
    margin-left: 4px;
    color: #315ba8;
    font-size: 15px;
}

.community-comments-head p {
    margin: 5px 0 0;
    color: #98a2b3;
    font-size: 11px;
}

.community-comment-list {
    border-top: 1px solid #edf1f5;
}

.community-comment {
    position: relative;
    margin: 0;
    padding: 18px 2px 18px 42px;
    border: 0;
    border-bottom: 1px solid #edf1f5;
    background: transparent;
    box-shadow: none;
}

.community-comment::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eef2f6;
}

.community-comment::after {
    content: '';
    position: absolute;
    top: 26px;
    left: 12px;
    width: 8px;
    height: 8px;
    border: 2px solid #9aa6b4;
    border-radius: 50%;
    box-sizing: border-box;
}

.community-comment-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 7px;
}

.community-comment-head strong {
    color: #344255;
    font-size: 12px;
    font-weight: 900;
}

.community-comment-head span {
    color: #a0a8b3;
    font-size: 10px;
}

.community-comment > p {
    margin: 0;
    color: #566273;
    font-size: 13px;
    line-height: 1.75;
    word-break: break-word;
}

.community-comment--reply {
    margin-left: 30px;
    padding-left: 38px;
    background: #fafbfc;
}

.community-comment-form {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #e3e8ee;
    border-radius: 14px;
    background: #fbfcfd;
}

.community-comment-form textarea {
    min-height: 100px;
    padding: 13px 14px;
    border: 1px solid #dfe5eb;
    border-radius: 10px;
    background: #fff;
    color: #344255;
    font-size: 13px;
    line-height: 1.65;
}

.community-comment-form textarea:focus {
    border-color: #9fb4d6;
    box-shadow: 0 0 0 3px rgba(49,91,168,.08);
}

.community-comment-form button {
    min-height: 38px;
    padding: 0 16px;
    border-radius: 9px;
    background: #315ba8;
    font-size: 12px;
}

.community-login-box {
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px solid #e2e7ef;
    border-radius: 14px;
    background: #f8fafc;
}

.community-login-box a {
    color: #315ba8;
}

.community-post-content .community-auto-link {
    color: #315ba8;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.community-empty--comments {
    margin-top: 8px;
    padding: 34px 18px;
    border: 1px dashed #dfe5eb;
    border-radius: 14px;
    background: #fafbfc;
}

@media (max-width: 640px) {
    .community-view-page {
        padding-top: 20px;
    }

    .community-post-card .community-post-header {
        padding: 26px 22px 24px;
    }

    .community-post-card h1 {
        font-size: 27px;
    }

    .community-post-content {
        min-height: 220px;
        padding: 30px 22px 40px;
        font-size: 14px;
    }

    .community-post-footer {
        padding: 15px 22px !important;
    }

    .community-comments {
        padding: 22px 18px 24px;
    }

    .community-comment {
        padding: 15px 0 15px 36px;
    }

    .community-comment--reply {
        margin-left: 14px;
        padding-left: 34px;
    }
}


/* ===== Graduate verification page enhancement / 2026-09-21 ===== */
.community-verification-page {
    width: min(980px, calc(100% - 40px));
    padding-top: 30px;
}

.community-verification-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0,1fr) 330px;
    gap: 30px;
    padding: 38px 40px;
    border: 1px solid #dfe5ee;
    border-radius: 24px;
    background:
        radial-gradient(circle at 10% 14%, rgba(49,91,168,.10), transparent 25%),
        linear-gradient(135deg,#f8fafc 0%,#f1f5fa 55%,#fff 100%);
    box-shadow: 0 18px 46px rgba(20,33,58,.07);
}

.community-verification-hero::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -80px;
    top: -90px;
    border-radius: 50%;
    background: rgba(49,91,168,.05);
}

.community-verification-hero__content,
.community-verification-hero__trust {
    position: relative;
    z-index: 1;
}

.community-verification-hero h1 {
    margin: 4px 0 15px;
    color: #14213a;
    font-size: clamp(34px,5vw,46px);
    line-height: 1.15;
    letter-spacing: -.055em;
}

.community-verification-hero__content > p {
    max-width: 620px;
    margin: 0;
    color: #687488;
    font-size: 14px;
    line-height: 1.8;
    word-break: keep-all;
}

.community-verification-hero__content > p strong {
    color: #315ba8;
}

.community-verification-hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 22px;
}

.community-verification-hero__points span {
    min-height: 31px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border: 1px solid #dce3ed;
    border-radius: 999px;
    background: rgba(255,255,255,.9);
    color: #59667b;
    font-size: 10px;
    font-weight: 850;
}

.community-verification-hero__trust {
    padding: 24px;
    border-radius: 20px;
    background: #14213a;
    color: #fff;
    box-shadow: 0 16px 36px rgba(20,33,58,.14);
}

.community-verification-hero__trust-kicker {
    display: block;
    color: #9fb4d6;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .14em;
}

.community-verification-hero__trust strong {
    display: block;
    margin-top: 10px;
    color: #fff;
    font-size: 20px;
    line-height: 1.45;
    letter-spacing: -.03em;
}

.community-verification-hero__trust p {
    margin: 12px 0 0;
    color: #bdc8d8;
    font-size: 11px;
    line-height: 1.7;
}

.community-verification-steps {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 11px;
    margin: 16px 0;
}

.community-verification-steps article {
    display: grid;
    grid-template-columns: 36px minmax(0,1fr);
    gap: 12px;
    min-height: 108px;
    padding: 17px;
    border: 1px solid #e1e6ee;
    border-radius: 17px;
    background: #fff;
}

.community-verification-steps article > span {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #eef3fb;
    color: #315ba8;
    font-size: 9px;
    font-weight: 900;
}

.community-verification-steps strong {
    display: block;
    color: #14213a;
    font-size: 13px;
}

.community-verification-steps p {
    margin: 5px 0 0;
    color: #7b8596;
    font-size: 11px;
    line-height: 1.6;
}

.community-verification-notice,
.community-verification-alt {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    padding: 18px 20px;
    border: 1px solid #dce5ef;
    border-radius: 17px;
    background: #fff;
}

.community-verification-notice__icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eaf7f2;
    color: #0d8a68;
    font-weight: 900;
}

.community-verification-notice strong,
.community-verification-alt strong {
    display: block;
    color: #14213a;
    font-size: 13px;
}

.community-verification-notice p,
.community-verification-alt p {
    margin: 5px 0 0;
    color: #6f7c8e;
    font-size: 11px;
    line-height: 1.65;
}

.community-verification-alt {
    justify-content: space-between;
    border-color: #d7e1ef;
    background: #f7f9fc;
}

.community-verification-alt > div > span {
    display: block;
    margin-bottom: 5px;
    color: #315ba8;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
}

.community-verification-alt a {
    flex: 0 0 auto;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 11px;
    background: #14213a;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
}

.community-verification-form-section {
    margin-top: 22px;
    padding: 28px;
    border: 1px solid #e0e6ee;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(20,33,58,.05);
}

.community-verification-form-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #edf1f5;
}

.community-verification-form-head span {
    color: #315ba8;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .13em;
}

.community-verification-form-head h2 {
    margin: 5px 0 0;
    color: #14213a;
    font-size: 23px;
    letter-spacing: -.04em;
}

.community-verification-form-head p {
    margin: 6px 0 0;
    color: #7b8596;
    font-size: 11px;
}

.community-verification-form-head > a {
    color: #315ba8;
    font-size: 11px;
    font-weight: 850;
    text-decoration: none;
}

.community-verification-form {
    margin-top: 20px;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.community-verification-form select,
.community-verification-form input[type="number"] {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid #dce3eb;
    border-radius: 12px;
    background: #fff;
    color: #26364f;
    outline: none;
}

.community-verification-form select:focus,
.community-verification-form input[type="number"]:focus {
    border-color: #9fb4d6;
    box-shadow: 0 0 0 3px rgba(49,91,168,.08);
}

.community-form-help {
    display: block;
    margin-top: 7px;
    color: #8b95a5;
    font-size: 10px;
    line-height: 1.55;
}

.community-selected-school--verification {
    border-color: #d5e0ef;
    background: #f7f9fc;
}

.community-verification-upload__box {
    position: relative;
    min-height: 126px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px;
    border: 1px dashed #bac7d9;
    border-radius: 14px;
    background: #f8fafc;
    text-align: center;
}

.community-verification-upload__box input[type="file"] {
    width: 100%;
    max-width: 360px;
    margin-bottom: 12px;
}

.community-verification-upload__box strong {
    color: #14213a;
    font-size: 12px;
}

.community-verification-upload__box small {
    margin-top: 4px;
    color: #8a94a4;
    font-size: 10px;
}

.community-verification-privacy {
    padding: 16px 18px;
    border: 1px solid #cfe6dd;
    border-radius: 14px;
    background: #f2faf7;
}

.community-verification-privacy strong {
    display: block;
    color: #0d755d;
    font-size: 12px;
}

.community-verification-privacy p {
    margin: 6px 0 0;
    color: #5e706a;
    font-size: 11px;
    line-height: 1.7;
}

.community-verification-privacy b {
    color: #0d755d;
}

.community-verification-history--enhanced {
    margin-top: 22px;
    padding: 26px 28px;
    border: 1px solid #e0e6ee;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(20,33,58,.045);
}

.community-verification-history__head span {
    color: #315ba8;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .13em;
}

.community-verification-history__head h2 {
    margin: 5px 0 0;
    color: #14213a;
    font-size: 21px;
}

.community-verification-history__head p {
    margin: 5px 0 0;
    color: #8a94a4;
    font-size: 11px;
}

.community-verification-history__list {
    margin-top: 18px;
    border-top: 1px solid #edf1f5;
}

.community-verification-history__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 2px;
    border-bottom: 1px solid #edf1f5;
}

.community-verification-history__item > div:first-child {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.community-verification-history__item strong {
    color: #26364f;
    font-size: 13px;
}

.community-verification-history__item > div:first-child span {
    color: #8a94a4;
    font-size: 10px;
}

.community-verification-history__item .status {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
}

.community-verification-history__item .status.pending {
    background: #fff7ed;
    color: #c2410c;
}

.community-verification-history__item .status.approved {
    background: #ecfdf5;
    color: #047857;
}

.community-verification-history__item .status.rejected {
    background: #fff1f2;
    color: #be123c;
}

@media (max-width: 820px) {
    .community-verification-hero {
        grid-template-columns: 1fr;
        padding: 30px 26px;
    }

    .community-verification-steps {
        grid-template-columns: 1fr;
    }

    .community-verification-form-head,
    .community-verification-alt {
        align-items: stretch;
        flex-direction: column;
    }

    .community-verification-alt a {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 560px) {
    .community-verification-page {
        width: calc(100% - 24px);
        padding-top: 20px;
    }

    .community-verification-hero {
        padding: 25px 20px;
        border-radius: 20px;
    }

    .community-verification-hero h1 {
        font-size: 30px;
    }

    .community-verification-form-section,
    .community-verification-history--enhanced {
        padding: 21px 17px;
        border-radius: 18px;
    }

    .community-verification-history__item {
        align-items: flex-start;
        flex-direction: column;
    }
}

