.header-style-2 .pbmit-header-content {
    position: relative;
    min-height: 100px;
    gap: 20px;
}

.header-style-2 .affa-header-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 22px;
    flex: 1;
    min-width: 0;
}

.header-style-2 .pbmit-menu-logoarea,
.header-style-2 .pbmit-right-box {
    flex: 0 0 auto;
    min-width: 0;
}

.header-style-2 .pbmit-menu-logoarea {
    justify-self: end;
}

.header-style-2 .pbmit-logo-area {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    justify-self: center;
    z-index: 3;
}

.header-style-2 .site-header .site-branding img,
.header-style-2 .logo-img {
    max-height: 52px;
}

.header-style-2 .site-navigation ul.navigation {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    margin: 0;
}

.header-style-2 .site-navigation ul.navigation > li {
    float: none;
    flex-shrink: 0;
}

.header-style-2 .site-navigation ul.navigation > li > a {
    margin: 0 9px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .4px;
    color: var(--pbmit-blackish-color);
}

.header-style-2 .site-navigation ul.navigation > li.active > a,
.header-style-2 .site-navigation ul.navigation > li > a:hover {
    color: var(--pbmit-secondary-color);
}

.header-style-2 .pbmit-menu-logoarea .site-navigation ul.navigation > li:first-child > a {
    margin-left: 0;
}

.header-style-2 .affa-header-nav-right {
    width: auto;
    justify-self: start;
}

.header-style-2 .affa-header-nav-right ul.navigation {
    justify-content: flex-start;
}

.header-style-2 .affa-header-nav-right ul.navigation > li:first-child > a {
    margin-left: 0;
}

.header-style-2 .affa-header-nav-right ul.navigation > li:last-child > a {
    margin-right: 0;
}

.header-style-2 .site-navigation ul.navigation > li > ul {
    white-space: nowrap;
}

.header-style-2 .main-menu .navigation > li > ul > li > ul,
.header-style-2 .main-menu .navigation > li > ul > li > ul > li > ul {
    left: 100%;
    top: 0;
    margin-top: -8px;
    min-width: 220px;
    position: absolute;
    padding: 8px 0;
    border-radius: 10px;
    z-index: 110;
    visibility: hidden;
    opacity: 0;
    border-top: 3px solid var(--pbmit-global-color);
    background-color: #ffffff;
    box-shadow: 0 0 60px 0 rgb(53 57 69 / 15%);
    transition: all 300ms linear 0ms;
}

.header-style-2 .main-menu .navigation > li > ul > li.dropdown:hover > ul,
.header-style-2 .main-menu .navigation > li > ul > li > ul > li.dropdown:hover > ul {
    visibility: visible;
    opacity: 1;
    transform: translate(0, -5px);
    z-index: 120;
}

.header-style-2 .main-menu .navigation > li > ul li.dropdown > a {
    padding-right: 28px;
}

.header-style-2 .main-menu .navigation > li > ul > li > ul > li.dropdown::after {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-family: "pbminfotech-base-icons";
    font-size: 14px;
    content: "\e814";
    color: var(--pbmit-blackish-color);
}

.affa-child-categories {
    margin-bottom: 40px;
}

.affa-child-cat-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 18px;
    background: var(--pbmit-white-color);
    box-shadow: 0 10px 30px rgba(64, 74, 61, .08);
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}

.affa-child-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(64, 74, 61, .14);
}

.affa-child-cat-media {
    display: block;
    height: 180px;
    overflow: hidden;
    background: #f4f6f2;
}

.affa-child-cat-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.affa-child-cat-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px 18px;
}

.affa-child-cat-name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--pbmit-blackish-color);
}

.affa-child-cat-count {
    font-size: 13px;
    color: var(--pbmit-secondary-color);
}

.header-style-2 .pbmit-right-box.affa-header-contact {
    margin-left: 0;
    padding-left: 18px;
    border-left: 1px solid rgba(var(--pbmit-blackish-color-rgb), .18);
    justify-content: flex-end;
    flex-shrink: 0;
}

