body.student-club-standalone-body {
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    background: #eef2f7;
}

.student-club-standalone-shell {
    min-height: 100vh;
    background: #eef2f7;
}

.student-club-standalone-header {
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
    padding: 22px 0 10px;
}

.student-club-standalone-nav {
    width: min(1460px, calc(100% - 56px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid #eadfd3;
    border-radius: 14px;
    box-shadow: 0 16px 34px rgba(39, 30, 23, 0.10);
    padding: 12px 28px;
}

.student-club-standalone-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #172033;
    font-family: 'Viga', sans-serif;
    font-size: 22px;
    text-decoration: none;
}

.student-club-standalone-brand:hover {
    color: #172033;
    text-decoration: none;
}

.student-club-standalone-brand img {
    width: 92px;
    height: 58px;
    object-fit: contain;
}

.student-club-back-link,
.student-club-dashboard-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    min-height: 42px;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #d5dfec;
    background: #f8fafc;
    color: #1f385f;
    font-weight: 700;
    text-decoration: none;
}

.student-club-back-link:hover,
.student-club-dashboard-link:hover {
    color: #1f385f;
    text-decoration: none;
    background: #eef4ff;
}

.student-club-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.student-club-standalone-footer {
    padding: 28px 0 36px;
}

.student-club-footer-inner {
    width: min(1460px, calc(100% - 56px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #ffffff;
    border: 1px solid #eadfd3;
    border-radius: 14px;
    box-shadow: 0 16px 34px rgba(39, 30, 23, 0.08);
    padding: 20px 24px;
}

.student-club-footer-inner strong,
.student-club-footer-inner span {
    display: block;
}

.student-club-footer-inner span {
    color: #6b7280;
    margin-top: 4px;
}

.student-club-footer-inner nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.student-club-footer-inner a {
    color: #3d2a58;
    font-weight: 700;
}

.student-club-footer-inner a:hover {
    color: #ea5a3d;
}

.student-club-current-image {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #5d6978;
    font-weight: 700;
}

.student-club-current-image img {
    width: 110px;
    height: 76px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #d7dde8;
}

.student-club-settings-layout {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.student-club-settings-summary,
.student-club-settings-panel {
    background: #ffffff;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(18, 32, 52, 0.08);
}

.student-club-settings-summary {
    overflow: hidden;
    padding-bottom: 28px;
}

.student-club-settings-cover {
    height: 92px;
    background: linear-gradient(135deg, #4e3472, #f05d43);
}

.student-club-settings-avatar {
    display: block;
    width: 126px;
    height: 126px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #ffffff;
    margin: -54px auto 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(21, 32, 48, 0.18);
}

.student-club-settings-summary h2,
.student-club-settings-summary p {
    text-align: center;
    margin-left: 24px;
    margin-right: 24px;
}

.student-club-profile-status-list {
    margin: 24px;
    display: grid;
    gap: 10px;
}

.student-club-profile-status-list div,
.student-club-readonly-box {
    border: 1px solid #e0e6ef;
    border-radius: 8px;
    background: #f8fafc;
}

.student-club-profile-status-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
}

.student-club-profile-status-list span,
.student-club-readonly-box span {
    color: #6b7685;
    font-weight: 700;
}

.student-club-settings-panel {
    padding: 28px;
}

.student-club-settings-form {
    margin-top: 22px;
}

.student-club-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.student-club-readonly-box {
    margin: 10px 0 24px;
    padding: 16px;
    display: grid;
    gap: 10px;
}

.student-club-readonly-box p {
    margin: 0;
    color: #6b7685;
}

.student-club-settings-subtitle {
    margin: 8px 0 16px;
    font-size: 24px;
}

.student-club-form-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
}

@media (max-width: 991px) {
    .student-club-settings-layout {
        grid-template-columns: 1fr;
    }

    .student-club-form-grid {
        grid-template-columns: 1fr;
    }
}
body {
    padding-top: 0;
    padding-bottom: 0;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: none;
}

.student-club-compact-title {
    padding: 36px 0 42px;
}

.student-club-compact-title h1 {
    margin-bottom: 10px;
}

.student-club-page {
    background: #f3f5f8 !important;
    background-image: none !important;
    background-attachment: initial !important;
    color: #1f2933;
    padding: 64px 0;
    position: relative;
}

.student-club-form-page .contact-form,
.student-club-dashboard .auto-container {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(31, 35, 45, 0.12);
    padding: 32px;
}

.student-club-form-page .contact-form {
    margin: 0 auto;
}

.student-club-page input,
.student-club-page select,
.student-club-page textarea {
    max-width: none;
    width: 100%;
}

.student-club-page label,
.student-club-page h2,
.student-club-page h3,
.student-club-page h4,
.student-club-page p,
.student-club-page td {
    color: #1f2933;
}

.student-club-page .sec-title {
    margin-bottom: 24px;
}

.student-club-page .theme-btn {
    border-radius: 6px;
}

.student-club-toolbar,
.student-club-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.student-club-dashboard-copy h3 {
    margin-bottom: 6px;
}

.student-club-eyebrow,
.student-club-post-meta {
    color: #6d7480;
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.student-club-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.student-club-actions .theme-btn,
.student-club-page .theme-btn {
    min-height: 48px;
    padding: 13px 24px;
}

.student-club-page .btn-style-danger {
    background: #dc3545;
    color: #fff;
}

.student-club-dashboard table {
    background: #fff;
    margin-bottom: 0;
}

.student-club-dashboard table th {
    background: #1f252b;
    color: #fff;
}

.student-club-dashboard table td,
.student-club-dashboard table th {
    vertical-align: middle;
}

.student-club-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.student-club-inline-form {
    display: inline;
    margin: 0;
}

.student-club-post-list {
    display: grid;
    gap: 14px;
}

.student-club-post-item {
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding: 20px;
}

.student-club-post-main {
    min-width: 0;
}

.student-club-post-main h4 {
    color: #1f252b;
    margin-bottom: 8px;
}

.student-club-post-main p {
    margin-bottom: 0;
}

.student-club-empty-state,
.student-club-profile-panel {
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    padding: 28px;
}

.student-club-empty-state {
    text-align: center;
}

.student-club-directory .card {
    min-height: 310px;
}

.student-club-directory-header {
    align-items: center;
    background: #fff;
    border: 1px solid #dfe4ec;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(31, 41, 51, 0.08);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 24px;
}

.student-club-directory-header h2,
.student-club-feed-header h2 {
    color: #17212b;
    font-size: 28px;
    line-height: 1.2;
    margin: 0 0 6px;
}

.student-club-directory-header p {
    color: #596575;
    margin: 0;
}

.student-club-directory-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.student-club-card {
    background: #fff;
    border: 1px solid #dfe4ec;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(31, 41, 51, 0.08);
    overflow: hidden;
}

.student-club-card-cover,
.student-club-profile-cover {
    background: linear-gradient(135deg, #7a58a5 0%, #ef6047 100%);
    height: 82px;
}

.student-club-card-body {
    padding: 0 22px 22px;
}

.student-club-avatar {
    background: #fff;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(31, 41, 51, 0.18);
    height: 92px;
    margin-top: -46px;
    object-fit: cover;
    width: 92px;
}

.student-club-card-title-row {
    align-items: center;
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.student-club-card-title-row h3 {
    color: #17212b;
    font-size: 22px;
    line-height: 1.25;
    margin: 0;
}

.student-club-card-body p {
    color: #596575;
    line-height: 1.55;
    margin: 12px 0 18px;
}

.student-club-badge {
    background: #e8f5ee;
    border: 1px solid #bfe5cf;
    border-radius: 999px;
    color: #18794e;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 6px 9px;
}

.student-club-link-button,
.student-club-secondary-link {
    align-items: center;
    background: #eef3fb;
    border: 1px solid #d4deee;
    border-radius: 6px;
    color: #315d9f;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
}

.student-club-link-button:hover,
.student-club-secondary-link:hover {
    color: #254a82;
}

.student-club-profile-layout {
    align-items: flex-start;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
}

.student-club-profile-sidebar {
    position: sticky;
    top: 18px;
}

.student-club-profile-panel {
    box-shadow: 0 6px 18px rgba(31, 41, 51, 0.08);
    overflow: hidden;
    padding: 0;
}

.student-club-profile-body {
    padding: 0 24px 26px;
}

.student-club-profile-avatar {
    background: #fff;
    border: 5px solid #fff;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(31, 41, 51, 0.18);
    height: 122px;
    margin-top: -61px;
    object-fit: cover;
    width: 122px;
}

.student-club-profile-body h3 {
    color: #17212b;
    font-size: 28px;
    line-height: 1.2;
    margin: 16px 0 8px;
}

.student-club-profile-body p {
    color: #4b5868;
    line-height: 1.6;
    margin: 18px 0;
}

.student-club-profile-link {
    border-top: 1px solid #e5e9f0;
    display: grid;
    gap: 5px;
    padding-top: 14px;
}

.student-club-profile-link span {
    color: #6d7480;
    font-size: 13px;
    font-weight: 700;
}

.student-club-profile-link a {
    color: #315d9f;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.student-club-feed-header {
    align-items: center;
    background: #fff;
    border: 1px solid #dfe4ec;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(31, 41, 51, 0.08);
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 20px 22px;
}

.student-club-feed-card {
    background: #fff;
    border: 1px solid #dfe4ec;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(31, 41, 51, 0.08);
    padding: 20px;
}

.student-club-feed-card-header {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.student-club-feed-avatar {
    border-radius: 50%;
    height: 48px;
    object-fit: cover;
    width: 48px;
}

.student-club-feed-card-header h4 {
    color: #17212b;
    font-size: 16px;
    margin: 0 0 3px;
}

.student-club-feed-card-header small {
    display: block;
    color: #6b7685;
    font-weight: 700;
    margin-bottom: 2px;
}

.student-club-feed-card-header span {
    color: #7b8794;
    font-size: 13px;
}

.student-club-feed-card .student-club-post-main h3 {
    color: #17212b;
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 10px;
}

.student-club-feed-card .student-club-post-main p {
    color: #3f4a59;
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
}

.student-club-post-image {
    border-radius: 8px;
    margin-top: 16px;
    max-height: 360px;
    object-fit: cover;
    width: 100%;
}

@media (max-width: 767px) {
    .student-club-toolbar,
    .student-club-dashboard-header,
    .student-club-post-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .student-club-actions {
        justify-content: flex-start;
    }

    .student-club-actions .theme-btn,
    .student-club-page .theme-btn {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .student-club-directory-header,
    .student-club-feed-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .student-club-profile-layout {
        grid-template-columns: 1fr;
    }

    .student-club-profile-sidebar {
        position: static;
    }
}

/* LinkedIn-style Student Club profile/feed overrides */
.page-wrapper {
    background: #f3f5f8;
}

.student-club-profile-title {
    padding: 42px 0 48px !important;
}

.student-club-profile-title h1 {
    font-size: 42px !important;
    line-height: 1.1 !important;
}

.student-club-page {
    padding: 28px 0 54px !important;
}

.student-club-page .auto-container {
    max-width: 1180px;
}

.student-club-profile-layout {
    gap: 20px;
    grid-template-columns: 320px minmax(0, 680px);
    justify-content: center;
}

.student-club-profile-cover {
    height: 74px;
}

.student-club-profile-body {
    padding: 0 20px 22px;
}

.student-club-profile-avatar {
    height: 104px;
    margin-top: -52px;
    width: 104px;
}

.student-club-profile-body h3 {
    font-size: 24px;
}

.student-club-feed-header {
    margin-bottom: 10px;
    padding: 16px 18px;
}

.student-club-feed-composer {
    align-items: center;
    background: #fff;
    border: 1px solid #dfe4ec;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(31, 41, 51, 0.06);
    color: #596575;
    display: flex;
    font-weight: 700;
    gap: 12px;
    margin-bottom: 12px;
    padding: 14px 16px;
}

.student-club-feed-card {
    box-shadow: 0 4px 12px rgba(31, 41, 51, 0.06);
    padding: 0;
}

.student-club-feed-card-header {
    margin-bottom: 0;
    padding: 16px 18px 10px;
}

.student-club-feed-card .student-club-post-main {
    padding: 0 18px 16px;
}

.student-club-feed-card .student-club-post-main h3 {
    font-size: 20px;
}

.student-club-feed-card .student-club-post-main p {
    font-size: 15px;
}

.student-club-post-image {
    margin: 0 18px 16px;
    max-width: calc(100% - 36px);
    width: calc(100% - 36px);
}

.student-club-post-stats {
    align-items: center;
    border-top: 1px solid #eef1f5;
    color: #6d7480;
    display: flex;
    font-size: 13px;
    justify-content: space-between;
    margin: 0 18px;
    padding: 10px 0;
}

.student-club-post-actions {
    border-top: 1px solid #eef1f5;
    display: grid;
    grid-template-columns: 1fr;
    margin: 0 18px;
    padding: 6px 0;
}

.student-club-post-actions button {
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: #596575;
    cursor: pointer;
    font-weight: 700;
    min-height: 38px;
}

.student-club-post-actions button:hover {
    background: #f3f5f8;
    color: #315d9f;
}

.student-club-comments-section {
    border-top: 1px solid #eef1f5;
    margin: 0 18px;
    padding: 14px 0 16px;
}

.student-club-comment-form {
    align-items: center;
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.student-club-comment-form input {
    background: #f3f5f8;
    border: 1px solid #dfe4ec;
    border-radius: 999px;
    color: #1f2933;
    flex: 1;
    height: 42px;
    max-width: none;
    padding: 0 16px;
}

.student-club-comment-form button {
    background: #315d9f;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    height: 42px;
    min-width: 76px;
}

.student-club-comment-login {
    color: #6d7480;
    font-size: 14px;
    margin-bottom: 12px;
}

.student-club-comment-login a {
    color: #315d9f;
    font-weight: 700;
}

.student-club-comments-list {
    display: grid;
    gap: 10px;
}

.student-club-comment-item {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    background: #f3f5f8;
    border-radius: 14px;
    padding: 10px 14px;
}

.student-club-comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #d8dee8;
}

.student-club-comment-author {
    color: #17212b;
    font-size: 14px;
    font-weight: 700;
}

.student-club-comment-text {
    color: #3f4a59;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 2px;
}

.student-club-comment-date {
    color: #7b8794;
    font-size: 12px;
    margin-top: 4px;
}

.student-club-comment-tools {
    align-items: center;
    display: flex;
    gap: 10px;
    margin-top: 7px;
}

.student-club-comment-tools span {
    color: #7b8794;
    font-size: 12px;
    font-weight: 700;
}

.btn-toggle-reply {
    background: transparent;
    border: 0;
    color: #315d9f;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    padding: 0;
}

.student-club-reply-form {
    align-items: center;
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.student-club-reply-form input {
    background: #ffffff;
    border: 1px solid #dfe4ec;
    border-radius: 999px;
    flex: 1;
    height: 38px;
    max-width: none;
    padding: 0 14px;
}

.student-club-reply-form button {
    background: #315d9f;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 800;
    height: 38px;
    min-width: 70px;
}

.student-club-replies-list {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.student-club-reply-item {
    background: #ffffff;
    border: 1px solid #dfe4ec;
    border-radius: 12px;
    display: grid;
    gap: 9px;
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 9px 12px;
}

.student-club-reply-avatar {
    border: 1px solid #d8dee8;
    border-radius: 50%;
    height: 30px;
    object-fit: cover;
    width: 30px;
}

@media (max-width: 991px) {
    .student-club-profile-layout {
        grid-template-columns: 1fr;
    }
}

/* Student Club DistrictUni palette refresh */
:root {
    --club-bg: #f5f3f8;
    --club-surface: #ffffff;
    --club-surface-soft: #fbf8ff;
    --club-ink: #191423;
    --club-muted: #696174;
    --club-line: #eadff0;
    --club-primary: #77579e;
    --club-primary-dark: #4b2f65;
    --club-secondary: #ee5f43;
    --club-secondary-dark: #d94b31;
    --club-secondary-soft: #fff0ec;
    --club-warm: #ee5f43;
    --club-warm-dark: #d94b31;
    --club-success-bg: #eaf8f0;
    --club-success: #1f8a55;
    --club-shadow: 0 16px 34px rgba(75, 47, 101, 0.12);
}

body.student-club-standalone-body,
.student-club-standalone-shell,
.student-club-page {
    background: var(--club-bg) !important;
    color: var(--club-ink);
}

.student-club-standalone-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--club-line);
    box-shadow: 0 8px 24px rgba(39, 30, 23, 0.06);
}

.student-club-standalone-brand,
.student-club-page h1,
.student-club-page h2,
.student-club-page h3,
.student-club-page h4,
.student-club-page label {
    color: var(--club-ink) !important;
}

.student-club-back-link,
.student-club-dashboard-link,
.student-club-secondary-link {
    background: var(--club-surface-soft);
    border-color: var(--club-line);
    color: var(--club-primary-dark);
    border-radius: 8px;
}

.student-club-back-link:hover,
.student-club-dashboard-link:hover,
.student-club-secondary-link:hover {
    background: var(--club-secondary-soft);
    color: var(--club-secondary-dark);
}

.student-club-compact-title,
.student-club-profile-title {
    background: linear-gradient(135deg, rgba(25, 20, 35, 0.96), rgba(75, 47, 101, 0.88)) !important;
    padding: 48px 0 54px !important;
}

.student-club-compact-title h1,
.student-club-profile-title h1,
.student-club-compact-title .page-breadcrumb li,
.student-club-profile-title .page-breadcrumb li,
.student-club-compact-title .page-breadcrumb a,
.student-club-profile-title .page-breadcrumb a {
    color: #ffffff !important;
}

.student-club-directory-header,
.student-club-card,
.student-club-profile-panel,
.student-club-feed-header,
.student-club-feed-composer,
.student-club-feed-card,
.student-club-post-item,
.student-club-empty-state,
.student-club-form-page .contact-form,
.student-club-dashboard .auto-container,
.student-club-settings-summary,
.student-club-settings-panel {
    background: var(--club-surface) !important;
    border: 1px solid var(--club-line) !important;
    border-radius: 12px !important;
    box-shadow: var(--club-shadow) !important;
}

.student-club-card-cover,
.student-club-profile-cover,
.student-club-settings-cover {
    background: linear-gradient(135deg, var(--club-primary-dark) 0%, var(--club-primary) 48%, var(--club-secondary) 100%) !important;
}

.student-club-eyebrow,
.student-club-post-meta,
.student-club-directory-header p,
.student-club-card-body p,
.student-club-profile-body p,
.student-club-feed-card-header span,
.student-club-feed-card-header small,
.student-club-feed-card .student-club-post-main p,
.student-club-comment-text,
.student-club-comment-date,
.student-club-comment-login,
.student-club-profile-status-list span,
.student-club-readonly-box span {
    color: var(--club-muted) !important;
}

.student-club-badge {
    background: var(--club-success-bg);
    border-color: rgba(31, 122, 77, 0.22);
    color: var(--club-success);
}

.student-club-page .theme-btn,
.student-club-actions .theme-btn,
.student-club-page .btn-style-one,
.student-club-comment-form button {
    background: var(--club-primary) !important;
    border: 1px solid var(--club-primary) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 20px rgba(2, 126, 111, 0.18);
}

.student-club-page .theme-btn:hover,
.student-club-actions .theme-btn:hover,
.student-club-page .btn-style-one:hover,
.student-club-comment-form button:hover {
    background: var(--club-primary-dark) !important;
    border-color: var(--club-primary-dark) !important;
    color: #ffffff !important;
}

.student-club-page .btn-style-two,
.student-club-page .btn-secondary {
    background: var(--club-secondary) !important;
    border-color: var(--club-secondary) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(238, 95, 67, 0.18);
}

.student-club-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--club-primary);
    border: 1px solid var(--club-primary);
    border-radius: 8px;
    color: #ffffff !important;
    font-weight: 800;
    min-height: 46px;
    padding: 12px 18px;
}

.student-club-link-button:hover {
    background: var(--club-primary-dark);
    border-color: var(--club-primary-dark);
    color: #ffffff !important;
}

.student-club-directory {
    padding: 64px 0 78px;
}

.student-club-directory-header {
    align-items: center;
    padding: 32px !important;
}

.student-club-directory-header h2,
.student-club-auth-hero h2,
.student-club-feed-header h2 {
    color: var(--club-ink) !important;
    font-size: 40px;
    line-height: 1.05;
}

.student-club-directory-grid {
    gap: 26px !important;
    margin-top: 30px !important;
}

.student-club-card {
    overflow: hidden;
}

.student-club-card-body {
    padding: 0 28px 28px !important;
}

.student-club-avatar,
.student-club-profile-avatar,
.student-club-settings-avatar {
    background: #ffffff;
    border: 5px solid #ffffff;
    box-shadow: 0 12px 26px rgba(75, 47, 101, 0.18);
}

.student-club-card-title-row {
    align-items: flex-start !important;
    gap: 10px;
}

.student-club-profile-layout {
    align-items: start;
}

.student-club-profile-panel,
.student-club-feed-card,
.student-club-feed-header,
.student-club-feed-composer,
.student-club-auth-card {
    overflow: hidden;
}

.student-club-feed-card-header h4 {
    color: var(--club-ink) !important;
    font-size: 18px;
    line-height: 1.1;
    margin-bottom: 2px;
}

.student-club-feed-card .student-club-post-main h3 {
    color: var(--club-ink) !important;
    font-size: 24px !important;
    line-height: 1.22;
}

.student-club-post-image {
    border-radius: 8px;
    border: 1px solid var(--club-line);
}

.student-club-post-stats {
    color: var(--club-muted) !important;
    font-weight: 800;
}

.student-club-post-actions button,
.btn-toggle-comments {
    color: var(--club-primary-dark) !important;
}

.student-club-post-actions button:hover,
.btn-toggle-comments:hover {
    background: var(--club-secondary-soft) !important;
    color: var(--club-secondary-dark) !important;
}

.student-club-comment-item {
    background: var(--club-surface-soft) !important;
    border: 1px solid var(--club-line);
    border-radius: 12px !important;
}

.btn-toggle-reply {
    color: var(--club-primary-dark) !important;
}

.btn-toggle-reply:hover {
    color: var(--club-secondary-dark) !important;
}

.student-club-reply-form input,
.student-club-reply-item {
    border-color: var(--club-line) !important;
}

.student-club-reply-form button {
    background: var(--club-primary) !important;
}

.student-club-reply-form button:hover {
    background: var(--club-primary-dark) !important;
}

.student-club-auth-hero {
    background: #ffffff;
    border: 1px solid var(--club-line);
    border-radius: 12px;
    box-shadow: var(--club-shadow);
    padding: 30px;
}

.student-club-auth-card-title {
    background: linear-gradient(135deg, rgba(75, 47, 101, 0.08), rgba(238, 95, 67, 0.08));
    border: 1px solid var(--club-line);
    border-radius: 10px;
    padding: 18px !important;
}

.student-club-page input,
.student-club-page select,
.student-club-page textarea {
    min-height: 48px;
}

.student-club-page textarea {
    min-height: 150px;
}

.student-club-standalone-footer {
    background: #21152f !important;
}

.student-club-footer-inner a:hover {
    color: #ffffff !important;
}

/* Dashboard should behave like an app screen: no browser-page scrolling. */
body.student-club-dashboard-body {
    height: 100vh;
    overflow: hidden !important;
}

.student-club-dashboard-body .student-club-standalone-footer,
.student-club-dashboard-body .page-title {
    display: none !important;
}

.student-club-dashboard-body .student-club-standalone-shell {
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
}

.student-club-dashboard-body .student-club-page.student-club-dashboard {
    height: calc(100vh - 96px);
    overflow: hidden;
    padding: 22px 0 !important;
}

.student-club-dashboard-body .student-club-dashboard > .auto-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
}

.student-club-dashboard-body .student-club-dashboard-header {
    flex: 0 0 auto;
    padding: 22px !important;
}

.student-club-dashboard-body .student-club-post-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
}

.student-club-dashboard-body .student-club-empty-state {
    flex: 1 1 auto;
}

/* Keep nested comment media locked to avatar dimensions, even with SVG defaults. */
.student-club-comment-avatar,
.student-club-reply-avatar {
    display: block !important;
    flex: 0 0 auto !important;
    object-fit: cover !important;
}

.student-club-comment-avatar {
    height: 36px !important;
    max-height: 36px !important;
    max-width: 36px !important;
    min-height: 36px !important;
    min-width: 36px !important;
    width: 36px !important;
}

.student-club-reply-avatar {
    height: 30px !important;
    max-height: 30px !important;
    max-width: 30px !important;
    min-height: 30px !important;
    min-width: 30px !important;
    width: 30px !important;
}

.student-club-replies-list {
    margin-left: 0 !important;
}

.student-club-reply-item {
    align-items: flex-start;
    overflow: hidden;
}

.student-club-page .btn-style-danger {
    background: #b83232 !important;
    border-color: #b83232 !important;
    color: #ffffff !important;
}

.student-club-page input,
.student-club-page select,
.student-club-page textarea,
.student-club-comment-form input {
    background: #ffffff !important;
    border: 1px solid var(--club-line) !important;
    border-radius: 8px !important;
    color: var(--club-ink) !important;
}

.student-club-page input:focus,
.student-club-page select:focus,
.student-club-page textarea:focus,
.student-club-comment-form input:focus {
    border-color: var(--club-primary) !important;
    box-shadow: 0 0 0 3px rgba(2, 126, 111, 0.12) !important;
}

.student-club-post-stats,
.student-club-post-actions,
.student-club-comments-section,
.student-club-profile-link,
.student-club-readonly-box,
.student-club-profile-status-list div {
    border-color: var(--club-line) !important;
}

.student-club-comment-item,
.student-club-readonly-box,
.student-club-profile-status-list div {
    background: var(--club-surface-soft) !important;
}

.student-club-avatar,
.student-club-profile-avatar,
.student-club-feed-avatar,
.student-club-settings-avatar,
.student-club-comment-avatar {
    border-color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(39, 30, 23, 0.16);
}

.student-club-post-image {
    border: 1px solid var(--club-line);
    background: var(--club-surface-soft);
}

.student-club-why-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: radial-gradient(circle at 88% 20%, rgba(21, 195, 154, 0.18), transparent 28%), linear-gradient(135deg, #161719 0%, #243044 52%, #027e6f 100%);
    border: 0;
    border-radius: 18px;
    box-shadow: 0 24px 56px rgba(22, 23, 25, 0.18);
    padding: 44px;
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
}

.student-club-why-hero::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -100px;
    width: 280px;
    height: 280px;
    border: 42px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.student-club-why-hero h1 {
    color: #ffffff !important;
    font-size: 54px;
    line-height: 1.05;
    margin: 0 0 12px;
    max-width: 720px;
}

.student-club-why-hero p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.65;
    margin: 0;
    max-width: 760px;
}

.student-club-why-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.student-club-why-hero .student-club-eyebrow {
    color: #73e1d4 !important;
}

.student-club-why-hero .student-club-secondary-link {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
}

.student-club-why-hero .student-club-secondary-link:hover {
    background: rgba(255, 255, 255, 0.20);
    color: #ffffff;
}

.student-club-why-signup {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--club-surface);
    border: 1px solid var(--club-line);
    border-left: 6px solid var(--club-primary);
    border-radius: 14px;
    box-shadow: var(--club-shadow);
    margin-bottom: 24px;
    padding: 24px 28px;
}

.student-club-why-signup h2 {
    font-size: 30px;
    line-height: 1.2;
    margin: 0 0 8px;
}

.student-club-why-signup p {
    color: var(--club-muted);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    max-width: 760px;
}

.student-club-why-intro {
    background: var(--club-surface);
    border: 1px solid var(--club-line);
    border-radius: 14px;
    box-shadow: var(--club-shadow);
    margin-bottom: 18px;
    padding: 24px 28px;
}

.student-club-why-intro h2 {
    font-size: 30px;
    line-height: 1.2;
    margin: 0;
    max-width: 880px;
}

.student-club-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.student-club-why-grid article,
.student-club-why-flow {
    background: var(--club-surface);
    border: 1px solid var(--club-line);
    border-radius: 14px;
    box-shadow: var(--club-shadow);
}

.student-club-why-grid article {
    padding: 24px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.student-club-why-grid article:hover {
    border-color: rgba(2, 126, 111, 0.35);
    box-shadow: 0 18px 36px rgba(22, 23, 25, 0.12);
    transform: translateY(-3px);
}

.student-club-why-grid article span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--club-success-bg);
    color: var(--club-primary);
    font-weight: 800;
    margin-bottom: 16px;
}

