.brim-blog-item-image{display:block;max-height:330px;object-fit:cover;width:100%;background:#edf2e9}
.brim-blog-item{scroll-margin-top:110px}
.brim-blog-item h3{font-size:1.3rem;color:#234b30}
.brim-blog-item p,.brim-blog-item li{line-height:1.75}
.brim-blog-item .badge{font-size:.77rem;white-space:normal;font-weight:500;padding:.4rem .6rem}
.brim-blog-promo{background:#f4f8f2;border-color:#b8d2bd!important}
.brim-blog-promo h3{color:#214d32}
.brim-travel a[href^="#brim-blog-item-"]{text-underline-offset:3px}
.brim-blog-item figure{margin:0 0 1.25rem}
.brim-travel .brim-blog-item-body img{max-width:100%;height:auto}
.brim-travel .brim-blog-item-body table{max-width:100%}
@media(max-width:700px){.brim-blog-item-image{max-height:240px}.brim-blog-promo .btn{width:100%}}

/* Opt-in editorial reading layout. Existing service and legacy guide layouts are unchanged.
   Measurements are Brim design defaults, not claimed measurements of the reference. */
.brim-editorial{--editorial-width:850px;--editorial-space:clamp(1.5rem,4vw,3rem);--editorial-green:#234b30}
.brim-editorial .brim-intro{background:#fff;padding:clamp(1.5rem,4vw,3rem) 0 1rem;margin-bottom:1rem}
.brim-editorial .brim-intro>.container,.brim-editorial .brim-reading-layout{max-width:var(--editorial-width);margin-inline:auto}
.brim-editorial .brim-intro h1{font-family:"Playfair Display",Georgia,serif;font-size:clamp(2rem,4.8vw,3.35rem);line-height:1.18;max-width:none;margin:.65rem 0 1rem;overflow-wrap:break-word}
.brim-editorial .brim-intro .brim-lead{font-size:clamp(1rem,1.4vw,1.12rem);line-height:1.85;font-weight:400;max-width:72ch;margin-bottom:1rem}
.brim-editorial .brim-intro .btn{margin-top:.5rem;white-space:normal}
.brim-editorial .brim-reading-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:1.5rem}
.brim-editorial .brim-toc{position:static;max-height:none;overflow:visible;padding:1rem 1.25rem;border-radius:8px}
.brim-editorial .brim-toc ol{columns:2;column-gap:2rem}
.brim-editorial .brim-toc li{break-inside:avoid}
.brim-editorial .brim-article{max-width:none;min-width:0;font-size:clamp(1rem,1.25vw,1.08rem);overflow-wrap:break-word}
.brim-editorial .brim-article>section{margin-block:var(--editorial-space)}
.brim-editorial .brim-article h2{font-family:"Playfair Display",Georgia,serif;font-size:clamp(1.6rem,3.1vw,2.15rem);line-height:1.28;color:var(--editorial-green);margin:0 0 1rem}
.brim-editorial .brim-article h3{font-size:clamp(1.2rem,2.3vw,1.45rem);line-height:1.4}
.brim-editorial .brim-article p,.brim-editorial .brim-article li{line-height:1.8}
.brim-editorial .brim-feature-image{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;border-radius:9px}
.brim-editorial .brim-article figure{margin:0 0 1.4rem}
.brim-editorial .brim-article figcaption{font-size:.85rem;line-height:1.5;color:#505a50;padding-top:.6rem}
.brim-editorial .brim-blog-item-image{height:auto;max-height:none;object-fit:contain;border-radius:8px!important}
.brim-editorial .brim-blog-item h3:first-child{margin-top:0}
.brim-editorial .brim-article .table-responsive{margin:1.25rem 0;max-width:100%}
.brim-editorial .brim-article table{font-size:.95rem;line-height:1.55;min-width:0}
.brim-editorial .brim-article td,.brim-editorial .brim-article th{overflow-wrap:anywhere;padding:.75rem .65rem;vertical-align:top}
.brim-editorial .brim-article a:not(.btn){text-underline-offset:.17em}
.brim-editorial .brim-article a:focus-visible,.brim-editorial .brim-toc summary:focus-visible,.brim-editorial .brim-toc a:focus-visible,.brim-editorial .brim-intro a:focus-visible{outline:3px solid #234b30;outline-offset:3px}
.brim-editorial .brim-editorial-resources{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.brim-editorial .brim-editorial-resources li{margin:0}
.brim-editorial .brim-editorial-resources a{display:block;height:100%;border:1px solid #d9dfd2;border-radius:8px;padding:1rem}
.brim-editorial .brim-editorial-footer{border-top:1px solid #d9dfd2;margin-top:2rem;padding-top:1rem;color:#505a50;font-size:.85rem}
@media(max-width:767px){.brim-editorial .brim-toc ol{columns:1}.brim-editorial .brim-intro>.container,.brim-editorial>.container{padding-inline:1rem}.brim-editorial .brim-editorial-resources{grid-template-columns:1fr}.brim-editorial .brim-intro .btn{display:block;width:100%;margin-left:0!important}.brim-editorial .brim-article td,.brim-editorial .brim-article th{padding:.5rem .35rem}}

