/* TMU News Hero Banner Section */
.tmu-news-hero-banner {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tmu-news-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.tmu-news-hero-image {
    position: absolute;
    top: -170px;
    left: 0;
    width: 100%;
    aspect-ratio: 480/299;
    background-image: url('../images/home/news/88159227acf3f35ffdce2941813c80cddb9d36e6.png');
    background-size: cover;
    background-position: center 50%;
    background-repeat: no-repeat;
    pointer-events: none;
}

.tmu-news-hero-overlay-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(258deg, rgba(1, 94, 200, 0.45) 14.67%, rgba(4, 66, 200, 0.20) 65.96%);
    pointer-events: auto;
}

.tmu-news-hero-overlay-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(4, 66, 200, 0.00) 35.17%, rgba(4, 66, 200, 0.45) 100%);
    pointer-events: auto;
}

.tmu-news-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.tmu-news-hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 394px;
    max-width: 90%;
    text-align: center;
}

.tmu-news-hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: 4.8px;
    color: #FFFFFF;
    text-shadow: rgba(0, 0, 0, 0.5) 0px 4px 20px;
    margin: 0;
    white-space: nowrap;
}

.tmu-news-hero-title {
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 56px;
    line-height: 1.2;
    color: #FFFFFF;
    text-shadow: rgba(0, 0, 0, 0.5) 0px 4px 30px;
    margin: 0;
    white-space: nowrap;
}


.input-filter-select select {
    background-image: none !important;
}

.main .list-news .container {
    display: flex;
}

.list-news__item:hover {
    .news-item__arrow img {
        transform: rotate(0);
    }

    .list-news__title {
        color: rgba(30, 79, 158, 1);
        margin-bottom: 0;
    }
}

.slide-content .slide-title a {
    word-break: auto-phrase;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sidebar Navigation */
.news-list__sidebar {
    flex-shrink: 0;
    width: 305px;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.sidebar-title {
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 1.3;
    color: #151515;
    margin-bottom: 48px;
}

/* Main Content Area */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.list-news__item {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding: 24px 0;
    border-bottom: 1px dashed #e5e5e5;
    position: relative;
}

.list-news__item:first-child {
    padding-top: 0;
}

.list-news__content {
    flex: 1;
    display: flex;
    gap: 70px;
    align-items: flex-start;
}

.news-date {
    font-size: 16px;
    line-height: 1.5;
    color: #737373;
    white-space: nowrap;
    /*padding-top: 3px;*/
    min-width: 100px;
}

.list-news__title {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    color: #151515;
    word-break: auto-phrase;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0;
}

.list-news {
    /* max-width: 1250px; */
    padding-top: 120px;
    margin: auto;
}

/* Events List Page - Container */
.events-list-page-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 48px;
    .grid-container {
        column-gap: 24px;
        row-gap: 48px;
    }
}

/* Events List Page - Header Section */
.events-list-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    gap: 16px;
}

.events-list-page-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.8px;
    color: #000000;
    margin: 0;
}

.events-list-page-filter-controls form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.events-list-page-filter-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    height: 44px;
    border: 1px solid #e5e5e5;
    border-radius: 55px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.events-list-page-filter-input:hover {
    border-color: #1E4F9E;
}

.events-list-page-filter-input.active {
    border-color: #1E4F9E;
    background-color: #f8f9fb;
}

.events-list-page-filter-text {
    font-size: 14px;
    font-weight: 400;
    color: #a3a3a3;
    white-space: nowrap;
}

.events-list-page-filter-input.active .events-list-page-filter-text {
    color: #151515;
}

/* Events List Page - Events List */
.events-list-page-event-item {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding: 24px 0;
    border-bottom: 1px dashed #e5e5e5;
    width: 100%;
    transition: background-color 0.2s ease;
}

.events-list-page-event-item:hover {
    .events-list-page-event-title {
        color: rgba(30, 79, 158, 1);
    }

    .news-item__arrow {
        transform: rotate(0deg);
    }

    cursor: pointer;
}

.events-list-page-event-item .news-item__arrow {
    transform: rotate(-45deg);
    transition: .1s;
}

.events-list-page-event-content {
    display: flex;
    flex: 1;
    gap: 32px;
    align-items: flex-start;
}

.events-list-page-event-date {
    flex-shrink: 0;
    padding-top: 3px;
}

.events-list-page-date-text {
    font-size: 16px;
    font-weight: 400;
    color: #525252;
    white-space: nowrap;
}

.events-list-page-event-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.events-list-page-event-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #151515;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.events-list-page-event-action {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    background-color: #F3F5FA;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.events-list-page-event-action:hover {
    background-color: #e8ecf3;
    transform: translateY(-1px);
}

/* Events List Page - View More Button */
.events-list-page-view-more-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.events-list-page-view-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 20px;
    height: 44px;
    border: 1px solid rgba(30, 79, 158, 0.9);
    border-radius: 500px;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.events-list-page-view-more-btn:hover {
    background-color: rgba(30, 79, 158, 0.05);
    transform: translateY(-1px);
}

.events-list-page-view-more-btn:active {
    transform: translateY(0);
}

.events-list-page-btn-text {
    font-size: 16px;
    font-weight: 500;
    color: rgba(30, 79, 158, 0.9);
    white-space: nowrap;
}
.list-news__item .news-item__arrow {
    display: flex;
    width: 34px;
    height: 34px;
    background: #f3f5fa;
    border-radius: 50%;
}

