.university-container {
    min-height: 100vh;
    background: rgba(11, 57, 84, 0.025);
    padding: 2.5rem 0 4rem;
}

.university-hero {
    background: var(--background-color);
    border: 1px solid rgba(11, 57, 84, 0.08);
    border-radius: 10px;
    padding: 3rem 2.5rem;
    margin: 0 auto 2rem;
    max-width: 1100px;
}

.university-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.university-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    opacity: 0.85;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 2rem;
    padding: 0;
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--secondary);
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.breadcrumb::-webkit-scrollbar {
    display: none;
}

.breadcrumb a {
    color: var(--secondary);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
    opacity: 0.8;
}

.breadcrumb a:hover {
    color: var(--primary);
    opacity: 1;
}

.breadcrumb a:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 3px;
}

.breadcrumb-separator {
    color: var(--accent);
    user-select: none;
    pointer-events: none;
    margin: 0 0.25rem;
}

.breadcrumb [aria-current="page"] {
    color: var(--primary);
    font-weight: 600;
    white-space: nowrap;
    opacity: 1;
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .breadcrumb .breadcrumb-item-hidden {
        display: none;
    }

    .breadcrumb .breadcrumb-ellipsis {
        color: var(--accent);
    }
}

.sort-filter-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 1100px;
    margin: 0 auto 1.25rem;
    padding: 0 1rem;
    flex-wrap: wrap;
}

.sort-filter-bar label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.sort-select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 1px solid rgba(11, 57, 84, 0.12);
    border-radius: 6px;
    background: var(--background-color);
    font-family: 'Poppins', sans-serif;
    font-size: 0.8125rem;
    color: var(--primary);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23087e8b' d='M5 7L0 2h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.625rem center;
    transition: border-color 0.15s ease;
}

.sort-select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(8, 126, 139, 0.1);
}

.results-count {
    font-size: 0.8125rem;
    color: var(--secondary);
    margin-left: auto;
}

.universities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.university-card {
    background: var(--background-color);
    border: 1px solid rgba(11, 57, 84, 0.08);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    transition: border-color 0.15s ease;
    position: relative;
    animation: cardReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.university-card:hover {
    border-color: var(--secondary);
}

.university-card:active {
    transform: scale(0.99);
}

.university-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.university-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 0.375rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.university-link:hover .university-name {
    color: var(--secondary);
}

.university-meta {
    margin: 0;
    font-size: 0.85rem;
    color: var(--primary);
    opacity: 0.6;
    line-height: 1.5;
}

.university-header-stats {
    display: flex;
    gap: 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(11, 57, 84, 0.08);
    border-bottom: 1px solid rgba(11, 57, 84, 0.08);
    max-width: 520px;
    margin: 0 auto;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 0 0.5rem;
    border-right: 1px solid rgba(11, 57, 84, 0.06);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--secondary);
    display: block;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.6875rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
    margin-top: 0.25rem;
    opacity: 0.6;
}

