@charset "utf-8";

@font-face {
    font-family: 'SiteCustomFont';
    src: url('/templets/web3/css/consola.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

*{box-sizing:border-box;margin:0;padding:0}
body{font-family:'SiteCustomFont',sans-serif;background-color:#f4f6f8;color:#333;line-height:1.6;font-size:16px}
a{text-decoration:none;color:#333;transition:0.3s}
a:hover{color:#ff7f00}
ul,li{list-style:none}
img{max-width:100%;height:auto;display:block}
.container{max-width:1200px;margin:0 auto;padding:0 15px}

.header{background:#fff;box-shadow:0 2px 10px rgba(0,0,0,0.05);position:sticky;top:0;z-index:999}
.nav-wrapper{display:flex;justify-content:space-between;align-items:center;height:70px}
.logo svg{height:40px;width:auto;display:block}
.nav ul{display:flex;gap:30px}
.nav li a{font-weight:600;font-size:16px;color:#1a1a1a;text-transform:uppercase;letter-spacing:0.5px}
.nav li.current a,.nav li a:hover{color:#ff7f00}
.mobile-toggle{display:none;font-size:24px;cursor:pointer}

.banner-section {
    margin-top: 20px;
    margin-bottom: 10px;
}
.hero-wrapper {
    display: flex;
    gap: 20px;
    height: 320px;
    overflow: hidden;
}
.hero-big {
    flex: 2;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    background-image: repeating-linear-gradient(45deg,#f9f9f9,#f9f9f9 15px,#ffffff 15px,#ffffff 30px);
    border: 1px solid #eee;
}
.hero-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.hero-overlay {
    width: 100%;
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: none;
}
.cat-tag {
    background: #000;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 20px;
}
.hero-overlay h2 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #000;
    font-weight: 800;
}
.hero-overlay p {
    font-size: 16px;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    max-width: 90%;
}
.hero-big:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-color: #ddd;
    transition: all 0.3s;
}
.hero-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}
.hero-small {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.small-link {
    display: flex;
    height: 100%;
    align-items: center;
}
.small-img {
    width: 120px;
    height: 100%;
    flex-shrink: 0;
}
.small-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.small-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.time-tag {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}
.small-info h3 {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.main-content {
    display: flex;
    gap: 30px;
    margin: 40px auto; 
    align-items: flex-start;
}
.left-col{flex:1;background:#fff;padding:25px;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,0.03)}
.right-col{width:340px;flex-shrink:0}

.sec-title {
    font-size: 22px;
    border-left: 5px solid #ff7f00;
    padding-left: 15px;
    margin-bottom: 45px; 
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-item{display:flex;gap:25px;margin-bottom:30px;padding-bottom:30px;border-bottom:1px solid #f0f0f0}
.news-item:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}
.news-thumb{width:260px;height:160px;flex-shrink:0;border-radius:6px;overflow:hidden}
.news-thumb img{width:100%;height:100%;object-fit:cover;transition:transform 0.3s}
.news-item:hover .news-thumb img{transform:scale(1.05)}
.news-info{flex:1;display:flex;flex-direction:column;justify-content:space-between}
.news-info h3{font-size:20px;line-height:1.4;margin-bottom:10px;font-weight:700}
.news-desc{color:#666;font-size:15px;margin-bottom:15px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.6}
.news-meta{font-size:13px;color:#999;display:flex;align-items:center;gap:15px}
.news-item.no-img .news-thumb{display:none}

.sidebar-box{background:#fff;padding:25px;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,0.03);margin-bottom:25px}
.flash-list .flash-item{position:relative;padding-left:20px;margin-bottom:20px;border-left:2px solid #f0f0f0;transition:border-color 0.3s}
.flash-list .flash-item:hover{border-left-color:#ff7f00}
.flash-list .flash-item::before{content:'';position:absolute;left:-6px;top:6px;width:10px;height:10px;background:#ff7f00;border-radius:50%}
.flash-time{font-size:12px;color:#ff7f00;font-weight:bold;margin-bottom:5px}
.flash-title{font-size:15px;line-height:1.5;color:#333;display:block}
.flash-title:hover{color:#ff7f00}

.lives-timeline{position:relative;padding:10px 0}
.timeline-item{display:flex;gap:20px;margin-bottom:30px}
.timeline-time{width:90px;text-align:right;flex-shrink:0}
.time-box{background:#ff7f00;color:#fff;padding:5px 10px;border-radius:4px;display:inline-block;font-weight:bold;font-size:14px}
.timeline-content{flex:1;background:#f9f9f9;padding:20px;border-radius:8px;position:relative;border:1px solid #eee}
.timeline-content::before{content:'';position:absolute;left:-8px;top:15px;width:16px;height:16px;background:#f9f9f9;transform:rotate(45deg);border-left:1px solid #eee;border-bottom:1px solid #eee}
.timeline-content h3{font-size:18px;margin-bottom:10px;font-weight:700}
.timeline-content p{color:#555;font-size:15px}

.article-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
}
.article-title {
    font-size: 36px; 
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #111;
}
.article-meta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: #666;
}
.article-summary {
    background: #fdf6ec; 
    border-left: 4px solid #ff7f00;
    padding: 20px 25px;
    margin-bottom: 35px;
    border-radius: 0 6px 6px 0;
}
.article-summary strong {
    display: block;
    color: #ff7f00;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.article-summary p {
    font-size: 16px;
    color: #444;
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
}
.article-content {
    font-size: 18px;
    line-height: 1.8;
    color: #222;
}
.article-content p {
    margin-bottom: 25px;
    text-align: justify; 
}
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 30px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); 
}
.article-content blockquote {
    border-left: 4px solid #ddd;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}
.article-content h2, .article-content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #000;
}
.article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
}
.article-share span {
    font-weight: 700;
    color: #333;
    font-size: 14px;
}
.share-btn {
    font-size: 14px;
    font-weight: 600;
    padding: 8px 15px;
    background: #f5f5f5;
    border-radius: 4px;
    color: #555;
    transition: 0.3s;
    margin-right: 5px;
    display: inline-block;
}
.share-btn:hover {
    background: #ff7f00;
    color: #fff;
}

.related-section {
    margin-top: 60px;
}
.related-title {
    font-size: 20px;
    font-weight: 700;
    border-left: 4px solid #ff7f00;
    padding-left: 12px;
    margin-bottom: 25px;
    text-transform: uppercase;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.related-item {
    background: #fff;
}
.related-img {
    display: block;
    height: 140px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}
.related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}
.related-item:hover img {
    transform: scale(1.05);
}
.related-info h4 {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 5px;
}
.related-info h4 a:hover {
    color: #ff7f00;
}
.related-time {
    font-size: 12px;
    color: #999;
    display: block;
    margin-bottom: 5px;
}

.pagination{margin-top:50px;text-align:center}
.pagination li{display:inline-block;margin:0 5px}
.pagination a,.pagination span{padding:10px 20px;background:#fff;border:1px solid #eee;border-radius:4px;font-size:14px;color:#666}
.pagination a:hover,.pagination .thisclass{background:#ff7f00;color:#fff;border-color:#ff7f00}

.footer {
    background: #0f1012;
    color: #a0a0a0;
    padding: 80px 0 30px;
    margin-top: 80px;
    font-size: 15px;
    border-top: 3px solid #ff7f00;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-col {
    flex: 1;
    min-width: 160px;
}
.brand-col {
    flex: 2;
    min-width: 280px;
    margin-right: 30px;
}
.subscribe-col {
    flex: 1.5;
    min-width: 250px;
}
.footer-logo {
    margin-bottom: 25px;
}
.footer-desc {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #888;
    max-width: 350px;
}
.footer-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #a0a0a0;
    transition: 0.3s;
}
.footer-links a:hover {
    color: #ff7f00;
    padding-left: 5px;
}
.sub-text {
    margin-bottom: 20px;
    line-height: 1.6;
}
.sub-form {
    display: flex;
    position: relative;
}
.sub-form input {
    width: 100%;
    padding: 12px 15px;
    background: #1e1f21;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
    outline: none;
    font-family: inherit;
}
.sub-form input:focus {
    border-color: #ff7f00;
}
.sub-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    background: #ff7f00;
    color: #fff;
    border: none;
    padding: 0 15px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s;
}
.sub-form button:hover {
    background: #e66b00;
}
.footer-social {
    display: flex;
    gap: 15px;
}
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #1e1f21;
    border-radius: 50%;
    transition: 0.3s;
}
.footer-social a:hover {
    background: #ff7f00;
    transform: translateY(-3px);
}
.footer-social svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}
.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
}
.bottom-links a {
    color: #666;
    margin-left: 20px;
}
.bottom-links a:hover {
    color: #fff;
}

@media (max-width: 992px) {
    .footer-content {
        gap: 30px;
    }
    .brand-col {
        flex: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width:768px){
    .nav-wrapper{position:relative}
    .mobile-toggle{display:block}
    .nav{display:none;position:absolute;top:70px;left:0;width:100%;background:#fff;flex-direction:column;padding:20px;box-shadow:0 10px 20px rgba(0,0,0,0.1)}
    .nav.active{display:block}
    .nav ul{flex-direction:column;gap:15px}
    
    .hero-wrapper {flex-direction: column; height: auto;}
    .hero-big {height: 250px;}
    .hero-list {height: auto;}
    .hero-small {height: 100px;}
    .hero-overlay h2 {font-size: 20px;}
    
    .main-content{flex-direction:column}
    .right-col{width:100%}
    .news-item{flex-direction:column}
    .news-thumb{width:100%;height:220px}
    
    .timeline-item{flex-direction:column;gap:10px}
    .timeline-time{width:100%;text-align:left}
    .timeline-content::before{display:none}
    
    .article-title { font-size: 24px; }
    .article-footer { flex-direction: column; align-items: flex-start; }
    .share-btn { margin-bottom: 10px; }
    .related-grid { grid-template-columns: 1fr; }
    .related-img { height: 180px; }
    .article-meta-row { flex-wrap: wrap; gap: 10px; }
    
    .footer {
        padding: 50px 0 30px;
    }
    .footer-content {
        flex-direction: column;
    }
    .footer-col {
        width: 100%;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .bottom-links a {
        margin: 0 10px;
    }
}