/**
 * Creative Page Design for Page ID 16140
 * Beautiful design with Blue, Red, and Yellow colors (Flat Colors Only)
 */

/* ========================================
   CSS Variables - Flat Colors
   ======================================== */
:root {
    --creative-blue: #3b82f6;
    --creative-blue-dark: #1e40af;
    --creative-blue-light: #60a5fa;
    --creative-red: #ef4444;
    --creative-red-dark: #dc2626;
    --creative-red-light: #f87171;
    --creative-yellow: #fbbf24;
    --creative-yellow-dark: #f59e0b;
    --creative-yellow-light: #fcd34d;
    --creative-bg: #f8fafc;
    --creative-text: #1e293b;
    --creative-text-light: #64748b;
}

/* ========================================
   Hero Section - Clean Flat Design
   ======================================== */
.page-hero-section {
    position: relative;
    padding: calc(72px + 2.5rem) 0 2.5rem;
    background: var(--creative-blue);
    overflow: hidden;
}

.page-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero-section .container {
    position: relative;
    z-index: 1;
}

/* Breadcrumb - Clean Flat Style */
.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.page-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-breadcrumb a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.page-breadcrumb .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    padding: 0 0.25rem;
}

.page-breadcrumb .breadcrumb-current {
    color: #fff;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 8px;
}

/* ========================================
   Content Section - Creative Design
   ======================================== */
.page-content-section {
    padding: 4rem 0;
    background: var(--creative-bg);
    position: relative;
    overflow: hidden;
}

.page-content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--creative-blue);
}

.page-content-wrapper {
    background: #fff;
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 20px 40px -10px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}

.page-content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--creative-blue);
}

/* Header - Creative Style */
.page-header-modern {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.page-header-modern::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--creative-blue);
}

.page-title-modern {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--creative-blue);
    margin: 0 0 0.75rem 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-updated {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--creative-text-light);
    margin: 0;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 8px;
    border-left: 3px solid var(--creative-blue);
}

.page-updated svg {
    width: 14px;
    height: 14px;
    color: var(--creative-blue);
}

/* Content - Creative Typography */
.page-content-modern {
    color: var(--creative-text);
    line-height: 1.8;
    font-size: 1rem;
}

.page-content-modern > *:first-child {
    margin-top: 0;
}

.page-content-modern > *:last-child {
    margin-bottom: 0;
}

/* Headings with Flat Color Accents */
.page-content-modern h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--creative-blue);
    margin: 2.5rem 0 1rem;
    padding: 1rem 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--creative-blue);
    border-radius: 8px;
    position: relative;
}

.page-content-modern h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--creative-red);
    margin: 2rem 0 0.875rem;
    padding-left: 1rem;
    border-left: 3px solid var(--creative-red);
}

.page-content-modern h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--creative-yellow-dark);
    margin: 1.5rem 0 0.75rem;
    padding-left: 0.875rem;
    border-left: 3px solid var(--creative-yellow);
}

/* Paragraphs */
.page-content-modern p {
    margin-bottom: 1.25rem;
    color: var(--creative-text);
    line-height: 1.8;
}

/* Lists with Colorful Markers */
.page-content-modern ul,
.page-content-modern ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.page-content-modern li {
    margin-bottom: 0.75rem;
    color: var(--creative-text);
    line-height: 1.8;
}

.page-content-modern ul li {
    list-style-type: none;
    position: relative;
    padding-left: 1.5rem;
}

.page-content-modern ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--creative-blue);
    font-weight: 700;
    font-size: 1.2em;
}

.page-content-modern ul li:nth-child(2n)::before {
    color: var(--creative-red);
}

.page-content-modern ul li:nth-child(3n)::before {
    color: var(--creative-yellow);
}

/* Links */
.page-content-modern a {
    color: var(--creative-blue);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    padding: 0 2px;
}

.page-content-modern a:hover {
    color: var(--creative-red);
    border-bottom-color: var(--creative-red);
    background: rgba(239, 68, 68, 0.1);
}

/* Images */
.page-content-modern img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--creative-blue);
}

/* Blockquotes */
.page-content-modern blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: rgba(59, 130, 246, 0.08);
    border-left: 4px solid var(--creative-blue);
    border-radius: 12px;
    font-style: italic;
    color: var(--creative-text);
    position: relative;
}

.page-content-modern blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--creative-blue);
    opacity: 0.2;
    font-family: serif;
}

/* Tables */
.page-content-modern table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.page-content-modern table th {
    background: var(--creative-blue);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #fff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.page-content-modern table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    color: var(--creative-text);
}

.page-content-modern table tr:last-child td {
    border-bottom: none;
}

.page-content-modern table tr:hover {
    background: rgba(59, 130, 246, 0.05);
}

.page-content-modern table tr:nth-child(even) {
    background: rgba(251, 191, 36, 0.08);
}

.page-content-modern table tr:nth-child(3n) {
    background: rgba(239, 68, 68, 0.05);
}

/* Code */
.page-content-modern code {
    background: rgba(59, 130, 246, 0.1);
    color: var(--creative-blue);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
    border-left: 2px solid var(--creative-blue);
}

.page-content-modern pre {
    background: rgba(30, 41, 59, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 2rem 0;
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-left: 4px solid var(--creative-blue);
}

.page-content-modern pre code {
    background: transparent;
    padding: 0;
    color: var(--creative-text);
    border: none;
}

/* Horizontal Rules */
.page-content-modern hr {
    border: none;
    height: 3px;
    background: var(--creative-blue);
    margin: 2.5rem 0;
    border-radius: 2px;
}

/* ========================================
   Creative Elements
   ======================================== */

/* Decorative Shapes */
.page-content-wrapper::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Colorful Badges */
.page-content-modern strong {
    color: var(--creative-blue);
    font-weight: 700;
    padding: 0 2px;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .page-hero-section {
        padding: calc(72px + 2rem) 0 2rem;
    }
    
    .page-content-section {
        padding: 2rem 0;
    }
    
    .page-content-wrapper {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .page-title-modern {
        font-size: 1.75rem;
    }
    
    .page-content-modern h2 {
        font-size: 1.5rem;
        padding: 0.875rem 1.25rem;
    }
    
    .page-content-modern h3 {
        font-size: 1.25rem;
    }
    
    .page-content-modern h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .page-content-wrapper {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }
    
    .page-title-modern {
        font-size: 1.5rem;
    }
    
    .page-header-modern {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .page-content-modern {
        font-size: 0.95rem;
    }
}

/* ========================================
   Animations
   ======================================== */
.page-content-wrapper {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-title-modern {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
