/* Resource pages (template page-resources) and the block mevotech/resource-list (style handle mevotech-resources): filter bar,
   card grid, pages, the MP4 player in the video dialog, and the /resources/ index. Values measured on the previous site's
   list pages at 1440 / 768 / 390 (container 540 / 720 / 960 / 1140 / 1320 / 1380 with 15 px padding, 30 px gutter). */

/* container */
.mevo-res-filters__inner,
.mevo-res-list__body,
.mevo-res-index { box-sizing: border-box; width: 100%; margin-inline: auto; padding-inline: 15px; }
@media (min-width: 576px) { .mevo-res-filters__inner, .mevo-res-list__body, .mevo-res-index { max-width: 540px; } }
@media (min-width: 768px) { .mevo-res-filters__inner, .mevo-res-list__body, .mevo-res-index { max-width: 720px; } }
@media (min-width: 992px) { .mevo-res-filters__inner, .mevo-res-list__body, .mevo-res-index { max-width: 960px; } }
@media (min-width: 1200px) { .mevo-res-filters__inner, .mevo-res-list__body, .mevo-res-index { max-width: 1140px; } }
@media (min-width: 1400px) { .mevo-res-filters__inner, .mevo-res-list__body, .mevo-res-index { max-width: 1320px; } }
@media (min-width: 1600px) { .mevo-res-filters__inner, .mevo-res-list__body, .mevo-res-index { max-width: 1380px; } }

