/* Ray Health — 2 Columns Template + Contact Form 7 */

body.pharmacymentor-child.page-template-template-2-columns,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php {
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-surface-muted);
}

/* ---------- Hero ---------- */
body.pharmacymentor-child.page-template-template-2-columns .ray-two-col-banner.page-title,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col-banner.page-title {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover !important;
  background-position: center !important;
  padding: clamp(80px, 12vw, 120px) 0 clamp(48px, 8vw, 72px);
  text-align: center;
}

body.pharmacymentor-child.page-template-template-2-columns .ray-two-col-banner.page-title:before,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col-banner.page-title:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 34, 41, 0.55) 0%,
    rgba(51, 51, 51, 0.72) 100%
  );
  z-index: 0;
}

body.pharmacymentor-child.page-template-template-2-columns .ray-two-col-banner .container,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col-banner .container {
  position: relative;
  z-index: 1;
}

body.pharmacymentor-child.page-template-template-2-columns .ray-two-col-banner__title,
body.pharmacymentor-child.page-template-template-2-columns .ray-two-col-banner h1,
body.pharmacymentor-child.page-template-template-2-columns .ray-two-col-banner h2,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col-banner__title,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col-banner h1,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col-banner h2 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.15;
  color: var(--color-white) !important;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  text-transform: none;
}

body.pharmacymentor-child.page-template-template-2-columns .ray-two-col-banner .breadcrumb,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col-banner .breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: transparent;
  font-family: var(--font-primary);
  font-size: 14px;
}

body.pharmacymentor-child.page-template-template-2-columns .ray-two-col-banner .breadcrumb li,
body.pharmacymentor-child.page-template-template-2-columns .ray-two-col-banner .breadcrumb a,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col-banner .breadcrumb li,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col-banner .breadcrumb a {
  color: rgba(255, 255, 255, 0.9) !important;
}

body.pharmacymentor-child.page-template-template-2-columns .ray-two-col-banner .breadcrumb a:hover,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col-banner .breadcrumb a:hover {
  color: var(--color-gold) !important;
}

body.pharmacymentor-child.page-template-template-2-columns .ray-two-col-banner .breadcrumb > li + li:before,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col-banner .breadcrumb > li + li:before {
  color: var(--color-gold) !important;
  padding: 0 6px;
}

/* ---------- Main layout ---------- */
body.pharmacymentor-child.page-template-template-2-columns .ray-two-col.section-padding,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col.section-padding {
  background: var(--color-surface-muted) !important;
  padding: clamp(40px, 6vw, 72px) 0 !important;
}

body.pharmacymentor-child.page-template-template-2-columns .ray-two-col__row,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col__row {
  align-items: flex-start;
}

/* Left copy */
body.pharmacymentor-child.page-template-template-2-columns .ray-two-col__copy,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col__copy {
  font-family: var(--font-primary);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.7;
  color: var(--color-dark);
  text-align: left !important;
  padding-right: clamp(0px, 2vw, 24px);
}

body.pharmacymentor-child.page-template-template-2-columns .ray-two-col__copy p,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col__copy p {
  margin: 0 0 1.15em;
  text-align: left !important;
}

body.pharmacymentor-child.page-template-template-2-columns .ray-two-col__copy h1,
body.pharmacymentor-child.page-template-template-2-columns .ray-two-col__copy h2,
body.pharmacymentor-child.page-template-template-2-columns .ray-two-col__copy h3,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col__copy h1,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col__copy h2,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col__copy h3 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 0.85em;
  text-align: left !important;
}

body.pharmacymentor-child.page-template-template-2-columns .ray-two-col__copy a,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col__copy a {
  color: var(--color-gold-dark);
  font-weight: 600;
}

body.pharmacymentor-child.page-template-template-2-columns .ray-two-col__copy ul,
body.pharmacymentor-child.page-template-template-2-columns .ray-two-col__copy ol,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col__copy ul,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col__copy ol {
  margin: 0 0 1.25em;
  padding-left: 1.35em;
  text-align: left;
}

