body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: #fff;
  color: #b11b1b;
}
.container {
  max-width: 1080px;
  margin: auto;
  padding: 1rem;
}

.site-header {
  background: #b11b1b;
  color: white;
  padding: 1rem 0;
  position: relative;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-header .logo {
  margin: 0;
}
.site-header .logo img {
    width: 200px;
    border-radius: 10px;
}

.site-header .description {
  font-weight: bold;
  font-size: 1.5rem;
}

.site-header .logo,
.site-header .description {
  flex: 1 1 auto;
}

.site-header .logo-description-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1 auto;
}

/* Mobile stacking */
@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header .logo-description-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header .description {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1rem;
  }
}

.main-nav {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}
.main-nav a {
  color: white;
  text-decoration: none;
}
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
}
.site-footer {
  background: #b11b1b;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

.site-footer .footer-links {
  margin-top: 0.5rem;
}

.site-footer .footer-links a {
  color: #fff;
  margin: 0 0.8rem;
  text-decoration: underline;
  font-size: 0.9rem;
}

.site-footer .footer-links a:hover {
  color: #ffdddd;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    flex-direction: column;
    background: #a60000;
    position: absolute;
    z-index: 100;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 1rem;
  }
  .main-nav.open {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
}

#top-page .slideshow {
  margin: 2rem 0;
}
#top-page .swiper {
  width: 100%;
  height: 250px;
  border-radius: 6px;
  overflow: hidden;
  background: #fff5f5;
}
#top-page .swiper-wrapper {
}
#top-page .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b11b1b;
  height: 250px;
}
#top-page .swiper-pagination-bullet {
  background-color: #b11b1b;
}
#top-page .swiper-slide p {
    position: absolute;
    top: 30%;
    z-index: 1;
    margin-top: .5rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #b11b1b;
    background-color: #fff;
}

#top-page .swiper-slide img {
    width: 100%;
    object-fit: cover;
    border-radius: 6px;
}


.latest-news, .category-news, .tag-news {
  margin-bottom: 2rem;
}
.article-list, .category-block ul, .tag-block ul {
  list-style-type: none;
  padding-left: 0;
}
.article-list li, .category-block ul li, .tag-block ul li {
  background: #fff5f5;
  margin: 0.5rem 0;
  padding: 0 0.75rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.article-list li a,
.category-block ul li a,
.tag-block ul li a {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #b11b1b;
  text-decoration: none;
}

.article-list img,
.category-block img,
.tag-block img {
  width: 60px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.category-block,
.tag-block {
  margin-top: 1rem;
}

@media (max-width: 768px) {
    #top-page .swiper-slide p {
        font-size: 1.2rem;
    }
}

#detail-page .article-detail {
  background: #fff5f5;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
#detail-page .article-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #b11b1b;
}
#detail-page .article-meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 0.5rem;
}

#detail-page .article-meta a {
  color: #b11b1b;
}

#detail-page .article-tags {
  margin-bottom: 10px;
}
#detail-page .article-tags a {
  display: inline-block;
  background: #ffeaea;
  color: #b11b1b;
  padding: 2px 8px;
  margin: 0 4px;
  font-size: 0.85rem;
  border-radius: 4px;
  text-decoration: none;
}
#detail-page .article-content p {
  margin: 1rem 0;
  line-height: 1.8;
  color: #333;
}
#detail-page .local-info {
  margin-top: 3rem;
  padding: 0.5rem 1.5rem 1.5rem 1.5rem;
  background: #ffeaea;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
#detail-page .local-info h2 {
  margin-bottom: 1rem;
  padding: 1rem;
  background-color: #b11b1b;
  color: #ffffff;
  border-radius: 8px;  
}
#detail-page .local-info p {
  word-break: break-all;
}
#detail-page .local-info a {
  color: #b11b1b;
}
#detail-page .local-info a:hover {
  text-decoration: underline;
}
#detail-page .content-with-sidebar {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  align-items: flex-start;
}
#detail-page .main-content {
  flex: 1 1 65%;
}
#detail-page .sidebar {
  flex: 1 1 30%;
  background: #fff5f5;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  height: fit-content;
}
#detail-page .sidebar h2 {
  color: #b11b1b;
  margin-bottom: 1rem;
}
#detail-page .related-news {
  list-style: none;
  padding-left: 0;
}
#detail-page .related-news li {
  margin-bottom: 0.5rem;
}
#detail-page .related-news a {
  color: #b11b1b;
}
#detail-page .related-news a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
    
  #detail-page .article-title {
    font-size: 1.2rem;
  }

  #detail-page .local-info h2 {
    padding: 1rem;
    font-size: 1rem;
  }

  #detail-page .content-with-sidebar {
    flex-direction: column;
  }
  #detail-page .main-content, 
  #detail-page .sidebar {
    flex: 1 1 100%;
  }
  #detail-page .sidebar {
    margin-top: 2rem;
    width: 100%;
    box-sizing: border-box;
  }

}
