/* /app/static/significantstories_com/css/pages.css */
/* Shared styles for site pages (about, resources, etc.) */

/* --- Coming Soon Component --- */
.coming-soon-container {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 500px;
    margin: 2rem auto;
}

.coming-soon-icon {
    margin-bottom: 1.5rem;
}

.coming-soon-icon svg {
    width: 64px;
    height: 64px;
    stroke: #95a5a6;
}

.coming-soon-title {
    font-family: var(--serif-font);
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.coming-soon-message {
    font-size: 1.1rem;
    color: #5a6a7a;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.coming-soon-message strong {
    color: #34495e;
}

.coming-soon-cta {
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 1.5rem;
}

.coming-soon-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.coming-soon-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
    text-decoration: none;
    color: white;
}

/* --- Page Header (for content pages) --- */
.page-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-family: var(--serif-font);
    font-size: 2.25rem;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.page-header .page-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin: 0;
    font-style: italic;
}

/* --- Site Page Content (Practices, etc.) --- */
.site-page-content {
    max-width: 700px;
    margin: 0 auto;
}

.site-page-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #34495e;
    margin-bottom: 1.25rem;
}

.site-page-content h2 {
    font-family: var(--serif-font);
    font-size: 1.5rem;
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.site-page-content ul {
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style: none;
}

.site-page-content ul li {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #34495e;
    margin-bottom: 0.75rem;
    padding-left: 1.25rem;
    position: relative;
}

.site-page-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    background-color: #8b7355;
    border-radius: 50%;
}

.site-page-content ul ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
}

.site-page-content ul ul li {
    font-size: 0.95rem;
    color: #5a6a7a;
    margin-bottom: 0.5rem;
}

.site-page-content ul ul li::before {
    background-color: #95a5a6;
    width: 5px;
    height: 5px;
}

.site-page-content em {
    font-style: italic;
    color: #2c3e50;
}

.site-page-content pre {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
    overflow-x: auto;
}

.site-page-content pre code {
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #34495e;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.site-page-content code {
    font-family: 'SF Mono', 'Monaco', 'Menlo', 'Consolas', monospace;
    font-size: 0.9em;
    background-color: #f8f9fa;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

/* --- About Page Styles --- */
.about-content {
    max-width: 700px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #34495e;
    margin-bottom: 1.25rem;
}

.about-content h2 {
    font-family: var(--serif-font);
    font-size: 1.5rem;
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: left;
}

/* --- 404 Page Styles --- */
.error-container {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.error-code {
    font-family: var(--serif-font);
    font-size: 6rem;
    font-weight: 700;
    color: #e0e0e0;
    margin: 0;
    line-height: 1;
}

.error-title {
    font-family: var(--serif-font);
    font-size: 1.75rem;
    color: #2c3e50;
    margin: 1rem 0;
}

.error-message {
    font-size: 1.1rem;
    color: #5a6a7a;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.error-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.error-button.primary {
    background-color: #3498db;
    color: white;
}

.error-button.primary:hover {
    background-color: #2980b9;
    text-decoration: none;
    color: white;
}

.error-button.secondary {
    background-color: #f0f3f6;
    color: #34495e;
    border: 1px solid #dcdfe4;
}

.error-button.secondary:hover {
    background-color: #e8ebed;
    text-decoration: none;
}

/* --- Practices Page Styles --- */
.practices-content {
    max-width: 900px;
    margin: 0 auto;
}

.practices-intro {
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.practices-intro p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #34495e;
    margin-bottom: 1.25rem;
}

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

.practices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.practice-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background-color: #fdfcfb;
    border: 1px solid #e8e4df;
    border-radius: 12px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.practice-card:hover {
    border-color: #d4cfc8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.practice-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f2ee;
    border-radius: 10px;
    color: #8b7355;
}

.practice-icon svg {
    width: 28px;
    height: 28px;
}

.practice-content {
    flex: 1;
    min-width: 0;
}

.practice-title {
    font-family: var(--serif-font);
    font-size: 1.15rem;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.practice-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #5a6a7a;
    margin: 0;
}

.practice-stories-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #8b7355;
    text-decoration: none;
    transition: color 0.2s ease;
}

.practice-stories-link:hover {
    color: #6b5a45;
    text-decoration: underline;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .coming-soon-container {
        padding: 2rem 1rem;
    }

    .coming-soon-icon svg {
        width: 48px;
        height: 48px;
    }

    .coming-soon-title {
        font-size: 1.75rem;
    }

    .page-header h1 {
        font-size: 1.875rem;
    }

    .error-code {
        font-size: 4rem;
    }

    .error-title {
        font-size: 1.5rem;
    }

    /* Practices grid - single column on mobile */
    .practices-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Stack icon on top for mobile */
    .practice-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.25rem;
    }

    .practice-icon {
        width: 56px;
        height: 56px;
    }

    .practice-icon svg {
        width: 32px;
        height: 32px;
    }

    .practice-title {
        font-size: 1.1rem;
    }

    .practice-description {
        font-size: 0.9rem;
    }
}
