
.rlc-single-template-wrap,
.rlc-campaign-list-v36,
.rlc-review-page-v36 {
  max-width: 1180px;
  margin: 54px auto;
  padding: 0 20px;
}

.rlc-single-campaign {
  margin-bottom: 86px;
  padding-bottom: 86px;
  border-bottom: 1px solid #e8e8e8;
}

.rlc-single-campaign:last-child {
  border-bottom: 0;
}

.rlc-hero-card {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0,0,0,.09);
}

.rlc-info {
  padding: 52px;
}

.rlc-eyebrow {
  margin: 0 0 14px;
  color: #606060;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .9px;
}

.rlc-info h2,
.rlc-form-card h2 {
  margin: 0 0 18px;
  color: #0b0b0b;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.04;
  letter-spacing: -1.8px;
  font-weight: 900;
}

.rlc-subheadline {
  max-width: 640px;
  margin: 0 0 20px;
  color: #171717;
  font-size: 18px;
  line-height: 1.65;
}

.rlc-description {
  max-width: 640px;
  color: #444;
  font-size: 16px;
  line-height: 1.72;
}

.rlc-description p {
  margin: 0 0 14px;
}

.rlc-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.rlc-meta div {
  background: #f6f6f6;
  border-radius: 12px;
  padding: 17px;
}

.rlc-meta strong,
.rlc-meta span {
  display: block;
}

.rlc-meta strong {
  color: #0b0b0b;
  font-weight: 900;
  font-size: 15px;
}

.rlc-meta span {
  color: #666;
  font-size: 14px;
  margin-top: 3px;
}

.rlc-main-image {
  min-height: 430px;
  background: #111;
}

.rlc-main-image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  display: block;
}

.rlc-placeholder {
  height: 100%;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg,#111,#333);
}

.rlc-lower-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) 380px;
  gap: 30px;
  align-items: start;
  margin-top: 30px;
}

.rlc-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.rlc-lower-grid .rlc-gallery {
  margin-top: 0;
}

.rlc-gallery div {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  background: #f3f3f3;
}

.rlc-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.rlc-review-card,
.rlc-form-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(0,0,0,.065);
  padding: 32px;
}

.rlc-review-card h3 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 900;
}

.rlc-review-empty {
  color: #666;
}

.rlc-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #0b0b0b;
  color: #fff;
  border-radius: 999px;
  padding: 9px 15px;
  margin: 8px 0 18px;
  font-size: 14px;
  font-weight: 900;
}

.rlc-rating-badge span {
  background: #ffc400;
  color: #0b0b0b;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rlc-review-short {
  font-size: 16px;
  line-height: 1.65;
}

.rlc-read-more {
  margin: 12px 0 8px;
  padding: 0 0 3px;
  background: none;
  border: 0;
  border-bottom: 3px solid #ffc400;
  color: #0b0b0b;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.rlc-client {
  border-top: 1px solid #e8e8e8;
  padding-top: 18px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.rlc-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0b0b0b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  text-transform: uppercase;
}

.rlc-client strong,
.rlc-client span {
  display: block;
}

.rlc-client span {
  color: #666;
  font-size: 14px;
}

.rlc-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.58);
  z-index: 999999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.rlc-modal.is-open {
  display: flex;
}

.rlc-modal-inner {
  position: relative;
  max-width: 680px;
  width: 100%;
  background: #fff;
  border-radius: 22px;
  padding: 38px;
  box-shadow: 0 20px 70px rgba(0,0,0,.25);
}

.rlc-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: #f2f2f2;
  font-size: 26px;
  cursor: pointer;
}

.rlc-form-card {
  max-width: 860px;
  margin: 42px auto 0;
}

.rlc-form-card p {
  color: #666;
}

.rlc-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.rlc-form-card label {
  display: block;
  font-weight: 800;
  margin: 18px 0 7px;
}

.rlc-form-card input,
.rlc-form-card select,
.rlc-form-card textarea {
  width: 100%;
  border: 1px solid #dcdcdc;
  border-radius: 9px;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

.rlc-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.rlc-choice-grid label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 14px;
  cursor: pointer;
  background: #fff;
  transition: .2s ease;
}

.rlc-choice-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rlc-choice-grid span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f2f2f2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rlc-choice-grid input:checked + span {
  background: #ffc400;
}

.rlc-choice-grid label:has(input:checked) {
  border-color: #ffc400;
  box-shadow: 0 10px 24px rgba(255,196,0,.18);
}

.rlc-form-card textarea {
  resize: vertical;
}

.rlc-checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
}

.rlc-checkbox input {
  width: auto;
  min-height: auto;
  margin-top: 5px;
}

.rlc-form-card button[type="submit"] {
  margin-top: 24px;
  background: #ffc400;
  border: 0;
  border-radius: 9px;
  padding: 15px 28px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.rlc-success,
.rlc-error {
  max-width: 860px;
  margin: 0 auto 24px;
  padding: 16px;
  border-radius: 10px;
}

.rlc-success {
  background: #e7f8ec;
  border: 1px solid #b8e8c6;
}

.rlc-error {
  background: #fff1f1;
  border: 1px solid #f2b6b6;
}

@media (max-width: 900px) {
  .rlc-hero-card,
  .rlc-lower-grid,
  .rlc-meta,
  .rlc-two-cols,
  .rlc-choice-grid {
    grid-template-columns: 1fr;
  }

  .rlc-info {
    padding: 32px;
  }

  .rlc-gallery {
    grid-template-columns: 1fr;
  }

  .rlc-main-image,
  .rlc-main-image img {
    min-height: 280px;
  }
}

/* V3.3 adjustments */
.rlc-avatar { display: none !important; }
.rlc-client { gap: 0; }
.rlc-form-card h2 { content: none; }
.rlc-choice-grid label strong { line-height: 1.2; }

/* V3.4 reviewer display */
.rlc-client strong { margin-bottom: 6px; }
.rlc-client span + span { margin-top: 2px; }

/* V3.6 */
.rlc-client div strong,.rlc-client div span{display:block}.rlc-client div span:first-of-type{margin-top:6px}.rlc-client div span+span{margin-top:2px}

/* V3.7.4 definitive feedback display */
.rlc-client .rlc-avatar { display:none !important; }
.rlc-client > div > strong,
.rlc-client > div > span {
  display:block;
}
.rlc-client > div > span:first-of-type {
  margin-top:6px;
}
.rlc-client > div > span + span {
  margin-top:2px;
}
.rlc-modal .rlc-client {
  display:none !important;
}


/* V3.7.5 primary image fix: no black field under main image */
.rlc-main-image {
  background: #f6f6f6 !important;
  height: 100% !important;
  min-height: 100% !important;
}

.rlc-main-image img {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

.rlc-hero-card {
  align-items: stretch !important;
}
