/* Razlan Rafii homepage hero — illustrative Malaysian desa landscape + original mic-free portrait. */
/* All selectors are scoped to the homepage hero; editorial layouts stay untouched. */
.rr-corporate-v3 .rr-hero {
  background:linear-gradient(105deg,#fcfcfa 0%,#f6f7f3 44%,#e8eee5 74%,#8b091d 100%);
}
.rr-corporate-v3 .rr-hero:after {display:none;}
.rr-corporate-v3 .rr-hero-scenery>img {
  width:49%;height:100%;top:0;right:16%;
  object-fit:cover;object-position:50% 51%;
  opacity:.48;filter:grayscale(.1) saturate(.78) contrast(.94);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 22%,#000 78%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 22%,#000 78%,transparent 100%);
}
.rr-corporate-v3 .rr-hero-mist {
  background:linear-gradient(90deg,#fbfbfa 0%,#fbfbfaf9 26%,#fbfbfaa3 42%,#fbfbfa24 65%,transparent 84%),
             linear-gradient(0deg,#f7f8f9e0 0%,transparent 27%,transparent 80%,#fff3 100%);
}
.rr-corporate-v3 .rr-hero-ribbon {right:-1%;width:42%;filter:drop-shadow(-8px 4px 18px #96001920);}
.rr-corporate-v3 .rr-hero-inner {min-height:714px;}
.rr-corporate-v3 .rr-hero-copy {padding-top:123px;}
.rr-corporate-v3 .rr-hero-person {
  width:564px;height:auto;right:63px;top:37px;
  max-width:none;object-fit:contain;object-position:center top;
  filter:drop-shadow(-10px 18px 20px #111c2330)!important;
  z-index:2;pointer-events:none;
}
.rr-corporate-v3 .rr-hero-note {right:-8px;top:175px;max-width:138px;}
.rr-corporate-v3 .rr-hero-credit {
  position:absolute;bottom:14px;left:max(32px,calc((100% - 1280px)/2));
  z-index:4;max-width:calc(100% - 64px);font:500 9px/1.55 var(--rr-ui);
  color:#73808a;text-shadow:0 1px 2px #fff8;
}
.rr-corporate-v3 .rr-hero-credit a {color:inherit;text-decoration:underline;text-decoration-color:#95a2a9;}
@media(min-width:1600px){
  .rr-corporate-v3 .rr-hero-inner{min-height:756px;}
  .rr-corporate-v3 .rr-hero-person{width:615px;right:75px;top:25px;}
  .rr-corporate-v3 .rr-hero-credit{left:max(32px,calc((100% - 1380px)/2));}
}
@media (min-width:721px) and (max-width:1250px){
  .rr-corporate-v3 .rr-hero-person{width:clamp(420px,46vw,548px);right:-8px;top:84px;}
  .rr-corporate-v3 .rr-hero-copy{width:52%;padding-top:115px;}
  .rr-corporate-v3 .rr-hero h1{font-size:clamp(51px,6.1vw,78px);}
  .rr-corporate-v3 .rr-hero-scenery>img{right:13%;width:53%;opacity:.33;}
}
@media (min-width:721px) and (max-width:990px){
  .rr-corporate-v3 .rr-hero-inner{min-height:630px;}
  .rr-corporate-v3 .rr-hero-person{width:415px;right:-23px;top:91px;}
  .rr-corporate-v3 .rr-hero-copy{width:55%;padding-top:116px;}
  .rr-corporate-v3 .rr-hero h1{font-size:53px;line-height:1.05;}
  .rr-corporate-v3 .rr-hero-note{display:none;}
}
@media(max-width:720px){
  .rr-corporate-v3.rr-mobile-home-v1 .rr-hero{
    background:linear-gradient(180deg,#fcfcfb 0%,#f8f8f7 58%,#efe5e7 100%);
  }
  .rr-corporate-v3.rr-mobile-home-v1 .rr-hero-inner{
    min-height:0;display:flex;flex-direction:column;
  }
  .rr-corporate-v3.rr-mobile-home-v1 .rr-hero-copy{
    width:100%;padding:38px 0 0;
  }
  .rr-corporate-v3.rr-mobile-home-v1 .rr-hero-scenery>img{
    width:100%;height:58%;top:42%;right:0;opacity:.23;
    object-position:50% 40%;filter:grayscale(.18) saturate(.8);
    -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 27%,transparent 100%);
    mask-image:linear-gradient(180deg,transparent 0%,#000 27%,transparent 100%);
  }
  .rr-corporate-v3.rr-mobile-home-v1 .rr-hero-mist{
    background:linear-gradient(180deg,#fbfbfa 0%,#fbfbfaf2 35%,#fbfbfa6b 62%,transparent 86%);
  }
  .rr-corporate-v3.rr-mobile-home-v1 .rr-hero-ribbon{
    top:auto;bottom:0;right:-34%;width:130%;height:400px;opacity:.96;
  }
  .rr-corporate-v3.rr-mobile-home-v1 .rr-hero-person{
    position:relative;top:auto;right:auto;left:auto;
    width:min(100vw,465px);height:clamp(365px,104vw,455px);
    max-width:none;margin:5px -18px 0;align-self:center;
    object-fit:contain;object-position:center bottom;
    filter:drop-shadow(-7px 7px 13px #15151526)!important;
  }
  .rr-corporate-v3.rr-mobile-home-v1 .rr-hero-note{display:none;}
  .rr-corporate-v3 .rr-hero-credit{font-size:8px;bottom:8px;left:18px;max-width:calc(100% - 36px);}
}
@media(max-width:380px){
  .rr-corporate-v3.rr-mobile-home-v1 .rr-hero-person{height:356px;}
}

/* Rural scenery also replaces the former government-building backdrop in the community section. */
.rr-corporate-v3 .rr-community-backdrop{background:linear-gradient(105deg,#0c202ef5,#0c202edb),url('/rr-desa-sekinchan-v5.jpg') center 50%/cover!important;}
