:root {
--primary-red: #e62b34;
--primary-red-hover: #cc252d;
--dark-bg: #333333;
--darker-bg: #2a2a2a;
--text-dark: #333333;
--text-body: #444444;
--text-gray: #555555;
--text-light: #888888;
--text-muted: #999999;
--border-color: #e8e8e8;
--border-light: #f0f0f0;
--bg-light: #f8f8f8;
--white: #ffffff;
--black: #333333;
--font-main: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
--shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
--shadow-md: 0 4px 12px rgba(0,0,0,0.1);
--shadow-lg: 0 8px 25px rgba(0,0,0,0.12);
--transition: 0.2s ease;
} *, *::before, *::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-size: 16px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
font-family: var(--font-main);
font-size: 15px;
line-height: 1.6;
color: var(--text-body);
background-color: var(--white);
font-weight: 400;
}
a {
text-decoration: none;
color: inherit;
transition: color var(--transition);
}
a:hover {
color: var(--primary-red);
}
ul, ol {
list-style: none;
}
img {
max-width: 100%;
height: auto;
display: block;
}
button {
font-family: inherit;
cursor: pointer;
} h1, h2, h3, h4, h5, h6 {
font-weight: 700;
line-height: 1.35;
color: var(--text-dark);
} .container {
max-width: 1280px;
margin: 0 auto;
padding: 0 15px;
} .site-header {
background: var(--white);
position: sticky;
top: 0;
z-index: 1000;
box-shadow: var(--shadow-sm);
}
.header-container {
max-width: 1280px;
margin: 0 auto;
padding: 12px 15px;
display: flex;
justify-content: space-between;
align-items: center;
} .logo a {
display: block;
}
.logo img {
height: 60px;
width: auto;
} .header-right {
display: flex;
align-items: center;
gap: 15px;
} .google-source-btn a {
display: flex;
align-items: center;
background: var(--white);
color: var(--text-dark);
padding: 8px 16px;
border-radius: 8px;
gap: 12px;
border: 1px solid #dadce0;
box-shadow: 0 1px 3px rgba(0,0,0,0.08);
transition: all var(--transition);
}
.google-source-btn a:hover {
background: #f8f9fa;
box-shadow: 0 2px 6px rgba(0,0,0,0.12);
color: var(--text-dark);
}
.gs-icon {
display: flex;
align-items: center;
justify-content: center;
}
.gs-icon svg {
width: 28px;
height: 28px;
}
.gs-text {
font-size: 13px;
font-weight: 500;
line-height: 1.35;
color: var(--text-dark);
} .main-nav {
background: var(--dark-bg);
position: relative;
}
.nav-container {
max-width: 1280px;
margin: 0 auto;
padding: 0 15px;
display: flex;
justify-content: space-between;
align-items: center;
}
.nav-menu {
display: flex;
align-items: center;
}
.nav-menu > li {
position: relative;
}
.nav-menu > li > a {
display: flex;
align-items: center;
gap: 5px;
color: var(--white);
padding: 13px 18px;
font-size: 14px;
font-weight: 700;
letter-spacing: 0.2px;
transition: background var(--transition);
}
.nav-menu > li > a:hover,
.nav-menu > li:hover > a {
background: rgba(255, 255, 255, 0.08);
color: var(--white);
}
.nav-menu > li > a i.fa-chevron-down {
font-size: 9px;
opacity: 0.7;
} .dropdown {
position: absolute;
top: 100%;
left: 0;
background: var(--white);
min-width: 200px;
box-shadow: var(--shadow-lg);
opacity: 0;
visibility: hidden;
transform: translateY(8px);
transition: all 0.25s ease;
z-index: 1000;
border-top: 3px solid var(--primary-red);
}
.has-dropdown:hover .dropdown {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.dropdown li a {
display: block;
padding: 10px 18px;
color: var(--text-dark);
font-size: 15px;
font-weight: 700;
border-bottom: 1px solid var(--border-light);
transition: all var(--transition);
}
.dropdown li:last-child a {
border-bottom: none;
}
.dropdown li a:hover {
background: var(--primary-red);
color: var(--white);
padding-left: 22px;
} .nav-search {
padding: 0 10px;
}
.search-btn {
background: none;
border: none;
color: var(--white);
font-size: 15px;
padding: 13px 5px;
transition: color var(--transition);
}
.search-btn:hover {
color: var(--primary-red);
} .menu-toggle {
display: none;
background: none;
border: none;
color: var(--white);
font-size: 22px;
padding: 10px;
cursor: pointer;
margin-right: 10px;
}
.menu-toggle i {
display: block;
} .site-main {
min-height: 60vh;
} .site-footer {
background: var(--dark-bg);
color: #cccccc;
margin-top: 25px;
} .footer-top {
background: var(--darker-bg);
padding: 12px 0;
border-bottom: 1px solid #2a2a2a;
}
.footer-trending {
display: flex;
align-items: center;
gap: 15px;
flex-wrap: wrap;
}
.footer-trending-label {
background: var(--primary-red);
color: var(--white);
font-size: 10px;
font-weight: 700;
padding: 4px 10px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.footer-trending-links {
display: flex;
gap: 18px;
flex-wrap: wrap;
}
.footer-trending-links a {
color: #aaaaaa;
font-size: 12px;
transition: color var(--transition);
}
.footer-trending-links a:hover {
color: var(--primary-red);
} .footer-main {
padding: 35px 0 25px;
}
.footer-container {
max-width: 1280px;
margin: 0 auto;
padding: 0 15px;
}
.footer-grid {
display: grid;
grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
gap: 25px;
} .footer-about {
padding-right: 15px;
}
.footer-logo {
margin-bottom: 15px;
}
.footer-logo img {
height: 40px;
width: auto;
}
.footer-desc {
font-size: 12.5px;
line-height: 1.7;
color: #999999;
margin-bottom: 18px;
}
.footer-social {
display: flex;
gap: 8px;
}
.social-icon {
width: 34px;
height: 34px;
background: #2a2a2a;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
color: #cccccc;
font-size: 14px;
transition: all var(--transition);
}
.social-icon:hover {
background: var(--primary-red);
color: var(--white);
transform: translateY(-2px);
} .footer-links h4 {
font-size: 13px;
font-weight: 700;
color: var(--white);
margin-bottom: 12px;
padding-bottom: 8px;
position: relative;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.footer-links h4::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 25px;
height: 2px;
background: var(--primary-red);
}
.footer-links ul li {
margin-bottom: 6px;
}
.footer-links ul li a {
color: #999999;
font-size: 12.5px;
display: inline-flex;
align-items: center;
gap: 6px;
transition: all var(--transition);
}
.footer-links ul li a i {
font-size: 8px;
color: var(--primary-red);
}
.footer-links ul li a:hover {
color: var(--white);
padding-left: 4px;
} .footer-bottom {
background: var(--darker-bg);
padding: 12px 0;
border-top: 1px solid #2a2a2a;
}
.footer-bottom-content {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 12px;
}
.footer-copyright {
font-size: 12px;
color: #777777;
}
.footer-bottom-links {
display: flex;
gap: 18px;
}
.footer-bottom-links a {
font-size: 11px;
color: #777777;
transition: color var(--transition);
}
.footer-bottom-links a:hover {
color: var(--primary-red);
} .category-tag {
display: inline-block;
background: var(--primary-red);
color: var(--white);
font-size: 9px;
font-weight: 700;
padding: 3px 7px;
text-transform: uppercase;
letter-spacing: 0.4px;
line-height: 1.2;
}
.section-title {
font-size: 16px;
font-weight: 800;
color: var(--text-dark);
margin-bottom: 15px;
padding-bottom: 8px;
border-bottom: 3px solid var(--primary-red);
display: inline-block;
text-transform: uppercase;
letter-spacing: 0.3px;
}
.article-meta {
font-size: 11px;
color: var(--text-muted);
}
.article-meta .author {
color: var(--text-gray);
font-weight: 500;
} .line-clamp-2 {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.line-clamp-3 {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
} .img-hover {
overflow: hidden;
}
.img-hover img {
transition: transform 0.3s ease;
}
.img-hover:hover img {
transform: scale(1.05);
} @media (max-width: 1024px) {
.footer-grid {
grid-template-columns: 1fr 1fr 1fr;
}
.footer-about {
grid-column: span 3;
padding-right: 0;
text-align: center;
margin-bottom: 10px;
}
.footer-logo {
justify-content: center;
display: flex;
}
.footer-social {
justify-content: center;
}
.footer-desc {
max-width: 600px;
margin-left: auto;
margin-right: auto;
}
}
@media (max-width: 768px) {
.header-container {
padding: 10px 15px;
}
.logo img {
height: 38px;
} .menu-toggle {
display: flex;
align-items: center;
justify-content: center;
} .nav-menu {
display: none;
position: absolute;
top: 100%;
left: 0;
right: 0;
background: var(--dark-bg);
flex-direction: column;
padding: 10px 0;
box-shadow: 0 4px 6px rgba(0,0,0,0.2);
z-index: 999;
}
.nav-menu.active {
display: flex;
}
.nav-menu > li {
width: 100%;
}
.nav-menu > li > a {
padding: 12px 20px;
border-bottom: 1px solid #333;
justify-content: space-between;
} .dropdown {
position: static;
box-shadow: none;
border-top: none;
background: #3a3a3a; display: none;
opacity: 1;
visibility: visible;
transform: none;
min-width: 100%;
}
.has-dropdown.active .dropdown {
display: block;
} .dropdown li a {
padding: 12px 20px 12px 35px;
color: #e0e0e0; border-bottom: 1px solid #4a4a4a; font-size: 14px;
}
.dropdown li a:hover {
background: var(--primary-red);
color: var(--white);
padding-left: 40px;
}
.dropdown li:last-child a {
border-bottom: none;
} .footer-grid {
grid-template-columns: 1fr 1fr;
gap: 20px;
}
.footer-about {
grid-column: span 2;
} .footer-links {
text-align: left;
}
.footer-links h4::after {
left: 0;
transform: none;
}
.footer-links ul li a {
justify-content: flex-start;
}
.footer-bottom-content {
flex-direction: column;
text-align: center;
}
.footer-trending {
flex-direction: column;
text-align: center;
}
.gn-text {
display: none;
}
.google-news-btn a {
padding: 8px;
}
.gn-icon {
width: 32px;
height: 32px;
}
.gs-text {
display: none;
}
.google-source-btn a {
padding: 8px 12px;
}
}
@media (max-width: 576px) { .footer-grid {
grid-template-columns: 1fr 1fr;
gap: 15px;
}
.footer-about {
grid-column: span 2;
text-align: center;
} .footer-links {
text-align: left;
}
.footer-links h4 {
font-size: 12px;
}
.footer-links h4::after {
left: 0;
transform: none;
}
.footer-links ul li a {
justify-content: flex-start;
font-size: 11px;
}
} .search-modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.9);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}
.search-modal.active {
opacity: 1;
visibility: visible;
}
.search-modal-content {
width: 90%;
max-width: 600px;
position: relative;
}
.search-form {
display: flex;
background: #fff;
border-radius: 4px;
overflow: hidden;
}
.search-form input {
flex: 1;
padding: 20px;
font-size: 18px;
border: none;
outline: none;
}
.search-form button {
padding: 20px 30px;
background: #e62b34;
color: #fff;
border: none;
font-size: 18px;
cursor: pointer;
}
.close-search {
position: absolute;
top: -50px;
right: 0;
background: none;
border: none;
color: #fff;
font-size: 40px;
cursor: pointer;
} .screen-reader-text {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
word-wrap: normal !important;
}
.screen-reader-text:focus {
background-color: #f1f1f1;
border-radius: 3px;
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
clip: auto !important;
clip-path: none;
color: #21759b;
display: block;
font-size: 14px;
font-weight: bold;
height: auto;
left: 5px;
line-height: normal;
padding: 15px 23px 14px;
text-decoration: none;
top: 5px;
width: auto;
z-index: 100000;
}