* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
font-size: 16px;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
line-height: 1.6;
color: #333;
background: #f5f5f5;
overflow-x: hidden;
font-size: 1rem;
}
img {
max-width: 100%;
height: auto;
display: block;
}
a {
text-decoration: none;
color: inherit;
transition: all 0.3s ease;
}
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
} h1, h2, h3, h4, h5, h6 {
font-weight: 700;
line-height: 1.3;
color: #2c3e50;
margin-bottom: 1rem;
}
h1 {
font-size: 2.5rem;
margin-bottom: 1.5rem;
}
h2 {
font-size: 2rem;
margin-bottom: 1.25rem;
}
h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
}
h4 {
font-size: 1.25rem;
margin-bottom: 0.875rem;
}
p {
margin-bottom: 1.5rem;
line-height: 1.7;
} h1 + p,
h2 + p,
h3 + p,
h4 + p {
margin-top: -0.5rem;
} .site-header {
background: #fff;
border-bottom: 1px solid #e0e0e0;
padding: 15px 0;
position: sticky;
top: 0;
z-index: 1000;
}
.header-container {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 25px;
}
.site-branding {
flex: 0 0 auto;
}
.site-title {
font-size: 28px;
font-weight: bold;
color: #e74c3c;
margin: 0;
line-height: 1.2;
}
.site-title a:hover {
color: #c0392b;
} .main-navigation {
flex: 1;
min-width: 0;
}
.main-navigation ul {
display: flex;
flex-wrap: wrap;
list-style: none;
gap: 8px;
margin: 0;
padding: 0;
justify-content: center;
}
.main-navigation li {
flex: 0 0 auto;
}
.main-navigation a {
display: block;
padding: 10px 18px;
font-size: 14px;
font-weight: 500;
color: #333;
border-radius: 3px;
white-space: nowrap;
text-transform: uppercase;
letter-spacing: 0.5px;
line-height: 1.4;
}
.main-navigation a:hover {
background: #e74c3c;
color: #fff;
} .category-nav {
background: #2c3e50;
padding: 15px 0;
margin-bottom: 30px;
}
.category-menu {
display: flex;
flex-wrap: wrap;
gap: 12px;
list-style: none;
margin: 0;
padding: 0;
}
.category-menu li {
flex: 0 0 auto;
}
.category-menu a {
display: block;
padding: 8px 18px;
background: rgba(255,255,255,0.1);
color: #fff;
border-radius: 20px;
font-size: 13px;
font-weight: 500;
text-transform: uppercase;
line-height: 1.4;
}
.category-menu a:hover,
.category-menu a.active {
background: #e74c3c;
} .homepage-sections {
display: grid;
grid-template-columns: 1fr;
gap: 40px;
margin: 40px 0;
}
.homepage-section {
margin-bottom: 40px;
}
.section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 25px;
padding-bottom: 15px;
border-bottom: 2px solid #e74c3c;
}
.section-title {
font-size: 24px;
font-weight: bold;
color: #2c3e50;
margin: 0;
padding: 0;
}
.view-all {
font-size: 14px;
color: #e74c3c;
font-weight: 500;
padding: 5px 0;
}
.view-all:hover {
text-decoration: underline;
} .section-content {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 25px;
} .section-featured .section-content {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 25px;
}
.featured-main {
position: relative;
border-radius: 8px;
overflow: hidden;
}
.featured-main img {
width: 100%;
height: 380px;
object-fit: cover;
}
.featured-main .post-info {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(transparent, rgba(0,0,0,0.8));
padding: 25px;
color: #fff;
}
.featured-main .post-category {
display: inline-block;
background: #e74c3c;
color: #fff;
padding: 5px 12px;
border-radius: 4px;
font-size: 12px;
margin-bottom: 12px;
text-transform: uppercase;
line-height: 1.3;
}
.featured-main .post-title {
font-size: 22px;
font-weight: bold;
margin: 0;
line-height: 1.3;
padding: 5px 0;
}
.featured-main .post-title a:hover {
color: #e74c3c;
}
.featured-side {
display: flex;
flex-direction: column;
gap: 20px;
}
.featured-side-item {
display: flex;
gap: 18px;
padding-bottom: 20px;
border-bottom: 1px solid #eee;
}
.featured-side-item:last-child {
border-bottom: none;
padding-bottom: 0;
}
.featured-side-item img {
width: 110px;
height: 80px;
object-fit: cover;
border-radius: 5px;
}
.featured-side-content {
flex: 1;
padding: 5px 0;
}
.featured-side-content .post-category {
font-size: 11px;
color: #e74c3c;
text-transform: uppercase;
font-weight: bold;
margin-bottom: 8px;
display: block;
}
.featured-side-content .post-title {
font-size: 15px;
font-weight: 600;
line-height: 1.4;
margin: 0;
padding: 3px 0;
} .post-card {
background: #fff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post-card:hover {
transform: translateY(-8px);
box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.post-card img {
width: 100%;
height: 200px;
object-fit: cover;
}
.post-card-content {
padding: 20px;
}
.post-card .post-category {
display: inline-block;
color: #e74c3c;
font-size: 11px;
font-weight: bold;
text-transform: uppercase;
margin-bottom: 10px;
line-height: 1.3;
}
.post-card .post-title {
font-size: 17px;
font-weight: 600;
line-height: 1.4;
margin: 0;
padding: 5px 0;
} .sidebar-area {
margin-top: 50px;
padding-top: 50px;
border-top: 2px solid #e74c3c;
}
.sidebar-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 35px;
}
.widget {
background: #fff;
padding: 25px;
border-radius: 8px;
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.widget-title {
font-size: 20px;
font-weight: bold;
color: #2c3e50;
margin-bottom: 20px;
padding-bottom: 12px;
border-bottom: 2px solid #e74c3c;
}
.widget ul {
list-style: none;
margin: 0;
padding: 0;
}
.widget li {
padding: 10px 0;
border-bottom: 1px solid #eee;
line-height: 1.5;
}
.widget li:last-child {
border-bottom: none;
}
.widget a {
color: #333;
display: block;
padding: 3px 0;
}
.widget a:hover {
color: #e74c3c;
padding-left: 5px;
} .entry-header {
margin-bottom: 30px;
}
.entry-title {
font-size: 32px;
font-weight: bold;
color: #2c3e50;
margin-bottom: 15px;
line-height: 1.3;
padding-top: 10px;
}
.entry-meta {
display: flex;
gap: 20px;
color: #666;
font-size: 14px;
margin-bottom: 20px;
padding: 10px 0;
}
.entry-content {
font-size: 18px;
line-height: 1.7;
color: #444;
}
.entry-content p {
margin-bottom: 25px;
}
.entry-content h2 {
font-size: 28px;
margin-top: 40px;
margin-bottom: 20px;
padding-top: 10px;
}
.entry-content h3 {
font-size: 24px;
margin-top: 35px;
margin-bottom: 18px;
padding-top: 8px;
}
.entry-content img {
margin: 25px 0;
border-radius: 8px;
} .site-footer {
background: #2c3e50;
color: #fff;
padding: 50px 0 25px;
margin-top: 60px;
}
.footer-widgets {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 35px;
margin-bottom: 40px;
}
.footer-widget {
padding: 10px 0;
}
.footer-widget h3 {
color: #fff;
font-size: 20px;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 2px solid #e74c3c;
}
.footer-widget p {
color: #ccc;
line-height: 1.7;
margin-bottom: 15px;
}
.footer-widget ul {
list-style: none;
margin: 0;
padding: 0;
}
.footer-widget li {
padding: 8px 0;
border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-widget a {
color: #ccc;
padding: 3px 0;
display: block;
}
.footer-widget a:hover {
color: #fff;
padding-left: 8px;
}
.footer-bottom {
text-align: center;
padding-top: 25px;
border-top: 1px solid rgba(255,255,255,0.1);
font-size: 14px;
color: #ccc;
line-height: 1.6;
}
.footer-bottom p {
margin-bottom: 15px;
}  @media (max-width: 992px) {
html {
font-size: 15px;
}
.header-container {
flex-direction: column;
gap: 20px;
}
.main-navigation ul {
justify-content: center;
gap: 5px;
}
.main-navigation a {
padding: 8px 12px;
font-size: 13px;
}
.section-featured .section-content {
grid-template-columns: 1fr;
}
.featured-main img {
height: 320px;
}
.sidebar-content {
grid-template-columns: 1fr;
}
.entry-title {
font-size: 28px;
}
} @media (max-width: 768px) {
html {
font-size: 14px;
}
.container {
padding: 0 15px;
}
.main-navigation ul {
justify-content: flex-start;
overflow-x: auto;
padding-bottom: 10px;
-webkit-overflow-scrolling: touch;
}
.main-navigation a {
padding: 8px 14px;
font-size: 12px;
}
.category-menu {
overflow-x: auto;
padding-bottom: 10px;
-webkit-overflow-scrolling: touch;
}
.section-content {
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 20px;
}
.featured-main img {
height: 280px;
}
.featured-side-item img {
width: 90px;
height: 70px;
}
.post-card img {
height: 180px;
}
.entry-title {
font-size: 24px;
}
.entry-content {
font-size: 16px;
}
} @media (max-width: 480px) {
.site-title {
font-size: 24px;
}
.main-navigation a {
padding: 6px 10px;
font-size: 11px;
}
.section-content {
grid-template-columns: 1fr;
}
.featured-main img {
height: 240px;
}
.featured-side {
gap: 15px;
}
.featured-side-item {
flex-direction: column;
gap: 12px;
}
.featured-side-item img {
width: 100%;
height: 140px;
}
.post-card img {
height: 220px;
}
.entry-title {
font-size: 22px;
}
} .text-center { text-align: center; }
.text-right { text-align: right; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.pt-10 { padding-top: 10px; }
.pt-20 { padding-top: 20px; }
.pt-30 { padding-top: 30px; }
.pt-40 { padding-top: 40px; }
.pb-10 { padding-bottom: 10px; }
.pb-20 { padding-bottom: 20px; }
.pb-30 { padding-bottom: 30px; }
.pb-40 { padding-bottom: 40px; }
.p-20 { padding: 20px; }
.p-30 { padding: 30px; } .hidden {
display: none !important;
} .loading {
opacity: 0.6;
pointer-events: none;
} .clearfix::after {
content: "";
display: table;
clear: both;
}.homepage-section {
padding: 20px 0;
}
.section-featured {
padding-top: 0;
} .post-card-content {
padding-top: 15px;
padding-bottom: 15px;
} .featured-side-content .post-title {
margin-top: 5px;
} .widget {
margin-bottom: 20px;
}
.widget:last-child {
margin-bottom: 0;
} .footer-widget h3 {
margin-top: 10px;
} .view-all {
margin-top: 5px;
} .entry-meta span {
margin-right: 15px;
}
.entry-meta span:last-child {
margin-right: 0;
} .post-category {
margin-right: 5px;
margin-bottom: 8px;
}
.post-category:last-child {
margin-right: 0;
} .entry-content img.alignleft {
margin-right: 20px;
margin-bottom: 20px;
}
.entry-content img.alignright {
margin-left: 20px;
margin-bottom: 20px;
} .entry-content ul,
.entry-content ol {
margin-bottom: 25px;
padding-left: 30px;
}
.entry-content li {
margin-bottom: 10px;
} .entry-content blockquote {
margin: 30px 0;
padding: 20px 30px;
border-left: 4px solid #e74c3c;
background: #f9f9f9;
font-style: italic;
} .entry-content table {
margin: 25px 0;
width: 100%;
border-collapse: collapse;
}
.entry-content table th,
.entry-content table td {
padding: 12px 15px;
border: 1px solid #ddd;
} .entry-content input,
.entry-content textarea,
.entry-content select {
margin-bottom: 15px;
padding: 10px 15px;
}