@import url("legacy-fonts.css");

:root {
    --navy: #00145e;
    --blue: #0752a0;
    --cyan: #00a6ce;
    --ink: #172033;
    --muted: #657086;
    --line: #dce3eb;
    --soft: #f3f7fa;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: "Myriad Pro Regular", Arial, Helvetica, sans-serif; background: #fff; }
a { color: inherit; }
img { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: relative; z-index: 30; background: #fff; }
.header-topbar { color: #fff; background: #00154a; }
.topbar-inner { min-height: 40px; display: flex; align-items: center; gap: 30px; font-size: 14px; }
.topbar-inner a { color: inherit; text-decoration: none; }
.specialist-link { padding: 8px; border-radius: 6px; background: #fc0; font-family: "Myriad Pro Semi Bold", Arial, sans-serif; text-transform: uppercase; white-space: nowrap; }
.faq-link { font-family: "Myriad Pro Regular", Arial, sans-serif; text-transform: uppercase; white-space: nowrap; }
.topbar-contact { display: flex; align-items: center; gap: 20px; margin-left: auto; font-size: 16px; white-space: nowrap; }
.social-links { display: flex; align-items: center; gap: 18px; }
.social-links a { min-width: 12px; text-align: center; font-family: Arial, sans-serif; font-size: 14px; font-weight: 700; line-height: 1; }
.header-main { background: #fff; }
.header-inner { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand img { display: block; width: 264px; height: 50px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 36px; font-family: "Myriad Pro Semi Bold", Arial, sans-serif; font-size: 15px; font-weight: 400; text-transform: uppercase; }
.site-nav a { text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a.is-active { color: #0395e9; }
.nav-toggle { display: none; border: 0; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 4px; }
.blog-hero { min-height: 190px; display: grid; place-items: center; padding: 30px; color: #fff; text-align: center; background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)), url("../../uploads/2021/07/Banner-Site-Blog-21_07.jpg") center / cover no-repeat; }
.blog-hero h1 { margin: 0; font-family: "Myriad Pro Bold", Arial, sans-serif; font-size: 44px; font-weight: 600; line-height: 1.1; text-transform: uppercase; }
.blog-hero p { margin: 20px 0 0; font-family: "Myriad Pro Semi Bold", Arial, sans-serif; font-size: 22px; line-height: 1.3; }
.category-hero { min-height: 0; }
.category-hero p { margin: 0 0 18px; font-family: "Myriad Pro Bold", Arial, sans-serif; font-size: 22px; font-weight: 600; }
.category-hero h1 { font-family: "Myriad Pro Semi Bold", Arial, sans-serif; font-size: 34px; }
.category-hero h1 a { color: inherit; text-decoration: none; }
.blog-section { padding: 64px 0 84px; background: var(--soft); }
.blog-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.blog-toolbar h2 { margin: 0; color: var(--navy); font-size: 30px; }
.search-form { display: flex; gap: 8px; }
.search-form input { width: min(300px, 55vw); padding: 11px 13px; border: 1px solid var(--line); border-radius: 4px; font: inherit; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 4px; background: var(--navy); color: #fff; padding: 11px 18px; font-weight: 700; text-decoration: none; cursor: pointer; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 7px; box-shadow: 0 8px 25px rgba(0,20,94,.08); }
.post-card__image { display: block; aspect-ratio: 16 / 10; background: #d9e5ee; overflow: hidden; }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card:hover img { transform: scale(1.035); }
.post-card__body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.post-card time { color: var(--cyan); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.post-card h2 { margin: 10px 0 12px; color: var(--navy); font-size: 21px; line-height: 1.25; }
.post-card h2 a { text-decoration: none; }
.post-card p { margin: 0 0 20px; color: var(--muted); line-height: 1.6; }
.read-more { margin-top: auto; color: var(--blue); font-weight: 800; text-decoration: none; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span { min-width: 40px; padding: 10px; text-align: center; border-radius: 4px; text-decoration: none; background: #fff; }
.pagination .current { color: #fff; background: var(--navy); }
.empty-state { grid-column: 1 / -1; padding: 50px; text-align: center; background: #fff; border-radius: 7px; }
.category-page { padding: 70px 0; background: #fff; }
.category-layout { display: grid; grid-template-columns: minmax(0, 71%) minmax(240px, 29%); align-items: start; }
.category-results { padding: 30px; border-radius: 10px; box-shadow: 0 0 25px rgba(0,0,0,.25); }
.category-page .blog-grid { gap: 30px; }
.category-page .post-card { border-radius: 0; box-shadow: 0 3px 12px rgba(0,0,0,.14); }
.category-page .post-card__image { aspect-ratio: 1; }
.category-page .post-card__body { padding: 30px; }
.category-page .post-card time { display: none; }
.category-page .post-card h2 { margin: 10px 0 20px; font-family: "Myriad Pro Bold", Arial, sans-serif; font-size: 21px; }
.category-page .post-card p { font-size: 16px; line-height: 1.45; }
.category-page .read-more { color: #f3c503; font-family: "Myriad Pro Semi Bold", Arial, sans-serif; font-size: 16px; text-transform: uppercase; }
.category-sidebar { padding-left: 50px; color: #00154a; }
.category-sidebar h2 { margin: 0 0 16px; font-family: "Myriad Pro Bold", Arial, sans-serif; font-size: 30px; font-weight: 600; }
.category-sidebar h2:not(:first-child) { margin-top: 26px; }
.category-sidebar nav { display: grid; gap: 8px; margin-bottom: 26px; }
.category-sidebar nav a, .category-sidebar nav span { position: relative; padding-left: 28px; color: inherit; font-size: 18px; text-decoration: none; text-transform: uppercase; }
.category-sidebar nav a::before, .category-sidebar nav span::before { content: ""; position: absolute; top: .35em; left: 0; border-width: 6px 0 6px 6px; border-style: solid; border-color: transparent transparent transparent #00154a; }
.category-sidebar nav a:hover, .category-sidebar nav a.is-active { color: #0395e9; }
.category-search { min-height: 50px; display: flex; align-items: center; gap: 12px; margin: 8px 0 18px; padding: 0 16px; border: 1px solid #00154a; border-radius: 10px; }
.category-search span { font-size: 25px; line-height: 1; }
.category-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #00154a; font: inherit; }
.article-hero { padding: 64px 0 46px; color: #fff; background: linear-gradient(125deg, var(--navy), var(--blue)); }
.article-hero h1 { max-width: 900px; margin: 12px 0; font-size: clamp(34px, 5vw, 58px); line-height: 1.08; }
.article-hero time { color: #bfeaf4; }
.article-cover { width: min(1040px, calc(100% - 40px)); max-height: 590px; margin: 42px auto 0; display: block; object-fit: cover; border-radius: 8px; }
.article-content { width: min(850px, calc(100% - 40px)); margin: 48px auto 80px; font-size: 18px; line-height: 1.75; }
.article-content h2, .article-content h3 { color: var(--navy); line-height: 1.25; }
.article-content a { color: var(--blue); }
.article-content iframe { max-width: 100%; }
.article-content img { max-width: 100%; height: auto; }
.article-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.article-content th, .article-content td { padding: 10px; border: 1px solid #d9e0e8; }
.site-footer { padding: 36px 0; color: #dce6f7; background: #061340; }
.footer-inner { display: flex; align-items: center; gap: 24px; }
.footer-inner img { width: 155px; }
.footer-inner p { margin: 6px 0 0; }
.footer-inner > a { margin-left: auto; color: #fff; font-weight: 700; }

@media (max-width: 820px) {
    .header-topbar { display: none; }
    .header-inner { min-height: 72px; }
    .brand img { width: 220px; height: auto; }
    .nav-toggle { display: block; }
    .site-nav { display: none; position: absolute; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 22px; background: #fff; box-shadow: 0 12px 20px rgba(0,20,94,.12); }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 13px; }
    .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .category-layout { grid-template-columns: 1fr; }
    .category-sidebar { padding: 50px 10px 0; }
}

@media (max-width: 560px) {
    .site-container { width: min(100% - 28px, 1160px); }
    .blog-hero { min-height: 300px; padding: 15px; background-image: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)), url("../../uploads/2021/07/Banner-Site-BlogMobile.jpg"); background-position: top left; }
    .blog-hero h1 { font-size: 26px; }
    .blog-hero p { margin-top: 14px; font-size: 14px; }
    .category-hero p { margin: 0 0 14px; font-size: 18px; }
    .category-results { padding: 15px; }
    .blog-section { padding: 42px 0 60px; }
    .blog-toolbar { align-items: stretch; flex-direction: column; }
    .search-form input { width: 100%; }
    .blog-grid { grid-template-columns: 1fr; }
    .footer-inner { align-items: flex-start; flex-direction: column; }
    .footer-inner > a { margin-left: 0; }
}
