/* Homepage partners strip.
   Fully scoped .pnr-* classes — zero shared names with the legacy cascade
   (same approach proven on the nav drawer / school page). The old markup was
   an owl-carousel shell that never initialised, so logos rendered at wildly
   different sizes on an uneven baseline. This is a plain responsive grid:
   uniform logo boxes, name captions, grayscale -> colour on hover. */

:root { --pnr-brand: #E32D44; --pnr-ink: #2c2c38; --pnr-muted: #5A5A67; }

.pnr {
    padding: 64px 0 96px;
}

/* ---------- heading ---------- */
.pnr__head {
    max-width: 1240px;
    margin: 0 auto 34px;
    padding: 0 25px;
}
.pnr__bar {
    display: block;
    width: 52px;
    height: 4px;
    border-radius: 4px;
    background: var(--pnr-brand);
    margin-bottom: 16px;
}
.pnr__title {
    margin: 0;
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.2;
    color: var(--pnr-ink);
}
.pnr__sub {
    margin: 10px 0 0;
    max-width: 620px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--pnr-muted);
}

/* ---------- grid ---------- */
.pnr__grid {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 20px;
}

.pnr__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 26px 18px 20px;
    background: #fff;
    border: 1px solid #ebebf0;
    border-radius: 14px;
    text-decoration: none !important;
    color: inherit;
    transition: box-shadow .22s ease, border-color .22s ease, transform .22s ease;
}
a.pnr__item:hover,
a.pnr__item:focus-visible {
    border-color: rgba(227, 45, 68, .35);
    box-shadow: 0 10px 26px rgba(30, 22, 40, .10);
    transform: translateY(-3px);
    text-decoration: none !important;
}
a.pnr__item:focus-visible {
    outline: 2px solid var(--pnr-brand);
    outline-offset: 3px;
}

.pnr__logo {
    height: 76px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.pnr__logo img {
    max-height: 76px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform .25s ease;
}
a.pnr__item:hover .pnr__logo img,
a.pnr__item:focus-visible .pnr__logo img {
    transform: scale(1.05);
}

.pnr__name {
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--pnr-muted);
    transition: color .2s ease;
}
a.pnr__item:hover .pnr__name {
    color: var(--pnr-brand);
}

/* small external-link cue, only on real links */
.pnr__name::after {
    content: '';
}
a.pnr__item .pnr__name::after {
    content: '\2197';           /* ↗ */
    margin-left: 5px;
    font-size: 12px;
    opacity: 0;
    transition: opacity .2s ease;
}
a.pnr__item:hover .pnr__name::after {
    opacity: .85;
}

/* ---------- responsive ---------- */
@media (max-width: 767px) {
    .pnr { padding: 44px 0 64px; }
    .pnr__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .pnr__item { padding: 20px 12px 16px; border-radius: 12px; }
    .pnr__logo { height: 58px; margin-bottom: 12px; }
    .pnr__logo img { max-height: 58px; }
    .pnr__name { font-size: 12.5px; }
}