.student-club-why-grid h3 {
    font-size: 22px;
    margin: 0 0 10px;
}

.student-club-why-grid p {
    color: var(--club-muted);
    line-height: 1.6;
    margin: 0;
}

.student-club-why-flow {
    padding: 28px;
}

.student-club-why-flow h2 {
    font-size: 32px;
    margin: 0 0 18px;
}

.student-club-why-flow ol {
    display: grid;
    gap: 12px;
    margin: 0;
    padding-left: 22px;
}

.student-club-why-flow li {
    color: var(--club-ink);
    font-weight: 700;
    line-height: 1.55;
    padding-left: 6px;
}

.student-club-guideline-link {
    border-top: 1px solid var(--club-line);
    color: var(--club-muted);
    font-weight: 700;
    margin: 22px 0 0;
    padding-top: 18px;
}

.student-club-guideline-link a {
    color: var(--club-primary);
    overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
    .student-club-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .student-club-standalone-nav,
    .student-club-footer-inner,
    .student-club-why-hero,
    .student-club-why-signup {
        align-items: stretch;
        flex-direction: column;
    }

    .student-club-standalone-brand {
        justify-content: center;
    }

    .student-club-header-actions,
    .student-club-why-actions {
        justify-content: stretch;
    }

    .student-club-back-link,
    .student-club-dashboard-link,
    .student-club-why-actions .theme-btn,
    .student-club-why-actions .student-club-secondary-link {
        width: 100%;
    }

    .student-club-why-grid {
        grid-template-columns: 1fr;
    }

    .student-club-why-hero h1 {
        font-size: 34px;
    }

    .student-club-why-signup h2 {
        font-size: 26px;
    }
}

