/* =========================================================
   PATIENT CHARTER — Premium Poster Recreation
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600&display=swap');

.patient-charter-section {
  padding: 72px 0;
  background: var(--pc-bg, #F7FAFC);
}

.patient-charter-section__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.pc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

/* =========================================================
   CARD & CONCENTRIC BORDERS
   ========================================================= */
.pc-card {
  /* Base border setup */
  background: #fff;
  border: 3px solid #159FDA; /* Outer Blue */
  border-radius: 24px;
  padding: 6px;
  
  /* Creates the inner Orange and Blue rings */
  box-shadow: 
    0 0 0 3px #fff, 
    0 0 0 6px #F4831F, /* Orange Ring */
    inset 0 0 0 3px #159FDA, /* Inner Blue Ring */
    0 16px 40px rgba(21, 43, 69, 0.08);
  
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.patient-charter-section.is-visible .pc-card:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.patient-charter-section.is-visible .pc-card:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }

.pc-card__inner {
  background: #fff;
  border: 1px solid #D6EAF8;
  border-radius: 16px;
  padding: 36px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* =========================================================
   CONTENT
   ========================================================= */
.pc-card__logo {
  text-align: center;
  margin-bottom: 24px;
}
.pc-card__logo img {
  display: inline-block;
  max-height: 65px;
  width: auto;
  object-fit: contain;
}

.pc-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #4CAF50; /* Green */
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  text-align: center;
  margin: 0 0 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pc-intro {
  color: #F4831F; /* Orange */
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 24px;
  font-weight: 600;
}
.pc-intro p {
  margin: 0 0 12px;
}
.pc-intro p:last-child {
  margin-bottom: 0;
}

.pc-content {
  color: #159FDA; /* Blue */
  font-size: 15px;
  line-height: 1.65;
  flex: 1;
}

/* Subheadings within the list content */
.pc-content h4 {
  color: #F4831F; /* Orange */
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 12px;
  display: block;
}
.pc-content h4:first-child {
  margin-top: 0;
}

/* Custom List Styling */
.pc-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pc-content li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}

.pc-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  background-color: #159FDA; /* Blue dot */
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(21, 159, 218, 0.2);
}

.pc-content p { margin: 0 0 12px; }
.pc-content strong { font-weight: 800; }

/* Cursive Quote */
.pc-quote {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed #D6EAF8;
  text-align: center;
  font-family: 'Caveat', cursive;
  font-size: 24px;
  line-height: 1.2;
  color: #4CAF50; /* Green */
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
}

.pc-quote__mark {
  font-family: serif;
  font-size: 28px;
  color: #A5D6A7;
  line-height: 0;
  vertical-align: middle;
  margin: 0 4px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 820px) {
  .patient-charter-section { padding: 56px 0; }
  .pc-grid { grid-template-columns: 1fr; gap: 40px; max-width: 520px; margin: 0 auto; }
  .pc-card { padding: 5px; border-radius: 20px; }
  .pc-card__inner { padding: 28px 22px; border-radius: 14px; }
  .pc-title { font-size: 20px; }
  .pc-intro { font-size: 14px; }
  .pc-content { font-size: 14px; }
}

@media (max-width: 480px) {
  .pc-card { padding: 4px; }
  .pc-card__inner { padding: 22px 16px; }
  .pc-title { font-size: 18px; text-underline-offset: 4px; }
  .pc-quote { font-size: 20px; }
  .pc-content h4 { font-size: 15px; }
}