.event-container {
    width: 1280px;
    max-width: calc(100vw - 80px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.event-container-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 48px;
}

.event-header {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.event-all-title {
    margin: 24px 0 32px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 36px;
    line-height: 130%;
    letter-spacing: 0.035em;
    color: #242424;
    text-align: center;
    text-transform: none;
}

.event-all-title.half-highlight {
    background: none;
    display: block;
}

.event-all-title.half-highlight::before {
    content: none;
}

.event-list-title {
    margin: 24px 0 32px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 36px;
    line-height: 130%;
    letter-spacing: 0.035em;
    color: #242424;
    text-align: center;
}

.event-nav-tab-bar {
    --listing-blue: var(--primary-color);
    --listing-yellow: #F9CF44;
    --listing-red: #FF2B2B;
    --listing-text: #242424;
    --listing-sub: #8D8D8F;
    --listing-dim: #C0C0C2;
    --listing-stroke: #E3E4E5;
    --listing-chip: #F5F5F5;
    color: var(--listing-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    min-height: 45px;
    border-bottom: 0;
    position: relative;
}

.event-nav-tab-bar .mobile-filter-trigger {
    display: none;
}

.event-nav-tab-bar::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100vw;
    height: 1px;
    background: var(--listing-stroke);
    transform: translateX(-50%);
}

.event-nav-tab-bar .nav-tabs {
    display: flex;
    gap: 12px;
    align-items: center;
    min-height: 45px;
}

.event-nav-tab-bar .nav-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    padding: 12px 24px;
    box-sizing: border-box;
    border: 0;
    border-bottom: 1.5px solid transparent;
    background: transparent;
    color: var(--listing-text);
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.035em;
    position: relative;
    z-index: 1;
    text-decoration: none;
}

.event-nav-tab-bar .nav-tab:hover {
    color: var(--listing-blue);
}

.event-nav-tab-bar .nav-tab.active {
    color: var(--listing-blue);
    border-bottom-color: transparent;
    font-weight: 600;
}

.event-nav-tab-bar .nav-tab.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.5px;
    background: var(--listing-blue);
}

.event-search-inline-form {
    margin: 0;
}

.event-search-inline {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 12px;
    width: 140px;
    height: 24px;
    background: none;
    border: none;
    transition: width 0.2s ease;
}

.event-search-inline:focus-within {
    width: 260px;
}

.event-search-inline .product-search-icon-action {
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex: none;
}

.event-search-inline .product-search-icon-action svg {
    width: 24px;
    height: 24px;
    display: block;
}

.event-search-inline-input {
    width: 100%;
    min-width: 0;
    height: 24px;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 130%;
    letter-spacing: 0.035em;
    color: #8D8D8F;
}

.event-search-inline-input::placeholder {
    color: #8D8D8F;
}

.outstanding-event-container {
    display: flex;
    justify-content: space-between;
    gap: 80px;
    width: 100%;
    align-items: flex-start;
}

.outstanding-event-item {
    flex: 1;
    display: flex;
    gap: 20px;
}

.outstanding-event-item .outstanding-event-image {
    flex: 0 0 35.7%;
}

.outstanding-event-item .outstanding-event-image img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.outstanding-event-item .outstanding-event-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.outstanding-event-content-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.outstanding-event-content-header h5 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 2;
    max-height: 3em;  
}

.outstanding-event-content h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 340px;
    display: inline-block;
}

.outstanding-event-content h3 a {
    color: inherit;
    text-decoration: none;
}

.outstanding-event-content h5 {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.outstanding-event-meta {
    display: flex;
    gap: 10px;
    color: #5B5B5C;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: underline;
}

.event-grid-wrap {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.event-grid-item {
    min-width: 0;
}

.event-grid-wrap .event-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 96px 0;
}

.event-grid-thumbnail {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #f4f4f4;
    border: 1px solid #E3E4E5;
    box-sizing: border-box;
}

.event-grid-ended-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0000007A;
    font-family: 'Pretendard', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 24px;
    line-height: 130%;
    letter-spacing: 0.035em;
    color: #FFFFFF;
    text-align: center;
    pointer-events: none;
    opacity: 1;
}

