:root {
    --primary-color: #4CC9FF;
    --secondary-color: #0b0d12;
    --light-color: #e9eef5;
    --dark-color: #07080b;
    --accent-color: #2AA7FF;
    --gray-light: #141824;
    --gray: #1f2633;
    --gray-dark: #7a8597;
    --neon-white: #EAF6FF;
    --bg-deep: #07080b;
    --bg-soft: #0b0d12;
    --card-bg: #141824;
    --text-main: #e9eef5;
    --text-sub: #a7b0bf;
    --text-weak: #7a8597;
    --line-color: #1f2633;
    --neon-text-glow: 0 0 6px rgba(76,201,255,.55), 0 0 14px rgba(76,201,255,.25);
    --neon-box-glow: 0 0 0 1px rgba(76,201,255,.18), 0 8px 26px rgba(0,0,0,.6)
}

*,*::before,*::after {
    box-sizing: border-box
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--bg-deep);
    color: var(--text-main)
}

a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(76,201,255,.22)
}

.trendy-magazine-header {
    font-family: 'Noto Sans KR','Montserrat',sans-serif;
    color: var(--text-main);
    width: 100%;
    background: var(--bg-deep);
    position: relative;
    box-shadow: var(--neon-box-glow)
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px
}

.breaking-news-bar {
    background: linear-gradient(90deg,var(--bg-soft) 0%,#102033 60%,#12283f 100%);
    color: #fff;
    padding: 10px 0;
    overflow: hidden;
    position: relative
}

.breaking-news-bar .container {
    display: flex;
    align-items: center
}

.breaking-label {
    background: var(--accent-color);
    padding: 5px 12px;
    margin-right: 15px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-radius: 3px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px
}

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    animation: pulse 1.5s infinite
}

@keyframes pulse {
    0% {
        transform: scale(.8);
        opacity: .7
    }

    50% {
        transform: scale(1.2);
        opacity: 1
    }

    100% {
        transform: scale(.8);
        opacity: .7
    }
}

.breaking-news-content {
    flex: 1;
    overflow: hidden
}

.ticker-controls {
    margin-left: 15px
}

.ticker-control {
    background: transparent;
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s
}

.ticker-control:hover {
    background: rgba(255,255,255,.2)
}

.news-ticker {
    overflow: hidden;
    position: relative
}

.ticker-items {
    list-style: none;
    padding: 0;
    margin: 0;
    animation: ticker 30s linear infinite;
    white-space: nowrap
}

.ticker-items.paused {
    animation-play-state: paused
}

.ticker-items li {
    display: inline-block;
    padding-right: 50px;
    font-size: 14px;
    font-weight: 500;
    position: relative
}

.ticker-items li:after {
    content: '•';
    position: absolute;
    right: 20px;
    color: rgba(255,255,255,.5)
}

@keyframes ticker {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-100%)
    }
}

.top-bar {
    background: var(--bg-soft);
    color: var(--light-color);
    padding: 10px 0;
    font-size: 13px
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.date-info {
    display: flex;
    align-items: center
}

.date-info i {
    margin-right: 5px;
    color: var(--primary-color)
}

.right-info {
    display: flex;
    align-items: center;
    gap: 20px
}

.sns-icons {
    display: flex;
    gap: 12px;
    align-items: center
}

.sns-icon,.search-icon {
    color: var(--light-color);
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(76,201,255,.08);
    border: 1px solid rgba(76,201,255,.18);
    text-decoration: none
}

.sns-icon:hover,.search-icon:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    color: var(--neon-white);
    box-shadow: var(--neon-box-glow)
}

.weather-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    background: rgba(76,201,255,.08);
    border-radius: 20px;
    transition: all 0.3s ease;
    color: #fff
}

.weather-info:hover {
    background: rgba(255,255,255,.2)
}

.weather-icon {
    color: gold;
    font-size: 14px
}

.weather-text {
    font-weight: 500;
    font-size: 13px;
    color: #fff
}

.location {
    font-size: 11px;
    opacity: .8;
    margin-left: 5px;
    color: #fff
}

.user-profile {
    display: flex;
    align-items: center
}

.profile-link,.login-link {
    color: var(--light-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    transition: all 0.3s ease;
    padding: 5px 10px;
    background: rgba(76,201,255,.08);
    border: 1px solid rgba(76,201,255,.18);
    border-radius: 20px
}

.profile-link:hover,.login-link:hover {
    background: var(--accent-color);
    color: var(--neon-white)
}

.logo-header {
    background: #9192a5;
    padding: 20px 0;
    background: var(--wpr-bg-d841f6d2-51c5-411f-9cb5-05604d076f62) no-repeat center;
    background-size: cover
}

.logo-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.logo-area {
    flex: 1;
    text-align: center
}

.logo-link {
    display: inline-block
}

.logo-link img {
    width: 300px
}

.logo {
    display: block
}

.text-logo {
    font-family: 'Montserrat',sans-serif;
    font-weight: 800;
    font-size: 28px;
    letter-spacing: 1px;
    color: #fff;
    text-transform: uppercase;
    padding: 8px 0
}

.text-logo.mobile {
    font-size: 22px
}

.logo-accent {
    color: var(--primary-color);
    text-shadow: var(--neon-text-glow)
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 4px;
    z-index: 10
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease
}

.main-nav {
    background: var(--bg-soft);
    padding: 0;
    position: relative
}

.nav-menu {
    width: 100%
}

.menu-items {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    justify-content: space-around
}

.menu-item {
    position: relative
}

.menu-item a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: all 0.3s ease
}