/* Student Club DistrictUni visual refresh */
:root {
    --club-bg: #f3f1f7;
    --club-surface: #ffffff;
    --club-surface-soft: #faf8fd;
    --club-ink: #1f2330;
    --club-muted: #6d7280;
    --club-line: #e5deed;
    --club-primary: #ef5b42;
    --club-primary-dark: #d84a34;
    --club-secondary: #77579e;
    --club-secondary-dark: #4b2f65;
    --club-secondary-soft: #efe8f7;
    --club-success-bg: #edf8f0;
    --club-success: #268047;
    --club-shadow: 0 18px 42px rgba(45, 34, 58, 0.14);
}

body.student-club-standalone-body,
.student-club-standalone-shell,
.student-club-page {
    background: var(--club-bg) !important;
    color: var(--club-ink);
}

.student-club-standalone-header {
    background: var(--club-secondary) !important;
    border-bottom: 0 !important;
    box-shadow: 0 12px 32px rgba(45, 34, 58, 0.18) !important;
}

.student-club-standalone-nav {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.student-club-standalone-brand,
.student-club-standalone-brand:hover {
    color: #ffffff !important;
}

.student-club-back-link,
.student-club-dashboard-link,
.student-club-secondary-link,
.student-club-link-button {
    background: #ffffff !important;
    border: 1px solid rgba(75, 47, 101, 0.16) !important;
    color: var(--club-secondary-dark) !important;
    border-radius: 7px !important;
    font-family: 'Dosis', Arial, sans-serif;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none !important;
}

.student-club-back-link:hover,
.student-club-dashboard-link:hover,
.student-club-secondary-link:hover,
.student-club-link-button:hover {
    background: var(--club-secondary-soft) !important;
    color: var(--club-secondary-dark) !important;
}

.student-club-du-title,
.student-club-compact-title,
.student-club-profile-title {
    background-position: center !important;
    background-size: cover !important;
    padding: 72px 0 82px !important;
    position: relative;
}

.student-club-du-title::before,
.student-club-compact-title::before,
.student-club-profile-title::before {
    background: linear-gradient(90deg, rgba(18, 15, 25, 0.90), rgba(75, 47, 101, 0.72)) !important;
}

.student-club-compact-title h1,
.student-club-profile-title h1 {
    color: #ffffff !important;
    font-size: clamp(44px, 5vw, 72px) !important;
    line-height: 0.98 !important;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.student-club-directory-header,
.student-club-card,
.student-club-profile-panel,
.student-club-feed-header,
.student-club-feed-composer,
.student-club-feed-card,
.student-club-post-item,
.student-club-empty-state,
.student-club-form-page .contact-form,
.student-club-dashboard .auto-container,
.student-club-settings-summary,
.student-club-settings-panel {
    background: var(--club-surface) !important;
    border: 1px solid var(--club-line) !important;
    border-radius: 10px !important;
    box-shadow: var(--club-shadow) !important;
}

.student-club-page h1,
.student-club-page h2,
.student-club-page h3,
.student-club-page h4,
.student-club-page label,
.student-club-feed-card-header h4,
.student-club-comment-author {
    color: var(--club-ink) !important;
}

.student-club-directory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 30px !important;
    margin-bottom: 28px;
}

.student-club-directory-header h2,
.student-club-feed-header h2,
.student-club-auth-hero h2 {
    font-size: clamp(36px, 4vw, 54px) !important;
    line-height: 1 !important;
    margin: 0 0 8px !important;
}

.student-club-directory-header p,
.student-club-auth-hero p,
.student-club-auth-card-title p,
.student-club-card-body p,
.student-club-profile-body p,
.student-club-feed-card-header small,
.student-club-feed-card-header span,
.student-club-feed-card .student-club-post-main p {
    color: var(--club-muted) !important;
    font-weight: 700;
}

.student-club-directory-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 24px !important;
}

