.recent-posts-list {
list-style: none;
padding: 0;
margin: 0;
}
.recent-post-item {
display: flex;
align-items: center;
gap: 15px;
margin-bottom: 15px;
padding: 10px;
background: #fff;
border: 1px solid #eee;
border-radius: 4px;
}
.recent-post-thumbnail {
flex-shrink: 0;
}
.recent-post-thumbnail img {
width: 80px;
height: 80px;
object-fit: cover;
border-radius: 4px;
}
.recent-post-content {
flex: 1;
}
.recent-post-content h4 {
margin: 0 0 5px;
font-size: 1em;
line-height: unset;
}
.recent-post-content a {
color: #000;
text-decoration: none;
}
.recent-post-content a:hover {
text-decoration: underline;
}
.recent-post-date {
display: block;
color: #666;
font-size: 0.85em;
} @media (max-width: 768px) {
.recent-post-thumbnail img {
width: 100px;
height: 100px;
}
}#scroll-to-top {
position: fixed;
bottom: 20px;
right: 20px;
width: 50px;
height: 50px;
background: #990c0c;
color: white;
border: none;
border-radius: 50%;
cursor: pointer;
display: none; z-index: 1000;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
transition: background 0.3s, opacity 0.3s;
}
#scroll-to-top:hover {
background: #ea0a0a; opacity: 0.9;
}
#scroll-to-top i {
font-size: 20px;
} #scroll-to-top.show-scroll-to-top {
display: block;
} @media (max-width: 768px) {
#scroll-to-top {
width: 40px;
height: 40px;
bottom: 15px;
right: 15px;
}
#scroll-to-top i {
margin: 0 0 2px -2px;
font-size: 16px;
}
}.contact-form-container {
margin: 0;
padding: 20px;
background: #fff;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.contact-form-container h2 {
text-align: center;
color: #333;
margin-bottom: 20px;
font-size: 1.8em;
}
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
margin-bottom: 5px;
color: #555;
font-weight: 500;
}
.form-group input,
.form-group textarea {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 1em;
color: #333;
box-sizing: border-box;
}
.form-group textarea {
resize: vertical;
min-height: 120px;
}
.submit-btn {
display: block;
width: 100%;
padding: 12px;
background: #0066cc;
color: white;
border: none;
border-radius: 4px;
font-size: 1.1em;
cursor: pointer;
transition: background 0.3s;
}
.submit-btn:hover {
background: #0052a3;
}
.response-message {
margin-top: 15px;
text-align: center;
font-weight: 500;
}
.response-message.success {
color: #28a745;
}
.response-message.error {
color: #dc3545;
} @media (max-width: 768px) {
.contact-form-container {
margin: 20px;
padding: 15px;
}
.form-group input,
.form-group textarea {
font-size: 0.95em;
}
.submit-btn {
font-size: 1em;
}
}.category-news-sections {
max-width: 1200px;
margin: 0 auto 40px;
padding: 0;
}
.category-news-sections.layout-grid {
padding: 0 0 0 10px;
}
.category-section {
margin-bottom: 40px;
}
.category-title {
color: #333;
font-size: 1.8em;
margin-bottom: 20px;
border-bottom: 2px solid #0066cc;
padding-bottom: 5px;
}
.category-posts {
display: grid;
gap: 20px;
} .layout-grid .category-posts {
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.news-post {
background: #fff;
border: 1px solid #eee;
border-radius: 4px;
overflow: hidden;
display: flex;
flex-direction: column;
}
.news-thumbnail img {
width: 100%;
height: 180px;
object-fit: cover;
}
.news-content {
padding: 15px;
flex: 1;
text-align: left;
}
.news-content h3 {
margin: 0 0 10px;
line-height: 30px;
font-weight: normal;
font-size: 1.1em;
}
.news-content a {
color: #000;
font-size: 22px;
font-family: 'Baloo 2';
text-decoration: none;
}
.news-content a:hover {
text-decoration: underline;
}
.news-date {
color: #cb0002;
font-size: 0.9em;
display: block;
margin-bottom: 10px;
}
.news-content p {
margin: 0;
color: #555;
font-size: 1em;
} .layout-list .category-posts {
grid-template-columns: 1fr;
}
.layout-list .news-post {
flex-direction: row;
align-items: center;
gap: 15px;
} @media (max-width: 768px) {
.layout-grid .category-posts {
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.layout-list .news-post {
flex-direction: column;
text-align: center;
}
.news-thumbnail {
width: 100%;
}
.layout-list .news-thumbnail img {
width: 100%;
height: auto;
}
}
@media (max-width: 480px) {
.category-posts {
grid-template-columns: 1fr;
}
.category-title {
font-size: 1.5em;
}
}
.youtube-shorts-container {
max-width: 1200px;
margin: 20px auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
padding: 0 15px;
}
.youtube-short {
text-align: center;
}
.youtube-short iframe {
width: 100%;
max-width: 300px;
height: 533px; border: none;
border-radius: 8px;
}
.youtube-short h3 {
margin: 10px 0 0;
font-size: 1em;
color: #333;
}
@media (max-width: 768px) {
.youtube-shorts-container {
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
}
@media (max-width: 480px) {
.youtube-shorts-container {
grid-template-columns: 1fr;
}
}