:root{
  --rhp-blue:#07324d;
  --rhp-blue-2:#0d4564;
  --rhp-dark:#061c2f;
  --rhp-gold:#c99a62;
  --rhp-text:#102638;
  --rhp-muted:#667889;
  --rhp-white:#fff;
  --rhp-shadow:0 18px 56px rgba(3,26,43,.16);
}
html.rhp-is-dragging, html.rhp-is-dragging *{user-select:none!important;-webkit-user-select:none!important}

/* Keep theme titles hidden on project inner pages; plugin prints its own H1 below main image */
.single-rh_project .entry-title,
.single-rh_project .page-title,
.single-rh_project h1.entry-title,
.single-portfolio .entry-title,
.single-portfolio .page-title,
.single-portfolio h1.entry-title{display:none!important}

.rhp-archive-page{margin:0;padding:0 0 70px;background:#fff;color:var(--rhp-text)}
.rhp-archive-head{
  width:min(1180px,calc(100% - 32px));
  margin:0 auto 34px;
  padding:62px 0 10px;
  text-align:center;
}
.rhp-archive-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
  color:var(--rhp-gold);
  font-size:13px;
  line-height:1;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.rhp-archive-kicker:before,
.rhp-archive-kicker:after{content:"";width:38px;height:1px;background:var(--rhp-gold);opacity:.7}
.rhp-archive-head h1{
  margin:0!important;
  padding:0!important;
  color:var(--rhp-text)!important;
  font-size:clamp(30px,4vw,54px)!important;
  line-height:1.08!important;
  font-weight:900!important;
  letter-spacing:-.045em;
}
.rhp-archive-head p{
  max-width:620px;
  margin:14px auto 0!important;
  color:#64778a;
  font-size:16px;
  line-height:1.65;
}

/* Archive/status pages: no automatic page H1/subtitles */
.rhp-archive-grid-page{padding-top:42px}
.rhp-archive-grid-page .rhp-archive-head{display:none!important}

/* FULL WIDTH MAIN SLIDER - transparent section, no radius */
.rhp-slider-section{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  padding:58px 0 50px;
  overflow:hidden;
  position:relative;
  background:transparent!important;
}
.rhp-slider-section:before{content:none!important}
.rhp-slider{
  --rhp-slide-width:clamp(650px,45vw,880px);
  position:relative;
  width:100%;
  z-index:1;
}
.rhp-scroller{
  display:flex;
  gap:36px;
  width:max-content;
  max-width:none;
  overflow:visible;
  cursor:grab;
  padding:0 calc((100vw - var(--rhp-slide-width))/2) 30px;
  user-select:none;
  touch-action:pan-y;
  will-change:transform;
  transform:translate3d(0,0,0);
  box-sizing:border-box;
}
.rhp-scroller::-webkit-scrollbar{display:none}
.rhp-scroller.is-dragging{cursor:grabbing!important}
.rhp-scroller.is-dragging .rhp-card-link{cursor:grabbing!important}
.rhp-slide{flex:0 0 var(--rhp-slide-width);min-width:0}
.rhp-slide.is-clone{pointer-events:auto}
.rhp-card-link{
  display:block;
  touch-action:pan-y;
  cursor:grab;
  -webkit-user-drag:none;
  position:relative;
  height:clamp(410px,31vw,565px);
  overflow:hidden;
  border-radius:0!important;
  color:#fff!important;
  text-decoration:none!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:translateZ(0);
  isolation:isolate;
}
.rhp-card-img,
.rhp-card-link img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .7s ease;-webkit-user-drag:none;user-drag:none;pointer-events:none}
.rhp-card-link:active{cursor:grabbing}
.rhp-card-link:hover .rhp-card-img,
.rhp-card-link:hover img{transform:scale(1.025)}
.rhp-card-placeholder{width:100%;height:100%;display:block;background:#dce6ec}
.rhp-card-overlay,
.rhp-grid-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(180deg,rgba(5,22,35,.08),rgba(5,22,35,.25) 45%,rgba(3,17,29,.80)),
    linear-gradient(90deg,rgba(2,18,31,.42),transparent 58%);
  pointer-events:none;
}
.rhp-status-badge,
.rhp-grid-status{
  position:absolute;
  z-index:2;
  top:26px;
  left:28px;
  display:inline-flex;
  align-items:center;
  max-width:calc(100% - 56px);
  min-height:34px;
  padding:7px 15px;
  border-radius:999px;
  color:#fff;
  font-size:14px;
  line-height:1.25;
  font-weight:800;
  letter-spacing:-.01em;
}
.rhp-status-badge:before,
.rhp-grid-status:before{
  content:"";
  width:7px;
  height:7px;
  flex:0 0 7px;
  margin-right:8px;
  border-radius:50%;
  background:var(--rhp-gold);
  box-shadow:0 0 0 4px rgba(201,154,98,.16);
}
.rhp-card-content,
.rhp-grid-content{position:absolute;z-index:2;left:38px;right:30px;bottom:34px;display:block}
.rhp-title-line{width:40px;height:2px;margin-bottom:14px;display:block;background:var(--rhp-gold)}
.rhp-card-title,
.rhp-grid-title{
  margin:0!important;
  padding:0!important;
  color:#fff!important;
  font-size:clamp(26px,2.05vw,38px)!important;
  line-height:1.13!important;
  font-weight:900!important;
  letter-spacing:-.035em;
  text-shadow:0 3px 18px rgba(0,0,0,.32);
}
.rhp-address{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:10px;
  color:rgba(255,255,255,.95);
  font-size:clamp(14px,1.05vw,16px);
  line-height:1.45;
  font-weight:700;
  text-shadow:0 3px 16px rgba(0,0,0,.36);
}
.rhp-address-icon{
  width:18px;
  height:18px;
  flex:0 0 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--rhp-gold);
  filter:drop-shadow(0 2px 8px rgba(0,0,0,.28));
}
.rhp-address-icon svg{width:18px;height:18px;display:block;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}