.menu-item.home a {
    padding: 15px 20px;
    font-size: 14px
}

.menu-item a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%)
}

.menu-item a:hover,.menu-item.current-menu-item a {
    background: #101722;
    color: var(--neon-white);
    text-shadow: var(--neon-text-glow)
}

.menu-item a:hover:after,.menu-item.current-menu-item a:after {
    width: 100%
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-soft);
    z-index: 100000;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,.2)
}

.mobile-menu.active {
    left: 0
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--bg-deep)
}

.mobile-logo {
    flex: 1
}

.close-menu {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease
}

.close-menu:hover {
    background: rgba(255,255,255,.1)
}

.mobile-category-wrapper {
    margin-top: 20px
}

.mobile-menu-title {
    color: #fff;
    font-size: 16px;
    margin: 20px 0 10px;
    font-weight: 600;
    position: relative;
    padding-left: 15px
}

.mobile-menu-title:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 2px
}

.mobile-category-list {
    list-style: none;
    padding: 0;
    margin: 0
}

.mobile-category-list li {
    border-bottom: 1px solid rgba(255,255,255,.05)
}

.mobile-category-list li:last-child {
    border-bottom: none
}

.mobile-category-list a {
    color: rgba(255,255,255,.8);
    display: block;
    padding: 12px 0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease
}

.mobile-category-list a:hover {
    color: #fff;
    padding-left: 5px
}

.mobile-category-list a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: var(--primary-color)
}

.mobile-social {
    margin-top: 20px
}

.mobile-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px
}

.mobile-sns-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #121826;
    border: 1px solid var(--line-color);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s ease
}

.mobile-sns-icon:hover {
    background: var(--primary-color);
    transform: translateY(-2px)
}

.mobile-user-actions {
    margin-top: 25px;
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 20px
}

.mobile-profile-link,.mobile-login-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    background: var(--primary-color);
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease
}

.mobile-profile-link:hover,.mobile-login-link:hover {
    background: var(--accent-color)
}

.close-search {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1100
}

.close-search:hover {
    background: rgba(255,255,255,.1)
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7,8,11,.96);
    z-index: 1001;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    justify-content: center;
    align-items: center
}

.search-overlay.active {
    display: flex;
    opacity: 1
}

.search-content {
    width: 90%;
    max-width: 600px;
    background: #0f131b;
    border: 1px solid var(--line-color);
    box-shadow: var(--neon-box-glow);
    padding: 30px;
    border-radius: 10px;
    position: relative;
    color: #fff
}

.search-content h2 {
    margin-top: 0;
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
    color: #fff
}

.search-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color)
}

.search-form {
    display: flex;
    align-items: center;
    margin-bottom: 30px
}

.search-input {
    flex: 1;
    padding: 17px 20px;
    font-size: 16px;
    background: #111722;
    border: none;
    color: var(--text-main);
    border-radius: 30px 0 0 30px
}

.search-input:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--primary-color),0 0 12px rgba(76,201,255,.25)
}

.search-button {
    padding: 20px 15px;
    background: var(--primary-color);
    border: none;
    height: 100%;
    border-radius: 0 30px 30px 0;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease
}

.search-button:hover {
    background: var(--accent-color);
    box-shadow: 0 0 12px rgba(76,201,255,.28)
}

.popular-searches {
    margin-top: 20px
}

.popular-searches h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: rgba(255,255,255,.7)
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.search-tags a {
    display: inline-block;
    padding: 8px 15px;
    background: #121826;
    color: var(--text-sub);
    border: 1px solid var(--line-color);
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s ease
}

.search-tags a:hover {
    background: var(--primary-color);
    color: #071018
}

.main-nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    animation: slideDown 0.3s forwards
}

@keyframes slideDown {
    from {
        transform: translateY(-100%)
    }

    to {
        transform: translateY(0)
    }
}

@media (max-width: 768px) {
    .main-nav {
        display:none
    }

    .mobile-menu-btn {
        display: flex
    }

    .top-bar-content {
        justify-content: center
    }

    .weather-info,.date-info {
        display: none
    }

    .logo-area {
        text-align: left
    }

    .breaking-news-bar {
        padding: 5px 0
    }

    .breaking-news-bar .container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between
    }

    .breaking-label {
        order: 1;
        margin-right: 5px;
        font-size: 12px;
        padding: 4px 8px
    }

    .breaking-news-content {
        order: 2;
        flex: 1;
        margin: 0 5px
    }

    .ticker-controls {
        order: 3;
        margin-left: 0
    }

    .ticker-items li {
        font-size: 12px;
        padding-right: 20px
    }

    .ticker-items li:after {
        right: 10px
    }

    .sns-icon,.search-icon {
        width: 30px;
        height: 30px;
        font-size: 14px
    }

    .text-logo {
        font-size: 24px
    }
}

