/* ===== Lô Đề Page Styles (Red Gold v2) ===== */
.page-lo-de {
  color: #333333;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

/* ---------- Hero Section ---------- */
.page-lo-de__hero-section {
  padding: 10px 0 0;
  background: #B71C1C;
}

.page-lo-de__hero-image-wrapper {
  margin-bottom: 24px;
}

.page-lo-de__hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
}

.page-lo-de__hero-content {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 32px;
}

.page-lo-de__hero-title {
  color: #FFF5E1;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.5px;
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 2.5vw, 2.6rem);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-lo-de__hero-description {
  color: #FFF5E1;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto 24px;
  font-size: 1.1rem;
}

.page-lo-de__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-lo-de__btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid #F2B544;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.page-lo-de__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.page-lo-de__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.page-lo-de__btn--secondary {
  background: transparent;
  color: #FFF5E1;
}

.page-lo-de__btn--secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* ---------- Logo Grid ---------- */
.page-lo-de__logo-grid-section {
  padding: 32px 16px;
  background: #B71C1C;
}

.page-lo-de__section-title {
  text-align: center;
  color: #FFF5E1;
  font-weight: 700;
  margin-bottom: 24px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
}

.page-lo-de__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
}

.page-lo-de__logo-item {
  background: #D32F2F;
  border: 2px solid #F2B544;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  width: 100%;
  box-sizing: border-box;
  transition: transform 0.2s;
}

.page-lo-de__logo-item:hover {
  transform: scale(1.03);
}

.page-lo-de__logo-image {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.page-lo-de__logo-cta {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid #F2B544;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.page-lo-de__logo-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 204, 102, 0.4);
}

/* 4+2 layout positioning */
.page-lo-de__logo-item:nth-child(5) {
  grid-column: 2 / 3;
}

.page-lo-de__logo-item:nth-child(6) {
  grid-column: 3 / 4;
}

/* ---------- Guide Section ---------- */
.page-lo-de__guide-section {
  background: #B71C1C;
  padding: 0;
}

.page-lo-de__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 16px 48px;
}

.page-lo-de__guide-title {
  text-align: center;
  color: #FFF5E1;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
}

.page-lo-de__guide-intro {
  color: #FFF5E1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 24px;
  font-size: 1.05rem;
}

.page-lo-de__guide-figure {
  margin: 0 0 32px;
}

.page-lo-de__guide-figure img {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #F2B544;
}

.page-lo-de__guide-figure figcaption {
  color: #FFF5E1;
  font-size: 0.85rem;
  text-align: center;
  margin-top: 8px;
  opacity: 0.8;
}

.page-lo-de__guide-subtitle {
  color: #FFF5E1;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 24px 0 12px;
}

.page-lo-de__guide-inner p {
  color: #FFF5E1;
}

/* ---------- FAQ ---------- */
.page-lo-de__faq-list {
  margin-top: 32px;
}

.page-lo-de__faq-item {
  background: #D32F2F;
  border: 2px solid #F2B544;
  border-radius: 12px;
  margin-bottom: 16px;
  padding: 16px;
}

.page-lo-de__faq-question {
  color: #FFF5E1;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.page-lo-de__faq-question::-webkit-details-marker {
  display: none;
}

.page-lo-de__faq-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  border-radius: 50%;
  text-align: center;
  font-weight: bold;
  flex-shrink: 0;
  line-height: 24px;
}

.page-lo-de__faq-answer {
  color: #FFF5E1;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 245, 225, 0.2);
}

/* ---------- Responsive 1024px ---------- */
@media (max-width: 1024px) {
  .page-lo-de__logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-lo-de__logo-item:nth-child(5) {
    grid-column: auto;
  }

  .page-lo-de__logo-item:nth-child(6) {
    grid-column: auto;
  }
}

/* ---------- Responsive 768px ---------- */
@media (max-width: 768px) {
  .page-lo-de__hero-image {
    aspect-ratio: 2 / 1;
  }

  .page-lo-de__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .page-lo-de__logo-item:nth-child(5),
  .page-lo-de__logo-item:nth-child(6) {
    grid-column: auto;
  }

  .page-lo-de__hero-title {
    font-size: 1.4rem;
  }

  .page-lo-de__hero-description {
    font-size: 0.95rem;
  }

  .page-lo-de__guide-figure img {
    max-width: 100%;
    height: auto;
  }

  .page-lo-de__btn {
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .page-lo-de img {
    max-width: 100% !important;
    height: auto !important;
  }
}