.college-page {
    background: var(--bg-primary);
    min-height: 100vh;
}

.college-hero-band,
.school-hero-band {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 28px;
}

.college-hero-band {
    background: var(--bg-secondary);
}

.college-hero-inner,
.college-section,
.school-hero-inner,
.school-section {
    margin: 0 auto;
    max-width: 1120px;
    padding-left: 20px;
    padding-right: 20px;
}

.college-hero-inner {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    padding-bottom: 34px;
    padding-top: 34px;
}

.college-eyebrow {
    color: var(--purple-primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.college-title {
    color: var(--text-primary);
    font-size: 42px;
    line-height: 1.08;
    margin-bottom: 12px;
}

.college-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.65;
    max-width: 760px;
}

.college-actions,
.school-hero-actions,
.school-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.college-network-summary {
    align-self: stretch;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: grid;
    gap: 10px;
    padding: 16px;
}

.college-summary-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 13px;
}

.college-summary-item strong {
    color: var(--text-primary);
    display: block;
    font-size: 24px;
    line-height: 1;
}

.college-summary-item span {
    color: var(--text-secondary);
    display: block;
    font-size: 12px;
    margin-top: 6px;
}

.college-section {
    padding-bottom: 46px;
}

.college-toolbar {
    align-items: end;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) 220px;
    margin-bottom: 18px;
}

.college-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.college-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    display: grid;
    gap: 28px;
    grid-template-columns: 210px minmax(0, 1fr);
    padding: 16px;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.college-card:hover,
.college-card:focus-visible {
    border-color: var(--school-primary);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
    color: var(--text-primary);
    outline: none;
    transform: translateY(-2px);
}

.college-card-logo,
.school-hero-logo {
    align-items: center;
    background: linear-gradient(135deg, var(--school-primary), var(--school-secondary));
    color: var(--school-text, #ffffff);
    display: flex;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.24);
}

.college-card-logo {
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    min-height: 126px;
    padding: 12px;
}

.college-logo-initials {
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    font-size: 34px;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1;
    min-width: 90px;
    padding: 12px 16px;
}

.college-card-body {
    display: grid;
    gap: 9px;
    min-width: 0;
}

.college-card-body h2 {
    color: var(--text-primary);
    font-size: 20px;
    line-height: 1.2;
    margin: 0;
}

.college-location,
.college-card-body p,
.school-muted {
    color: var(--text-secondary);
}

.college-location {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.college-card-body p {
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.college-count-row,
.college-focus-list,
.school-focus-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.college-count-row span,
.college-focus-list span,
.school-focus-list span {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 800;
    padding: 6px 9px;
}

.college-count-row span:first-child {
    color: var(--text-primary);
}

.college-count-row strong {
    color: var(--text-primary);
}

.empty-state {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    padding: 24px;
    text-align: center;
}

.school-hero-band {
    background: linear-gradient(135deg, var(--school-primary), var(--school-secondary));
    color: white;
}

.school-hero-inner {
    align-items: center;
    display: grid;
    gap: 28px;
    grid-template-columns: 220px minmax(0, 1fr);
    padding-bottom: 40px;
    padding-top: 36px;
}

.school-back-link {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    color: white;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 18px;
    padding: 8px 12px;
    text-decoration: none;
}

.school-back-link:hover,
.school-back-link:focus-visible {
    background: rgba(255, 255, 255, 0.22);
    color: white;
    outline: none;
}

.school-hero-logo {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 18px;
    min-height: 210px;
}

.school-hero-logo .college-logo-initials {
    font-size: 46px;
    min-width: 118px;
}

.school-hero-copy h1 {
    color: white;
    font-size: 42px;
    line-height: 1.08;
    margin: 0 0 12px;
}

.school-hero-copy p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
    max-width: 760px;
}

.school-hero-actions .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.56);
    color: white;
}

.school-hero-actions .btn-outline:hover {
    background: white;
    color: var(--school-primary);
}

.school-section {
    padding-bottom: 46px;
}

.school-group-status {
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-left: 6px solid var(--school-primary);
    border-radius: 12px;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 18px;
    padding: 18px;
}

.school-group-status div {
    display: grid;
    gap: 5px;
}

.school-group-status span {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.school-group-status strong {
    color: var(--text-primary);
    font-size: 24px;
    line-height: 1;
}

.school-group-status p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.55;
    margin: 0;
    max-width: 520px;
}

.school-helper-stats {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 18px;
}

.school-stat,
.school-panel,
.school-option-card,
.school-video-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.school-stat {
    padding: 18px;
}

.school-stat strong {
    color: var(--text-primary);
    display: block;
    font-size: 30px;
    line-height: 1;
}