@media (max-width: 576px) {
    .mobile-menu {
        width:85%
    }

    .search-content {
        padding: 20px
    }

    .search-input {
        padding: 12px 15px;
        font-size: 14px;
        border: 1px solid var(--line-color);
        border-right: none;
        border-radius: 30px 0 0 30px;
        background: #111722;
        color: var(--text-main)
    }

    .search-button {
        padding: 13px 15px;
        font-size: 16px;
        border: 1px solid var(--primary-color);
        border-left: none;
        border-radius: 0 30px 30px 0
    }

    .top-bar {
        padding: 8px 0
    }

    .logo-header {
        padding: 15px 0
    }

    .user-profile {
        display: none
    }

    .mobile-search-form input {
        width: 100%;
        padding: 10px 15px;
        font-size: 16px;
        border: 1px solid var(--line-color);
        border-radius: 30px;
        background: #111722;
        color: var(--text-main)
    }

    .mobile-search-form input::placeholder {
        color: var(--text-weak)
    }

    .mobile-search-form button {
        padding: 8px;
        background: var(--primary-color);
        border: none;
        color: #fff;
        border-radius: 50%;
        margin-left: 5px
    }

    .mobile-weather {
        background: transparent;
        color: #fff;
        font-size: 16px;
        padding: 8px;
        text-align: center;
        border: none
    }

    .mobile-weather i {
        font-size: 18px;
        margin-right: 5px;
        color: gold
    }

    .text-logo {
        font-size: 20px
    }

    .text-logo.mobile {
        font-size: 18px
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans KR',sans-serif
}

.news-layout-container {
    max-width: 1400px;
    margin: .5rem auto;
    background: var(--bg-soft);
    padding: .5rem
}

.content-row {
    display: flex;
    align-items: stretch;
    gap: .5rem
}

.left-column,.middle-column,.right-column {
    display: flex;
    flex-direction: unset;
    flex-wrap: wrap
}

.middle-column {
    flex: 1.1
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px
}

.items-wrapper {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    height: 100%
}

.news-item,.trend-item,.popular-news-item {
    display: flex;
    align-items: center;
    background: var(--card-bg)
}

.news-thumbnail,.trend-image-wrapper,.popular-news-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    overflow: hidden
}

.news-thumbnail img,.trend-image,.popular-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.news-content,.trend-text-content,.popular-news-content {
    display: flex;
    flex-direction: column
}

.news-content .category,.trend-category,.popular-news-content .pop-cat {
    font-size: 9px;
    color: var(--primary-color)
}

.news-content .title,.trend-text,.popular-news-content .pop-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.4
}

.news-content .title a,.trend-text a,.popular-news-content .pop-title a {
    color: inherit;
    text-decoration: none
}

.news-content .title a:hover,.trend-text a:hover,.popular-news-content .pop-title a:hover {
    text-decoration: underline
}

.main-center-image {
    width: 100%;
    height: 333px!important;
    object-fit: cover!important;
    display: block!important;
    margin: 0 auto!important
}

@media (max-width: 1024px) {
    .middle-column {
        flex:1
    }

    .main-center-image {
        width: 100%!important;
        height: auto!important
    }
}

.pn-container {
    max-width: 1400px;
    margin: 0 auto .5rem;
    padding: 0;
    background: none;
    color: var(--text-main);
    font-family: 'Noto Sans KR',sans-serif;
    position: relative
}

.pn-header {
    position: relative;
    border-bottom: 1px solid var(--line-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: .5rem .5rem
}

.pn-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--neon-white);
    margin: 0;
    position: relative;
    display: inline-block
}

.pn-title:before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    border-radius: 2px;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color)
}

.pn-slider-container {
    position: relative;
    overflow: hidden;
    padding: 0 40px
}

.pn-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease
}

.pn-slide {
    min-width: calc(25% - 15px);
    flex: 0 0 calc(25% - 15px);
    position: relative;
    background: none;
    border: none;
    box-shadow: none;
    transition: transform 0.3s ease
}

.pn-slide:hover {
    transform: translateY(-5px)
}

.pn-image-container {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    border: none;
    border-radius: 6px;
    margin-bottom: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,.1)
}

.pn-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease
}

.pn-slide:hover .pn-image {
    transform: scale(1.08)
}

.pn-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,rgba(0,0,0,.8),rgba(0,0,0,.4),transparent);
    color: #fff;
    padding: 20px 15px 15px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    transition: background 0.3s ease
}

.pn-slide:hover .pn-overlay {
    background: linear-gradient(to top,rgba(0,0,0,.9),rgba(0,0,0,.5),transparent)
}

.pn-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-color);
    color: var(--neon-white);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 3px;
    z-index: 2
}

.pn-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,.6);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,.2)
}

.pn-nav-button:hover {
    background: rgba(42,167,255,.82);
    box-shadow: 0 3px 8px rgba(0,0,0,.3)
}

.pn-prev {
    left: 5px
}

.pn-next {
    right: 5px
}

.pn-nav-button i {
    font-size: 14px
}

.pn-pagination {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 8px
}

.pn-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2a3448;
    cursor: pointer;
    transition: all 0.3s ease
}

.pn-dot.active {
    background: var(--primary-color);
    transform: scale(1.2)
}

@media (max-width: 1200px) {
    .pn-slide {
        min-width:calc(33.333% - 14px);
        flex: 0 0 calc(33.333% - 14px)
    }

    .pn-title {
        font-size: 20px
    }
}

