﻿.pihm-courses-page {
    width: 100%;
    background: #ffffff;
    color: #333333;
    font-family: 'Poppins', sans-serif;
}

.pihm-courses-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
    background: #192f59;
    text-align: center;
}

    .pihm-courses-hero::before {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        top: -150px;
        left: -100px;
        border-radius: 50%;
        background: rgba(239, 127, 27, .12);
    }

    .pihm-courses-hero::after {
        content: "";
        position: absolute;
        width: 350px;
        height: 350px;
        right: -150px;
        bottom: -180px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .05);
    }

.pihm-courses-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.pihm-courses-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #ef7f1b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.pihm-courses-title {
    margin: 0 0 15px;
    color: #ffffff !important;
    font-family: 'Playfair Display', serif;
    font-size: 50px !important;
    line-height: 1.2;
    font-weight: 700;
}

.pihm-courses-subtitle {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .85);
    font-size: 15px;
    line-height: 1.8;
}

.pihm-courses-content {
    padding: 70px 20px 90px;
}

.pihm-courses-container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
}

.pihm-courses-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 35px;
    align-items: start;
}

.pihm-courses-sidebar {
    position: sticky;
    top: 30px;
}

.pihm-courses-filter {
    overflow: hidden;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: 0 7px 25px rgba(0, 0, 0, .06);
}

.pihm-courses-filter-heading {
    padding: 18px 20px;
    background: #192f59;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.pihm-courses-filter-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pihm-courses-filter-item {
    border-bottom: 1px solid #eeeeee;
}

    .pihm-courses-filter-item:last-child {
        border-bottom: none;
    }

.pihm-course-filter-link {
    display: block;
    padding: 14px 18px;
    color: #555555;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all .25s ease;
}

    .pihm-course-filter-link:hover {
        padding-left: 23px;
        background: #f7f7f7;
        color: #ef7f1b !important;
    }

    .pihm-course-filter-link.active {
        background: #ef7f1b;
        color: #ffffff !important;
        font-weight: 600;
    }

.pihm-courses-main {
    min-width: 0;
}

.pihm-courses-main-heading {
    margin-bottom: 25px;
}

    .pihm-courses-main-heading h2 {
        margin: 0 0 8px;
        color: #192f59;
        font-family: 'Playfair Display', serif;
        font-size: 34px;
        line-height: 1.3;
    }

    .pihm-courses-main-heading p {
        margin: 0;
        color: #777777;
        font-size: 13px;
        line-height: 1.7;
    }

.pihm-courses-list {
    width: 100%;
    overflow: hidden;
    border: 1px solid #dddddd;
    border-radius: 4px;
    background: #ffffff;
}

.pihm-course-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 115px 135px;
    align-items: center;
    min-height: 62px;
    border-bottom: 1px solid #dddddd;
}

    .pihm-course-item:last-child {
        border-bottom: none;
    }

.pihm-course-name {
    margin: 0;
    min-width: 0;
    padding: 15px 16px;
    color: #444444;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
}

.pihm-course-code {
    display: block;
    margin-top: 3px;
    color: #999999;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.pihm-course-action {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    padding: 8px;
    border-left: 1px solid #dddddd;
}

.pihm-course-apply-btn,
.pihm-course-know-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all .25s ease;
}

.pihm-course-apply-btn {
    background: #ef7f1b;
    color: #ffffff !important;
}

    .pihm-course-apply-btn:hover {
        background: #192f59;
        color: #ffffff !important;
    }

.pihm-course-know-btn:hover {
    color: #ef7f1b !important;
    border-color: #ef7f1b;
}

.pihm-course-know-btn {
    background: transparent;
    color: #192f59 !important;
    border-bottom: 1px solid #192f59;
    border-radius: 0;
}


.pihm-courses-empty {
    padding: 60px 20px;
    border: 1px solid #eeeeee;
    border-radius: 5px;
    background: #fafafa;
    text-align: center;
}

    .pihm-courses-empty i {
        display: block;
        margin-bottom: 15px;
        color: #ef7f1b;
        font-size: 40px;
    }

    .pihm-courses-empty h3 {
        margin: 0 0 8px;
        color: #192f59;
        font-family: 'Playfair Display', serif;
        font-size: 25px;
    }

    .pihm-courses-empty p {
        margin: 0;
        color: #777777;
        font-size: 13px;
    }

@media (max-width: 991px) {

    .pihm-courses-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 25px;
    }

    .pihm-courses-title {
        font-size: 42px;
    }

    .pihm-course-item {
        grid-template-columns: minmax(0, 1fr) 100px 115px;
    }
}

@media (max-width: 767px) {

    .pihm-courses-hero {
        padding: 55px 18px;
    }

    .pihm-courses-title {
        font-size: 34px !important;
        line-height: 1.25;
    }

    .pihm-courses-subtitle {
        max-width: 100%;
        font-size: 13px;
        line-height: 1.7;
    }

    .pihm-courses-content {
        padding: 45px 15px 60px;
    }

    .pihm-courses-layout {
        display: block;
    }

    .pihm-courses-sidebar {
        position: static;
        width: 100%;
        margin-bottom: 30px;
    }

    .pihm-courses-filter {
        width: 100%;
    }

    .pihm-courses-main {
        width: 100%;
    }

    .pihm-courses-main-heading {
        margin-bottom: 20px;
    }

        .pihm-courses-main-heading h2 {
            font-size: 28px;
            line-height: 1.3;
        }

    .pihm-course-item {
        grid-template-columns: minmax(0, 1fr) 90px 105px;
        min-height: 58px;
    }

    .pihm-course-name {
        padding: 12px 10px;
        font-size: 12px;
        overflow-wrap: anywhere;
    }

    .pihm-course-action {
        min-height: 58px;
        padding: 5px;
    }

    .pihm-course-apply-btn,
    .pihm-course-know-btn {
        width: 100%;
        min-height: 30px;
        padding: 5px 6px;
        font-size: 9px;
        white-space: nowrap;
    }
}


@media (max-width: 480px) {

    .pihm-courses-hero {
        padding: 45px 15px;
    }

    .pihm-courses-eyebrow {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .pihm-courses-title {
        font-size: 28px !important;
    }

    .pihm-courses-subtitle {
        font-size: 12px;
        line-height: 1.65;
    }

    .pihm-courses-content {
        padding: 35px 12px 50px;
    }

    .pihm-courses-main-heading h2 {
        font-size: 25px;
    }

    .pihm-courses-main-heading p {
        font-size: 12px;
    }

    .pihm-courses-list {
        border-radius: 4px;
    }

    .pihm-course-item {
        display: block;
        padding: 14px 12px;
    }

    .pihm-course-name {
        width: 100%;
        padding: 0 0 10px;
        font-size: 13px;
        line-height: 1.5;
    }

    .pihm-course-code {
        margin-top: 4px;
        font-size: 9px;
    }

    .pihm-course-action {
        display: inline-flex;
        width: auto;
        min-height: auto;
        margin-right: 6px;
        padding: 0;
        border: none;
        vertical-align: middle;
    }

    .pihm-course-apply-btn,
    .pihm-course-know-btn {
        width: auto;
        min-height: 32px;
        padding: 6px 11px;
        font-size: 10px;
    }
}


@media (max-width: 360px) {

    .pihm-courses-title {
        font-size: 25px !important;
    }

    .pihm-course-apply-btn,
    .pihm-course-know-btn {
        padding: 6px 8px;
        font-size: 9px;
    }
}