.student-club-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.student-club-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 52px rgba(45, 34, 58, 0.18) !important;
}

.student-club-card-cover,
.student-club-profile-cover,
.student-club-settings-cover {
    background: linear-gradient(135deg, var(--club-secondary), var(--club-primary)) !important;
}

.student-club-avatar,
.student-club-profile-avatar,
.student-club-feed-avatar,
.student-club-settings-avatar,
.student-club-comment-avatar {
    background: #ffffff !important;
    border-color: #ffffff !important;
    object-fit: contain;
    box-shadow: 0 12px 28px rgba(45, 34, 58, 0.18) !important;
}

.student-club-badge {
    background: var(--club-success-bg) !important;
    border-color: rgba(38, 128, 71, 0.2) !important;
    color: var(--club-success) !important;
    border-radius: 999px !important;
    font-weight: 800;
}

.student-club-page .theme-btn,
.student-club-actions .theme-btn,
.student-club-page .btn-style-one,
.student-club-comment-form button {
    background: var(--club-primary) !important;
    border-color: var(--club-primary) !important;
    color: #ffffff !important;
    border-radius: 7px !important;
    box-shadow: 0 12px 24px rgba(239, 91, 66, 0.22) !important;
}

.student-club-page .theme-btn:hover,
.student-club-actions .theme-btn:hover,
.student-club-page .btn-style-one:hover,
.student-club-comment-form button:hover {
    background: var(--club-primary-dark) !important;
    border-color: var(--club-primary-dark) !important;
}

