/* Homepage testimonials only. Keep all component rules under .up-testimonials. */
body.home .kode-parallax-wrapper:has(.up-testimonials) {
    background: #f8f6f1 !important;
    padding: 60px 0 48px !important;
}
body.home .kode-parallax-wrapper:has(.up-testimonials)::before {
    display: none;
}
body.home .kode-parallax-wrapper:has(.up-testimonials) > .container {
    z-index: auto !important;
}
body.home .up-testimonials-legacy-heading[hidden] {
    display: none !important;
}
body.home .up-testimonials {
    --up-ink: #142c52;
    --up-accent: #35349b;
    --up-gold: #eee3ca;
    width: 100%;
    padding: 0 15px;
    color: #465063;
}
body.home .up-testimonials [hidden] { display: none !important; }
body.home .up-testimonials__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
}
body.home .up-testimonials__header h2 {
    max-width: 360px;
    margin: 0;
    color: var(--up-ink);
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: 0.035em;
    text-transform: none;
}
body.home .up-testimonials__controls {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}
body.home .up-testimonials__controls button {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--up-gold);
    border-radius: 50%;
    background: #fff;
    color: var(--up-accent);
    font: 36px/1 Arial, sans-serif;
    cursor: pointer;
}
body.home .up-testimonials__controls button:disabled {
    opacity: 0.4;
    cursor: default;
}
body.home .up-testimonials__controls button:not(:disabled):hover {
    background: var(--up-accent);
    color: #fff;
}
body.home .up-testimonials__count {
    min-width: 44px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
body.home .up-testimonials__track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}
body.home .up-testimonials__slide {
    list-style: none;
    min-width: 0;
    margin: 0;
    padding: 0;
}
body.home .up-testimonials__card {
    position: relative;
    height: 100%;
    box-sizing: border-box;
    padding: 62px 24px 32px;
    border: 1px solid var(--up-gold);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 20px rgb(30 40 60 / 4%);
}
body.home .up-testimonials__quote-mark {
    position: absolute;
    top: 2px;
    left: 20px;
    color: #f3ecd9;
    font: 86px/1 Georgia, serif;
    pointer-events: none;
}
body.home .up-testimonials__card blockquote {
    float: none;
    width: auto;
    margin: 0 0 28px;
    padding: 0;
    border: 0;
    background: none;
    color: #465063;
    font-size: clamp(14px, 1.3vw, 16px);
    font-weight: 400;
    font-style: italic;
    line-height: 1.65;
    overflow-wrap: anywhere;
}
body.home .up-testimonials__card blockquote::before,
body.home .up-testimonials__card blockquote::after { content: none; }
body.home .up-testimonials__person {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--up-gold);
}
body.home .up-testimonials__avatar {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border: 2px solid #dec987;
    border-radius: 50%;
    background: #f3eddc;
    color: var(--up-ink);
    font-size: 16px;
    font-weight: 700;
}
body.home .up-testimonials__avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body.home .up-testimonials__details { min-width: 0; }
body.home .up-testimonials__name {
    display: block;
    margin-bottom: 6px;
    color: #364154;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
body.home .up-testimonials__faculty,
body.home .up-testimonials__designation {
    display: block;
    color: #227b65;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}
body.home .up-testimonials__designation { color: #596276; font-weight: 400; }
body.home .up-testimonials a:focus-visible { text-decoration: underline; }
body.home .up-testimonials button:focus-visible {
    outline: 2px solid var(--up-accent);
    outline-offset: 4px;
}
body.home .up-testimonials .bx-wrapper {
    max-width: none !important;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}
body.home .up-testimonials .bx-viewport {
    left: 0;
    box-sizing: content-box;
    border: 0;
    padding: 0 0 20px;
    background: none;
    box-shadow: none;
}
body.home .up-testimonials.is-enhanced .up-testimonials__track {
    display: flex;
    align-items: stretch;
    gap: 0;
}
body.home .up-testimonials.is-enhanced .up-testimonials__slide { flex: 0 0 auto; }
body.home .up-testimonials__pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 24px;
}
body.home .up-testimonials__pagination button {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}
body.home .up-testimonials__pagination button::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 8px;
    background: #d3d1df;
}
body.home .up-testimonials__pagination button[aria-current='true']::before {
    width: 26px;
    height: 8px;
    background: var(--up-accent);
}
@media (max-width: 1100px) {
    body.home .up-testimonials__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    body.home .up-testimonials__track { grid-template-columns: minmax(0, 1fr); }
    body.home .up-testimonials__header { align-items: flex-start; flex-direction: column; margin-bottom: 28px; }
    body.home .up-testimonials__header h2 { max-width: 300px; }
    body.home .up-testimonials__controls { align-self: flex-end; }
    body.home .up-testimonials__card { padding: 60px 24px 28px; }
    body.home .kode-parallax-wrapper:has(.up-testimonials) { padding: 36px 0 !important; }
}
