/* ========================================
   BLOG PAGE STYLES
   Using unified blue theme from global.css
   ======================================== */

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: var(--font-primary);
    color: var(--text-color-dark);
    background-color: var(--background-light);
    line-height: 1.7; /* from blog.html */
    font-size: 17px; /* from blog.html */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
        
a:focus-visible, button:focus-visible, [tabindex]:not([tabindex="-1"]):focus-visible {
    outline: 3px solid var(--focus-outline-color); outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(212, 163, 115, 0.3);
}
a:focus, button:focus, [tabindex]:not([tabindex="-1"]):focus {
    outline: none; 
}

.container { 
    max-width: 960px; /* Standard content width for blog posts */
    margin: 0 auto; 
    padding: 0 20px; 
    width: 100%;
}

/* Blog Page Specific Styles (from original blog.html) */
.blog-hero {
    background-color: var(--secondary-color); 
    color: var(--text-color-light);
    padding: 80px 0;
    text-align: center;
}
.blog-hero h1 {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 10px;
}
.blog-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.blog-listing-section {
    padding: 70px 0;
}

.blog-post-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-standard);
    margin-bottom: 40px;
    overflow: hidden; 
    transition: var(--transition-standard);
    display: flex; 
    flex-direction: column; 
}
.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}
        
.blog-post-card-image {
    height: 200px; 
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid var(--accent-color);
}

.blog-post-card-content {
    padding: 30px;
}

.blog-post-card h2 { 
    font-family: var(--font-secondary);
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}
.blog-post-card h2 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}
.blog-post-card h2 a:hover {
    color: var(--accent-color);
}

.blog-post-card .excerpt {
    font-size: 1.05rem;
    color: var(--text-color-dark);
    margin-bottom: 25px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;  
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-post-card .read-more-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-color-light);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-standard);
    font-size: 0.95rem;
}
.blog-post-card .read-more-btn:hover {
    background-color: var(--accent-color-dark); /* Use variable */
}

/* Footer styles are now handled by /global/styles/footer.css */

/* Mobile Styles for Blog Content (from original blog.html) */
@media (max-width: 768px) {
    /* Nav specific mobile styles are now covered by navtest2.html's media queries above */
    .blog-hero { padding: 60px 0; }
    .blog-hero h1 { font-size: 2.2rem; }
    .blog-hero p { font-size: 1.1rem; }
    .blog-listing-section { padding: 50px 0; }
    .blog-post-card { margin-bottom: 30px; }
}