.student-club-page .btn-style-two,
.student-club-page .btn-secondary {
    background: var(--club-secondary-dark) !important;
    border-color: var(--club-secondary-dark) !important;
    color: #ffffff !important;
    border-radius: 7px !important;
}

.student-club-profile-layout {
    grid-template-columns: 320px minmax(0, 1fr) !important;
    gap: 24px !important;
}

.student-club-feed-card {
    overflow: hidden;
}

.student-club-feed-card-header {
    padding: 18px 22px 12px !important;
}

.student-club-feed-card .student-club-post-main {
    padding: 0 22px 18px !important;
}

.student-club-feed-card .student-club-post-main h3 {
    font-size: 29px !important;
    line-height: 1.15;
}

.student-club-post-stats,
.student-club-post-actions,
.student-club-comments-section {
    border-color: var(--club-line) !important;
}

.student-club-post-actions button,
.btn-toggle-comments {
    width: 100%;
    background: #ffffff;
    border: 0;
    color: var(--club-secondary-dark);
    font-family: 'Dosis', Arial, sans-serif;
    font-size: 19px;
    font-weight: 800;
    padding: 12px;
}

.student-club-comment-form input,
.student-club-page input,
.student-club-page select,
.student-club-page textarea {
    border: 1px solid var(--club-line) !important;
    border-radius: 7px !important;
    background: #ffffff !important;
}

