.blog-public { color: var(--theme-ink); }
.blog-section, .blog-content { min-width: 0; }
.blog-heading { margin-bottom: 34px; border-bottom: 1px solid #e2e6e9; padding-bottom: 24px; }
.blog-public h1 { font-family: inherit; font-size: 38px; line-height: 1.2; font-weight: 700; overflow-wrap: anywhere; letter-spacing: 0; }
.blog-public time { display: block; font-size: 13px; color: #65716e; margin: 12px 0; }
.blog-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.blog-post-card { border: 1px solid #e2e6e9; border-radius: 8px; overflow: hidden; min-width: 0; }
.blog-post-image { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; overflow: hidden; background: color-mix(in srgb, var(--theme-primary) 8%, white); color: var(--theme-primary); font-size: 36px; }
.blog-post-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.blog-post-image:hover img { transform: scale(1.03); }
.blog-post-copy { padding: 22px; }
.blog-post-copy h2 { font-size: 22px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.blog-post-copy p { color: #566460; font-size: 15px; line-height: 1.7; margin: 12px 0 18px; overflow-wrap: anywhere; }
.blog-read, .blog-back { display: inline-flex; align-items: center; gap: 10px; color: var(--theme-primary); font-weight: 700; }
.blog-back { margin-bottom: 28px; }
.blog-article { min-width: 0; width: 100%; }
.blog-article header { padding-bottom: 28px; }
.blog-intro { font-size: 19px; line-height: 1.7; color: #566460; margin-top: 20px; }
.blog-featured { width: 100%; max-height: 600px; object-fit: contain; margin-bottom: 32px; border-radius: 4px; }
.blog-prose { font-size: 17px; line-height: 1.85; overflow-wrap: anywhere; }
.blog-prose > * { margin: 0 0 22px; }
.blog-prose h2 { font-size: 27px; line-height: 1.35; font-weight: 700; margin-top: 36px; }
.blog-prose h3 { font-size: 22px; font-weight: 700; }
.blog-prose h4 { font-size: 19px; font-weight: 700; }
.blog-prose h5 { font-size: 17px; font-weight: 700; }
.blog-prose ul { list-style: disc; padding-left: 24px; }
.blog-prose ol { list-style: decimal; padding-left: 24px; }
.blog-prose a { color: var(--theme-primary); text-decoration: underline; }
.blog-prose blockquote { border-left: 3px solid var(--theme-accent); padding: 12px 24px; color: #566460; }
.blog-prose img { max-width: 100%; height: auto; }
.blog-video { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
.blog-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.blog-prose pre { overflow-x: auto; background: #f3f5f6; padding: 18px; }
.blog-pagination { display: flex; justify-content: center; gap: 24px; margin-top: 36px; }
.blog-pagination a { color: var(--theme-primary); font-weight: 700; }
.blog-preview-label { padding: 12px 18px; border: 1px solid #c6d8ce; background: #ecf5ef; margin-bottom: 24px; }
.blog-share { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 40px; padding-top: 22px; border-top: 1px solid #dce2e5; }
.blog-share-label { font-size: 15px; font-weight: 700; color: var(--theme-ink); }
.blog-share-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-share-actions :is(a,button) { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid color-mix(in srgb, var(--theme-primary) 25%, white); border-radius: 4px; background: white; color: var(--theme-ink); font-size: 18px; text-decoration: none; cursor: pointer; }
.blog-share-actions :is(a,button):hover { background: color-mix(in srgb, var(--theme-accent) 16%, white); border-color: var(--theme-primary); }
.blog-share-actions :is(a,button):focus-visible { outline: 3px solid var(--theme-accent); outline-offset: 3px; }
.blog-share-actions button:disabled { opacity: .55; cursor: wait; }
.blog-share-status { flex-basis: 100%; font-size: 14px; line-height: 1.5; color: var(--theme-ink); }
.blog-share-status:empty { display: none; }
.blog-share-url { flex-basis: 100%; width: 100%; min-width: 0; padding: 10px; border: 1px solid #cbd5e1; border-radius: 4px; background: white; color: var(--theme-ink); font: inherit; }
.blog-share [hidden] { display: none; }
@media (max-width: 600px) { .blog-share-actions { gap: 4px; } }
@media (max-width: 980px) { .blog-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.blog-gallery { margin: 28px 0; }
.blog-gallery-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.blog-gallery-item { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: color-mix(in srgb, var(--theme-primary) 8%, white); }
.blog-gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.blog-gallery-item:hover img { transform: scale(1.025); }
.blog-gallery-item:focus-visible { outline: 3px solid var(--theme-primary); outline-offset: 3px; }
.blog-gallery--collage .blog-gallery-items { grid-auto-flow: dense; }
.blog-gallery--collage .blog-gallery-item:nth-child(5n + 1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 260px; }
.blog-gallery--slider .swiper-initialized .blog-gallery-items { display: flex; gap: 0; }
.blog-gallery--slider .blog-gallery-items { grid-template-columns: minmax(0, 1fr); }
.blog-gallery--slider .blog-gallery-item { aspect-ratio: 16 / 10; }
.blog-gallery--slider .blog-gallery-item img { object-fit: contain; }
.blog-gallery-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 14px; font-size: 14px; }
.blog-gallery-controls button { width: 44px; height: 44px; border: 1px solid color-mix(in srgb, var(--theme-primary) 30%, white); border-radius: 50%; color: var(--theme-primary); background: white; cursor: pointer; }
.blog-gallery-controls button:disabled { opacity: .35; cursor: default; }
.blog-gallery-controls[hidden] { display: none; }
.blog-lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 64px 64px 92px; border: 0; background: rgb(8 12 13 / 97%); color: white; overflow: hidden; }
.blog-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.blog-lightbox::backdrop { background: #080c0d; }
.blog-lightbox > img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.blog-lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid #636969; border-radius: 50%; color: white; background: #222a2a; cursor: pointer; }
.blog-lightbox button[hidden] { display: none; }
.blog-lightbox-close { top: 14px; right: 16px; }
.blog-lightbox-prev { top: calc(50% - 24px); left: 8px; }
.blog-lightbox-next { top: calc(50% - 24px); right: 8px; }
.blog-lightbox-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-size: 14px; }
.blog-lightbox-caption { position: absolute; bottom: 48px; left: 64px; right: 64px; text-align: center; font-size: 14px; margin: 0; max-height: 36px; overflow: auto; overflow-wrap: anywhere; }
@media (max-width: 600px) { .blog-public h1 { font-size: 30px; } .blog-post-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } .blog-intro { font-size: 17px; } .blog-gallery-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .blog-gallery--collage .blog-gallery-item:nth-child(5n + 1) { min-height: 200px; } .blog-lightbox { padding: 64px 12px 100px; } .blog-lightbox-prev, .blog-lightbox-next { top: auto; bottom: 8px; } .blog-lightbox-prev { left: 16px; } .blog-lightbox-next { right: 16px; } .blog-lightbox-caption { left: 16px; right: 16px; bottom: 62px; } }
@media (prefers-reduced-motion: reduce) { .blog-gallery-item img { transition: none; } }
