/*
 * Alpine Style - Simple Page Template CSS
 * =======================================
 * Clean and minimal styles for content pages
 * Perfect for Terms of Service, Privacy Policy, About, etc.
 */

/* ==========================================================================
   Base Simple Page Layout
   ========================================================================== */

   body.page-template-template-simple-page #content {
    padding: 0;
}

.simple-page-main {
    padding-top: 0;
}

/* ==========================================================================
   Simple Page Header
   ========================================================================== */

.simple-page-header {
    padding: 60px 0 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    position: relative;
}

.simple-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
li.breadcrumb-item:first-child + .breadcrumb-item.active:before {
    display: none !important;
}
/* Breadcrumbs */
.page-breadcrumbs {
    margin-bottom: 30px;
}

.breadcrumb-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #6c757d;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin: 0 12px;
    color: #adb5bd;
    font-weight: 300;
}

.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #e0192e;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #495057;
    font-weight: 500;
}

/* Page Title */
.page-hero-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: #1B1B1B;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.page-hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

/* ==========================================================================
   Page Content Section
   ========================================================================== */

.simple-page-content {
    padding: 60px 0 80px 0;
    background: #fff;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.simple-page-article {
    background: #fff;
}

/* Content Typography */
.page-content-text {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.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: #1B1B1B;
    font-weight: 600;
    margin: 40px 0 20px 0;
    line-height: 1.3;
}

.page-content-text h1 {
    font-size: 32px;
    border-bottom: 2px solid #e0192e;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.page-content-text h2 {
    font-size: 28px;
    color: #e0192e;
}

.page-content-text h3 {
    font-size: 24px;
}

.page-content-text h4 {
    font-size: 20px;
}

.page-content-text h5 {
    font-size: 18px;
}

.page-content-text h6 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.page-content-text p {
    margin: 0 0 20px 0;
    color: #333;
}

.page-content-text ul,
.page-content-text ol {
    margin: 20px 0;
    padding-right: 20px;
    color: #333;
}

.page-content-text li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.page-content-text ul li {
    list-style-type: disc;
}

.page-content-text ol li {
    list-style-type: decimal;
}

.page-content-text blockquote {
    background: #f8f9fa;
    border-right: 4px solid #e0192e;
    margin: 30px 0;
    padding: 20px 25px;
    font-style: italic;
    color: #495057;
    border-radius: 0 8px 8px 0;
}

.page-content-text blockquote p:last-child {
    margin-bottom: 0;
}

.page-content-text a {
    color: #e0192e;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.page-content-text a:hover {
    color: #c01729;
    text-decoration: none;
}

.page-content-text strong {
    font-weight: 600;
    color: #1B1B1B;
}

.page-content-text em {
    font-style: italic;
}

.page-content-text code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #e0192e;
}

.page-content-text pre {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid #dee2e6;
}

.page-content-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.page-content-text th,
.page-content-text td {
    padding: 12px 15px;
    text-align: right;
    border-bottom: 1px solid #dee2e6;
}

.page-content-text th {
    background: #f8f9fa;
    font-weight: 600;
    color: #1B1B1B;
}

.page-content-text tr:hover {
    background: #f8f9fa;
}

/* Page Links (for paginated content) */
.page-links {
    margin: 40px 0;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.page-links a {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background: #f8f9fa;
    color: #1B1B1B;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-links a:hover {
    background: #e0192e;
    color: #fff;
}

/* ==========================================================================
   Page Meta (Last Updated)
   ========================================================================== */

.page-meta {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #dee2e6;
    text-align: center;
}

.last-updated {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
    font-style: italic;
}

.last-updated i {
    margin-left: 8px;
    color: #e0192e;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.page-contact-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f8f9fa;
}

.contact-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e0192e, #c01729);
}

