.hero-wide {
  position: relative;
  width: 90vw;
  margin-left: calc(50% - 45vw);
  height: 450px;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 4rem;
  background-color: #000;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(75deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  color: white;
  z-index: 10;
  max-width: 600px;
}

.hero-title {
  display: block; /* 确保 div 表现如块级元素 */
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 1rem 0; /* 这里的 margin 覆盖了 h1 的默认边距，所以 div 会看起来一模一样 */
}

.badge-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffc107;
  font-weight: 700;
  font-size: 0.8rem;
}

.btn-read {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 12px 28px;
  border: 1.5px solid white;
  color: white;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}

.btn-read:hover {
  background: white;
  color: #5F2E31;
}

/* ==========================================================================
2. LAYOUT CONTROL
========================================================================== */
body:not(.article-listing-page) #quarto-content {
  max-width: 90vw !important;
  margin-left: 5vw !important;
}

body:not(.article-listing-page) .quarto-listing-container-default {
  margin-right: 380px !important;
  margin-left: 0 !important;
  max-width: none !important;
}

body:not(.article-listing-page) .sidebar-wrapper {
  position: absolute;
  right: 5vw;
  top: 600px; 
  width: 320px;
  z-index: 100;
}

body:not(.article-listing-page) .section-title-custom {
  font-weight: 800 !important;
  font-size: 2rem !important;
  color: #1a1a1a !important;
  margin: 4rem 0 2rem 0 !important;
  border-left: 8px solid #5F2E31 !important;
  padding-left: 1.5rem !important;
}

/* ==========================================================================
3. LISTING POSTS
========================================================================== */
body:not(.article-listing-page) .quarto-listing-container-default .quarto-post {
  display: grid; 
  grid-template-columns: 1fr 280px;
  column-gap: 3rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

body:not(.article-listing-page) .quarto-listing-container-default .quarto-post .title {
  font-weight: 800;
  font-size: 1.6rem;
  color: #5F2E31;
  text-decoration: none;
}

body:not(.article-listing-page) .quarto-listing-container-default .quarto-post .thumbnail {
  width: 280px;
  height: 180px;
  object-fit: cover;
}

body:not(.article-listing-page) .quarto-listing-container-default .quarto-post .thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* ==========================================================================
4. SUBMIT MODULE
========================================================================== */
.submit-card {
  background-color: #fcfcfc;
  padding: 2.5rem;
  border: 1px solid #eee;
  border-top: 5px solid #5F2E31;
  position: sticky;
  top: 100px;
}

.submit-card h3 {
  font-weight: 800;
  margin-bottom: 1rem;
}

.submit-benefits {
  padding-left: 1.2rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: #666;
}

.btn-submit {
  display: block;
  text-align: center;
  background-color: #5F2E31;
  color: white;
  padding: 14px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 2px;
}

.btn-submit:hover {
  background-color: #000;
  color: white;
}

/* ==========================================================================
5. NAVBAR & BRANDING
========================================================================= */
.navbar {
  padding: 0.8rem 2.5rem !important;
  background-color: #5F2E31 !important;
  border-bottom: 2px solid rgba(0, 0, 0, 0.2) !important;
}

.navbar-brand {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
}

.navbar-title {
  font-family: "Times New Roman", Times, serif !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1.6rem !important;
  letter-spacing: 4px !important;
  position: relative;
  padding-bottom: 2px;
  text-transform: uppercase;
}

.navbar-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40%;
  height: 2px;
  background-color: #ffc107;
}

.navbar-nav .nav-link {
  font-family: "Inter", sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 1px;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.75) !important;
  margin: 0 1rem !important;
  transition: 0.2s ease-in-out;
}

.navbar-nav .nav-link:hover {
  color: #ffffff !important;
  transform: translateY(-1px);
}

.navbar-nav .nav-item:last-child .nav-link {
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  padding: 0.4rem 1.2rem !important;
  background: transparent !important;
  margin-left: 1.5rem !important;
}

.navbar-nav .nav-item:last-child .nav-link:hover {
  background: #ffffff !important;
  color: #5F2E31 !important;
}

/* ==========================================================================
6. RESPONSIVE
========================================================================== */
@media (max-width: 1100px) {
  .sidebar-wrapper {
    position: static;
    width: 100%;
    margin-top: 3rem;
  }
  .quarto-listing-container-default {
    margin-right: 0 !important;
  }
}

@media (max-width: 768px) {
  .quarto-listing-container-default .quarto-post {
    display: flex !important;
    flex-direction: column !important;
  }
  .quarto-listing-container-default .quarto-post .thumbnail {
    width: 100% !important;
    order: -1;
    margin-bottom: 1.5rem;
  }
}             