@media (max-width: 768px) {
    .pn-slide {
        min-width:calc(50% - 10px);
        flex: 0 0 calc(50% - 10px)
    }

    .pn-slider-container {
        padding: 0 30px
    }

    .pn-title {
        font-size: 18px
    }

    .pn-overlay {
        font-size: 14px;
        padding: 15px 10px 10px
    }

    .pn-nav-button {
        width: 30px;
        height: 30px
    }
}

@media (max-width: 480px) {
    .pn-container {
        margin-bottom:.5rem
    }

    .pn-slide {
        min-width: 100%;
        flex: 0 0 100%
    }

    .pn-header {
        margin-bottom: 10px
    }

    .pn-image-container {
        padding-top: 66.67%
    }

    .pn-nav-button {
        width: 28px;
        height: 28px
    }

    .pn-category {
        font-size: 11px;
        padding: 3px 6px
    }
}

.most-viewed-wrapper {
    max-width: 1400px;
    margin: .5rem auto;
    padding: 0 .5rem;
    font-family: 'Noto Sans KR',sans-serif;
    color: var(--text-main)
}

.most-viewed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .5rem;
    position: relative;
    padding-bottom: .5rem
}

.most-viewed-header:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--line-color)
}

.most-viewed-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--neon-white);
    margin: 0;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    letter-spacing: -.5px;
    font-family: 'Montserrat','Noto Sans KR',sans-serif;
    text-transform: uppercase
}

.most-viewed-title:after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color)
}

.most-viewed-more {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    border: 1px solid var(--line-color);
    padding: 8px 16px;
    border-radius: 30px
}

.most-viewed-more:after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease
}

.most-viewed-more:hover {
    background-color: #0f1726;
    color: var(--neon-white);
    border-color: var(--primary-color);
    box-shadow: var(--neon-box-glow)
}

.most-viewed-more:hover:after {
    transform: translateX(3px)
}

.most-viewed-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 25px
}

.most-viewed-card {
    position: relative;
    background: var(--card-bg);
    border: none;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(.165,.84,.44,1)
}

.most-viewed-card:hover {
    transform: translateY(-8px)
}

.most-viewed-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.2;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,.1)
}

.most-viewed-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(.165,.84,.44,1);
    filter: brightness(.95)
}

.most-viewed-card:hover .most-viewed-image {
    transform: scale(1.08);
    filter: brightness(1)
}

.most-viewed-rank {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 35px;
    height: 35px;
    background: rgba(76,201,255,.86);
    color: #071018;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0,0,0,.2);
    clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%)
}

.most-viewed-content {
    padding: 20px 5px 0;
    position: relative
}

.most-viewed-category {
    font-size: 12px;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
    position: relative;
    padding-left: 15px
}

.most-viewed-category:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 2px;
    background-color: var(--primary-color)
}

.most-viewed-headline {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease
}

.most-viewed-headline a {
    color: var(--text-main);
    text-decoration: none;
    background-image: linear-gradient(transparent calc(100% - 3px),var(--primary-color) 3px);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size 0.4s ease
}

.most-viewed-card:hover .most-viewed-headline a {
    background-size: 100% 100%
}

.most-viewed-trend {
    position: absolute;
    top: -15px;
    right: 10px;
    background: rgba(0,0,0,.7);
    color: var(--neon-white);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: .5px;
    z-index: 2
}

.most-viewed-trend:before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 5px;
    animation: pulse 1.5s infinite
}

@keyframes pulse {
    0% {
        opacity: .4;
        transform: scale(.8)
    }

    50% {
        opacity: 1;
        transform: scale(1.1)
    }

    100% {
        opacity: .4;
        transform: scale(.8)
    }
}

@media screen and (max-width: 1200px) {
    .most-viewed-grid {
        grid-template-columns:repeat(3,1fr);
        gap: 20px
    }

    .most-viewed-title {
        font-size: 24px
    }
}

@media screen and (max-width: 768px) {
    .most-viewed-grid {
        grid-template-columns:repeat(2,1fr);
        gap: 15px
    }

    .most-viewed-title {
        font-size: 22px
    }

    .most-viewed-wrapper {
        margin: .5rem auto;
        padding: 0 .5rem
    }

    .most-viewed-headline {
        font-size: 15px
    }
}

@media screen and (max-width: 480px) {
    .most-viewed-content {
        padding:12px 0 0
    }

    .most-viewed-rank {
        width: 25px;
        height: 25px;
        font-size: 14px
    }

    .most-viewed-title {
        font-size: 20px
    }

    .most-viewed-headline {
        font-size: 14px;
        -webkit-line-clamp: 3
    }
}

:root {
    --opinion-color: var(--primary-color);
    --border-color: var(--line-color);
    --bg-light: var(--card-bg);
    --bg-dark: var(--bg-soft);
    --text-dark: var(--text-main);
    --text-medium: var(--text-sub);
    --text-light: var(--neon-white);
    --shadow: var(--neon-box-glow);
    --radius: 8px;
    --transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1)
}

.news-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: .5rem auto;
    padding: 0;
    background: transparent;
    box-sizing: border-box;
    font-family: 'Noto Sans KR',sans-serif;
    color: var(--text-dark);
    margin-bottom: 200px
}