.contact-card:hover {
    border-color: #e0192e;
    box-shadow: 0 8px 25px rgba(224, 25, 46, 0.1);
    transform: translateY(-2px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e0192e, #c01729);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: #fff;
}

.contact-title {
    font-size: 24px;
    font-weight: 700;
    color: #1B1B1B;
    margin: 0 0 15px 0;
}

.contact-text {
    font-size: 16px;
    color: #6c757d;
    margin: 0 0 25px 0;
    line-height: 1.6;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e0192e, #c01729);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(224, 25, 46, 0.2);
}

.contact-button:hover {
    background: linear-gradient(135deg, #c01729, #a0152a);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(224, 25, 46, 0.3);
    color: #fff;
    text-decoration: none;
}

.contact-button i {
    font-size: 14px;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 991px) {
    .simple-page-header {
        padding: 40px 0 30px 0;
    }
    
    .simple-page-content {
        padding: 40px 0 60px 0;
    }
    
    .content-wrapper {
        padding: 0 20px;
    }
    
    .page-hero-title {
        font-size: clamp(28px, 4.5vw, 40px);
    }
    
    .page-hero-subtitle {
        font-size: clamp(15px, 2.2vw, 18px);
    }
    
    .page-content-text {
        font-size: 15px;
    }
    
    .page-content-text h1 {
        font-size: 28px;
    }
    
    .page-content-text h2 {
        font-size: 24px;
    }
    
    .page-content-text h3 {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .simple-page-header {
        padding: 30px 0 25px 0;
    }
    
    .simple-page-content {
        padding: 30px 0 50px 0;
    }
    
    .content-wrapper {
        padding: 0 15px;
    }
    
    .breadcrumb-list {
        font-size: 13px;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin: 0 8px;
    }
    
    .page-hero-title {
        font-size: clamp(24px, 4vw, 32px);
        margin-bottom: 10px;
    }
    
    .page-hero-subtitle {
        font-size: clamp(14px, 2vw, 16px);
    }
    
    .page-content-text {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .page-content-text h1 {
        font-size: 24px;
        margin: 30px 0 15px 0;
    }
    
    .page-content-text h2 {
        font-size: 20px;
        margin: 25px 0 15px 0;
    }
    
    .page-content-text h3 {
        font-size: 18px;
        margin: 20px 0 12px 0;
    }
    
    .page-content-text ul,
    .page-content-text ol {
        padding-right: 15px;
    }
    
    .page-content-text blockquote {
        margin: 20px 0;
        padding: 15px 20px;
    }
    
    .page-content-text table {
        font-size: 13px;
    }
    
    .page-content-text th,
    .page-content-text td {
        padding: 8px 10px;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .contact-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .contact-text {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .contact-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .page-meta {
        margin-top: 40px;
        padding-top: 25px;
    }
}

@media (max-width: 575px) {
    .simple-page-header {
        padding: 25px 0 20px 0;
    }
    
    .simple-page-content {
        padding: 25px 0 40px 0;
    }
    
    .breadcrumb-list {
        flex-direction: column;
        gap: 5px;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        display: none;
    }
    
    .page-hero-title {
        font-size: clamp(22px, 3.5vw, 28px);
    }
    
    .contact-card {
        padding: 25px 15px;
    }
}

/* ==========================================================================
   RTL Support
   ========================================================================== */

[dir="rtl"] .page-content-text ul,
[dir="rtl"] .page-content-text ol {
    padding-right: 0;
    padding-left: 20px;
}

[dir="rtl"] .page-content-text blockquote {
    border-right: none;
    border-left: 4px solid #e0192e;
    border-radius: 8px 0 0 8px;
}

[dir="rtl"] .page-content-text th,
[dir="rtl"] .page-content-text td {
    text-align: left;
}

[dir="rtl"] .contact-button i {
    transform: scaleX(-1);
}

[dir="rtl"] .last-updated i {
    margin-left: 0;
    margin-right: 8px;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .simple-page-header {
        background: #fff !important;
        border-bottom: 2px solid #333;
        page-break-after: avoid;
    }
    
    .page-breadcrumbs {
        display: none;
    }
    
    .contact-card {
        background: #fff !important;
        border: 2px solid #333;
        box-shadow: none;
    }
    
    .contact-button {
        background: #333 !important;
        color: #fff !important;
    }
    
    .page-content-text a {
        color: #333 !important;
        text-decoration: underline;
    }
    
    .page-content-text a:after {
        content: " (" attr(href) ")";
        font-size: 12px;
        color: #666;
    }
}

/* ==========================================================================
   Accessibility Enhancements
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .contact-card {
        transition: none;
    }
    
    .contact-button {
        transition: none;
    }
    
    .contact-card:hover {
        transform: none;
    }
    
    .contact-button:hover {
        transform: none;
    }
}

.simple-page-main:focus-within .contact-button:focus,
.simple-page-main:focus-within .breadcrumb-item a:focus {
    outline: 3px solid rgba(224, 25, 46, 0.5);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .simple-page-header {
        background: #fff;
        border-bottom: 3px solid #000;
    }
    
    .page-hero-title {
        color: #000;
    }
    
    .page-content-text {
        color: #000;
    }
    
    .contact-card {
        background: #fff;
        border: 3px solid #000;
    }
} 