/* =========================================================
   Pak Student Hub — Inner Page Architecture
   Natural / editorial / human-made visual language
   ========================================================= */

.psh-page-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.psh-breadcrumbs {
    padding: 26px 0 0;
    font-size: 13px;
    color: #6d756e;
}

.psh-breadcrumbs a {
    color: #27634f;
    text-decoration: none;
}

.psh-breadcrumbs a:hover {
    text-decoration: underline;
}

.psh-breadcrumb-separator {
    margin: 0 9px;
    color: #b0b5ae;
}

.psh-archive-header,
.psh-single-header {
    padding: 70px 0 42px;
    max-width: 850px;
}

.psh-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #27634f;
}

.psh-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b9965b;
}

.psh-archive-header h1,
.psh-single-header h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 72px);
    line-height: .98;
    letter-spacing: -.045em;
    color: #20251f;
}

.psh-archive-description,
.psh-single-excerpt {
    margin-top: 22px;
    max-width: 720px;
    font-size: 18px;
    line-height: 1.75;
    color: #667068;
}

.psh-content-area {
    padding: 20px 0 90px;
}

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

.psh-entity-card {
    position: relative;
    display: flex;
    min-height: 260px;
    flex-direction: column;
    padding: 28px;
    overflow: hidden;
    border: 1px solid #e1e4de;
    border-radius: 22px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 30px rgba(39, 48, 42, .045);
    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease;
}

.psh-entity-card::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #edf3ee;
    transition: transform .35s ease;
}

.psh-entity-card:hover {
    transform: translateY(-7px);
    border-color: #cbd8cf;
    box-shadow: 0 20px 45px rgba(39, 48, 42, .10);
}

.psh-entity-card:hover::after {
    transform: scale(1.3);
}

.psh-card-number {
    position: relative;
    z-index: 2;
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #edf3ee;
    color: #27634f;
    font-size: 12px;
    font-weight: 800;
}

.psh-entity-card h2,
.psh-entity-card h3 {
    position: relative;
    z-index: 2;
    margin: 28px 0 10px;
    font-size: 23px;
    line-height: 1.15;
    letter-spacing: -.025em;
    color: #20251f;
}

.psh-entity-card p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #707970;
    line-height: 1.65;
}

.psh-card-meta {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 24px;
}

.psh-meta-pill {
    padding: 7px 10px;
    border: 1px solid #e0e5df;
    border-radius: 999px;
    background: #f8faf7;
    color: #5d695f;
    font-size: 12px;
}

.psh-card-arrow {
    position: absolute;
    z-index: 3;
    top: 27px;
    right: 28px;
    font-size: 22px;
    color: #27634f;
}

.psh-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 55px;
    align-items: start;
}

.psh-main-content {
    min-width: 0;
}

.psh-main-content > p,
.psh-main-content > ul,
.psh-main-content > ol {
    max-width: 780px;
}

.psh-main-content p,
.psh-main-content li {
    color: #5f6962;
    font-size: 17px;
    line-height: 1.8;
}

.psh-info-panel {
    position: sticky;
    top: 30px;
    padding: 25px;
    border: 1px solid #e0e4de;
    border-radius: 20px;
    background: #f7f8f4;
}

.psh-info-panel h2 {
    margin: 0 0 18px;
    font-size: 18px;
    color: #20251f;
}

.psh-info-row {
    padding: 13px 0;
    border-top: 1px solid #e2e5df;
}

.psh-info-label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #7b847d;
}

.psh-info-value {
    color: #29312b;
    line-height: 1.5;
}

.psh-info-value a {
    color: #27634f;
}

.psh-related {
    margin-top: 85px;
    padding-top: 55px;
    border-top: 1px solid #e2e5df;
}

.psh-related h2 {
    margin: 0 0 25px;
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -.04em;
    color: #20251f;
}

.psh-empty-state {
    padding: 55px 30px;
    border: 1px dashed #d5dbd4;
    border-radius: 20px;
    background: #fafbf9;
    text-align: center;
    color: #6d756e;
}

.psh-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 45px;
}

.psh-pagination a,
.psh-pagination span {
    display: inline-flex;
    min-width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dfe4de;
    border-radius: 10px;
    color: #27634f;
    text-decoration: none;
}

.psh-pagination .current {
    background: #27634f;
    border-color: #27634f;
    color: #fff;
}

.psh-search-area {
    margin: 0 0 35px;
}

.psh-search-form {
    display: flex;
    gap: 10px;
}

.psh-search-form input {
    flex: 1;
    min-height: 52px;
    padding: 0 17px;
    border: 1px solid #dce2dc;
    border-radius: 12px;
    background: #fff;
    font: inherit;
}

.psh-search-form button {
    min-height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: 12px;
    background: #27634f;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

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

    .psh-single-layout {
        grid-template-columns: 1fr;
    }

    .psh-info-panel {
        position: static;
    }
}

@media (max-width: 620px) {
    .psh-page-shell {
        width: min(100% - 28px, 1180px);
    }

    .psh-archive-header,
    .psh-single-header {
        padding: 48px 0 30px;
    }

    .psh-archive-header h1,
    .psh-single-header h1 {
        font-size: 43px;
    }

    .psh-card-grid {
        grid-template-columns: 1fr;
    }

    .psh-entity-card {
        min-height: 235px;
        padding: 24px;
    }

    .psh-search-form {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .psh-entity-card,
    .psh-entity-card::after {
        transition: none;
    }
}
