/**
 * Alumni platform - guest (not logged in) pages only.
 * Loaded via $extra_css when alumni pages use main site header/footer.
 * Scoped to .alumni-guest-page wrapper.
 */

/* ---- Layout & background ---- */
.alumni-guest-page {
    background: linear-gradient(160deg, #f8f9fc 0%, #eef0f5 50%, #e8ecf4 100%);
    min-height: calc(100vh - 180px);
    padding: 15rem 0 3rem;
}

.alumni-guest-page .container-fluid {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* ---- Page header: style first title or title row as hero strip ---- */
.alumni-guest-page .container-fluid > h4:first-child {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: 1.4rem;
    margin: -0.25rem -1.25rem 1.5rem -1.25rem !important;
    padding: 1rem 1.25rem !important;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.35);
}

.alumni-guest-page .container-fluid > .d-flex:first-child {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    margin: -0.25rem -1.25rem 1.5rem -1.25rem !important;
    padding: 1rem 1.25rem !important;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.35);
}

.alumni-guest-page .container-fluid > .d-flex:first-child h4 {
    color: #fff !important;
    margin: 0 !important;
    font-weight: 700;
    font-size: 1.4rem;
}

.alumni-guest-page .container-fluid > .d-flex:first-child .btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    border: none;
    font-weight: 600;
}

.alumni-guest-page .container-fluid > .d-flex:first-child .btn-primary:hover {
    background: #fff;
    color: #5a67d8;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

/* ---- Cards ---- */
.alumni-guest-page .card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.25rem;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.alumni-guest-page .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.alumni-guest-page .card-body {
    padding: 1.5rem 1.75rem;
}

.alumni-guest-page .card-title {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.alumni-guest-page .card-text {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* Text near icons: larger for readability */
.alumni-guest-page .card-body .card-text,
.alumni-guest-page .card-body .card-text.small,
.alumni-guest-page .card-body p.small.text-muted {
    font-size: 1.2rem !important;
}
.alumni-guest-page .text-muted.mb-3 {
    font-size: 1.2rem !important;
}
.alumni-guest-page .list-group-item p.mb-1,
.alumni-guest-page .list-group-item p.small.text-muted {
    font-size: 1.2rem !important;
}
.alumni-guest-page .card-body .card-text .fas,
.alumni-guest-page .card-body .card-text .far,
.alumni-guest-page .list-group-item p .fas,
.alumni-guest-page .list-group-item p .far,
.alumni-guest-page .text-muted.mb-3 .fas,
.alumni-guest-page .text-muted.mb-3 .far {
    font-size: 1.1em;
}

/* News/events grid cards */
.alumni-guest-page .row.g-4 .card {
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
}

.alumni-guest-page .row.g-4 .card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.alumni-guest-page .row.g-4 .card:hover .card-img-top {
    transform: scale(1.03);
}

.alumni-guest-page .row.g-4 .card .card-body {
    display: flex;
    flex-direction: column;
}

.alumni-guest-page .row.g-4 .card .card-body .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* ---- Buttons ---- */
.alumni-guest-page .btn,
.alumni-guest-page .btn-primary,
.alumni-guest-page .btn-outline-primary,
.alumni-guest-page .btn-secondary,
.alumni-guest-page .btn-outline-secondary {
    font-size: 1.15rem;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
}
.alumni-guest-page .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.alumni-guest-page .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.45);
}

.alumni-guest-page .btn-outline-primary {
    border-radius: 10px;
    border-width: 2px;
}

.alumni-guest-page .btn-outline-primary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: #fff;
}

.alumni-guest-page .btn-sm {
    font-size: 1.05rem;
    padding: 0.5rem 1.25rem;
}

/* ---- List group (jobs, directory) ---- */
.alumni-guest-page .list-group-item {
    border-radius: 14px;
    margin-bottom: 0.75rem;
    border: 1px solid #e2e8f0;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    background: #fff;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.alumni-guest-page .list-group-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e0;
}

.alumni-guest-page .list-group-item h5 {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.35rem;
}

/* ---- Alerts ---- */
.alumni-guest-page .alert {
    border-radius: 14px;
    border: none;
    padding: 1rem 1.25rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.alumni-guest-page .alert-success {
    background: linear-gradient(135deg, #c6f6d5 0%, #9ae6b4 100%);
    color: #22543d;
}

.alumni-guest-page .alert-danger {
    background: linear-gradient(135deg, #fed7d7 0%, #feb2b2 100%);
    color: #742a2a;
}

/* ---- Forms (contact, directory filters) ---- */
.alumni-guest-page .form-control,
.alumni-guest-page .form-select {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 0.6rem 1rem;
}

.alumni-guest-page .form-control:focus,
.alumni-guest-page .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.alumni-guest-page .form-label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.35rem;
}

/* ---- Gallery / page header block ---- */
.alumni-guest-page .alumni-page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.35);
}

.alumni-guest-page .alumni-page-header .page-title h3,
.alumni-guest-page .alumni-page-header .page-title .breadcrumb-item {
    color: #fff;
}

.alumni-guest-page .alumni-page-header .page-title h3 {
    font-weight: 700;
    margin: 0;
    font-size: 1.35rem;
}

.alumni-guest-page .alumni-page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.95);
}

.alumni-guest-page .alumni-page-header .breadcrumb-item.active {
    color: #fff;
    font-weight: 600;
}

/* Gallery overlay year text */
.alumni-guest-page .position-absolute.bottom-0 .text-white.small {
    font-size: 1.15rem !important;
}

/* ---- Empty state ---- */
.alumni-guest-page .text-muted {
    text-align: center;
    padding: 2rem 1rem;
    font-size: 1.05rem;
}

/* ---- Article / single page content ---- */
.alumni-guest-page .content {
    line-height: 1.75;
    color: #4a5568;
}

.alumni-guest-page .content p {
    margin-bottom: 1rem;
}

.alumni-guest-page .img-fluid.rounded {
    border-radius: 14px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