.list-news__item .news-item__arrow img {
    transform: rotate(-45deg);
    transition: .1s;
}

.input-filter-date,
.input-filter-select
{
    position: relative;
}

.input-filter-date .input-icon,
.input-filter-select .input-icon {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
}

.input-filter-date input {
    height: 44px;
    width: 100%;
    padding: 0 16px;
    background: #fff;
    border-radius: 55px;
    border: 1px solid #E5E5E5;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #A3A3A3;
}

.input-filter-select select {
    height: 44px;
    width: 100%;
    padding: 0 16px;
    background: #fff;
    border-radius: 55px;
    border: 1px solid #E5E5E5;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #151515;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(279.67px, 1fr));
    column-gap: 24px;
    row-gap: 32px;
}

.grid-container__item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.grid-container__item:hover {
    .list-news__title {
        color: #1E4F9E;
    }
}

.grid-container__item-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
}

.grid-container__item-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.content-sidebar {
    width: 100%;
}

.select-box {
    max-width: 200px;
}
.tmu-event-list-filter--calendar {
    max-height: 44px;
    max-width: 199px;
    min-width: 215px;
}

/* Responsive Design */
@media (min-width: 769px) and (max-width: 1280px) {
    .news-list__sidebar {
        position: relative;
        gap: 28px;
        width: 100%;
        margin-bottom: 48px;
    }

    .events-list-page-container {
        gap: 32px;
    }

    .events-list-page-event-content {
        gap: 48px;
    }

    .events-list-page-event-item {
        gap: 48px;
    }
    .grid-container {
        row-gap: 32px;
    }
}

@media (max-width: 768px) {
    .grid-container {
        row-gap: 24px !important;
    }
    .news-list__sidebar {
        width: 100%;
        position: static;
        gap: 24px;
    }

    .sidebar-title {
        font-size: 24px;
    }

    .list-news__content {
        gap: 20px;
        flex-direction: column;
    }

    .news-date {
        min-width: auto;
        padding-top: 0;
    }

    .list-news__item {
        gap: 20px;
    }

    .events-list-page-container {
        gap: 24px;
    }

    .events-list-page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .events-list-page-title {
        font-size: 32px;
        letter-spacing: -0.64px;
    }

    .events-list-page-filter-controls {
        width: 100%;
        justify-content: flex-start;
        /* padding-bottom: 4px; */
    }

    .events-list-page-filter-input {
        flex-shrink: 0;
        min-width: fit-content;
    }

    .events-list-page-event-item {
        gap: 16px;
        padding: 20px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .events-list-page-event-content {
        width: 100%;
        gap: 16px;
        flex-direction: column;
    }

    .events-list-page-event-date {
        order: -1;
        padding-top: 0;
    }

    .events-list-page-event-info {
        width: 100%;
    }

    .events-list-page-event-title {
        font-size: 16px;
        line-height: 1.5;
    }

    .events-list-page-event-action {
        align-self: flex-end;
        margin-top: -40px;
    }

    .content-sidebar .content-role {
        top: 120px;
    }
    .list-news__wrapper {
        flex-direction: column;
    }
    .list-news {
        padding: 60px 0;
    }
    .sidebar-title {
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .tmu-event-list-filter--calendar {
        min-width: unset !important;
    }
    .news-list__sidebar {
        width: 100%;
    }

    .list-news__item {
        gap: 15px;
        padding: 16px 0;
    }

    .list-news__content {
        gap: 15px;
    }

    .list-news__title {
        font-size: 16px;
        word-break: auto-phrase;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .events-list-page-container {
        gap: 24px;
    }

    .events-list-page-title {
        font-size: 24px;
        letter-spacing: 0px;
        line-height: 130%;
    }

    .events-list-page-filter-input {
        height: 40px;
        padding: 0 14px;
        font-size: 13px;
    }

    .events-list-page-filter-text {
        font-size: 13px;
    }

    .events-list-page-event-item {
        padding: 16px 0;
        gap: 12px;
    }

    .events-list-page-event-content {
        gap: 12px;
    }

    .events-list-page-event-title {
        word-break: auto-phrase;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 15px;
    }

    .events-list-page-date-text {
        font-size: 14px;
    }

    .events-list-page-view-more-btn {
        width: 100%;
        height: 40px;
        padding: 6px 16px;
        font-size: 14px;
    }

    .events-list-page-btn-text {
        font-size: 14px;
    }

    .events-list-page-event-action,
    .list-news__item .news-item__arrow
    {
        display: none;
    }

    .main-content {
        width: 100%;
        gap: 16px;
    }

    .events-list-page-filter-controls {
        display: flex;
        width: 100%;
        height: 100%;
    }

    .events-list-page-view-more-container a {
        width: 100%;
    }

    .news-list__sidebar {
        position: relative;
        gap: 16px;
        width: 100%;
        margin-bottom: 16px;
    }

    .main .list-news .container {
        flex-direction: column;
    }

    .content-sidebar {
        position: relative;
        top: 0;
    }

    .select-box {
        max-width: 150px;
    }

    .main .tmu-news-hero-banner {
        height: 300px;
        padding-bottom: 0;
    }

    .tmu-news-hero-image {
        width: 200%;
        height: 300px;
        left: -50%;
        top: 0;
    }

    .tmu-news-hero-subtitle {
        font-size: 14px;
        letter-spacing: 2.8px;
    }

    .tmu-news-hero-title {
        font-size: 32px;
    }
}
