/* =================================== */
/* Desktop Styles for About Popup    */
/* =================================== */

.is-mobile {
    display: none;
}

.about-popup__top-section {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding: 40px;
}

.about-popup__card {
    position: relative;
    background: #F8F8F8;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.about-popup__card:hover {
    transform: translateY(-2px);
}

.about-popup__card-content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.about-popup__card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.about-popup__card-title {
    font-family: 'Manrope', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.01em;
    color: #1A1A40;
    margin: 0;
}

.about-popup__card-description {
    font-family: 'Manrope', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 19px;
    letter-spacing: -0.01em;
    color: #1A1A40;
    margin: 0;
    margin-top: 8px;
}

.about-popup__bottom-section {
    background: #F8F8F8;
    margin: 0 -40px -40px;
    padding: 26px 60px 40px;
    border-radius: 0 0 24px 24px;
}

.about-popup__nav-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-popup__nav-row {
    display: flex;
    justify-content: flex-start;
    gap: 0;
}

.about-popup__nav-item {
    display: flex;
    align-items: center;
    padding: 12px;
    width: 270.33px;
    height: 46px;
    background: transparent;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.01em;
    color: #1A1A40;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.about-popup__nav-item:hover {
    background: rgba(26, 26, 64, 0.05);
    transform: translateY(-1px);
}

.container_program {
	margin-left: auto;
	margin-right: auto;
	max-width: 100vw;
	padding-left: 10px;
	padding-right: 10px;
	width: 100%
}


/* =================================== */
/* Mobile Styles for About Popup     */
/* =================================== */

@media (max-width: 1300px) {
    /* Hide the original desktop container on mobile */
    #popup-about .is-desktop {
        display: none;
    }

    /* Styles for the mobile version *after* it's moved into the nav panel */
    .page-header__nav .is-mobile[data-popup-mobile-id="about"] {
        display: none; /* Hidden by default, shown by JS */
        width: 100%;
        height: 100%;
        overflow-y: auto;
    }
    
    .about-popup__content-mobile {
        padding: 14px;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }
    
    .mobile-about-cards {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .is-mobile .about-popup__card {
        width: 100%;
    }
    
    .mobile-about-nav {
        background: #fff;
        border-radius: 24px;
        padding: 10px;
        display: flex;
        flex-direction: column;
    }
    
    .mobile-about-nav .about-popup__nav-item {
        width: 100%;
        border-bottom: 1px solid #ececec;
    }
    
    .mobile-about-nav .about-popup__nav-item:last-child {
        border-bottom: none;
    }
}

@media (min-width: 800px) {
	.container_program {
		padding-left: 60px;
		padding-right: 60px;
	}
}