/* ======================================================================
   RAP'2010 v1.14.2 — stonowana oprawa herbu w headerze
   Granatowo-biała, rozproszona łuna + dwie delikatne smugi światła.
   Bez czerwonej aureoli, dodatkowego okręgu i obrysu wokół znaku.
   ====================================================================== */

.rap-site .rap-brand{
  isolation:isolate!important;
}

/* Miękka, nieregularna łuna łącząca granat headera z bielą. */
.rap-site .rap-brand::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:-72px!important;
  top:-9px!important;
  z-index:-3!important;
  width:310px!important;
  height:190px!important;
  border-radius:46% 54% 58% 42% / 58% 43% 57% 42%!important;
  background:
    radial-gradient(ellipse at 47% 48%,
      rgba(255,255,255,.19) 0%,
      rgba(216,231,250,.12) 13%,
      rgba(89,128,181,.13) 29%,
      rgba(16,46,87,.30) 47%,
      rgba(3,21,46,.11) 65%,
      transparent 79%)!important;
  filter:blur(19px)!important;
  opacity:.76!important;
  transform:none!important;
  pointer-events:none!important;
}

/* Dwie rozproszone, ukośne smugi: jedna nad, druga pod herbem. */
.rap-site .rap-brand::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:-58px!important;
  top:-3px!important;
  z-index:-1!important;
  width:292px!important;
  height:184px!important;
  border-radius:0!important;
  background:
    linear-gradient(135deg,
      transparent 0 39%,
      rgba(91,135,191,.04) 42%,
      rgba(221,235,252,.68) 48%,
      rgba(255,255,255,.86) 50%,
      rgba(111,153,205,.18) 54%,
      transparent 61%) 92% 4% / 88px 42px no-repeat,
    linear-gradient(135deg,
      transparent 0 38%,
      rgba(71,113,170,.08) 42%,
      rgba(208,226,247,.53) 48%,
      rgba(255,255,255,.76) 51%,
      rgba(91,135,191,.17) 55%,
      transparent 62%) 3% 96% / 112px 48px no-repeat!important;
  filter:blur(.65px) drop-shadow(0 0 7px rgba(218,234,253,.24))!important;
  opacity:.72!important;
  transform:none!important;
  pointer-events:none!important;
}

/* Usunięcie dotychczasowej czerwonej aureoli i pierścienia. */
.rap-site .rap-brand-mark{
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

.rap-site .rap-brand-mark::before,
.rap-site .rap-brand-mark::after{
  display:none!important;
  content:none!important;
}

.rap-site .rap-brand-mark img{
  filter:
    drop-shadow(0 10px 15px rgba(0,0,0,.34))
    drop-shadow(0 0 9px rgba(224,237,255,.12))
    saturate(1.035)
    contrast(1.035)!important;
}

.rap-site .rap-brand:hover .rap-brand-mark,
.rap-site .rap-brand:focus-visible .rap-brand-mark{
  transform:translateY(-1px) scale(1.008)!important;
  box-shadow:none!important;
}

.rap-site .rap-brand:hover::before,
.rap-site .rap-brand:focus-visible::before{
  opacity:.84!important;
}

.rap-site .rap-brand:hover::after,
.rap-site .rap-brand:focus-visible::after{
  opacity:.82!important;
}

/* Tablet — ten sam charakter, tylko bardziej kompaktowy. */
@media (min-width:768px) and (max-width:1180px){
  .rap-site .rap-brand::before{
    left:-45px!important;
    top:10px!important;
    width:208px!important;
    height:132px!important;
    filter:blur(15px)!important;
    opacity:.65!important;
    transform:none!important;
  }

  .rap-site .rap-brand::after{
    left:-36px!important;
    top:16px!important;
    width:188px!important;
    height:122px!important;
    background:
      linear-gradient(135deg,transparent 0 39%,rgba(221,235,252,.61) 48%,rgba(255,255,255,.77) 50%,rgba(111,153,205,.15) 55%,transparent 62%) 94% 3% / 61px 31px no-repeat,
      linear-gradient(135deg,transparent 0 39%,rgba(208,226,247,.45) 48%,rgba(255,255,255,.68) 51%,rgba(91,135,191,.14) 55%,transparent 62%) 2% 96% / 72px 33px no-repeat!important;
    opacity:.62!important;
    transform:none!important;
  }

  .rap-site .rap-brand-mark{
    box-shadow:none!important;
  }
}

/* Telefon — bez smug, tylko minimalna chłodna separacja od granatu. */
@media (max-width:767px){
  .rap-site .rap-brand::before,
  .rap-site .rap-brand::after{
    display:none!important;
  }

  .rap-site .rap-brand-mark{
    background:transparent!important;
    box-shadow:none!important;
  }

  .rap-site .rap-brand-mark img{
    filter:
      drop-shadow(0 6px 10px rgba(0,0,0,.31))
      drop-shadow(0 0 6px rgba(226,239,255,.11))
      saturate(1.025)
      contrast(1.025)!important;
  }
}
