/* ==========================================================================
   Bfriend × WordPress — additions that the static dist/ didn't need.
   Loaded after style.css. Keep this file small.
   ========================================================================== */

/* Admin bar: fixed header + mobile nav sit below it */
.admin-bar .site-header{top:var(--wp-admin--admin-bar--height,32px)}
.admin-bar .mobile-nav{top:calc(var(--header-h) + var(--wp-admin--admin-bar--height,32px))}
.admin-bar .float-phone{top:calc(var(--header-bottom,var(--header-h)) + var(--wp-admin--admin-bar--height,32px))}
@media (max-width:600px){.admin-bar .site-header{position:absolute}}

/* WP core helpers */
.screen-reader-text{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.entry-content img{height:auto;border-radius:var(--r-md)}
.entry-content .alignright{float:right;margin:0 0 1rem 1.5rem}
.entry-content .alignleft{float:left;margin:0 1.5rem 1rem 0}
.entry-content .aligncenter{display:block;margin-inline:auto}
.entry-content ol{margin-block:1rem;padding-right:1.5rem;list-style:decimal}
.entry-content::after{content:"";display:table;clear:both}
.wp-caption-text{font-size:.875em;opacity:.8;margin-top:.4rem}

/* Status pages: wysiwyg text keeps the dist spacing */
.status__text p+p{margin-top:.75em}

/* Service charter */
.service-charter__image{margin-top:2rem}
.service-charter__image img{width:100%;height:auto;border-radius:var(--r-md)}

/* Single post */
.single-post__media{margin:1.5rem 0 2rem}
.single-post__media img{width:100%;height:auto;border-radius:var(--r-md)}

/* Archive / search listing (no dist design – minimal, uses the dist tokens) */
.archive-page .container{max-width:1100px}
.archive-page__desc{margin-bottom:2rem}
.post-list{display:grid;gap:2rem;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
.post-card{display:flex;flex-direction:column;border-radius:var(--r-md);background:var(--cream);overflow:hidden}
.post-card__media img{width:100%;aspect-ratio:16/10;object-fit:cover}
.post-card__body{display:grid;gap:.5rem;padding:1.25rem 1.5rem 1.5rem}
.text-page .post-card__title{margin:0;font-size:clamp(1.15rem,1rem + .4vw,1.4rem)}
.text-page .post-card__title a{color:inherit;text-decoration:none}
.text-page .post-card__title a:hover{color:var(--accent)}
.post-card__date{display:block;font-size:.875rem;opacity:.75}
.text-page .pagination{margin-top:3rem}
.nav-links{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}
.nav-links .page-numbers{display:inline-grid;place-items:center;min-width:2.5rem;height:2.5rem;padding:0 .75rem;border-radius:.5rem;background:var(--cream);text-decoration:none}
.nav-links .page-numbers.current,.nav-links a.page-numbers:hover{background:var(--accent);color:#fff}
