@media (min-width: 1200px) {
.container {
max-width: 1140px;
}
.hero-content h1 {
font-size: 4rem;
}
.posts-grid {
grid-template-columns: repeat(3, 1fr);
}
} @media (max-width: 1199px) and (min-width: 768px) {
.container {
max-width: 960px;
padding: 0 15px;
}
.hero-content h1 {
font-size: 3rem;
}
.hero-content p {
font-size: 1.1rem;
}
.posts-grid {
grid-template-columns: repeat(2, 1fr);
gap: 1.5rem;
}
.footer-content {
grid-template-columns: repeat(2, 1fr);
} .site-title {
font-size: 1.8rem;
}
.site-description {
font-size: 0.9rem;
}
.main-navigation {
margin: 0 0.5rem;
}
.main-navigation ul {
gap: 1rem;
padding: 0 1rem;
}
.main-navigation a {
padding: 0.4rem 0.8rem;
font-size: 0.9rem;
}
} @media (max-width: 768px) {
.container {
padding: 0 15px;
} .hero-content h1 {
font-size: 2.5rem;
}
.hero-content p {
font-size: 1rem;
} .posts-grid {
grid-template-columns: 1fr;
gap: 1.5rem;
}
.post-card {
margin-bottom: 1.5rem;
} h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; } .footer-content {
grid-template-columns: 1fr;
text-align: center;
gap: 1.5rem;
}
.footer-bottom-content {
flex-direction: column;
text-align: center;
gap: 1rem;
}
.newsletter-form {
flex-direction: column;
}
.social-links {
justify-content: center;
}
} @media (max-width: 480px) {
.container {
padding: 0 10px;
}
.hero-content h1 {
font-size: 2rem;
}
.hero-content p {
font-size: 0.9rem;
}
.cta-button {
padding: 0.8rem 1.5rem;
font-size: 1rem;
}
.post-content {
padding: 1rem;
}
.post-title {
font-size: 1.1rem;
}
.site-content {
padding: 1rem 0;
}
.back-to-top {
bottom: 20px;
right: 20px;
width: 40px;
height: 40px;
font-size: 1rem;
} h1 { font-size: 1.8rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }
} @media (orientation: landscape) and (max-height: 500px) {
.hero-section {
padding: 2rem 0;
}
.hero-content h1 {
font-size: 2rem;
}
.hero-content p {
font-size: 0.9rem;
margin-bottom: 1rem;
}
} @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
.post-thumbnail img {
image-rendering: -webkit-optimize-contrast;
image-rendering: crisp-edges;
}
} @media (min-width: 769px) and (max-width: 1024px) { .header-content {
gap: 0.5rem;
}
.site-branding {
gap: 0.5rem;
}
.main-navigation {
margin: 0 0.5rem;
}
.main-navigation ul {
gap: 1rem;
padding: 0 1rem;
}
.main-navigation a {
padding: 0.4rem 0.8rem;
font-size: 0.9rem;
} .site-content {
padding: 1.5rem 0;
}
.hero-section {
padding: 3rem 0;
margin-bottom: 2rem;
} .site-footer {
padding: 2rem 0 1rem;
}
.footer-content {
gap: 1.5rem;
}
} @media print {
.site-header,
.site-footer,
.back-to-top,
.mobile-menu-toggle {
display: none !important;
}
.site-content {
padding: 0;
}
.container {
max-width: none;
padding: 0;
}
body {
font-size: 12pt;
line-height: 1.4;
color: #000;
background: #fff;
}
a {
color: #000;
text-decoration: underline;
}
.post-card {
break-inside: avoid;
margin-bottom: 2rem;
}
}