.news-row {
    margin-bottom: .5rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--bg-light)
}

.news-row.top-row {
    padding: .5rem
}

.news-row.bottom-row {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: .5rem
}

.row-title {
    font-family: 'Montserrat','Noto Sans KR',sans-serif;
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 30px 0;
    text-transform: uppercase;
    letter-spacing: -.5px;
    position: relative;
    display: inline-block
}

.row-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -.1rem;
    width: 50px;
    height: 3px;
    background-color: var(--opinion-color)
}

.bottom-row .row-title {
    color: var(--text-light)
}

.category-section {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: .5rem
}

.category-item {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-light);
    height: 100%
}

.category-header {
    font-family: 'Montserrat','Noto Sans KR',sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--text-light);
    padding: .5rem;
    position: relative;
    display: flex;
    align-items: center;
    transition: var(--transition)
}

.category-header h2 {
    width: 100%
}

.category-header.opinion {
    background-color: var(--opinion-color)
}

.category-header a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    width: 100%;
    transition: var(--transition);
    font-size: 22px
}

.category-header a:after {
    content: '→';
    margin-left: auto;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition)
}

.category-header:hover a:after {
    opacity: 1;
    transform: translateX(0)
}

.articles-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: .5rem;
    padding-top: .5rem
}

.article-item {
    display: flex;
    align-items: flex-start;
    transition: var(--transition);
    border-radius: var(--radius);
    gap: .5rem
}

.article-item:last-child {
    margin-bottom: 0
}

.article-item:hover {
    background: rgba(76,201,255,.08);
    transform: translateX(5px)
}

.bottom-row .article-item:hover {
    background: rgba(76,201,255,.12)
}

.article-text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
    color: var(--text-dark)
}

.bottom-row .article-text {
    color: var(--text-dark)
}

.article-text a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition)
}

.article-text a:hover {
    color: var(--primary-color)
}

.image-container {
    width: 120px;
    height: 85px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: calc(var(--radius) - 2px);
    box-shadow: 0 3px 10px rgba(0,0,0,.1);
    transition: var(--transition)
}

.article-item:hover .image-container {
    box-shadow: 0 5px 15px rgba(0,0,0,.2)
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition)
}

.article-item:hover .image-container img {
    transform: scale(1.05)
}

.category-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 6px;
    margin-bottom: 6px;
    border-radius: 3px;
    letter-spacing: .5px;
    color: var(--text-light)
}

.category-item {
    position: relative;
    padding: .5rem;
    box-shadow: 0 3px 15px rgba(0,0,0,.05)
}

.article-date {
    font-size: 11px;
    color: var(--text-medium);
    margin-top: 5px;
    display: block
}

@media (max-width: 1200px) {
    .category-section {
        grid-template-columns:repeat(2,1fr)
    }

    .news-row {
        padding: 25px
    }

    .row-title {
        font-size: 24px;
        margin-bottom: .5rem
    }
}

@media (max-width: 768px) {
    .news-wrapper {
        margin:30px auto
    }

    .news-row {
        padding: 20px;
        margin-bottom: 30px
    }

    .category-section {
        grid-template-columns: 1fr;
        gap: .5rem
    }

    .image-container {
        width: 100px;
        height: 70px
    }

    .category-header {
        font-size: 16px;
        padding: .5rem
    }

    .articles-container {
        padding: .5rem
    }

    .article-text {
        font-size: 14px
    }

    .article-item {
        margin-bottom: 0
    }

    .row-title {
        font-size: 22px;
        margin-bottom: .5rem
    }

    .row-title:after {
        width: 40px;
        height: 3px
    }

    .category-header a {
        font-size: 18px
    }
}

@media (max-width: 480px) {
    .image-container {
        width:85px;
        height: 60px
    }

    .article-text {
        font-size: 13px;
        margin-left: 10px
    }

    .article-item {
        padding: 0
    }

    .news-row {
        padding: .5rem
    }

    .articles-container {
        padding: .5rem
    }
}

.hd-magazine-footer {
    background: #0a0d13;
    background-image: linear-gradient(to bottom,#101520,#07080b);
    color: var(--text-main);
    font-family: 'Montserrat','Noto Sans KR',-apple-system,BlinkMacSystemFont,sans-serif;
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden
}

.hd-magazine-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right,#4CC9FF 0%,#2AA7FF 45%,#EAF6FF 100%)
}

.hd-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1
}

.hd-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(76,201,255,.22);
    margin-bottom: 30px;
    position: relative
}

.hd-footer-logo-container {
    position: relative;
    transition: transform 0.3s ease
}

.hd-footer-logo-container:hover {
    transform: translateY(-3px)
}

.hd-footer-logo {
    height: 45px;
    width: auto;
    filter: brightness(1.1)
}

.hd-footer-logo-accent {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 20px;
    height: 2px;
    background-color: var(--primary-color)
}

.hd-footer-nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap
}

.hd-footer-nav li {
    margin: 0;
    list-style: none
}

.hd-footer-nav a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    transition: all 0.3s ease;
    padding: 5px 0;
    position: relative;
    text-transform: uppercase
}

.hd-footer-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease
}

.hd-footer-nav a:hover {
    color: var(--neon-white);
    text-shadow: var(--neon-text-glow)
}