/* body text as before: 16 px, 14 px from 768 to 991, 13 px to 1199, 15 px to 1439 */
.mevo-res-list { color: #25282a; font-size: 16px; line-height: 1.5; }
@media (min-width: 768px) and (max-width: 991px) { .mevo-res-list { font-size: 14px; } }
@media (min-width: 992px) and (max-width: 1199px) { .mevo-res-list { font-size: 13px; } }
@media (min-width: 1200px) and (max-width: 1439px) { .mevo-res-list { font-size: 15px; } }

/* filter bar: grey band, "SEARCH", one dropdown per filter (native <details>: keyboard and screen-reader operable) */
.mevo-res-filters { background: #f4f4f4; border-top: 1px solid #d0d0d0; border-bottom: 1px solid #d0d0d0; }
.mevo-res-filters__inner { display: flex; flex-wrap: wrap; align-items: center; }
.mevo-res-filters__label.mevo-res-filters__label { margin: 0 1rem 0 0; font-size: 17.6px; font-weight: 700; line-height: 1.5; text-transform: uppercase; }
.mevo-res-filter { position: relative; border-left: 1px solid #d0d0d0; }
.mevo-res-filter__summary { position: relative; display: block; padding: 1rem 2rem 1rem 1rem; cursor: pointer; list-style: none; }
.mevo-res-filter__summary::-webkit-details-marker { display: none; }
.mevo-res-filter__summary::after { content: ""; position: absolute; top: 50%; right: 0.9rem; width: 6px; height: 6px; margin-top: -5px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.mevo-res-filter[open] > .mevo-res-filter__summary::after { margin-top: -1px; transform: rotate(-135deg); }
.mevo-res-filter__summary:focus-visible { outline: 2px solid #2573be; outline-offset: -2px; }
.mevo-res-filter__list.mevo-res-filter__list { position: absolute; z-index: 20; top: 100%; left: -1px; box-sizing: border-box; min-width: 200px; max-height: 60vh; margin: 0; padding: 10px 10px 10px 15px; overflow-y: auto; list-style: none; background: #f4f4f4; border: 1px solid #d0d0d0; font-size: 0.9rem; }
.mevo-res-filter__list li { margin: 0; }
.mevo-res-filter__list a { display: block; padding: 0.15rem 0; color: #25282a; text-decoration: none; }
.mevo-res-filter__list a[aria-current="true"] { color: #2573be; }
.mevo-res-filter__list a:hover, .mevo-res-filter__list a:focus-visible { color: #2573be; text-decoration: underline; }
.mevo-res-filter__list a:focus-visible { outline: 2px solid #2573be; outline-offset: 1px; }
@media (max-width: 767px) { .mevo-res-filters__inner { padding-block: 0.75rem; } .mevo-res-filter__list.mevo-res-filter__list { max-width: calc(100vw - 30px); } .mevo-res-filter:last-child .mevo-res-filter__list { left: auto; right: -1px; } }

/* card grid: 5 per row from 768 px, 1 below */
.mevo-res-list__body { padding-top: 4rem; }
/* while a filter or page loads in place (swap.js): the cards and pages dim to half, as on the previous site; a fade only for visitors who allow motion */
.mevo-res-list[aria-busy="true"] .mevo-res-list__body { opacity: 0.5; }
@media (prefers-reduced-motion: no-preference) { .mevo-res-list__body { transition: opacity 0.2s; } }
.mevo-res-list:focus { outline: none; }
.mevo-res-grid.mevo-res-grid { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 30px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .mevo-res-grid.mevo-res-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.mevo-res-grid__item { margin: 0 0 2rem; }
.mevo-res-card__link { display: block; color: inherit; text-decoration: none; }
.mevo-res-card__link:hover .mevo-res-card__title, .mevo-res-card__link:focus-visible .mevo-res-card__title { text-decoration: underline; }
.mevo-res-card__link:focus-visible { outline: 2px solid #2573be; outline-offset: 4px; }
.mevo-res-card__img { position: relative; display: block; }
.mevo-res-card__pic { display: block; width: 100%; max-width: 100%; height: auto; box-sizing: border-box; box-shadow: 0 0 7px rgba(0, 0, 0, 0.2); border: 1px solid #d5d5d5; }
@media (prefers-reduced-motion: no-preference) {
	.mevo-res-card__img { transition: transform 0.5s; }
	.mevo-res-card:hover .mevo-res-card__img { transform: scale(1.1); }
}
.mevo-res-card__img--none { box-sizing: border-box; aspect-ratio: 791 / 1024; display: flex; align-items: center; justify-content: center; background: #f4f4f4; border: 1px solid #d5d5d5; box-shadow: 0 0 7px rgba(0, 0, 0, 0.2); }
.mevo-res-list--video .mevo-res-card__img--none, .mevo-res-list--webinar .mevo-res-card__img--none { aspect-ratio: 16 / 9; }
.mevo-res-card__tile { font-size: 1.5rem; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; color: #7a7d80; }
.mevo-res-card__title.mevo-res-card__title { margin: 1rem 0; color: #25282a; font-size: 16px; font-weight: 700; line-height: 1.3; text-align: center; text-transform: uppercase; overflow-wrap: break-word; }
/* 768-991: five 114 px columns. The old list let a long word ("PERFORMANCE") run into the 30 px gutter (and a longer one,
   e.g. "TROUBLESHOOTING", into the next card); here the title may use 12 px of each gutter (6 px always stay free), so such
   words stay whole and only a word wider than 138 px breaks */
@media (min-width: 768px) and (max-width: 991px) { .mevo-res-card__title.mevo-res-card__title { margin-inline: -12px; } }
.mevo-res-empty.mevo-res-empty { margin: 0 0 3rem; }
.mevo-res-empty a { color: #2573be; }

/* pages: numbers on grey boxes, the current one as plain text; Prev / Next as text links; wraps on small screens */
.mevo-res-pages { margin: 1rem 0 3rem; }
.mevo-res-pages__list.mevo-res-pages__list { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 8px; margin: 0; padding: 0; list-style: none; }
.mevo-res-pages__list li { margin: 0; }
.mevo-res-pages__list li > * { display: block; margin: 0 4px; padding: 0.2rem 0.8rem; border: 1px solid transparent; color: #25282a; text-decoration: none; transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.mevo-res-pages__list a.mevo-res-pages__num { background: #f4f4f4; border-color: #d0d0d0; }
.mevo-res-pages__list a.mevo-res-pages__num:hover, .mevo-res-pages__list a.mevo-res-pages__num:focus-visible { background: #2573be; border-color: #2573be; color: #fff; }
.mevo-res-pages__list .is-current { border-color: #fff; }
.mevo-res-pages__list a:focus-visible { outline: 2px solid #2573be; outline-offset: 2px; }
.mevo-res-pages__prev:hover, .mevo-res-pages__next:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .mevo-res-pages__list li > * { transition: none; } }

/* Webinars (type webinar, /resources/webinar-recordings/; measured on the previous page at 1440 / 768 / 390: its stored render
   and the public archive capture). Visible h2 "On-demand Webinars" (32 px / 900, centred, 80 x 6 px blue bar under it); cards
   3 per row from 768 px (1 below), the old 30 px gutter inside the container (cards 400 / 200 / 330 px wide at 1440 / 768 / 390),
   32 px between rows; the 16:9 Wistia thumbnail without border, shadow or zoom, the title written in the picture: the card title
   is kept for screen readers only. Play button drawn here (the old Wistia popover button; size inferred, colour = the account's
   player colour #0077cf). */
.mevo-res-list .mevo-res-list__title.mevo-res-list__title { position: relative; margin: 0; padding: 65px 15px 32px; color: #25282a; font-size: 32px; font-weight: 900; line-height: 1.2; text-align: center; }
.mevo-res-list__title::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 80px; height: 6px; margin-left: -40px; background: #2573be; }
.mevo-res-list--webinar .mevo-res-grid.mevo-res-grid { row-gap: 0; padding-inline: 15px; }   /* rows 32 px apart (the item margin) */
@media (min-width: 768px) { .mevo-res-list--webinar .mevo-res-grid.mevo-res-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mevo-res-list--webinar .mevo-res-grid__item { margin-bottom: 32px; }
.mevo-res-list--webinar .mevo-res-card__img { aspect-ratio: 16 / 9; overflow: hidden; background: #0a3a66; }
.mevo-res-list--webinar .mevo-res-card__pic { width: 100%; height: 100%; object-fit: cover; border: 0; box-shadow: none; }
.mevo-res-list--webinar .mevo-res-card:hover .mevo-res-card__img { transform: none; }
.mevo-res-list--webinar .mevo-res-card__title.mevo-res-card__title { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mevo-res-card__play { position: absolute; top: 50%; left: 50%; width: 19.5%; aspect-ratio: 125 / 80; transform: translate(-50%, -50%); background: rgba(0, 119, 207, 0.9); transition: background-color 0.2s; }
.mevo-res-card__play::after { content: ""; position: absolute; top: 50%; left: 50%; width: 22%; aspect-ratio: 1; transform: translate(-40%, -50%); background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.mevo-res-card__link:hover .mevo-res-card__play, .mevo-res-card__link:focus-visible .mevo-res-card__play { background: #0077cf; }
@media (prefers-reduced-motion: reduce) { .mevo-res-card__play { transition: none; } }
/* deep link ?wvideo=<id>: the named card (focused by view.js) */
.mevo-res-grid__item.is-target .mevo-res-card__link { outline: 2px solid #2573be; outline-offset: 4px; }

/* /resources/ index: one line per section */
.mevo-res-index { padding-block: 4rem 3rem; color: #25282a; }
.mevo-res-index__list.mevo-res-index__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #d0d0d0; }
.mevo-res-index__item.mevo-res-index__item { margin: 0; padding: 1.25rem 0; border-bottom: 1px solid #d0d0d0; }
.mevo-res-index__item > * { margin: 0; }
.mevo-res-index__name.mevo-res-index__name { font-size: 1.25rem; font-weight: 700; line-height: 1.3; text-transform: uppercase; }
.mevo-res-index__name a { color: #2573be; text-decoration: none; }
.mevo-res-index__name a:hover, .mevo-res-index__name a:focus-visible { text-decoration: underline; }
.mevo-res-index__desc.mevo-res-index__desc { margin-top: 0.35rem; font-size: 1rem; line-height: 1.5; }

/* FAQ: Tech Tips (page resources__tech-tips): sixteen core Details blocks in the previous site's toggle look — grey box, bold
   question, blue +/- on the right, answers 0.9rem. Native <details>: keyboard (Enter/Space) and screen-reader operable, each item
   independent, all closed on load. The questions are the summaries, not headings. Answer grey darkened from #999 (2.7:1 on
   #fafafa) to #6b6b6b (5.1:1). */
.mevo-faq.mevo-faq { box-sizing: border-box; width: 100%; margin: 0 auto; padding: 3rem 15px 1rem; }
@media (min-width: 576px) { .mevo-faq.mevo-faq { max-width: 540px; } }
@media (min-width: 768px) { .mevo-faq.mevo-faq { max-width: 720px; padding-bottom: 2rem; } }
@media (min-width: 992px) { .mevo-faq.mevo-faq { max-width: 960px; } }
@media (min-width: 1200px) { .mevo-faq.mevo-faq { max-width: 1140px; } }
@media (min-width: 1400px) { .mevo-faq.mevo-faq { max-width: 1320px; } }
@media (min-width: 1600px) { .mevo-faq.mevo-faq { max-width: 1380px; } }
.mevo-faq__item.mevo-faq__item { box-sizing: border-box; margin: 0 0 15px; border: 1px solid #eee; border-radius: 5px; background: #fafafa; }
.mevo-faq__item > summary { position: relative; display: block; padding: 22px 60px 22px 20px; border-radius: 5px; color: #2d2d2d; font-size: 1rem; font-weight: 700; line-height: 24px; cursor: pointer; list-style: none; }
.mevo-faq__item > summary::-webkit-details-marker { display: none; }
.mevo-faq__item > summary::before,
.mevo-faq__item > summary::after { content: ""; position: absolute; top: 50%; right: 30px; background: #2376c2; transition: transform 0.3s ease, opacity 0.3s ease; }
.mevo-faq__item > summary::after { width: 10px; height: 2px; margin-top: -1px; }
.mevo-faq__item > summary::before { width: 2px; height: 10px; margin: -5px 4px 0 0; }
.mevo-faq__item[open] > summary::before { opacity: 0; transform: rotate(90deg); }
.mevo-faq__item > summary:focus-visible { outline: 2px solid #2376c2; outline-offset: 2px; }
.mevo-faq__item > :not(summary) { margin: 0 0 16px; padding-left: 20px; color: #6b6b6b; font-size: 0.9rem; line-height: 1.9; }
.mevo-faq__item > :not(summary):last-child { margin-bottom: 26px; }
.mevo-faq__item a { color: #2376c2; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .mevo-faq__item > summary::before, .mevo-faq__item > summary::after { transition: none; } }
/* question line box = the old title's (body line-height 1.5 x the page text size of each range) */
@media (min-width: 768px) and (max-width: 991px) { .mevo-faq__item > summary { line-height: 21px; } }
@media (min-width: 992px) and (max-width: 1199px) { .mevo-faq__item > summary { line-height: 19.5px; } }
@media (min-width: 1200px) and (max-width: 1439px) { .mevo-faq__item > summary { line-height: 22.5px; } }

/* FAQ: Tech Tips (template page-resources-faq): the parts search bar sits in the page under its hero, as on the previous site.
   Flush with the hero and the content (no flow gap; the old band sat directly on both), and no gap on the spacer bar.js adds, so nothing moves when the bar sticks. */
.mevo-resources-page .wp-block-post-content > .mevo-parts-section--bar,
.mevo-resources-page .wp-block-post-content > .mevo-parts-bar-spacer,
.mevo-resources-page .wp-block-post-content > .mevo-parts-bar-spacer + * { margin-block: 0; }

/* Resource slider (landing pages) — round 4
   mevotech/resource-list with layout "slider" (blocks/resource-list/preset.php; X-Factor, Labor Saver): the old dark videos row
   (#23262b, 32 px top / 16 px bottom, 48 px apart from its neighbours), Swiper values: 4 per view, 30 px apart; 3 up to 990 px;
   1 up to 480 px; thumbnail in a 2:1 box (cover); white upper-case titles 0.9rem. Arrows = carousel.js (arrows branch). */
.mevo-res-slider { box-sizing: border-box; margin: 48px 0; padding: 32px 0 16px; background: #23262b; }
.mevo-res-slider__carousel { box-sizing: border-box; width: 100%; margin-inline: auto; padding-inline: 15px; }
@media (min-width: 576px) { .mevo-res-slider__carousel { max-width: 540px; } }
@media (min-width: 768px) { .mevo-res-slider__carousel { max-width: 720px; } }
@media (min-width: 992px) { .mevo-res-slider__carousel { max-width: 960px; } }
@media (min-width: 1200px) { .mevo-res-slider__carousel { max-width: 1140px; } }
@media (min-width: 1400px) { .mevo-res-slider__carousel { max-width: 1320px; } }
.mevo-res-slider .mevo-res-slider__track { position: relative; gap: 30px; padding: 0; }   /* positioned: the visually hidden "(video)" spans stay inside the scroll box */
.mevo-res-slider .mevo-res-slider__slide { flex: 0 0 calc((100% - 90px) / 4); }
@media (max-width: 990px) { .mevo-res-slider .mevo-res-slider__slide { flex-basis: calc((100% - 60px) / 3); } }
@media (max-width: 480px) { .mevo-res-slider .mevo-res-slider__slide { flex-basis: 100%; } }
.mevo-res-slider .mevo-res-card__img { aspect-ratio: 2 / 1; overflow: hidden; }
.mevo-res-slider .mevo-res-card__pic { width: 100%; height: 100%; max-width: none !important; object-fit: cover; border: 0; box-shadow: none; }
.mevo-res-slider .mevo-res-card__img--none { aspect-ratio: 2 / 1; }
.mevo-res-slider .mevo-res-card:hover .mevo-res-card__img { transform: none; }
.mevo-res-slider .mevo-res-card__title.mevo-res-card__title { margin: 16px 0 0; color: #fff; font-size: 0.9rem; font-weight: 400; line-height: 1.2; text-align: center; text-transform: uppercase; }
.mevo-res-slider .mevo-res-card__link:focus-visible { outline-color: #fff; outline-offset: 2px; }
.mevo-res-slider .mevo-carousel__prev, .mevo-res-slider .mevo-carousel__next { width: 44px; height: 44px; margin-top: -26px; background-size: 14px; }   /* keeps the base dark circle: the arrows can sit over a thumbnail (3:1 non-text contrast; review 2026-11-17) */
.mevo-res-slider .mevo-carousel__prev { left: -38px; }
.mevo-res-slider .mevo-carousel__next { right: -38px; }
@media (max-width: 1439px) { .mevo-res-slider .mevo-carousel__prev { left: -8px; } .mevo-res-slider .mevo-carousel__next { right: -8px; } }
@media (max-width: 575px) { .mevo-res-slider .mevo-carousel__prev { left: 0; } .mevo-res-slider .mevo-carousel__next { right: 0; } }
.mevo-res-slider .mevo-carousel__prev:focus-visible, .mevo-res-slider .mevo-carousel__next:focus-visible { outline-color: #fff; }
.mevo-res-slider__none { margin: 0; color: #fff; text-align: center; }