.student-club-comment-form input:focus,
.student-club-page input:focus,
.student-club-page select:focus,
.student-club-page textarea:focus {
    border-color: var(--club-secondary) !important;
    box-shadow: 0 0 0 3px rgba(119, 87, 158, 0.13) !important;
}

.student-club-auth-page {
    padding: 48px 0 70px;
}

.student-club-auth-hero {
    max-width: 760px;
    margin: 0 auto 26px;
    text-align: center;
}

.student-club-auth-card {
    padding: 30px !important;
}

.student-club-auth-card-title {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--club-line);
    margin-bottom: 24px;
    padding-bottom: 20px;
}

.student-club-auth-card-title img {
    width: 82px;
    height: 58px;
    object-fit: contain;
}

.student-club-auth-card-title h3 {
    font-size: 30px;
    margin: 0 0 4px;
}

.student-club-auth-card-title p,
.student-club-auth-link {
    margin: 0;
}

.student-club-auth-link {
    color: var(--club-muted);
    font-weight: 700;
    margin-top: 16px;
}

.student-club-auth-link a {
    color: var(--club-primary);
    font-weight: 800;
}

.student-club-alert-link {
    color: var(--club-secondary-dark);
    font-weight: 800;
    text-decoration: underline;
}

.student-club-status-steps {
    display: grid;
    gap: 14px;
}

.student-club-status-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid var(--club-line);
    border-radius: 10px;
    background: var(--club-surface-soft);
    padding: 16px;
}

.student-club-status-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--club-secondary-soft);
    color: var(--club-secondary-dark);
    flex: 0 0 36px;
    font-family: 'Dosis', Arial, sans-serif;
    font-size: 20px;
    font-weight: 800;
}

.student-club-status-step strong {
    display: block;
    color: var(--club-ink);
    font-size: 17px;
    margin-bottom: 3px;
}

.student-club-status-step p {
    color: var(--club-muted);
    font-weight: 700;
    margin: 0;
}

.student-club-status-step.is-complete {
    border-color: rgba(38, 128, 71, 0.22);
    background: var(--club-success-bg);
}

.student-club-status-step.is-complete span {
    background: var(--club-success);
    color: #ffffff;
}

.student-club-dashboard-header {
    align-items: flex-start !important;
    background: linear-gradient(135deg, var(--club-secondary-dark), var(--club-secondary));
    border-radius: 10px;
    color: #ffffff;
    padding: 28px;
}

.student-club-dashboard-copy h3,
.student-club-dashboard-copy p,
.student-club-dashboard-header .student-club-eyebrow {
    color: #ffffff !important;
}

.student-club-dashboard-copy h3 {
    font-size: 44px;
    line-height: 1;
}

.student-club-post-item {
    align-items: center;
    border-left: 6px solid var(--club-secondary) !important;
    padding: 20px !important;
}

.student-club-row-actions .btn-primary {
    background: var(--club-secondary) !important;
    border-color: var(--club-secondary) !important;
}

.student-club-row-actions .btn-danger,
.student-club-page .btn-style-danger {
    background: #d9364f !important;
    border-color: #d9364f !important;
}

.student-club-why-hero {
    background: linear-gradient(90deg, rgba(16, 14, 24, 0.92), rgba(75, 47, 101, 0.74)), url('/Content/Common/distrct-uni-web/img/bg/about.png') center/cover !important;
}

.student-club-why-hero .student-club-eyebrow {
    color: #ffffff !important;
}

.student-club-why-signup {
    border-left-color: var(--club-primary) !important;
}

.student-club-why-grid article span {
    background: var(--club-secondary-soft) !important;
    color: var(--club-secondary-dark) !important;
}

@media (max-width: 991px) {
    .student-club-profile-layout {
        grid-template-columns: 1fr !important;
    }

    .student-club-directory-header,
    .student-club-dashboard-header {
        align-items: stretch !important;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .student-club-auth-card-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .student-club-compact-title h1,
    .student-club-profile-title h1 {
        font-size: 42px !important;
    }
}

/* Final Student Club fixes: keep dashboard as an app screen and nested replies compact. */
body.student-club-dashboard-body {
    height: 100vh !important;
    overflow: hidden !important;
}

.student-club-dashboard-body .page-title,
.student-club-dashboard-body .student-club-standalone-footer {
    display: none !important;
}

.student-club-dashboard-body .student-club-standalone-shell {
    height: 100vh !important;
    min-height: 100vh !important;
    overflow: hidden !important;
}

.student-club-dashboard-body .student-club-page.student-club-dashboard {
    height: calc(100vh - 96px) !important;
    overflow: hidden !important;
    padding: 22px 0 !important;
}

.student-club-dashboard-body .student-club-dashboard > .auto-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    height: 100% !important;
    max-height: 100% !important;
    overflow: hidden !important;
}

.student-club-dashboard-body .student-club-dashboard-header {
    flex: 0 0 auto !important;
    padding: 22px !important;
}

.student-club-dashboard-body .student-club-post-list {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    padding-right: 4px !important;
}

.student-club-comment-avatar,
.student-club-reply-avatar {
    border-radius: 50% !important;
    display: block !important;
    flex: 0 0 auto !important;
    object-fit: cover !important;
}

.student-club-comment-avatar {
    height: 36px !important;
    max-height: 36px !important;
    max-width: 36px !important;
    min-height: 36px !important;
    min-width: 36px !important;
    width: 36px !important;
}

.student-club-reply-avatar {
    height: 30px !important;
    max-height: 30px !important;
    max-width: 30px !important;
    min-height: 30px !important;
    min-width: 30px !important;
    width: 30px !important;
}

.student-club-reply-item {
    align-items: flex-start !important;
    grid-template-columns: 30px minmax(0, 1fr) !important;
    overflow: hidden !important;
}

