/* Default styles (Mobile First Approach) */

@media (max-width: 480px) {
    .navbar {
        margin: 8px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logo {
        display: flex;
        width: 120px;
        gap: 10px;
        align-items: center;
    }

    /* Hamburger Button */
    .menu-btn {
        background: none;
        font-size: 22px;
        cursor: pointer;
        border: none;
        z-index: 1001;
    }

    /* Sidebar */
    .infobar {
        height: 100%;
        width: 0;
        position: fixed;
        border-top-right-radius: 12px;
        box-shadow: 0 5px 19px -5px rgba(0, 0, 0, 0.3);
        top: 0;
        left: 0;
        background-color: #ffffff;
        overflow-x: hidden;
        transition: 0.4s;
        z-index: 1001;
    }

    .infobar img {
        height: 20px;
        width: auto;
        margin: 20px 35px 10px 32px;
    }

    /* Close Button */
    .infobar .close-btn {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 30px;
        color: rgb(54, 53, 53);
    }

    .infobar hr {
        margin-top: 10px;
        border: none;
        border-top: .5px solid #e1e1e1;
        margin-bottom: 15px;
    }

    .infobar a {
        padding: 12px 30px;
        text-decoration: none;
        font-size: 13px;
        color: rgb(34, 34, 34);
        display: block;
        transition: 0.3s;
    }

    /* Optional: dim background when sidebar is open */
    body.sidebar-open::after {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.2);
        z-index: 999;
        /* under sidebar */
    }

    .sideinfo {
        display: none;
    }


    .logo img {
        width: 70px;
        height: auto;
        margin-right: 6px;
    }

    .search-box {
        position: relative;
        width: calc(100% - 130px);
    }

    .search-box input {
        width: 100%;
        height: 35px;
        border: none;
        outline: none;
        background: #fafafa;
        border-radius: 30px;
        color: black;
        font-size: 14px;
        padding-left: 20px;
        border: 1px solid rgb(214, 214, 214);
    }

    .search-box button {
        cursor: pointer;
        width: 35px;
        height: 35px;
        border-radius: 30px;
        border: none;
        position: absolute;
        top: 0;
        right: 0;
        font-size: 16px;
        color: white;
        transform: scale(0.9);
        background: rgb(29, 103, 141);
    }

    .language-box {
        display: flex;
        padding: 4px 5px;
        margin-left: 6px;
        align-items: center;
        border: 1px solid #ccc;
        border-radius: 6px;
        gap: 3px;
    }


    /** Panel Section **/
    .panel {
        display: flex;
        margin: 6px 16px;
        align-items: center;
        justify-content: space-between;
    }

    .category {
        white-space: nowrap;
        display: flex;
        scrollbar-width: none;
        width: calc(100% - 8px);
        box-shadow: none;
        overflow-x: auto !important;
        gap: 10px;
    }

    .category a {
        border: none;
        outline: none;
        color: rgb(0, 0, 0);
        padding: 8.5px 14px;
        border-radius: 50px;
        border: 1px solid rgb(233, 233, 233);
        background-color: rgb(255, 255, 255);
        align-items: center;
        font-size: 12px;
        transition: .3s ease-in;
    }

    .category a:hover {
        background-color: #dadada;
        color: rgb(29, 103, 141);
    }


    /** Social **/
    .social-media {
        display: none;
    }



    /** add section 
    .top-add {
        width: 95%;
        height: 15vh;
        margin: auto;
        margin-top: 15px;
        border-radius: 5px;
        background-color: #f5f5f5;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }  **/

    /** hero section  **/
    .main-hero {
        width: 100%;
        height: auto;
        margin: auto;
    }

    .sideBarAdv {
        display: none;
    }

    .hero-section {
        width: 100%;
        height: auto;
        margin: auto;
    }

    .hero-heading {
        width: 100%;
    }

    .hero-heading h2 {
        font-size: 1.1rem;
    }

    /** Addv. Section **/
    .vertical-ad {
        display: none;
    }

    /* Hero Post Styling */
    #hero-post {}

    #hero-post h3 {
        font-size: 16px;
    }

    #hero-post .details {
        display: flex;
    }

    .hero-post-details {
        width: 70%;
    }

    #hero-post .content {
        font-size: .9rem;
    }

    /* New Posts Styling */

    .post-item .update {
        gap: 4px;
        display: flex;
        font-size: 11px;
        color: #121224;
    }

    .post-item .post-category {
        font-weight: bold;
        color: red;
    }

    .post-item .post-name {}

    .post-item .post-vacancy {}

    .post-lastdate {}

    /* category-detail */
    .category-detail-card .post-category {
        color: #007bff;
    }

    .category-detail-card .update {
        display: flex;
        gap: 10px;
        margin: 5px 10px;
    }

    .category-detail-card .post-details {
        margin: 10px;
        font-size: .9rem;
    }

    .post-item.advertisement {
        display: none;
    }

    /* post advertisement 
    .post-item.advertisement {
        list-style: none;
        margin: 10px 0;
        width: 100%;
        height: 20vh;
        background: #fdff9b;
        border: 1px dashed #ccc;
        border-radius: 10px;
        text-align: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    } */

    .post-list .post-item:hover {
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
        cursor: pointer;
    }

    /* Pagination */
    .pagination {
        display: flex;
        justify-content: center;
        margin: 10px 0;
    }

    .pagination button {
        padding: 6px 12px;
        margin: 0 5px;
        border: none;
        background: #007bff;
        color: white;
        cursor: pointer;
        border-radius: 5px;
    }

    .pagination button:disabled {
        background: #ccc;
        cursor: not-allowed;
    }

    /** footer **/

    .top-button {
        background-color: #35414e;
        color: #fff;
        padding: 8px 12px;
        border-radius: 5px;
        cursor: pointer;
        width: fit-content;
        font-size: 12px;
        box-shadow: 0 0 3px rgb(207, 207, 207);
    }

    .top-button:hover {
        background-color: #555;
    }

    .top-button hr {
        margin-top: 10px;
        border: none;
        border-top: .5px solid #f5f5f5;
    }

    .footer-div {
        color: #f5f5f5;
        display: flex;
        justify-content: space-evenly;
    }

    .footer-div ul {
        margin-top: 10px;
    }

    .footer-div ul p {
        font-size: 0.8rem;
    }

    .footer-div ul a {
        display: block;
        font-size: 0.7rem;
        margin-top: 10px;
        color: #dddddd;
        cursor: pointer;
    }

    /** copyright **/
    .div-copyright {
        color: white;
        text-align: center;
        padding: 10px;
        margin-top: 10px;
        margin-bottom: 5px;
        font-size: 0.75rem;
    }
}

