/* =========================================================
   UTMARAB — WordPress additions (loaded after utm.css)
   ========================================================= */

/* Accessibility helpers */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; z-index: 100000; top: 8px; inset-inline-start: 8px; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: var(--radius); box-shadow: var(--shadow); }
.utm-hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* WordPress admin bar offsets for the sticky header */
.admin-bar .nav { top: 32px; }
.admin-bar .nav__mobile { inset: calc(var(--nav-h) + 32px) 0 0 0; }
.admin-bar .subnav { top: calc(var(--nav-h) + 32px); }
.admin-bar .journey__sticky { top: calc(var(--nav-h) + 92px); }
@media (max-width: 782px) {
  .admin-bar .nav { top: 46px; }
  .admin-bar .nav__mobile { inset: calc(var(--nav-h) + 46px) 0 0 0; }
  .admin-bar .subnav { top: calc(var(--nav-h) + 46px); }
}
@media (max-width: 600px) { #wpadminbar { position: fixed; } }

/* Templates without a dark hero (builder / canvas) get a solid header */
.utm-solid-nav .nav { background: var(--navy-ink); }

/* Images from the Media Library keep the design's sizing */
.page-hero__media img, .cta__bg img, .hero__photo img, .band__bg, .tile--photo img, .jcard__photo img, .split__img img, .post__img img, .event__img img, .news__feat img, .news__item img, .vcard__media img, .band__tiles img { height: 100%; }
.logo img { max-width: none; }

/* Core alignment & captions */
.alignleft { float: left; margin: 6px 0 16px 24px; }
.alignright { float: right; margin: 6px 24px 16px 0; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption, figure.wp-block-image { max-width: 100%; margin: 22px 0; }
.wp-caption-text, figcaption { font-size: 13.5px; color: var(--ink-3); margin-top: 8px; text-align: center; }
.prose img { height: auto; border-radius: var(--radius); }
.prose a:not(.btn) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose ol { padding-inline-start: 22px; list-style: decimal; margin: 10px 0; }
.prose blockquote { margin: 22px 0; padding: 14px 20px; border-inline-start: 4px solid var(--blue); background: var(--paper); border-radius: var(--radius); }
.prose table:not(.price-table) { margin: 18px 0; font-size: 14.5px; }
.prose table:not(.price-table) th, .prose table:not(.price-table) td { border: 1px solid var(--line); padding: 10px 12px; text-align: start; }
.prose .wp-block-button__link { background: var(--blue); color: #fff; border-radius: var(--radius); padding: 12px 22px; font-weight: 700; }
.prose > *:first-child { margin-top: 0; }
.wp-block-embed iframe, .prose iframe { max-width: 100%; }
.post-tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags a { background: var(--paper); border-radius: 100px; padding: 4px 14px; font-size: 13px; color: var(--ink-2) !important; text-decoration: none !important; }
.post h3 a { color: inherit; }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 44px; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; color: var(--navy); background: #fff; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Search form */
.search--form { max-width: 560px; margin: 0; }
.search--form svg { width: 20px; height: 20px; color: var(--ink-3); flex: none; }
.search--form input { padding: 10px 0; }

/* Comments */
.comments { margin-top: 56px; max-width: 800px; }
.comment-list { list-style: none; padding: 0; margin: 20px 0 30px; }
.comment-list .comment { border-bottom: 1px solid var(--line); padding: 18px 0; }
.comment-list .avatar { border-radius: 50%; float: right; margin-left: 12px; }
.comment-form label { display: block; font-weight: 700; margin-bottom: 6px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; font: inherit; }
.comment-form p { margin-bottom: 14px; }

/* Lead form: disabled button while sending */
#lead-form button[disabled] { opacity: .7; cursor: progress; }
