/* Standard Page Template Styles */

.page-content {
    min-height: 100vh;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #FAFAFA 0%, #F1F5F9 50%, #E2E8F0 100%);
}

.page-article {
    max-width: 800px;
    margin: 0 auto 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.page-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.2;
}

.page-excerpt {
    font-size: 1.125rem;
    color: #64748b;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.featured-img {
    width: 100%;
    height: auto;
    display: block;
}

.page-content-text {
    color: #475569;
    line-height: 1.8;
    font-size: 1rem;
}

.page-content-text h1,
.page-content-text h2,
.page-content-text h3,
.page-content-text h4,
.page-content-text h5,
.page-content-text h6 {
    color: #1e293b;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
}

.page-content-text h2 {
    font-size: 1.75rem;
    border-bottom: 2px solid #9f63e9;
    padding-bottom: 8px;
}

.page-content-text h3 {
    font-size: 1.5rem;
}

.page-content-text h4 {
    font-size: 1.25rem;
}

.page-content-text p {
    margin-bottom: 16px;
}

.page-content-text ul,
.page-content-text ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.page-content-text li {
    margin-bottom: 8px;
}

.page-content-text blockquote {
    background: rgba(159, 99, 233, 0.05);
    border-left: 4px solid #9f63e9;
    padding: 16px 24px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #334155;
}

.page-content-text code {
    background: rgba(15, 23, 42, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: #9f63e9;
}

.page-content-text pre {
    background: rgba(15, 23, 42, 0.95);
    color: #f1f5f9;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.page-content-text pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.page-content-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 8px;
    overflow: hidden;
}

.page-content-text th,
.page-content-text td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.page-content-text th {
    background: rgba(159, 99, 233, 0.1);
    font-weight: 600;
    color: #1e293b;
}

.page-content-text a {
    color: #9f63e9;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.page-content-text a:hover {
    color: #832ced;
    text-decoration: underline;
}

.page-links {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    text-align: center;
}

.page-link {
    display: inline-block;
    margin: 0 4px;
    padding: 8px 12px;
    background: rgba(159, 99, 233, 0.1);
    border-radius: 6px;
    color: #9f63e9;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.page-link:hover,
.page-link.current {
    background: #9f63e9;
    color: white;
}

.page-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    text-align: center;
}

.edit-link-wrapper {
    font-size: 0.875rem;
    color: #64748b;
}

.edit-link-wrapper a {
    color: #9f63e9;
    text-decoration: none;
}

.edit-link-wrapper a:hover {
    text-decoration: underline;
}

.page-cta {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    color: white;
}

.page-cta h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.page-cta p {
    font-size: 1.125rem;
    color: #cbd5e1;
    margin-bottom: 32px;
}

.page-cta .cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

@media (max-width: 768px) {
    .page-article {
        padding: 24px;
        border-radius: 16px;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .page-excerpt {
        font-size: 1rem;
    }
    
    .page-content-text {
        font-size: 0.95rem;
    }
    
    .page-cta {
        padding: 24px;
    }
    
    .page-cta .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .page-content-text table {
        font-size: 0.875rem;
    }
    
    .page-content-text th,
    .page-content-text td {
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .page-content {
        padding: 100px 0 60px;
    }
    
    .page-article {
        margin-bottom: 40px;
    }
    
    .container {
        padding: 0 16px;
    }
}