.blog-redesign,
.blog-redesign * { box-sizing: border-box; }
.blog-redesign img { display: block; max-width: 100%; }
.blog-redesign h1,
.blog-redesign h2,
.blog-redesign h3,
.blog-redesign p { margin-top: 0; }
.blog-redesign h1,
.blog-redesign h2,
.blog-redesign h3,
.blog-redesign strong,
.blog-redesign b { color: var(--service-navy); }
.blog-container { width: min(920px, calc(100% - 40px)); margin-right: auto; margin-left: auto; }

.blog-hero { position: relative; min-height: 235px; overflow: hidden; color: #fff; background: #102c48; }
.blog-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.blog-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,31,55,.95), rgba(7,35,62,.74) 39%, rgba(8,33,58,.08) 68%, rgba(8,31,55,.4)); }
.blog-hero__content { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 28px; }
.blog-breadcrumb { display: flex; gap: 10px; margin-bottom: 7px; color: rgba(255,255,255,.94); font-size: 12px; }
.blog-breadcrumb a { color: #fff; }
.blog-hero h1 { margin-bottom: 3px; color: #fff; font-size: 42px; font-weight: 800; letter-spacing: -1px; line-height: 1.08; }
.blog-hero h2 { margin-bottom: 10px; color: #fff; font-size: 17px; font-weight: 700; }
.blog-hero__content > p:not(.blog-hero__motto) { max-width: 475px; margin-bottom: 0; color: rgba(255,255,255,.94); font-size: 13px; line-height: 1.5; }
.blog-hero__motto { position: absolute; top: 61px; right: 0; width: 176px; margin: 0; transform: rotate(-7deg); color: #fff; font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 23px; font-style: italic; line-height: 1.18; text-align: center; }
.blog-hero__motto::after { display: block; width: 108px; height: 3px; margin: 8px auto 0; transform: rotate(-7deg); background: var(--service-red); content: ""; }

.blog-content { padding: 26px 0 18px; }
.blog-layout { display: grid; grid-template-columns: minmax(0, 3fr) 240px; align-items: start; gap: 20px; }
.blog-main,
.blog-sidebar { min-width: 0; }
.blog-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; color: #53647d; font-size: 9px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; }
.blog-eyebrow::before { width: 25px; height: 3px; background: var(--service-red); content: ""; }
.blog-main > h2,
.blog-subscribe h2 { margin-bottom: 5px; color: var(--service-navy); font-size: 28px; font-weight: 800; letter-spacing: -.7px; line-height: 1.12; }
.blog-intro { max-width: 610px; margin-bottom: 15px; color: var(--service-copy); font-size: 12px; line-height: 1.45; }
.blog-filters { display: flex; gap: 7px; overflow-x: auto; margin-bottom: 18px; padding-bottom: 2px; scrollbar-width: thin; }
.blog-filters button { flex: 0 0 auto; min-height: 36px; padding: 7px 18px; color: var(--service-navy); background: #f0f5fb; border: 0; border-radius: 999px; font-size: 10px; font-weight: 700; }
.blog-filters button.is-active,
.blog-filters button:hover { color: #fff; background: var(--service-red); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px 14px; }
.blog-card { overflow: hidden; background: #fff; border: 1px solid #edf2f7; border-radius: 6px; box-shadow: 0 5px 16px rgba(19,47,79,.055); }
.blog-card[hidden] { display: none !important; }
.blog-card__image { display: block; height: 130px; overflow: hidden; }
.blog-card__image img { width: 100%; height: 100%; transition: transform .3s ease; object-fit: cover; }
.blog-card:hover .blog-card__image img { transform: scale(1.035); }
.blog-card__body { min-height: 186px; padding: 12px 12px 13px; }
.blog-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-bottom: 8px; color: #60728b; font-size: 8px; }
.blog-card__meta b { flex: 0 0 auto; padding: 4px 8px; color: var(--service-red); background: #ffe9ed; border-radius: 999px; font-size: 8px; }
.blog-card h3 { min-height: 44px; margin-bottom: 7px; font-size: 13px; font-weight: 800; line-height: 1.27; }
.blog-card h3 a { color: var(--service-navy); }
.blog-card p { min-height: 66px; margin-bottom: 8px; color: var(--service-copy); font-size: 10px; line-height: 1.4; }
.blog-card__more { color: var(--service-red); font-size: 10px; font-weight: 800; }
.blog-card__more i { margin-left: 6px; font-size: 8px; }

.blog-pagination { display: flex; min-height: 38px; align-items: center; justify-content: center; gap: 8px; margin: 17px 0 0; }
.blog-page { display: grid; width: 31px; height: 31px; place-items: center; padding: 0; color: var(--service-navy); background: #f0f5fb; border: 0; border-radius: 50%; font-size: 10px; font-weight: 700; }
.blog-page.is-active { color: #fff; background: var(--service-red); }
.blog-page--arrow { background: #fff; border: 1px solid #cdd9e7; }
.blog-page:disabled { opacity: .4; }

.blog-sidebar { display: grid; gap: 12px; }
.blog-search { display: flex; min-height: 57px; align-items: center; gap: 11px; padding: 0 15px; background: #f5f9fd; border-radius: 8px; }
.blog-search i { color: #49617d; font-size: 16px; }
.blog-search input { width: 100%; min-height: 35px; padding: 0 12px; color: var(--service-navy); background: #fff; border: 1px solid #cdd9e7; border-radius: 6px; outline: 0; font-size: 10px; }
.blog-sidebar__panel { padding: 14px 14px 10px; background: #f5f9fd; border-radius: 8px; }
.blog-sidebar__panel h3 { margin-bottom: 10px; font-size: 16px; font-weight: 800; }
.blog-sidebar__panel ul { margin: 0; padding: 0; list-style: none; }
.blog-sidebar__panel li { border-bottom: 1px solid #e2e9f1; }
.blog-sidebar__panel li:last-child { border-bottom: 0; }
.blog-sidebar__panel button { display: grid; width: 100%; grid-template-columns: 24px 1fr auto; align-items: center; gap: 7px; padding: 8px 0; color: var(--service-navy); background: transparent; border: 0; font-size: 10px; text-align: left; }
.blog-sidebar__panel button i { color: var(--service-red); font-size: 15px; text-align: center; }
.blog-sidebar__panel button b { font-size: 9px; }
.blog-popular > a { display: grid; grid-template-columns: 66px 1fr; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px solid #e2e9f1; }
.blog-popular > a:last-child { border-bottom: 0; }
.blog-popular img { width: 66px; height: 46px; border-radius: 5px; object-fit: cover; }
.blog-popular span { display: flex; flex-direction: column; }
.blog-popular b { color: var(--service-navy); font-size: 9px; line-height: 1.25; }
.blog-popular small { margin-top: 4px; color: #708097; font-size: 8px; }

.blog-empty { margin: 20px 0; padding: 25px; color: var(--service-copy); background: #f5f9fd; border-radius: 8px; text-align: center; }
.blog-empty--static { padding: 50px 25px; }
.blog-empty--static i { margin-bottom: 12px; color: var(--service-red); font-size: 40px; }
.blog-empty h3 { margin-bottom: 5px; font-size: 18px; }
.blog-empty p { margin: 0; font-size: 12px; }

.blog-subscribe { padding: 10px 0 12px; }
.blog-subscribe__inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 35px; min-height: 105px; padding: 19px 25px; background: linear-gradient(100deg, #edf6fd, #f8fbff); border-radius: 7px; }
.blog-subscribe h2 { margin-bottom: 5px; font-size: 22px; }
.blog-subscribe__inner > div > span { color: var(--service-copy); font-size: 11px; }
.blog-subscribe form > div { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; min-height: 41px; padding-left: 12px; background: #fff; border: 1px solid #cbd8e6; border-radius: 7px; }
.blog-subscribe form > div > i { color: #536b87; }
.blog-subscribe input { width: 100%; min-width: 0; padding: 0 7px; color: var(--service-navy); background: transparent; border: 0; outline: 0; font-size: 10px; }
.blog-subscribe button { align-self: stretch; min-width: 145px; color: #fff; background: var(--service-red); border: 0; border-radius: 999px; font-size: 10px; font-weight: 700; }
.blog-subscribe button i { margin-right: 7px; }
.blog-subscribe small { display: block; margin-top: 7px; color: #647691; font-size: 8px; }
.blog-subscribe small i { margin-right: 6px; }

@media (max-width: 991px) {
    .blog-layout { grid-template-columns: 1fr; }
    .blog-sidebar { grid-template-columns: 1fr 1fr; }
    .blog-search { grid-column: 1 / -1; }
    .blog-subscribe__inner { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 767px) {
    .blog-container { width: min(100% - 30px, 920px); }
    .blog-hero { min-height: 390px; }
    .blog-hero > img { object-position: 67% center; }
    .blog-hero__overlay { background: linear-gradient(90deg, rgba(7,31,55,.94), rgba(7,35,62,.52)); }
    .blog-hero__content { padding-top: 52px; }
    .blog-hero h1 { font-size: 36px; }
    .blog-hero h2 { max-width: 94%; }
    .blog-hero__content > p:not(.blog-hero__motto) { max-width: 93%; }
    .blog-hero__motto { display: none; }
    .blog-content { padding-top: 31px; }
    .blog-main > h2 { font-size: 27px; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-card__image { height: 220px; }
    .blog-card__body { min-height: 0; padding: 15px 16px; }
    .blog-card h3,
    .blog-card p { min-height: 0; }
    .blog-card h3 { font-size: 16px; }
    .blog-card p { font-size: 11px; }
    .blog-sidebar { grid-template-columns: 1fr; }
    .blog-search { grid-column: auto; }
    .blog-subscribe__inner { padding: 23px 20px; }
}

@media (max-width: 480px) {
    .blog-card__image { height: 185px; }
    .blog-subscribe form > div { grid-template-columns: 22px 1fr; padding: 9px 10px; }
    .blog-subscribe button { grid-column: 1 / -1; min-height: 40px; margin-top: 8px; }
}