/* Student Club mockup implementation - compact DistrictUni app experience */
:root {
    --sc-bg: #f5f3fa;
    --sc-surface: #ffffff;
    --sc-surface-alt: #fbfafe;
    --sc-ink: #241531;
    --sc-muted: #6e6480;
    --sc-faint: #9a90ac;
    --sc-line: #e8e2f2;
    --sc-primary: #6b4699;
    --sc-primary-dark: #241531;
    --sc-primary-deep: #2e1a44;
    --sc-primary-soft: #efe7fa;
    --sc-accent: #e8532e;
    --sc-accent-dark: #c63f1f;
    --sc-accent-soft: #fde7df;
    --sc-success: #1e8a56;
    --sc-success-soft: #e3f7ea;
    --sc-shadow-sm: 0 1px 2px rgba(36, 21, 49, 0.06);
    --sc-shadow-md: 0 8px 24px rgba(36, 21, 49, 0.08);
    --sc-shadow-lg: 0 20px 50px rgba(36, 21, 49, 0.16);
    --sc-radius: 16px;
    --sc-radius-sm: 10px;
}

body.student-club-standalone-body {
    background: var(--sc-bg) !important;
    color: var(--sc-ink) !important;
    font-family: 'Inter', Arial, sans-serif !important;
}

.student-club-standalone-shell {
    background: var(--sc-bg) !important;
}

.student-club-page,
.student-club-page p,
.student-club-page td,
.student-club-page label,
.student-club-page input,
.student-club-page textarea,
.student-club-page select {
    font-family: 'Inter', Arial, sans-serif !important;
}

.student-club-page h1,
.student-club-page h2,
.student-club-page h3,
.student-club-page h4,
.page-title h1,
.student-club-dashboard-copy h3,
.student-club-auth-hero h2 {
    font-family: 'Baloo 2', 'Dosis', Arial, sans-serif !important;
}