.programs-section {
    margin-top: 2.5rem;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.programs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.program-card {
    background: var(--background-color);
    border: 1px solid rgba(11, 57, 84, 0.08);
    border-radius: 10px;
    padding: 1.5rem;
    transition: border-color 0.15s ease;
}

.program-card:hover {
    border-color: var(--secondary);
}

.program-card:active {
    transform: scale(0.99);
}

.program-name {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.875rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.program-name--related {
    font-size: 0.9rem;
}

.program-cutoff {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0.75rem;
    background: rgba(8, 126, 139, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(8, 126, 139, 0.1);
}

.cutoff-label {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
    opacity: 0.65;
}

.cutoff-score {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    font-variant-numeric: tabular-nums;
}

.program-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8125rem;
    margin-top: 0.75rem;
    transition: color 0.15s ease;
}

.program-link:hover {
    color: var(--primary);
}

.program-link svg {
    width: 13px;
    height: 13px;
    transition: transform 0.2s ease;
}

.program-link:hover svg {
    transform: translateX(3px);
}

.program-detail-header {
    background: var(--background-color);
    border: 1px solid rgba(11, 57, 84, 0.08);
    border-radius: 10px;
    padding: 2.5rem;
    margin-bottom: 1.75rem;
}

.program-detail-header-icon {
    width: 52px;
    height: 52px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background-color);
    font-weight: 600;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.program-detail-top {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.program-detail-info {
    text-align: left;
}

.program-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.program-detail-university {
    font-size: 0.95rem;
    color: var(--secondary);
    opacity: 0.85;
}

.cutoff-display {
    background: rgba(8, 126, 139, 0.04);
    border: 1px solid rgba(8, 126, 139, 0.15);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    margin: 1.75rem 0;
    text-align: center;
}

.cutoff-display-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.5rem;
    opacity: 0.55;
}

.cutoff-points {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
}

.cutoff-points-subtitle {
    margin: 0.625rem 0 1.5rem;
    color: var(--primary);
    font-weight: 400;
    font-size: 0.95rem;
    opacity: 0.7;
}

.cutoff-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary);
    color: var(--background-color);
    padding: 0.6875rem 1.375rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background 0.15s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary);
    color: var(--background-color);
    text-decoration: none;
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-primary svg {
    width: 15px;
    height: 15px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--background-color);
    color: var(--primary);
    padding: 0.6875rem 1.375rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid rgba(8, 126, 139, 0.2);
    transition: border-color 0.15s ease, background 0.15s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--secondary);
    background: rgba(8, 126, 139, 0.04);
    color: var(--primary);
    text-decoration: none;
}

.btn-secondary:active {
    transform: scale(0.98);
}

.btn-secondary svg {
    width: 15px;
    height: 15px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.75rem 0;
}

