

:root {
  --rj-navy:        #1b4578;
  --rj-navy-dark:   #0c2a65;
  --rj-saffron:     #f2a329;
  --rj-accent:      #c6812f;
  --rj-panel:       #fffdf8;   
  --rj-tile:        #ffffff;   
  --rj-tile-hover:  #fdf8ec;  
  --rj-border:      #e2d9c4;
  --rj-muted:       #5c5a54;
  --rj-veil:        rgba(255, 253, 248, 0.90);
  --rj-band:        3px;
  --rj-radius:      6px;
  --rj-radius-icon: 8px;
  --rj-rail:        3px;
  --rj-rail-hover:  7px;
  --rj-ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --rj-speed:       0.35s;
  --rj-lift:       -3px;
  --rj-shadow-rest:  0 1px 2px rgba(43, 42, 40, 0.05);
  --rj-shadow-hover: 0 8px 18px rgba(12, 42, 101, 0.16);
}


.news-update-section {
  position: relative;
  padding: 42px 0 46px;
  background:
    linear-gradient(var(--rj-veil), var(--rj-veil)),
    url("../img/background-textur.jpg") center center / cover no-repeat;
  border-top: var(--rj-band) solid var(--rj-saffron);
  border-bottom: 1px solid var(--rj-border);
}

.news-update-section .panel,
.news-update-section .quicklinks-panel,
.news-update-section .chairman-strip {
  background: var(--rj-panel);
  border: 1px solid var(--rj-border);
  border-radius: var(--rj-radius);
  box-shadow: var(--rj-shadow-rest);
}

.news-update-section .panel-title {
  border-radius: var(--rj-radius);
}

.news-update-section .panel-title a {
  color: inherit;
  text-decoration: none;
}

.news-update-section .panel-title a:hover,
.news-update-section .panel-title a:focus-visible {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}


.news-update-section .qlink-list li a {
  background: var(--rj-tile);
  border: 1px solid var(--rj-border);
  border-radius: var(--rj-radius);
  box-shadow: var(--rj-shadow-rest);
  transition:
    background-color var(--rj-speed) var(--rj-ease),
    border-color     var(--rj-speed) var(--rj-ease),
    box-shadow       var(--rj-speed) var(--rj-ease),
    transform        var(--rj-speed) var(--rj-ease);
}

.news-update-section .qlink-list li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--rj-rail);
  background: var(--rj-saffron);
  z-index: 2;
  transition: width var(--rj-speed) var(--rj-ease);
}

.news-update-section .qlink-icon {
  background: var(--rj-tile-hover);
  border: 1px solid var(--rj-border);
  border-radius: var(--rj-radius-icon);
  transition:
    background-color var(--rj-speed) var(--rj-ease),
    border-color     var(--rj-speed) var(--rj-ease);
}

.news-update-section .qlink-list li a::after {
  display: none;
}

.news-update-section .qlink-list li a:hover,
.news-update-section .qlink-list li a:focus-visible {
  background: var(--rj-tile-hover);
  border-color: var(--rj-navy);
  transform: translateY(var(--rj-lift));
  box-shadow: var(--rj-shadow-hover);
}

.news-update-section .qlink-list li a:hover::before,
.news-update-section .qlink-list li a:focus-visible::before {
  width: var(--rj-rail-hover);
}

.news-update-section .qlink-list li a:hover .qlink-icon,
.news-update-section .qlink-list li a:focus-visible .qlink-icon {
  background: #ffffff;
  border-color: var(--rj-saffron);
  transform: none;
}

.news-update-section .qlink-list li a:hover .qlink-text,
.news-update-section .qlink-list li a:focus-visible .qlink-text {
  color: var(--rj-navy);
}

.news-update-section .qlink-list li a:hover .qlink-sub,
.news-update-section .qlink-list li a:focus-visible .qlink-sub {
  color: var(--rj-muted);
}

.news-update-section .qlink-list li a:hover .qlink-arrow,
.news-update-section .qlink-list li a:focus-visible .qlink-arrow {
  background: var(--rj-saffron);
  color: var(--rj-navy-dark);
  transform: translateX(4px);
}