/* Medium devices (max- 767px) */
@media(min-width: 481px) and (max-width: 767px) {
    .navbar {
        margin: 8px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logo {
        display: flex;
        width: 120px;
        gap: 12px;
        align-items: center;
    }

    /* Hamburger Button */
    .menu-btn {
        background: none;
        font-size: 22px;
        cursor: pointer;
        border: none;
        z-index: 1001;
    }

    /* Sidebar */
    .infobar {
        height: 100%;
        width: 0;
        position: fixed;
        border-top-right-radius: 12px;
        box-shadow: 0 5px 19px -5px rgba(0, 0, 0, 0.3);
        top: 0;
        left: 0;
        background-color: #ffffff;
        overflow-x: hidden;
        transition: 0.4s;
        z-index: 1001;
    }

    .infobar img {
        height: 20px;
        width: auto;
        margin: 20px 35px 10px 32px;
    }

    /* Close Button */
    .infobar .close-btn {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 30px;
        color: rgb(54, 53, 53);
    }

    .infobar hr {
        margin-top: 10px;
        border: none;
        border-top: .5px solid #e1e1e1;
    }

    .infobar a {
        padding: 12px 30px;
        text-decoration: none;
        font-size: 14px;
        color: rgb(34, 34, 34);
        display: block;
        transition: 0.3s;
    }

    .sideinfo {
        display: none;
    }

    .logo img {
        width: 100px;
        height: auto;
        margin-right: 6px;
    }

    .search-box {
        position: relative;
        width: calc(60% - 10px);
    }

    .search-box input {
        width: 100%;
        height: 40px;
        border: none;
        outline: none;
        background: #fafafa;
        border-radius: 30px;
        color: black;
        font-size: 14px;
        padding-left: 20px;
        border: 1px solid rgb(214, 214, 214);
    }

    .search-box button {
        cursor: pointer;
        width: 40px;
        height: 40px;
        border-radius: 30px;
        border: none;
        position: absolute;
        top: 0;
        font-size: 16px;
        color: white;
        transform: scale(0.9);
    }

    .language-box {
        display: flex;
        padding: 4px 5px;
        margin-left: 10px;
        align-items: center;
        border: 1px solid #ccc;
        border-radius: 6px;
        gap: 3px;
    }

    /** Panel Section **/
    .div-panel {
        width: 100%;
        height: auto;
        align-content: center;
        position: sticky;
        top: 0;
        box-shadow: 0 3px 6px -5px rgba(0, 0, 0, 0.3);
    }

    .panel {
        display: flex;
        margin: 6px 16px;
        align-items: center;
        justify-content: space-between;
    }

    .category {
        white-space: nowrap;
        display: flex;
        scrollbar-width: none;
        width: calc(100% - 8px);
        box-shadow: none;
        overflow-x: auto !important;
        gap: 15px;
    }

    .category a {
        border: none;
        outline: none;
        color: rgb(0, 0, 0);
        padding: 8.5px 12px;
        border-radius: 50px;
        border: 1px solid rgb(233, 233, 233);
        background-color: rgb(255, 255, 255);
        align-items: center;
        cursor: pointer;
        font-size: 12px;
        transition: .3s ease-in;
    }

    .category a:hover {
        background-color: #dadada;
        color: rgb(29, 103, 141);
    }


    /** Social **/
    .social-media {
        display: none;
    }



    /** add section 
    .top-add {
        width: 95%;
        height: 15vh;
        margin: auto;
        margin-top: 15px;
        border-radius: 5px;
        background-color: #f5f5f5;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }  **/

    /** hero section  **/
    .sideBarAdv {
        display: none;
    }

    .hero-section {
        width: 100%;
        height: auto;
    }

    .hero-heading {
        width: 100%;
        border-radius: 5px;
        padding: 25px 50px 0 50px;
    }

    .hero-heading h2 {
        font-size: 1.2rem;
    }

    /** Adv. Section **/
    .vertical-ad {
        display: none;
    }


    /* Hero Post Styling */
    #hero-post h3 {
        padding: 15px;
        font-size: 1.05rem;
    }

    #hero-post .details {
        margin: 5px 15px;
        display: flex;
        gap: 10px;
        font-size: .9rem;
    }

    #hero-post .content {
        font-size: .9rem;
    }

    /* New Posts Styling */
    .post-item .update {
        gap: 8px;
        display: flex;
        font-size: .8rem;
    }

    .post-item h3 {}

    .post-item p {
        margin-top: 4px;
        color: #6b6b6b;
        font-size: .9rem;
    }


    .post-vacancy {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }

    .post-lastdate {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }

    .post-name {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }

    /* category-detail */
    .category-detail-card .post-category {
        color: #007bff;
    }

    .category-detail-card .update {
        display: flex;
        gap: 10px;
        margin: 5px 10px;
    }

    .category-detail-card .post-details {
        margin: 10px;
        font-size: .8rem;
    }

    .post-item.advertisement {
        display: none;
    }

    /* post advertisement */
    .post-item.advertisement {
        list-style: none;
        margin: 20px 0;
        width: 100%;
        max-height: 300px;
        background: #f8f8f8;
        border: 1px dashed #ccc;
        border-radius: 10px;
        text-align: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .post-list .post-item:hover {
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
        cursor: pointer;
    }

    /* Pagination */
    .pagination {
        display: flex;
        justify-content: center;
        margin: 20px 0;
    }

    .pagination button {
        padding: 10px 20px;
        margin: 0 5px;
        border: none;
        background: #007bff;
        color: white;
        cursor: pointer;
        border-radius: 5px;
    }

    .pagination button:disabled {
        background: #ccc;
        cursor: not-allowed;
    }

    /** footer **/

    .top-button {
        margin: auto;
        margin-top: 10px;
        background-color: #35414e;
        color: #fff;
        padding: 10px 15px;
        border-radius: 5px;
        cursor: pointer;
        width: fit-content;
        font-size: 14px;
        box-shadow: 0 0 3px rgb(207, 207, 207);
    }

    .top-button:hover {
        background-color: #555;
    }

    hr {
        margin-top: 10px;
        border: none;
        border-top: .5px solid #f5f5f5;
    }

    .footer-div {
        color: #f5f5f5;
        display: flex;
        justify-content: space-evenly;
    }

    .footer-div ul {
        margin-top: 20px;
    }

    .footer-div ul a {
        display: block;
        font-size: 0.85rem;
        margin-top: 10px;
        color: #dddddd;
        cursor: pointer;
    }

    /** copyright **/
    .div-copyright {
        color: white;
        text-align: center;
        padding: 10px;
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 0.85rem;
    }
}