.student-club-appbar {
    align-items: center;
    background: linear-gradient(120deg, var(--sc-primary) 0%, #7c57a8 100%);
    box-shadow: 0 2px 14px rgba(36, 21, 49, 0.12);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    min-height: 68px;
    padding: 14px 28px;
    position: sticky;
    top: 0;
    z-index: 30;
}

.student-club-appbar-left,
.student-club-appbar-right,
.student-club-brand-new,
.student-club-topnav {
    align-items: center;
    display: flex;
}

.student-club-appbar-left {
    gap: 22px;
    min-width: 0;
}

.student-club-appbar-right {
    gap: 10px;
    justify-content: flex-end;
}

.student-club-brand-new {
    color: #ffffff !important;
    gap: 9px;
    text-decoration: none !important;
}

.student-club-brand-mark {
    align-items: center;
    background: linear-gradient(135deg, var(--sc-accent), #f08a5d);
    border-radius: 9px;
    color: #ffffff;
    display: inline-flex;
    flex: 0 0 34px;
    font-family: 'Baloo 2', Arial, sans-serif;
    font-size: 13.5px;
    font-weight: 800;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.student-club-brand-copy {
    display: grid;
    line-height: 1.1;
}

.student-club-brand-copy strong {
    color: #ffffff;
    font-family: 'Baloo 2', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.student-club-brand-copy small {
    color: #e4d9f2;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.student-club-topnav {
    gap: 4px;
}

.student-club-topnav a {
    border-radius: 9px;
    color: #ede4f8 !important;
    font-size: 13.5px;
    font-weight: 800;
    padding: 9px 15px;
    text-decoration: none !important;
}

.student-club-topnav a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
}

.student-club-nav-btn,
.student-club-user-pill {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    color: #ffffff !important;
    display: inline-flex;
    font-size: 13.5px;
    font-weight: 800;
    min-height: 38px;
    padding: 9px 15px;
    text-decoration: none !important;
    white-space: nowrap;
}

.student-club-nav-btn:hover,
.student-club-user-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
}

.student-club-nav-accent {
    background: var(--sc-accent);
    border-color: var(--sc-accent);
    box-shadow: 0 6px 16px rgba(232, 83, 46, 0.28);
}

.student-club-user-pill {
    background: #ffffff;
    border-color: var(--sc-line);
    color: var(--sc-ink) !important;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.student-club-user-pill:hover {
    background: var(--sc-surface-alt);
    color: var(--sc-primary) !important;
}

.student-club-compact-title,
.student-club-profile-title,
.student-club-du-title,
.page-title {
    background: linear-gradient(120deg, #1d1128 0%, var(--sc-primary-deep) 55%, #3b2455 100%) !important;
    min-height: auto !important;
    padding: 20px 28px !important;
}

.page-title .auto-container {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    max-width: 1180px;
    min-height: 0 !important;
}

.page-title h1 {
    color: #ffffff !important;
    font-size: 22px !important;
    margin: 0 !important;
}

.page-title .page-breadcrumb {
    margin: 4px 0 0 !important;
}

.page-title .page-breadcrumb li,
.page-title .page-breadcrumb a {
    color: #c9b9e0 !important;
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
}

.student-club-page {
    background: var(--sc-bg) !important;
    padding: 28px 0 60px !important;
}

.student-club-page .auto-container {
    max-width: 1180px !important;
}

.student-club-directory-header,
.student-club-card,
.student-club-profile-panel,
.student-club-feed-header,
.student-club-feed-composer,
.student-club-feed-card,
.student-club-post-item,
.student-club-empty-state,
.student-club-form-page .contact-form,
.student-club-settings-summary,
.student-club-settings-panel,
.student-club-auth-hero {
    background: var(--sc-surface) !important;
    border: 1px solid var(--sc-line) !important;
    border-radius: var(--sc-radius) !important;
    box-shadow: var(--sc-shadow-sm) !important;
}

.student-club-directory-header {
    margin-bottom: 20px;
    padding: 26px 28px !important;
}

.student-club-directory-header h2,
.student-club-feed-header h2,
.student-club-auth-hero h2 {
    color: var(--sc-primary-dark) !important;
    font-size: 32px !important;
}

.student-club-directory-header p,
.student-club-auth-hero p,
.student-club-card-body p,
.student-club-profile-body p,
.student-club-feed-card .student-club-post-main p {
    color: var(--sc-muted) !important;
    font-size: 14.5px !important;
    line-height: 1.55 !important;
}

.student-club-eyebrow {
    color: var(--sc-accent-dark) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

.student-club-profile-layout {
    grid-template-columns: 320px minmax(0, 1fr) !important;
}

.student-club-profile-cover,
.student-club-card-cover,
.student-club-settings-cover {
    background: linear-gradient(120deg, var(--sc-primary) 0%, var(--sc-accent) 100%) !important;
}

.student-club-profile-avatar,
.student-club-avatar,
.student-club-feed-avatar,
.student-club-settings-avatar {
    border: 4px solid #ffffff !important;
    box-shadow: var(--sc-shadow-sm) !important;
    object-fit: cover !important;
}

.student-club-badge {
    background: var(--sc-success-soft) !important;
    border-color: var(--sc-success-soft) !important;
    color: var(--sc-success) !important;
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 11px !important;
}

.student-club-secondary-link,
.student-club-link-button,
.student-club-page .btn-secondary,
.student-club-page .btn-style-two {
    background: var(--sc-surface) !important;
    border: 1px solid var(--sc-line) !important;
    border-radius: 10px !important;
    color: var(--sc-ink) !important;
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
}

.student-club-link-button,
.student-club-page .theme-btn,
.student-club-page .btn-style-one,
.student-club-comment-form button,
.student-club-reply-form button {
    background: var(--sc-accent) !important;
    border-color: var(--sc-accent) !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 16px rgba(232, 83, 46, 0.22) !important;
    color: #ffffff !important;
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
}

.student-club-link-button:hover,
.student-club-page .theme-btn:hover,
.student-club-page .btn-style-one:hover,
.student-club-comment-form button:hover,
.student-club-reply-form button:hover {
    background: var(--sc-accent-dark) !important;
    border-color: var(--sc-accent-dark) !important;
}

.student-club-feed-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 18px 20px !important;
}

.student-club-feed-card {
    border-left: 5px solid var(--sc-accent) !important;
    display: block !important;
    position: relative;
}

.student-club-feed-card:nth-child(3n+2) {
    border-left-color: var(--sc-primary) !important;
}

.student-club-feed-card:nth-child(3n+3) {
    border-left-color: var(--sc-success) !important;
}

.student-club-feed-card-header {
    padding: 18px 20px 10px !important;
}

.student-club-feed-card .student-club-post-main {
    padding: 0 20px 14px !important;
}

.student-club-feed-card .student-club-post-main h3 {
    color: var(--sc-ink) !important;
    font-size: 19px !important;
    margin-bottom: 6px !important;
}

.student-club-post-image {
    border: 0 !important;
    border-radius: 12px !important;
    max-height: 280px;
    object-fit: cover;
}

.student-club-comments-section {
    border-top: 1px dashed var(--sc-line) !important;
}

.student-club-comment-form input,
.student-club-reply-form input,
.student-club-page input,
.student-club-page textarea,
.student-club-page select {
    background: var(--sc-surface-alt) !important;
    border: 1px solid var(--sc-line) !important;
    border-radius: 10px !important;
    color: var(--sc-ink) !important;
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 14px !important;
}

.student-club-comment-form input,
.student-club-reply-form input {
    border-radius: 24px !important;
}

.student-club-comment-item,
.student-club-reply-item {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.student-club-comment-item > div,
.student-club-reply-item > div {
    background: var(--sc-surface-alt);
    border-radius: 14px;
    padding: 9px 13px;
}

.student-club-comment-author {
    color: var(--sc-ink) !important;
    font-size: 12.5px !important;
}

.student-club-comment-text {
    color: var(--sc-ink) !important;
    font-size: 13.5px !important;
}

.student-club-comment-date,
.student-club-comment-tools span {
    color: var(--sc-faint) !important;
    font-size: 12px !important;
}

.btn-toggle-comments,
.btn-toggle-reply {
    color: var(--sc-faint) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

.btn-toggle-comments:hover,
.btn-toggle-reply:hover {
    color: var(--sc-primary) !important;
}

.student-club-replies-list {
    margin-left: 42px !important;
}

.student-club-dashboard-header {
    background: linear-gradient(120deg, #3b2455 0%, var(--sc-primary) 100%) !important;
    border-radius: var(--sc-radius) !important;
    color: #ffffff !important;
    padding: 26px 28px !important;
}

.student-club-dashboard-copy h3 {
    color: #ffffff !important;
    font-size: 32px !important;
    margin: 8px 0 4px !important;
}

.student-club-dashboard-copy p,
.student-club-dashboard-header .student-club-eyebrow {
    color: #d8cceb !important;
}

.student-club-post-item {
    border: 1px solid var(--sc-line) !important;
    border-left: 5px solid var(--sc-accent) !important;
    border-radius: var(--sc-radius) !important;
    box-shadow: var(--sc-shadow-sm) !important;
    padding: 18px 20px !important;
}

.student-club-post-item:nth-child(3n+2) {
    border-left-color: var(--sc-primary) !important;
}

.student-club-post-item:nth-child(3n+3) {
    border-left-color: var(--sc-success) !important;
}

.student-club-row-actions .btn-primary {
    background: var(--sc-primary) !important;
    border-color: var(--sc-primary) !important;
}

.student-club-row-actions .btn-danger,
.student-club-page .btn-style-danger {
    background: var(--sc-accent-dark) !important;
    border-color: var(--sc-accent-dark) !important;
}

.student-club-form-page .contact-form,
.student-club-auth-card,
.student-club-settings-panel {
    padding: 28px !important;
}

.student-club-form-page .sec-title h2 {
    color: var(--sc-primary-dark) !important;
    font-size: 32px !important;
}

.student-club-auth-page {
    min-height: calc(100vh - 68px);
}

.student-club-auth-hero {
    max-width: 720px;
    padding: 28px !important;
}

.student-club-auth-card-title {
    background: var(--sc-surface-alt) !important;
    border: 1px solid var(--sc-line) !important;
    border-radius: 12px !important;
}

.student-club-current-image {
    background: var(--sc-surface-alt);
    border: 1px dashed var(--sc-line);
    border-radius: 12px;
    padding: 14px;
}

.student-club-standalone-footer {
    background: var(--sc-primary-dark) !important;
}

@media (max-width: 920px) {
    .student-club-appbar,
    .student-club-appbar-left,
    .student-club-appbar-right {
        align-items: flex-start;
        flex-direction: column;
    }

    .student-club-topnav,
    .student-club-appbar-right {
        width: 100%;
    }

    .student-club-appbar-right {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .page-title .auto-container,
    .student-club-profile-layout {
        display: block;
    }
}

/* Organized nested replies */
.student-club-comments-list {
    gap: 16px !important;
}

.student-club-comment-item {
    align-items: flex-start !important;
    display: grid !important;
    gap: 10px !important;
    grid-template-columns: 36px minmax(0, 1fr) !important;
}

.student-club-comment-item > div {
    max-width: 100%;
}

.student-club-comment-tools {
    margin-top: 9px !important;
}

.student-club-replies-list {
    border-left: 2px solid var(--sc-line) !important;
    display: grid !important;
    gap: 10px !important;
    margin: 12px 0 0 14px !important;
    padding-left: 14px !important;
    position: relative;
}

.student-club-reply-item {
    align-items: flex-start !important;
    display: grid !important;
    gap: 9px !important;
    grid-template-columns: 30px minmax(0, 1fr) !important;
    margin: 0 !important;
    max-width: 620px;
    overflow: visible !important;
    position: relative;
}

.student-club-reply-item::before {
    background: var(--sc-line);
    content: "";
    height: 2px;
    left: -14px;
    position: absolute;
    top: 15px;
    width: 10px;
}

.student-club-reply-item > div {
    background: #ffffff !important;
    border: 1px solid var(--sc-line) !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 2px rgba(36, 21, 49, 0.04);
    padding: 8px 11px !important;
}

.student-club-reply-item .student-club-comment-author,
.student-club-reply-item .student-club-comment-text,
.student-club-reply-item .student-club-comment-date {
    line-height: 1.35 !important;
}

.student-club-reply-item .student-club-comment-date {
    margin-top: 5px !important;
}

@media (max-width: 767px) {
    .student-club-replies-list {
        margin-left: 8px !important;
        padding-left: 10px !important;
    }

    .student-club-reply-item {
        max-width: 100%;
    }
}

