:root {
--primary-color: #6366f1;
--secondary-color: #8b5cf6;
--accent-color: #ec4899;
--text-color: #1f2937;
--text-light: #6b7280;
--border-color: #e5e7eb;
--bg-light: #f9fafb;
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}  ::-webkit-scrollbar {
width: 12px;
}
::-webkit-scrollbar-track {
background: #f5f5f5;
}
::-webkit-scrollbar-thumb {
background: #c0c0c0;
border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
background: #999;
} html {
scrollbar-color: #c0c0c0 #f5f5f5;
scrollbar-width: thin;
} * {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
font-size: 16px;
line-height: 1.6;
color: var(--text-color);
background: #fff;
font-weight: 400;
} .navbar {
box-shadow: var(--shadow-md);
padding: 0.75rem 0;
background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
border-bottom: 2px solid #f0f0f0;
} .advertisement-section {
padding: 0;
background: transparent;
margin: 0;
}
.advertisement-link {
display: block;
text-decoration: none;
cursor: pointer;
}
.advertisement-image {
width: 100%;
height: auto;
border-radius: 12px;
box-shadow: var(--shadow-lg);
display: block;
transition: all 0.3s ease;
border: 3px solid transparent;
}
.advertisement-link:hover .advertisement-image {
transform: scale(1.01);
box-shadow: var(--shadow-xl);
border-color: var(--primary-color);
}
.navbar-brand {
font-weight: 800;
font-size: 1.75rem;
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
letter-spacing: -0.5px;
}
.navbar-nav {
align-items: center;
}
.navbar-nav .nav-link {
padding: 0.75rem 1.25rem;
font-size: 0.95rem;
font-weight: 500;
white-space: nowrap;
color: var(--text-light) !important;
transition: all 0.3s ease;
position: relative;
}
.navbar-nav .nav-link::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
width: 0;
height: 2px;
background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
transition: all 0.3s ease;
transform: translateX(-50%);
}
.navbar-nav .nav-link:hover {
color: var(--primary-color) !important;
}
.navbar-nav .nav-link:hover::after {
width: 80%;
}
.navbar-nav .nav-item {
margin: 0;
}
@media (max-width: 991px) {
.navbar-nav .nav-link {
padding: 0.5rem 0;
}
} .main-content {
min-height: calc(100vh - 200px);
padding: 2rem 0;
} .post-card {
border: 1px solid var(--border-color);
border-radius: 12px;
overflow: hidden;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
margin-bottom: 2rem;
background: #fff;
box-shadow: var(--shadow-sm);
position: relative;
}
.post-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
opacity: 0;
transition: opacity 0.3s ease;
}
.post-card:hover {
transform: translateY(-8px);
box-shadow: var(--shadow-xl);
border-color: var(--primary-color);
}
.post-card:hover::before {
opacity: 1;
}
.post-thumbnail {
width: 100%;
height: 250px;
object-fit: cover;
display: block;
transition: transform 0.3s ease, filter 0.3s ease;
}
.post-card:hover .post-thumbnail {
transform: scale(1.05);
filter: brightness(1.1);
}
.post-thumbnail-placeholder {
width: 100%;
height: 250px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 3rem;
transition: transform 0.3s ease;
}
.post-card:hover .post-thumbnail-placeholder {
transform: scale(1.05);
}
.post-card-body {
padding: 1.5rem;
}
.post-title {
font-size: 1.5rem;
font-weight: 800;
margin-bottom: 0.75rem;
line-height: 1.3;
letter-spacing: -0.5px;
}
.post-title a {
color: var(--text-color);
text-decoration: none;
transition: all 0.3s ease;
}
.post-title a:hover {
color: var(--primary-color);
text-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}
.post-meta {
font-size: 0.85rem;
color: var(--text-light);
margin-bottom: 1rem;
display: flex;
gap: 1.5rem;
flex-wrap: wrap;
}
.post-meta span {
display: flex;
align-items: center;
gap: 0.5rem;
}
.post-excerpt {
color: #495057;
margin-bottom: 1rem;
line-height: 1.6;
}
.read-more {
display: inline-block;
padding: 0.65rem 1.5rem;
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
color: #fff;
text-decoration: none;
border-radius: 6px;
transition: all 0.3s ease;
font-size: 0.9rem;
font-weight: 600;
box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}
.read-more:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
color: #fff;
} .category-badge {
display: inline-block;
padding: 0.35rem 0.85rem;
background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
color: var(--primary-color);
text-decoration: none;
border-radius: 20px;
font-size: 0.8rem;
margin-bottom: 0.75rem;
transition: all 0.3s ease;
font-weight: 600;
border: 1px solid rgba(99, 102, 241, 0.3);
}
.category-badge:hover {
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
color: #fff;
border-color: transparent;
transform: scale(1.05);
} .category-section {
margin-bottom: 4rem;
}
.category-title {
font-size: 2.2rem;
font-weight: 800;
margin-bottom: 2rem;
padding-bottom: 1rem;
border-bottom: 3px solid;
border-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color)) 1;
letter-spacing: -1px;
}
.category-title a {
color: inherit;
text-decoration: none;
transition: all 0.3s ease;
} .single-post {
max-width: 100%;
margin: 0;
}
.single-post-header {
margin-bottom: 2.5rem;
padding-bottom: 2rem;
border-bottom: 2px solid var(--border-color);
}
.single-post-title {
font-size: 2.8rem;
font-weight: 800;
margin-bottom: 1.25rem;
line-height: 1.2;
letter-spacing: -1px;
color: var(--text-color);
}
.single-post-featured-image {
width: 100%;
height: auto;
border-radius: 12px;
margin-bottom: 2.5rem;
box-shadow: var(--shadow-lg);
border: 1px solid var(--border-color);
transition: transform 0.3s ease;
}
.single-post-featured-image:hover {
transform: scale(1.01);
}
.single-post-content {
font-size: 1.1rem;
line-height: 1.85;
color: var(--text-color);
}
.single-post-content p {
margin-bottom: 1.5rem;
color: var(--text-light);
}
.single-post-content img {
max-width: 100%;
height: auto;
border-radius: 12px;
margin: 2rem 0;
box-shadow: var(--shadow-lg);
border: 1px solid var(--border-color);
}
.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
margin-top: 2.5rem;
margin-bottom: 1.25rem;
font-weight: 800;
letter-spacing: -0.5px;
color: var(--text-color);
} .pagination {
margin: 4rem 0;
gap: 0.5rem;
}
.page-link {
color: var(--primary-color);
border-color: var(--border-color);
border-radius: 6px;
transition: all 0.3s ease;
font-weight: 500;
padding: 0.6rem 0.9rem;
}
.page-link:hover {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
color: #fff;
border-color: transparent;
transform: translateY(-2px);
}
.page-item.active .page-link {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
border-color: transparent;
box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
} .site-footer {
background: linear-gradient(135deg, #3d2b7e 0%, #4c3ba8 50%, #5a4fb8 100%);
color: #f0f4f8;
padding: 4rem 0 1.5rem;
margin-top: 6rem;
border-top: none;
box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1);
}
.footer-title {
font-size: 1.1rem;
font-weight: 700;
color: #fff;
margin-bottom: 1.5rem;
letter-spacing: 0;
text-transform: none;
}
.footer-links {
list-style: none;
padding: 0;
margin: 0;
}
.footer-links li {
margin-bottom: 0.85rem;
}
.footer-links a {
color: #d5dce4;
text-decoration: none;
transition: all 0.3s ease;
font-size: 0.95rem;
font-weight: 400;
}
.footer-links a:hover {
color: #fff;
padding-left: 0.4rem;
}
.footer-contact {
list-style: none;
padding: 0;
margin: 0;
}
.footer-contact li {
margin-bottom: 1.2rem;
display: flex;
gap: 0.9rem;
align-items: flex-start;
}
.footer-icon {
font-size: 1.2rem;
min-width: 1.5rem;
color: #ffd700;
font-weight: 600;
}
.footer-contact a {
color: #d5dce4;
text-decoration: none;
transition: all 0.3s ease;
font-size: 0.95rem;
font-weight: 400;
}
.footer-contact a:hover {
color: #fff;
}
.footer-address {
color: #d5dce4;
font-size: 0.95rem;
line-height: 1.7;
font-weight: 400;
}
.footer-social {
display: flex;
gap: 0.9rem;
}
.footer-social a {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.2);
color: #f0f4f8;
border-radius: 50%;
transition: all 0.3s ease;
border: 1px solid rgba(255, 255, 255, 0.3);
font-size: 0.95rem;
}
.footer-social a:hover {
background: rgba(255, 255, 255, 0.35);
color: #fff;
border-color: rgba(255, 255, 255, 0.5);
transform: translateY(-2px);
}
.x-logo {
font-weight: 800;
font-size: 1.1rem;
letter-spacing: 0.5px;
}
.footer-divider {
border-color: rgba(255, 255, 255, 0.2);
margin: 2.5rem 0 1.5rem;
}
.footer-copyright {
text-align: center;
color: #c9cfd7;
font-size: 0.9rem;
margin: 0;
font-weight: 400;
} @media (max-width: 768px) {
.single-post-title {
font-size: 2rem;
}
.category-title {
font-size: 1.5rem;
}
.post-title {
font-size: 1.25rem;
}
.post-thumbnail,
.post-thumbnail-placeholder {
height: 200px;
}
} img {
max-width: 100%;
height: auto;
}
a {
text-decoration: none;
} .sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0,0,0,0);
white-space: nowrap;
border-width: 0;
}