:root {
  --rt3-ink: #13261c;
  --rt3-pine: #1f5c45;
  --rt3-pine-deep: #143d2e;
  --rt3-mist: #e7f1eb;
  --rt3-sky: #d7e6f2;
  --rt3-sand: #f4efe6;
  --rt3-citrus: #c98512;
  --rt3-nav-bar: #b71c1c;
  --rt3-nav-hover: rgba(0, 0, 0, 0.14);
  --rt3-dropdown-hover: rgba(0, 0, 0, 0.18);
  --rt3-line: rgba(19, 38, 28, 0.12);
  --rt3-soft: rgba(255, 255, 255, 0.85);
  --rt3-radius: 18px;
  --rt3-font-display: "Fraunces", Georgia, serif;
  --rt3-font-body: "Sora", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.rt3-body {
  margin: 0;
  min-height: 100vh;
  color: var(--rt3-ink);
  font-family: var(--rt3-font-body);
  background:
    radial-gradient(1200px 600px at 10% -10%, #cfe6da 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #c5daf0 0%, transparent 50%),
    linear-gradient(180deg, #f3f7f4 0%, #eef3f0 40%, #f7f4ee 100%);
}

/* Croogo topbar (login/comments) — compact dropdown, not a full-page window */
.rt3-body .fixedHdr {
  position: relative;
  z-index: 60;
  background: var(--rt3-topbar-bg, var(--rt3-pine-deep));
  color: var(--rt3-topbar-text, #e8f2ec);
}

.rt3-body .fxdFormCon {
  position: absolute;
  top: calc(100% - 2px);
  right: max(1rem, calc((100% - 1180px) / 2));
  width: min(380px, calc(100% - 2rem));
  margin: 0;
  z-index: 70;
}

.rt3-body .fxdFormCon > form,
.rt3-body #form1,
.rt3-body #form2 {
  display: none;
  height: auto !important;
  max-height: none !important;
  width: 100% !important;
  margin: 0;
  padding: 0.85rem;
  border-radius: 12px;
  background: #fff;
  color: var(--rt3-ink);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.rt3-body .fxdFormCon .row,
.rt3-body #form1 .row,
.rt3-body #form2 .row,
.rt3-body .user_comment .row {
  height: auto !important;
  min-height: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 0;
}

.rt3-body .fxdFormCon [class*="col-"],
.rt3-body .fxdFormCon .fleft,
.rt3-body .fxdFormCon .user_comment {
  float: none !important;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  flex: 1 1 120px;
  padding: 0 !important;
  margin: 0 !important;
}

.rt3-body #form1 [class*="col-12"],
.rt3-body #form1 .col-12 {
  flex-basis: 100%;
}

.rt3-body .fxdFormCon input,
.rt3-body .fxdFormCon textarea,
.rt3-body .narrow_field > input {
  width: 100% !important;
  height: 38px !important;
  max-height: 38px;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  font: inherit;
  font-size: 0.88rem;
  background: #f8faf8;
}

.rt3-body .fxdFormCon textarea {
  height: 72px !important;
  max-height: 72px;
  resize: vertical;
}

.rt3-body .fxdFormCon button,
.rt3-body .fxdFormCon .subbtn2 {
  height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 0 0.9rem;
  background: var(--rt3-nav-bar, #b71c1c);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.rt3-body .fx_hdr_wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.45rem 0;
  min-height: 0;
}

.rt3-body .fx_hdr_wrap .fright {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  float: none;
}

.rt3-body .fx_hdr_wrap .btn1,
.rt3-body .fx_hdr_wrap .btn2 {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #e8f2ec !important;
  text-decoration: none !important;
  font-size: 0.82rem;
  padding: 0.25rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: transparent;
}

.rt3-body .fx_hdr_wrap .btn1:hover,
.rt3-body .fx_hdr_wrap .btn2:hover {
  background: rgba(255, 255, 255, 0.12);
}

.rt3-app {
  min-height: 100vh;
}

.rt3-shell {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header: brand row + single-line nav bar */
.rt3-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  box-shadow: 0 2px 10px rgba(19, 38, 28, 0.08);
  overflow: visible;
}

.rt3-brandbar {
  background: #fff;
}

.rt3-brandbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}

.rt3-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex: 1 1 auto;
  max-width: min(720px, 62%);
}

.rt3-brand img {
  width: 20%;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
}

.rt3-brand__text {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.rt3-brand__name {
  font-family: var(--rt3-font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--rt3-brand-name, #1f5c45);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.rt3-brand__tag {
  font-size: 0.75rem;
  color: #555;
  line-height: 1.35;
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.rt3-brandbar__right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 0 1 auto;
  min-width: 0;
}

.rt3-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.45rem;
  border: 1px solid rgba(19, 38, 28, 0.18);
  border-radius: 999px;
  background: #f7faf8;
  font-size: 0.78rem;
  font-weight: 700;
}

.rt3-lang__btn {
  color: #4a5d52;
  text-decoration: none;
  padding: 0.1rem 0.25rem;
}

.rt3-lang__btn.is-active {
  color: var(--rt3-nav-bar, #b71c1c);
}

.rt3-lang__sep {
  color: rgba(19, 38, 28, 0.35);
}

.rt3-follow {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.rt3-follow__label {
  font-size: 0.8rem;
  font-weight: 700;
}

.rt3-follow a {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  color: #fff !important;
  background: #555;
  border-radius: 3px;
  text-decoration: none !important;
}

.rt3-follow .rt3-social-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.rt3-follow a .fa {
  color: #fff !important;
  font-size: 0.8rem;
}

.rt3-follow .facebook,
.rt3-follow a:has(.facebook) { background: #3b5998; }
.rt3-follow .twitter,
.rt3-follow a:has(.twitter) { background: #1da1f2; }
.rt3-follow .linkedin,
.rt3-follow a:has(.linkedin) { background: #0a66c2; }
.rt3-follow .youtube,
.rt3-follow a:has(.youtube) { background: #cd201f; }
.rt3-follow .instagram,
.rt3-follow a:has(.instagram) { background: #e4405f; }
.rt3-follow .feed,
.rt3-follow .rss,
.rt3-follow a:has(.feed),
.rt3-follow a:has(.rss) { background: #f26522; }

.rt3-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.rt3-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #333;
  text-decoration: none;
  font-size: 0.8rem;
}

.rt3-contact i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--rt3-nav-bar, #b71c1c);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

.rt3-register {
  background: var(--rt3-nav-bar, #b71c1c);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 0.8rem;
  white-space: nowrap;
}

.rt3-util-search form,
.rt3-util-search .input,
.rt3-util-search .form-group,
.rt3-util-search .input-group {
  margin: 0 !important;
  display: flex !important;
  align-items: stretch !important;
  width: auto;
  flex-wrap: nowrap !important;
  height: 36px;
}

.rt3-util-search .rt3-board,
.rt3-util-search .block-search {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  box-shadow: none;
}

.rt3-util-search .rt3-board__head {
  display: none !important;
}

.rt3-util-search .rt3-board__body {
  padding: 0;
}

.rt3-util-search label {
  display: none;
}

.rt3-util-search .input-group-btn {
  display: flex !important;
  align-items: stretch !important;
  margin: 0 !important;
  width: auto !important;
  height: 100% !important;
}

.rt3-util-search input[type="text"],
.rt3-util-search input[type="search"],
.rt3-util-search .form-control {
  width: 160px !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  border: 1px solid #d5d5d5 !important;
  border-right: 0 !important;
  border-radius: 0 !important;
  padding: 0 0.65rem !important;
  font: inherit;
  font-size: 0.82rem !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}

.rt3-util-search button,
.rt3-util-search .btn,
.rt3-util-search input[type="submit"] {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--rt3-nav-bar, #b71c1c) !important;
  color: #fff !important;
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
}

.rt3-util-search button::before,
.rt3-util-search input[type="submit"]::before {
  content: "\f002";
  font-family: FontAwesome, "Font Awesome 4.7";
  font-size: 0.9rem;
  line-height: 1;
  color: #fff;
}

.rt3-nav-toggle {
  display: none;
  border: 0;
  background: var(--rt3-nav-bar, #b71c1c);
  color: #fff;
  padding: 0.45rem 0.8rem;
  font: inherit;
  cursor: pointer;
}

.rt3-menubar {
  background: linear-gradient(
    180deg,
    var(--rt3-nav-bar, #2d6b4f) 0%,
    var(--rt3-nav-bar-end, #1f4d38) 100%
  );
  overflow: visible;
  position: relative;
  z-index: 45;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.rt3-menubar__inner {
  overflow: visible;
}

.rt3-nav {
  width: 100%;
  overflow: visible;
}

.rt3-nav > ul,
.rt3-nav > .rt3-nav-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  overflow: visible;
  gap: 0;
}

.rt3-nav li {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.rt3-nav > ul > li:last-child,
.rt3-nav > .rt3-nav-list > li:last-child {
  border-right: 0;
}

.rt3-nav > ul > li > a,
.rt3-nav > .rt3-nav-list > li > a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0.45rem clamp(0.45rem, 0.9vw, 0.85rem) !important;
  min-height: 38px;
  color: var(--rt3-nav-text, #fff) !important;
  text-decoration: none !important;
  font-size: clamp(0.66rem, 0.52rem + 0.4vw, 0.8rem) !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  line-height: 1.15;
  transition: background 0.15s ease;
}

.rt3-nav > ul > li > a:hover,
.rt3-nav > .rt3-nav-list > li > a:hover,
.rt3-nav > ul > li:hover > a,
.rt3-nav > .rt3-nav-list > li:hover > a,
.rt3-nav > ul > li.is-open > a,
.rt3-nav > .rt3-nav-list > li.is-open > a {
  background: var(--rt3-nav-hover, rgba(0, 0, 0, 0.14)) !important;
  color: var(--rt3-nav-text, #fff) !important;
}

/* Dropdown caret */
.rt3-nav > .rt3-nav-list > li.dropdown > a::after,
.rt3-nav .dropdown-menu li.dropdown > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.15rem;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.9;
  transform: translateY(1px);
}

.rt3-nav .dropdown-menu li.dropdown > a::after {
  border-top: 0;
  border-bottom: 5px solid currentColor;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  transform: rotate(-90deg);
  margin-left: 0.35rem;
}

/* Dropdown panels — color from Menu.submenu_top_bg / Menu.submenu_bottom_bg */
.rt3-nav .dropdown-menu,
.rt3-nav ul.dropdown-menu,
.rt3-nav .dropdown-menu.bg-dark,
.rt3-nav ul.dropdown-menu.bg-dark,
.rt3-nav .dropdown-menu.rt3-flyout-root {
  position: absolute;
  min-width: 200px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0.25rem 0 !important;
  background-color: var(--rt3-submenu-top, #3a7a5c) !important;
  background-image: linear-gradient(
    180deg,
    var(--rt3-submenu-top, #3a7a5c) 0%,
    var(--rt3-submenu-bottom, #2d6b4f) 100%
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: none !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  overflow: visible !important;
  z-index: 80;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  border-radius: 0 0 3px 3px;
}

/* Level 1: open below parent (fallback when flyout JS is not active) */
.rt3-nav > .rt3-nav-list > li.dropdown > .dropdown-menu,
.rt3-nav > .rt3-nav-list > li.rt3-nav-item.dropdown > ul.dropdown-menu {
  top: 100%;
  left: 0;
}

/* Level 2+: fly out to the right */
.rt3-nav .dropdown-menu li.dropdown > .dropdown-menu,
.rt3-nav .dropdown-menu li.dropdown-item.dropdown > ul.dropdown-menu {
  top: 0;
  left: 100%;
  border-radius: 3px;
  position: absolute !important;
}

.rt3-nav .dropdown-menu.rt3-flyout-root {
  position: fixed !important;
  z-index: 220;
}

.rt3-nav > .rt3-nav-list > li.dropdown:hover > ul.dropdown-menu,
.rt3-nav > .rt3-nav-list > li.rt3-nav-item.dropdown:hover > ul.dropdown-menu,
.rt3-nav > .rt3-nav-list > li.is-open > ul.dropdown-menu,
.rt3-nav .dropdown-menu li.dropdown:hover > ul.dropdown-menu,
.rt3-nav .dropdown-menu li.dropdown-item.dropdown:hover > ul.dropdown-menu,
.rt3-nav .dropdown-menu li.is-open > ul.dropdown-menu {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.rt3-nav .dropdown-menu > li {
  display: block !important;
  float: none !important;
  width: 100%;
  background: transparent !important;
  position: relative;
}

.rt3-nav .dropdown-menu a {
  display: block !important;
  padding: 0.5rem 0.85rem !important;
  color: var(--rt3-submenu-text, #fff) !important;
  background: transparent !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  text-transform: none;
}

.rt3-nav .dropdown-menu a:hover,
.rt3-nav .dropdown-menu li:hover > a,
.rt3-nav .dropdown-menu li.is-open > a {
  background: var(--rt3-dropdown-hover, rgba(0, 0, 0, 0.18)) !important;
  color: #fff !important;
}

.rt3-nav .dropdown-menu .dropdown-item,
.rt3-nav .dropdown-menu .bg-dark,
.rt3-nav .dropdown-menu > li,
.rt3-nav .dropdown-menu > li.dropdown-item,
.rt3-nav .dropdown-menu > li.bg-dark {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* Slider */
.rt3-slider {
  position: relative;
  height: min(68vh, 520px);
  overflow: hidden;
  background: #143d2e;
}

.rt3-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.rt3-slider__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.rt3-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rt3-slider__caption {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  max-width: 40rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.rt3-slider__caption h2 {
  margin: 0 0 0.35rem;
  font-family: var(--rt3-font-display);
  font-size: clamp(1.3rem, 3vw, 2rem);
}

.rt3-slider__caption p {
  margin: 0;
}

.rt3-slider__btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.rt3-slider__btn--prev { left: 1rem; }
.rt3-slider__btn--next { right: 1rem; }

.rt3-slider__dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
}

.rt3-slider__dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.rt3-slider__dots button.is-active {
  background: #fff;
}

/* Hero fallback */
.rt3-hero {
  position: relative;
  min-height: min(52vh, 420px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.rt3-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(20, 61, 46, 0.9) 12%, rgba(20, 61, 46, 0.5) 48%, rgba(20, 61, 46, 0.28) 100%),
    radial-gradient(circle at 78% 35%, rgba(201, 133, 18, 0.35), transparent 42%),
    linear-gradient(160deg, #1f5c45, #0f2f3d 70%);
}

.rt3-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
  opacity: 0.35;
}

.rt3-hero__content {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 10vh, 5.5rem) 0 clamp(2.5rem, 7vh, 4rem);
  color: #f7faf8;
}

.rt3-hero__brand {
  font-family: var(--rt3-font-display);
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 14ch;
  margin: 0 0 1rem;
  color: #f7faf8;
  animation: rt3-rise 0.8s ease both;
}

.rt3-hero__line {
  margin: 0 0 1.6rem;
  max-width: 36ch;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.55;
  color: rgba(247, 250, 248, 0.92);
  animation: rt3-rise 0.8s ease 0.12s both;
}

.rt3-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rt3-rise 0.8s ease 0.22s both;
}

.rt3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

.rt3-btn:hover {
  transform: translateY(-2px);
}

.rt3-btn--primary {
  background: var(--rt3-citrus);
  color: #1a1408;
}

.rt3-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.rt3-page-banner {
  padding: 2.5rem 0 1.5rem;
}

.rt3-page-banner h1 {
  margin: 0;
  font-family: var(--rt3-font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.rt3-ticker {
  background: #f4c430;
  overflow: hidden;
}

/* Homepage statistics strip (live DB) */
.rt3-stats-wrap {
  margin-bottom: 1rem;
}

.rt3-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.25rem;
}

.rt3-stats__item {
  background: linear-gradient(180deg, #f8faf9 0%, #eef4f0 100%);
  border: 1px solid var(--rt3-line);
  border-radius: 12px;
  padding: 1rem 0.75rem;
  text-align: center;
}

.rt3-stats__item--highlight {
  background: linear-gradient(180deg, #e8f4ec 0%, #d9ebdf 100%);
  border-color: rgba(31, 92, 69, 0.25);
}

.rt3-stats__item--attendance {
  background: linear-gradient(180deg, #fff8e6 0%, #ffefc7 100%);
  border-color: rgba(180, 120, 0, 0.22);
}

.rt3-stats__value {
  font-family: var(--rt3-font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.1;
  color: #0d3050;
}

.rt3-stats__label {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #4a5d52;
}

.rt3-stats__meta {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #7a5a00;
}

@media (max-width: 960px) {
  .rt3-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .rt3-stats {
    grid-template-columns: 1fr;
  }
}

.rt3-ticker__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  min-height: 36px;
}

.rt3-ticker__label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #b71c1c;
  white-space: nowrap;
}

.rt3-ticker__viewport {
  overflow: hidden;
}

.rt3-ticker__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  padding: 0.45rem 0;
  animation: rt3-marquee 28s linear infinite;
}

.rt3-ticker a {
  color: #1a1408;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
}

.rt3-ticker a:hover {
  text-decoration: underline;
}

.rt3-main {
  padding: 2rem 0 3.5rem;
}

.rt3-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.5rem;
  align-items: start;
}

.rt3-layout--single {
  grid-template-columns: minmax(0, 1fr);
}

.rt3-stream {
  background: var(--rt3-soft);
  border: 1px solid var(--rt3-line);
  border-radius: var(--rt3-radius);
  padding: 1.1rem;
}

.rt3-rail {
  background: transparent;
  border: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.rt3-stream {
  min-height: 240px;
}

.rt3-stream .node-excerpt,
.rt3-stream .nodes,
.rt3-stream .nodes.promoted {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.rt3-stream .table {
  width: 100%;
  border-collapse: collapse;
}

.rt3-stream .table th,
.rt3-stream .table td {
  text-align: left;
  vertical-align: middle;
  padding: 0.7rem 0.85rem;
}

.rt3-stream .table th:last-child,
.rt3-stream .table td:last-child {
  text-align: right;
  white-space: nowrap;
}

.rt3-stream .table .node,
.rt3-stream .table .node h6 {
  margin: 0;
  padding: 0;
  text-align: left;
  font-size: inherit;
  font-weight: 600;
  line-height: 1.4;
}

.rt3-archive__head {
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rt3-line);
}

.rt3-archive__kicker {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7c73;
}

.rt3-archive__title {
  margin: 0;
  font-family: var(--rt3-font-display);
  font-size: 1.55rem;
  color: var(--rt3-pine-deep);
  text-transform: capitalize;
}

.rt3-archive__empty {
  margin: 1rem 0;
  color: #5d6b64;
}

.rt3-archive__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.rt3-archive__item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.7rem 0.85rem 0.7rem 0.7rem;
  background: #fff;
  border: 1px solid var(--rt3-line);
  border-radius: 14px;
}

.rt3-archive__item:hover {
  border-color: rgba(31, 92, 69, 0.28);
  box-shadow: 0 8px 18px rgba(19, 38, 28, 0.08);
}

.rt3-archive__date {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 68px;
  padding: 0.35rem 0.2rem;
  border-radius: 10px;
  background: linear-gradient(180deg, #1f5c45 0%, #143d2e 100%);
  color: #fff;
  line-height: 1.05;
}

.rt3-archive__day {
  font-family: var(--rt3-font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.rt3-archive__mon {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

.rt3-archive__year {
  font-size: 0.68rem;
  opacity: 0.75;
}

.rt3-archive__body {
  min-width: 0;
  text-decoration: none !important;
  color: inherit;
}

.rt3-archive__name {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--rt3-ink);
}

.rt3-archive__item:hover .rt3-archive__name {
  color: var(--rt3-pine);
}

.rt3-archive__view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: #eef6f1;
  color: var(--rt3-pine-deep) !important;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}

.rt3-archive__view:hover {
  background: var(--rt3-pine);
  color: #fff !important;
}

.rt3-archive .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.rt3-archive .pagination li a,
.rt3-archive .pagination li span {
  display: inline-flex;
  min-width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  padding: 0 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--rt3-line);
  background: #fff;
  color: var(--rt3-ink);
  text-decoration: none;
  font-size: 0.85rem;
}

.rt3-archive .pagination li.active span,
.rt3-archive .pagination li.active a {
  background: var(--rt3-pine);
  border-color: var(--rt3-pine);
  color: #fff;
}

@media (max-width: 640px) {
  .rt3-archive__item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .rt3-archive__view {
    grid-column: 2;
    justify-self: start;
  }
}

/* Notice board + important links — ticket / directory style */
.rt3-board {
  background: #fff;
  border: 1px solid var(--rt3-line);
  overflow: hidden;
}

.rt3-board__head {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 0;
  border-bottom: 0;
  background: linear-gradient(
    180deg,
    var(--rt3-widget-start, #2a7205) 0%,
    var(--rt3-widget-end, #42ab0c) 100%
  );
  color: var(--rt3-widget-head-text, #fff);
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.rt3-board__title {
  margin: 0;
  font-family: var(--rt3-font-display);
  font-size: 1.1rem;
  color: var(--rt3-widget-head-text, #fff);
  font-weight: 700;
}

.rt3-board__head--static {
  cursor: default;
}

.rt3-board__toggle {
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  opacity: 0.9;
}

.rt3-board__toggle--open {
  transform: rotate(-135deg);
  margin-top: 0.25rem;
}

.rt3-board__icon {
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.rt3-board--accordion:not(.rt3-board--collapsed) .rt3-board__icon,
.rt3-board--always-open .rt3-board__icon {
  transform: rotate(90deg);
}

.rt3-board:not(.rt3-board--collapsed) .rt3-board__toggle {
  transform: rotate(-135deg);
  margin-top: 0.25rem;
}

.rt3-board--collapsed .rt3-board__panel {
  display: none;
}

.rt3-board--always-open .rt3-board__panel {
  display: block !important;
}

.rt3-board__panel {
  display: block;
}

.rt3-board__body {
  padding: 0.75rem;
}

.rt3-board__more {
  display: block;
  text-align: right;
  padding: 0 1rem 0.85rem;
  color: var(--rt3-widget-start, #2a7205);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.rt3-tickets {
  display: grid;
  gap: 0.55rem;
}

.rt3-ticket {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  background: #f7f1e8;
  border: 1px solid rgba(19, 38, 28, 0.1);
}

.rt3-ticket__stub {
  background: #1f3a4d;
  color: #f4efe6;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.05rem;
  padding: 0.45rem 0.2rem;
  border-right: 2px dotted rgba(255, 255, 255, 0.35);
}

.rt3-ticket__no {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.rt3-ticket__day {
  font-family: var(--rt3-font-display);
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 700;
}

.rt3-ticket__mon {
  font-size: 0.65rem;
  text-transform: uppercase;
}

.rt3-ticket__body {
  padding: 0.55rem 0.7rem;
  display: flex;
  align-items: center;
}

.rt3-ticket__body a,
.rt3-ticket__body span {
  color: var(--rt3-ink);
  text-decoration: none;
  font-size: 0.86rem;
  line-height: 1.35;
  font-weight: 500;
}

.rt3-ticket__body a:hover {
  color: var(--rt3-nav-bar, #b71c1c);
}

.rt3-board--links {
  background: #fff;
  color: inherit;
  border-color: var(--rt3-line);
}

.rt3-board--links .rt3-board__head {
  border-bottom: 0;
}

.rt3-board--links .rt3-board__title {
  color: var(--rt3-widget-head-text, #fff);
}

.rt3-board--links .rt3-board__body ul,
.rt3-board--links .rt3-board__body .nav,
.rt3-board--links .rt3-board__body .menu,
.rt3-board--links .rt3-links-menu {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  gap: 0.4rem !important;
}

.rt3-board--links .rt3-board__body li,
.rt3-board--links .rt3-links-menu__item {
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  border: 0 !important;
  background: transparent !important;
}

.rt3-board--links .rt3-board__body a,
.rt3-board--links .rt3-links-menu__link {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem !important;
  background: #f7faf8 !important;
  color: #1a2e24 !important;
  text-decoration: none !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  border-left: 3px solid var(--rt3-widget-start, #2a7205) !important;
}

.rt3-board--links .rt3-board__body a::after {
  content: "↗";
  opacity: 0.8;
  flex-shrink: 0;
}

/* Also style plain [menu:] output (nav > a) with the same accents */
.rt3-board--links .rt3-board__body .nav > a:nth-child(12n + 1) { border-left-color: #2a7205 !important; }
.rt3-board--links .rt3-board__body .nav > a:nth-child(12n + 2) { border-left-color: #7ec8e3 !important; }
.rt3-board--links .rt3-board__body .nav > a:nth-child(12n + 3) { border-left-color: #e07a5f !important; }
.rt3-board--links .rt3-board__body .nav > a:nth-child(12n + 4) { border-left-color: #81b29a !important; }
.rt3-board--links .rt3-board__body .nav > a:nth-child(12n + 5) { border-left-color: #c9ada7 !important; }
.rt3-board--links .rt3-board__body .nav > a:nth-child(12n + 6) { border-left-color: #3d5a80 !important; }
.rt3-board--links .rt3-board__body .nav > a:nth-child(12n + 7) { border-left-color: #f2cc8f !important; }
.rt3-board--links .rt3-board__body .nav > a:nth-child(12n + 8) { border-left-color: #9b5de5 !important; }
.rt3-board--links .rt3-board__body .nav > a:nth-child(12n + 9) { border-left-color: #e9c46a !important; }
.rt3-board--links .rt3-board__body .nav > a:nth-child(12n + 10) { border-left-color: #264653 !important; }
.rt3-board--links .rt3-board__body .nav > a:nth-child(12n + 11) { border-left-color: #f4a261 !important; }
.rt3-board--links .rt3-board__body .nav > a:nth-child(12n + 12) { border-left-color: #2a9d8f !important; }

.rt3-board--links .rt3-board__body a:hover {
  background: color-mix(in srgb, var(--rt3-widget-start, #2a7205) 12%, #fff) !important;
}

/* Unique left accent per row; cycles after 12 items */
.rt3-board--links .rt3-board__body li:nth-child(12n + 1) a,
.rt3-board--links .rt3-links-menu__item:nth-child(12n + 1) .rt3-links-menu__link {
  border-left-color: #2a7205 !important;
}
.rt3-board--links .rt3-board__body li:nth-child(12n + 2) a,
.rt3-board--links .rt3-links-menu__item:nth-child(12n + 2) .rt3-links-menu__link {
  border-left-color: #7ec8e3 !important;
}
.rt3-board--links .rt3-board__body li:nth-child(12n + 3) a,
.rt3-board--links .rt3-links-menu__item:nth-child(12n + 3) .rt3-links-menu__link {
  border-left-color: #e07a5f !important;
}
.rt3-board--links .rt3-board__body li:nth-child(12n + 4) a,
.rt3-board--links .rt3-links-menu__item:nth-child(12n + 4) .rt3-links-menu__link {
  border-left-color: #81b29a !important;
}
.rt3-board--links .rt3-board__body li:nth-child(12n + 5) a,
.rt3-board--links .rt3-links-menu__item:nth-child(12n + 5) .rt3-links-menu__link {
  border-left-color: #c9ada7 !important;
}
.rt3-board--links .rt3-board__body li:nth-child(12n + 6) a,
.rt3-board--links .rt3-links-menu__item:nth-child(12n + 6) .rt3-links-menu__link {
  border-left-color: #3d5a80 !important;
}
.rt3-board--links .rt3-board__body li:nth-child(12n + 7) a,
.rt3-board--links .rt3-links-menu__item:nth-child(12n + 7) .rt3-links-menu__link {
  border-left-color: #f2cc8f !important;
}
.rt3-board--links .rt3-board__body li:nth-child(12n + 8) a,
.rt3-board--links .rt3-links-menu__item:nth-child(12n + 8) .rt3-links-menu__link {
  border-left-color: #9b5de5 !important;
}
.rt3-board--links .rt3-board__body li:nth-child(12n + 9) a,
.rt3-board--links .rt3-links-menu__item:nth-child(12n + 9) .rt3-links-menu__link {
  border-left-color: #00bbf9 !important;
}
.rt3-board--links .rt3-board__body li:nth-child(12n + 10) a,
.rt3-board--links .rt3-links-menu__item:nth-child(12n + 10) .rt3-links-menu__link {
  border-left-color: #f15bb5 !important;
}
.rt3-board--links .rt3-board__body li:nth-child(12n + 11) a,
.rt3-board--links .rt3-links-menu__item:nth-child(12n + 11) .rt3-links-menu__link {
  border-left-color: #d4a017 !important;
}
.rt3-board--links .rt3-board__body li:nth-child(12n + 12) a,
.rt3-board--links .rt3-links-menu__item:nth-child(12n + 12) .rt3-links-menu__link {
  border-left-color: #00a896 !important;
}

.rt3-teachers__title {
  margin: 0 0 1.1rem;
  font-family: var(--rt3-font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: #8a5a3a;
}

.rt3-teachers__empty {
  margin: 0;
  color: #666;
}

.rt3-teachers__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.rt3-teacher {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--rt3-line);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rt3-teacher:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(19, 38, 28, 0.12);
}

.rt3-teacher__photo {
  background: #2f7dbe;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.rt3-teacher__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.rt3-teacher__meta {
  background: #a78a7f;
  color: #fff;
  padding: 0.7rem 0.75rem 0.85rem;
  text-align: center;
}

.rt3-teacher__meta strong {
  display: block;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.rt3-teacher__meta span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  opacity: 0.92;
}

.rt3-profile__back {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--rt3-nav-bar, #b71c1c);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}

.rt3-profile__card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--rt3-line);
  border-radius: 16px;
  padding: 1rem;
}

.rt3-profile__photo {
  background: #2f7dbe;
  border-radius: 12px;
  overflow: hidden;
}

.rt3-profile__photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.rt3-profile__info h3 {
  margin: 0;
  font-family: var(--rt3-font-display);
  font-size: 1.45rem;
}

.rt3-profile__role {
  margin: 0.25rem 0 0.85rem;
  color: #8a5a3a;
  font-weight: 600;
}

.rt3-profile__table {
  width: 100%;
  border-collapse: collapse;
}

.rt3-profile__table th,
.rt3-profile__table td {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--rt3-line);
  text-align: left;
  vertical-align: top;
  font-size: 0.9rem;
}

.rt3-profile__table th {
  width: 38%;
  color: #555;
  font-weight: 600;
}

@media (max-width: 960px) {
  .rt3-teachers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rt3-profile__card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .rt3-teachers__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
}

.rt3-rail {
  display: grid;
  gap: 1rem;
}

.rt3-rail__block {
  border-top: 0;
  padding-top: 0;
}

.rt3-rail__block:first-child {
  border-top: 0;
  padding-top: 0;
}

.rt3-rail img,
.rt3-rail .map_img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.rt3-boxes {
  margin: 1.25rem 0;
  padding: 1rem;
  background: var(--rt3-sky);
  border-radius: 12px;
}

.rt3-box-grid {
  display: grid;
  grid-template-columns: repeat(var(--rt3-box-cols, 4), minmax(0, 1fr));
  gap: 1rem;
}

.rt3-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 180px;
  padding: 1.1rem 0.85rem 0.95rem;
  background: #fff;
  color: #1a1a1a;
  text-decoration: none;
  text-align: center;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rt3-box:hover,
.rt3-box:focus {
  color: #1a1a1a;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.rt3-box__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 92px;
}

.rt3-box__image img {
  max-width: 110px;
  max-height: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.rt3-box__title {
  display: block;
  font-family: var(--rt3-font-body);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  color: #222;
}

.rt3-box__desc {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.35;
  color: #555;
}

@media (max-width: 900px) {
  .rt3-box-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .rt3-box {
    min-height: 150px;
    padding: 0.85rem 0.6rem;
  }

  .rt3-box__image img {
    max-width: 84px;
    max-height: 84px;
  }
}

.rt3-footer {
  background: var(--rt3-footer-bg, var(--rt3-pine-deep));
  color: #e8f2ec;
  padding: 2.5rem 0 1.5rem;
  margin-top: 1rem;
}

.rt3-footer a {
  color: #d7ebe1;
  text-decoration: none;
}

.rt3-footer__grid {
  display: grid;
  grid-template-columns: minmax(120px, 0.9fr) 1.4fr 1.2fr minmax(120px, 0.8fr);
  gap: 1.5rem;
  align-items: center;
}

.rt3-footer__school {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-align: center;
  border-right: 2px solid rgba(255, 255, 255, 0.12);
  padding-right: 1rem;
}

.rt3-footer__school-logo img {
  width: 88px;
  height: auto;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
}

.rt3-footer__rights {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #d7ebe1;
  opacity: 0.9;
}

.rt3-footer__brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.rt3-footer__brand img {
  width: 64px;
  height: auto;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
}

.rt3-footer__company {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  text-align: right;
  align-self: end;
  padding-top: 1.75rem;
}

.rt3-footer__company-link {
  display: inline-block;
  line-height: 0;
  margin-top: 0.5rem;
}

.rt3-footer__company-link img {
  width: 158px;
  max-width: 100%;
  height: auto;
}

.rt3-footer h3 {
  margin: 0 0 0.6rem;
  font-family: var(--rt3-font-display);
  font-size: 1.1rem;
}

.rt3-footer__address {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #e8f2ec;
}

.rt3-footer__address address {
  font-style: normal;
  margin: 0;
}

.rt3-footer__address a {
  color: #d7ebe1;
  text-decoration: underline;
}

.rt3-footer__address b,
.rt3-footer__address strong {
  color: #fff37c;
}

.rt3-footer__nav .rt3-footer-nav,
.rt3-footer ul.rt3-footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 0.75rem;
}

.rt3-footer__nav .rt3-footer-nav > li,
.rt3-footer ul.rt3-footer-nav > li {
  border-left: 4px solid rgba(255, 255, 255, 0.25);
  padding-left: 0.55rem;
  margin: 0;
}

.rt3-footer__nav .rt3-footer-nav-link,
.rt3-footer .rt3-footer-nav a {
  display: block;
  font-size: 0.82rem;
  line-height: 1.35;
  padding: 0.15rem 0;
  color: #d7ebe1 !important;
  text-decoration: none !important;
}

.rt3-footer__nav .rt3-footer-nav-link:hover,
.rt3-footer .rt3-footer-nav a:hover {
  color: #fff !important;
  text-decoration: underline !important;
}

.rt3-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.rt3-footer__copy {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  opacity: 0.8;
}

.rt3-reveal {
  animation: rt3-rise 0.7s ease both;
}

.rt3-reveal--delay {
  animation-delay: 0.12s;
}

@keyframes rt3-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rt3-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 960px) {
  .rt3-layout {
    grid-template-columns: 1fr;
  }

  .rt3-footer__grid {
    grid-template-columns: 1fr;
  }

  .rt3-footer__school {
    border-right: 0;
    padding-right: 0;
  }

  .rt3-footer__company {
    justify-content: center;
    text-align: center;
  }

  .rt3-footer__nav .rt3-footer-nav,
  .rt3-footer ul.rt3-footer-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .rt3-menubar__inner {
    overflow: visible;
  }

  .rt3-nav > ul > li > a,
  .rt3-nav > .rt3-nav-list > li > a {
    width: 100%;
    justify-content: flex-start;
    padding: 0.72rem 1rem !important;
    min-height: 0;
    font-size: 0.9rem !important;
    text-transform: none;
    font-weight: 600;
    letter-spacing: 0.01em;
  }

  .rt3-nav li {
    flex: 1 1 100%;
    min-width: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .rt3-nav-toggle {
    display: inline-flex;
  }

  .rt3-menubar {
    display: none;
  }

  .rt3-menubar.is-open {
    display: block;
  }

  .rt3-nav > ul,
  .rt3-nav > .rt3-nav-list {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .rt3-nav > .rt3-nav-list > li > a {
    text-transform: none;
    font-weight: 600;
    justify-content: flex-start;
  }

  .rt3-nav > .rt3-nav-list > li.dropdown > a::after,
  .rt3-nav .dropdown-menu li.dropdown > a::after {
    border-top: 5px solid currentColor;
    border-bottom: 0;
    transform: none;
  }

  .rt3-nav > .rt3-nav-list > li.dropdown:hover > ul.dropdown-menu,
  .rt3-nav > .rt3-nav-list > li.rt3-nav-item.dropdown:hover > ul.dropdown-menu,
  .rt3-nav > .rt3-nav-list > li.is-open > ul.dropdown-menu,
  .rt3-nav .dropdown-menu li.dropdown:hover > ul.dropdown-menu,
  .rt3-nav .dropdown-menu li.dropdown-item.dropdown:hover > ul.dropdown-menu,
  .rt3-nav .dropdown-menu li.is-open > ul.dropdown-menu {
    position: static !important;
    left: auto;
    top: auto;
    display: flex !important;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding-left: 0.75rem !important;
    background: rgba(0, 0, 0, 0.12) !important;
    min-width: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .rt3-nav .dropdown-menu.rt3-flyout-root {
    position: static !important;
  }

  .rt3-util-search,
  .rt3-follow__label {
    display: none;
  }

  .rt3-slider {
    height: 42vh;
  }
}

@media (max-width: 640px) {
  .rt3-brand__tag {
    display: none;
  }

  .rt3-hero {
    min-height: 70vh;
  }
}

.rt3-featured {
  margin-top: 1.75rem;
}

.rt3-featured__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.rt3-featured__title {
  margin: 0;
  font-family: var(--rt3-font-display);
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  color: var(--rt3-pine-deep);
  text-align: left;
}

.rt3-featured__nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.rt3-featured__btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--rt3-line);
  border-radius: 50%;
  background: #fff;
  color: var(--rt3-pine-deep);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.rt3-featured__btn:hover {
  background: var(--rt3-mist);
}

.rt3-featured__page {
  min-width: 2.6rem;
  text-align: center;
  font-size: 0.82rem;
  color: #6b5a4a;
}

.rt3-featured__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.rt3-featured__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  width: auto;
  max-width: none;
  min-width: 0;
  padding: 1.1rem 0.85rem 1rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--rt3-line);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(19, 38, 28, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rt3-featured__card:hover,
.rt3-featured__card:focus {
  color: inherit;
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(19, 38, 28, 0.12);
}

.rt3-featured__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--rt3-mist);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--rt3-pine);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rt3-featured__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.rt3-featured__initials {
  font-family: var(--rt3-font-display);
  font-size: 1.7rem;
  color: var(--rt3-pine-deep);
}

.rt3-featured__name {
  display: block;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.3;
}

.rt3-featured__role {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  color: #6b5a4a;
}

@media (max-width: 960px) {
  .rt3-featured__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .rt3-featured__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .rt3-hero__brand,
  .rt3-hero__line,
  .rt3-hero__actions,
  .rt3-reveal,
  .rt3-ticker__track {
    animation: none !important;
  }
}
