@font-face {
    font-family: 'Chomsky';
    src: url('assets/Chomsky.otf') format('opentype');
}

body {
    font-family: Georgia, serif;
    margin: 0;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.top-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e2e2e2;
}

.top-bar .left, .top-bar .right {
    display: flex;
    align-items: center;
}

.top-bar .left {
    justify-content: flex-start;
}

.top-bar .right {
    justify-content: flex-end;
}

.top-bar .left span, .top-bar .left a, .center-links a {
    margin-right: 15px;
    font-size: 12px;
    text-decoration: none;
    color: #333;
}

.center-links {
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-logo {
    grid-column: 2;
    text-align: center;
}

.logo {
    font-family: 'Chomsky', serif;
    font-size: 48px;
    margin: 0;
    font-weight: normal;
}

.top-bar .right a, .top-bar .right .market-data {
    text-decoration: none;
    color: #000;
    font-size: 12px;
    margin-left: 15px;
}

.subscribe-btn {
    background-color: #5a9ce3;
    color: white !important;
    padding: 8px 12px;
    border-radius: 3px;
}

.login-btn {
    border: 1px solid #e2e2e2;
    padding: 8px 12px;
    border-radius: 3px;
}

.market-data {
    display: flex;
    align-items: center;
    font-size: 12px;
}

.market-data span {
    margin-left: 5px;
}

.market-data .fa-arrow-down {
    color: red;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 0 10px;
}

.main-nav {
    background-color: #fff;
    z-index: 1000;
}

.main-nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
}

.main-nav ul li {
    margin: 0 15px;
    position: relative;
}

.main-nav ul li a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 14px;
}

.main-nav ul li a i {
    font-size: 10px;
    margin-left: 5px;
}

.main-nav .nav-separator {
    border-right: 1px solid #e2e2e2;
    padding-right: 30px;
}

.live-bar {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 2px solid #000;
    font-size: 14px;
}

.live-bar span {
    font-weight: bold;
    color: red;
    margin-right: 15px;
}

.live-bar a {
    text-decoration: none;
    color: #000;
    margin-right: 20px;
    font-weight: bold;
}

.live-bar a span {
    color: #999;
    font-weight: normal;
}

.main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #e2e2e2;
}

.main-article {
    border-right: 1px solid #e2e2e2;
    padding-right: 20px;
}

.article-content .live-tag {
    color: red;
    font-weight: bold;
    font-size: 14px;
}

.article-content .live-tag span {
    font-weight: normal;
    color: #999;
}

.article-content h2 {
    font-size: 24px;
    margin-top: 5px;
}

.article-content .see-more {
    color: #5a9ce3;
    text-decoration: none;
    font-size: 14px;
}

.chart-placeholder {
    margin-top: 20px;
}

.chart-placeholder img {
    width: 100%;
}

.side-article img {
    width: 100%;
}

.side-article h3 {
    font-size: 18px;
}

.side-article p {
    font-size: 14px;
    color: #333;
}

.side-article span {
    font-size: 12px;
    color: #999;
}

.article-grid {
    margin-top: 20px;
    display: grid;
    gap: 20px;
}

.article-item {
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e2e2;
}

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

.article-item.with-image {
    display: grid;
    grid-template-columns: 1fr 150px;
    gap: 15px;
}

.article-item h4 {
    font-size: 16px;
    margin: 0 0 5px 0;
}

.article-item p {
    font-size: 14px;
    color: #333;
    margin: 0 0 5px 0;
}

.article-item span {
    font-size: 12px;
    color: #999;
}

.article-item.with-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.side-article-grid {
    margin-top: 20px;
    display: grid;
    gap: 20px;
}

.side-article-item.with-image {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 15px;
    align-items: center;
}

.side-article-item h5 {
    font-size: 14px;
    margin: 0 0 5px 0;
}

.side-article-item span {
    font-size: 12px;
    color: #999;
}

.opinion-section {
    margin-top: 20px;
    border-top: 1px solid #e2e2e2;
    padding-top: 20px;
}

.opinion-item {
    display: grid;
    grid-template-columns: 1fr 40px;
    gap: 15px;
    margin-bottom: 20px;
}

.opinion-author {
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    grid-column: 1 / -1;
}

.opinion-item h5 {
    font-size: 14px;
    margin: 0 0 5px 0;
}

.opinion-item span {
    font-size: 12px;
    color: #999;
    grid-column: 1;
}

.opinion-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    grid-column: 2;
    grid-row: 1 / span 3;
}

footer {
    background-color: #f7f7f7;
    padding: 40px 15px;
    margin-top: 40px;
    border-top: 1px solid #e2e2e2;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column h5 {
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.footer-column .sub-links {
    margin-top: 20px;
    border-top: 1px solid #e2e2e2;
    padding-top: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid #e2e2e2;
    font-size: 12px;
}

.footer-bottom ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.footer-bottom ul li {
    margin-left: 15px;
}

.footer-bottom ul a {
    text-decoration: none;
    color: #555;
}

.skeleton-loader {
    display: grid;
    gap: 20px;
}

.skeleton-item {
    background-color: #e0e0e0;
    border-radius: 4px;
    animation: pulse 1.5s infinite ease-in-out;
}

.skeleton-item.large {
    height: 100px;
}

.skeleton-item.medium {
    height: 20px;
    width: 80%;
}

.skeleton-item.small {
    height: 20px;
    width: 60%;
}

@keyframes pulse {
    0% {
        background-color: #e0e0e0;
    }
    50% {
        background-color: #f0f0f0;
    }
    100% {
        background-color: #e0e0e0;
    }
}

.content-placeholder {
    display: none;
}

.image-container {
    position: relative;
}

.image-container .skeleton-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.dynamic-section {
    padding: 20px 0;
    border-top: 1px solid #e2e2e2;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
}

.well-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.well-item {
    border-right: 1px solid #e2e2e2;
    padding-right: 20px;
}

.well-item:last-child {
    border-right: none;
}

.well-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.culture-lifestyle-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.featured-article-culture {
    border-right: 1px solid #e2e2e2;
    padding-right: 20px;
}

.side-articles-culture {
    display: grid;
    gap: 20px;
}

.side-article-item-culture.with-image {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 15px;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e2e2;
}

.side-article-item-culture.with-image:last-child {
    border-bottom: none;
}

.side-article-item-culture.with-image img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.more-news-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
}

.news-column-left, .news-column-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-column-center {
    border-left: 1px solid #e2e2e2;
    border-right: 1px solid #e2e2e2;
    padding: 0 20px;
}

.news-column-center img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.news-item, .news-item-small {
    border-bottom: 1px solid #e2e2e2;
    padding-bottom: 20px;
}

.news-item:last-child, .news-item-small:last-child {
    border-bottom: none;
}

.watch-read-featured {
    position: relative;
    margin-bottom: 20px;
}

.watch-read-featured img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.watch-read-featured-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 20px;
}

.watch-read-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.watch-read-item.with-image {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 15px;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e2e2;
}

.watch-read-item.with-image:nth-child(2), .watch-read-item.with-image:nth-child(4) {
     border-right: none;
}

.watch-read-item.with-image:nth-child(odd) {
    padding-right: 20px;
    border-right: 1px solid #e2e2e2;
}

.watch-read-item.with-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.img-loading {
    filter: blur(5px);
    transition: filter 0.3s ease-in-out;
}
