body {
  margin: 0;
  padding-top: 120px;  

  background-image: url('https://biwaichi.bike/.assets/bg.png');
  background-size: cover;       
  background-position: center;   
  background-repeat: no-repeat; 
  background-attachment: fixed; 
}

.page-title {
  max-width: 1200px;
  margin: 10px auto 40px auto;
  padding-top:90px;
  padding-bottom: 10px;

}

.page-title .subtitle {
  font-size: 20px;
  color: #666;
  margin: 0;
  letter-spacing: 2px;
}

.page-title .title {
  font-size: 68px;
  font-weight: 520; 
  margin: 5px 0 2px 0;
  color:#61bcc9;
  text-shadow: 0 2px 6px rgba(0, 80, 180, 0.2);
}

.page-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px; 
  margin: 10px auto;  
  padding: 30px;  
  box-sizing: border-box;
  background: #fff;
  border-radius: 10px;   
  width: calc(100% - 40px); 
}
 
.newsMain {
  flex: 1 1 0;          
  min-width: 0;          
  background: rgba(#000);
  padding: 20px;
  border-radius: 8px;
}

.newsMain h1 {
  font-size: 28px;
  margin-bottom: 15px;
}
.newsMain .date {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 20px;
}

 
.sidebar {
  flex: 0 0 260px;        
  background: rgba(#000);
  padding: 15px;
  border-radius: 8px;
}

.sidebar h2 {
  font-size: 1.2em;
  margin-bottom: 10px;
  border-bottom: 2px solid #333;
  padding-bottom: 5px;
}
 
.newsMain h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.newsMain .date {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 15px;
}
 
.entry-category {
  margin-left: 10px;
}

.entry-category {
  display: inline-block;
  margin-left: 8px;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #fff;            
  color: #61bcc9;              
  border: 1px solid rgba(97,188,201,0.6);
}

.category-buttons a {
  display: block;
  margin-bottom: 6px;
  padding: 6px 12px;
  background: #f2f2f2;
  text-decoration: none;
  color: #333;
  border-radius: 4px;
}

.category-buttons a:hover {
  background: #ddd;
}

.sidebar .category-buttons a {
  display: block;
  padding: 5px 10px;
  margin-bottom: 5px;
  background: #f2f2f2;
  text-decoration: none;
  color: #333;
  border-radius: 4px;
}
.sidebar .category-buttons a:hover {
  background: #ddd;
}
.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar li {
  margin-bottom: 8px;
}
.sidebar li a {
  text-decoration: none;
  color: #333;
}
.sidebar li a:hover {
  text-decoration: underline;
}
.sidebar .date {
  font-size: 0.85em;
  color: #666;
}

.entry-nav {
  clear: both;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  flex-wrap: wrap;  
  gap: 10px;
  border-top: 1px solid #ddd;
}
 
.entry-nav > div {
  flex: 1;
}
 
.back-list {
  text-align:left;
  margin-top:10px;
}
  
.entry-nav a {
  text-decoration: none;
  color: #5f6c89;
  font-size: 14px;
}
 
.entry-nav a:hover {
  color: #f8b62d;
}
 
.back-list a {
  border: none;
  padding: 0;
  color: #5f6c89;
  text-decoration: none;
  transition: 0.3s;
}
 
.back-list a:hover {
  color: #f8b62d;
}
  
 .prev a,
.next a {
  padding: 6px 10px;
}

.prev-link::before {
  content: "";
  display: inline-block;
  margin-right: 6px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid #f8b62d; 
}
 
.next-link::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #f8b62d; 
}
.prev-link:hover::before {
  transform: translateX(-3px);
  transition: 0.3s;
}

.next-link:hover::after {
  transform: translateX(3px);
  transition: 0.3s;
}

.recent-entries h2 {
  font-size: 1.1em;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  padding-bottom: 5px;
  color:#f8b62d;
  font-weight: 600;
}

.recent-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.recent-card {
  display: flex;
  gap: 10px;
  text-decoration: none;
  color: #111;
  background: rgba(255,255,255,0.9);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.recent-card .info {
  padding: 8px 5px;
}

.recent-card .date {
  font-size: 12px;
  color: #888;
  display: block;
  margin-bottom: 5px;
}

.recent-card .title {
  font-size: 12px;
  line-height: 1.2;
  margin: 0;
}
 
.recent-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.recent-card:hover img {
  transform: scale(1.05);
}
  .newsMain p {
 color: #333；
}
.newsMain h1 {
  font-size: 28px; 
    font-weight: 700;
}

@media (max-width: 1240px) { 
    .page-title {
       margin-left: 20px;
    }
}
@media (max-width: 767px) { 
    .page-title {
        padding-top: 90px;  
        margin-bottom: 20px;
       margin-left: 20px;
    }
    .page-title .title {
        font-size: 40px;   
        margin: 10px;
    }
    .page-title .subtitle {
        margin: 10px;
    }
 
    .page-wrapper {
        flex-direction: column;  
        margin: 10px;           
        padding: 15px;          
        width: auto;          
    }
 
    .newsMain {
        padding: 10px;
        flex: none;            
        width: 100%;
        box-sizing: border-box;
    }
    .newsMain h1 {
        font-size: 1.5rem;       
    }
 
    .sidebar {
        flex: none;           
        width: 100%;
        padding: 15px 0;      
        box-sizing: border-box;
        border-top: 1px solid #eee; 
        margin-top: 20px;
    }
 
    .entry-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .entry-nav > div {
        width: 100%;
    }
 
    body {
        padding-top: 60px; 
        background-attachment: scroll;  
    }
}
 
@media (max-width: 550px) {
    .page-title .title {
        font-size: 32px;
    }
    .recent-card {
        flex-direction: row;  
    }
}