/*
Theme Name: Rashid Center
Theme URI: https://c3b.24a.myftpupload.com/
Author: Rashid Center
Description: Responsive dark editorial WordPress theme for Rashid Center for Physical Therapy.
Version: 1.2.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: rashid-center
*/

:root {
  --black: #0A0A0A;
  --dark: #141414;
  --card: #1C1C1C;
  --rashid-header-bg: transparent;
  --rashid-header-bg-scrolled: rgba(10, 10, 10, 0.94);
  --rashid-header-border: rgba(201, 169, 110, 0.18);
  --rashid-header-text: rgba(255, 255, 255, 0.9);
}

.rc-nav,
#nav {
  background: var(--rashid-header-bg) !important;
  border-bottom: 1px solid transparent !important;
  padding: 30px 0 !important;
  transform: translateY(0);
  will-change: transform;
  transition:
    transform 0.46s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    background 0.35s ease,
    border-color 0.35s ease,
    padding 0.35s ease;
}

.rc-nav.is-hidden,
#nav.is-hidden {
  transform: translateY(-112%);
}

.rc-nav.is-scrolled,
#nav.is-scrolled,
#nav.scrolled {
  background: var(--rashid-header-bg-scrolled) !important;
  border-bottom-color: var(--rashid-header-border) !important;
  backdrop-filter: blur(18px);
  padding: 22px 0 !important;
}

.rc-nav__logo,
.nav-logo {
  display: inline-flex;
  align-items: center;
  min-height: 66px;
}

.rc-nav__logo img,
.nav-logo img {
  display: block;
  width: auto;
  max-width: 267px;
  height: 66px;
  object-fit: contain;
}

.rc-nav__logo img,
#nav.scrolled .nav-logo img {
  filter: brightness(0) invert(1);
}

/* Desktop: logo 20% larger than the base size. */
@media (min-width: 1025px) {
  .rc-nav__logo,
  .nav-logo {
    min-height: 79px;
  }

  .rc-nav__logo img,
  .nav-logo img {
    max-width: 320px;
    height: 79px;
  }
}

.rc-nav__links,
.nav-links {
  gap: clamp(24px, 2.4vw, 48px) !important;
}

.rc-nav__links a,
.nav-links a {
  color: var(--rashid-header-text) !important;
  font-size: 14.4px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.rc-nav__links a:hover,
.rc-nav__links a.is-active,
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold, #c9a96e) !important;
}

.rc-nav__toggle span,
.hamburger span {
  background: var(--rashid-header-text) !important;
}

.container,
.rc-nav__inner,
.rc-hero__inner,
.rc-intro__inner,
.wpc__inner,
.rc-srv__header,
.rc-srv__layout,
.rc-tp__timeline,
.rc-tp__cta-wrap,
.rc-testi__carousel,
.rc-footer__inner,
.rc-footer__bottom {
  width: min(100% - 80px, 1400px) !important;
  max-width: 1400px !important;
}

.container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.site-footer {
  position: relative !important;
  z-index: 2 !important;
  background: #050505 !important;
  border-top: 1px solid rgba(201, 169, 110, 0.14) !important;
  padding: 78px 0 34px !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

.site-footer__anchor {
  position: absolute;
  top: -96px;
  left: 0;
  width: 1px;
  height: 1px;
}

.site-footer__inner {
  width: min(100% - 80px, 1400px) !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(260px, 1.45fr) minmax(150px, 0.75fr) minmax(230px, 1fr) minmax(220px, 0.9fr) !important;
  gap: clamp(30px, 4vw, 58px) !important;
  align-items: start !important;
  border: 0 !important;
  padding: 0 0 54px !important;
  background: transparent !important;
  margin-bottom: 0 !important;
}

.site-footer__logo {
  display: inline-flex !important;
  align-items: center !important;
  margin-bottom: 20px !important;
}

.site-footer__logo img {
  display: block !important;
  width: 190px !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
}

.site-footer__heading {
  display: block !important;
  margin: 0 0 18px !important;
  font-family: "Jost", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.22em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  color: var(--gold, #c9a96e) !important;
}

.site-footer__text {
  max-width: 470px !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 16px !important;
  line-height: 1.72 !important;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72) !important;
  text-decoration: none !important;
  transition: color 0.25s ease !important;
}

.site-footer a:hover {
  color: var(--gold, #c9a96e) !important;
}

.site-footer__links {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  align-items: flex-start !important;
}

.site-footer__links a {
  display: block !important;
  font-family: "Jost", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  line-height: 1.5 !important;
  text-transform: uppercase !important;
}

.site-footer__addresses p {
  margin: 0 0 18px !important;
  color: rgba(255, 255, 255, 0.64) !important;
  font-size: 14px !important;
  line-height: 1.72 !important;
}

.site-footer__addresses p:last-child {
  margin-bottom: 0 !important;
}

.site-footer__addresses span {
  display: block !important;
  margin-bottom: 4px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

.site-footer__contact {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 10px !important;
  text-align: left !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
}

.site-footer__bottom {
  width: min(100% - 80px, 1400px) !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding-top: 28px !important;
  border-top: 1px solid rgba(201, 169, 110, 0.12) !important;
  display: flex !important;
  justify-content: space-between !important;
  gap: 24px !important;
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 13px !important;
}

@media (max-width: 1080px) {
  .site-footer__inner {
    grid-template-columns: minmax(260px, 1.2fr) minmax(180px, 0.8fr) !important;
  }
}

#contact-hero {
  background: var(--black, #0a0a0a) !important;
  color: #fff !important;
}

#contact-hero::before {
  opacity: 0.72 !important;
}

#contact-hero::after {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.7) 44%, rgba(10, 10, 10, 0.36) 76%, rgba(10, 10, 10, 0.68) 100%),
    linear-gradient(0deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0) 52%) !important;
}

