.hero-image-container {
    position: relative;
    /*width: 100vw;*/
    height: 50vh;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-image-desktop {
    display: block;
}

.hero-image-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hero-image-desktop {
        display: none;
    }
    .hero-image-mobile {
        display: block;
    }
    
    .hero-image-container {
        height: 60vh;
    }
}

/* Featured Image Styles */
.page-featured-image-container {
    width: 100%;
    height: 50vh;
    max-height: 500px;
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Remove the old featured image styles */
.page-featured-image {
    display: none;
}


/* Static Page Styles */
.static-page-content {
    
    min-height: 60vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.static-page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.page-title {
    font-weight: 700;
    margin:0px;
    color: #2c3e50;
}

.page-title.ar {
    
    direction: rtl;
}

.page-featured-image {
    margin: 30px 0;
}

.page-featured-image img {
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    width: auto;
    margin: 0 auto;
    display: block;
}

.static-page-body {
    max-width: 800px;
    margin: 0 auto;
}

.static-page-body.ar {
    direction: rtl;
    text-align: right;
}

.page-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #34495e;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #2c3e50;
}

.page-content h1 {
    font-size: 2rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

.page-content h2 {
    font-size: 1.75rem;
    color: #34495e;
}

.page-content h3 {
    font-size: 1.5rem;
}

.page-content h4 {
    font-size: 1.25rem;
}

.page-content p {
    margin-bottom: 1.5rem;
}

.page-content ul,
.page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.page-content.ar ul,
.page-content.ar ol {
    padding-right: 2rem;
    padding-left: 0;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content a {
    color: #3498db;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.page-content a:hover {
    border-bottom-color: #3498db;
}

.page-content blockquote {
    border-left: 4px solid #3498db;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #7f8c8d;
}

.page-content.ar blockquote {
    border-left: none;
    border-right: 4px solid #3498db;
    padding-left: 0;
    padding-right: 1.5rem;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.page-content table th,
.page-content table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.page-content.ar table th,
.page-content.ar table td {
    text-align: right;
}

.page-content table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.page-meta {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.last-updated {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .static-page-content {
        
    }
    
    .container {
        padding: 0 15px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-content {
        font-size: 1rem;
    }
    
    .page-content h1 {
        font-size: 1.75rem;
    }
    
    .page-content h2 {
        font-size: 1.5rem;
    }
    
    .page-content h3 {
        font-size: 1.25rem;
    }
    
    .page-content ul,
    .page-content ol {
        padding-left: 1.5rem;
    }
    
    .page-content.ar ul,
    .page-content.ar ol {
        padding-right: 1.5rem;
        padding-left: 0;
    }
    
    .page-content blockquote {
        padding-left: 1rem;
        margin: 1.5rem 0;
    }
    
    .page-content.ar blockquote {
        padding-right: 1rem;
        padding-left: 0;
    }
}

/* Print Styles */
@media print {
    .static-page-content {
        padding: 0;
    }
    
    .page-title {
        color: #000;
        font-size: 24pt;
    }
    
    .page-content {
        color: #000;
        font-size: 12pt;
        line-height: 1.6;
    }
    
    .page-content a {
        color: #000;
        text-decoration: underline;
    }
    
    .page-meta {
        border-top: 1pt solid #000;
    }
}
