* { margin: 0; padding: 0; box-sizing: border-box; }
@font-face {
    font-family: 'ebg';
    src: url('/css/EBGaramond-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'ebg';
    src: url('/css/EBGaramond-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'ebg';
    src: url('/css/EBGaramond-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'ebg';
    src: url('/css/EBGaramond-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'ebg';
    src: url('/css/EBGaramond-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'ebg';
    src: url('/css/EBGaramond-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'EB Garamond', 'ebg', 'Times New Roman', serif;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }

.top-bar { background-color: #0624C4; height: 3px; display: flex; align-items: center; justify-content: flex-end; color: #fff; font-size: 12px; padding: 0 20px; }
.top-bar span { margin-left: 20px; opacity: 0.8; }
header { background: #fff; padding: 25px 0; box-shadow: 0 2px 15px rgba(0,0,0,0.05); position: relative; z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 38px; width: auto; }
.nav ul { display: flex; gap: 30px; }
.nav a { color: #333; font-weight: 700; font-size: 16px; text-transform: capitalize; padding: 5px 0; position: relative; }
.nav a:hover, .nav li.active a { color: #0624C4; }
.nav li.active a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 100%; height: 2px; background: #0624C4; }
.search-box { position: relative; }
.search-box input { border: 1px solid #ddd; background: #f9f9f9; padding: 8px 15px; border-radius: 20px; width: 200px; outline: none; transition: 0.3s; }
.search-box input:focus { border-color: #333; background: #fff; }


.section-title { font-size: 26px; font-weight: 800; color: #333; margin: 0px 0 20px; display: flex; align-items: center; }
.section-title::before { content: ''; display: inline-block; width: 6px; height: 26px; background: #0624C4; margin-right: 12px; border-radius: 2px; }
.tags { display: flex; gap: 10px; flex-wrap: wrap; }
.tag { font-size: 11px; background: #eef2f6; padding: 4px 10px; border-radius: 20px; color: #333; font-weight: 600; text-transform: uppercase; }
.tag:hover { background: #333; color: #fff; }

.top-news-grid { display: grid; grid-template-columns: 2fr 1.2fr 1fr; gap: 30px; margin-top: 30px; align-items: start; }
.main-story-card { position: relative; background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.05); height: auto; display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; }
.main-story-img { width: 100%; height: 266px; object-fit: cover; }
.main-story-content { padding: 25px; border-top: 4px solid #333; }
.main-story-content h2 { font-size: 30px; margin-bottom: 12px; line-height: 1.2; color: #333; font-weight: 800; }
.main-story-content p { color: #555; font-size: 17px; margin-bottom: 20px; }
.blitz-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.blitz-item { background: #fff; display: flex; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: 0.3s; }
.blitz-item:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.blitz-img { width: 120px; height: 100px; object-fit: cover; flex-shrink: 0; }
.blitz-info { padding: 15px; display: flex; align-items: center; }
.blitz-info h3 { font-size: 15px; line-height: 1.4; font-weight: 700; color: #333; margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-bottom: 50px; }
.news-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: 0.3s; border-bottom: 3px solid transparent; }
.news-card:hover { border-bottom-color: #0624C4; transform: translateY(-5px); }
.news-card-img { height: 180px; width: 100%; object-fit: cover; }
.news-card-body { padding: 20px; }
.news-card-body h3 { font-size: 18px; margin-bottom: 10px; line-height: 1.4; color: #333; font-weight: 700; }
.news-card-body p { font-size: 15px; color: #666; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.list-wrapper { display: flex; gap: 40px; margin-top: 40px; }
.list-main { flex: 3; }
.list-sidebar { flex: 1; }
.latest-list { background: #fff; padding: 25px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin-bottom: 30px; }
.latest-item { padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.latest-item:last-child { border-bottom: none; }
.latest-item a { font-size: 15px; font-weight: 600; color: #444; display: block; line-height: 1.4; }
.latest-item a:hover { color: #0624C4; }
.list-item { display: flex; gap: 25px; background: #fff; margin-bottom: 25px; padding: 25px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); border: 1px solid #eaeaea; transition: 0.3s; align-items: flex-start; }
.list-item:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.08); transform: translateY(-2px); }
.list-img { width: 260px; height: 170px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.list-content { flex: 1; display: flex; flex-direction: column; justify-content: space-between; min-height: 170px; }
.list-content h2 { font-size: 22px; margin-bottom: 10px; color: #333; line-height: 1.3; font-weight: 700; margin-top: -3px; }
.list-content h2:hover { color: #0624C4; }
.list-content p { color: #555; font-size: 15px; line-height: 1.6; margin-bottom: 15px; }
.list-meta { font-size: 12px; color: #999; text-transform: uppercase; font-weight: 600; display: flex; gap: 15px; align-items: center; margin-top: auto; }
.pagination { margin-top: 60px; display: flex; justify-content: center; gap: 8px; list-style: none !important; padding: 0; }
.pagination ul { display: flex; gap: 8px; padding: 0; margin: 0; list-style: none !important; }
.pagination li { list-style: none !important; margin: 0; padding: 0; display: block; }
.pagination a, .pagination li a, .pagination span.current, .pagination li.thisclass { display: block; padding: 10px 18px; background: #fff; border: 1px solid #ddd; color: #333; font-weight: 600; border-radius: 4px; text-align: center; min-width: 40px; }
.pagination a:hover, .pagination li a:hover { border-color: #333; color: #333; }
.pagination span.current, .pagination li.thisclass { background: #0624c4; color: #fff;}

.live-dashboard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.live-stat-box { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); text-align: center; border-bottom: 3px solid #0624c4; }
.live-stat-box span { display: block; font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 1px; }
.live-stat-box strong { display: block; font-size: 24px; color: #333; font-weight: 800; margin-top: 5px; }
.live-timeline { position: relative; margin-left: 20px; padding-left: 30px; border-left: 2px dashed #d1d9e6; }
.live-item { position: relative; margin-bottom: 35px; }
.live-dot { position: absolute; left: -39px; top: 20px; width: 16px; height: 16px; background: #0624C4; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px #0624C4; }
.live-item:first-child .live-dot { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(208, 24, 34, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(208, 24, 34, 0); } 100% { box-shadow: 0 0 0 0 rgba(208, 24, 34, 0); } }
.live-card { background: #fff; padding: 25px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); border-left: 4px solid #0624c4; transition: 0.3s; }
.live-card:hover { transform: translateX(5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); border-left-color: #0624C4; }
.live-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.live-time { font-size: 14px; font-weight: 700; color: #0624C4; background: rgba(0, 0, 0, 0.04); padding: 2px 8px; border-radius: 4px; }
.live-label { font-size: 11px; font-weight: 600; color: #888; text-transform: uppercase; letter-spacing: 0.5px; }
.live-card h3 { font-size: 18px; margin-bottom: 10px; color: #333; line-height: 1.4; }
.live-card p { font-size: 15px; color: #555; line-height: 1.6; margin-bottom: 15px; }
.live-footer { display: flex; justify-content: space-between; border-top: 1px solid #eee; padding-top: 15px; font-size: 13px; color: #777; }
.live-action { display: flex; align-items: center; gap: 5px; cursor: pointer; transition: 0.3s; }
.live-action:hover { color: #0624C4; }

.article-wrapper { display: flex; gap: 40px; margin-top: 40px; }
.article-main { flex: 3; }
.article-sidebar { flex: 1; }

.article-summary { background: #f1f5f9; border-left: 5px solid #333; padding: 20px; border-radius: 0 8px 8px 0; margin-bottom: 30px; }
.article-summary h4 { margin-bottom: 10px; color: #333; font-weight: 800; text-transform: uppercase; font-size: 14px; }
.article-summary p { margin-bottom: 0; font-style: italic; color: #555; font-size: 16px; }

.share-bar { display: flex; gap: 10px; margin: 20px 0 30px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.share-btn { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #eee; color: #555; transition: 0.3s; }
.share-btn:hover { background: #333; color: #fff; transform: translateY(-3px); }
.share-btn.twitter:hover { background: #000; }
.share-btn.facebook:hover { background: #1877f2; }
.share-btn.linkedin:hover { background: #0077b5; }

.article-header { text-align: left; margin-bottom: 20px; border-bottom: none; padding-bottom: 0; }
.article-breadcrumb { color: #0624C4; font-weight: 700; text-transform: uppercase; font-size: 13px; margin-bottom: 15px; letter-spacing: 0.5px; }
.article-header h1 { font-size: 40px; line-height: 1.25; margin-bottom: 20px; color: #333; font-weight: 800; }
.article-meta { color: #777; font-size: 14px; display: flex; align-items: center; gap: 20px; font-weight: 500; }

.article-content { background: #fff; padding: 40px; border-radius: 8px; font-size: 18px; line-height: 1.8; color: #2a2a2a; box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
.article-content p { margin-bottom: 25px; }
.article-content h2 { color: #333; font-size: 24px; margin: 30px 0 15px; font-weight: 700; }
.article-content h3 { color: #333; font-size: 20px; margin: 25px 0 15px; font-weight: 700; }
.article-content img { margin: 30px auto; border-radius: 6px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); max-width: 100%; height: auto; }
.article-content blockquote { border-left: 4px solid #0624C4; padding-left: 20px; font-style: italic; color: #555; background: #fff8f8; padding: 15px 20px; border-radius: 0 4px 4px 0; margin: 30px 0; }
.article-content ul { list-style: disc; margin-left: 20px; margin-bottom: 25px; }
.article-content li { margin-bottom: 10px; }

.author-box { display: flex; gap: 20px; background: #f9f9f9; padding: 25px; border-radius: 8px; margin-top: 50px; align-items: center; border: 1px solid #eee; }
.author-avatar { width: 80px; height: 80px; border-radius: 50%; background: #ccc; object-fit: cover; }
.author-info h4 { font-size: 18px; color: #333; margin-bottom: 5px; font-weight: 700; }
.author-info p { font-size: 14px; color: #666; line-height: 1.5; margin: 0; }

.article-footer-tags { margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; }
.article-footer-tags span { font-weight: bold; margin-right: 10px; color: #333; }


.footer { 
    background: #041b96;
    color: #e0e6ed;
    padding: 70px 0 30px; 
    margin-top: 80px; 
}

.footer h4 { 
    color: #fff; 
    margin-bottom: 25px; 
    text-transform: uppercase; 
    font-size: 16px; 
    letter-spacing: 1px; 
    border-bottom: 2px solid #1e32a1;
    padding-bottom: 10px; 
    display: inline-block; 
}

.footer ul li a:hover { 
    color: #fff; 
    padding-left: 5px; 
    text-shadow: 0 0 5px rgba(255,255,255,0.3);
}

.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 50px; }
.footer ul li { margin-bottom: 12px; font-size: 14px; }
.footer ul li a { color: #b0c4de; transition: 0.3s; } 

.social-icons { display: flex; gap: 15px; margin-top: 25px; }
.social-icons svg { width: 20px; height: 20px; fill: #fff; background: rgba(255,255,255,0.1); padding: 8px; box-sizing: content-box; border-radius: 50%; transition: 0.3s; }
.social-icons svg:hover { background: #0624C4; transform: translateY(-3px); }

.copyright { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; text-align: center; font-size: 13px; color: #889bb0; }

@media (max-width: 1200px) {
    .container { padding: 0 15px; }
    .top-news-grid { grid-template-columns: 1fr 1fr; }
    .latest-news { grid-column: 1 / -1; margin-top: 30px; }
}
@media (max-width: 992px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .top-news-grid, .list-wrapper, .article-wrapper, .footer-grid { grid-template-columns: 1fr; display: block; }
    .main-story-card, .blitz-grid, .latest-list, .list-sidebar, .article-sidebar { margin-bottom: 30px; }
    .list-item { flex-direction: column; }
    .list-img { width: 100%; height: 250px; }
    .header-inner { flex-direction: column; gap: 20px; }
    .nav ul { gap: 15px; flex-wrap: wrap; justify-content: center; }
    .live-dashboard { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {

    .pagination { margin-top: 30px; }
    .pagination ul { flex-wrap: wrap; justify-content: center; gap: 5px; }
    .pagination a, 
    .pagination li a, 
    .pagination span.current, 
    .pagination li.thisclass { 
        padding: 6px 12px; 
        font-size: 13px;  
        min-width: 32px; 
        margin-bottom: 5px; 
    }
}
@media (max-width: 600px) {
    .feature-grid { grid-template-columns: 1fr; }
    .article-header h1 { font-size: 28px; }
    .article-content { padding: 20px; }
}
