/* Post Case Styles */

/* Import Poppins Font */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");

/* Container - Use normal theme container */
.ci-otology-post-case-container {
  font-family: "Poppins", sans-serif;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

/* Hero Section - Full Width */
.post-case-hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  min-height: 70dvh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 4rem 2rem;
  left: 0;
  right: 0;
}

.hero-content {
  text-align: center;
  z-index: 1;
  position: relative;
}

.hero-case-number {
  color: #fff !important;
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title {
  color: #fff !important;
  font-family: "Poppins", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Title and Description Section */
.post-case-title-section {
  margin-bottom: 3rem;
}

.case-label {
  color: #1c75cf;
  text-align: left;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 4.32px;
  text-transform: uppercase;
}

.case-title {
  color: #000;
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -0.9px;
  margin: 0 0 1rem 0;
}

.case-title-divider {
  border-radius: 12px;
  background: #1c75cf;
  height: 4px;
  width: 122px;
  margin-bottom: 1rem;
}

.case-description {
  color: #000;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Content Area - Normal width within theme container */
.ci-otology-post-case-container .card {
  width: 100%;
  max-width: 100%;
}

/* Attachments Section */
.ci-otology-post-case-container .card-header h5 {
  color: #1c75cf;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

.ci-otology-post-case-container .list-group-item {
  border-color: #e9ecef;
  transition: all 0.3s ease;
}

.ci-otology-post-case-container .list-group-item:hover {
  background-color: #f8f9fa;
  border-color: #1c75cf;
}

.ci-otology-post-case-container .list-group-item a {
  color: #1c75cf;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ci-otology-post-case-container .list-group-item a:hover {
  color: #155a9f;
  text-decoration: underline;
}

.ci-otology-post-case-container .list-group-item i {
  color: #1c75cf;
}

/* Reference Links Section */
.ci-otology-post-case-container .list-group-item a i.bi-link-45deg {
  color: #1c75cf;
}

/* Responsive Hero */
@media (max-width: 768px) {
  .post-case-hero {
    min-height: 300px;
    padding: 2rem 1rem;
  }

  .hero-case-number {
    font-size: 32px;
  }

  .hero-title {
    font-size: 48px;
  }

  .case-title {
    font-size: 28px;
    line-height: 32px;
    letter-spacing: -0.7px;
  }

  .case-label {
    font-size: 16px;
    letter-spacing: 3.84px;
  }

  .case-description {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .hero-case-number {
    font-size: 24px;
  }

  .hero-title {
    font-size: 36px;
  }

  .case-title {
    font-size: 24px;
    line-height: 28px;
    letter-spacing: -0.6px;
  }

  .case-label {
    font-size: 14px;
    letter-spacing: 3.36px;
  }

  .case-description {
    font-size: 16px;
  }
}