/* Arrows hidden on desktop; visible only on mobile */
.rhp-arrow{display:none!important}

.rhp-lines{display:flex;justify-content:center;align-items:center;gap:12px;min-height:34px;margin-top:0;padding:8px 0}
.rhp-lines button{
  position:relative;
  width:86px!important;
  height:22px!important;
  padding:10px 0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  cursor:pointer;
  transition:none!important;
}
.rhp-lines button:before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:50%;
  height:2px;
  transform:translateY(-50%);
  background:rgba(13,49,73,.25);
  transition:background .08s linear;
}
.rhp-lines button.is-active{width:86px!important;background:transparent!important}
.rhp-lines button.is-active:before{background:var(--rhp-gold)!important}

/* GRID / CATEGORY CARDS - 2 columns, slider-like cards */
.rhp-grid{
  width:min(1180px,calc(100% - 32px));
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:30px;
}
.rhp-grid-card a{
  display:block;
  position:relative;
  min-height:420px;
  overflow:hidden;
  border-radius:0!important;
  text-decoration:none!important;
  color:#fff!important;
  background:transparent!important;
  box-shadow:0 18px 56px rgba(6,31,49,.10);
  isolation:isolate;
}
.rhp-grid-card img{width:100%;height:420px;object-fit:cover;display:block;transition:transform .65s ease}
.rhp-grid-card a:hover img{transform:scale(1.025)}
.rhp-grid-card .rhp-grid-title{font-size:clamp(24px,2vw,34px)!important}
.rhp-grid-card .rhp-address{font-size:15px}