.hd-footer-nav a:hover::after {
    width: 100%
}

.hd-footer-info {
    margin-top: 30px;
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.8;
    position: relative
}

.hd-footer-company {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px
}

.hd-footer-company span {
    position: relative;
    transition: color 0.3s ease
}

.hd-footer-company span:hover {
    color: var(--neon-white)
}

.hd-footer-company span:not(:last-child):after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,.2)
}

.hd-highlight {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative
}

.hd-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--neon-white);
    transition: width 0.3s ease
}

.hd-magazine-footer a.hd-highlight:hover {
    color: var(--neon-white);
    text-shadow: var(--neon-text-glow)
}

.hd-magazine-footer a.hd-highlight:hover::after {
    width: 100%
}

.hd-copyright {
    color: rgba(255,255,255,.5);
    font-size: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.05);
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.hd-social-links {
    display: flex;
    gap: 15px
}

.hd-social-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: var(--neon-white);
    transition: all 0.3s ease;
    text-decoration: none
}

.hd-social-icon:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--neon-box-glow)
}

.hd-social-icon i {
    font-size: 14px
}

.hd-accent-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
    position: relative;
    top: -1px
}

@media (max-width: 992px) {
    .hd-magazine-footer {
        padding:50px 0 30px
    }

    .hd-footer-nav {
        gap: 20px
    }

    .hd-footer-nav a {
        font-size: 12px
    }

    .hd-copyright {
        flex-direction: column;
        gap: 15px;
        text-align: center
    }
}

@media (max-width: 768px) {
    .hd-footer-top {
        flex-direction:column;
        gap: 30px;
        text-align: center;
        padding-bottom: 25px
    }

    .hd-footer-logo {
        height: 40px
    }

    .hd-footer-logo-accent {
        left: 50%;
        transform: translateX(-50%);
        width: 30px
    }

    .hd-footer-nav {
        justify-content: flex-start;
        gap: 15px 20px;
        margin-top: 10px
    }

    .hd-footer-nav a {
        font-size: 11px
    }

    .hd-footer-company {
        justify-content: center;
        text-align: center;
        gap: 12px;
        margin-bottom: 10px
    }

    .hd-footer-info {
        text-align: center;
        font-size: 12px;
        margin-top: 20px
    }

    .hd-social-links {
        margin-top: 15px;
        justify-content: center
    }
}

@media (max-width: 480px) {
    .hd-magazine-footer {
        padding:40px 0 25px
    }

    .hd-footer-container {
        padding: 0 20px
    }

    .hd-footer-company span {
        font-size: 11px
    }

    .hd-footer-company span:not(:last-child):after {
        height: 10px
    }

    .hd-footer-nav {
        max-width: 300px;
        gap: 10px 15px
    }

    .hd-footer-nav a {
        font-size: 10px;
        letter-spacing: .3px
    }
}

.hd-magazine-footer .hd-footer-info a {
    color: rgba(255,255,255,.7);
    transition: color 0.3s ease
}

.hd-magazine-footer .hd-footer-info a:hover {
    color: var(--primary-color)
}

.hd-magazine-footer .hd-footer-container .hd-footer-info .hd-footer-company span {
    font-size: 13px
}

.hd-magazine-footer .hd-footer-info .hd-footer-company {
    margin-bottom: 10px
}

.hd-magazine-footer .hd-footer-info .hd-footer-company span:not(:last-child) {
    margin-right: 10px
}

.hd-magazine-footer .hd-footer-info .hd-footer-company span:not(:last-child):after {
    right: -10px
}

.hd-magazine-footer .hd-footer-info .hd-footer-company span:last-child {
    margin-right: 0
}

.hd-magazine-footer .hd-footer-info .hd-footer-company:last-of-type {
    margin-bottom: 0
}

body {
    background: var(--bg-deep);
    color: var(--text-main)
}

.news-layout-container {
    max-width: 1400px;
    margin: .5rem auto;
    background: var(--bg-soft);
    padding: .5rem 0
}

.content-row {
    display: flex;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: .5rem
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: .5rem;
    position: relative;
    padding-bottom: 12px;
    position: relative;
    color: var(--neon-white);
    text-shadow: 0 0 6px rgba(76,201,255,.22)
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color)
}

.section-title:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--line-color)
}

.middle-column .section-title {
    text-align: center;
    font-size: 26px
}

.middle-column .section-title:after {
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px
}

.right-column .section-title {
    font-size: 20px
}

.items-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: start
}

.news-item,.trend-item,.popular-news-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--line-color);
    transition: all 0.3s ease;
    position: relative;
    width: 100%
}

.news-item:after,.trend-item:after,.popular-news-item:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease
}

.news-item:hover:after,.trend-item:hover:after,.popular-news-item:hover:after {
    width: 100%
}

.news-item:last-child,.trend-item:last-child,.popular-news-item:last-child {
    border-bottom: none
}

.news-item:hover,.trend-item:hover,.popular-news-item:hover {
    transform: translateX(5px)
}

.news-thumbnail,.trend-image-wrapper,.popular-news-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,.1);
    transition: all 0.3s ease
}

.news-item:hover .news-thumbnail,.trend-item:hover .trend-image-wrapper,.popular-news-item:hover .popular-news-thumb {
    box-shadow: 0 6px 12px rgba(0,0,0,.15)
}

