.latest-card-container-industry {
    width: 90%;
    margin: auto;
}

.latest-card-container {
    width: 80%;
    margin: auto;
}

#header {
    padding: 10px 10px;
    line-height: 1.6;
}

#header span.previous {
    float: none;
}

.name {
    float: left;
}

.main-pss_member div {
    width: 100% !important;
}

.icon {
    float: right;
}

#header span.next {
    float: right;
}

.img-row-card div {
    width: 100%;
}

/* ——— iOS stretch fix for profile images ——— */

/* Stop Safari from inventing heights */
.img-1-container div img,
.img-row-card img {
    width: 100% !important;
    height: auto !important;
    /* preserve natural aspect */
    object-fit: contain;
    /* no crop; change to 'cover' if you want crop */
    display: block;
}

/* If you want perfect square avatars without distortion, 
   wrap the <img> in a .img-wrap div and use this instead: */

.img-1-container .img-wrap {
    aspect-ratio: 1 / 1;
    /* square box, works great on iOS */
    width: 100%;
    overflow: hidden;
}

.img-1-container .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* fills the square nicely, no stretch */
    display: block;
}

.img-row-card {
    display: flex;

}

.n-sec {
    font-size: 20px;
    font-weight: 600;
}

.d-sec {
    font-size: 16px;
    font-weight: 500;
}

.img-1-container {
    margin: 2rem;
}

.icon-box {
    width: 2rem;
    padding-top: 7px;
    padding-left: 0.2px;
    height: 2rem;
    border-radius: 25px;
}

.icon-box a {
    font-size: 16px;
    margin-left: 8px;
    color: #0a1a3b;
}

.icon-box:hover {
    background-color: #0a1a3b;
    transition: .6s all;
}

.icon-box:hover a {
    color: white;
    transition: .6s all;
    /* margin-right: 5px; */
}

/* media properties */

@media (max-width:1350px) {
    .img-row-card div {
        width: 90%;
        margin: auto;
    }

    .img-1-container {
        margin: 1rem;
    }
}

@media (max-width:1150px) {
    .n-sec {
        font-size: 16px;
        font-weight: 600;
    }

    .img-1-container {
        margin: 0rem;
        margin-right: 1rem;
    }
}

@media (max-width:999px) {
    .pssmain-image-heading h4 {
        font-size: 20px;
        font-weight: 600;
    }

    .grid-pss-media {
        display: grid !important;
    }

    .grid-pss-media .col-8 {
        width: 100% !important;
    }

    .grid-pss-media .col-4 {
        width: 100% !important;
        display: flex !important;
    }

    .pssmain-image img {
        width: 41%;
        margin: auto;
    }

    .modal.show .modal-dialog {
        transform: none;
        margin-top: 5rem;
    }

    .pssmain-content {
        padding-top: 1rem;
    }

    .pssmain-image-heading {
        text-align: center !important;
        margin: 2rem 0rem;
        text-align: justify;
    }

    .nigel-pss-conetent p {
        height: 100%;
    }

    .media-query-pss-popup {
        margin: 0rem 1rem;
    }
}

@media (max-width:950px) {
    .n-sec {
        font-size: 14px;
        font-weight: 600;
    }

    .img-1-container {
        margin: 0rem;
        margin-right: 1rem;
    }

    .main-pss_member div span {
        /* width: 100% !important; */
        font-size: 14px;
        font-weight: 500;
    }

    #header span.next {
        float: right;
    }

    #header {
        padding: 0px 10px;
    }

    .d-sec {
        font-size: 14px;
        font-weight: 500;
    }

    .n-sec {
        /* font-size: 12px; */
        margin-top: 7px;
        font-weight: 600;
    }
}

@media (max-width: 850px) {
    .n-sec {
        font-size: 12px;
        font-weight: 600;
    }

    .icon-box a {
        font-size: 12px;
        margin-left: 8px;
        color: #0a1a3b;
    }

    .icon-box {
        width: 1rem;
        padding-top: 7px;
        padding-left: 0.2px;
        height: 2rem;
        border-radius: 25px;
    }

    .n-sec {
        font-size: 12px;
        margin-top: 9px;
        font-weight: 600;
    }

    .d-sec {
        font-size: 12px;
        font-weight: 500;
    }

    #header {
        padding: 0px 10px;
    }
}

