/* ==========================================================
   Student Corner pages: Student Council, Counseling Center,
   Mentor Mentee (tabs come from quality-portal.css)
   All classes prefixed "sc-"
   ========================================================== */

.sc-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 3px 18px rgba(0, 0, 0, .05);
    padding: 28px 32px;
    margin-bottom: 30px;
}

.sc-intro p {
    color: #444;
    font-size: 16px;
    line-height: 1.8;
}

.sc-intro p:last-child {
    margin-bottom: 0;
}

.sc-heading {
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 14px;
}

.sc-section-title {
    color: var(--primary);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 700;
    text-align: center;
    margin: 45px 0 25px;
}

/* ---------- Grids ---------- */
.sc-grid {
    display: grid;
    gap: 20px;
    margin: 20px 0;
}

.sc-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.sc-grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.sc-grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }

/* ---------- Student Council structure ---------- */
.sc-org {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 34px;
}

.sc-org-row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    width: 100%;
}

/* connector from the row above */
.sc-org-row + .sc-org-row::before {
    content: '';
    position: absolute;
    top: -34px;
    left: 50%;
    width: 3px;
    height: 34px;
    background: rgba(46, 88, 56, .25);
}

.sc-role-card {
    flex: 0 1 340px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--secondary);
    border-radius: 10px;
    padding: 22px;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}

.sc-org-row-1 .sc-role-card {
    border-top-color: var(--primary);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .07);
}

.sc-role-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
}

.sc-role-photo,
.sc-role-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 12px;
}

.sc-role-photo {
    object-fit: cover;
}

.sc-role-icon {
    background: rgba(46, 88, 56, .1);
    color: var(--primary);
    font-size: 32px;
    line-height: 72px;
}

.sc-role-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px;
}

.sc-role-card p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.sc-role-card .sc-role-name {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}

/* ---------- Dark responsibilities panel ---------- */
.sc-dark-panel {
    background: var(--primary);
    color: #fff;
    border-radius: 14px;
    padding: 36px 32px;
    margin-top: 45px;
}

.sc-dark-panel h2 {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    font-weight: 700;
    text-align: center;
    margin: 0 0 25px;
}

.sc-check-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 16px 40px;
}

.sc-check-grid li {
    display: flex;
    gap: 12px;
    font-size: 16px;
    line-height: 1.7;
}

.sc-check-grid i {
    color: #c9e4cf;
    margin-top: 3px;
}

/* ---------- Activity cards ---------- */
.sc-activity-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow .3s ease;
}

.sc-activity-card:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, .09);
}

.sc-activity-media {
    height: 180px;
    background: rgba(46, 88, 56, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 56px;
}

.sc-activity-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sc-activity-body {
    padding: 22px;
}

.sc-activity-body h3 {
    font-size: 19px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px;
}

.sc-activity-body p {
    color: #555;
    line-height: 1.75;
}

.sc-activity-body p:last-child {
    margin-bottom: 0;
}

/* ---------- Info cards (services, practices, contact) ---------- */
.sc-info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 22px;
}

.sc-info-card-outline {
    background: #fff;
    border: 2px solid rgba(46, 88, 56, .18);
}

.sc-info-card h4 {
    color: var(--primary);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
}

.sc-info-card h4 i {
    margin-right: 6px;
}

.sc-info-card p {
    margin: 0;
    font-size: 15px;
}

.sc-step {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
}

.sc-details {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 12px;
    margin: 0;
    font-size: 15px;
}

.sc-details dt {
    font-weight: 700;
    color: #1e293b;
}

.sc-details dd {
    margin: 0;
    color: #444;
}

/* ---------- Callout ---------- */
.sc-callout {
    background: rgba(46, 88, 56, .07);
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    padding: 18px 22px;
    margin: 20px 0;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.75;
}

.sc-callout-list {
    font-weight: 400;
}

.sc-callout h4 {
    color: var(--primary);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 14px;
}

/* ---------- Lists ---------- */
.sc-square-list,
.sc-dot-list,
.sc-arrow-list,
.sc-plain-list,
.sc-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sc-square-list li,
.sc-dot-list li,
.sc-arrow-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    color: #444;
    line-height: 1.7;
}

.sc-square-list li::before,
.sc-dot-list li::before,
.sc-arrow-list li::before {
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.sc-square-list li::before { content: '\25A0'; font-size: 11px; top: 4px; }
.sc-dot-list li::before { content: '\2022'; }
.sc-arrow-list li::before { content: '\2192'; }

.sc-dot-list li { font-size: 15px; }

.sc-plain-list li {
    color: #444;
    line-height: 1.7;
    margin-bottom: 10px;
}

.sc-plain-list .sc-divider {
    border-top: 1px solid #e2e8f0;
    padding-top: 12px;
    margin-top: 14px;
}

.sc-link-list li {
    padding: 12px 15px;
    background: #f4f6f8;
    border-left: 3px solid var(--primary);
    border-radius: 0 6px 6px 0;
    margin-bottom: 8px;
}

.sc-link-list a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.sc-link-list a:hover {
    text-decoration: underline;
}

/* ---------- T.R.U.S.T. ---------- */
.sc-trust {
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    padding: 28px;
    margin: 30px 0;
}

.sc-trust-head {
    text-align: center;
    margin-bottom: 22px;
}

.sc-trust-head h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px;
}

.sc-trust-head p {
    color: rgba(255, 255, 255, .8) !important;
    margin: 0;
}

.sc-trust-letters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    gap: 14px;
}

.sc-trust-item {
    background: rgba(255, 255, 255, .1);
    border-radius: 10px;
    padding: 16px 12px;
    text-align: center;
}

.sc-trust-item span {
    display: block;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 6px;
}

.sc-trust-item p {
    color: #fff !important;
    font-size: 14px;
    line-height: 1.5 !important;
    margin: 0;
}

/* ---------- Questioning ---------- */
.sc-question-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.sc-question-head {
    background: rgba(46, 88, 56, .08);
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.sc-question-head h4 {
    color: var(--primary);
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 4px;
}

.sc-question-head p {
    margin: 0;
    font-size: 14px;
    font-style: italic;
}

.sc-question-card .sc-arrow-list {
    padding: 18px 20px 8px;
}

.sc-arrow-list li {
    font-size: 15px;
}

/* ---------- Tools ---------- */
.sc-tool {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 22px 16px;
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    transition: all .25s ease;
}

.sc-tool i {
    font-size: 34px;
    color: var(--primary);
}

a.sc-tool:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
    color: var(--primary);
}

.sc-tool.is-disabled {
    opacity: .65;
}

.sc-tool small {
    color: #94a3b8;
    font-weight: 400;
}

@media (max-width: 575px) {
    .sc-card,
    .sc-dark-panel {
        padding: 20px 16px;
    }

    .sc-trust {
        padding: 20px 14px;
    }

    .sc-org-row + .sc-org-row::before {
        display: none;
    }
}