.news-thumbnail img,.trend-image,.popular-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease
}

.news-thumbnail:hover img,.trend-image-wrapper:hover img,.popular-news-thumb:hover img {
    transform: scale(1.05)
}

.news-content,.trend-text-content,.popular-news-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 75%
}

.news-content .category,.trend-category,.popular-news-content .pop-cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 5px;
    padding: 2px 0
}

.news-content .title,.trend-text,.popular-news-content .pop-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.4;
    transition: color 0.2s ease
}

.news-content .title a:hover,.trend-text a:hover,.popular-news-content .pop-title a:hover {
    color: var(--primary-color)
}

.post-date {
    font-size: 12px;
    color: var(--text-weak);
    margin-top: 5px
}

.main-news-container {
    position: relative;
    margin-bottom: 0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease,box-shadow 0.3s ease
}

.main-news-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,.15)
}

.main-news-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    display: block;
    text-decoration: none
}

.main-center-image {
    object-fit: cover!important;
    display: block!important;
    margin: 0 auto!important;
    transition: transform 0.5s ease
}

.main-news-container:hover .main-center-image {
    transform: scale(1.03)
}

.main-news-content {
    width: 100%;
    padding: .5rem;
    z-index: 2;
    text-align: center;
    position: relative
}

.main-news-category {
    display: inline-block;
    background: var(--accent-color);
    color: var(--neon-white);
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(76,201,255,.28);
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%,-50%)
}

.main-news-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--neon-white);
    text-shadow: 0 0 6px rgba(76,201,255,.2);
    line-height: 1.3;
    margin-bottom: .5rem;
    margin-top: 2rem
}

.main-news-excerpt {
    color: var(--text-sub);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 18px
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: #071018;
    background-color: rgba(76,201,255,.85);
    padding: 0 .5rem;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease
}

.read-more:after {
    content: '→';
    margin-left: 5px
}

.read-more:hover {
    background-color: var(--accent-color)
}

.main-text-item {
    display: flex;
    flex-direction: unset;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0;
    border-bottom: 1px solid var(--line-color);
    transition: all .3s ease;
    position: relative
}

.main-text-item:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease
}

.main-text-item:hover:after {
    width: 100%
}

.main-text-item:last-child {
    border-bottom: none
}

.main-text-item:hover {
    transform: translateX(5px)
}

.main-text-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 5px;
    padding: 2px 0
}

.main-text-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 5px;
    transition: color 0.2s ease
}

.main-text-title a {
    color: inherit;
    text-decoration: none
}

.main-text-title a:hover {
    color: var(--primary-color)
}

.trending-section {
    margin-bottom: .5rem
}

.trending-section .trend-item {
    padding: 1rem 0;
    flex-direction: row-reverse
}

.trending-section .trend-item:nth-of-type(1) {
    background: var(--card-bg)
}

.popular-section .popular-news-item {
    position: relative;
    padding: .5rem;
    flex-direction: row-reverse
}

.popular-section .popular-news-item:before {
    content: counter(popular-count);
    counter-increment: popular-count;
    position: absolute;
    left: -25px;
    width: 22px;
    height: 22px;
    background: var(--primary-color);
    color: #071018;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    font-size: 12px;
    font-weight: 700
}

.popular-section .items-wrapper {
    counter-reset: popular-count 1;
    padding-left: 25px
}

.left-column .news-item:last-child,.trending-section .trend-item:last-child,.popular-section .popular-news-item:last-child {
    border-bottom: none
}

@media (max-width: 1024px) {
    .main-text-title {
        padding:.5rem 0
    }

    .content-row {
        grid-template-columns: 1fr
    }

    .left-column,.right-column,.middle-column {
        padding: 0 .5rem
    }

    .left-column,.middle-column,.right-column {
        margin-bottom: .5rem
    }

    .section-title {
        text-align: left
    }

    .middle-column .section-title {
        text-align: left
    }

    .middle-column .section-title:after {
        left: 0;
        transform: none
    }

    .main-center-image {
        height: auto!important;
        max-height: 400px!important
    }

    .main-news-title {
        font-size: 22px
    }

    .main-news-excerpt {
        font-size: 14px
    }

    .popular-section .items-wrapper {
        padding-left: .5rem
    }
}

@media (max-width: 768px) {
    .news-layout-container {
        padding:0 .5rem;
        margin: .5rem auto
    }

    .magazine-logo {
        font-size: 32px
    }

    .main-news-content {
        padding: 20px
    }

    .main-news-title {
        font-size: 20px
    }

    .main-news-excerpt {
        display: none
    }
}

.excerpt>p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis
}

.mobile-search-form>input[type=text] {
    max-width: 85%
}

@media only screen and (max-width: 768px) {
    .news-left img {
        margin-bottom:0!important
    }
}

.ticker-items>li>a {
    color: #eee
}

.weather-info {
    display: none
}

.text-box {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%
}

.content-row>div:first-child {
    width: 30%
}

.content-row>div:nth-child(2) {
    width: 40%
}

.content-row>div:last-child {
    width: 30%
}

.main-text-item {
    gap: .5rem;
    width: 100%
}

.main-text-item>div:first-child {
    width: calc(10% - .5rem);
    text-align: center
}

