/*
 * JRO About page
 * Scoped to page ID 4555. The previous page was a Garage demo import;
 * these rules keep the new shortcode independent of Elementor/plugin CSS.
 */

body.page-id-4555 .jro-page-wrapper > .jro-container {
  max-width: none;
  padding: 0 !important;
}

body.page-id-4555 .jro-page-wrapper .entry-header {
  display: none;
}

body.page-id-4555 .jro-page-wrapper .entry-content {
  margin: 0;
  padding: 0;
  max-width: none;
}

.jro-about-page {
  --jro-about-panel: #161a20;
  --jro-about-border: rgba(255, 255, 255, 0.11);
  max-width: var(--jro-max-width);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 88px) var(--jro-gutter-desktop) clamp(56px, 8vw, 104px);
  color: var(--jro-text-primary);
  overflow: hidden;
}

.jro-about-page,
.jro-about-page * {
  box-sizing: border-box;
}

.jro-about-page h1,
.jro-about-page h2,
.jro-about-page p {
  margin-top: 0;
}

.jro-about-page h1,
.jro-about-page h2 {
  color: var(--jro-text-primary);
}

.jro-about-page p {
  color: var(--jro-text-secondary);
}

.jro-about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  margin-bottom: clamp(56px, 8vw, 104px);
}

.jro-about-eyebrow {
  margin-bottom: 14px !important;
  color: var(--jro-maroon-hover) !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.jro-about-page[dir="rtl"] .jro-about-eyebrow {
  letter-spacing: 0;
}

.jro-about-hero h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(2.1rem, 5vw, 4.3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.jro-about-lead {
  max-width: 620px;
  margin-bottom: 16px !important;
  font-size: clamp(1.08rem, 1.6vw, 1.34rem);
  line-height: 1.65;
}

.jro-about-body {
  max-width: 610px;
  margin-bottom: 30px !important;
  font-size: 1rem;
  line-height: 1.75;
}

.jro-about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.jro-about-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: var(--jro-border-radius);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.jro-about-button:hover,
.jro-about-button:focus-visible {
  transform: translateY(-1px);
}

.jro-about-button-primary {
  background: var(--jro-maroon);
  color: #fff !important;
}

.jro-about-button-primary:hover,
.jro-about-button-primary:focus-visible {
  background: var(--jro-maroon-hover);
}

.jro-about-button-secondary {
  border-color: var(--jro-about-border);
  background: transparent;
  color: var(--jro-text-primary) !important;
}

.jro-about-button-secondary:hover,
.jro-about-button-secondary:focus-visible {
  border-color: var(--jro-text-secondary);
  background: var(--jro-about-panel);
}

.jro-about-hero-media {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--jro-about-border);
  border-radius: 18px;
  background: var(--jro-about-panel);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.jro-about-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.jro-about-hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 13, 16, 0.04) 30%, rgba(11, 13, 16, 0.78) 100%);
  content: "";
  pointer-events: none;
}

.jro-about-hero-badge {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  left: 20px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.jro-about-page[dir="rtl"] .jro-about-hero-badge {
  text-align: right;
}

.jro-about-promise {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: center;
  margin-bottom: clamp(56px, 8vw, 104px);
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--jro-about-border);
  border-right: 4px solid var(--jro-maroon);
  border-radius: var(--jro-border-radius-lg);
  background: var(--jro-about-panel);
}

.jro-about-page[dir="rtl"] .jro-about-promise {
  border-right: 1px solid var(--jro-about-border);
  border-left: 4px solid var(--jro-maroon);
}

.jro-about-promise h2,
.jro-about-section-heading h2,
.jro-about-panel h2 {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 750;
  line-height: 1.2;
}

.jro-about-promise p:last-child {
  margin-bottom: 0;
  font-size: 1.02rem;
  line-height: 1.75;
}

.jro-about-section {
  margin-bottom: clamp(56px, 8vw, 104px);
}

