/* Rish Official contact page customisation */

.rish-contact-page {
  --rish-black: #0e0f11;
  --rish-soft-grey: #f6f6f9;
  color: var(--rish-black);
  font-family: var(--tp-ff-inter);
}

/* A contained booking panel balances the external calendar's smaller UI type. */
.rish-contact-page .rish-contact-container {
  width: 100%;
  max-width: 1440px;
  padding-inline: clamp(24px, 4vw, 64px);
}

.rish-contact-page .rish-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(32px, 4vw, 64px);
}

.rish-contact-page .rish-contact-intro { padding-top: 32px; }
.rish-contact-page .rish-contact-intro .pp-service-details-title {
  font-size: clamp(64px, 6.5vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
}
.rish-contact-page .rish-contact-intro .tp-section-subtitle-clash {
  font-size: 14px;
  margin-bottom: 32px;
}
.rish-contact-page .rish-contact-intro .tp-section-subtitle-clash i { display: none; }
.rish-contact-page .rish-contact-copy p {
  max-width: 360px;
  font-family: var(--tp-ff-inter);
  font-size: 17px;
  line-height: 1.65;
  color: #55555e;
  margin: 0;
}
.rish-contact-page .rish-contact-direct {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #dddde4;
  max-width: 360px;
}
.rish-contact-page .rish-contact-direct > span {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #55555e;
}
.rish-contact-page .rish-contact-direct a {
  display: inline-block;
  padding-block: 10px;
  font-size: 16px;
  overflow-wrap: anywhere;
}
.rish-contact-page .rish-contact-booking {
  min-width: 0;
  padding: clamp(16px, 2vw, 28px);
  border: 1px solid #e4e4eb;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 64px rgba(24, 0, 89, 0.04);
  scroll-margin-top: 32px;
}
.rish-contact-page .rish-contact-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #655987;
  margin-bottom: 12px;
}
.rish-contact-page .rish-booking-heading h2 {
  font-family: var(--tp-ff-inter);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.25;
  margin-bottom: 10px;
}
.rish-contact-page .rish-booking-heading p,
.rish-contact-page .rish-booking-fallback {
  font-family: var(--tp-ff-inter);
  font-size: 14px;
  line-height: 1.6;
  color: #55555e;
}
.rish-contact-page .rish-cal-embed {
  width: 100%;
  min-height: 640px;
  margin-top: 24px;
}
.rish-contact-page .rish-cal-embed iframe {
  display: block;
  width: 100%;
  border: 0;
}
.rish-contact-page .rish-booking-fallback { margin: 16px 0 0; }
.rish-contact-page .rish-booking-fallback a { text-decoration: underline; text-underline-offset: 4px; }
.rish-contact-page .tp-contact-me-ptb:has(.rish-contact-grid) {
  padding-top: 180px;
  padding-bottom: 80px;
}
@media (max-width: 991px) {
  .rish-contact-page .rish-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .rish-contact-page .rish-contact-intro { padding-top: 0; }
  .rish-contact-page .rish-contact-copy p { max-width: 520px; }
  .rish-contact-page .rish-contact-direct { margin-top: 24px; }
  .rish-contact-page .tp-contact-me-ptb:has(.rish-contact-grid) { padding-top: 150px; padding-bottom: 48px; }
}
@media (max-width: 575px) {
  .rish-contact-page .rish-contact-container { padding-inline: 16px; }
  .rish-contact-page .rish-contact-intro .pp-service-details-title { font-size: clamp(54px, 14vw, 72px); }
  .rish-contact-page .rish-contact-booking { border-radius: 16px; padding: 16px 8px; }
  .rish-contact-page .rish-booking-heading,
  .rish-contact-page .rish-booking-fallback { padding-inline: 8px; }
}

.rish-contact-page #magic-cursor #ball {
  background-color: var(--rish-black) !important;
}

.rish-contact-page #magic-cursor #ball .ball-view {
  color: var(--tp-common-white);
}

.rish-contact-page .tp-header-area {
  margin-top: 40px;
}

.rish-contact-page .tp-contact-me-ptb {
  overflow: hidden;
  padding-bottom: clamp(220px, 16vw, 280px);
}

.rish-contact-page .tp-contact-me-ptb .content {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 180px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 180px), transparent 100%);
}

.rish-contact-page .tp-header-logo img {
  max-width: none;
}

