/* css/blog-article.css - styles shared by ALL blog article pages
   (How-to-Improve..., HVAC-Maintenance..., is-a-whole-home..., signs-your-furnace...,
   When-Should-You-Replace..., why-is-your-hvac...) */

:root {
    --primary: #a51f24;
    --primary-dark: #650d12;
    --red-light: #d85b60;
    --navy: #2a090c;
    --dark: #140406;
    --light-bg: #faf7f7;
    --text: #3b3030;
    --muted: #746868;
    --white: #fff;
    --border: #eadcdc;
    --shadow: 0 15px 45px rgba(50, 0, 0, .12);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light-bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    padding-top: 82px;
}

.page-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 85% 20%, rgba(216, 91, 96, .35), transparent 30%), linear-gradient(135deg, #230609, #680e13 55%, #a51f24);
}

.page-hero:after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    right: -180px;
    bottom: -250px;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
    position: relative;
    z-index: 2;
    padding: 65px 0;
}

.page-hero-content {
    color: #fff;
}

.page-hero-content .small {
    display: inline-block;
    color: #ffd9da;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.page-hero-content h1 {
    font-size: 48px;
    line-height: 1.12;
    margin-bottom: 20px;
}

.page-hero-content h1 span {
    color: #ffb9bc;
}

.page-hero-content h2 {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 18px;
}

.page-hero-content p {
    color: #f5dddd;
    max-width: 570px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 25px;
    border-radius: 8px;
    background: #fff;
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 800;
    transition: .3s;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .25);
}

.page-hero-image {
    position: relative;
}

.page-hero-image img {
    width: 100%;
    height: 370px;
    object-fit: cover;
    border-radius: 25px;
    border: 4px solid rgba(255, 255, 255, .15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}

.image-badge {
    position: absolute;
    left: -25px;
    bottom: 20px;
    background: #fff;
    padding: 15px 18px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
    gap: 12px;
}

.image-badge i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: #fae8e8;
    color: var(--primary);
    border-radius: 50%;
}

.image-badge strong {
    display: block;
    color: var(--primary-dark);
    font-size: 14px;
}

.image-badge span {
    font-size: 12px;
    color: var(--muted);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 45px;
}

.section-title span, .content-tag {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.section-title h2 {
    font-size: 38px;
    color: var(--primary-dark);
    line-height: 1.2;
    margin: 10px 0 15px;
}

.section-title p {
    color: var(--muted);
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, .85fr);
    gap: 35px;
    align-items: start;
}

.article-card, .sidebar-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(50, 0, 0, .05);
}

.article-card {
    padding: 35px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--muted);
    font-size: 13px;
    margin: 12px 0 22px;
}

.article-meta i {
    color: var(--primary);
    margin-right: 6px;
}

.article-feature-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    margin: 22px 0 25px;
}

.article-card h2 {
    font-size: 28px;
    line-height: 1.3;
    color: var(--primary-dark);
    margin: 30px 0 12px;
}

.article-card h3 {
    font-size: 21px;
    color: var(--primary-dark);
    margin: 25px 0 8px;
}

.article-card p {
    color: var(--muted);
    margin-bottom: 15px;
}

.article-card ul {
    padding-left: 23px;
    margin: 10px 0 20px;
    color: var(--muted);
}

.article-card li {
    padding: 4px 0;
}

.tip-box {
    padding: 20px 22px;
    border-left: 4px solid var(--primary);
    background: #fff5f5;
    border-radius: 10px;
    margin: 25px 0;
}

.tip-box strong {
    color: var(--primary-dark);
}

.sidebar {
    display: grid;
    gap: 22px;
}

.sidebar-card {
    padding: 25px;
}

.sidebar-card h3 {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 14px;
}

.sidebar-card p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 15px;
}

.sidebar-links {
    list-style: none;
}

.sidebar-links li {
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--muted);
}

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

.sidebar-links i {
    color: var(--primary);
    margin-right: 8px;
}

.sidebar-cta {
    background: linear-gradient(135deg, #230609, #a51f24);
    color: #fff;
}

.sidebar-cta h3, .sidebar-cta p {
    color: #fff;
}

.sidebar-cta .hero-btn {
    padding: 11px 16px;
}

.check-list {
    list-style: none;
    margin-top: 20px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text);
}

.check-list i {
    color: var(--primary);
    margin-top: 5px;
}

.faq {
    background: #fff;
}

.faq-list {
    max-width: 850px;
    margin: auto;
    display: grid;
    gap: 14px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 19px 22px;
    border: 0;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    color: var(--primary-dark);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
}

.faq-question i {
    color: var(--primary);
    transition: .3s;
}

.faq-answer {
    display: none;
    padding: 0 22px 20px;
    color: var(--muted);
    font-size: 14px;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open .faq-question i {
    transform: rotate(45deg);
}

.cta {
    padding: 75px 0;
    background: radial-gradient(circle at 80% 20%, rgba(216, 91, 96, .3), transparent 30%), linear-gradient(135deg, #230609, #680e13 55%, #a51f24);
    color: #fff;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta h2 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.cta p {
    color: #f4dada;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 22px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 8px;
    font-weight: 700;
}

@media (max-width:1100px) {
    .page-hero-grid {
        gap: 40px;
    }
    .page-hero-content h1 {
        font-size: 43px;
    }
}

@media (max-width:850px) {
    body {
        padding-top: 72px;
    }
    .page-hero {
        min-height: auto;
    }
    .page-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 55px 0 85px;
    }
    .page-hero-content h1 {
        font-size: 42px;
    }
    .page-hero-image img {
        height: 340px;
    }
    .article-layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        grid-template-columns: 1fr 1fr;
    }
    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width:600px) {
    .page-hero-grid {
        padding: 45px 0 75px;
    }
    .page-hero-content h1 {
        font-size: 35px;
    }
    .page-hero-content h2 {
        font-size: 19px;
    }
    .page-hero-image img {
        height: 260px;
    }
    .image-badge {
        left: 12px;
        bottom: 12px;
    }
    .section {
        padding: 58px 0;
    }
    .section-title h2 {
        font-size: 30px;
    }
    .article-card {
        padding: 22px;
    }
    .article-card h2 {
        font-size: 24px;
    }
    .article-feature-image {
        height: 230px;
    }
    .sidebar {
        grid-template-columns: 1fr;
    }
    .cta h2 {
        font-size: 29px;
    }
}
