.portal-branded-page .portal-header {
    border-bottom: 3px solid var(--portal-primary, #1a4d8f);
}
.portal-hero {
    background: linear-gradient(135deg, var(--portal-primary, #1a4d8f) 0%, color-mix(in srgb, var(--portal-primary) 70%, #000) 100%);
    color: #fff;
    padding: 3rem 0 3.5rem;
}
.portal-hero-inner {
    text-align: left;
}
.portal-hero-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}
.portal-hero-logo {
    max-height: 72px;
    max-width: 200px;
    object-fit: contain;
    margin: 0 0 1rem;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}
.portal-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0 0 0.5rem;
    color: #fff;
}
.portal-tagline {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 0 0 1rem;
}
.portal-hero-text {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0 0 1.5rem;
}
.portal-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
    margin-bottom: 1rem;
}
.portal-status-open {
    margin: 0;
    font-size: 0.9rem;
}
.btn-portal-primary {
    background: var(--portal-accent, #0d9488);
    color: #fff;
    border: none;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}
.btn-portal-primary:hover {
    filter: brightness(1.08);
    color: #fff;
}
.btn-portal-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.7);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
}
.btn-portal-outline:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}
.portal-section {
    padding: 2.5rem 0;
}
.portal-section h2 {
    font-size: 1.35rem;
    margin: 0 0 1.25rem;
    text-align: left;
}

.portal-section .public-container > h2 {
    text-align: center;
}
.portal-section-muted {
    background: var(--bg-muted, #f4f6f8);
}
.portal-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}
.portal-step {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 12px;
    padding: 1.25rem;
    border-top: 4px solid var(--portal-primary, #1a4d8f);
}
.portal-step strong {
    display: block;
    margin-bottom: 0.5rem;
}
.portal-step p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}