.rish-contact-page .tp-header-8-bar {
  color: var(--rish-black);
  font-family: var(--tp-ff-inter);
  font-weight: 600;
  text-transform: uppercase;
}

.rish-contact-page .tp-contact-me-heading .tp-section-subtitle-clash,
.rish-contact-page .tp-contact-me-interest-ptb,
.rish-contact-page .tp-contact-form-input,
.rish-contact-page .tp-contact-category-btn,
.rish-contact-page .pp-footer-copyright-area {
  font-family: var(--tp-ff-inter);
}

.rish-contact-page .tp-contact-me-heading .tp-section-subtitle-clash.clash-subtitle-pos.body-ff::before {
  background-color: var(--rish-black);
}

.rish-contact-page .pp-service-details-title,
.rish-contact-page .tp-contact-me-interest-title,
.rish-contact-page .pp-footer-title {
  font-family: var(--tp-ff-dirtyline);
  font-weight: 400;
}

.rish-contact-page .pp-service-details-title {
  font-size: clamp(72px, 10vw, 150px);
  line-height: 0.82;
  letter-spacing: -0.03em;
}

.rish-contact-page .tp-contact-me-interest-title {
  margin-bottom: 28px;
  font-size: clamp(52px, 6vw, 84px);
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.rish-contact-page .tp-contact-category-btn:hover,
.rish-contact-page .tp-contact-category-btn.active {
  color: var(--tp-common-white);
  border-color: var(--rish-black);
  background-color: var(--rish-black);
}

.rish-contact-page .tp-contact-me-interest-form-wrap .tp-contact-form-input input,
.rish-contact-page .tp-contact-me-interest-form-wrap .tp-contact-form-input textarea {
  border: 1px solid var(--rish-soft-grey);
  background-color: var(--rish-soft-grey);
}

.rish-contact-page .tp-contact-me-interest-form-wrap .tp-contact-form-input input:focus,
.rish-contact-page .tp-contact-me-interest-form-wrap .tp-contact-form-input textarea:focus {
  border-color: var(--rish-black);
  background-color: var(--tp-common-white);
}

.rish-contact-page .tp-contact-me-interest-form-wrap .tp-contact-form-btn button {
  color: var(--tp-common-white);
  background-color: var(--rish-black);
}

.rish-contact-page .tp-contact-me-interest-form-wrap .tp-contact-form-btn button:hover {
  background-color: #292b2f;
}

.rish-contact-page .tp-contact-category-btn:focus-visible,
.rish-contact-page .tp-contact-form-btn button:focus-visible,
.rish-contact-page a:focus-visible {
  outline: 2px solid var(--rish-black);
  outline-offset: 4px;
}

.rish-contact-page .pp-about-shape img,
.rish-contact-page .pp-service-shape img {
  filter: grayscale(1) brightness(0);
  opacity: 0.15;
}

.rish-contact-page .pp-footer-box {
  border-color: var(--rish-black);
  background-color: var(--rish-black);
}

.rish-contact-page .pp-footer-subtitle {
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--tp-ff-inter);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 500;
  line-height: 1;
}

.rish-contact-page .pp-footer-title {
  color: var(--tp-common-white);
  font-size: clamp(48px, 8vw, 128px);
  line-height: 0.85;
  letter-spacing: -0.035em;
}

.rish-contact-page .pp-footer-btn {
  color: var(--tp-common-white);
  border-color: rgba(255, 255, 255, 0.25);
}

.rish-contact-page .pp-footer-btn:hover {
  color: var(--rish-black);
  border-color: var(--tp-common-white);
  background-color: var(--tp-common-white);
}

.rish-contact-page .pp-footer-copyright-text-center::before {
  background-color: var(--rish-black);
}

.rish-contact-page .pp-footer-copyright-text-center::after {
  background-color: rgba(14, 15, 17, 0.14);
}

@media (max-width: 767px) {
  .rish-contact-page .tp-header-area {
    margin-top: 20px;
  }

  .rish-contact-page .tp-contact-me-ptb {
    padding-top: 135px;
    padding-bottom: 100px;
  }

  .rish-contact-page .pp-service-details-title {
    font-size: 64px;
  }

  .rish-contact-page .tp-contact-me-interest-title {
    font-size: 48px;
  }

  .rish-contact-page .pp-footer-title {
    overflow-wrap: anywhere;
  }
}