.main-text-item>div:nth-child(2) {
    width: calc(75% - .5rem)
}

.main-text-item>div:nth-child(2) .text-box {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%
}

.main-text-item>div:last-child {
    width: calc(15% - .5rem)
}

.section-title {
    height: 36px
}

#mobile-menu-btn-box:not(.sticky)>.scroll-top {
    display: none
}

.sub-menu.pop {
    z-index: 999;
    background: #0f141f;
    border: 1px solid var(--line-color);
    position: absolute;
    width: 128px;
    background-color: #0f141f;
    display: none
}

.sub-menu.pop>li {
    list-style: none
}

.menu-item:hover .sub-menu.pop {
    display: block
}

.sub-menu.pop>.menu-item {
    margin-left: 0
}

@media (max-width: 1024px) {
    .text-box {
        width:100%;
        white-space: unset;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .content-row {
        flex-direction: column;
        gap: .5rem
    }

    .section-title,.trending-section {
        margin-bottom: .5rem
    }

    .trending-section .trend-item,.news-item,.popular-news-item,.trend-item {
        padding: .3rem 0
    }

    .news-item,.popular-news-item,.trend-item {
        gap: .5rem
    }

    .left-column,.middle-column,.right-column {
        padding: 0
    }

    .news-content,.popular-news-content,.trend-text-content {
        display: flex;
        flex-direction: column;
        flex: none;
        width: 75%
    }

    .content-row>div:first-child {
        width: 100%;
        order: 2
    }

    .content-row>div:nth-child(2) {
        width: 100%;
        order: 1
    }

    .content-row>div:last-child {
        width: 100%;
        order: 3
    }

    .main-text-item>div:first-child {
        width: calc(10% - .5rem);
        text-align: center
    }

    .main-text-item>div:nth-child(2) {
        width: calc(70% - .5rem)
    }

    .main-text-item>div:last-child {
        width: calc(20% - .5rem);
        text-align: right
    }

    .category-item {
        padding: 0
    }

    .popular-section .popular-news-item {
        padding: .3rem;
        justify-content: flex-end;
        padding-left: 25px
    }

    #mobile-menu-btn-box.sticky {
        position: fixed;
        bottom: .5rem;
        right: .5rem;
        z-index: 999;
        padding-left: 25px
    }

    #mobile-menu-btn-box.sticky .mobile-menu-btn {
        align-content: center;
        padding: 0;
        background: #0c1018;
        border-radius: 500px;
        width: 50px;
        height: 50px;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 10px rgba(0,0,0,.1);
        display: flex;
        animation: slideDown .3s forwards
    }

    #mobile-menu-btn-box>.scroll-top {
        display: block;
        border: none;
        padding: 0;
        margin-bottom: .3rem;
        animation: slideDown .3s forwards;
        background: #0c1018;
        color: var(--neon-white);
        border: 1px solid var(--line-color);
        border-radius: 500px;
        width: 50px;
        height: 50px
    }

    .popular-news-thumb {
        height: 125px
    }

    .popular-news-item .popular-news-thumb {
        height: 80px
    }

    .popular-section .popular-news-item:before {
        top: 8px;
        left: -10px
    }

    .trending-section .trend-item {
        justify-content: flex-end
    }

    .popular-section .popular-news-item:before {
        top: initial
    }
}

@media (max-width: 768px) {
    .items-wrapper {
        flex-direction:unset;
        flex-wrap: wrap
    }

    .items-wrapper .news-item {
        width: calc(100% / 2 - .5rem);
        gap: .5rem
    }

    .right-column:not(.custom)>div {
        width: calc(100% / 2 - .5rem)
    }

    .category-section {
        display: flex;
        flex-wrap: wrap
    }

    .category-item {
        width: calc(100% / 2 - .5rem)
    }
}

@media (max-width: 425px) {
    .main-text-item>div:first-child {
        width:calc(11% - .5rem)
    }

    .items-wrapper .news-item {
        width: calc(100%);
        gap: .5rem
    }

    .right-column:not(.custom)>div {
        width: calc(100%)
    }

    .category-item {
        width: calc(100%)
    }
}

.section-title,.pn-title,.most-viewed-title,.category-header h2,.latest-section .section-title,.pn-header .pn-title,.most-viewed-header .most-viewed-title,.middle-column .section-title,.right-column .section-title {
    font-size: 20px!important;
    line-height: 1.3!important
}

@media (max-width: 1140px) {
    .section-title,.pn-title,.most-viewed-title,.category-header h2,.latest-section .section-title,.pn-header .pn-title,.most-viewed-header .most-viewed-title,.middle-column .section-title,.right-column .section-title {
        font-size:19px!important
    }
}

@media (max-width: 767px) {
    .section-title,.pn-title,.most-viewed-title,.category-header h2,.latest-section .section-title,.pn-header .pn-title,.most-viewed-header .most-viewed-title,.middle-column .section-title,.right-column .section-title {
        font-size:18px!important
    }
}

@media (max-width: 480px) {
    .section-title,.pn-title,.most-viewed-title,.category-header h2,.latest-section .section-title,.pn-header .pn-title,.most-viewed-header .most-viewed-title,.middle-column .section-title,.right-column .section-title {
        font-size:17px!important
    }
}