.jro-about-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.jro-about-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.jro-about-category-card {
  position: relative;
  display: block;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid var(--jro-about-border);
  border-radius: var(--jro-border-radius-lg);
  background: var(--jro-about-panel);
  color: #fff !important;
  text-decoration: none !important;
}

.jro-about-category-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 13, 16, 0.04) 16%, rgba(11, 13, 16, 0.82) 100%);
  content: "";
  transition: background 0.2s ease;
}

.jro-about-category-card:hover::after,
.jro-about-category-card:focus-visible::after {
  background: linear-gradient(180deg, rgba(158, 23, 53, 0.08) 16%, rgba(11, 13, 16, 0.88) 100%);
}

.jro-about-category-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.jro-about-category-overlay {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 14px;
  left: 16px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.25;
}

.jro-about-category-arrow {
  color: var(--jro-maroon-hover);
  font-size: 1.35rem;
  line-height: 1;
}

.jro-about-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 16px;
}

.jro-about-panel {
  min-height: 280px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--jro-about-border);
  border-radius: var(--jro-border-radius-lg);
  background: var(--jro-about-panel);
}

.jro-about-panel h2 {
  margin-bottom: 20px;
}

.jro-about-empty {
  margin-bottom: 0 !important;
  color: var(--jro-text-muted) !important;
  line-height: 1.7;
}

.jro-about-review-list {
  display: grid;
  gap: 12px;
}

.jro-about-review {
  padding-top: 14px;
  border-top: 1px solid var(--jro-about-border);
}

.jro-about-review:first-child {
  padding-top: 0;
  border-top: 0;
}

.jro-about-review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  color: var(--jro-text-primary);
  font-size: 0.88rem;
  font-weight: 650;
}

.jro-about-stars {
  color: #e7b64a;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.jro-about-review p {
  margin-bottom: 5px !important;
  font-size: 0.93rem;
  line-height: 1.65;
}

.jro-about-review small {
  color: var(--jro-text-muted);
  font-size: 0.78rem;
}

.jro-about-social {
  position: relative;
  overflow: hidden;
}

.jro-about-social::after {
  position: absolute;
  right: -34px;
  bottom: -70px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(181, 29, 61, 0.36);
  border-radius: 50%;
  box-shadow: 0 0 0 20px rgba(181, 29, 61, 0.06), 0 0 0 40px rgba(181, 29, 61, 0.04);
  content: "";
  pointer-events: none;
}

.jro-about-page[dir="rtl"] .jro-about-social::after {
  right: auto;
  left: -34px;
}

.jro-about-social-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--jro-maroon-hover);
}

.jro-about-social-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.jro-about-social .jro-about-button {
  position: relative;
  z-index: 1;
  margin-top: 5px;
}

.jro-about-social-secondary {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-inline-start: 10px;
  padding: 11px 4px;
  color: var(--jro-text-secondary) !important;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

@media (max-width: 1023px) {
  .jro-about-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .jro-about-page {
    padding-right: var(--jro-gutter-mobile);
    padding-left: var(--jro-gutter-mobile);
  }

  .jro-about-hero,
  .jro-about-promise,
  .jro-about-lower-grid {
    grid-template-columns: 1fr;
  }

  .jro-about-hero {
    gap: 28px;
    margin-bottom: 56px;
  }

  .jro-about-hero h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .jro-about-hero-media,
  .jro-about-hero-image {
    min-height: 220px;
  }

  .jro-about-promise {
    gap: 16px;
    margin-bottom: 56px;
    padding: 24px 20px;
  }

  .jro-about-category-grid {
    grid-template-columns: 1fr;
  }

  .jro-about-category-card,
  .jro-about-category-image {
    min-height: 210px;
  }

  .jro-about-section {
    margin-bottom: 56px;
  }

  .jro-about-social-secondary {
    margin-inline-start: 6px;
  }
}
