/* ==========================================================================
   Blog — listing (/blogs) and post (/blog/<slug>)
   Extracted from the per-page <style> blocks into one structured sheet.
   Palette from the site tokens on :root in style.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Shared layout
   -------------------------------------------------------------------------- */
.blog-wrap        { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; padding: 48px 0; }
.bpost-wrap       { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; padding: 44px 0; }

@media (max-width: 900px) {
  .blog-wrap  { grid-template-columns: 1fr; gap: 32px; }
  .bpost-wrap { grid-template-columns: 1fr; gap: 32px; }
  .blog-sidebar { position: static; }
}

/* --------------------------------------------------------------------------
   Listing
   -------------------------------------------------------------------------- */
.blog-lead h1     { font-size: clamp(1.6rem, 3.5vw, 2.2rem); color: #0f4d47; font-weight: 300; margin-bottom: 6px; }
.blog-lead p      { color: #6b6b6b; margin-bottom: 28px; }

.blog-cards       { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.blog-card        { background: #fff; border: 1px solid #ececec; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 20px rgba(0, 0, 0, .05); display: flex; flex-direction: column; }
.blog-card a.blog-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card img    { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover img { transform: scale(1.05); }
.blog-card-body   { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card-body h2 { font-size: 1.12rem; line-height: 1.35; margin: 0 0 8px; }
.blog-card-body h2 a { color: #0f4d47; text-decoration: none; }
.blog-card-body h2 a:hover { color: #00796b; }
.blog-card-meta   { font-size: .78rem; color: #9a9a9a; margin-bottom: 10px; }
.blog-card-body p { font-size: .9rem; color: #5f574d; line-height: 1.55; margin: 0 0 14px; }
.blog-card-more   { margin-top: auto; font-size: .85rem; font-weight: 600; color: #00796b; text-decoration: none; }

.blog-empty       { padding: 60px 0; text-align: center; color: #8a8078; }

/* --------------------------------------------------------------------------
   Single post — article
   -------------------------------------------------------------------------- */
.bpost-article    { min-width: 0; }
.bpost-crumbs     { font-size: .8rem; color: #9a9a9a; margin-bottom: 14px; }
.bpost-crumbs a   { color: #00796b; text-decoration: none; }
.bpost-article h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); color: #0f4d47; font-weight: 300; line-height: 1.25; margin: 0 0 12px; }
.bpost-meta       { font-size: .85rem; color: #8a8a8a; margin-bottom: 22px; }
.bpost-cover      { width: 100%; height: 380px; object-fit: cover; object-position: center; border-radius: 16px; margin-bottom: 28px; box-shadow: 0 14px 34px rgba(0, 0, 0, .12); }
@media (max-width: 767.98px) { .bpost-cover { height: 220px; margin-bottom: 22px; } }

.bpost-body       { color: #3f3f3f; font-size: 1.02rem; line-height: 1.75; }
.bpost-body h2    { color: #0f4d47; font-weight: 400; font-size: 1.5rem; margin: 34px 0 12px; }
.bpost-body h3    { color: #0f4d47; font-weight: 500; font-size: 1.2rem; margin: 26px 0 10px; }
.bpost-body p     { margin: 0 0 18px; }
.bpost-body ul, .bpost-body ol { margin: 0 0 18px; padding-left: 22px; }
.bpost-body li    { margin-bottom: 8px; }
.bpost-body img   { max-width: 100%; height: auto; border-radius: 12px; margin: 18px 0; }
.bpost-body a     { color: #00796b; }
.bpost-body blockquote { border-left: 3px solid #00796b; margin: 20px 0; padding: 6px 0 6px 18px; color: #5f574d; font-style: italic; }

.bpost-tags       { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0; }
.bpost-tags a     { background: #e6f4f2; color: #00796b; font-size: .8rem; padding: 6px 12px; border-radius: 999px; text-decoration: none; }

.bpost-nav        { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #ececec; padding-top: 22px; }
.bpost-nav a      { text-decoration: none; max-width: 48%; }
.bpost-nav .lbl   { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: #9a9a9a; }
.bpost-nav .ttl   { color: #0f4d47; font-weight: 600; font-size: .92rem; }
.bpost-nav .next  { text-align: right; margin-left: auto; }

.bpost-cta        { background: linear-gradient(135deg, #0f4d47, #024e46); color: #fff; border-radius: 16px; padding: 30px; text-align: center; margin-top: 34px; }
.bpost-cta h2     { color: #fff; font-weight: 300; font-size: 1.3rem; margin: 0 0 16px; }
.bpost-cta a button { background: var(--main-yellow); color: #1a1a1a; border: none; border-radius: 999px; padding: 11px 26px; font-weight: 600; }

/* --------------------------------------------------------------------------
   Sidebar (listing + post)
   -------------------------------------------------------------------------- */
.blog-sidebar       { position: sticky; top: 90px; }
.blog-sidebar-block { background: #fff; border: 1px solid #ececec; border-radius: 14px; padding: 20px; margin-bottom: 22px; box-shadow: 0 6px 20px rgba(0, 0, 0, .04); }
.blog-side-item     { display: flex; gap: 12px; align-items: center; text-decoration: none; color: #333; padding: 8px 0; border-top: 1px solid #f0f0f0; }
.blog-side-item:first-of-type { border-top: none; }
.blog-side-item img { width: 56px; height: 44px; object-fit: cover; border-radius: 8px; flex: 0 0 56px; }
.blog-side-item span { font-size: .88rem; line-height: 1.3; }
.blog-side-item:hover span { color: #00796b; }
.blog-tags          { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-tag           { background: #e6f4f2; color: #00796b; font-size: .8rem; padding: 6px 12px; border-radius: 999px; text-decoration: none; }
.blog-tag:hover     { background: #00796b; color: #fff; }
