/* Keep existing accordion styles for navigation menu */
.guides-accordion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-standard);
  border-radius: 4px;
  font-family: inherit;
}

.guides-accordion ion-icon {
  transition: transform 0.3s ease;
}

.guides-accordion.active ion-icon {
  transform: rotate(180deg);
}

.guides-accordion:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateX(4px);
}

/* Main Container Styles */
.guides-container {
  min-width: 800px;
  max-width: 1600px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Page Title Styles */
.guide-content h1 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 2.2rem;
}

.guides-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

/* Featured Guide Section */
.featured-guides {
  margin-bottom: 3rem;
}

.featured-guides h2 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
}

.featured-guide-hero {
  margin: 1.5rem 0;
}

.hero-guide {
  display: flex;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.hero-guide:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.hero-image {
  flex: 0 0 45%;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-guide:hover .hero-image img {
  transform: scale(1.05);
}

.hero-content {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.hero-content p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.btn-read-guide {
  align-self: flex-start;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-read-guide:hover {
  background-color: var(--primary-color-dark, #0056b3);
}

.featured-guides-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Guide Category Section */
.guide-category {
  margin-bottom: 3rem;
}

.guide-category h2 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
}

.guide-category p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* Guide Cards */
.guide-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.guide-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  height: 100%;
}

.guide-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.guide-card-image {
  position: relative;
  width: 100%;
  padding-top: 50.5%; /* 1 / 1.98 */
  overflow: hidden;
}

.guide-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.guide-card:hover .guide-card-image img {
  transform: scale(1.08);
}

.guide-card-content {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.guide-card-content h3 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.guide-card-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  flex: 1;
  margin-bottom: 0.5rem;
}

/* Guide Detail View */
.guide-detail {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.guide-actions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.btn-back-to-guides,
.btn-share-guide {
  display: flex;
  align-items: center;
  padding: 0.6rem 1rem;
  background: none;
  border: 1px solid var(--border-color, #ddd);
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-back-to-guides:hover,
.btn-share-guide:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.btn-back-to-guides span,
.btn-share-guide span {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

.guide-detail-content {
  line-height: 1.8;
}

.guide-detail-content h1 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.guide-detail-content section {
  margin-bottom: 2.5rem;
}

.guide-detail-content h2 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Guide Content Styles */
.guide-content section {
  margin-bottom: 2rem;
}

.guide-content ul {
  list-style-type: decimal;
  padding: 0.8rem 1.5rem;
  margin-bottom: 1rem;
}

.guide-content li {
  margin-bottom: 0.5rem;
}

.guide-content a {
  color: var(--primary-color);
  text-decoration: none;
}

.guide-content a:hover {
  text-decoration: underline;
}

.guide-content .important {
  background-color: rgba(0, 123, 255, 0.1);
  color: var(--primary-color);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: bold;
  display: inline-block;
}

.video iframe {
  width: 560px;
  height: 315px;
}

.image {
  margin: var(--padding-standard);
}
.image img {
  width: 40%;
}
/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-guide {
    flex-direction: column;
  }

  .hero-image {
    flex: 0 0 250px;
  }
}

@media (max-width: 768px) {
  .guides-container {
    min-width: auto;
    width: 100%;
    margin: 0 auto;
  }

  .guide-content h1 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .guides-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .guide-list,
  .featured-guides-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-content h3 {
    font-size: 1.5rem;
  }

  .guide-detail {
    padding: 1rem;
  }

  .guide-actions {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .image img {
    width: 100%;
  }
  .video iframe {
    width: 340px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .guides-container {
    padding: 0 0.75rem;
  }

  .guide-card-image {
    height: 160px;
  }

  .guide-detail {
    padding: 1rem;
    border-radius: 6px;
  }

  .btn-read-guide {
    width: 100%;
    text-align: center;
  }
}
