/* Blog – same typography, header, footer, margins and botanical design as the guides. */
main[data-blog-view] [hidden] {display:none!important;}
.blog-hero {position:relative;overflow:hidden;padding:clamp(66px,6vw,105px) 0 clamp(65px,7vw,100px);background:linear-gradient(180deg,#edf5f9,#f7fafb)}
.blog-hero .shell {position:relative;z-index:1}
.blog-hero h1 {font:400 clamp(36px,4.5vw,50px)/1.15 Georgia,serif;color:#203e5b;margin:0 0 23px}
.blog-hero p {font-size:17px;line-height:1.75;color:#526a7f;max-width:720px;margin:0}
.blog-hero .guide-ornament {position:absolute;width:clamp(175px,20vw,275px);height:auto;top:3px;right:max(-35px,calc((100vw - 1510px)/2));opacity:.72;pointer-events:none;transform:rotate(-9deg)}
.blog-flow {padding:62px 0 105px}
.blog-controls {display:flex;gap:20px;align-items:end;flex-wrap:wrap;margin-bottom:14px}
.blog-filter-field {display:flex;align-items:center;gap:14px;color:#445c72;font-size:14px;font-weight:700;white-space:nowrap}
.blog-filter-field select {font:16px Arial,sans-serif;border:1px solid #cbdce7;border-radius:8px;min-width:182px;background:white;color:#233d5f;padding:12px 15px}
.blog-filter-field select:focus-visible,.blog-pager button:focus-visible {outline:3px solid #96bfda;outline-offset:2px}
.blog-entry {padding:42px 0 50px;border-bottom:1px solid #dce5eb}
.blog-entry:first-child {padding-top:35px}
.blog-entry:last-child {border-bottom:0}

.blog-entry-copy {min-width:0}
.blog-meta {display:flex;flex-wrap:wrap;gap:7px 17px;margin:0 0 17px;color:#507b9a;font-size:14px}
.blog-entry h2 {font:400 clamp(26px,2.5vw,32px)/1.25 Georgia,serif;color:#203e5b;margin:0 0 15px}

.blog-pager {display:flex;justify-content:center;align-items:center;gap:19px;margin-top:30px}
.blog-pager button {border:1px solid #bfd2df;border-radius:8px;padding:12px 17px;background:white;color:#234f75;font:700 14px Arial,sans-serif;cursor:pointer}
.blog-pager button:disabled {opacity:.35;cursor:default}
.blog-pager span {color:#52697b;font-size:14px}
.blog-status {margin:36px 0;color:#526a7e;font-size:17px}

@media(max-width:780px){.blog-entry{padding:38px 0}.blog-hero{padding:57px 0 67px}.blog-hero p{font-size:16px}.blog-hero .guide-ornament{width:150px;opacity:.33;right:-50px}.blog-flow{padding:35px 0 82px}}

@media(max-width:420px){.blog-filter-field{width:100%;}.blog-filter-field select{flex:1;min-width:0;width:auto;}}

/* Blog chicory: a continuous sprig crossing the hero boundary into the next section,
   instead of shrinking or clipping it inside one section. */
.blog-hero {
  overflow: visible;
  z-index: 1;
}
.blog-hero .guide-ornament {
  width: clamp(175px, 18vw, 215px);
  height: auto;
  top: auto;
  bottom: -88px;
  right: clamp(12px, 4vw, 72px);
  transform: rotate(-7deg);
  object-fit: contain;
  opacity: .63;
  z-index: 2;
}
.blog-flow {
  position: relative;
  z-index: 0;
}
@media (max-width: 780px) {
  .blog-hero .guide-ornament {
    width: clamp(155px, 44vw, 205px);
    top: auto;
    bottom: -50px;
    right: 4px;
    transform: rotate(-7deg);
    opacity: .43;
  }
}

/* Shared article typography: keep long titles readable without changing page headings. */

/* Full posts on the blog front page: no clipped preview or duplicate FB headline. */
.blog-entry.blog-entry--full {display:block;}
.blog-entry--full .blog-entry-copy {max-width:940px;}
.blog-entry--full .blog-entry-body {
  font:16px/1.85 Arial,sans-serif;
  color:#374e63;
  white-space:pre-line;
  overflow-wrap:anywhere;
}
.blog-entry-gallery {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:26px;max-width:980px;}
.blog-entry-gallery figure {margin:0;min-width:0;}
.blog-entry-gallery img {display:block;width:100%;height:auto;max-height:355px;object-fit:contain;border-radius:14px;background:#edf5f9;}
@media(max-width:780px) {.blog-entry-gallery {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}}
@media(max-width:480px) {.blog-entry-gallery {grid-template-columns:1fr;}.blog-entry--full .blog-entry-body {font-size:15px;}}

/* Place the category filter with the blog entries, without changing the
   public-site section rhythm or the chicory ornament. */
main[data-blog-view="list"] .blog-flow { padding-top: 42px; }
main[data-blog-view="list"] .blog-controls { margin-bottom: 4px; }
main[data-blog-view="list"] .blog-entry:first-child { padding-top: 18px; }
@media (max-width:780px) {
  main[data-blog-view="list"] .blog-flow { padding-top: 32px; }
}

/* Match the second decorative chicory on the other guide pages.
   Keep it inside the lower section's background, clear of the blog posts. */
main[data-blog-view="list"] .blog-flow { padding-bottom: 245px; }
main[data-blog-view="list"] .blog-flow .blog-secondary-flower {
  position: absolute;
  display: block;
  width: 195px;
  height: auto;
  left: 0;
  bottom: 8px;
  object-fit: contain;
  opacity: .39;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 1000px) {
  main[data-blog-view="list"] .blog-flow { padding-bottom: 165px; }
  main[data-blog-view="list"] .blog-flow .blog-secondary-flower {
    width: 150px;
    left: 0;
    bottom: 6px;
    opacity: .36;
  }
}
/* The existing hero flower must stay clear of the category selector on smaller screens. */
@media (max-width: 780px) {
  main[data-blog-view="list"] .blog-hero .guide-ornament {
    width: 100px;
    bottom: -8px;
    right: 12px;
    opacity: .40;
  }
}
@media (max-width: 480px) {
  main[data-blog-view="list"] .blog-flow { padding-bottom: 142px; }
  main[data-blog-view="list"] .blog-flow .blog-secondary-flower {
    width: 126px;
    left: 0;
    bottom: 4px;
    opacity: .33;
  }
}

/* Compact blog introduction: introduction, filters and Mirabel form one section.
   Keep the original background ornaments and the existing category behavior. */
main[data-blog-view="list"] .blog-hero {
  padding-top:48px;
  padding-bottom:67px;
}
.blog-hero-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 270px;
  gap:clamp(28px,3.5vw,50px);
  align-items:center;
  padding-right:145px;
}
.blog-hero-copy {min-width:0}
main[data-blog-view="list"] .blog-hero-copy p {max-width:690px}
main[data-blog-view="list"] .blog-hero .blog-controls {
  margin:25px 0 0;
  align-items:center;
  gap:14px 20px;
}
.blog-hero-mirabel {
  margin:0;
  width:270px;
  aspect-ratio:1;
  border:1px solid rgba(114,150,172,.22);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 12px 28px rgba(31,64,89,.10);
  background:#fff;
}
.blog-hero-mirabel img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
main[data-blog-view="list"] .blog-flow {padding-top:22px}
@media (max-width:1060px) {
  .blog-hero-layout {grid-template-columns:minmax(0,1fr) 245px;padding-right:110px;gap:28px}
  .blog-hero-mirabel {width:245px}
}
@media (max-width:820px) {
  .blog-hero-layout {grid-template-columns:minmax(0,1fr) 220px;padding-right:0;gap:26px}
  .blog-hero-mirabel {width:220px}
  main[data-blog-view="list"] .blog-hero {padding-top:40px;padding-bottom:58px}
}
@media (max-width:700px) {
  .blog-hero-layout {grid-template-columns:minmax(0,1fr);gap:20px}
  .blog-hero-mirabel {width:220px;justify-self:end}
  main[data-blog-view="list"] .blog-hero {padding-bottom:55px}
  main[data-blog-view="list"] .blog-hero .blog-controls {margin-top:20px}
  main[data-blog-view="list"] .blog-flow {padding-top:15px}
}
@media (max-width:420px) {
  .blog-hero-mirabel {width:205px}
}

/* SEO: accessible permalinks for individually indexable blog entries. */