.header-style-2 .affa-header-contact .pbmit-button-box-second {
    padding-left: 18px;
}

.header-style-2 .pbmit-right-box .pbmit-header-button a {
    padding-left: 42px;
    font-size: 14px;
    color: var(--pbmit-blackish-color);
}

.header-style-2 .pbmit-right-box .pbmit-header-button a:before {
    color: var(--pbmit-secondary-color);
    font-size: 30px;
    line-height: 30px;
    top: 4px;
}

.header-style-2 .pbmit-right-box .pbmit-header-button a .pbmit-header-button-text-1 {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: var(--pbmit-body-typography-color);
}

.header-style-2 .pbmit-right-box .pbmit-header-button a .pbmit-header-button-text-2 {
    font-size: 14px;
    font-weight: 600;
    padding-top: 1px;
    color: var(--pbmit-blackish-color);
}

.header-style-2 .pbmit-right-box .pbmit-btn {
    padding: 12px 22px;
    white-space: nowrap;
    color: var(--pbmit-blackish-color);
    background-color: var(--pbmit-global-color);
}

.header-style-2 .pbmit-right-box .pbmit-button-box,
.header-style-2 .pbmit-right-box .pbmit-button-box-second {
    flex-shrink: 0;
}

.pbmit-heading-desc ul,
.pbmit-heading-desc ol,
.career-description ul,
.career-description ol,
.pbmit-footer-text ul,
.pbmit-footer-text ol {
    padding-left: 18px;
    margin-bottom: 12px;
}

.pbmit-heading-desc p,
.career-description p,
.pbmit-footer-text p {
    margin-bottom: 10px;
}

.affa-gallery-grid .pbmit-portfolio-style-1 {
    display: flex;
}

.affa-gallery-grid .pbminfotech-post-content,
.affa-gallery-grid .pbmit-featured-img-wrapper,
.affa-gallery-grid .pbmit-featured-wrapper {
    width: 100%;
}

.affa-gallery-grid .pbmit-featured-wrapper {
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
}

.affa-gallery-grid .pbmit-featured-wrapper a {
    display: block;
    width: 100%;
    height: 100%;
}

.affa-gallery-grid .pbmit-featured-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 1201px) {
    .affa-mobile-only {
        display: none !important;
    }
}

@media (min-width: 1400px) {
    .header-style-2 .site-navigation ul.navigation > li > a {
        margin: 0 12px;
    }

    .header-style-2 .affa-header-main {
        column-gap: 28px;
    }
}

@media (min-width: 1600px) {
    .header-style-2 .site-navigation ul.navigation > li > a {
        margin: 0 14px;
        font-size: 14px;
    }
}

@media (max-width: 1300px) {
    .header-style-2 .pbmit-right-box .pbmit-button-box {
        display: none;
    }

    .header-style-2 .pbmit-right-box.affa-header-contact {
        padding-left: 12px;
    }
}

@media (max-width: 1200px) {
    .header-style-2 .affa-header-main {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .header-style-2 .pbmit-logo-area {
        position: static;
        left: auto;
        top: auto;
        transform: none;
    }

    .header-style-2 .affa-header-nav-right,
    .header-style-2 .pbmit-right-box {
        display: none;
    }

    .header-style-2 .site-navigation ul.navigation {
        display: block;
        flex-wrap: wrap;
    }

    .header-style-2 .site-navigation ul.navigation > li > ul {
        white-space: normal;
    }

    .header-style-2 .main-menu .navigation > li > ul > li > ul,
    .header-style-2 .main-menu .navigation > li > ul > li > ul > li > ul {
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        box-shadow: none;
        border-top: 0;
        min-width: 0;
        margin: 0;
        padding-left: 12px;
        background: transparent;
    }

    .affa-mobile-only {
        display: list-item;
    }
}
