/* RTN v1.10: preserve the existing portal structure and brand geometry. */
.rtn-identity-v18--portal .main-slider .slider-card {
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(22, 75, 61, .08);
}
.rtn-identity-v18--portal .main-slider .video-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  height: auto;
  max-height: 100%;
  overflow: hidden;
  padding: 12px;
  font-size: clamp(11px, 1vw, 13px);
  line-height: 1.4;
}
.rtn-identity-v18--portal :where(.news, .sports) .news-item img {
  border-radius: 10px;
  box-shadow: 0 3px 14px rgba(22, 75, 61, .07);
}
.rtn-identity-v18--portal .news .news-title { color: #164b3d; }
.rtn-identity-v18--portal .news .news-item:hover .news-title { color: #b74e27; }
.rtn-identity-v18--portal .social-footer {
  background: #164b3d;
  box-shadow: inset 0 4px #e05206;
}
.rtn-identity-v18--portal .social-footer .button-green a {
  color: #164b3d;
  background: #fff;
  border-radius: 8px;
}
.rtn-identity-v18--portal .social-footer .button-green a:hover { color: #b74e27; }
.rtn-identity-v18--portal footer { background: #f4faf5; color: #173a30; }
.rtn-identity-v18--portal .footer-title { color: #164b3d; }
.rtn-identity-v18--portal .footer-bottom { background: #e7efe9; }
.rtn-identity-v18--portal .footer-social .social-item { color: #164b3d; border-color: #164b3d; }
.rtn-identity-v18--portal .footer-social .social-item:hover { color: #fff; background: #164b3d; }
.rtn-identity-v18--portal .content { overflow-wrap: anywhere; }
.rtn-identity-v18--portal .content :where(.title, h2, h3) { color: #164b3d; }
.rtn-identity-v18--portal .content a { color: #b74e27; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.rtn-identity-v18--portal .content a:hover { text-decoration: underline; }
.rtn-identity-v18--portal .default-table thead { background: #164b3d; color: #fff; }
.rtn-identity-v18--portal .default-table tbody tr:nth-child(even) { background: #f4faf5; }
.rtn-identity-v18--portal .default-table tr:not(:last-child) { border-color: #dce7de; }

#rtn-home-v110 {
  background: #f4faf5;
  border-block: 1px solid #dce7de;
  color: #173a30;
}
#rtn-home-v110 [hidden] { display: none !important; }
#rtn-home-v110 .line-title span { background: #f4faf5; }
#rtn-home-v110 .rtn-home-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
}
#rtn-home-v110 .rtn-home-header .line-title { flex: 1 1 360px; margin-bottom: 12px; }
#rtn-home-v110 .rtn-home-intro { font-size: 15px; line-height: 1.65; max-width: 70ch; }
#rtn-home-v110 .rtn-home-channel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #b74e27;
  border-radius: 8px;
  color: #b74e27;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
#rtn-home-v110 .rtn-home-channel:hover { color: #fff; background: #b74e27; }
#rtn-home-v110-status {
  min-height: 1.5em;
  margin: 12px 0 22px;
  color: #466557;
  font-size: 12px;
  line-height: 1.6;
}
#rtn-home-v110 .rtn-home-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
#rtn-home-v110 .rtn-home-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #dce7de;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  color: #164b3d;
  box-shadow: 0 5px 18px rgba(22, 75, 61, .05);
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
#rtn-home-v110 .rtn-home-card:hover {
  color: #164b3d;
  border-color: #b74e27;
  box-shadow: 0 8px 24px rgba(22, 75, 61, .1);
}
#rtn-home-v110 .rtn-home-thumb {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #164b3d;
}
#rtn-home-v110 .rtn-home-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
#rtn-home-v110 .rtn-home-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #164b3d;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
  font-size: 16px;
  line-height: 1;
}
#rtn-home-v110 .rtn-home-thumb--unavailable::before {
  content: "RTN";
  position: absolute;
  inset: 13px auto auto 16px;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .06em;
}
#rtn-home-v110 .rtn-home-thumb--unavailable::after {
  content: "Aperçu indisponible";
  position: absolute;
  inset: auto 12px 10px;
  color: #fff;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}
#rtn-home-v110 .rtn-home-card-body { display: flex; flex: 1; flex-direction: column; gap: 14px; padding: 16px; }
#rtn-home-v110 .rtn-home-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
#rtn-home-v110 .rtn-home-card-date { margin-top: auto; color: #566d60; font-size: 11px; line-height: 1.5; }
#rtn-home-v110 .rtn-home-viewer {
  max-width: 840px;
  margin: 28px auto 0;
  padding: 20px;
  border: 1px solid #dce7de;
  border-top: 3px solid #e05206;
  border-radius: 12px;
  background: #fff;
  scroll-margin-top: 24px;
}
#rtn-home-v110-title { margin: 0 0 14px; font-size: 18px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
#rtn-home-v110-close {
  display: block;
  margin: 0 0 14px auto;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #164b3d;
  border-radius: 8px;
  background: #fff;
  color: #164b3d;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
#rtn-home-v110-close:hover { background: #164b3d; color: #fff; }
#rtn-home-v110-host { aspect-ratio: 16 / 9; width: 100%; background: #101914; }
#rtn-home-v110-host iframe { display: block; width: 100%; height: 100%; border: 0; }
#rtn-home-v110-player-status { margin: 14px 0 8px; font-size: 13px; line-height: 1.6; }
#rtn-home-v110-fallback { color: #b74e27; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
#rtn-home-v110 :where(a, button):focus-visible { outline: 3px solid #b74e27; outline-offset: 3px; }
@media (max-width: 991.98px) {
  #rtn-home-v110 .rtn-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479.98px) {
  #rtn-home-v110 .rtn-home-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  #rtn-home-v110 .rtn-home-header .line-title { flex-basis: 100%; }
  #rtn-home-v110 .rtn-home-viewer { padding: 14px; }
  #rtn-home-v110 .rtn-home-card-title { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  #rtn-home-v110 * { transition: none !important; scroll-behavior: auto !important; }
  .rtn-identity-v18--portal .live-content .ball { animation: none !important; }
}