@media (max-width:768px) {
    .icon-box a {
        font-size: 26px;
        margin-left: 5px;
        color: #0a1a3b;
    }

    .main-pss_member div span {
        font-size: 24px;
        font-weight: 500;
        margin-top: 2px;
    }

    .main-pss_member .n-sec {
        font-size: 30px;
        margin-top: 11px;
        font-weight: 600;
    }

    .desig-head-container-box-1 a {
        text-decoration: none;
        border: 1px solid lightgray;
        font-size: 18px;
        padding: 4px 14px 4px 14px;
        border-radius: 12px;
        font-weight: 200;
        color: #173654;
        background-color: white;
    }

    .main-pss_member span {
        font-size: 24px;
        font-weight: 500;
        margin-top: 2px;
    }

    .icon-box {
        width: 3rem;
        padding-top: 7px;
        padding-left: 0.2px;
        height: 2rem;
        border-radius: 25px;
    }

    .img-row-card {
        display: grid;
    }

    .n-sec {
        font-size: 30px;
        margin-top: 11px;
        font-weight: 600;
    }

    .d-sec {
        font-size: 24px;
        font-weight: 500;
        margin-top: 2px;
    }

    #header {
        padding: 0px 4px;
    }
}

@media (max-width:600px) {

    .img-row-card div {
        width: 90%;
        margin: auto;
    }

    .pssmain-image img {
        width: 50%;
    }

    .media-query-pss-popup {
        margin: 2rem;
    }

    .grid-pss-media .col-8 .pssmain-content {
        text-align: justify;
    }

    .popup-icon-container span div h6 {
        margin-top: 0rem;
    }

    .main-pss_member div span {
        font-size: 16px;
        font-weight: 500;
        margin-top: 2px;
    }

    .main-pss_member span {
        font-size: 16px;
        font-weight: 500;
        margin-top: 2px;
    }

    .main-pss_member .n-sec {
        font-size: 16px;
        margin-top: 11px;
        font-weight: 600;
    }

    .icon-box {
        width: 2rem;
        padding-top: 0px !important;
        padding-left: 0.2px;
        height: 2rem;
        border-radius: 25px;
    }

    #header span.previous {
        float: none;
    }

    .n-sec {
        font-size: 16px;
        margin-top: 11px;
        font-weight: 600;
    }

    .icon-box a {
        font-size: 16px;
        margin-left: 0px;
        color: #0a1a3b;
    }

    .icon-box {
        width: 2rem;
        padding-top: 7px;
        padding-left: 0.2px;
        height: 2rem;
        border-radius: 25px;
    }

    #header {
        padding: 8px 4px;
    }

    .d-sec {
        font-size: 16px;
        font-weight: 500;
        margin-top: 2px;
    }
}

@media (max-width:470px) {
    .grid-pss-media .col-4 {
        width: 100% !important;
        display: grid !important;
    }

    .pssmain-image img {
        width: 80%;
        margin: auto;
    }

    .pssmain-image-heading {
        text-align: center;
        margin: 1rem 0rem;
        text-align: center;
    }

    .pssmain-content {
        padding-top: 0rem;
    }
}

@media (max-width: 420px) {
    #header {
        padding: 6px 0px;
    }

    .desig-head-container-box-1 a {
        text-decoration: none;
        border: 1px solid lightgray;
        font-size: 12px;
        padding: 4px 14px 4px 14px;
        border-radius: 12px;
        font-weight: 200;
        color: #173654;
        background-color: white;
    }

    .media-query-pss-popup {
        margin: 0rem 0.6rem;
    }

    .n-sec {
        font-size: 14px;
        margin-top: 11px;
        font-weight: 600;
    }

    .main-pss_member .n-sec {
        font-size: 14px;
        margin-top: 11px;
        font-weight: 600;
    }

    .main-pss_member div span {
        font-size: 12px;
        font-weight: 500;
        margin-top: 2px;
    }

    .main-pss_member span {
        font-size: 12px;
        font-weight: 500;
        margin-top: 2px;
    }

    .img-row-card .desig-head-container div {
        width: 100% !important;
    }

    .img-row-card .desig-head-container .desig-head-container-box-1 {
        width: 60% !important;
    }

    .icon-box {
        width: 1.2rem;
        padding-top: 7px;
        padding-left: 0.2px;
        height: 2rem;
        border-radius: 25px;
    }

    .icon-box a {
        font-size: 14px;
        margin-left: 0px;
        color: #0a1a3b;
    }

    .d-sec {
        font-size: 12px;
        font-weight: 500;
        margin-top: 2px;
    }

    .img-row-card div {
        width: 95%;
        margin: auto;
    }
}

@media (max-width:390px) {
    .pssmain-image-heading h4 {
        font-size: 14px;
        font-weight: 800;
    }

    .pssmain-image-heading h6 {
        font-size: 12px;
    }

    .grid-pss-media .col-8 .pssmain-content {
        font-size: 12px;
    }

    .popup-icon-container span div a i {
        color: #173654;
        font-size: 14px;
        border-radius: 25px;
        margin-top: 2px;
    }

    .popup-icon-container div h6 {
        font-size: 12px;
    }
}