/* Blog and events: rules the metro-primary theme added inline (post loop mobile slider dots). */
@media (max-width: 768px) {
    .metro-post-slider-dots {
        display: flex;
        gap: 8px;
        margin-bottom: 16px;
    }
    .metro-post-slider-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: none;
        padding: 0;
        background: #d1d5db;
        cursor: pointer;
        transition: background 0.2s;
    }
    .metro-post-slider-dot.is-active {
        background: #1E293B;
    }
}

/*
 * Base typography for the ported templates. metro-primary's Breakdance global
 * settings give body text line-height 1.6 and navy links; Careers' globals use
 * 1.4 and blue links. Scoped to <main> so the Careers header and footer keep
 * their own values. Every metro- class that sets its own typography still wins.
 */
main { line-height: 1.6; color: #64748b; }
main a { color: #1e293b; }
main a:hover { color: #4f8f8b; }

/*
 * "Relevant resources" on single posts is a Breakdance Section, which takes the
 * global container width. metro-primary's is 1280 (1152 of content), Careers'
 * is 1152 (1024 of content). The design wants 1152 of content.
 */
main .metro-related-section.bde-section > .section-container { max-width: 1280px; }

/* The related-posts loop stores its item padding as null, which this Breakdance
   build renders as the 20px default. The design (and metro-primary) has none. */
main .metro-post-slider .ee-post { padding: 0; }

/*
 * Blog search field, same behaviour as the job search widget (.mc-field__box):
 * the input fills the whole box, so clicking anywhere in it focuses the field,
 * and focus is drawn on the box (navy border + 2px slate ring), never on the input.
 */
main .metro-filter-search { position: relative; padding: 0; cursor: text; }
main .metro-filter-search .metro-filter-search-icon { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); pointer-events: none; }
main .metro-filter-search input.metro-filter-search-input { align-self: stretch; height: 100%; padding: 10px 17px 11px 40px; border-radius: 12px; cursor: text; }
main .metro-filter-search input.metro-filter-search-input:focus,
main .metro-filter-search input.metro-filter-search-input:focus-visible { outline: none !important; box-shadow: none !important; }
main .metro-filter-search:focus-within { border: 1px solid #1e293b; box-shadow: 0 0 0 2px #64748b; }