.contact-hero__content {
  color: #fff !important;
}

.contact-breadcrumb,
.contact-breadcrumb a {
  color: rgba(255, 255, 255, 0.72) !important;
}

.contact-hero__content h1 {
  color: #fff !important;
  font-family: "Cormorant Garamond", serif !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.contact-hero__content p {
  color: rgba(255, 255, 255, 0.86) !important;
  font-family: "Jost", sans-serif !important;
  font-size: clamp(18px, 1.5vw, 23px) !important;
  line-height: 1.75 !important;
  max-width: 620px !important;
}

#contact-hero .btn-primary {
  min-width: 0 !important;
  border-radius: 0 !important;
  padding: 16px 34px !important;
  font-family: "Jost", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

@media (max-width: 640px) {
  .rc-nav__logo img,
  .nav-logo img {
    max-width: 222px;
    height: 57px;
  }

  .rc-nav,
  #nav {
    padding: 18px 0 !important;
  }

  .container,
  .rc-nav__inner,
  .rc-hero__inner,
  .rc-intro__inner,
  .wpc__inner,
  .rc-srv__header,
  .rc-srv__layout,
  .rc-tp__timeline,
  .rc-tp__cta-wrap,
  .rc-testi__carousel,
  .rc-footer__inner,
  .rc-footer__bottom,
  .site-footer__inner,
  .site-footer__bottom {
    width: min(100% - 32px, 1400px) !important;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    padding: 0 0 36px !important;
  }

  .site-footer__contact {
    text-align: left;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 8px;
  }
}


/* ===========================================================
   MOBILE FIXES - November 2026
   1. no custom cursor / scroll-progress bar on touch devices
   2. footer collapses to one column (no horizontal overflow)
   3. services accordion: duplicate panel title hidden
   4. testimonial card goes full-width and shrinks to its text
   =========================================================== */

/* -- 1. Kill the custom cursor and the top scroll-progress bar -- */
@media (max-width: 900px), (hover: none), (pointer: coarse) {
  #sp,
  #cur,
  #curR,
  .rc-cursor,
  .rc-cursor-glow {
    display: none !important;
  }

  html,
  body,
  .rc-all,
  .rc-all *,
  a,
  button,
  [role="button"] {
    cursor: auto !important;
  }
}

/* -- 2. Footer: one column on tablets/phones.
   The max-width:1080px rule above forces 2 columns with !important,
   so these have to be !important too. -- */
@media (max-width: 860px) {
  .site-footer__inner {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  .site-footer__inner > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .site-footer__text,
  .site-footer__addresses p {
    max-width: 100% !important;
  }

  .site-footer__links,
  .site-footer__addresses,
  .site-footer__contact {
    text-align: left !important;
  }

  .site-footer a,
  .site-footer p,
  .site-footer span {
    overflow-wrap: anywhere !important;
  }

  .site-footer__bottom {
    flex-direction: column !important;
    gap: 8px !important;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 56px 0 30px !important;
  }

  .site-footer__inner {
    padding: 0 0 34px !important;
  }

  .site-footer__logo img {
    width: 168px !important;
  }

  .site-footer__text,
  .site-footer__contact,
  .site-footer__addresses p {
    font-size: 15px !important;
  }
}

/* -- 3. Services accordion: the row already shows the service name,
   so hide the repeated title inside the open panel on mobile -- */
@media (max-width: 768px) {
  .rc-srv__body .rc-srv__panel-title {
    display: none !important;
  }

  .rc-srv__body-inner {
    padding-top: 10px !important;
  }
}

/* -- 4. Testimonials: wide card, height follows the quote -- */
@media (max-width: 640px) {
  .rc-testi__carousel {
    padding: 0 !important;
    overflow: visible !important;
  }

  .rc-testi__track-wrap {
    overflow: hidden !important;
    transition: height .45s cubic-bezier(.25, .46, .45, .94);
  }

  .rc-testi__track {
    align-items: flex-start !important;
  }

  .rc-tc {
    flex: 0 0 100% !important;
    padding: 30px 24px !important;
  }

  .rc-tc__q {
    font-size: 44px !important;
    margin-bottom: 10px !important;
  }

  .rc-tc__text {
    font-size: 16.5px !important;
    line-height: 1.66 !important;
    margin-bottom: 20px !important;
  }

  /* arrows drop below the card and flank the dots */
  .rc-testi__btn {
    top: auto !important;
    bottom: 0 !important;
    transform: none !important;
    width: 40px !important;
    height: 40px !important;
  }

  .rc-testi__btn--prev {
    left: calc(50% - 86px) !important;
  }

  .rc-testi__btn--next {
    right: calc(50% - 86px) !important;
  }

  .rc-testi__dots {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 40px !important;
    margin-top: 26px !important;
  }
}

/* -- 5. Contact page: keep the team photos two-up on phones -- */
@media (max-width: 520px) {
  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .admin-meta {
    padding: 14px 12px !important;
  }

  .admin-meta h3 {
    font-size: 17px !important;
    line-height: 1.25 !important;
  }

  .admin-meta p {
    font-size: 9.5px !important;
    letter-spacing: .12em !important;
    line-height: 1.4 !important;
  }
}