/* Right form card */
body.pharmacymentor-child.page-template-template-2-columns .ray-two-col__form,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col__form {
  width: 100%;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
}

body.pharmacymentor-child.page-template-template-2-columns .ray-two-col__form > h1,
body.pharmacymentor-child.page-template-template-2-columns .ray-two-col__form > h2,
body.pharmacymentor-child.page-template-template-2-columns .ray-two-col__form > h3,
body.pharmacymentor-child.page-template-template-2-columns .ray-two-col__form > h4,
body.pharmacymentor-child.page-template-template-2-columns .ray-two-col__form > p:first-child,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col__form > h1,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col__form > h2,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col__form > h3,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col__form > h4,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col__form > p:first-child {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: var(--color-dark);
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

/* ---------- Contact Form 7 ---------- */
body.pharmacymentor-child.page-template-template-2-columns .wpcf7,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 {
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

body.pharmacymentor-child.page-template-template-2-columns .wpcf7 form,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 form {
  margin: 0;
}

body.pharmacymentor-child.page-template-template-2-columns .wpcf7 label,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 label {
  display: block;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-dark) !important;
  margin-bottom: 8px;
}

body.pharmacymentor-child.page-template-template-2-columns .wpcf7 p,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 p {
  margin-bottom: 1.1rem !important;
}

body.pharmacymentor-child.page-template-template-2-columns .wpcf7 input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
body.pharmacymentor-child.page-template-template-2-columns .wpcf7 select,
body.pharmacymentor-child.page-template-template-2-columns .wpcf7 textarea,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 select,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 textarea {
  width: 100%;
  height: 52px;
  border: 1.5px solid var(--color-border-strong) !important;
  border-radius: 12px !important;
  padding: 0 16px !important;
  background: var(--color-white) !important;
  color: var(--color-dark) !important;
  font-family: var(--font-primary) !important;
  font-size: 15px !important;
  box-shadow: none !important;
  transition: border-color var(--transition-ui), box-shadow var(--transition-ui);
  appearance: none;
  -webkit-appearance: none;
}

body.pharmacymentor-child.page-template-template-2-columns .wpcf7 select,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333333' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 12px 8px !important;
  padding-right: 40px !important;
  cursor: pointer;
}

body.pharmacymentor-child.page-template-template-2-columns .wpcf7 textarea,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 textarea {
  height: auto !important;
  min-height: 140px;
  padding: 14px 16px !important;
  resize: vertical;
}

body.pharmacymentor-child.page-template-template-2-columns .wpcf7 input:focus:not([type="submit"]):not([type="file"]),
body.pharmacymentor-child.page-template-template-2-columns .wpcf7 select:focus,
body.pharmacymentor-child.page-template-template-2-columns .wpcf7 textarea:focus,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 input:focus:not([type="submit"]):not([type="file"]),
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 select:focus,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 textarea:focus {
  border-color: var(--color-gold) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(221, 181, 84, 0.28) !important;
}

body.pharmacymentor-child.page-template-template-2-columns .wpcf7 input::placeholder,
body.pharmacymentor-child.page-template-template-2-columns .wpcf7 textarea::placeholder,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 input::placeholder,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 textarea::placeholder {
  color: #9a9a9a;
  opacity: 1;
}

/* File upload */
body.pharmacymentor-child.page-template-template-2-columns .wpcf7 input[type="file"],
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 input[type="file"] {
  width: 100%;
  padding: 16px !important;
  border: 1.5px dashed var(--color-gold) !important;
  border-radius: 12px !important;
  background: var(--color-cream) !important;
  color: var(--color-dark) !important;
  font-family: var(--font-primary) !important;
  font-size: 14px !important;
  cursor: pointer;
  height: auto !important;
  box-shadow: none !important;
}

body.pharmacymentor-child.page-template-template-2-columns .wpcf7 input[type="file"]:hover,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 input[type="file"]:hover {
  border-color: var(--color-gold-dark) !important;
  background: #f7edd8 !important;
}

