.blogs-page,
.blog-detail-page {
    width: 100%;
    background: #fff;
    color: #2f3a49;
}

/* style.css paints every <article> orange. */
.blogs-page article,
.blog-detail-page article {
    background: transparent !important;
}

/* style.css adds a global top margin to every <section>. */
.blogs-page section {
    margin-top: 0 !important;
}

.blogs-hero {
    position: relative;
    width: 100%;
    min-height: 540px;
    overflow: hidden;
    background: #172a42;
}

.blogs-hero img {
    display: block;
    width: 100%;
    height: 540px;
    object-fit: cover;
    opacity: 0.72;
}

.blogs-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 12, 18, 0.35);
}

.blogs-hero h1 {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    z-index: 1;
    margin: 0;
    padding: 0 24px;
    color: #fff;
    font-family: "Lora", serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
    transform: translateY(-50%);
}

.blogs-hero h1 span {
    display: block;
}

.blogs-list {
    width: min(100% - 48px, 1320px);
    margin: 0 auto;
    padding: 48px 0 64px;
}

.blogs-page .blog-list-item {
    margin: 0 !important;
    padding: 0 !important;
}

.blog-list-date,
.blog-detail-date {
    margin: 0 0 8px;
    color: #9d9c9c;
    font-family: "Trueno", Arial, sans-serif;
    font-size: 1rem;
}

.blogs-page .blog-list-title {
    margin: 0 0 4px;
    color: #14243b;
    font-family: "Trueno", Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 300 !important;
    line-height: 1.35;
}

.blog-list-subtitle {
    margin: 0;
    color: #9d9c9c;
    font-family: "Trueno", Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Theme styles paint a hover background/white text on generic links. */
.blogs-page a,
.blog-detail-page a,
.blogs-page a:hover,
.blogs-page a:focus,
.blog-detail-page a:hover,
.blog-detail-page a:focus {
    background: none !important;
    background-image: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.blogs-page .blog-read-more,
.blog-detail-page .blog-back-link {
    display: inline-block;
    margin-top: 16px;
    color: #186cd3 !important;
    font-family: "Trueno", Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 400 !important;
    transition: color 0.2s;
}

.blog-read-more:hover,
.blog-read-more:focus,
.blog-back-link:hover,
.blog-back-link:focus {
    color: #0d47a1 !important;
}

.blogs-page .blog-list-divider {
    width: 100%;
    height: 1px;
    margin: 22px 0 28px !important;
    border: 0;
    background: #6b6b6b;
    opacity: 1;
}

.blog-detail-page {
    padding: 58px 0 90px;
}

.blog-detail-inner {
    width: min(100% - 48px, 900px);
    margin: 0 auto;
}

.blog-back-link {
    margin: 0 0 32px;
}

.blog-detail-header {
    margin-bottom: 38px;
    padding-bottom: 26px;
    border-bottom: 1px solid #e3ebf5;
}

.blog-detail-title {
    margin: 0 0 16px;
    color: #14243b;
    font-family: "Lora", serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.25;
}

.blog-detail-subtitle {
    max-width: 780px;
    margin: 0;
    color: #5f6b7a;
    font-family: "Trueno", Arial, sans-serif;
    font-size: 1.15rem;
    line-height: 1.7;
}

.blog-detail-content {
    color: #46505f;
    font-family: "Trueno", Arial, sans-serif;
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1.85;
}

.blog-detail-content p {
    margin: 0 0 1.1rem;
    font-weight: 400;
}

.blog-detail-content .blog-lead {
    color: #46505f;
    font-size: 1rem;
}

.blog-detail-content .blog-heading {
    margin: 2.1rem 0 0.8rem;
    color: #14243b;
    font-family: "Lora", serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.35;
}

.blog-detail-content .blog-subheading {
    margin: 1.7rem 0 0.55rem;
    color: #14243b;
    font-family: "Trueno", Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.45;
}

.blog-detail-content .blog-list {
    margin: 0.9rem 0 1.8rem;
    padding-left: 1.5rem;
    list-style: disc outside;
}

.blog-detail-content .blog-list li {
    margin-bottom: 0.65rem;
    padding-left: 0.25rem;
}

.blog-detail-content .blog-faq {
    margin: 1.2rem 0 1.8rem;
    padding-left: 1.4rem;
    list-style: decimal outside;
}

.blog-detail-content .blog-faq-item {
    margin-bottom: 1.4rem;
    padding-left: 0.35rem;
}

.blog-detail-content .blog-faq-item::marker {
    color: #14243b;
    font-family: "Trueno", Arial, sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
}

.blog-detail-content .blog-faq-question {
    margin: 0 0 0.45rem;
    color: #14243b;
    font-family: "Trueno", Arial, sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.45;
}

.blog-detail-content .blog-faq-item p {
    margin: 0 0 0.8rem;
}

@media (max-width: 768px) {
    .blogs-hero,
    .blogs-hero img {
        min-height: 340px;
        height: 340px;
    }

    .blogs-list {
        width: min(100% - 30px, 1320px);
        padding: 36px 0 52px;
    }

    .blog-list-title {
        font-size: 1.3rem;
    }

    .blog-detail-page {
        padding: 38px 0 64px;
    }

    .blog-detail-inner {
        width: min(100% - 30px, 900px);
    }
}
