/* --- Section Layout --- */
.pharmacy-section {
  /*background-color: var(--paper);*/
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: inherit;
  color: var(--ink);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 32px;
  text-align: left;
}

/* --- Grid Layout --- */
.indiv-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: start;
}

.card-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 38, 98, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 38, 98, 0.08);
}

.card-image-container {
  width: 100%;
  background-color: var(--navy-deep);
}

.card-image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-top: 0;
  margin-bottom: 12px;
  font-weight: 700;
}

.card-blurb {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 24px;
  flex-grow: 1;
}


/* --- Button Styles --- */
.btn-yellow {
  background-color: var(--teal);
  color: var(--white);
  border: none;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease;
}

.btn-yellow:hover {
  background-color: var(--teal-light);
}

.see-all-wrap {
  margin-top: 40px;
  text-align: center;
}

.see-all-btn {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--teal);
  padding-bottom: 2px;
}

.see-all-btn:hover {
  color: var(--teal);
}


/* --- Modal Overlay & Two-Column Layout --- */
.squiz-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 20, 56, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.squiz-modal-content {
  background: var(--white);
  width: 100%;
  max-width: 900px; /* Widened to accommodate two columns */
  max-height: 90vh;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 20, 56, 0.16);
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* Left column (image) vs Right column (content) */
  position: relative;
  border: 1px solid var(--line);
}

/* Close button placed absolute over the entire modal grid */
.close-modal-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--paper-dim);
  border: none;
  color: var(--ink);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}

.close-modal-btn:hover {
  background: var(--teal);
  color: var(--white);
}

/* Left Column: Full Image Display */
.modal-left-column {
  background: var(--paper-dim);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-right: 1px solid var(--line);
}

.modal-image-container img {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Right Column: Scrollable Content & Captions */
.modal-right-column {
  padding: 32px 24px 24px 24px;
  overflow-y: auto;
  max-height: 90vh;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.modal-right-column h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.35rem;
  color: var(--navy-deep);
}

/* --- Channel Group Elements --- */
.channel-group {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.channel-group:last-child {
  margin-bottom: 0;
}

.channel-group h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--navy);
}

.channel-group p {
  color: var(--ink);
  font-size: 0.85rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* Channel Status Dots */
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.fb-dot { background-color: #1877f2; }
.ig-dot { background-color: #e4405f; }
.li-dot { background-color: #0a66c2; }

.copy-text-btn {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.copy-text-btn:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

/* Responsive adjustment for smaller screens: stack columns vertically */
@media (max-width: 768px) {
  .squiz-modal-content {
    grid-template-columns: 1fr;
    max-height: 95vh;
  }
  .modal-left-column {
    padding: 16px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
}