body.pharmacymentor-child.page-template-template-2-columns .wpcf7 .wpcf7-form-control-wrap,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 .wpcf7-form-control-wrap {
  display: block;
}

/* Submit — gold pill */
body.pharmacymentor-child.page-template-template-2-columns .wpcf7 input[type="submit"],
body.pharmacymentor-child.page-template-template-2-columns .wpcf7 button[type="submit"],
body.pharmacymentor-child.page-template-template-2-columns .wpcf7 .wpcf7-submit,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 input[type="submit"],
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 button[type="submit"],
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 .wpcf7-submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  width: auto;
  min-width: 180px;
  margin-top: 0.5rem;
  padding: 16px 36px !important;
  border: none !important;
  border-radius: var(--radius-pill) !important;
  background: var(--color-gold) !important;
  background-image: none !important;
  color: var(--color-dark) !important;
  font-family: var(--font-primary) !important;
  font-weight: 600 !important;
  font-size: 17px !important;
  line-height: 1 !important;
  text-transform: none !important;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: transform var(--transition-fast), filter var(--transition-ui),
    box-shadow var(--transition-ui);
}

body.pharmacymentor-child.page-template-template-2-columns .wpcf7 input[type="submit"]:hover,
body.pharmacymentor-child.page-template-template-2-columns .wpcf7 .wpcf7-submit:hover,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 input[type="submit"]:hover,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 .wpcf7-submit:hover {
  filter: brightness(1.03);
  box-shadow: var(--shadow-raised);
  transform: translateY(-1px);
  color: var(--color-dark) !important;
  background: var(--color-gold) !important;
}

body.pharmacymentor-child.page-template-template-2-columns .wpcf7-not-valid,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7-not-valid {
  border-color: #c44 !important;
}

body.pharmacymentor-child.page-template-template-2-columns .wpcf7-not-valid-tip,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7-not-valid-tip {
  color: #c44;
  font-family: var(--font-primary);
  font-size: 13px;
  margin-top: 6px;
}

body.pharmacymentor-child.page-template-template-2-columns .wpcf7-response-output,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7-response-output {
  margin: 1.25rem 0 0 !important;
  padding: 14px 18px !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  background: var(--color-cream) !important;
  color: var(--color-dark) !important;
  font-family: var(--font-primary);
  font-size: 14px;
  line-height: 1.45;
}

body.pharmacymentor-child.page-template-template-2-columns .wpcf7 form.invalid .wpcf7-response-output,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 form.invalid .wpcf7-response-output {
  background: #fdf2f2 !important;
  color: #8a1f1f !important;
}

body.pharmacymentor-child.page-template-template-2-columns .wpcf7 form.sent .wpcf7-response-output,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 form.sent .wpcf7-response-output {
  background: #f1faf4 !important;
  color: #1a5c32 !important;
}

/* CF7 half columns if used */
body.pharmacymentor-child.page-template-template-2-columns .wpcf7 .row,
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 .row {
  row-gap: 0;
  margin-left: -8px;
  margin-right: -8px;
}

body.pharmacymentor-child.page-template-template-2-columns .wpcf7 [class*="col-"],
body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}

@media (max-width: 991px) {
  body.pharmacymentor-child.page-template-template-2-columns .ray-two-col__copy,
  body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col__copy {
    padding-right: 0;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 767px) {
  body.pharmacymentor-child.page-template-template-2-columns .ray-two-col-banner.page-title,
  body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col-banner.page-title {
    min-height: 220px;
    padding: 100px 0 48px;
  }

  body.pharmacymentor-child.page-template-template-2-columns .ray-two-col__form,
  body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .ray-two-col__form {
    padding: 20px 18px;
    border-radius: 16px;
  }

  body.pharmacymentor-child.page-template-template-2-columns .wpcf7 input[type="submit"],
  body.pharmacymentor-child.page-template-page-templates-template-2-columns-php .wpcf7 input[type="submit"] {
    width: 100%;
  }
}
