/* ========== BLOG STYLES ========== */

/* Blog Hero */
.blog-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 3rem 1.5rem 2.5rem;
}

.blog-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Breadcrumb: visually hidden via styles.css — no override needed here */

/* Category Tag */
.blog-category-tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.3rem 0.85rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.blog-hero h1 {
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.85;
    align-items: center;
}

.meta-sep {
    opacity: 0.5;
}

/* Blog Layout */
.blog-main {
    padding: 2.5rem 1.5rem 4rem;
    background: var(--bg-light);
}

.blog-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}

/* Article */
.blog-article {
    background: var(--white);
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.blog-article p {
    margin-bottom: 1.2rem;
    line-height: 1.78;
    color: var(--text-dark);
}

.blog-article h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 2.2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.blog-article h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 1.8rem 0 0.75rem;
}

/* Blog Figures */
.blog-figure {
    margin: 0 0 1.5rem;
}

.blog-figure--hero {
    border-radius: 8px;
    overflow: hidden;
}

.blog-figure--hero img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-figure--inline {
    margin: 1.5rem 0 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.blog-figure--inline img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-figure figcaption {
    font-size: 0.82rem;
    color: var(--text-light);
    padding: 0.6rem 0.75rem;
    background: var(--bg-light);
    line-height: 1.5;
}

/* Table of Contents */
.blog-toc {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 8px 8px 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0 2rem;
}

.blog-toc h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.75rem;
    padding: 0;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-toc ol {
    margin: 0;
    padding-left: 1.25rem;
}

.blog-toc li {
    margin-bottom: 0.4rem;
    font-size: 0.92rem;
    line-height: 1.5;
}

.blog-toc a {
    color: var(--secondary-color);
    text-decoration: none;
}

.blog-toc a:hover {
    text-decoration: underline;
}

/* Lists */
.blog-list {
    margin: 0.75rem 0 1.25rem 1.5rem;
    line-height: 1.78;
}

.blog-list li {
    margin-bottom: 0.65rem;
    color: var(--text-dark);
}

/* CTA Box */
.blog-cta-section {
    margin: 2.5rem 0 0;
}

.blog-cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border-radius: 10px;
    padding: 2rem 2rem 1.5rem;
    text-align: center;
}

.blog-cta-box h2 {
    color: var(--white);
    border: none;
    font-size: 1.5rem;
    margin-top: 0;
    padding-bottom: 0;
}

.blog-cta-box p {
    color: rgba(255,255,255,0.9);
    font-size: 0.97rem;
}

.blog-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 1.25rem 0 1rem;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: #b91c1c;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.7);
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}

.cta-hours {
    font-size: 0.82rem;
    opacity: 0.75;
    margin-bottom: 0;
}

/* FAQ */
.faq-list {
    margin-top: 1rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    background: var(--bg-light);
}

.faq-item h3 {
    margin: 0 0 0.6rem;
    font-size: 1.05rem;
    color: var(--primary-color);
}

.faq-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* Image Credit */
.blog-image-credit {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
}

.blog-image-credit a {
    color: var(--secondary-color);
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 90px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.sidebar-cta h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.sidebar-cta p {
    color: rgba(255,255,255,0.88);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.sidebar-cta .btn-secondary {
    border-color: rgba(255,255,255,0.6);
}

.sidebar-hours {
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.sidebar-widget h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links li {
    border-bottom: 1px solid var(--border-color);
}

.sidebar-links li:last-child {
    border-bottom: none;
}

.sidebar-links a {
    display: block;
    padding: 0.5rem 0;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s;
}

.sidebar-links a:hover {
    color: var(--primary-color);
}

.sidebar-links--plain li {
    color: var(--text-dark);
    padding: 0.45rem 0;
    font-size: 0.88rem;
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    align-items: center;
}

.footer-social a {
    display: inline-block;
    opacity: 0.8;
    transition: opacity 0.2s, transform 0.2s;
}

.footer-social a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-social img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: block;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .blog-hero h1 {
        font-size: 1.5rem;
    }

    .blog-article {
        padding: 1.5rem 1.25rem;
    }

    .blog-article h2 {
        font-size: 1.3rem;
    }

    .blog-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-cta-buttons a {
        text-align: center;
    }
}

/* Remove global section padding inside articles (was creating large gaps) */
.blog-article section { padding: 0; }
.blog-article .blog-cta-section { margin: 2rem 0; }


/* Portrait figure (tall photos) */
.blog-figure--portrait {
    max-width: 320px;
    margin: 1.5rem auto;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.blog-figure--portrait img { width: 100%; height: auto; display: block; }
