/**
 * Page Template Styles
 * Clean page design matching Eventify theme
 */

/* Page Header */
.sc-page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.sc-page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url('data:image/svg+xml,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path d="M0 0v46.29c47.79 22.2 103.59 32.17 158 28 70.36-5.37 136.33-33.31 206.8-37.5 73.84-4.36 147.54 16.88 218.2 35.26 69.27 18 138.3 24.88 209.4 13.08 36.15-6 69.85-17.84 104.45-29.34C989.49 25 1113-14.29 1200 52.47V0z" opacity=".25" fill="%23f8f9fa"/><path d="M0 0v15.81c13 21.11 27.64 41.05 47.69 56.24C99.41 111.27 165 111 224.58 91.58c31.15-10.15 60.09-26.07 89.67-39.8 40.92-19 84.73-46 130.83-49.67 36.26-2.85 70.9 9.42 98.6 31.56 31.77 25.39 62.32 62 103.63 73 40.44 10.79 81.35-6.69 119.13-24.28s75.16-39 116.92-43.05c59.73-5.85 113.28 22.88 168.9 38.84 30.2 8.66 59 6.17 87.09-7.5 22.43-10.89 48-26.93 60.65-49.24V0z" opacity=".5" fill="%23f8f9fa"/><path d="M0 0v5.63C149.93 59 314.09 71.32 475.83 42.57c43-7.64 84.23-20.12 127.61-26.46 59-8.63 112.48 12.24 165.56 35.4C827.93 77.22 886 95.24 951.2 90c86.53-7 172.46-45.71 248.8-84.81V0z" fill="%23f8f9fa"/></svg>') no-repeat;
    background-size: cover;
}

.sc-page-title {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
}

.sc-page-title h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

/* Page Content */
.sc-page-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.sc-page-article {
    background: #fff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.sc-page-article h2,
.sc-page-article h3,
.sc-page-article h4 {
    color: #1B1E4A;
    margin: 30px 0 15px;
    font-weight: 700;
}

.sc-page-article h2 {
    font-size: 36px;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
    position: relative;
}

.sc-page-article h2::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.sc-page-article h3 {
    font-size: 28px;
}

.sc-page-article h4 {
    font-size: 22px;
}

.sc-page-article p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
    font-size: 17px;
}

.sc-page-article ul,
.sc-page-article ol {
    margin: 20px 0;
    padding-left: 30px;
    color: #666;
    line-height: 1.8;
}

.sc-page-article ul li,
.sc-page-article ol li {
    margin-bottom: 10px;
    padding-left: 10px;
}

.sc-page-article ul li::marker {
    color: #667eea;
}

.sc-page-article blockquote {
    border-left: 4px solid #667eea;
    padding: 25px 35px;
    margin: 30px 0;
    background: linear-gradient(135deg, #667eea05, #764ba205);
    border-radius: 0 15px 15px 0;
    font-style: italic;
    color: #666;
    position: relative;
}

.sc-page-article blockquote::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #667eea;
    opacity: 0.2;
}

.sc-page-article img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.sc-page-article a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.sc-page-article a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.sc-page-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sc-page-article table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.sc-page-article table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.sc-page-article table tr:last-child td {
    border-bottom: none;
}

/* Featured Image */
.sc-page-featured-image {
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.sc-page-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Page Sidebar */
.sc-page-sidebar .sc-sidebar-widget {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.sc-page-sidebar .sc-widget-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
    color: #1B1E4A;
    position: relative;
}

.sc-page-sidebar .sc-widget-title::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

/* Responsive */
@media (max-width: 991px) {
    .sc-page-header {
        padding: 80px 0 50px;
    }

    .sc-page-title h1 {
        font-size: 36px;
    }

    .sc-page-article {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .sc-page-header {
        padding: 60px 0 40px;
    }

    .sc-page-title h1 {
        font-size: 28px;
    }

    .sc-page-content {
        padding: 50px 0;
    }

    .sc-page-article {
        padding: 25px 20px;
    }

    .sc-page-article h2 {
        font-size: 28px;
    }

    .sc-page-article h3 {
        font-size: 24px;
    }

    .sc-page-article h4 {
        font-size: 20px;
    }

    .sc-page-article p {
        font-size: 16px;
    }
}