.event-grid-img,
.event-grid-img img {
    display: block;
    width: 100%;
    height: 100%;
}

.event-grid-img img {
    object-fit: cover;
    transition: transform 0.24s ease;
}

.event-grid-img:hover img {
    transform: scale(1.03);
}

.event-grid-description {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-grid-time {
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    line-height: 130%;
    letter-spacing: 0.035em;
    color: #C0C0C2;
}

.event-grid-subject {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #242424;
    text-decoration: none;
    font-family: 'Pretendard', sans-serif;
    font-size: 24px;
    font-weight: 600;
    font-style: normal;
    line-height: 130%;
    letter-spacing: 0.035em;
}

.event-grid-subject:hover {
    color: var(--primary-color, #00AF73);
}

.event-grid-category {
    flex: 0 0 auto;
    padding: 3px 8px;
    border: 1px solid #D6D8DA;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: #5B5B5C;
    background: #fff;
}

.event-grid-category-active {
    border-color: var(--primary-color, #00AF73);
    color: var(--primary-color, #00AF73);
}

.event-grid-category-inactive {
    color: #858585;
    background: #F5F5F5;
}

.event-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ffffff;
}

.event-table {
    table-layout: fixed;
    width: 100%;
}

.event-title {
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none; 
}

.event-title::-webkit-scrollbar {
    display: none;
}

/* First column */
.event-table tr th:nth-child(1),
.event-table tr td:nth-child(1) {
    width: 112px;
}

/* Second column */
.event-table tr th:nth-child(2),
.event-table tr td:nth-child(2) {
    width: 940px;
}

/* Third column */
.event-table tr th:nth-child(3),
.event-table tr td:nth-child(3) {
    width: 148px;
}

.event-table thead tr th {
    padding: 24px;
    border-top: 1px solid #5B5B5C;
    border-bottom: 1px solid #5B5B5C;
    border-left: none;
    border-right: none;
    font-weight: 600;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0.04rem;
}

.event-table th,
.event-table td {
    text-align: center;
    border: 1px solid #CACBCC;
    border-left: none;
    border-right: none;
}

.event-table th {
    background: #ffffff;
    font-weight: 600;
    font-size: 14px;
}

.event-table .event-title a {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    padding: 24px;
    display: inline-block;
    width: 100%;
    padding: 0; 
    text-align: left;
    color: #454545;
}

.event-table .event-title a:hover {
    text-decoration: underline;
}

.event-table .event-date, 
.event-table .event-number {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
    padding: 24px;
    color: #454545;
}

.ajax-pagination {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 4px;
    padding: 0;
}

.ajax-pagination li a,
.ajax-pagination li span {
    display: inline-block;
    width: 32px;
    height: 21px;
    line-height: 21px;
    padding: 0;
    text-decoration: none;
    border-radius: 4px;
    font-size: 18px;
    transition: 0.2s;
    box-sizing: border-box; 
    text-align: center;
    vertical-align: middle;
    color: #242424;
}

.ajax-pagination li a img {
    display: inline-block;
    vertical-align: middle;
    max-height: 100%;
    position: relative;
    top: -1.1px;
}

.ajax-pagination li a img[alt="Prev"],
.ajax-pagination li a img[alt="Next"] {
    max-height: 20px;
}

.ajax-pagination li a img[alt="First"],
.ajax-pagination li a img[alt="Last"] {
    max-height: 20px;
}

/* First item */
.ajax-pagination li:first-child a,
.ajax-pagination li:first-child span {
    width: 28px;
}

/* Last item */
.ajax-pagination li:nth-last-child(2) a,
.ajax-pagination li:nth-last-child(2) span {
    width: 28px;
}

/* Second item */
.ajax-pagination li:nth-child(2) a,
.ajax-pagination li:nth-child(2) span {
    width: 28px;
    margin-right: 4px;
}

/* Second-to-last item */
.ajax-pagination li:nth-last-child(3) a,
.ajax-pagination li:nth-last-child(3) span {
    width: 28px;
    margin-left: 4px;
}

.ajax-pagination li a:hover {
    background: #f0f0f0;
}

.ajax-pagination li .current {
    font-weight: 600;
    color: var(--primary-color);
}

/* Container */
.event-search-container {
    display: flex;
    justify-content: center;
    overflow: visible !important;
}

/* Form layout */
.event-search-form {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 513px;
    height: 57px;
    gap: 16px;
    font-family: Arial, sans-serif;
}

.event-search-input {
    width: 377px;
    height: 100%;
}

.event-search-input {
    display: flex;
    width: 377px;
    height: 57px;
    overflow: hidden;
}

.event-search-input input[type="text"] {
    flex: 1;
    border: none; 
    padding: 0 12px;
    font-size: 14px;
    outline: none;
    height: 100%;
    border: 1px solid #CACBCC;
}

.event-search-input button {
    background: #46B088;
    color: #FFFFFF;
    border: none;
    padding: 0 16px;
    cursor: pointer;
    font-size: 14px;
    height: 100%;
}

.event-search-input button:hover {
    background: #34b484;
}

/* Custom Select */
.event-custom-select {
    position: relative;
    width: 120px;
    height: 57px;
    font-family: inherit;
    user-select: none;
    z-index: 90;
}

/* Trigger button */
.event-custom-select-trigger {
    width: 100%;
    height: 100%;
    padding: 0 24px;
    border: 1px solid #CACBCC;
    font-size: 18px;
    letter-spacing: 0.04rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Dropdown list */
.event-custom-options {
    position: absolute; 
    top: 100%;
    left: 0;
    width: 100%;
    border: 1px solid #CACBCC;
    margin: 10px 0 0 0;  
    padding: 0;
    display: none;
    z-index: 9999;
    max-height: 200px;  
    overflow-y: auto;
}

/* Dropdown items */
.event-custom-options li {
    padding: 10px;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0.04rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    background: #fff;
}

.event-custom-options li:hover {
    background: #f2f2f2;
}

.event-custom-options li.selected {
    background: #CACBCC;
}

/* Show dropdown when active */
.event-custom-options.active {
    display: block;
}

.ajax-page-total {
    display: none !important;
}

.event-empty {
    text-align: center !important; 
    padding: 96px 20px; 
    color: #666;
}

.event-attach-file {
    border-bottom: 1px solid #CACBCC;
    padding-bottom: 24px;
    padding-top: 24px;
}

.event-attach-file a {
    color: #5B5B5C;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 0%;
}

/* Shared button styles */
.nav-btn {
    width: 128px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #CACBCC;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
    cursor: pointer;
    position: absolute;
    top: 0;
}

/* Hover effect */
.nav-btn:hover {
    background: #f0f0f0;
}

/* Left and Right button positions */
.nav-btn.prev {
    left: 0;
    color: #242424;
}
.nav-btn.next {
    right: 0;
    color: #242424;
}

/* Home button stays center */
.nav-btn.home {
    left: 50%;
    transform: translateX(-50%);
    background: #3BAF8F;
    color: #fff;
    font-weight: 600;
    width: 76px;
}

.nav-btn.home:hover {
    background: #329a7c;
}

.event-article-detail-container {
    width: calc(100% - 160px);
    max-width: 1280px;
    margin: 0 auto; 
    padding: 0 0 64px;
}

.event-article-detail-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 24px 0 24px;
    text-align: left;
    border-top: none;
}

.event-article-detail-header-title {
    width: 100%;
    margin: 0;
    color: #242424;
    font-family: Pretendard, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 36px;
    line-height: 130%;
    letter-spacing: 0.035em;
}

.author-date {
    display: flex; 
    justify-content: flex-start;
    align-items: center; 
    gap: 16px; 
    width: 100%;
    color: #C0C0C2;
    font-family: Pretendard, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0.035em;
}

.author-date .author-date-name {
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 0%;
}

.author-date-dot {
    width: 4px; 
    height: 4px; 
    background: #CACBCC; 
    border-radius: 50%; 
    display: inline-block;
}

.event-article-detail-body {
    border-top: 1px solid #CACBCC;
    padding-top: 40px;
    color: #363636;
}

.event-article-detail-body-iner {
    width: 960px;
    max-width: 100%;
}

.event-pagination {
    margin: 64px 0;
}

.ajax-pagination {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 4px;
    padding: 0;
    margin: 0;
}

.event-article-detail-body p,
.event-article-detail-body h6 {
    font-family: Pretendard, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0.02em;
    margin: 0 0 40px;
}

.event-article-detail-body p:last-child,
.event-article-detail-body h6:last-child {
    margin-bottom: 0;
}

.event-article-detail-body h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 40px;
}

.event-article-detail-body img {
    max-width: 100%;
}

.event-article-detail-body img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.event-article-detail-body img.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.event-article-detail-body img.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.related-card a {
    text-decoration: none;
    color: inherit; /* keep text color consistent */
    display: block; /* makes the whole card clickable */
}

.related-slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1250px;
    height: 506px;
    margin: 0 auto;
    gap: 20px;
}

.related-viewport {
    flex: 1;
    overflow: hidden;
}

.related-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
    will-change: transform;
}