/* SINGLE PROJECT PAGE */
.rhp-single-project{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:32px 0 58px;color:var(--rhp-text)}
.rhp-single-hero{margin:0 0 24px;text-align:center}
.rhp-single-hero-image{width:100%;overflow:hidden;margin:0 0 22px;background:#eef3f6}
.rhp-single-hero-image img{width:100%;height:clamp(360px,48vw,650px);display:block;object-fit:cover;border-radius:0!important}
.rhp-single-title{
  max-width:980px;
  margin:0 auto!important;
  padding:0!important;
  color:var(--rhp-text)!important;
  font-size:clamp(28px,3.2vw,46px)!important;
  line-height:1.06!important;
  font-weight:900!important;
  letter-spacing:-.04em;
}
.rhp-single-title:after{content:"";display:block;width:70px;height:2px;margin:18px auto 0;background:var(--rhp-gold)}
.rhp-info-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0 0 26px}
.rhp-info-card{min-height:172px;padding:26px 18px 22px;border:1px solid rgba(8,37,58,.09);border-radius:14px;background:linear-gradient(180deg,#fff,#fbfcfd);box-shadow:0 14px 38px rgba(6,31,49,.07);text-align:center}
.rhp-info-icon{width:56px;height:56px;margin:0 auto 14px;display:flex;align-items:center;justify-content:center;color:var(--rhp-gold)}
.rhp-info-icon svg{width:56px;height:56px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.rhp-info-card h3{margin:0 0 9px!important;padding:0!important;color:var(--rhp-text)!important;font-size:17px!important;line-height:1.25!important;font-weight:800!important;letter-spacing:-.02em}
.rhp-info-card p{margin:0!important;color:#475d70;font-size:15px;line-height:1.55;font-weight:600}
.rhp-project-description{margin:0 auto 30px;padding:24px 28px;border-left:3px solid var(--rhp-gold);border-radius:0;background:#f8fafb;color:#33495a;font-size:16px;line-height:1.75}
.rhp-project-description > :first-child{margin-top:0}.rhp-project-description > :last-child{margin-bottom:0}
.rhp-gallery-wrap{margin-top:34px}
.rhp-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.rhp-gallery-item{position:relative;display:block;overflow:hidden;border-radius:0!important;background:#eef3f6;box-shadow:0 16px 45px rgba(6,31,49,.10);text-decoration:none!important;min-height:430px}
.rhp-gallery-item img,.rhp-gallery-img{width:100%;height:430px;display:block;object-fit:cover;border-radius:0!important;transition:transform .55s ease,filter .55s ease}
.rhp-gallery-item:hover img{transform:scale(1.025);filter:brightness(.92)}
.rhp-zoom-icon{position:absolute;right:18px;top:18px;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#173249;background:rgba(255,255,255,.92);box-shadow:0 10px 30px rgba(0,0,0,.18)}
.rhp-zoom-icon svg{width:23px;height:23px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

.rhp-related-projects{margin-top:56px;padding-top:36px;border-top:1px solid rgba(8,37,58,.10)}
.rhp-related-head{text-align:center;margin:0 0 24px}
.rhp-related-head span{display:inline-flex;align-items:center;gap:10px;margin-bottom:10px;color:var(--rhp-gold);font-size:12px;line-height:1;font-weight:900;letter-spacing:.18em;text-transform:uppercase}
.rhp-related-head span:before,.rhp-related-head span:after{content:"";width:32px;height:1px;background:var(--rhp-gold);opacity:.72}
.rhp-related-head h2{margin:0!important;padding:0!important;color:var(--rhp-text)!important;font-size:clamp(26px,2.8vw,38px)!important;line-height:1.12!important;font-weight:900!important;letter-spacing:-.04em}
.rhp-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.rhp-related-card a{display:block;position:relative;min-height:330px;overflow:hidden;border-radius:0!important;text-decoration:none!important;color:#fff!important;background:#eef3f6;box-shadow:0 16px 45px rgba(6,31,49,.10);isolation:isolate}
.rhp-related-card img,.rhp-related-card .rhp-card-placeholder{width:100%;height:330px;display:block;object-fit:cover;transition:transform .6s ease}
.rhp-related-card a:hover img{transform:scale(1.025)}
.rhp-related-card .rhp-grid-status{top:18px;left:18px;max-width:calc(100% - 36px);font-size:12px;min-height:30px;padding:7px 12px}
.rhp-related-card .rhp-grid-content{left:24px;right:22px;bottom:24px}
.rhp-related-card .rhp-grid-title{font-size:clamp(22px,1.7vw,28px)!important}
.rhp-related-card .rhp-address{font-size:13px}

/* LIGHTBOX */
.rhp-lightbox{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:26px;background:rgba(2,13,22,.92)}
.rhp-lightbox.is-open{display:flex}
.rhp-lightbox img{max-width:min(1180px,92vw);max-height:86vh;width:auto;height:auto;object-fit:contain;border-radius:0!important;box-shadow:0 35px 95px rgba(0,0,0,.45)}
.rhp-lightbox button{position:absolute;width:48px;height:48px;min-width:48px!important;min-height:48px!important;padding:0!important;border:1px solid rgba(255,255,255,.28)!important;border-radius:50%!important;background:rgba(255,255,255,.14)!important;color:#fff!important;box-shadow:none!important;cursor:pointer;display:flex!important;align-items:center!important;justify-content:center!important;line-height:0!important;text-align:center!important}
.rhp-lightbox button svg{width:24px;height:24px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;margin:0!important;transform:none!important}
.rhp-lightbox-close{right:24px;top:24px}.rhp-lightbox-prev{left:24px;top:50%;transform:translateY(-50%)}.rhp-lightbox-next{right:24px;top:50%;transform:translateY(-50%)}
.rhp-lightbox button:hover{background:rgba(255,255,255,.24)!important}

@media (max-width:1200px){
  .rhp-slider{--rhp-slide-width:clamp(590px,52vw,720px)}
  .rhp-card-link{height:430px}
  .rhp-info-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rhp-gallery-item,.rhp-gallery-item img,.rhp-gallery-img{height:390px;min-height:390px}
  .rhp-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rhp-grid-card a,.rhp-grid-card img{height:360px;min-height:360px}
}
@media (max-width:767px){
  .rhp-slider-section{padding:32px 0 34px}
  .rhp-slider{--rhp-slide-width:84vw;padding-top:0}
  .rhp-scroller{gap:16px;padding-left:8vw;padding-right:8vw;padding-bottom:22px}
  .rhp-slide{min-width:0}
  .rhp-card-link{height:380px;border-radius:0!important}
  .rhp-status-badge{top:16px;left:16px;font-size:12px;padding:7px 12px;min-height:30px;max-width:calc(100% - 32px)}
  .rhp-card-content{left:22px;right:22px;bottom:24px}
  .rhp-card-title{font-size:25px!important}
  .rhp-address{font-size:13px;gap:7px}.rhp-address-icon,.rhp-address-icon svg{width:16px;height:16px;flex-basis:16px}
  .rhp-lines{gap:8px;min-height:34px;padding:8px 0}.rhp-lines button,.rhp-lines button.is-active{width:54px!important;height:22px!important}
  .rhp-archive-head{width:min(100% - 24px,1180px);padding:42px 0 4px;margin-bottom:22px}
  .rhp-archive-head h1{font-size:34px!important;line-height:1.12!important}.rhp-archive-head p{font-size:14px;margin-top:10px!important}.rhp-archive-kicker{font-size:12px}.rhp-archive-kicker:before,.rhp-archive-kicker:after{width:26px}
  .rhp-archive-grid-page{padding-top:24px}
  .rhp-grid{grid-template-columns:1fr;width:min(100% - 24px,1180px);gap:18px}
  .rhp-grid-card a,.rhp-grid-card img{height:330px;min-height:330px}
  .rhp-grid-status{top:16px;left:16px;font-size:12px;padding:7px 12px;max-width:calc(100% - 32px)}
  .rhp-grid-content{left:22px;right:22px;bottom:22px}.rhp-grid-card .rhp-grid-title{font-size:25px!important}.rhp-grid-card .rhp-address{font-size:13px}
  .rhp-info-cards{grid-template-columns:1fr;gap:14px}
  .rhp-single-project{width:min(100% - 24px,1180px);padding-top:18px}
  .rhp-single-hero-image img{height:300px}.rhp-single-title{font-size:29px!important;line-height:1.14!important}.rhp-single-title:after{margin-top:12px}
  .rhp-project-description{padding:20px;margin-bottom:22px}
  .rhp-gallery{grid-template-columns:1fr;gap:14px}.rhp-gallery-item,.rhp-gallery-item img,.rhp-gallery-img{height:320px;min-height:320px}
  .rhp-related-projects{margin-top:42px;padding-top:28px}.rhp-related-grid{grid-template-columns:1fr;gap:16px}.rhp-related-card a,.rhp-related-card img,.rhp-related-card .rhp-card-placeholder{height:320px;min-height:320px}.rhp-related-head h2{font-size:28px!important}
  .rhp-lightbox{padding:16px}.rhp-lightbox img{max-width:94vw;max-height:78vh}.rhp-lightbox-close{right:14px;top:14px}.rhp-lightbox-prev{left:14px}.rhp-lightbox-next{right:14px}
}

/* v1.8: keep card links clickable while the track is draggable */
.rhp-slider .rhp-card-link{pointer-events:auto!important}
.rhp-slider.is-dragging .rhp-card-link,.rhp-scroller.is-dragging .rhp-card-link{pointer-events:auto!important}