.info-card {
    background: var(--background-color);
    border: 1px solid rgba(11, 57, 84, 0.08);
    border-radius: 10px;
    padding: 1.5rem;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.info-card-icon {
    width: 32px;
    height: 32px;
    background: var(--secondary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background-color);
    flex-shrink: 0;
}

.info-card-icon svg {
    width: 16px;
    height: 16px;
}

.info-card-icon--highlight {
    background: var(--highlight);
    color: var(--background-color);
}

.info-card-title {
    margin: 0;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 0.5625rem 0;
    border-bottom: 1px solid rgba(11, 57, 84, 0.06);
    color: var(--primary);
    font-size: 0.875rem;
    line-height: 1.55;
    opacity: 0.8;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li strong {
    color: var(--primary);
    font-weight: 600;
    opacity: 1;
}

.tips-card {
    background: var(--background-color);
    border: 1px solid rgba(11, 57, 84, 0.08);
    border-radius: 10px;
    padding: 2rem 2.5rem;
    margin: 1.75rem 0;
}

.tips-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.tips-card-icon {
    width: 36px;
    height: 36px;
    background: var(--secondary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background-color);
    flex-shrink: 0;
}

.tips-card-icon svg {
    width: 18px;
    height: 18px;
}

.tips-card-title {
    margin: 0;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    color: var(--primary);
    line-height: 1.55;
    font-size: 0.875rem;
    opacity: 0.8;
}

.tips-list li:last-child {
    margin-bottom: 0;
}

.tips-list li svg {
    width: 15px;
    height: 15px;
    margin-top: 0.1875rem;
    color: var(--highlight);
    flex-shrink: 0;
}

.related-section {
    margin: 3rem 0;
}

.related-title {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.faq-section {
    margin: 3rem 0;
}

.faq-title {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.faq-list {
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.faq-item {
    padding: 1.125rem 0;
    border-bottom: 1px solid rgba(11, 57, 84, 0.08);
}

.faq-item:first-child {
    border-top: 1px solid rgba(11, 57, 84, 0.08);
}

.faq-item h4 {
    color: var(--primary);
    margin: 0 0 0.375rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.faq-item p {
    color: var(--primary);
    margin: 0;
    line-height: 1.6;
    font-size: 0.875rem;
    opacity: 0.75;
}

.cta-card {
    background: rgba(255, 90, 95, 0.04);
    border: 1px solid rgba(255, 90, 95, 0.15);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin-top: 2rem;
}

.cta-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.cta-card p {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.75;
}

.cta-card .btn-primary {
    background: var(--highlight);
}

.cta-card .btn-primary:hover {
    background: var(--primary);
}

.search-container {
    max-width: 560px;
    margin: 0 auto 2rem;
}

.search-input-wrapper {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.6875rem 0.875rem 0.6875rem 2.5rem;
    border: 1px solid rgba(11, 57, 84, 0.12);
    border-radius: 6px;
    background: var(--background-color);
    font-size: 0.875rem;
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
    transition: border-color 0.15s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(8, 126, 139, 0.1);
}

.search-input::placeholder {
    color: var(--secondary);
    opacity: 0.6;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary);
    width: 16px;
    height: 16px;
    pointer-events: none;
    opacity: 0.6;
}

.search-icon svg {
    width: 16px;
    height: 16px;
}

.no-results {
    text-align: center;
    margin: 3rem 0;
    padding: 3rem 2rem;
}

.no-results-icon {
    width: 36px;
    height: 36px;
    color: var(--secondary);
    margin: 0 auto 1rem;
    opacity: 0.5;
}

.no-results h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.no-results p {
    color: var(--secondary);
    margin: 0;
    font-size: 0.9rem;
}

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
}

.empty-state-icon {
    width: 36px;
    height: 36px;
    color: var(--secondary);
    margin: 0 auto 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.empty-state p {
    color: var(--secondary);
    margin: 0;
    font-size: 0.9rem;
}

.floating-check-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 900;
    background: var(--highlight);
    color: var(--background-color);
    padding: 0.6875rem 1.125rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8125rem;
    transition: background 0.15s ease, opacity 0.15s ease;
    display: none;
    align-items: center;
    gap: 0.375rem;
    max-width: calc(100vw - 3rem);
    white-space: nowrap;
}

.floating-check-btn:hover {
    background: var(--primary);
    color: var(--background-color);
    text-decoration: none;
}

.floating-check-btn:active {
    transform: scale(0.98);
}

.floating-check-btn svg {
    width: 15px;
    height: 15px;
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .floating-check-btn {
        display: inline-flex;
    }

    .university-title {
        font-size: 1.75rem;
    }

    .program-title {
        font-size: 1.5rem;
    }

    .universities-grid,
    .programs-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .university-hero,
    .university-header,
    .program-detail-header {
        padding: 1.75rem 1.25rem;
        margin-bottom: 1.5rem;
    }

    .university-detail-container {
        padding: 0 0.75rem;
    }

    .sort-filter-bar {
        padding: 0 0.75rem;
    }

    .cutoff-points {
        font-size: 3.5rem;
    }

    .university-header-stats {
        flex-direction: column;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(11, 57, 84, 0.06);
        padding: 0.625rem 0.5rem;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .university-header-content {
        flex-direction: column;
        text-align: center;
    }

    .university-header-text {
        text-align: center;
    }

    .program-detail-top {
        flex-direction: column;
        text-align: center;
    }

    .program-detail-info {
        text-align: center;
    }

    .cutoff-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        justify-content: center;
    }

    .cta-card {
        padding: 1.75rem 1.25rem;
    }

    .search-container {
        margin-bottom: 1.5rem;
    }

    .tips-card {
        padding: 1.5rem;
    }

    .faq-section {
        margin: 2rem 0;
    }

    .related-section {
        margin: 2rem 0;
    }
}

@media (max-width: 480px) {
    .floating-check-btn {
        padding: 0.5625rem 0.875rem;
        font-size: 0.75rem;
        bottom: 1rem;
        right: 1rem;
    }

    .university-title {
        font-size: 1.5rem;
    }

    .program-title {
        font-size: 1.25rem;
    }

    .university-hero,
    .university-header,
    .program-detail-header {
        padding: 1.25rem 1rem;
    }

    .breadcrumb {
        margin-bottom: 1.25rem;
    }

    .stat-number {
        font-size: 1rem;
    }

    .cutoff-points {
        font-size: 3rem;
    }
}