.news-update-section .qlink-list li a:hover .qlink-icon .icon1,
.news-update-section .qlink-list li a:focus-visible .qlink-icon .icon1 {
  opacity: 1;
  visibility: visible;
}

.news-update-section .qlink-list li a:hover .qlink-icon .icon2,
.news-update-section .qlink-list li a:focus-visible .qlink-icon .icon2 {
  opacity: 0;
  visibility: hidden;
}


.news-update-section .ticker-wrap:hover .ticker-track,
.news-update-section .ticker-wrap:focus-within .ticker-track {
  animation-play-state: paused;
}


.news-update-section .ticker-wrap::before,
.news-update-section .ticker-wrap::after {
  pointer-events: none;
}

.news-update-section .ticker-wrap::before {
  background: linear-gradient(var(--rj-panel), transparent);
}

.news-update-section .ticker-wrap::after {
  background: linear-gradient(transparent, var(--rj-panel));
}


.news-update-section .news-ticker-item {
  display: block;
  position: relative;
  margin-left: 22px;
  margin-right: 18px;
  padding: 14px 18px 14px 22px;
  border-left: var(--rj-rail) solid var(--rj-saffron);
  border-radius: 0 var(--rj-radius) var(--rj-radius) 0;
  text-decoration: none;
  background: transparent;
  transition:
    background-color   var(--rj-speed) var(--rj-ease),
    border-left-color  var(--rj-speed) var(--rj-ease);
}


.news-update-section .news-ticker-item .tag {
  display: none;
}

.news-update-section .news-ticker-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--rj-navy);
  transition: color var(--rj-speed) var(--rj-ease);
}

.news-update-section .news-ticker-item::before {
  content: "";
  position: absolute;
  left: calc(var(--rj-rail) * -1 - 4px);
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rj-accent);
  border: 2px solid var(--rj-panel);
  transition: background-color var(--rj-speed) var(--rj-ease);
}

.news-update-section .news-ticker-item:hover,
.news-update-section .news-ticker-item:focus-visible {
  background: var(--rj-tile-hover);
  border-left-color: var(--rj-navy);
}

.news-update-section .news-ticker-item:hover p,
.news-update-section .news-ticker-item:focus-visible p {
  color: var(--rj-navy-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-update-section .news-ticker-item:hover::before,
.news-update-section .news-ticker-item:focus-visible::before {
  background: var(--rj-navy);
}

.news-update-section #pauseBtn {
  border-radius: var(--rj-radius);
}


.news-update-section .chairman-photo {
  border-color: var(--rj-saffron);
}

.news-update-section .qlink-list li a:focus-visible,
.news-update-section .news-ticker-item:focus-visible,
.news-update-section .panel-title a:focus-visible,
.news-update-section .chairman-card-sm:focus-visible,
.news-update-section .gallery-link a:focus-visible,
.news-update-section #pauseBtn:focus-visible {
  outline: 2px solid var(--rj-navy);
  outline-offset: 2px;
}


@media (prefers-reduced-motion: reduce) {
  .news-update-section .ticker-track {
    animation: none;
  }
  .news-update-section .qlink-list li a,
  .news-update-section .qlink-list li a::before,
  .news-update-section .qlink-icon,
  .news-update-section .qlink-arrow,
  .news-update-section .news-ticker-item {
    transition: none;
  }
  .news-update-section .qlink-list li a:hover,
  .news-update-section .qlink-list li a:focus-visible {
    transform: none;
  }
}

@media (hover: none) {
  .news-update-section .qlink-list li a:hover {
    transform: none;
    box-shadow: var(--rj-shadow-rest);
  }
}

@media (max-width: 767px) {
  :root {
    --rj-rail: 3px;
    --rj-rail-hover: 5px;
  }
  .news-update-section {
    padding: 30px 0 34px;
  }
  .news-update-section .news-ticker-item {
    margin-left: 16px;
    margin-right: 12px;
    padding: 12px 14px 12px 18px;
  }
  .news-update-section .news-ticker-item p {
    font-size: 15px;
  }
}
