/* ================================================
   SUBPAGES - STANDARDIZED LAYOUT SYSTEM
   "Masculine Wellness" Design System Extension
   ================================================ */

/* --- Standard Hero Section --- */
.page-hero {
    background: var(--bg-gradient-dark);
    color: var(--text-inverse);
    padding: var(--space-3xl) 0 var(--space-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
    /* Offset for fixed header */
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    margin-bottom: var(--space-md);
    font-weight: var(--weight-medium);
    line-height: 1.1;
    color: var(--text-inverse);
    letter-spacing: -0.02em;
}

.page-hero .subtitle,
.page-subtitle {
    font-size: 1.25rem;
    color: var(--gray-300);
    max-width: 800px;
    margin: 0 auto;
    font-weight: var(--weight-normal);
    line-height: 1.6;
}

/* --- Content Sections --- */
.content-section {
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
}

.content-section:nth-child(even) {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
}

.section-label {
    display: inline-block;
    background: var(--forest-deep);
    color: var(--text-inverse);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--slate-dark);
    margin-bottom: var(--space-sm);
    font-weight: var(--weight-normal);
}

.section-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Cards & Containers --- */
.bio-card,
.info-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.bio-card:hover,
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-300);
}

.bio-card h3,
.info-card h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--slate-dark);
    margin-top: 0;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--gray-100);
}

.bio-card h4,
.info-card h4 {
    font-size: 1.25rem;
    color: var(--steel-blue);
    margin: var(--space-lg) 0 var(--space-sm);
    font-weight: var(--weight-bold);
}

.bio-card p,
.info-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

/* --- Lists --- */
.standard-list,
.bio-list {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0;
}

.standard-list li,
.bio-list li {
    padding: var(--space-sm) 0 var(--space-sm) var(--space-lg);
    position: relative;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--gray-100);
}

.standard-list li:last-child,
.bio-list li:last-child {
    border-bottom: none;
}

.standard-list li:before,
.bio-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--bronze);
    font-weight: var(--weight-bold);
    font-size: 1.2rem;
}

.standard-list strong,
.bio-list strong {
    color: var(--slate-dark);
    font-weight: var(--weight-bold);
}

/* --- Alert Boxes --- */
.warning-box,
.info-box,
.success-box,
.process-flow {
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
    border-radius: var(--radius-md);
    border-left: 4px solid;
}

.warning-box {
    background: linear-gradient(to right, rgba(212, 106, 67, 0.08), transparent);
    border-color: var(--burnt-sienna);
}

.warning-box h4 {
    color: var(--burnt-sienna) !important;
    margin-top: 0 !important;
}

.info-box {
    background: linear-gradient(to right, rgba(74, 111, 165, 0.08), transparent);
    border-color: var(--steel-blue);
}

.info-box h4 {
    color: var(--steel-blue) !important;
    margin-top: 0 !important;
}

.success-box {
    background: linear-gradient(to right, rgba(107, 142, 117, 0.08), transparent);
    border-color: var(--sage);
}

.success-box h4 {
    color: var(--forest-deep) !important;
    margin-top: 0 !important;
}

/* --- Process Flow (Steps) --- */
.process-flow {
    background: var(--bg-gradient-dark);
    border: none;
    color: var(--text-inverse);
    box-shadow: var(--shadow-md);
}

.process-flow h4 {
    color: var(--deep-gold) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-md);
}

.process-step {
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    border-left: 3px solid var(--deep-gold);
}

.process-step strong {
    color: var(--deep-gold);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* --- Tables --- */
.comparison-table {
    width: 100%;
    margin: var(--space-lg) 0;
    border-collapse: collapse;
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.comparison-table thead {
    background: var(--slate-dark);
    color: var(--text-inverse);
}

.comparison-table th {
    padding: var(--space-md);
    text-align: left;
    font-weight: var(--weight-bold);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-table td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--gray-200);
    color: var(--text-secondary);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:nth-child(even) {
    background: var(--bg-secondary);
}

/* --- Timelines (Vertical) --- */
.vertical-timeline {
    position: relative;
    padding-left: 40px;
    margin: var(--space-xl) 0;
}

.vertical-timeline:before {
    content: "";
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-300);
}

.timeline-point {
    position: relative;
    padding-bottom: var(--space-lg);
}

.timeline-point:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--bg-primary);
    border: 3px solid var(--steel-blue);
    border-radius: 50%;
    z-index: 1;
}

.timeline-point h4 {
    margin: 0 0 var(--space-xs) 0;
    font-size: 1.15rem;
    color: var(--slate-dark);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.25rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .bio-card,
    .info-card {
        padding: var(--space-lg);
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: var(--space-sm);
    }
}