/* Medium devices (max-767px, Tablets) */
@media (min-width: 768px) and (max-width: 1024px) {
    .navbar {
        margin: 8px 70px;
    }

    .menu-btn {
        display: none;
    }

    .logo img {
        width: 100px;
        height: auto;
    }

    .search-box {
        position: relative;
        width: 30%;
    }

    .search-box input {
        width: 100%;
        height: 40px;
        border: none;
        outline: none;
        background: #fafafa;
        border-radius: 30px;
        color: black;
        font-size: 14px;
        padding-left: 20px;
        border: 1px solid rgb(214, 214, 214);
    }

    .search-box button {
        cursor: pointer;
        width: 40px;
        height: 40px;
        border-radius: 30px;
        border: none;
        position: absolute;
        top: 0;
        right: 0;
        font-size: 16px;
        color: white;
        transform: scale(0.9);
        background: rgb(29, 103, 141);
    }

    .close-btn,
    .infobar {
        display: none;
    }

    .sideinfo {
        display: flex;
        width: 35%;
        justify-content: space-between;
    }

    .sideinfo a {
        text-decoration: none;
        color: rgb(29, 103, 141);
        font-size: .8rem;
        font-weight: 700;
        transition: .2s ease-in;
    }

    .sideinfo a:hover {
        color: rgb(236, 157, 0);
    }

    /** Panel Section **/
    .panel {
        margin: 6px 70px;
    }

    .category {
        display: flex;
        width: 100%;
        align-items: center;
        gap: 25px;
    }

    .category a {
        border: none;
        outline: none;
        color: rgb(0, 0, 0);
        padding: 8.5px 12px;
        border-radius: 15px;
        border: 1px solid rgb(155, 153, 153);
        background-color: rgb(255, 255, 255);
        align-items: center;
        cursor: pointer;
        font-size: .8rem;
        transition: .3s ease-in;
    }

    .category a:hover {
        background-color: #dadada;
        color: rgb(29, 103, 141);
    }

    .vertical-line {
        height: 15px;
        width: 1px;
        background-color: white;
    }

    /** Social **/
    .social-media {
        display: flex;
        gap: 25px;
    }

    .social-media i {
        color: #f5f5f5;
    }

    .social-media i:hover {
        cursor: pointer;
        font-size: 20px;
    }

    /** add section 
    .top-add {
        width: 90%;
        height: 160px;
        margin: 15px auto;
        border-radius: 5px;
        background-color: #f5f5f5;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    }  **/

    /** hero section  **/
    .sideBarAdv {
        display: none;
    }

    .hero-section {
        width: 100%;
        height: auto;
    }

    .hero-heading {
        width: 75%;
        border-radius: 5px;
        padding: 25px 16px 0 70px;
    }

    .hero-heading h2 {
        font-size: 1.2rem;
    }

    /** Adv. Section **/
    .vertical-ad {
        padding: 25px 70px 0 5px;
    }

    .post-item-sidebar .post-details {
        height: auto;
        width: 95%;
        margin: 5px;
        overflow: hidden;
    }

    .post-item-sidebar .update {
        gap: 8px;
        display: flex;
        font-size: .8rem;
    }

    .post-item-sidebar p {
        margin-top: 4px;
        color: black;
        font-size: .95rem;
    }

    /* Hero Post Styling */
    #hero-post h3 {
        font-size: 1.1rem;
    }

    #hero-post .details {
        font-size: 1rem;
    }

    #hero-post .content {
        font-size: .9rem;
    }

    /* New Posts Styling */
    .post-item .update {
        gap: 8px;
        display: flex;
        font-size: .8rem;
    }

    .post-item h3 {
        font-size: .8rem;
        color: #333;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 15px;
    }

    .post-item p {
        margin-top: 4px;
        color: #6b6b6b;
        font-size: .9rem;
    }


    .post-vacancy {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .post-lastdate {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .post-name {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    /* category-detail */
    .category-detail-card .post-category {
        color: #007bff;
    }

    .category-detail-card .update {
        display: flex;
        gap: 10px;
        margin: 5px 10px;
    }

    .category-detail-card .post-details {
        margin: 10px;
        font-size: .8rem;
    }

    .post-item.advertisement {
        display: none;
    }

    /* post advertisement 
    .post-item.advertisement {
        list-style: none;
        margin: 20px 0;
        width: 100%;
        max-height: 300px;
        background: #f8f8f8;
        border: 1px dashed #ccc;
        border-radius: 10px;
        text-align: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    } */

    .post-list .post-item:hover {
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
        cursor: pointer;
    }

    /* Pagination */
    .pagination {
        display: flex;
        justify-content: center;
        margin: 20px 0;
    }

    .pagination button {
        padding: 10px 20px;
        margin: 0 5px;
        border: none;
        background: #007bff;
        color: white;
        cursor: pointer;
        border-radius: 5px;
    }

    .pagination button:disabled {
        background: #ccc;
        cursor: not-allowed;
    }

    /** footer **/

    .top-button:hover {
        background-color: #555;
    }

    hr {
        margin-top: 10px;
        border: none;
        border-top: .5px solid #f5f5f5;
    }

    .footer-div {
        color: #f5f5f5;
        display: flex;
        justify-content: space-evenly;
    }

    .footer-div ul {
        margin-top: 20px;
    }

    .footer-div ul a {
        display: block;
        font-size: 0.85rem;
        margin-top: 10px;
        color: #dddddd;
        cursor: pointer;
    }

    /** copyright **/
    .div-copyright {
        color: white;
        text-align: center;
        padding: 10px;
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 0.85rem;
    }
}

/* Large devices (≥992px, e.g., laptop, desktops) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .menu-btn {
        display: none;
    }

    .logo img {
        width: 120px;
        height: auto;
    }

    .search-box {
        position: relative;
        width: 40%;
    }

    .search-box input {
        width: 100%;
        height: 40px;
        border: none;
        outline: none;
        background: #fafafa;
        border-radius: 30px;
        color: black;
        font-size: 14px;
        padding-left: 20px;
        border: 1px solid rgb(214, 214, 214);
    }

    .search-box button {
        cursor: pointer;
        width: 40px;
        height: 40px;
        border-radius: 30px;
        border: none;
        position: absolute;
        top: 0;
        right: 0;
        font-size: 1.1rem;
        color: white;
        transform: scale(0.9);
        background: rgb(29, 103, 141);
    }

    .close-btn,
    .infobar {
        display: none;
    }

    .sideinfo {
        display: flex;
        width: 30%;
        justify-content: space-between;
    }

    .sideinfo a {
        text-decoration: none;
        color: rgb(29, 103, 141);
        font-size: .8rem;
        font-weight: 700;
        transition: .2s ease-in;
    }

    .sideinfo a:hover {
        color: rgb(236, 157, 0);
    }


    /** Panel Section **/
    .category a {
        border: none;
        outline: none;
        color: rgb(0, 0, 0);
        padding: 8px 15px;
        border-radius: 15px;
        border: 1px solid rgb(155, 153, 153);
        background-color: rgb(255, 255, 255);
        align-items: center;
        cursor: pointer;
        font-size: .8rem;
        transition: .3s ease-in;
    }

    .category a:hover {
        color: rgb(236, 157, 0);
    }

    .vertical-line {
        height: 16px;
        width: 1px;
        background-color: white;
    }

    /** Social **/
    .social-media {
        display: flex;
        gap: 25px;
    }

    .social-media i {
        color: #f5f5f5;
        transition: .3s ease-in;
    }

    .social-media i:hover {
        cursor: pointer;
        color: rgb(236, 157, 0);
    }

    /** add section 
    .top-add {
        width: 100%;
        height: 180px;
        margin: 20px auto;
        border-radius: 5px;
        background-color: #f5f5f5;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    }   **/

    /** hero section  **/
    .sideBarAdv {
        display: none;
    }

    .hero-section {
        width: 100%;
        height: auto;
    }

    .hero-heading {
        width: 75%;
        border-radius: 5px;
        padding: 25px 16px 0 100px;
    }

    .vertical-ad {
        padding: 25px 100px 0 5px;
    }

    .hero-heading h2 {
        font-size: 1.2rem;
    }

    /** Adv. Section **/
    .post-item-sidebar .post-details {}

    .post-item-sidebar .update {
        gap: 8px;
        display: flex;
        font-size: .8rem;
    }

    .post-item-sidebar p {
        margin-top: 4px;
        color: black;
        font-size: .95rem;
    }

    /* Hero Post Styling */
    #hero-post h3 {
        font-size: 1.1rem;
    }

    #hero-post .content {
        font-size: 1rem;
    }

    /* New Posts Styling */
    .post-item .update {}

    .post-item h3 {}

    .post-item p {
        margin-top: 4px;
        color: #6b6b6b;
        font-size: .9rem;
    }


    .post-vacancy {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .post-lastdate {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .post-name {}

    /* category-detail */
    .category-detail-card .post-category {
        color: red;
    }

    .category-detail-card .update {}

    .category-detail-card .post-details {
        margin: 10px;
        font-size: .9rem;
    }
    .footer-div ul p

    .post-item.advertisement {
        display: none;
    }

    /* post advertisement */
    .post-item.advertisement {
        list-style: none;
        margin: 20px 0;
        width: 100%;
        max-height: 300px;
        background: #f8f8f8;
        border: 1px dashed #ccc;
        border-radius: 10px;
        text-align: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .post-list .post-item:hover {
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
        cursor: pointer;
    }

    /* Pagination */
    .pagination {
        display: flex;
        justify-content: center;
        margin: 20px 0;
    }

    .pagination button {
        padding: 10px 20px;
        margin: 0 5px;
        border: none;
        background: #007bff;
        color: white;
        cursor: pointer;
        border-radius: 5px;
    }

    .pagination button:disabled {
        background: #ccc;
        cursor: not-allowed;
    }

    /** footer **/

    .top-button {
        margin: auto;
        margin-top: 15px;
        background-color: #35414e;
        color: #fff;
        padding: 10px 15px;
        border-radius: 5px;
        cursor: pointer;
        width: fit-content;
        font-size: 14px;
        box-shadow: 0 0 3px rgb(207, 207, 207);
    }

    .top-button:hover {
        background-color: #555;
    }

    hr {
        margin-top: 10px;
        border: none;
        border-top: .5px solid #f5f5f5;
    }

    .footer-div {
        color: #f5f5f5;
        display: flex;
        justify-content: space-evenly;
    }

    .footer-div ul {
        margin-top: 20px;
    }

    
    .footer-div ul a {
        display: block;
        font-size: 0.85rem;
        margin-top: 10px;
        color: #dddddd;
        cursor: pointer;
    }

    /** copyright **/
    .div-copyright {
        color: white;
        text-align: center;
        padding: 10px;
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 0.85rem;
    }
}

/* Extra Large devices (≥1400px) */
@media (min-width: 1441px) {
    .navbar {
        margin: 8px 150px;
    }

    .menu-btn {
        display: none;
    }

    .logo img {
        width: 55px;
        height: auto;
    }

    .search-box {
        position: relative;
        width: 40%;
    }

    .search-box input {
        width: 100%;
        height: 40px;
        border: none;
        outline: none;
        background: #fafafa;
        border-radius: 30px;
        color: black;
        font-size: 14px;
        padding-left: 20px;
        border: 1px solid rgb(214, 214, 214);
    }

    .search-box button {
        cursor: pointer;
        width: 40px;
        height: 40px;
        border-radius: 30px;
        border: none;
        position: absolute;
        top: 0;
        right: 0;
        font-size: 1.1rem;
        color: white;
        transform: scale(0.9);
        background: rgb(29, 103, 141);
    }

    .close-btn,
    .infobar {
        display: none;
    }

    .sideinfo {
        display: flex;
        width: 30%;
        justify-content: space-between;
    }

    .sideinfo a {
        text-decoration: none;
        color: rgb(29, 103, 141);
        font-size: .8rem;
        font-weight: 700;
        transition: .2s ease-in;
    }

    .sideinfo a:hover {
        color: rgb(236, 157, 0);
    }


    /** Panel Section **/
    .panel {
        margin: 6px 150px;
    }

    .category a {
        border: none;
        outline: none;
        color: rgb(0, 0, 0);
        padding: 8px 15px;
        border-radius: 15px;
        border: 1px solid rgb(155, 153, 153);
        background-color: rgb(255, 255, 255);
        align-items: center;
        cursor: pointer;
        font-size: .8rem;
        transition: .3s ease-in;
    }

    .category a:hover {
        color: rgb(236, 157, 0);
    }

    /** Social **/
    .social-media {
        display: flex;
        gap: 25px;
    }

    .social-media i {
        color: #f5f5f5;
        transition: .3s ease-in;
    }

    .social-media i:hover {
        cursor: pointer;
        color: rgb(236, 157, 0);
    }

    /** add section 
    .top-add {
        width: 100%;
        height: 180px;
        margin: 20px auto;
        border-radius: 5px;
        background-color: #f5f5f5;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    }   **/

    /** hero section  **/
    .sideBarAdv {
        display: none;
    }

    .hero-section {
        width: 100%;
        height: auto;
    }

    .hero-heading {
        width: 75%;
        border-radius: 5px;
        padding: 25px 16px 0 150px;
    }

    .vertical-ad {
        padding: 25px 150px 0 5px;
    }

    .hero-heading h2 {
        font-size: 1.2rem;
    }

    #older-posts {
        width: 100%;
        display: block;
        flex-wrap: wrap;
    }

    /** Adv. Section **/
    .post-item-sidebar .post-details {
        height: auto;
        width: 95%;
        margin: 5px;
        overflow: hidden;
    }

    .post-item-sidebar .update {
        gap: 8px;
        display: flex;
        font-size: .8rem;
    }

    .post-item-sidebar p {
        margin-top: 4px;
        color: black;
        font-size: .95rem;
    }

    /* Hero Post Styling */
    #hero-post h3 {
        font-size: 1.1rem;
    }

    #hero-post .details {
        margin: 5px 15px;
        display: flex;
        gap: 10px;
        font-size: 1rem;
    }

    #hero-post .content {
        font-size: 1rem;
    }

    /* New Posts Styling */
    .post-item .update {
        gap: 8px;
        display: flex;
        font-size: .8rem;
    }

    .post-item h3 {
        font-size: .8rem;
        color: #333;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 15px;
    }

    .post-item p {
        margin-top: 4px;
        color: #6b6b6b;
        font-size: .9rem;
    }


    .post-vacancy {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .post-lastdate {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .post-name {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    /* category-detail */
    .category-detail-card .post-category {
        color: #007bff;
    }

    .category-detail-card .update {
        display: flex;
        gap: 10px;
        margin: 5px 10px;
    }

    .category-detail-card .post-details {
        margin: 10px;
        font-size: .9rem;
    }

    .post-item.advertisement {
        display: none;
    }

    /* post advertisement */
    .post-item.advertisement {
        list-style: none;
        margin: 20px 0;
        width: 100%;
        max-height: 300px;
        background: #f8f8f8;
        border: 1px dashed #ccc;
        border-radius: 10px;
        text-align: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .post-list .post-item:hover {
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
        cursor: pointer;
    }

    /* Pagination */
    .pagination {
        display: flex;
        justify-content: center;
        margin: 20px 0;
    }

    .pagination button {
        padding: 10px 20px;
        margin: 0 5px;
        border: none;
        background: #007bff;
        color: white;
        cursor: pointer;
        border-radius: 5px;
    }

    .pagination button:disabled {
        background: #ccc;
        cursor: not-allowed;
    }

    /** footer **/
    .top-button {
        margin: auto;
        margin-top: 15px;
        background-color: #35414e;
        color: #fff;
        padding: 10px 15px;
        border-radius: 5px;
        cursor: pointer;
        width: fit-content;
        font-size: 14px;
        box-shadow: 0 0 3px rgb(207, 207, 207);
    }

    .top-button:hover {
        background-color: #555;
    }

    hr {
        margin-top: 10px;
        border: none;
        border-top: .5px solid #f5f5f5;
    }

    .footer-div {
        color: #f5f5f5;
        display: flex;
        justify-content: space-evenly;
    }

    .footer-div ul {
        margin-top: 20px;
    }

    .footer-div ul a {
        display: block;
        font-size: 0.85rem;
        margin-top: 10px;
        color: #dddddd;
        cursor: pointer;
    }

    /** copyright **/
    .div-copyright {
        color: white;
        text-align: center;
        padding: 10px;
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 0.85rem;
    }
}