/* College header component styles - modeled after exams-header.css */
.college-hero {
    border-bottom: 1px solid #e5e7eb;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.college-hero > .container {
    max-width: none;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 640px) {
    .college-hero > .container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 1024px) {
    .college-hero > .container {
        padding-left: 32px;
        padding-right: 32px;
    }
}

/* Page container */
.college-header-component .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 640px) {
    .college-header-component .container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 1024px) {
    .college-header-component .container {
        padding-left: 32px;
        padding-right: 32px;
    }
}

/* Title styling */
.college-hero .title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0b1220;
    margin: 0;
    max-width: 100%;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

@media (min-width: 1024px) {
    .college-hero .title {
        font-size: 2.3rem;
    }
}

/* Type label */
.college-hero .college-label {
    display: inline-block;
    background: linear-gradient(135deg, #8246d8, #5a3d9e);
    color: #fff;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* Layout classes */
.college-hero-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    max-width: 100%;
    width: 100%;
}

.college-hero-row .title-wrap {
    flex: 1 1 auto;
    padding-right: 0;
    min-width: 0;
    width: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.college-website-col {
    flex: 0 1 auto;
    margin-top: 0.75rem;
    margin-left: 0;
    width: 100%;
    max-width: 250px;
}

.college-hero-row .right-spacer {
    margin-left: 0;
}

@media (min-width: 768px) {
    .college-hero-row {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        justify-content: center;
    }

    .college-hero-row .title-wrap {
        padding-right: 1rem;
        flex: 1 1 auto;
        width: auto;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .college-website-col {
        margin-top: 0;
        margin-left: 0;
        flex: 0 0 auto;
        width: auto;
    }

    .college-hero-row .right-spacer {
        margin-left: auto;
    }
}

/* Website link pill */
.college-website-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 2px solid #8246d8;
    background: linear-gradient(135deg, #f8f5ff, #ffffff);
    color: #0b1220;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(130, 70, 216, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 8px;
}

@media (min-width: 768px) {
    .college-website-link {
        width: auto;
    }
}

.college-website-link .link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.college-website-link .link-icon svg {
    display: block;
    stroke-width: 2;
}

.college-website-link:hover {
    box-shadow: 0 12px 28px rgba(130, 70, 216, 0.25);
    border-color: #6b38b3;
    background: linear-gradient(135deg, #f5ecff, #ffffff);
    transform: translateY(-2px);
}

.college-website-link:hover .link-icon {
    transform: rotate(5deg) scale(1.1);
}

/* Navigation tabs */
.college-tabs {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.college-tabs .tabs-container {
    position: relative;
    max-width: 100%;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 640px) {
    .college-tabs .tabs-container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 1024px) {
    .college-tabs .tabs-container {
        padding-left: 32px;
        padding-right: 32px;
    }
}

.college-tabs .tabs-inner {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.college-tabs .tabs-inner::-webkit-scrollbar {
    display: none;
}

.college-tabs .tabs-inner ul {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.college-tabs .tabs-inner li {
    flex: 0 0 auto;
}

.college-tabs .tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    color: #6b7280;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.college-tabs .tab:hover {
    color: #0b1220;
    background: rgba(130, 70, 216, 0.05);
}

.college-tabs .tab.active {
    color: #8246d8;
    border-bottom-color: #8246d8;
}

/* Navigation arrows */
.college-tabs .nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.college-tabs .nav-arrow:hover:not(:disabled) {
    background: #f9fafb;
    border-color: #d1d5db;
}

.college-tabs .nav-arrow.left {
    left: 0;
}

.college-tabs .nav-arrow.right {
    right: 0;
}

.college-tabs .nav-arrow svg {
    width: 16px;
    height: 16px;
    color: #6b7280;
}

/* Fallback tabs */
.college-header-component .tabs-fallback {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.college-header-component .tabs-fallback li {
    flex: 0 0 auto;
}

.college-header-component .tab-link {
    display: inline-block;
    padding: 8px 16px;
    color: #6b7280;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.college-header-component .tab-link:hover {
    color: #0b1220;
    background: #f3f4f6;
}