.related-card {
    flex: 0 0 calc((100% - 59px) / 3);
    border: 1px solid #ddd;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    height: 412px;
}

.related-card img {
    width: 100%;
    height: auto;
    display: block;
}

.related-content {
    padding: 10px;
}

.related-content h4 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 8px;
}

.related-content p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

/* Arrows outside */
.related-prev,
.related-next {
    background: rgba(255,255,255,0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 20px;
    line-height: 36px;
    text-align: center;
    flex-shrink: 0; /* keep arrows from shrinking */
}

@media (min-width: 768px) and (max-width: 1199px) {
    .event-list-title {
        font-family: 'Pretendard', sans-serif;
        font-weight: 600;
        font-style: normal;
        font-size: 24px;
        line-height: 130%;
        letter-spacing: 0.035em;
        text-align: center;
        margin: 16px 0 24px;
    }

    .event-pagination {
        margin: 56px 0 52px;
    }
}

@media (min-width: 1200px) and (max-width: 1439px) {
    .event-container {
        max-width: 1000px;
    }

    .event-article-detail-container {
        padding: 56px 0px;
    }

    .outstanding-event-container {
        flex-direction: column;
        gap: 24px;
    }

    
    .outstanding-event-item 
    .outstanding-event-image {
        flex: none;
        width: 200px;
    }

    .outstanding-event-item 
    .outstanding-event-image img {
        width: 200px;
    }

    .outstanding-event-content h3 {
        width: 676px;
        font-size: 16px;
    }

    .outstanding-event-content h5 {
        font-size: 14px;
    }

    .event-table th,
    .event-table td {
        text-align: left;
    }

    .th-center {
        text-align: center !important;
    }

    /* First column */
    .event-table tr th:nth-child(1),
    .event-table tr td:nth-child(1) {
        width: 168px;
    }

    /* Second column */
    .event-table tr th:nth-child(2),
    .event-table tr td:nth-child(2) {
        width: 520px;
    }

    /* Third column */
    .event-table tr th:nth-child(3),
    .event-table tr td:nth-child(3) {
        width: 208px;
    }

    .event-custom-select-trigger {
        font-size: 16px;
    }

    .event-custom-options li {
        font-size: 16px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .event-grid-wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .event-grid-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        gap: 20px;
    }

    .event-grid-thumbnail {
        width: 100%;
        height: auto;
        aspect-ratio: 332 / 170.26;
        border: 0;
    }

    .event-grid-description {
        padding-top: 0;
        gap: 12px;
        width: 100%;
    }

    .event-grid-subject {
        font-size: 20px;
        width: 100%;
        letter-spacing: 0.04em;
    }

    .event-grid-time {
        margin: 0;
        width: 100%;
        font-size: 16px;
        letter-spacing: 0.04em;
    }

    .event-container {
        max-width: 688px;
        margin: 0 auto;
    }

    .outstanding-event-container {
        flex-direction: column;
        gap: 24px;
    }

    
    .outstanding-event-item 
    .outstanding-event-image {
        flex: none;
        width: 200px;
    }

    .outstanding-event-item 
    .outstanding-event-image img {
        width: 200px;
    }

    .outstanding-event-content h3 {
        width: 420px;
        font-size: 16px;
    }

    .outstanding-event-content h5 {
        font-size: 14px;
    }

    .event-table thead tr th {
        font-size: 16px;
    }

    .event-table .event-title a {
        font-size: 16px;
    }

    .event-table .event-date, 
    .event-table .event-number {
        font-size: 16px;
    }

    .event-table th,
    .event-table td {
        text-align: center;
    }

    /* First column */
    .event-table tr th:nth-child(1),
    .event-table tr td:nth-child(1) {
        width: 96px;
    }

    /* Second column */
    .event-table tr th:nth-child(2),
    .event-table tr td:nth-child(2) {
        width: 396px;
    }

    /* Third column */
    .event-table tr th:nth-child(3),
    .event-table tr td:nth-child(3) {
        width: 148px;
    }

    .event-search-container {
        margin-top: -24px;
    }

    .event-article-detail-container {
        width: calc(100% - 64px);
        max-width: none;
        margin: 0 auto; 
        padding: 0 0 52px;
    }

    .event-article-detail-header {
        gap: 20px;
        padding: 20px 0;
    }

    .event-article-detail-header-title {
        font-size: 28px;
    }

    .event-article-detail-body h3 {
        margin: 0 0 29px;
    }

    .event-nav-tab-bar {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        width: 100%;
        max-width: none;
        height: 48px;
        min-height: 48px;
        border-bottom: 0;
        margin: 0 auto;
        flex-shrink: 0;
        overflow: visible;
    }

    .event-nav-tab-bar::after {
        display: block;
        width: 120vw;
    }

    .event-nav-tab-bar .mobile-filter-trigger {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 12px 0;
        gap: 12px;
        width: 109px;
        height: 48px;
        flex-shrink: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .event-nav-tab-bar .mobile-filter-icon {
        position: relative;
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .event-nav-tab-bar .mobile-filter-icon span {
        position: absolute;
        left: 9.38%;
        right: 9.38%;
        height: 1.5px;
        background: #454545;
        border-radius: 1px;
    }

    .event-nav-tab-bar .mobile-filter-icon span:nth-child(1) {
        top: 26.04%;
    }

    .event-nav-tab-bar .mobile-filter-icon span:nth-child(2) {
        top: 46.88%;
    }

    .event-nav-tab-bar .mobile-filter-icon span:nth-child(3) {
        top: 67.71%;
    }

    .event-nav-tab-bar .mobile-filter-label {
        font-family: 'Pretendard', sans-serif;
        font-style: normal;
        font-weight: 500;
        font-size: 15px;
        line-height: 130%;
        letter-spacing: 0.035em;
        color: #454545;
        white-space: nowrap;
    }

    .event-nav-tab-bar .nav-tabs {
        display: none;
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 8px);
        z-index: 30;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        min-height: 0;
        padding: 8px;
        background: #FFFFFF;
        border: 1px solid var(--listing-stroke);
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .event-nav-tab-bar.mobile-nav-open .nav-tabs {
        display: flex;
    }

    .event-nav-tab-bar .nav-tabs .nav-tab {
        justify-content: flex-start;
        width: 100%;
        height: 40px;
        padding: 10px 12px;
        border-bottom: 0;
        color: var(--listing-sub);
        font-size: 14px;
        line-height: 130%;
        text-align: left;
    }

    .event-nav-tab-bar .nav-tabs .nav-tab.active {
        color: var(--listing-blue);
        font-weight: 600;
        background: #F5F8FF;
    }

    .event-nav-tab-bar .nav-tabs .nav-tab.active::after {
        display: none;
    }

    .event-nav-tab-bar .event-search-inline-form,
    .event-nav-tab-bar .event-search-inline {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .event-nav-tab-bar .event-search-inline-form {
        margin-left: auto;
        margin-right: 4px;
    }

    .event-nav-tab-bar .event-search-inline:focus-within {
        width: 150px;
    }

    .event-nav-tab-bar .product-search-icon-action {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .event-nav-tab-bar .product-search-icon-action svg {
        width: 24px;
        height: 24px;
    }

    .event-nav-tab-bar .event-search-inline-input {
        display: block;
        width: 0;
        opacity: 0;
        pointer-events: none;
        transition: width 0.2s ease, opacity 0.2s ease;
    }

    .event-nav-tab-bar .event-search-inline:focus-within .event-search-inline-input {
        width: 114px;
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 767px) {
    .event-list-title {
        font-family: 'Pretendard', sans-serif;
        font-weight: 600;
        font-style: normal;
        font-size: 24px;
        line-height: 130%;
        letter-spacing: 0.035em;
        text-align: center;
        margin: 16px 0 24px;
    }

    .event-pagination {
        margin: 32px 0 52px;
    }

    .event-nav-tab-bar {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        width: 100%;
        max-width: none;
        height: 48px;
        min-height: 48px;
        border-bottom: 0;
        margin: 0 auto;
        flex-shrink: 0;
        overflow: visible;
    }

    .event-nav-tab-bar::after {
        display: block;
        width: 120vw;
    }

    .event-nav-tab-bar .mobile-filter-trigger {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 12px 0;
        gap: 12px;
        width: 109px;
        height: 48px;
        flex-shrink: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .event-nav-tab-bar .mobile-filter-icon {
        position: relative;
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .event-nav-tab-bar .mobile-filter-icon span {
        position: absolute;
        left: 9.38%;
        right: 9.38%;
        height: 1.5px;
        background: #454545;
        border-radius: 1px;
    }

    .event-nav-tab-bar .mobile-filter-icon span:nth-child(1) {
        top: 26.04%;
    }

    .event-nav-tab-bar .mobile-filter-icon span:nth-child(2) {
        top: 46.88%;
    }

    .event-nav-tab-bar .mobile-filter-icon span:nth-child(3) {
        top: 67.71%;
    }

    .event-nav-tab-bar .mobile-filter-label {
        font-family: 'Pretendard', sans-serif;
        font-style: normal;
        font-weight: 500;
        font-size: 15px;
        line-height: 130%;
        letter-spacing: 0.035em;
        color: #454545;
        white-space: nowrap;
    }

    .event-nav-tab-bar .nav-tabs {
        display: none;
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 8px);
        z-index: 30;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        min-height: 0;
        padding: 8px;
        background: #FFFFFF;
        border: 1px solid var(--listing-stroke);
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .event-nav-tab-bar.mobile-nav-open .nav-tabs {
        display: flex;
    }

    .event-nav-tab-bar .nav-tabs .nav-tab {
        justify-content: flex-start;
        width: 100%;
        height: 40px;
        padding: 10px 12px;
        border-bottom: 0;
        color: var(--listing-sub);
        font-size: 14px;
        line-height: 130%;
        text-align: left;
    }

    .event-nav-tab-bar .nav-tabs .nav-tab.active {
        color: var(--listing-blue);
        font-weight: 600;
        background: #F5F8FF;
    }

    .event-nav-tab-bar .nav-tabs .nav-tab.active::after {
        display: none;
    }

    .event-nav-tab-bar .event-search-inline-form,
    .event-nav-tab-bar .event-search-inline {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .event-nav-tab-bar .event-search-inline-form {
        margin-left: auto;
        margin-right: 4px;
    }

    .event-nav-tab-bar .event-search-inline:focus-within {
        width: 150px;
    }

    .event-nav-tab-bar .product-search-icon-action {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .event-nav-tab-bar .product-search-icon-action svg {
        width: 24px;
        height: 24px;
    }

    .event-nav-tab-bar .event-search-inline-input {
        display: block;
        width: 0;
        opacity: 0;
        pointer-events: none;
        transition: width 0.2s ease, opacity 0.2s ease;
    }

    .event-nav-tab-bar .event-search-inline:focus-within .event-search-inline-input {
        width: 114px;
        opacity: 1;
        pointer-events: auto;
    }

    .event-grid-wrap {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 28px;
    }

    .event-grid-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        gap: 12px;
        width: 343px;
        max-width: 100%;
    }

    .event-grid-thumbnail {
        width: 100%;
        height: auto;
        aspect-ratio: 343 / 175.9;
        border: 0;
        flex-shrink: 0;
    }

    .event-grid-description {
        padding-top: 0;
        gap: 8px;
        width: 100%;
    }

    .event-grid-subject {
        font-size: 18px;
        width: 100%;
    }

    .event-grid-time {
        margin: 0;
        width: 100%;
        font-size: 15px;
    }

    .event-container {
        max-width: 343px;
        margin: 0 auto;
    }

    .outstanding-event-container {
        flex-direction: column;
        gap: 24px;
    }

    .outstanding-event-item 
    .outstanding-event-image {
        flex: none;
        width: 120px;
        height: 84px;
    }

    .outstanding-event-item {
        gap: 12px;
    }

    .outstanding-event-item 
    .outstanding-event-image img {
        width: 120px;
        height: 84px;
    }

    .outstanding-event-content h3 {
        width: 211px;
        font-size: 16px;
    }

    .outstanding-event-content-header {
        gap: 0;
    }

    .outstanding-event-content h5 {
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 211px;
        display: inline-block;
    }

    .event-table thead tr th {
        font-size: 14px;
        padding: 19.5px 11px;
    }

    .event-table .event-title a {
        font-size: 14px;
    }

    .event-table .event-date, 
    .event-table .event-number {
        font-size: 14px;
        padding: 19.5px 12px;
    }

    /* First column */
    .event-table tr th:nth-child(1),
    .event-table tr td:nth-child(1) {
        width: 52px;
        text-align: left;
    }

    /* Second column */
    .event-table tr th:nth-child(2),
    .event-table tr td:nth-child(2) {
        width: 187px;
    }

    /* Third column */
    .event-table tr th:nth-child(3),
    .event-table tr td:nth-child(3) {
        width: 104px;
    }

    .event-search-container {
        margin-top: 0px;
    }

    .event-custom-select {
        width: 77px;
        height: 48px;
    }

    .event-search-form {
        width: 343px;
        height: 48px;
        gap: 8px;
    }

    .event-search-input {
        width: 258px;
        height: 48px;
    }

    .event-custom-select-trigger {
        font-size: 14px;
        padding: 0 12px;
    }

    .event-custom-options li {
        font-size: 14px;
    }

    .event-article-detail-container {
        width: calc(100% - 32px);
        max-width: 343px;
        margin: 0 auto; 
        padding: 0px 0px 52px;
    }

    .event-article-detail-header {
        gap: 16px;
        padding: 16px 0;
        text-align: center;
        border-top: none;
    }

    .author-date {
        justify-content: center;
    }

    .event-article-detail-header-title {
        font-size: 18px;
    }

    .event-article-detail-body p,
    .event-article-detail-body h6 {
        font-family: Pretendard, sans-serif;
        font-style: normal;
        font-weight: 400;
        font-size: 15px;
        line-height: 150%;
        letter-spacing: 0.02em;
        margin: 0 0 22.5px;
    }

    .event-article-detail-body h3 {
        margin: 0 0 29px;
    }

    .event-attach-file {
        padding-bottom: 20px;
        padding-top: 20px;
    }
    .nav-btn {
        width: 100px;
        height: 41px;
    }

    .nav-btn.home {
        width: 57px;
    }
}

.event-nav-tab-bar .event-search-inline-form {
    display: block;
    width: 24px;
    height: 24px;
    gap: 0;
    font-family: inherit;
    flex-shrink: 0;
    transition: width 0.2s ease;
}

.event-nav-tab-bar .event-search-inline-form:focus-within {
    width: 260px;
}

.event-nav-tab-bar .event-search-inline {
    width: 100%;
    height: 24px;
}

.event-nav-tab-bar .event-search-inline:focus-within {
    width: 100%;
}

.event-nav-tab-bar .event-search-inline-input {
    height: 24px;
    border: 0;
    padding: 0;
    font-size: 15px;
}

@media (max-width: 767px) {
    .event-nav-tab-bar .event-search-inline-form {
        width: 24px;
        height: 24px;
    }

    .event-nav-tab-bar .event-search-inline {
        width: 100%;
        height: 24px;
    }

    .event-nav-tab-bar .event-search-inline-form:focus-within {
        width: 150px;
    }

    .event-nav-tab-bar .event-search-inline:focus-within {
        width: 100%;
    }

    .event-nav-tab-bar .event-search-inline-input {
        width: 0;
        opacity: 0;
        pointer-events: none;
    }

    .event-nav-tab-bar .event-search-inline:focus-within .event-search-inline-input {
        width: 114px;
        opacity: 1;
        pointer-events: auto;
    }
}
