/* Blog pages and editor. The palette follows the site's editable theme variables. */
.blog-shell { color: var(--site-ink, #142b36); }
.blog-container { width: min(100% - 2.5rem, 78rem); margin-inline: auto; }
.blog-eyebrow { color: var(--site-primary, #0c7882); font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.blog-intro { position: relative; overflow: hidden; border-bottom: 1px solid #d9e5e3; background: linear-gradient(115deg, #f8fbf9 0%, #eaf4f1 65%, #e2eeea 100%); }
.blog-intro::after { content: ''; position: absolute; right: -8rem; bottom: -17rem; width: 38rem; height: 38rem; border: 1px solid #c9dfd9; border-radius: 50%; box-shadow: 0 0 0 5rem #d9eae62c, 0 0 0 10rem #d9eae61f; pointer-events: none; }
.blog-intro-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 3rem; align-items: center; min-height: 25rem; padding-block: 4.5rem; }
.blog-intro h1 { margin-top: 1rem; color: var(--site-primary-dark, #0d3442); font-size: clamp(2.7rem, 5vw, 4.6rem); font-weight: 800; letter-spacing: -.06em; line-height: 1.12; }
.blog-intro h1 em { color: var(--site-primary, #0c7882); font-style: normal; }
.blog-intro p:last-child { max-width: 41rem; margin-top: 1.3rem; color: #58717b; font-size: 1.05rem; line-height: 1.8; }
.blog-intro-mark { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 17rem; height: 17rem; border: 1px solid #c8dcd6; border-radius: 2rem; background: #ffffffb3; box-shadow: 0 20px 60px -40px #123b46a1; transform: rotate(-6deg); }
.blog-intro-mark span { color: var(--site-primary-dark, #0d3442); font-size: 6rem; font-weight: 800; line-height: 1; }
.blog-intro-mark small { margin-top: 1.25rem; color: #5e777e; font-size: .64rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.blog-list-section { padding-block: 4.5rem 6rem; }
.blog-list-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.blog-list-heading h2 { margin-top: .45rem; color: var(--site-primary-dark, #0d3442); font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.04em; }
.blog-list-heading > p { max-width: 25rem; color: #60747b; font-size: .92rem; line-height: 1.7; }
.blog-list-heading > a { color: var(--site-primary, #0c7882); font-size: .9rem; font-weight: 800; }
.blog-filter { display: flex; gap: .7rem; margin-bottom: 2rem; padding: .75rem; border: 1px solid #dae5e3; border-radius: 1rem; background: #fff; box-shadow: 0 15px 40px -38px #1739439e; }
.blog-filter input, .blog-filter select { min-height: 2.8rem; border: 1px solid #d8e4e2; border-radius: .65rem; background: #f8faf9; color: #1b3842; font-size: .88rem; }
.blog-filter input { min-width: 10rem; flex: 1; padding-inline: .95rem; }
.blog-filter select { min-width: 12rem; padding-inline: .8rem; }
.blog-filter button { min-width: 7.5rem; border-radius: .65rem; background: var(--site-primary-dark, #0d3442); color: #fff; font-size: .84rem; font-weight: 800; cursor: pointer; }
.blog-clear-filter { align-self: center; padding-inline: .5rem; color: var(--site-primary, #0c7882); font-size: .85rem; font-weight: 700; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.blog-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #dce6e3; border-radius: 1.15rem; background: #fff; box-shadow: 0 20px 45px -43px #102f3bbf; transition: transform .2s ease, box-shadow .2s ease; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 24px 46px -36px #102f3b8c; }
.blog-card-cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #e6efec; }
.blog-card-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.blog-card:hover .blog-card-cover img { transform: scale(1.035); }
.blog-cover-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(135deg, #133b47, #126f75); color: #fff; }
.blog-cover-placeholder b { font-size: 4.5rem; font-weight: 800; line-height: 1; }
.blog-cover-placeholder small { margin-top: .6rem; color: #cae4df; font-size: .6rem; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.blog-card-body { display: flex; flex: 1; flex-direction: column; padding: 1.55rem; }
.blog-card-meta { display: flex; justify-content: space-between; gap: 1rem; color: #6b7f85; font-size: .72rem; font-weight: 700; }
.blog-card-meta span:first-child { color: var(--site-primary, #0c7882); text-transform: uppercase; letter-spacing: .07em; }
.blog-card h3 { margin-top: .8rem; color: var(--site-primary-dark, #0d3442); font-size: 1.18rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.4; }
.blog-card h3 a:hover { color: var(--site-primary, #0c7882); }
.blog-card-body > p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; margin-top: .7rem; color: #5d737c; font-size: .87rem; line-height: 1.7; }
.blog-card-footer { display: flex; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.4rem; color: #71818a; font-size: .78rem; font-weight: 700; }
.blog-card-footer a { color: var(--site-primary, #0c7882); font-weight: 800; }
.blog-empty { grid-column: 1 / -1; padding: 4rem 2rem; border: 1px dashed #bfd4cf; border-radius: 1rem; background: #fff; text-align: center; }
.blog-empty h3 { color: #163745; font-size: 1.3rem; font-weight: 800; }.blog-empty p { margin-top: .4rem; color: #5d737c; }.blog-empty a { display: inline-block; margin-top: 1rem; color: var(--site-primary, #0c7882); font-weight: 800; }
.blog-pagination { margin-top: 2rem; }
.blog-article-header { padding-block: 2.2rem 2.8rem; }
.blog-breadcrumb { display: flex; flex-wrap: wrap; gap: .65rem; color: #72838a; font-size: .77rem; font-weight: 700; }.blog-breadcrumb a:hover { color: var(--site-primary, #0c7882); }
.blog-article-heading { max-width: 52rem; margin: 3.2rem auto 0; text-align: center; }.blog-article-heading h1 { margin-top: .9rem; color: var(--site-primary-dark, #0d3442); font-size: clamp(2.2rem, 4.5vw, 3.75rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.17; }.blog-article-heading > p:not(.blog-eyebrow) { margin-top: 1.25rem; color: #59717b; font-size: 1.1rem; line-height: 1.78; }.blog-article-meta { display: flex; justify-content: center; gap: .7rem; margin-top: 1.45rem; color: #60757c; font-size: .83rem; font-weight: 700; }.blog-meta-dot { color: var(--site-primary, #0c7882); }
.blog-article-cover { overflow: hidden; border-radius: 1.15rem; }.blog-article-cover img { display: block; width: 100%; max-height: 38rem; object-fit: cover; }
.blog-article-layout { display: grid; grid-template-columns: minmax(0, 47rem) minmax(12rem, 18rem); justify-content: center; gap: 4rem; padding-block: 3.7rem 6rem; }
.blog-prose { min-width: 0; color: #243f49; font-size: 1rem; line-height: 1.9; overflow-wrap: anywhere; }.blog-prose > :first-child { margin-top: 0; }.blog-prose h2 { margin: 2.5rem 0 .8rem; color: #123745; font-size: 1.65rem; font-weight: 800; line-height: 1.35; letter-spacing: -.03em; }.blog-prose h3 { margin: 2rem 0 .6rem; color: #123745; font-size: 1.3rem; font-weight: 800; }.blog-prose p { margin: 1rem 0; }.blog-prose a { color: var(--site-primary, #0c7882); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }.blog-prose ul, .blog-prose ol { margin: 1.25rem 0; padding-left: 1.5rem; }.blog-prose ul { list-style: disc; }.blog-prose ol { list-style: decimal; }.blog-prose li { margin: .35rem 0; padding-left: .15rem; }.blog-prose blockquote { margin: 1.8rem 0; padding: 1rem 1.4rem; border-left: 4px solid var(--site-primary, #0c7882); border-radius: 0 .7rem .7rem 0; background: #edf5f2; color: #315560; }.blog-prose img { height: auto; max-width: 100%; margin: 2rem auto .5rem; border-radius: .9rem; }.blog-prose table { display: block; max-width: 100%; overflow-x: auto; margin: 1.5rem 0; border-collapse: collapse; }.blog-prose td, .blog-prose th { border: 1px solid #d7e3e0; padding: .65rem .8rem; }.blog-prose th { background: #eff6f3; text-align: left; }.blog-prose code { padding: .08rem .35rem; border-radius: .25rem; background: #eaf2f0; font-size: .85em; }.blog-prose pre { overflow: auto; margin: 1.5rem 0; padding: 1rem; border-radius: .7rem; background: #15313d; color: #e9f7f3; }.blog-prose pre code { padding: 0; background: none; color: inherit; }
.blog-aside { display: flex; flex-direction: column; gap: 1rem; }.blog-aside-card, .blog-aside-cta { align-self: stretch; padding: 1.5rem; border: 1px solid #dae6e2; border-radius: 1rem; background: #fff; }.blog-aside-card > span { color: var(--site-primary, #0c7882); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }.blog-aside-card strong { display: block; margin-top: .6rem; color: #153743; font-size: 1.1rem; }.blog-aside-card p { margin-top: .45rem; color: #647982; font-size: .83rem; }.blog-aside-card a { display: inline-block; margin-top: 1.4rem; color: var(--site-primary, #0c7882); font-size: .85rem; font-weight: 800; }.blog-aside-cta { background: #133745; color: #fff; }.blog-aside-cta > span { font-weight: 800; }.blog-aside-cta p { margin-top: .6rem; color: #c2d9d8; font-size: .84rem; line-height: 1.6; }.blog-aside-cta a { display: inline-block; margin-top: 1.1rem; color: #a0e8dd; font-size: .84rem; font-weight: 800; }
.blog-related { padding-bottom: 5rem; }.blog-card-small .blog-card-body { min-height: 10rem; }

/* Management workspace */
.blog-admin { padding-bottom: 3rem; }.blog-admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.65rem; }.blog-admin-notice { margin-bottom: 1.3rem; padding: .9rem 1.1rem; border: 1px solid #b7e3cf; border-radius: .7rem; background: #ecfdf4; color: #166345; font-size: .85rem; font-weight: 700; }.blog-admin-error { margin-bottom: 1.3rem; padding: 1rem 1.2rem; border: 1px solid #fecaca; border-radius: .7rem; background: #fff1f2; color: #9f1239; font-size: .85rem; }.blog-admin-error ul { margin-top: .5rem; padding-left: 1.2rem; list-style: disc; }
.blog-admin-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .85rem; margin-bottom: 1.2rem; }.blog-admin-stats > div { padding: 1.3rem; border: 1px solid #dce6e7; border-radius: .9rem; background: #fff; box-shadow: 0 12px 30px -28px #18384280; }.blog-admin-stats span, .blog-admin-stats small { display: block; color: #617680; font-size: .72rem; font-weight: 700; }.blog-admin-stats strong { display: block; margin: .55rem 0 .25rem; color: #143847; font-size: 1.75rem; font-weight: 800; letter-spacing: -.045em; }
.blog-admin-stats > div:last-child strong { font-size: clamp(1.1rem, 1.8vw, 1.5rem); overflow-wrap: anywhere; }
.blog-admin-trend { margin-bottom: 1.2rem; padding: 1.3rem 1.5rem; }.blog-admin-trend h2, .blog-admin-table-head h2 { color: #173b48; font-size: 1.05rem; font-weight: 800; }.blog-admin-trend p, .blog-admin-table-head p { margin-top: .2rem; color: #6a7d85; font-size: .78rem; }.blog-trend-bars { display: grid; grid-template-columns: repeat(14, 1fr); align-items: end; gap: .45rem; height: 6rem; margin-top: 1rem; border-bottom: 1px solid #dce8e8; }.blog-trend-bars > div { display: flex; align-items: end; height: 100%; }.blog-trend-bars > div span { width: 100%; min-height: 4px; border-radius: .3rem .3rem 0 0; background: linear-gradient(180deg, var(--admin-accent, #0e7490), #8dc7c2); }.blog-trend-axis { display: flex; justify-content: space-between; margin-top: .4rem; color: #84939a; font-size: .68rem; font-weight: 700; }
.blog-admin-table { overflow: hidden; }.blog-admin-table-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.5rem; border-bottom: 1px solid #e2ebeb; }.blog-admin-filter { display: flex; gap: .5rem; }.blog-admin-filter input, .blog-admin-filter select { min-height: 2.35rem; padding: .4rem .7rem; border: 1px solid #d8e3e5; border-radius: .45rem; background: #fff; color: #25444f; font-size: .8rem; }.blog-admin-filter button { padding: .4rem .9rem; border-radius: .45rem; background: #153b49; color: #fff; font-size: .8rem; font-weight: 800; cursor: pointer; }.blog-admin-table-scroll { overflow-x: auto; }.blog-admin-table table { width: 100%; border-collapse: collapse; font-size: .82rem; }.blog-admin-table th { padding: .85rem 1.2rem; background: #f6f9f9; color: #688087; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-align: left; text-transform: uppercase; }.blog-admin-table td { padding: .95rem 1.2rem; border-top: 1px solid #e9efef; color: #5b727c; }.blog-admin-post-cell { display: flex; align-items: center; gap: .85rem; min-width: 17rem; }.blog-admin-post-cell img, .blog-admin-no-cover { flex: 0 0 3.5rem; width: 3.5rem; height: 2.8rem; border-radius: .4rem; object-fit: cover; }.blog-admin-no-cover { display: grid; place-items: center; background: #dcecea; color: #0c7882; font-weight: 800; }.blog-admin-post-cell strong, .blog-admin-post-cell small { display: block; }.blog-admin-post-cell strong { color: #1d3f4b; font-weight: 800; line-height: 1.35; }.blog-admin-post-cell small { margin-top: .25rem; color: #88989e; font-size: .68rem; }.blog-state { display: inline-flex; padding: .3rem .6rem; border-radius: 99px; font-size: .7rem; font-weight: 800; white-space: nowrap; }.blog-state-live { background: #e7f7ed; color: #13744f; }.blog-state-scheduled { background: #eaf5fb; color: #12688e; }.blog-state-draft { background: #eef1f4; color: #596b75; }.blog-table-action { text-align: right!important; white-space: nowrap; }.blog-table-action a { margin-left: .75rem; color: #0a7b87; font-weight: 800; }.blog-table-empty { padding: 3rem!important; text-align: center; }.blog-table-empty a { color: #0a7b87; font-weight: 800; }.blog-admin-pagination { padding: 1rem 1.5rem; border-top: 1px solid #e2ebeb; }
.blog-back-link { display: inline-block; margin-bottom: .65rem; color: #0b7786; font-size: .8rem; font-weight: 800; }.blog-editor-live-link { color: #0b7786; font-size: .82rem; font-weight: 800; }.blog-editor-grid { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 1.2rem; align-items: start; }.blog-editor-main { display: grid; gap: 1.2rem; }.blog-editor-side { position: sticky; top: 1.2rem; }.blog-editor-panel { padding: 1.5rem; }.blog-editor-section-title { display: flex; align-items: start; gap: .8rem; margin-bottom: 1.3rem; }.blog-editor-section-title > span { display: grid; place-items: center; width: 2rem; height: 2rem; flex: 0 0 2rem; border-radius: .5rem; background: #e9f5f2; color: #0b7884; font-size: .69rem; font-weight: 800; }.blog-editor-section-title h2 { color: #173b48; font-size: 1.05rem; font-weight: 800; }.blog-editor-section-title p { margin-top: .15rem; color: #71838a; font-size: .76rem; line-height: 1.5; }.blog-editor-fields { display: grid; gap: 1.1rem; }.blog-editor-fields label:not(.blog-editor-check), .blog-image-upload label { display: block; margin-bottom: .4rem; color: #405962; font-size: .78rem; font-weight: 800; }.blog-editor-fields label b { color: #b65c4c; }.blog-editor-fields .form-field, .blog-image-upload .form-field { display: block; width: 100%; }.blog-editor-fields small { display: block; margin-top: .35rem; color: #88979e; font-size: .68rem; line-height: 1.5; }.blog-input-prefix { display: flex; align-items: center; gap: .4rem; }.blog-input-prefix > span { color: #81939b; font-size: .78rem; white-space: nowrap; }.blog-editor-toolbar { display: flex; gap: .3rem; padding: .45rem; border: 1px solid #d8e5e6; border-bottom: 0; border-radius: .5rem .5rem 0 0; background: #f5f9f9; }.blog-editor-toolbar button { min-width: 2.1rem; height: 1.9rem; border: 1px solid transparent; border-radius: .35rem; color: #3e5c67; font-size: .8rem; font-weight: 800; cursor: pointer; }.blog-editor-toolbar button:hover { border-color: #cbdde0; background: #fff; }.blog-body-field { border-radius: 0 0 .5rem .5rem!important; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .82rem; line-height: 1.8; }.blog-cover-preview { max-height: 16rem; border-radius: .7rem; object-fit: contain; }.blog-editor-check { display: flex; align-items: center; gap: .55rem; color: #4b6670; font-size: .78rem; font-weight: 700; }.blog-editor-check input[type=checkbox] { width: 1rem; height: 1rem; accent-color: #0d7885; }.blog-serp-preview { padding: 1rem; border: 1px solid #dce6e6; border-radius: .6rem; background: #fbfdfc; }.blog-serp-preview small, .blog-serp-preview span, .blog-serp-preview strong, .blog-serp-preview p { display: block; }.blog-serp-preview small { margin: 0 0 .65rem; color: #81939a; font-size: .68rem; font-weight: 800; }.blog-serp-preview span { color: #3b8062; font-size: .7rem; }.blog-serp-preview strong { margin-top: .2rem; color: #1d4b9b; font-size: .92rem; }.blog-serp-preview p { margin-top: .25rem; color: #65747b; font-size: .75rem; line-height: 1.55; }.blog-editor-save { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 2.8rem; padding-inline: 1rem; border-radius: .6rem; background: #143b49; color: #fff; font-size: .82rem; font-weight: 800; cursor: pointer; }.blog-editor-save:hover { background: #0b7885; }.blog-editor-metrics { padding-top: .9rem; border-top: 1px solid #e5eded; }.blog-editor-metrics span, .blog-editor-metrics small { display: block; color: #81929a; font-size: .68rem; }.blog-editor-metrics strong { display: block; color: #183f4d; font-size: 1.65rem; font-weight: 800; }
.blog-inline-images { margin-top: 1.2rem; }.blog-image-upload { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: .85rem; align-items: end; }.blog-image-upload button { min-height: 2.7rem; padding-inline: .95rem; border-radius: .55rem; background: #0b7786; color: #fff; font-size: .78rem; font-weight: 800; cursor: pointer; }.blog-image-upload button:disabled { opacity: .6; cursor: wait; }.blog-upload-feedback { min-height: 1.2rem; margin-top: .8rem; color: #126f6e; font-size: .77rem; font-weight: 700; }.blog-image-library { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: .7rem; margin-top: 1rem; }.blog-image-library > div { overflow: hidden; border: 1px solid #dce7e8; border-radius: .6rem; background: #fbfdfd; }.blog-image-library img { width: 100%; height: 6.5rem; object-fit: cover; }.blog-image-library p { overflow: hidden; padding: .45rem .6rem; color: #5b7079; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }.blog-image-library button { padding: .3rem .6rem; color: #0b7786; font-size: .7rem; font-weight: 800; cursor: pointer; }.blog-image-library .blog-image-delete { color: #ac4557; }.blog-admin-preview { max-width: 49rem; }.blog-delete-post { margin-top: 1.2rem; }.blog-delete-post button { color: #b13e56; font-size: .75rem; font-weight: 800; text-decoration: underline; cursor: pointer; }
@media (max-width: 1100px) { .blog-admin-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }.blog-editor-grid { grid-template-columns: minmax(0, 1fr) 17rem; } }
@media (max-width: 800px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.blog-intro-grid { grid-template-columns: 1fr; }.blog-intro-mark { display: none; }.blog-article-layout { grid-template-columns: 1fr; gap: 2rem; }.blog-aside { display: grid; grid-template-columns: repeat(2, 1fr); }.blog-editor-grid { grid-template-columns: 1fr; }.blog-editor-side { position: static; order: -1; }.blog-admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .blog-container { width: min(100% - 1.5rem, 78rem); }.blog-intro-grid { min-height: 0; padding-block: 3.2rem; }.blog-list-section { padding-block: 3rem 4rem; }.blog-list-heading { align-items: start; flex-direction: column; gap: .4rem; }.blog-filter { flex-wrap: wrap; }.blog-filter input, .blog-filter select { width: 100%; }.blog-filter button { min-height: 2.6rem; flex: 1; }.blog-grid { grid-template-columns: 1fr; }.blog-article-heading { margin-top: 2rem; text-align: left; }.blog-article-meta { justify-content: start; }.blog-article-layout { padding-block: 2rem 4rem; }.blog-aside { grid-template-columns: 1fr; }.blog-admin-heading, .blog-admin-table-head { align-items: start; flex-direction: column; }.blog-admin-stats { gap: .5rem; }.blog-admin-stats > div { padding: .9rem; }.blog-admin-stats strong { font-size: 1.4rem; }.blog-admin-filter { width: 100%; flex-wrap: wrap; }.blog-admin-filter input { flex: 1; }.blog-admin-table th, .blog-admin-table td { padding: .75rem; }.blog-editor-panel { padding: 1rem; }.blog-image-upload { grid-template-columns: 1fr; } }
