body {
font-family: 'Open Sans', Arial, sans-serif;
background: #f8f9fa;
margin: 0;
padding: 0;
}
a {
color: #222;
text-decoration: none;
}
a:hover {
color: #1e90ff;
}
h1 {color: #222; font-weight:bold; }
.site-header {
text-align: center;
padding: 20px;
background-color: #ffffff;
border-bottom: 1px solid #ddd;
}
.logo {
font-size: 2em;
font-weight: bold;
}
.datetime {
font-size: 0.9em;
color: #666;
}
.container,
.single .container {
display: flex;
align-items: flex-start;
flex-wrap: nowrap;
max-width: 1200px;
margin: 0 auto;
}
.main-content,
.single .main-content {
flex: 0 0 75%;
padding: 10px;
}
.sidebar,
.single .sidebar {
flex: 0 0 25%;
}
.post {
background-color: #ffffff;
border: 1px solid #ddd;
padding: 15px;
border-radius: 5px;
}
.single .post {
flex: 1;
max-width: 100%;
}
footer {
text-align: center;
padding: 20px;
background-color: #ffffff;
border-top: 1px solid #ddd;
margin-top: 20px;
}
.post-thumbnail {
margin-bottom: 10px;
overflow: hidden;
border-radius: 6px;
}
.post-thumbnail img {
width: 100%;
height: auto;
display: block;
transition: transform 0.3s ease;
border-radius: 6px;
}
.post-thumbnail img:hover {
transform: scale(1.03);
}
.post h2 {
font-size: 1.25rem;
margin: 10px 0 8px;
line-height: 1.3;
color: #222;
transition: color 0.3s ease;
font-weight: bold;
}
.post h2 a {
color: inherit;
text-decoration: none;
}
.post h2 a:hover {
color: #1e90ff;
text-decoration: underline;
}
.post div {
font-size: 1.1rem;
color: #333;
line-height: 1.7;
margin-top: 5px;
}
.pagination {
grid-column: 1 / -1;
text-align: center;
margin: 30px 0;
}
.pagination a,
.pagination span {
display: inline-block;
margin: 0 5px;
padding: 8px 12px;
font-size: 0.95rem;
color: #1e90ff;
border: 1px solid #1e90ff;
border-radius: 4px;
text-decoration: none;
transition: all 0.3s ease;
}
.pagination a:hover,
.pagination .current {
background-color: #1e90ff;
color: #fff;
}
.pagination .current {
font-weight: bold;
cursor: default;
}
.sidebar .widget {
background-color: #ffffff;
padding: 15px 20px;
margin-bottom: 20px;
border: 1px solid #ddd;
border-radius: 8px;
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
transition: box-shadow 0.3s ease;
}
.sidebar .widget:hover {
box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}
.sidebar .widget h3 {
font-size: 1.1rem;
margin-bottom: 10px;
border-bottom: 2px solid #1e90ff;
padding-bottom: 5px;
color: #333;
}
.sidebar .widget ul {
list-style: none;
padding-left: 0;
}
.sidebar .widget ul li {
margin-bottom: 8px;
}
.sidebar .widget ul li a {
text-decoration: none;
color: #1e90ff;
transition: color 0.3s ease;
}
.sidebar .widget ul li a:hover {
color: #005fa3;
}
.menu-toggle {
display: none;
background: none;
font-size: 1.8rem;
border: none;
color: #ffffff;
position: absolute;
top: 25px;
right: 20px;
z-index: 1001;
}
.main-nav {
margin-top: 20px;
background-color: #1e90ff;
padding: 10px 0;
}
.menu {
display: flex;
justify-content: center;
list-style: none;
margin: 0;
padding: 0;
flex-wrap: wrap;
flex-direction: row;
}
.menu li {
position: relative;
}
.category-title {
grid-column: 1 / -1;
width: 100%;
margin-bottom: 20px;
}
.category-title h1 {
font-size: 2rem;
color: #333;
margin: 0;
padding: 10px 0;
border-bottom: 2px solid #1e90ff;
}
.post-meta {
font-size: 0.85rem !important;
color: #777;
margin: 8px 0 5px;
}
.post-meta span {
margin-right: 8px;
}
@media (max-width: 768px) {
.single .main-content {
display: block;
}
.single .post {
width: 100%;
padding: 0;
margin-bottom: 20px;
}
.single .sidebar {
width: 100%;
margin-top: 20px;
}
}
.menu li a {
color: #ffffff !important;
}
.menu li a:hover {
color: #f0f0f0;
} .main-nav {
background-color: #333;
color: #fff;
padding: 10px;
text-align: center;
}
.main-nav .menu {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.main-nav .menu li {
margin: 0 15px;
}
.main-nav .menu li a {
color: #fff;
font-weight: bold;
text-decoration: none;
}
.main-nav .menu li a:hover {
text-decoration: underline;
} .menu-toggle {
display: none;
background: #333;
color: #fff;
padding: 10px;
border: none;
font-size: 20px;
cursor: pointer;
margin: 10px;
} .main-content {
display: flex;
flex-wrap: wrap;
gap: 20px;
}
.post {
flex: 1 1 100%;
} @media (min-width: 992px) {
.post {
flex: 1 1 calc(33.333% - 20px);
}
} .breadcrumb {
margin-bottom: 15px;
font-size: 0.9em;
color: #555;
}
.breadcrumb a {
color: #1e90ff;
text-decoration: none;
}
.breadcrumb a:hover {
text-decoration: underline;
} @media (max-width: 768px) {
.container {
flex-direction: column;
}
.main-content {
width: 100%;
}
.sidebar {
width: 100%;
margin-top: 20px;
}
} body {
font-family: 'Open Sans', sans-serif;
line-height: 1.7;
font-size: 16px;
color: #222;
} .logo a {
font-size: 1.5em;
font-weight: 700;
color: #333;
text-decoration: none;
} .related-posts h3,
.breadcrumb,
.sidebar h2 {
border-left: 4px solid #1e90ff;
padding-left: 10px;
margin-bottom: 15px;
font-size: 1.2em;
color: #222;
} .post-thumbnail img,
.related-post img {
width: 100%;
object-fit: cover;
border-radius: 4px;
} .related-post:hover,
.post:hover {
background-color: #f8f9fa;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
transition: all 0.3s ease;
} .sidebar {   border-radius: 6px;
margin-top: 5px;
} .main-nav .menu li a:hover,
.main-nav .menu li a:focus {
color: #ff6600;
text-decoration: underline;
} .related-post h4 {
font-size: 1em;
margin-top: 10px;
color: #333;
transition: color 0.3s ease;
}
.related-post h4:hover {
color: #1e90ff;
} .post-extra-meta {
font-size: 0.85em;
color: #666;
margin-top: -10px;
margin-bottom: 20px;
} .post-share-nav {
margin-top: 40px;
padding-top: 20px;
border-top: 1px solid #ddd;
}
.share-buttons a {
margin-right: 10px;
color: #1e90ff;
text-decoration: none;
font-weight: bold;
}
.share-buttons a:hover {
color: #ff6600;
}
.post-navigation {
display: flex;
justify-content: space-between;
margin-top: 20px;
}
.prev-post, .next-post {
width: 48%;
font-size: 0.95em;
}
.screen-reader-text {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}