/* Scoped Stylesheet - Specialties Details Page */

/* Hero Banner Section */
.more-hero-section {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-blue) 100%);
  padding: 4.5rem 0;
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.more-hero-section .hero-title {
  color: var(--bg-white);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.more-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  pointer-events: none;
}

/* Article Body Area */
.more-content-section {
  background-color: var(--bg-white);
}

.more-article-wrap {
  max-width: 850px;
  margin: 0 auto;
}

.more-article-body {
  font-family: var(--font-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 3rem;
}

/* Detail Content Block Shapes */
.detail-content-blocks {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-block-item {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.detail-block-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-white);
  border-color: rgba(72, 192, 192, 0.25);
}

.detail-block-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-white);
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-color-light);
  transition: all 0.3s ease;
}

.detail-block-item:hover .detail-block-icon {
  background-color: var(--accent-teal);
  color: var(--bg-white);
  border-color: var(--accent-teal);
}

.detail-block-body {
  flex: 1;
}

.detail-block-title {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.detail-block-text {
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* Call to Action Block Highlight Card */
.detail-cta-block {
  background: linear-gradient(135deg, rgba(72, 192, 192, 0.08) 0%, rgba(94, 18, 94, 0.05) 100%);
  border: 1px dashed var(--accent-teal);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.cta-block-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--accent-teal);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.cta-block-body {
  flex: 1;
}

.cta-block-text {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 0.35rem 0;
}

.cta-block-link {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent-teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
}

.cta-block-link:hover {
  color: var(--accent-teal-hover);
}

.cta-block-link i {
  transition: transform 0.2s ease;
}

.cta-block-link:hover i {
  transform: translateX(4px);
}

@media (max-width: 600px) {
  .detail-block-item {
    flex-direction: column;
    gap: 1rem;
  }
  .detail-cta-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* Meta Footer (Date & Sharing) */
.more-meta-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color-light);
  border-bottom: 1px solid var(--border-color-light);
  padding: 1.5rem 0;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.more-publish-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.more-publish-date i {
  color: var(--accent-teal);
}

.more-share-box {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.share-label {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.share-social-icons {
  display: flex;
  gap: 0.75rem;
}

.share-social-icons a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.share-social-icons a:hover {
  background-color: var(--primary-purple);
  color: var(--bg-white);
  transform: translateY(-2px);
}

/* Other Pages section styles */
.other-pages-section {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color-light);
}

.other-pages-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.other-pages-title {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.view-all-pages-link {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent-teal);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.view-all-pages-link:hover {
  color: var(--accent-teal-hover);
}

.view-all-pages-link i {
  transition: transform 0.3s ease;
}

.view-all-pages-link:hover i {
  transform: translateX(4px);
}

/* Cards layout for other pages grid */
.other-pages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.other-page-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  position: relative;
}

.other-page-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.other-page-card.spine-card::before {
  background-color: var(--accent-teal);
}
.other-page-card.brain-card::before {
  background-color: var(--primary-purple);
}
.other-page-card.doctor-card::before {
  background-color: #3b82f6;
}
.other-page-card.blog-card::before {
  background-color: #f59e0b;
}

.other-page-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.other-page-content {
  flex: 1;
  padding-right: 1rem;
}

.other-page-title {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin: 0;
  transition: var(--transition-fast);
}

.other-page-card:hover .other-page-title {
  color: var(--accent-teal-hover);
}

.other-page-arrow {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.other-page-card:hover .other-page-arrow {
  opacity: 1;
  color: var(--accent-teal);
  transform: translate(2px, -2px);
}

/* Responsive styles */
@media (max-width: 992px) {
  .other-pages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .other-pages-grid {
    grid-template-columns: 1fr;
  }
  .more-meta-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
