/* Content Page Template Styles */

/* Full width reset */
.page-template-template-content-page .site-content,
.page-template-template-content-page .content-area,
.page-template-template-content-page #primary {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

.content-page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.content-hero {
    background: linear-gradient(135deg, #0A0E27 0%, #1a1f3a 100%);
    padding: 120px 40px 80px 40px;
    position: relative;
    overflow: hidden;
}

.content-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.content-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.content-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.content-hero-title {
    font-size: 3rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 24px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.content-hero-subtitle {
    font-size: 1.25rem;
    color: #B8BCC8;
    line-height: 1.6;
    margin: 0 0 32px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.content-hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.content-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #B8BCC8;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.meta-icon {
    width: 16px;
    height: 16px;
    color: #00D9FF;
}

/* Main Content Section */
.content-main {
    flex: 1;
    padding: 80px 40px;
    background: #ffffff;
}

.content-main-container {
    max-width: 1200px;
    margin: 0 auto;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}

.content-body {
    background: #ffffff;
    line-height: 1.7;
}

/* Content Typography */
.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4,
.content-body h5,
.content-body h6 {
    color: #0A0E27;
    font-weight: 500;
    margin: 2em 0 1em 0;
    line-height: 1.3;
}

.content-body h1:first-child,
.content-body h2:first-child,
.content-body h3:first-child {
    margin-top: 0;
}

.content-body h1 { font-size: 2.5rem; }
.content-body h2 { font-size: 2rem; }
.content-body h3 { font-size: 1.5rem; }
.content-body h4 { font-size: 1.25rem; }
.content-body h5 { font-size: 1.125rem; }
.content-body h6 { font-size: 1rem; }

.content-body p {
    color: #64748B;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 1.5em 0;
}

.content-body ul,
.content-body ol {
    color: #64748B;
    margin: 0 0 1.5em 0;
    padding-left: 2em;
}

.content-body li {
    margin-bottom: 0.5em;
    line-height: 1.6;
}

.content-body a {
    color: #00D9FF;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 217, 255, 0.3);
    transition: all 0.3s ease;
}

.content-body a:hover {
    color: #34C771;
    border-bottom-color: #34C771;
}

.content-body strong {
    color: #0A0E27;
    font-weight: 500;
}

.content-body blockquote {
    background: #F8FAFC;
    border-left: 4px solid #00D9FF;
    padding: 24px;
    margin: 2em 0;
    border-radius: 8px;
    font-style: italic;
    color: #64748B;
}

.content-body code {
    background: #F1F5F9;
    color: #0A0E27;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.875em;
}

.content-body pre {
    background: #0A0E27;
    color: #ffffff;
    padding: 24px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2em 0;
}

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

/* Sidebar */
.content-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #F8FAFC;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    border: 1px solid #E2E8F0;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #0A0E27;
    margin: 0 0 16px 0;
}

.widget-text {
    font-size: 0.875rem;
    color: #64748B;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.widget-btn {
    display: inline-block;
    background: #00D9FF;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.widget-btn:hover {
    background: #34C771;
    transform: translateY(-2px);
}

.widget-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-links li {
    margin-bottom: 12px;
}

.widget-links li:last-child {
    margin-bottom: 0;
}

.widget-links a {
    color: #64748B;
    text-decoration: none;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.widget-links a:hover {
    color: #00D9FF;
}

.widget-links a::before {
    content: '→';
    margin-right: 8px;
    color: #00D9FF;
    font-weight: bold;
}

/* CTA Section */
.content-cta {
    background: linear-gradient(135deg, #00D9FF, #34C771);
    padding: 80px 40px;
}

.content-cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.content-cta-title {
    font-size: 2.5rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 24px 0;
}

.content-cta-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 40px;
}

.content-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.content-cta-btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.content-cta-btn-primary {
    background: #ffffff;
    color: #0A0E27;
}

.content-cta-btn-primary:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.content-cta-btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.content-cta-btn-secondary:hover {
    background: #ffffff;
    color: #0A0E27;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .content-sidebar {
        position: static;
        order: -1;
    }
    
    .sidebar-widget {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .content-hero {
        padding: 80px 20px 60px 20px;
    }
    
    .content-hero-title {
        font-size: 2rem;
    }
    
    .content-hero-subtitle {
        font-size: 1.125rem;
    }
    
    .content-main {
        padding: 60px 20px;
    }
    
    .content-cta {
        padding: 60px 20px;
    }
    
    .content-cta-title {
        font-size: 2rem;
    }
    
    .content-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .content-cta-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .content-body h1 { font-size: 2rem; }
    .content-body h2 { font-size: 1.75rem; }
    .content-body h3 { font-size: 1.375rem; }
}

@media (max-width: 480px) {
    .content-hero-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .sidebar-widget {
        padding: 20px;
        margin-bottom: 20px;
    }
}
