
/*
 * PIC header layout
 * Exact menu order:
 * Home | About | Study Visa | Academics | Contact | Blogs |
 * Germany Visa Calculator | Check Eligibility
 */
@media (min-width: 1181px) {
    header .header-inner {
        max-width: 1540px !important;
        padding-left: 30px !important;
        padding-right: 30px !important;
        justify-content: flex-start !important;
        gap: 0 !important;
    }

    header .logo-wrap {
        flex: 0 0 auto !important;
        margin-right: 46px !important;
    }

    header .header-inner nav {
        display: flex !important;
        flex: 1 1 auto !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 3px !important;
        min-width: 0;
    }

    header .header-inner nav .nav-link {
        padding: 8px 10px !important;
        font-size: 0.82rem !important;
        white-space: nowrap;
        text-decoration: none !important;
    }

    header .header-inner nav .nav-cta {
        margin-left: 7px !important;
        padding: 10px 15px !important;
        font-size: 0.77rem !important;
    }

    header .header-inner nav .pic-emp-assessment {
        margin-left: 6px !important;
    }
}

/* Avoid a crowded header on medium-size laptops. */
@media (min-width: 769px) and (max-width: 1180px) {
    header .header-inner {
        max-width: none !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    header .logo-wrap {
        margin-right: auto !important;
    }

    header .header-inner nav {
        display: none !important;
    }

    header .hamburger {
        display: flex !important;
    }
}

header .pic-emp-dropdown-trigger {
    display: inline-flex;
    align-items: center;
}

header .pic-emp-dropdown .dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: var(--navy, #17365f);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

header .pic-emp-dropdown .dropdown-menu li a i {
    width: 18px;
    color: var(--primary, #2997ce);
}

header .pic-emp-dropdown .dropdown-menu li a:hover {
    color: var(--primary, #2997ce);
    background: var(--offwhite, #f5f9fc);
}

header .pic-emp-calculator,
header .pic-emp-assessment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mobile-nav .pic-emp-mobile-dropdown .sub-item {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}

.mobile-nav .pic-emp-mobile-calculator,
.mobile-nav .pic-emp-mobile-assessment {
    margin: 5px 14px;
    border-radius: 10px !important;
    color: #fff !important;
    background: linear-gradient(135deg, #2997ce, #167ab6);
    font-weight: 800 !important;
}

.mobile-nav .pic-emp-mobile-calculator i,
.mobile-nav .pic-emp-mobile-assessment i {
    margin-right: 7px;
}

/* Normal editable WordPress pages */
body.page .pic-wp-content {
    max-width: 1180px;
    min-height: 55vh;
    margin: 50px auto;
    padding: 34px;
    border: 1px solid #dce8f2;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(13, 45, 80, 0.07);
}

body.page .pic-wp-content > article > h1 {
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.12;
}

body.page .pic-wp-content .entry-content {
    font-size: 17px;
    line-height: 1.75;
}

body.page .pic-wp-content .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

/* Editable blog */
.pic-emp-blog {
    max-width: 1220px;
    margin: 0 auto;
}

.pic-emp-page-hero {
    margin-bottom: 30px;
    padding: 42px 28px;
    border-radius: 22px;
    background: linear-gradient(135deg, #17365f, #2997ce);
    color: #fff;
    text-align: center;
}

.pic-emp-page-hero span {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    font-weight: 800;
}

.pic-emp-page-hero h1 {
    margin: 10px 0 !important;
    color: #fff !important;
}

.pic-emp-page-hero p {
    margin: 0;
}

.pic-emp-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.pic-emp-blog-card {
    overflow: hidden;
    border: 1px solid #dae7f1;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(13, 45, 80, 0.07);
}

.pic-emp-blog-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.pic-emp-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pic-emp-blog-content {
    padding: 21px;
}

.pic-emp-blog-meta {
    margin-bottom: 9px;
    color: #708395;
    font-size: 13px;
}

.pic-emp-blog-content h2 {
    margin: 0 0 11px;
    font-size: 21px;
    line-height: 1.3;
}

.pic-emp-blog-content h2 a,
.pic-emp-read {
    color: #17365f;
    text-decoration: none;
}

.pic-emp-read {
    color: #1686c4;
    font-weight: 800;
}

.pic-emp-pagination {
    margin-top: 30px;
    text-align: center;
}

.pic-emp-pagination .page-numbers {
    display: inline-flex;
    margin: 3px;
    padding: 8px 12px;
    border: 1px solid #d7e5f0;
    border-radius: 8px;
    text-decoration: none;
}

.pic-emp-pagination .current {
    border-color: #2997ce;
    background: #2997ce;
    color: #fff;
}

.pic-emp-empty {
    padding: 42px 22px;
    border: 1px dashed #bad0e2;
    border-radius: 16px;
    background: #f6fafd;
    text-align: center;
}

@media (max-width: 900px) {
    .pic-emp-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    body.page .pic-wp-content {
        margin: 24px 12px;
        padding: 22px;
    }

    .pic-emp-blog-grid {
        grid-template-columns: 1fr;
    }
}


/* Clean blog listing page: no extra hero strip spacing */
.pic-emp-blog-clean {
    padding-top: 0;
}
