/* Blog list, single post and article typography (also used by the admin preview) */

/* Cards */
.blog-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.blog-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #E6EEF6; border-radius: 24px; background: #FFFFFF; box-shadow: 0 24px 46px -40px rgba(11, 46, 79, .55); transition: transform .3s ease, box-shadow .3s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 30px 56px -38px rgba(11, 46, 79, .6); }
.blog-card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #0085BE, #134575); }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: rgba(255, 255, 255, .9); }
.blog-tag { position: absolute; left: 1rem; top: 1rem; padding: .4rem .85rem; border: 1px solid rgba(255, 255, 255, .55); border-radius: 9999px; background: rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #FFFFFF; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.blog-card-body { display: flex; flex: 1; flex-direction: column; padding: 1.4rem 1.5rem 1.5rem; }
.blog-date { display: inline-flex; align-items: center; gap: .45rem; color: #64748B; font-size: .9rem; font-weight: 600; }
.blog-date svg { width: 1rem; height: 1rem; color: #0085BE; }
.blog-card-title { margin-top: .75rem; color: #0B2E4F; font-family: 'Outfit', sans-serif; font-size: 1.35rem; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a:hover { color: #0077AA; }
.blog-card-excerpt { margin-top: .6rem; color: #475569; font-size: 1rem; line-height: 1.65; }
.blog-card-more { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: 1rem; color: #0077AA; font-weight: 800; text-decoration: none; }
.blog-card-more:hover { gap: .6rem; }
.blog-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.blog-filters a { padding: .5rem 1rem; border: 1px solid #DAE6F1; border-radius: 9999px; background: #FFFFFF; color: #134575; font-size: .9rem; font-weight: 700; text-decoration: none; }
.blog-filters a.is-active, .blog-filters a:hover { border-color: #134575; background: #134575; color: #FFFFFF; }
.blog-empty { max-width: 560px; margin: 0 auto; padding: 2.5rem 1.5rem; border: 1px dashed #CBD5E1; border-radius: 24px; background: #FFFFFF; text-align: center; }
.blog-empty h2 { color: #0B2E4F; font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 800; }
.blog-empty p { margin-top: .5rem; color: #475569; }
.blog-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 2.5rem; }
.blog-pages a, .blog-pages span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 .9rem; border: 1px solid #DAE6F1; border-radius: 12px; background: #FFFFFF; color: #134575; font-weight: 700; text-decoration: none; }
.blog-pages .is-current { border-color: #134575; background: #134575; color: #FFFFFF; }
@media (min-width: 700px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }

/* Single post */
.post-wrap { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.post-crumbs { display: flex; flex-wrap: wrap; gap: .4rem; color: #64748B; font-size: .88rem; font-weight: 600; }
.post-crumbs a { color: #0077AA; text-decoration: none; }
.post-head { max-width: 860px; margin: 1rem auto 0; text-align: center; }
.post-cat { display: inline-block; padding: .35rem .9rem; border-radius: 9999px; background: #EEF4F9; color: #134575; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.post-title { margin-top: .9rem; color: #0B2E4F; font-family: 'Outfit', sans-serif; font-size: clamp(1.9rem, 5vw, 3.1rem); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
.post-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.1rem; margin-top: 1rem; color: #475569; font-size: .95rem; font-weight: 600; }
.post-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.post-meta svg { width: 1rem; height: 1rem; color: #0085BE; }
.post-cover { max-width: 1040px; margin: 2rem auto 0; overflow: hidden; border-radius: 28px; box-shadow: 0 34px 60px -44px rgba(11, 46, 79, .6); }
.post-cover img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; max-width: 1120px; margin: 2.5rem auto 0; }
.post-side { display: grid; gap: 1.25rem; align-content: start; }
.post-box { padding: 1.4rem; border: 1px solid #E6EEF6; border-radius: 22px; background: #FFFFFF; box-shadow: 0 20px 40px -36px rgba(11, 46, 79, .5); }
.post-box h2 { color: #0B2E4F; font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 800; }
.post-box--cta { border: 0; background: radial-gradient(80% 70% at 85% 10%, rgba(0, 133, 190, .5), transparent 70%), linear-gradient(150deg, #134575, #0B2E4F); color: #FFFFFF; }
.post-box--cta h2 { color: #FFFFFF; font-size: 1.3rem; }
.post-box--cta p { margin-top: .5rem; color: #DAE6F1; font-size: .95rem; line-height: 1.55; }
.post-box--cta a { display: inline-flex; margin-top: 1rem; padding: .7rem 1.1rem; border-radius: 9999px; background: #FFFFFF; color: #134575; font-weight: 800; text-decoration: none; }
.post-recent { margin-top: .75rem; display: grid; gap: .85rem; }
.post-recent a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: .75rem; align-items: center; color: #0B2E4F; font-size: .92rem; font-weight: 700; line-height: 1.35; text-decoration: none; }
.post-recent a:hover { color: #0077AA; }
.post-recent img, .post-recent .post-recent-ph { width: 64px; height: 52px; border-radius: 12px; object-fit: cover; background: linear-gradient(135deg, #0085BE, #134575); }
.post-recent small { display: block; margin-top: .15rem; color: #64748B; font-size: .78rem; font-weight: 600; }
.post-share { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.post-share a, .post-share button { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .4rem .85rem; border: 1px solid #DAE6F1; border-radius: 9999px; background: #FFFFFF; color: #134575; font: inherit; font-size: .85rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.post-share a:hover, .post-share button:hover { border-color: #134575; }
.post-related { max-width: 1120px; margin: 4rem auto 0; }
.post-related > h2 { margin-bottom: 1.5rem; color: #0B2E4F; font-family: 'Outfit', sans-serif; font-size: 1.75rem; font-weight: 800; text-align: center; }
.post-notice { max-width: 860px; margin: 0 auto 1rem; padding: .75rem 1rem; border-radius: 12px; background: #FFFBEB; color: #92400E; font-weight: 700; text-align: center; }
@media (min-width: 1024px) {
  .post-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 3.5rem; }
  .post-side { position: sticky; top: 110px; }
}

/* Article text */
.blog-prose { color: #334155; font-size: 1.08rem; line-height: 1.8; overflow-wrap: break-word; }
.blog-prose > * + * { margin-top: 1.1em; }
.blog-prose h2 { margin-top: 1.9em; color: #0B2E4F; font-family: 'Outfit', sans-serif; font-size: 1.65rem; font-weight: 800; line-height: 1.25; letter-spacing: -.015em; }
.blog-prose h3 { margin-top: 1.6em; color: #0B2E4F; font-family: 'Outfit', sans-serif; font-size: 1.3rem; font-weight: 800; line-height: 1.3; }
.blog-prose h4 { margin-top: 1.4em; color: #0B2E4F; font-weight: 800; }
.blog-prose a { color: #0077AA; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.blog-prose strong { color: #0F172A; }
.blog-prose ul, .blog-prose ol { padding-left: 1.4em; }
.blog-prose ul { list-style: disc; }
.blog-prose ol { list-style: decimal; }
.blog-prose li + li { margin-top: .4em; }
.blog-prose li::marker { color: #0085BE; }
.blog-prose blockquote { margin-left: 0; padding: 1rem 1.25rem; border-left: 4px solid #0085BE; border-radius: 0 14px 14px 0; background: #F4F8FC; color: #0B2E4F; font-style: italic; }
.blog-prose img { max-width: 100%; height: auto; border-radius: 18px; }
.blog-prose figure { margin-left: 0; margin-right: 0; }
.blog-prose figcaption { margin-top: .5rem; color: #64748B; font-size: .88rem; text-align: center; }
.blog-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.blog-prose th, .blog-prose td { padding: .65rem .8rem; border: 1px solid #E2E8F0; text-align: left; }
.blog-prose th { background: #F4F8FC; color: #0B2E4F; }
.blog-prose code { padding: .1em .35em; border-radius: 6px; background: #F1F5F9; font-size: .9em; }
.blog-prose pre { overflow-x: auto; padding: 1rem; border-radius: 14px; background: #0B2E4F; color: #E2E8F0; font-size: .9rem; }
.blog-prose pre code { padding: 0; background: none; }
.blog-prose hr { border: 0; border-top: 1px solid #E2E8F0; }
.blog-cta { margin-top: 2em; padding: 1.5rem; border-radius: 20px; background: linear-gradient(150deg, #134575, #0B2E4F); color: #DAE6F1; }
.blog-cta h3 { margin-top: 0 !important; color: #FFFFFF !important; }
.blog-cta p { margin-top: .4rem; }
.blog-cta a { display: inline-flex; margin-top: .9rem; padding: .65rem 1.1rem; border-radius: 9999px; background: #FFFFFF; color: #134575 !important; font-weight: 800; text-decoration: none !important; }
