/* Blog Post Styles for Hebrew for Christians */

/* Import base styles */
@import url('../styles.css');

/* Article Header */
.article-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.article-header::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"><text y="50" font-size="40" fill="rgba(255,255,255,0.03)">א</text></svg>') repeat;
    opacity: 0.1;
}

.article-header .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.article-category {
    background: #fbbf24;
    color: #92400e;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-date, .read-time {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.article-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.article-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.author-info {
    text-align: left;
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 1.125rem;
}

.author-bio {
    display: block;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Table of Contents */
.table-of-contents {
    background: #f8fafc;
    padding: 3rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.table-of-contents h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1e293b;
}

.table-of-contents ul {
    max-width: 600px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    margin-bottom: 0.75rem;
}

.table-of-contents a {
    display: block;
    padding: 0.75rem 1rem;
    color: #475569;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.table-of-contents a:hover {
    background: white;
    color: #9a5b1a;
    border-left-color: #9a5b1a;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Article Content */
.article-content {
    padding: 4rem 0;
    background: white;
}

.article-content .container {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1e293b;
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f5f9;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin: 2rem 0 1rem;
}

.article-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.article-content ul, .article-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.article-content li {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.highlight-box::before {
    content: '💡';
    position: absolute;
    top: -10px;
    left: 20px;
    background: white;
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 1.5rem;
}

.highlight-box h3 {
    color: #92400e;
    margin-top: 0;
}

.highlight-box ul {
    margin: 1rem 0 0;
}

.highlight-box li {
    color: #92400e;
    font-weight: 500;
}

/* Image Sections */
.image-section {
    margin: 2rem 0;
    text-align: center;
}

.feature-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.image-caption {
    font-size: 0.875rem;
    color: #64748b;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* Hebrew Charts and Tables */
.hebrew-chart, .vowel-chart {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.alphabet-table, .vowel-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.alphabet-table th, .alphabet-table td,
.vowel-table th, .vowel-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.alphabet-table th, .vowel-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #374151;
}

.hebrew-letter {
    font-family: 'Times New Roman', serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #9a5b1a;
}

.vowel-mark {
    font-size: 1.25rem;
    color: #9a5b1a;
    font-weight: bold;
}

/* Practice Exercises */
.practice-exercise {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.hebrew-practice {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.practice-word {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.hebrew-text {
    font-family: 'Times New Roman', serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #9a5b1a;
    min-width: 120px;
}

.transliteration {
    font-family: 'Courier New', monospace;
    color: #374151;
    font-weight: 500;
}

.translation {
    color: #6b7280;
    font-style: italic;
}

/* Pronunciation Guide */
.pronunciation-guide {
    background: #f0fdf4;
    border: 1px solid #22c55e;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.pronunciation-guide h3 {
    color: #166534;
    margin-top: 0;
}

.pronunciation-guide li {
    color: #166534;
    font-weight: 500;
}

/* Audio Section */
.audio-section {
    background: #fef7e0;
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.audio-examples {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.audio-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.audio-button {
    background: #9a5b1a;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.audio-button:hover {
    background: #d97706;
    transform: scale(1.1);
}

/* Grammar Sections */
.grammar-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.example-box {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.example-box p {
    margin-bottom: 0.5rem;
}

.example-box ul {
    margin: 1rem 0 0;
}

/* Reading Exercises */
.reading-exercises {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.reading-exercise {
    background: #fef7e0;
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 2rem;
}

.hebrew-verse {
    text-align: center;
    margin-top: 1rem;
}

.hebrew-text-large {
    font-family: 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: bold;
    color: #9a5b1a;
    margin-bottom: 0.5rem;
}

.word-breakdown {
    text-align: left;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f59e0b;
}

.word-breakdown p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Resources Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.resource-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.resource-card h3 {
    margin-top: 0;
    color: #9a5b1a;
}

.resource-card ul {
    margin: 1rem 0 0;
}

.resource-card li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.cta-box h3 {
    color: white;
    margin-top: 0;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background: #fbbf24;
    color: #92400e;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: #9a5b1a;
    margin-top: 0;
    margin-bottom: 1rem;
}

.faq-item p {
    margin-bottom: 0;
    color: #4b5563;
}

/* Related Posts */
.related-posts {
    background: #f8fafc;
    padding: 4rem 0;
    border-top: 1px solid #e2e8f0;
}

.related-posts h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #1e293b;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.related-post {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.related-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.related-post .post-image {
    height: 200px;
    overflow: hidden;
}

.related-post .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post:hover .post-image img {
    transform: scale(1.05);
}

.related-post .post-content {
    padding: 1.5rem;
}

.related-post h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.related-post h3 a {
    color: #1e293b;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.related-post h3 a:hover {
    color: #9a5b1a;
}

.related-post p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.related-post .read-time {
    color: #9a5b1a;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Newsletter Signup */
.newsletter-signup {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.signup-content {
    max-width: 600px;
    margin: 0 auto;
}

.signup-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.signup-content p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.signup-form {
    margin-bottom: 1rem;
}

.signup-note {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-header {
        padding: 60px 0 40px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .article-title {
        font-size: 2.5rem;
    }
    
    .article-content {
        padding: 2rem 0;
    }
    
    .article-content .container {
        padding: 0 1rem;
    }
    
    .hebrew-practice {
        gap: 0.5rem;
    }
    
    .practice-word {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .hebrew-text {
        min-width: auto;
    }
    
    .audio-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .signup-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-subtitle {
        font-size: 1.125rem;
    }
    
    .article-content h2 {
        font-size: 1.75rem;
    }
    
    .article-content h3 {
        font-size: 1.25rem;
    }
    
    .article-content p {
        font-size: 1rem;
    }
    
    .hebrew-text-large {
        font-size: 1.5rem;
    }
    
    .alphabet-table, .vowel-table {
        font-size: 0.875rem;
    }
    
    .alphabet-table th, .alphabet-table td,
    .vowel-table th, .vowel-table td {
        padding: 0.5rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-content section {
    animation: fadeInUp 0.6s ease-out;
}

.article-content section:nth-child(2) { animation-delay: 0.1s; }
.article-content section:nth-child(3) { animation-delay: 0.2s; }
.article-content section:nth-child(4) { animation-delay: 0.3s; }
.article-content section:nth-child(5) { animation-delay: 0.4s; }
.article-content section:nth-child(6) { animation-delay: 0.5s; }

/* Focus States for Accessibility */
.article-content a:focus,
.table-of-contents a:focus,
.cta-button:focus,
.audio-button:focus {
    outline: 2px solid #9a5b1a;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .article-header {
        background: white !important;
        color: black !important;
    }
    
    .table-of-contents,
    .newsletter-signup {
        display: none;
    }
    
    .article-content {
        padding: 1rem 0;
    }
    
    .highlight-box,
    .practice-exercise,
    .pronunciation-guide,
    .audio-section,
    .grammar-section,
    .reading-exercise,
    .faq-item {
        border: 1px solid #ccc;
        box-shadow: none;
    }
}
