/* Shared accessibility and mobile portfolio improvements. */
.page-header .navbar-toggler, .page-header-def .navbar-toggler {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; min-width: 44px; height: 44px; flex: none; padding: 0; cursor: pointer;
}
.page-header .navbar-toggler .icon, .page-header-def .navbar-toggler .icon {
    width: 28px; height: 28px; margin: 0;
}
.page-collapse .close-btn {
    width: 44px; height: 44px; background-size: 22px 22px;
    background-position: center; background-repeat: no-repeat;
    background-color: transparent; cursor: pointer;
}
.page-header .navbar-toggler:focus-visible, .page-header-def .navbar-toggler:focus-visible,
.page-collapse .close-btn:focus-visible, .work-categories .cat-link:focus-visible,
.portfolio-category-picker select:focus-visible {
    outline: 3px solid #83a3e4; outline-offset: 3px;
}
.home-modern-page .work-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.home-modern-page .work-categories button.cat-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: auto; min-height: 44px; margin: 0; padding: 8px 14px;
    border: 1px solid #b5c3de; background: #fff; color: #303038;
    font: inherit; cursor: pointer;
}
.home-modern-page .work-categories button.cat-link.active,
.home-modern-page .work-categories button.cat-link:hover {
    background: #476cba; border-color: #476cba; color: #fff; text-decoration: none;
}
.work-categories .cat-link[aria-current="page"] { display: inline-block; margin: 0 23px; color: #476cba; text-decoration: underline; }
.portfolio-category-picker { display: none; }
.portfolio-mobile-image, .portfolio-mobile-caption { display: none; }
@media (max-width: 575.98px) {
    .portfolio-category-links { display: none; }
    .portfolio-category-picker { display: block; margin: 0 24px 24px; text-align: left; }
    .portfolio-category-picker label { display: block; margin-bottom: 8px; font-weight: 700; color: #25252a; }
    .portfolio-category-picker select {
        display: block; width: 100%; min-height: 48px; padding: 10px 12px;
        border: 1px solid #667085; border-radius: 0; background: #fff; color: #25252a;
        font: inherit;
    }
    .portfolio-list .workContainer { overflow: visible; margin-bottom: 16px; }
    .portfolio-list .work { display: block; height: auto !important; min-height: 0; padding: 0 !important; background: none !important; transform: none !important; }
    .portfolio-list .work > .work-title, .portfolio-list .work > .work-subtitle,
    .portfolio-list .work .work-details { display: none !important; }
    .portfolio-list .portfolio-mobile-image {
        display: block; height: 220px; background-size: cover; background-position: center;
    }
    .portfolio-list .portfolio-mobile-caption {
        display: block; padding: 16px 24px 20px; background: #fff;
        border-bottom: 1px solid #e3e5e9; color: #25252a; text-align: left;
    }
    .portfolio-list .portfolio-mobile-caption strong { display: block; font-size: 18px; line-height: 1.35; }
    .portfolio-list .portfolio-mobile-caption span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.5; }
}

.dev-modern-page .dev-hero-form { background: #fff; }
.dev-modern-page .dev-hero-form .form-group { display: block; }
.dev-modern-page .dev-hero-form .form-field-label { display: block; width: 100%; margin-bottom: .45rem; color: #25252a; font-size: .95rem; font-weight: 600; }
.dev-modern-page .dev-hero-form .form-control { min-height: 48px; color: #25252a; background: #f5f6f8; border: 1px solid #667085; }
.dev-modern-page .dev-hero-form textarea.form-control { min-height: 96px; height: auto; resize: vertical; }
.dev-modern-page .dev-hero-form .form-control:focus { outline: 3px solid #476cba; outline-offset: 2px; }
.dev-modern-page .dev-hero-form .agree, .dev-modern-page .dev-hero-form .agree label:not(.error) { color: #303038; font-family: Arial, sans-serif; font-size: .9rem; line-height: 1.45; }
.dev-modern-page .dev-hero-form .agree a { color: #254f9c; text-decoration: underline; }
.dev-modern-page .dev-hero-form .agree .custom-checkbox { width: 1px; }
