﻿
h1 {
    color: #FFFFFF;
}

.hero-section {
    background: #f8f9fa;
}

.sticky-sidebar {
    position: sticky;
    top: 100px; /* offset for header/navbar */
}

    .sticky-sidebar a {
        display: block;
        padding: 0.5rem 0;
        color: #333;
        text-decoration: none;
    }

        .sticky-sidebar a:hover {
            color: #f4a000; /* your accent color */
        }

.content-block {
    margin-bottom: 4rem;
}

.features .features-content .btn-feature {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-color);
    color: var(--contrast-color);
    padding: 12px 24px;
    border-radius: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

    .features .features-content .btn-feature span {
        margin-right: 8px;
    }

    .features .features-content .btn-feature i {
        transition: transform 0.3s ease;
    }

    .features .features-content .btn-feature:hover {
        background-color: color-mix(in srgb, var(--accent-color), #000 15%);
    }

        .features .features-content .btn-feature:hover i {
            transform: translateX(5px);
        }

.btn-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .btn-feature i {
        margin-left: auto;
    }

.icon-svg {
    width: 36px !important;
    height: auto !important;
    margin-top: -12px;
}

.feature-blurb {
    margin-top: 8px;
}

.blog-heading-section {
    background-color: rgb(6 26 68 / 20%);
    border-radius: 12px;
    padding: 24px 48px;
}

.blog-hero-section {
    background-image: url('../Images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
    /* Optional: minimum height */
    .blog-hero-section .row {
        min-height: 60vh;
    }

    /* Optional: dark overlay for readability */
    .blog-hero-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
    }

    .blog-hero-section > .container-fluid {
        position: relative;
        z-index: 1;
    }

.blog-header-image {
    border-radius: 4px;
/*    width: 100%;
    height: auto;*/

    width: 100%;
    height: 320px; /* visible height */
    object-fit: cover; /* crop instead of stretch */
    object-position: center;
    display: block;
}

.featured-content h1 {
    /*color: #E95C00;*/
}
.featured-content h2 {
    font-size: 20px;
}


.blog-content h1 {
    /*color: #E95C00;*/
}

.blog-content h2 {
    /*color: #E95C00;*/
}

.blog-content h3 {
    font-size: 22px;
    margin-top: 0px;
    font-weight: bold;
}

.blog-content .section {
    padding: 0px 0;
}
.blog-content a {
    font-weight: bolder;
}

.blog-content li::marker {
    font-size: 1.5em; /* bigger number */
    font-weight: bold;
    color: #E95C00;
}

/* Shared styling for the reviewed long-form articles. */
.blog-content .article-refresh { color: #24364b; line-height: 1.7; overflow-wrap: anywhere; }
.om-checklist { border: 1px solid #d5dee8; border-radius: 8px; background: #f5f7fa; padding: 1.5rem; margin: 2rem 0; }
.om-checklist-items { list-style: none; padding-left: 0; }
.om-checklist-items li { position: relative; padding-left: 1.7rem; margin: .7rem 0; }
.om-checklist-items li::before { content: ''; position: absolute; left: 0; top: .4em; width: .9em; height: .9em; border: 1px solid #24364b; }
@media print {
    body:has(.om-checklist) { background: white !important; }
    body:has(.om-checklist) header, body:has(.om-checklist) footer,
    body:has(.om-checklist) .feature-hero-section, body:has(.om-checklist) aside,
    body:has(.om-checklist) .back-link, body:has(.om-checklist) .blog-header-image,
    body:has(.om-checklist) .blog-content > :not(.om-checklist):not(:has(.om-checklist)),
    body:has(.om-checklist) .article-refresh > :not(.om-checklist),
    body:has(.om-checklist) .no-print, body:has(.om-checklist) #creop-consent-banner,
    body:has(.om-checklist) .scroll-top, body:has(.om-checklist) #preloader,
    body:has(.om-checklist) .blog-backlink-row { display: none !important; }
    body:has(.om-checklist) main, body:has(.om-checklist) .container,
    body:has(.om-checklist) .blog-details { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
    body:has(.om-checklist) .content-section, body:has(.om-checklist) .content-section .row { margin: 0 !important; padding: 0 !important; }
    .om-checklist { border: 0; background: white; margin: 0; padding: 0; font-size: 11pt; color: #000; }
    .om-checklist h2 { font-size: 17pt; }
    .om-checklist li { break-inside: avoid; }
}
.blog-content .article-refresh h2 { color: #00172f; font-size: 1.65rem; margin: 2rem 0 .8rem; line-height: 1.25; }
.blog-content .article-refresh h3 { color: #00172f; font-size: 1.2rem; margin: 1.5rem 0 .55rem; line-height: 1.35; }
.blog-content .article-refresh li { margin-bottom: .65rem; }
.blog-content .article-refresh li::marker { font-size: 1em; }
.blog-content .article-updated { color: #536276; font-size: .9rem; }
.blog-content .article-answer { border-left: 4px solid #e95c00; background: #f0f5fa; padding: 1.25rem 1.5rem; margin: 1.25rem 0 2rem; border-radius: 0 6px 6px 0; }
.blog-content .article-answer h2 { font-size: 1.25rem; margin-top: 0; }
.blog-content .article-answer p:last-child { margin-bottom: 0; }
.blog-content .article-table { max-width: 100%; overflow-x: auto; margin: 1.5rem 0; }
.blog-content .article-table:focus-visible { outline: 3px solid #e95c00; outline-offset: 3px; }
.blog-content .article-table table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .95rem; }
.blog-content .article-table caption { caption-side: top; color: #354962; font-weight: 600; text-align: left; padding: .5rem 0; }
.blog-content .article-table th, .blog-content .article-table td { padding: .8rem 1rem; border: 1px solid #d5dee8; text-align: left; vertical-align: top; }
.blog-content .article-table thead th { background: #00172f; color: #fff; }
.blog-content .article-table tbody tr:nth-child(even) { background: #f5f7fa; }
.blog-content .article-faq { border-top: 1px solid #d5dee8; padding-top: .5rem; margin-top: 2rem; }
.blog-content .article-feature-grid, .blog-content .article-example-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.blog-content .article-feature-grid section { padding: 1rem; border: 1px solid #d5dee8; border-radius: 6px; }
.blog-content .article-feature-grid h3 { margin-top: 0; }
.blog-content .article-example-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog-content .article-example-grid img { display: block; width: 100%; height: auto; border: 1px solid #d5dee8; margin-bottom: .5rem; }
.blog-content .article-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin: 1.5rem 0; }
.blog-content a.article-button { display: inline-block; padding: .65rem 1.1rem; border-radius: 4px; color: #fff; background: #a74200; text-decoration: none; }
.blog-content a.article-button:hover { background: #853500; }
.blog-content .article-testimonial { border-left: 3px solid #e95c00; padding: .5rem 1.25rem; margin: 1.5rem 0; }
.blog-content .article-testimonial blockquote { margin: 0; font-size: 1.1rem; }
.blog-content .article-testimonial figcaption { color: #536276; font-size: .9rem; }
@media (max-width: 575px) {
    .blog-content .article-feature-grid, .blog-content .article-example-grid { grid-template-columns: 1fr; }
    .blog-content .article-answer { padding: 1rem; }
    .blog-content .article-refresh h2 { font-size: 1.4rem; }
}
