/* AHMC Global – WordPress-specific additions (loads last) */

/* Admin bar: the header is fixed, so push it below the bar */
.admin-bar .glass{top:32px}
.admin-bar .scroll-progress{top:32px}
@media(max-width:782px){.admin-bar .glass,.admin-bar .scroll-progress{top:46px}}
@media(max-width:600px){.admin-bar .glass,.admin-bar .scroll-progress{top:0}}

/* Core WordPress 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}
.alignleft{float:left;margin:0 1.5em 1em 0}.alignright{float:right;margin:0 0 1em 1.5em}.aligncenter{display:block;margin-left:auto;margin-right:auto}
.wp-caption{max-width:100%}.wp-caption-text,figcaption{font-size:14px;color:var(--muted)}
.post-body img,.post-body figure{max-width:100%;height:auto;border-radius:12px}
.post-body .wp-block-image{margin:1.6em 0}
.post-body::after{content:"";display:table;clear:both}
.post-body table{width:100%;border-collapse:collapse;margin:1.6em 0;font-size:16px}
.post-body th,.post-body td{border:1px solid var(--border);padding:10px 14px;text-align:left}
.post-body th{background:var(--sky,#eef3fb)}
.post-body blockquote{border-left:4px solid var(--blue);padding:4px 0 4px 22px;margin:1.6em 0;color:var(--text)}

/* Team photos & socials */
.t-card .av.has-photo{padding:0;overflow:hidden;background:#fff}
.t-card .av.has-photo img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
.t-card .t-social{display:inline-grid;place-items:center;width:34px;height:34px;margin-top:14px;border-radius:50%;background:var(--sky,#eef3fb);color:var(--blue2);text-decoration:none;transition:background .3s,color .3s}
.t-card .t-social:hover{background:var(--blue2);color:#fff}

/* Testimonial avatar photos */
.testi-av{overflow:hidden}
.testi-av img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}

/* Blog category filter + pagination */
.cat-pill{display:inline-block;padding:8px 18px;border-radius:100px;border:1px solid var(--border);background:#fff;color:var(--ink);font-size:14px;font-weight:600;text-decoration:none;transition:background .25s,color .25s,border-color .25s}
.cat-pill:hover,.cat-pill.active{background:var(--navy,#14357a);border-color:var(--navy,#14357a);color:#fff}
.ahmc-pagination .page-link{min-width:44px;height:44px;display:inline-grid;place-items:center;border-radius:12px!important;margin:0 4px;border:1px solid var(--border);color:var(--ink);font-weight:600}
.ahmc-pagination .active .page-link{background:var(--navy,#14357a);border-color:var(--navy,#14357a);color:#fff}
.ahmc-pagination .page-link:hover{background:var(--sky,#eef3fb);color:var(--blue2)}
.ahmc-pagination .dots{border:0}

/* Vacancies */
.vac-more{margin:0 0 20px;border-top:1px dashed var(--border);padding-top:14px}
.vac-more summary{cursor:pointer;font-weight:600;color:var(--blue2)}
.vac-more .post-body{font-size:15px;margin-top:12px}
.vac-empty{background:#fff;border:1px dashed var(--border);border-radius:16px;padding:40px;text-align:center}
.vac-empty h3{margin-bottom:10px}

/* Post hero meta when category is not in the hero */
.post-cat{display:inline-block}

/* Generic forms (search, password-protected posts) */
.search-form{display:flex;gap:8px}.search-form input[type=search]{flex:1;padding:12px 16px;border:1px solid var(--border);border-radius:10px}
.search-form input[type=submit]{background:var(--navy,#14357a);color:#fff;border:0;border-radius:10px;padding:0 20px}
