/* Newsroom Common Styles - Hybrid Architecture */

* {
  font-family: var(--font-family-poppins) !important;
}

/* Clickable Story Item */
.story-item {
  cursor: pointer;
  transition: all 0.3s ease;
}

.story-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.newsroom-page {
    width: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero Section - Dark molecular background */
.sub-hero{
    background-image: url('../images/newsroom/bg.png');
    padding-bottom: 40px;
}

.newsroom-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(76, 175, 80, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 193, 7, 0.1) 0%, transparent 50%);
    background-size: 300px 300px, 250px 250px, 400px 400px;
    background-repeat: no-repeat;
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.newsroom-hero .section__container {
    padding: 80px var(--container-padding-desktop);
}

.newsroom-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.newsroom-title {
    font-size: 64px;
    font-weight: 600;
    margin-bottom: 40px;
    color: white;
    letter-spacing: -0.02em;
}

/* Newsroom Navigation Section */
.newsroom-navigation {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.newsroom-navigation .section__container {
    padding: 0;
}

.newsroom-nav-tabs {
    margin-top: 54px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-tab {
    flex: 1;
    padding: 16px 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 400;
    font-size: 16px;
    position: relative;
}

.nav-tab.active {
    color: #fff;
    font-weight: 600;
}

.nav-tab:hover:not(.active) {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.nav-tab-text {
    display: block;
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
}

/* Legacy Navigation Tabs (keeping for backward compatibility) */
.newsroom-nav {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 4px;
    backdrop-filter: blur(10px);
}

.nav-item {
    padding: 12px 24px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.nav-item:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Main Content */
.newsroom-main .section__container {
    padding: 120px var(--container-padding-desktop);
}

/* Section Title */
.main-content .SectionTitle {
    margin-bottom: 32px;
}

/* Category Filter */
.category-filter {
    margin-bottom: 24px;
}

.category-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    padding: 8px 20px;
    border: 1px solid var(--color-extended-gray-200, #E4E4E7);
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: var(--color-extended-gray-400, #A1A1AA);
    font-weight: 400;
    white-space: nowrap;
    flex-shrink: 0;
}

.category-tab.active {
    background: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
}

.category-tab:hover {
    border-color: #1a1a1a;
}

/* News Grid - Using Global Story Components */
.newsroom-main .stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 20px;
    margin-bottom: 40px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 60px 0;
}

.pagination-arrow {
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.pagination-arrow:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.05);
}

.pagination-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-arrow img {
    width: 24px;
    height: 24px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.pagination-arrow:hover:not(:disabled) img {
    opacity: 1;
}

.pagination-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #9CA3AF;
    font-family: var(--font-family-poppins);
    font-size: 16px;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
}

.pagination-number.active {
    background: #2D2D2D;
    color: white;
}

.pagination-number:hover:not(.active) {
    background: rgba(0, 0, 0, 0.05);
    color: #2D2D2D;
}

/* Content List (for IR page) */
.content-list {
    margin-bottom: 60px;
    border-top: 1px solid #3F3F46;
    border-bottom: 1px solid #3F3F46;
}

/* IR 페이지 링크 스타일 완전 해제 */
.content-list a,
.content-list a:link,
.content-list a:visited,
.content-list a:hover,
.content-list a:active {
    color: inherit !important;
    text-decoration: none !important;
}

/* IR 아이템 링크 스타일 해제 */
.ir-item,
.ir-item:link,
.ir-item:visited,
.ir-item:hover,
.ir-item:active {
    color: inherit !important;
    text-decoration: none !important;
}

/* IR 제목 링크 스타일 해제 */
.content-list-title,
.content-list-title:link,
.content-list-title:visited,
.content-list-title:hover,
.content-list-title:active {
    color: inherit !important;
    text-decoration: none !important;
}

.content-list-item {
    display: flex;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid rgba(63, 63, 70, 0.3);
    transition: all 0.3s ease;
    color: inherit;
    text-decoration: none;
}

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

.content-list-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
}

.content-number {
    min-width: 60px;
    color: #A1A1AA;
    flex-shrink: 0;
}

.content-info {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.content-list-title {
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: inherit;
    text-decoration: none;
}

.content-list-date {
    color: #A1A1AA;
    text-align: right;
}

.content-action {
    padding: 6px 12px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
}

.content-action:hover {
    background: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
}

/* Dark Section */
.dark-section {
    background: #1a1a1a;
    color: white;
}

.dark-section .section-title {
    color: white;
}

/* Events List */
.events-list {
    margin-bottom: 60px;
}

.event-item {
    display: flex;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.event-date {
    width: 80px;
    margin-right: 56px;
    text-align: left;
}

.event-info {
    flex: 1;
}

.event-arrow {
    opacity: 0.5;
}

/* Upcoming Events Section */
.upcoming-events-section {
    background: #1a1a1a;
    color: white;
}

.upcoming-events-section .section__container {
    padding: 120px var(--container-padding-desktop) 160px;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

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

.upcoming-events-section .section-title {
    color: white;
    margin-bottom: 0;
    flex-shrink: 0;
    min-width: 280px;
    width: 280px;
}

/* Events List */
.events-list {
    margin-bottom: 0;
    flex: 1;
    max-width: calc(100% - 360px);
    border-top: 1px solid #A1A1AA;
    border-bottom: 1px solid #A1A1AA;
}

.event-item {
    display: flex;
    align-items: center;
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-height: 80px;
}

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

.event-date {
    width: 80px;
    margin-right: 32px;
    flex-shrink: 0;
    text-align: left;
}

.event-day {
    line-height: 1;
    margin-bottom: 4px;
    color: white;
}

.event-year {
    opacity: 0.7;
    color: white;
}

.event-info {
    flex: 1;
    min-width: 0;
}

.event-location {
    opacity: 0.7;
    margin-bottom: 4px;
    color: white;
}

.event-title {
    margin: 0;
    color: white;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-arrow {
    opacity: 0.5;
    transition: all 0.3s ease;
    color: white;
    flex-shrink: 0;
    margin-left: 20px;
}

.event-item:hover .event-arrow {
    opacity: 1;
    transform: translateX(4px);
}

.event-item:hover {
    background: rgba(255, 255, 255, 0.02);
    padding: 24px 26px;
}

/* Bottom Banner */
.bottom-banner {
    background-image: url('../images/newsroom/bottom-banner.png');
}

/* Responsive Design */
@media (max-width: 768px) {
    .newsroom-title {
        font-size: 40px;
    }

    /* Mobile Navigation */
    .newsroom-nav-tabs {
        max-width: 100%;
        margin-top: 32px;
        padding: 6px;
        border-radius: 8px;
        display: flex;
    }

    .nav-tab {
        flex: 1;
        width: calc(33.333% - 4px);
        padding: 12px 8px;
        font-size: 12px;
        border-radius: 6px;
        text-align: center;
    }

    .nav-tab-text {
        font-size: 12px;
        white-space: normal;
        word-break: break-word;
        line-height: 1.2;
    }

    .newsroom-nav {
        flex-wrap: wrap;
    }

    .newsroom-hero .section__container,
    .newsroom-main .section__container,
    .media-inquiries-section .section__container {
        padding-left: var(--container-padding-mobile);
        padding-right: var(--container-padding-mobile);
    }

    .newsroom-hero .section__container {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .newsroom-main .section__container,
    .media-inquiries-section .section__container {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .newsroom-main .stories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Mobile Category Tabs */
    .category-filter {
        margin-bottom: 20px;
        padding: 0 -20px;
        margin-left: -20px;
        margin-right: -20px;
    }

    .category-tabs {
        padding: 0 20px;
        gap: 12px;
    }

    .category-tab {
        font-size: 13px;
        padding: 8px 20px;
    }

    /* Mobile Upcoming Events */
    .upcoming-events-section .section__container {
        padding: 60px var(--container-padding-mobile) 80px;
    }

    .upcoming-events-content {
        flex-direction: column;
        gap: 40px;
        align-items: stretch;
    }

    .upcoming-events-section .section-title {
        min-width: unset;
        width: 100%;
        margin-bottom: 0;
        text-align: left;
    }

    .events-list {
        max-width: 100%;
        width: 100%;
    }

    .event-item {
        padding: 20px 16px;
        min-height: 70px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .event-date {
        width: 60px;
        margin-right: 16px;
        order: 1;
    }

    .event-day {
        font-size: 14px;
        margin-bottom: 2px;
    }

    .event-year {
        font-size: 12px;
    }

    .event-info {
        flex: 1;
        min-width: calc(100% - 136px);
        order: 2;
    }

    .event-location {
        font-size: 12px;
        margin-bottom: 2px;
    }

    .event-title {
        font-size: 16px;
        white-space: normal;
        line-height: 1.3;
    }

    .event-arrow {
        order: 3;
        margin-left: 0;
    }

    .event-item:hover {
        padding: 20px 20px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .upcoming-events-section .section__container {
        padding: 40px var(--container-padding-mobile) 60px;
    }

    .upcoming-events-content {
        gap: 32px;
    }

    .upcoming-events-section .section-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .event-item {
        padding: 16px 12px;
        min-height: 60px;
        gap: 8px;
    }

    .event-date {
        width: 50px;
        margin-right: 12px;
    }

    .event-day {
        font-size: 13px;
    }

    .event-year {
        font-size: 11px;
    }

    .event-info {
        min-width: calc(100% - 102px);
    }

    .event-location {
        font-size: 11px;
    }

    .event-title {
        font-size: 14px;
        line-height: 1.3;
    }

    .event-arrow svg {
        width: 24px;
        height: 8px;
    }

    .media-inquiries-title {
        font-size: 24px;
    }

    .content-list-item {
        flex-direction: column;
        gap: 8px;
        padding: 16px 0;
    }

    .content-number {
        min-width: 24px;
    }

    .content-info {
        margin: 0;
        width: 100%;
    }

    /* Mobile Pagination */
    .pagination {
        gap: 12px;
        margin: 40px 0;
    }

    .pagination-arrow {
        width: 40px;
        height: 40px;
    }

    .pagination-arrow img {
        width: 20px;
        height: 20px;
    }

    .pagination-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    /* Bottom Banner */
    .bottom-banner {
        background-image: url('../images/newsroom/bottom-banner-mo.png');
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .newsroom-hero .section__container,
    .newsroom-main .section__container,
    .media-inquiries-section .section__container {
        padding-left: var(--container-padding-tablet);
        padding-right: var(--container-padding-tablet);
    }

    .newsroom-main .stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Tablet Upcoming Events */
    .upcoming-events-section .section__container {
        padding: 80px var(--container-padding-tablet) 120px;
    }

    .upcoming-events-content {
        gap: 60px;
    }

    .upcoming-events-section .section-title {
        min-width: 240px;
        width: 240px;
    }

    .events-list {
        max-width: calc(100% - 300px);
    }

    .event-item {
        padding: 22px 18px;
    }

    .event-date {
        width: 70px;
        margin-right: 24px;
    }

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