.school-stat span {
    color: var(--text-secondary);
    display: block;
    font-size: 13px;
    margin-top: 8px;
}

.school-detail-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
}

.school-panel {
    padding: 22px;
}

.school-panel + .school-panel {
    margin-top: 18px;
}

.school-panel-header {
    margin-bottom: 16px;
}

.school-panel-header h2,
.school-option-card h3,
.school-video-card h3 {
    color: var(--text-primary);
    margin: 0;
}

.school-panel-header h2 {
    font-size: 22px;
    margin-bottom: 6px;
}

.school-panel-header p,
.school-option-card p,
.school-video-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.school-option-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.school-option-card {
    border-top: 4px solid var(--school-primary);
    padding: 18px;
}

.school-option-card h3 {
    font-size: 17px;
    margin-bottom: 7px;
}

.school-option-card a {
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    margin-top: 12px;
}

.school-question-form {
    display: grid;
    gap: 10px;
}

.school-question-form textarea {
    min-height: 130px;
}

.school-thread-composer {
    display: grid;
    gap: 12px;
}

.school-topic-tabs {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.school-topic-tabs button {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 900;
    min-height: 38px;
    padding: 8px 10px;
}

.school-topic-tabs button.active,
.school-topic-tabs button:hover,
.school-topic-tabs button:focus-visible {
    background: var(--purple-light);
    border-color: rgba(139, 92, 246, 0.28);
    color: var(--purple-primary);
    outline: none;
}

.school-thread-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.school-thread-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: grid;
    gap: 12px;
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 14px;
}

.school-thread-avatar {
    align-items: center;
    background: linear-gradient(135deg, var(--school-primary), var(--school-secondary));
    border-radius: 50%;
    color: white;
    display: flex;
    font-size: 14px;
    font-weight: 900;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.school-thread-body {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.school-thread-topline {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
}

.school-thread-topline strong {
    color: var(--text-primary);
    font-size: 14px;
}

.school-thread-topline span {
    background: var(--purple-light);
    border: 1px solid rgba(139, 92, 246, 0.18);
    border-radius: 999px;
    color: var(--purple-primary);
    font-size: 11px;
    font-weight: 900;
    padding: 4px 8px;
}

.school-thread-body p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.school-thread-meta {
    color: var(--text-tertiary);
    font-size: 12px;
}

.school-discussion-empty {
    background: var(--bg-primary);
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    display: grid;
    gap: 5px;
    padding: 18px;
    text-align: center;
}

.school-discussion-empty strong {
    color: var(--text-primary);
}

.school-video-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.school-video-card {
    overflow: hidden;
}

.school-video-thumb {
    align-items: center;
    background: linear-gradient(135deg, var(--school-primary), var(--school-secondary));
    color: white;
    display: flex;
    font-size: 13px;
    font-weight: 900;
    justify-content: center;
    min-height: 120px;
    text-transform: uppercase;
}

.school-video-card div:last-child {
    padding: 14px;
}

.school-video-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.school-question-list,
.school-major-list {
    display: grid;
    gap: 10px;
}

.school-thread-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.school-thread-actions button {
    background: transparent;
    border: 0;
    color: var(--purple-primary);
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    padding: 0;
}

.school-thread-actions button:hover,
.school-thread-actions button:focus-visible {
    color: #dc2626;
    outline: none;
}

.school-question-list button {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    padding: 11px 12px;
    text-align: left;
}

.school-question-list button:hover,
.school-question-list button:focus-visible {
    border-color: var(--school-primary);
    outline: none;
}

.school-major-list li {
    color: var(--text-secondary);
    line-height: 1.55;
    margin-left: 18px;
}

@media (max-width: 960px) {
    .college-hero-inner,
    .school-hero-inner,
    .school-detail-grid {
        grid-template-columns: 1fr;
    }

    .college-network-summary,
    .school-helper-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .college-grid {
        grid-template-columns: 1fr;
    }

    .school-hero-logo {
        max-width: 220px;
    }
}

@media (max-width: 680px) {
    .college-title,
    .school-hero-copy h1 {
        font-size: 32px;
    }

    .college-toolbar,
    .college-card,
    .school-option-grid,
    .school-video-grid {
        grid-template-columns: 1fr;
    }

    .college-card-logo {
        aspect-ratio: 16 / 9;
    }

    .school-helper-stats,
    .college-network-summary,
    .school-topic-tabs {
        grid-template-columns: 1fr;
    }

    .school-group-status {
        align-items: flex-start;
        flex-direction: column;
    }

    .college-actions .btn,
    .school-hero-actions .btn,
    .school-panel-actions .btn {
        justify-content: center;
        width: 100%;
    }
}
