.site-header {
  position: relative;
  z-index: 20;
}

.site-topbar {
  background: #ffffff;
  border-bottom: 1px solid #e7e8ec;
  box-shadow: 0 10px 30px rgba(18, 24, 38, 0.06);
}

.site-quicknav {
  background: #ffffff;
  border-bottom: 1px solid #edf0f5;
  overflow: visible;
}

.site-quicknav__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  padding: 14px 0;
}

.site-quicknav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f4f6fa;
  font-family: inherit;
  color: #1d2430;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: normal;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  appearance: none;
}

.site-quicknav__link:hover,
.site-quicknav__link:focus {
  background: #c61d28;
  color: #ffffff;
  text-decoration: none;
}

.site-quicknav__link.is-active {
  background: #c61d28;
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(198, 29, 40, 0.22);
}

.site-subnav {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  border-bottom: 1px solid #edf0f5;
}

.site-subnav__inner {
  padding: 22px 0 26px;
}

.site-subnav__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.site-subnav__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #c61d28;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-subnav__title {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.1;
  color: #171a21;
}

.site-subnav__text {
  margin: 0;
  max-width: 760px;
  color: #596273;
  font-size: 16px;
  line-height: 1.7;
}

.site-subnav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 18px;
  background: #171a21;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-subnav__cta:hover,
.site-subnav__cta:focus {
  color: #ffffff;
  text-decoration: none;
  background: #000000;
}

.site-subnav__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.site-subnav-card {
  display: block;
  height: 100%;
  padding: 22px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e8edf4;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.05);
  color: #171a21;
  text-decoration: none;
}

.site-subnav-card__title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
}

.site-subnav-card__text {
  margin: 0;
  color: #596273;
  font-size: 15px;
  line-height: 1.7;
}

.site-subnav-card:hover,
.site-subnav-card:focus {
  color: #171a21;
  text-decoration: none;
  border-color: rgba(198, 29, 40, 0.22);
  box-shadow: 0 20px 34px rgba(17, 24, 39, 0.08);
}

#about,
#updates,
#events {
  scroll-margin-top: 150px;
}

.site-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.site-topbar__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.site-topbar__identity {
  flex: 1 1 360px;
  min-width: 0;
  max-width: 560px;
}

.site-topbar__title {
  margin: 0;
  color: #1d2430;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(1.1rem, 1.8vw, 1.7rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.brand-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border: 1px solid #eceff4;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.brand-chip img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.brand-chip--wide img {
  width: 94%;
  height: 94%;
}

.brand-chip--tall img {
  width: 84%;
  height: 84%;
}

.brand-chip--placeholder span {
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: #2b2f38;
}

.site-topbar__contacts {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 14px;
  flex: 0 1 auto;
}

.site-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 88px;
  padding: 18px 22px;
  border-radius: 24px;
  background: #f7f9fc;
  border: 1px solid #edf0f4;
  color: #171a21;
  text-decoration: none;
}

.site-contact__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c61d28;
  margin-bottom: 6px;
}

.site-contact__value {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  color: #1d2430;
}

.site-contact:hover,
.site-contact:focus {
  color: #171a21;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(18, 24, 38, 0.08);
}

.hero-showcase {
  background:
    radial-gradient(circle at top left, rgba(198, 29, 40, 0.12), transparent 34%),
    linear-gradient(180deg, #f5f7fb 0%, #eef2f8 100%);
  padding: 36px 0 72px;
  min-height: auto;
}

.hero-carousel {
  position: relative;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(209, 214, 224, 0.8);
  border-radius: 40px;
  box-shadow: 0 28px 60px rgba(20, 25, 40, 0.12);
  overflow: hidden;
}

.hero-carousel .carousel-item {
  min-height: 1px;
}

.hero-carousel .carousel-inner {
  position: relative;
  z-index: 1;
}

.hero-carousel__inner-wrap {
  padding: 48px 56px 84px;
  min-height: 560px;
  display: block;
}

.hero-carousel__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 520px);
  grid-template-areas:
    "copy media"
    "summary media"
    "actions media";
  gap: 24px 40px;
  align-items: start;
  min-height: 100%;
}

.hero-carousel__copy {
  grid-area: copy;
  max-width: 520px;
}

.hero-carousel__summary {
  grid-area: summary;
  max-width: 520px;
}

.hero-carousel__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(198, 29, 40, 0.1);
  color: #a4161e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-carousel__copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: normal;
  color: #171a21;
  text-transform: none;
  text-align: left;
}

.hero-carousel__summary p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #536072;
}

.hero-carousel__actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
  align-self: start;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.25s ease;
}

.hero-button--primary {
  background: #c61d28;
  color: #ffffff;
  box-shadow: 0 18px 30px rgba(198, 29, 40, 0.24);
}

.hero-button--primary:hover,
.hero-button--primary:focus {
  background: #a4161e;
  color: #ffffff;
  text-decoration: none;
}

.hero-button--secondary {
  background: transparent;
  border-color: #cfd6e2;
  color: #1f2430;
}

.hero-button--secondary:hover,
.hero-button--secondary:focus {
  background: #ffffff;
  color: #1f2430;
  text-decoration: none;
}

.hero-carousel__media {
  grid-area: media;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.hero-carousel__frame {
  position: relative;
  width: min(100%, 520px);
  margin-left: auto;
  padding: 18px;
  border-radius: 32px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f7fb 100%);
  box-shadow: 0 20px 44px rgba(16, 24, 40, 0.12);
}

.hero-carousel__frame::after {
  content: "";
  position: absolute;
  inset: auto 24px -18px 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(20, 25, 40, 0.12);
  filter: blur(18px);
}

.hero-carousel__image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 24px;
}

.hero-carousel__footer {
  position: absolute;
  inset: auto 0 24px 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 28px;
  pointer-events: none;
}

.hero-carousel__footer > * {
  pointer-events: auto;
}

.hero-carousel__indicators {
  position: static;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.hero-carousel__indicators li {
  margin: 0;
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: rgba(84, 94, 109, 0.28);
  cursor: pointer;
}

.hero-carousel__indicators .active {
  background: #c61d28;
}

.hero-carousel__nav {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero-carousel__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  position: static;
  border-radius: 50%;
  background: #c61d28;
  border: 0;
  color: #ffffff;
  opacity: 1;
  box-shadow: 0 16px 32px rgba(198, 29, 40, 0.28);
  touch-action: manipulation;
}

.hero-carousel__control:hover,
.hero-carousel__control:focus {
  background: #c61d28;
  color: #ffffff;
  opacity: 1;
}

.hero-carousel__icon {
  display: inline-block;
  font-size: 30px;
  line-height: 1;
  font-weight: 400;
  transform: translateY(-1px);
}

.updates-section {
  padding: 100px 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
}

.updates-shell {
  padding: 40px;
  border-radius: 36px;
  background: #ffffff;
  box-shadow: 0 28px 50px rgba(17, 24, 39, 0.08);
  border: 1px solid #edf0f5;
}

.updates-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.updates-kicker {
  margin: 0 0 12px;
  color: #c61d28;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.updates-header h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  color: #171a21;
}

.updates-header p {
  max-width: 640px;
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: #5b6576;
}

.updates-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: #f2f5f9;
}

.updates-tab {
  border: 0;
  background: transparent;
  color: #263041;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.updates-tab.is-active {
  background: #c61d28;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(198, 29, 40, 0.24);
}

.updates-panel {
  display: none;
}

.updates-panel.is-active {
  display: block;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.news-card,
.event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #edf1f5;
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.06);
  text-decoration: none;
  color: #171a21;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.news-card:hover,
.news-card:focus,
.event-card:hover,
.event-card:focus {
  text-decoration: none;
  color: #171a21;
  transform: translateY(-6px);
  box-shadow: 0 24px 40px rgba(17, 24, 39, 0.1);
  border-color: rgba(198, 29, 40, 0.24);
}

.news-card__media,
.event-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.news-card__media img,
.event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__body,
.event-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.news-card__meta,
.event-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  color: #6a7383;
}

.news-card__tag,
.event-card__tag {
  color: #c61d28;
}

.news-card__title,
.event-card__title {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.28;
  color: #171a21;
}

.news-card__text,
.event-card__text {
  margin: 0;
  color: #596273;
  font-size: 16px;
  line-height: 1.7;
}

.news-card__link,
.event-card__link {
  margin-top: auto;
  padding-top: 20px;
  color: #c61d28;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.updates-more {
  margin-top: 28px;
}

.updates-more__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #171a21;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.updates-more__link:hover,
.updates-more__link:focus {
  color: #c61d28;
  text-decoration: none;
}

.events-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.events-calendar-card,
.events-listing {
  border-radius: 28px;
  background: #f9fbfd;
  border: 1px solid #edf1f5;
}

.events-calendar-card {
  padding: 24px;
}

.events-calendar__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.events-calendar__nav {
  width: 44px;
  height: 44px;
  border: 1px solid #d7dde8;
  border-radius: 50%;
  background: #ffffff;
  color: #1d2430;
  font-size: 24px;
  line-height: 1;
}

.events-calendar__toolbar strong {
  font-size: 20px;
  line-height: 1.3;
  color: #171a21;
}

.events-calendar__weekdays,
.events-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.events-calendar__weekdays {
  margin-bottom: 10px;
}

.events-calendar__weekday {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #7f8795;
}

.events-calendar__day {
  position: relative;
  min-height: 54px;
  border: 1px solid #e2e7ef;
  border-radius: 16px;
  background: #ffffff;
  color: #1f2430;
  font-size: 15px;
  font-weight: 600;
}

.events-calendar__day.is-outside {
  color: #a3adbc;
  background: #f4f6fa;
}

.events-calendar__day.has-events {
  border-color: rgba(198, 29, 40, 0.35);
  box-shadow: inset 0 0 0 1px rgba(198, 29, 40, 0.18);
}

.events-calendar__day.is-selected {
  background: #c61d28;
  border-color: #c61d28;
  color: #ffffff;
  box-shadow: 0 16px 26px rgba(198, 29, 40, 0.2);
}

.events-calendar__day::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  transform: translateX(-50%);
}

.events-calendar__day.has-events::after {
  background: #c61d28;
}

.events-calendar__day.is-selected::after {
  background: #ffffff;
}

.events-calendar__reset {
  width: 100%;
  margin-top: 18px;
  padding: 13px 16px;
  border: 0;
  border-radius: 16px;
  background: #ffffff;
  color: #1f2430;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.05);
}

.events-listing {
  padding: 28px;
}

.events-listing__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.events-listing__head h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
  color: #171a21;
}

.events-listing__head p {
  margin: 0;
  color: #697384;
  font-size: 16px;
}

.events-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.events-empty {
  padding: 22px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px dashed #d8dee8;
  color: #596273;
  font-size: 16px;
  line-height: 1.7;
}

.entry-page {
  padding: 42px 0 88px;
  background:
    radial-gradient(circle at top left, rgba(198, 29, 40, 0.08), transparent 28%),
    linear-gradient(180deg, #f7f8fb 0%, #ffffff 48%);
}

.entry-shell {
  padding: 40px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #edf1f5;
  box-shadow: 0 26px 50px rgba(17, 24, 39, 0.08);
}

.entry-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a92a1;
}

.entry-breadcrumbs a {
  color: #8a92a1;
}

.entry-breadcrumbs a:hover,
.entry-breadcrumbs a:focus {
  color: #c61d28;
  text-decoration: none;
}

.entry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 34px;
}

.entry-main {
  min-width: 0;
}

.entry-type {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(198, 29, 40, 0.1);
  color: #b31a24;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.entry-title {
  margin: 18px 0 16px;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.08;
  color: #171a21;
}

.entry-summary {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: #556173;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 28px;
}

.entry-meta__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #f4f7fb;
  color: #1f2430;
  font-size: 14px;
  font-weight: 600;
}

.entry-cover {
  width: 100%;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 24px 40px rgba(17, 24, 39, 0.12);
}

.entry-body {
  padding-top: 28px;
}

.entry-body p {
  margin: 0 0 18px;
  color: #454f60;
  font-size: 17px;
  line-height: 1.85;
}

.entry-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.entry-card {
  padding: 24px;
  border-radius: 28px;
  background: #f8fafc;
  border: 1px solid #edf1f5;
}

.entry-card h3 {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.2;
  color: #171a21;
}

.entry-card p,
.entry-card li {
  color: #596273;
  font-size: 15px;
  line-height: 1.7;
}

.entry-card ul {
  padding-left: 18px;
  margin: 0;
}

.entry-related {
  display: grid;
  gap: 14px;
}

.entry-related__item {
  display: block;
  padding: 18px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e8edf4;
  color: #171a21;
  text-decoration: none;
}

.entry-related__item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.5;
}

.entry-related__item span {
  color: #697384;
  font-size: 14px;
}

.entry-related__item:hover,
.entry-related__item:focus {
  border-color: rgba(198, 29, 40, 0.28);
  box-shadow: 0 18px 30px rgba(17, 24, 39, 0.08);
  color: #171a21;
  text-decoration: none;
}

.site-footer {
  margin-top: 0;
  background-color: #240082;
  padding: 20px 0;
  color: #fff;
}

.site-footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.site-footer__content img {
  height: 60px;
}

.site-footer__text {
  font-family: "Brush Script MT", cursive;
  font-size: 1.5rem;
  color: #fff;
  white-space: nowrap;
}

@media (max-width: 1199px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .events-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .site-topbar__inner,
  .site-subnav__header,
  .updates-header,
  .events-layout,
  .entry-layout {
    display: block;
  }

  .site-topbar__contacts {
    margin-top: 18px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .site-topbar__identity {
    max-width: none;
    margin: 18px 0 0;
  }

  .hero-carousel__inner-wrap {
    padding: 36px 32px 116px;
    min-height: 0;
  }

  .hero-carousel__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "media"
      "summary"
      "actions";
    gap: 24px;
  }

  .hero-carousel__copy {
    max-width: none;
  }

  .hero-carousel__summary {
    max-width: none;
  }

  .hero-carousel__actions {
    margin-top: 0;
  }

  .hero-carousel__frame {
    width: min(100%, 620px);
    margin-left: 0;
  }

  .updates-tabs {
    margin-top: 18px;
  }

  .events-listing,
  .entry-sidebar,
  .site-subnav__cta {
    margin-top: 24px;
  }
}

@media (max-width: 767px) {
  .site-topbar__inner {
    padding: 14px 0;
    text-align: center;
  }

  .site-quicknav__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px 0;
  }

  .site-quicknav__link {
    min-height: 42px;
    padding: 9px 14px;
    font-size: 13px;
  }

  .site-subnav__inner {
    padding: 18px 0 22px;
  }

  .site-subnav__title,
  .home-sections__head h2 {
    font-size: 24px;
    text-align: center;
  }

  .site-subnav__text,
  .site-subnav__header {
    text-align: center;
  }

  .site-subnav__grid {
    grid-template-columns: 1fr;
  }

  .site-topbar__brand {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .site-topbar__identity {
    margin: 16px 0 0;
  }

  .site-topbar__title {
    font-size: 18px;
    text-align: center;
  }

  .brand-chip {
    width: 72px;
    height: 72px;
    border-radius: 20px;
  }

  .site-contact {
    min-height: auto;
    width: 100%;
    border-radius: 20px;
    padding: 16px 18px;
    text-align: center;
  }

  .site-contact__value {
    font-size: 16px;
  }

  .site-topbar__contacts {
    justify-content: center;
  }

  .hero-showcase {
    padding: 20px 0 48px;
  }

  .hero-carousel {
    border-radius: 28px;
  }

  .hero-carousel__inner-wrap {
    padding: 84px 20px 28px;
    min-height: 0;
  }

  .hero-carousel__layout {
    gap: 18px;
  }

  .hero-carousel__copy {
    text-align: left;
  }

  .hero-carousel__eyebrow {
    margin: 0 0 12px;
  }

  .hero-carousel__copy h1 {
    max-width: none;
    margin: 0 0 14px;
    font-size: clamp(1.85rem, 8vw, 2.1rem);
    text-align: left;
    line-height: 1.04;
    letter-spacing: -0.02em;
    text-wrap: balance;
  }

  .hero-carousel__summary p,
  .updates-header p,
  .news-card__text,
  .event-card__text,
  .entry-summary,
  .entry-body p {
    font-size: 15px;
  }

  .hero-carousel__summary p {
    max-width: none;
    margin: 0;
    text-align: left;
    line-height: 1.65;
  }

  .hero-carousel__actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 12px;
  }

  .hero-button {
    width: 100%;
    min-width: 0;
  }

  .hero-carousel__footer {
    inset: 18px 18px auto auto;
    width: auto;
    padding: 0;
    justify-content: flex-end;
    gap: 10px;
  }

  .hero-carousel__indicators {
    display: none;
  }

  .hero-carousel__nav {
    gap: 10px;
  }

  .hero-carousel__control {
    width: 44px;
    height: 44px;
  }

  .hero-carousel__icon {
    font-size: 24px;
  }

  .hero-carousel__media {
    margin-top: 0;
  }

  .hero-carousel__frame {
    width: 100%;
    margin: 0;
    padding: 12px;
    border-radius: 28px;
  }

  .updates-section {
    padding: 70px 0;
  }

  .updates-shell,
  .entry-shell {
    padding: 22px;
    border-radius: 28px;
  }

  .updates-header,
  .events-listing__head,
  .entry-breadcrumbs {
    text-align: center;
  }

  .updates-tabs {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .updates-tab {
    flex: 1 1 140px;
    justify-content: center;
    text-align: center;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .about .titlepage p,
  .software .titlepage p {
    padding: 24px 20px;
    font-size: 16px;
    line-height: 1.75;
  }

  .software .titlepage {
    float: none;
    max-width: none;
  }

  .we_do .we_box {
    height: auto;
    min-height: 0;
  }

  .transport_role .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .transport_role .titlepage {
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 0;
  }

  .transport_role .titlepage h2 {
    font-size: clamp(1.75rem, 7.5vw, 2.35rem);
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .events-calendar__day {
    min-height: 48px;
    border-radius: 14px;
  }

  .site-footer__content {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    text-align: center;
  }

  .site-footer__content img {
    height: 42px;
  }

  .site-footer__text {
    font-size: 1.15rem;
  }
}

@media (max-width: 380px) {
  .hero-carousel__inner-wrap {
    padding: 80px 16px 24px;
  }

  .hero-carousel__copy h1 {
    font-size: 1.85rem;
  }

  .hero-carousel__summary p {
    font-size: 14px;
  }

  .hero-carousel__footer {
    padding: 0 16px 16px;
  }

  .site-quicknav__link {
    padding: 9px 12px;
  }

  .transport_role .titlepage h2 {
    font-size: 1.6rem;
  }
}

.home-sections {
  padding: 0 0 100px;
  background: linear-gradient(180deg, #eef2f8 0%, #ffffff 100%);
}

.home-sections__head {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.home-sections__head h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  color: #171a21;
}

.home-sections__head p {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: #596273;
}

.sections-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.section-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid #edf1f5;
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.06);
}

.section-card__eyebrow {
  margin-bottom: 14px;
  color: #c61d28;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-card__title {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
  color: #171a21;
}

.section-card__summary {
  margin: 0;
  color: #596273;
  font-size: 16px;
  line-height: 1.7;
}

.section-card__links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.section-card__link,
.section-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
}

.section-card__link {
  background: #f5f7fb;
  color: #1f2430;
}

.section-card__link:hover,
.section-card__link:focus {
  background: #eef2f8;
  color: #1f2430;
  text-decoration: none;
}

.section-card__cta {
  margin-top: auto;
  background: #c61d28;
  color: #ffffff;
}

.section-card__cta:hover,
.section-card__cta:focus {
  color: #ffffff;
  text-decoration: none;
  background: #a4161e;
}

.restored-section {
  padding: 0 0 88px;
  background: #ffffff;
}

.restored-section--soft {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.restored-section--last {
  padding-bottom: 100px;
}

.restored-shell {
  padding: 38px;
  border-radius: 36px;
  background: #ffffff;
  border: 1px solid #edf1f5;
  box-shadow: 0 24px 46px rgba(17, 24, 39, 0.08);
}

.restored-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: center;
}

.restored-grid--reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.restored-copy h2,
.restored-head h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  color: #171a21;
}

.restored-copy p,
.restored-head p,
.restored-card p {
  margin: 0;
  color: #596273;
  font-size: 16px;
  line-height: 1.8;
}

.restored-head {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.restored-media {
  display: grid;
  gap: 18px;
}

.restored-media--double {
  grid-template-columns: minmax(180px, 0.6fr) minmax(0, 1fr);
  align-items: stretch;
}

.restored-photo {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 22px 38px rgba(17, 24, 39, 0.12);
  background: #f6f8fb;
}

.restored-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.restored-photo--compact {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 18px;
}

.restored-photo--compact img {
  object-fit: contain;
}

.restored-card-grid {
  display: grid;
  gap: 22px;
}

.restored-card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.restored-card-grid--five {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.restored-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: 26px 24px;
  border-radius: 28px;
  background: #f8fafc;
  border: 1px solid #edf1f5;
}

.restored-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #c61d28;
  color: #c61d28;
  font-size: 22px;
  font-weight: 700;
}

.restored-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  color: #171a21;
}

.entry-section {
  margin-top: 30px;
}

.entry-section h2 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.2;
  color: #171a21;
}

.entry-list {
  margin: 0;
  padding-left: 20px;
}

.entry-list li {
  margin-bottom: 12px;
  color: #454f60;
  font-size: 16px;
  line-height: 1.8;
}

.entry-child-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.entry-child-card {
  display: block;
  padding: 22px;
  border-radius: 24px;
  background: #f8fafc;
  border: 1px solid #edf1f5;
  color: #171a21;
  text-decoration: none;
}

.entry-child-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.entry-child-card__meta span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(198, 29, 40, 0.1);
  color: #b31a24;
  font-size: 12px;
  font-weight: 700;
}

.entry-child-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
}

.entry-child-card p {
  margin: 0;
  color: #596273;
  font-size: 15px;
  line-height: 1.7;
}

.entry-child-card:hover,
.entry-child-card:focus {
  color: #171a21;
  text-decoration: none;
  border-color: rgba(198, 29, 40, 0.24);
  box-shadow: 0 18px 30px rgba(17, 24, 39, 0.08);
}

.entry-resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.entry-resource {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: 22px;
  background: #f8fafc;
  border: 1px solid #edf1f5;
  color: #171a21;
  text-decoration: none;
}

.entry-resource strong {
  font-size: 17px;
  line-height: 1.3;
}

.entry-resource span {
  color: #596273;
  font-size: 14px;
  line-height: 1.6;
}

.entry-resource:hover,
.entry-resource:focus {
  color: #171a21;
  text-decoration: none;
  border-color: rgba(198, 29, 40, 0.24);
}

.entry-facts {
  display: grid;
  gap: 12px;
}

.entry-fact {
  padding: 14px 16px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e8edf4;
}

.entry-fact span {
  display: block;
  margin-bottom: 6px;
  color: #8a92a1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.entry-fact strong {
  color: #171a21;
  font-size: 16px;
  line-height: 1.5;
}

.entry-events-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1199px) {
  .restored-card-grid--five,
  .sections-grid,
  .entry-child-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .home-sections {
    padding: 0 0 70px;
  }

  .sections-grid,
  .entry-child-grid,
  .entry-events-grid {
    grid-template-columns: 1fr;
  }

  .restored-shell {
    padding: 24px;
    border-radius: 28px;
  }

  .restored-grid,
  .restored-grid--reverse,
  .restored-media--double,
  .restored-card-grid--three,
  .restored-card-grid--five {
    grid-template-columns: 1fr;
  }

  .section-card {
    padding: 22px;
  }

  .entry-section h2,
  .restored-copy h2 {
    font-size: 24px;
    text-align: center;
  }

  .restored-copy,
  .restored-copy p {
    text-align: center;
  }

  .restored-copy p {
    font-size: 15px;
  }
}

:root {
  --site-brand: #b41f2a;
  --site-brand-deep: #8f1820;
  --site-ink: #171a21;
  --site-copy: #566173;
  --site-copy-strong: #2a3342;
  --site-line: rgba(17, 24, 39, 0.08);
  --site-line-strong: rgba(17, 24, 39, 0.13);
  --site-panel: rgba(255, 255, 255, 0.92);
  --site-panel-soft: rgba(249, 246, 240, 0.88);
  --site-mist: #edf3f7;
  --site-paper: #fbf8f2;
  --site-shadow-soft: 0 18px 40px rgba(17, 24, 39, 0.08);
  --site-shadow-strong: 0 28px 60px rgba(17, 24, 39, 0.12);
  --site-font-ui: "Trebuchet MS", "Segoe UI", sans-serif;
  --site-font-display: "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(180, 31, 42, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(28, 54, 82, 0.08), transparent 26%),
    linear-gradient(180deg, #f7f2eb 0%, #ffffff 28%, #edf3f7 100%);
  color: var(--site-ink);
  font-family: var(--site-font-ui);
}

#entryStart {
  scroll-margin-top: 20px;
}

h1,
h2,
h3,
.site-subnav__title,
.hero-carousel__copy h1,
.updates-header h2,
.events-listing__head h3,
.entry-title,
.restored-copy h2,
.restored-head h2,
.restored-card h3,
.entry-card h3 {
  font-family: var(--site-font-display);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.site-topbar {
  background: rgba(255, 255, 255, 0.86);
  border-bottom-color: rgba(17, 24, 39, 0.06);
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(18px);
}

.site-quicknav {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 249, 252, 0.88) 100%);
}

.site-quicknav__inner {
  gap: 12px;
  padding: 16px 0 18px;
}

.site-quicknav__link {
  min-height: 48px;
  padding: 12px 18px;
  border-color: rgba(17, 24, 39, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 241, 235, 0.92) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: var(--site-copy-strong);
}

.site-quicknav__link:hover,
.site-quicknav__link:focus {
  background: linear-gradient(180deg, var(--site-brand) 0%, var(--site-brand-deep) 100%);
  box-shadow: 0 16px 28px rgba(180, 31, 42, 0.22);
}

.site-quicknav__link.is-current {
  border-color: rgba(180, 31, 42, 0.16);
  background: rgba(180, 31, 42, 0.08);
  color: var(--site-brand-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.site-quicknav__link.is-active {
  background: linear-gradient(180deg, var(--site-brand) 0%, var(--site-brand-deep) 100%);
  box-shadow: 0 18px 30px rgba(180, 31, 42, 0.26);
  color: #ffffff;
}

.brand-chip,
.site-contact,
.site-subnav__inner,
.updates-shell,
.entry-shell,
.events-calendar-card,
.events-listing,
.entry-card,
.news-card,
.event-card,
.restored-shell,
.restored-card {
  backdrop-filter: blur(18px);
}

.brand-chip {
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 242, 236, 0.94) 100%);
  border-color: rgba(17, 24, 39, 0.07);
}

.site-contact {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(245, 247, 250, 0.92) 100%);
  border-color: rgba(17, 24, 39, 0.07);
}

.site-subnav {
  padding: 0 0 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(243, 247, 250, 0.86) 100%);
}

.site-subnav__inner {
  position: relative;
  padding: 30px 32px 32px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 244, 237, 0.94) 50%, rgba(239, 244, 248, 0.94) 100%);
  border: 1px solid var(--site-line);
  box-shadow: var(--site-shadow-soft);
  overflow: hidden;
}

.site-subnav__inner::before {
  content: "";
  position: absolute;
  top: -92px;
  right: -54px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 31, 42, 0.16) 0%, rgba(180, 31, 42, 0) 70%);
}

.site-subnav__header,
.site-subnav__grid {
  position: relative;
  z-index: 1;
}

.site-subnav__header {
  align-items: flex-start;
  margin-bottom: 22px;
}

.site-subnav__title {
  color: var(--site-ink);
}

.site-subnav__text {
  color: var(--site-copy);
}

.site-subnav-card {
  position: relative;
  border-radius: 26px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: none;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.site-subnav-card::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  width: 46px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--site-brand) 0%, rgba(180, 31, 42, 0.18) 100%);
}

.site-subnav-card__title {
  padding-top: 18px;
  color: var(--site-ink);
}

.site-subnav-card__text {
  color: var(--site-copy);
}

.site-subnav-card:hover,
.site-subnav-card:focus {
  transform: translateY(-4px);
  border-color: rgba(180, 31, 42, 0.2);
  box-shadow: 0 18px 32px rgba(17, 24, 39, 0.08);
}

.hero-showcase {
  background:
    radial-gradient(circle at top left, rgba(180, 31, 42, 0.14), transparent 26%),
    radial-gradient(circle at bottom right, rgba(28, 54, 82, 0.12), transparent 24%),
    linear-gradient(180deg, #f5efe8 0%, #eef3f7 100%);
}

.hero-carousel {
  border-color: rgba(17, 24, 39, 0.07);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(247, 244, 238, 0.92) 100%);
  box-shadow: var(--site-shadow-strong);
}

.hero-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 16%, rgba(180, 31, 42, 0.09), transparent 20%),
    linear-gradient(140deg, rgba(255, 255, 255, 0) 44%, rgba(28, 54, 82, 0.04) 100%);
  pointer-events: none;
}

.hero-carousel__inner-wrap,
.updates-shell,
.entry-shell {
  position: relative;
  z-index: 1;
}

.hero-carousel__eyebrow,
.entry-type {
  background: rgba(180, 31, 42, 0.1);
  color: var(--site-brand-deep);
}

.hero-carousel__copy h1 {
  color: var(--site-ink);
}

.hero-carousel__summary p {
  color: var(--site-copy);
  max-width: 40rem;
}

.hero-button {
  border-radius: 999px;
  text-transform: none;
  letter-spacing: normal;
}

.hero-button--primary {
  background: linear-gradient(180deg, var(--site-brand) 0%, var(--site-brand-deep) 100%);
}

.hero-button--secondary {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(17, 24, 39, 0.09);
}

.hero-carousel__frame {
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 245, 249, 0.9) 100%);
}

.updates-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f3ee 40%, #edf3f7 100%);
}

.updates-shell {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(249, 245, 239, 0.94) 54%, rgba(240, 244, 248, 0.94) 100%);
  box-shadow: var(--site-shadow-soft);
}

.updates-shell::before {
  content: "";
  position: absolute;
  top: -110px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 31, 42, 0.12) 0%, rgba(180, 31, 42, 0) 72%);
}

.updates-shell::after {
  content: "";
  position: absolute;
  left: 40px;
  top: 0;
  width: 88px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--site-brand), rgba(180, 31, 42, 0));
}

.updates-header,
.updates-panel {
  position: relative;
  z-index: 1;
}

.updates-header p,
.entry-summary,
.entry-body p {
  color: var(--site-copy);
}

.updates-tabs {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.updates-tab {
  color: var(--site-copy-strong);
  text-transform: none;
  letter-spacing: normal;
}

.updates-tab.is-active {
  background: linear-gradient(180deg, var(--site-brand) 0%, var(--site-brand-deep) 100%);
}

.news-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}

.news-card {
  grid-column: span 4;
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.news-card:nth-child(1) {
  grid-column: span 7;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 243, 236, 0.95) 100%);
}

.news-card:nth-child(2) {
  grid-column: span 5;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 246, 249, 0.95) 100%);
}

.news-card:nth-child(3),
.news-card:nth-child(4) {
  grid-column: span 6;
}

.news-card:nth-child(3) {
  background: linear-gradient(180deg, rgba(250, 246, 239, 0.94) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.news-card:nth-child(4) {
  background: linear-gradient(180deg, rgba(241, 246, 249, 0.94) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.news-card__body,
.event-card__body {
  gap: 14px;
}

.news-card__meta,
.event-card__meta {
  margin-bottom: 0;
  align-items: center;
}

.news-card__tag,
.event-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(180, 31, 42, 0.08);
  color: var(--site-brand-deep);
  font-size: 12px;
}

.news-card__title,
.event-card__title {
  font-family: var(--site-font-display);
}

.news-card__text,
.event-card__text {
  color: var(--site-copy);
}

.events-layout {
  gap: 30px;
}

.events-calendar-card,
.events-listing {
  border-color: rgba(17, 24, 39, 0.08);
  box-shadow: var(--site-shadow-soft);
}

.events-calendar-card {
  background: linear-gradient(180deg, rgba(251, 248, 242, 0.92) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.events-listing {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(242, 246, 249, 0.9) 100%);
}

.events-list {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.event-card {
  grid-column: span 6;
  background: rgba(255, 255, 255, 0.74);
}

.event-card:first-child {
  grid-column: span 12;
}

.entry-page {
  background:
    radial-gradient(circle at top left, rgba(180, 31, 42, 0.08), transparent 24%),
    linear-gradient(180deg, #f7f2eb 0%, #ffffff 52%, #edf3f7 100%);
}

.entry-shell {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(249, 246, 240, 0.95) 54%, rgba(239, 244, 248, 0.94) 100%);
  box-shadow: var(--site-shadow-soft);
}

.entry-card {
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 30px rgba(17, 24, 39, 0.05);
}

.entry-related__item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 247, 250, 0.92) 100%);
}

.restored-section {
  position: relative;
  padding: 0 0 104px;
  background: transparent;
}

.restored-section--soft {
  background: linear-gradient(180deg, rgba(238, 243, 247, 0.56) 0%, rgba(255, 255, 255, 0) 100%);
}

.restored-section--last {
  padding-bottom: 112px;
}

.restored-shell {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border-radius: 40px;
  border: 1px solid var(--site-line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(249, 246, 240, 0.94) 50%, rgba(239, 244, 248, 0.92) 100%);
  box-shadow: var(--site-shadow-soft);
}

.restored-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 42px;
  width: 92px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--site-brand), rgba(180, 31, 42, 0));
}

.restored-shell::after {
  content: "";
  position: absolute;
  right: -74px;
  bottom: -86px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 31, 42, 0.12) 0%, rgba(180, 31, 42, 0) 72%);
}

.restored-grid {
  gap: 34px;
  align-items: end;
}

.restored-copy,
.restored-head,
.restored-card-grid {
  position: relative;
  z-index: 1;
}

.restored-copy h2,
.restored-head h2 {
  margin-bottom: 16px;
  color: var(--site-ink);
}

.restored-copy p,
.restored-head p,
.restored-card p {
  color: var(--site-copy);
}

.restored-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.restored-points span {
  display: inline-flex;
  align-items: center;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.78);
  color: var(--site-copy-strong);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 20px rgba(17, 24, 39, 0.05);
}

.restored-media {
  gap: 22px;
}

.restored-photo {
  position: relative;
  border: 1px solid rgba(17, 24, 39, 0.05);
  box-shadow: 0 24px 42px rgba(17, 24, 39, 0.12);
}

.restored-photo__caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--site-copy-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.1);
}

.restored-photo--compact .restored-photo__caption {
  left: 50%;
  transform: translateX(-50%);
}

.restored-card {
  position: relative;
  overflow: hidden;
  gap: 16px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.restored-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 24, 39, 0.05) 0%, rgba(17, 24, 39, 0) 72%);
}

.restored-card:hover,
.restored-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(180, 31, 42, 0.18);
  box-shadow: 0 24px 38px rgba(17, 24, 39, 0.09);
}

.restored-card__number {
  position: relative;
  z-index: 1;
}

.restored-section--feature .restored-shell {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(251, 245, 237, 0.95) 52%, rgba(239, 245, 248, 0.93) 100%);
}

.restored-section--feature .restored-media--double {
  grid-template-columns: minmax(180px, 0.6fr) minmax(0, 1fr);
  align-items: end;
}

.restored-section--feature .restored-photo:first-child {
  transform: translateY(28px);
}

.restored-section--feature .restored-photo:last-child {
  transform: rotate(-2deg);
}

.restored-section--immersive .restored-shell {
  background: linear-gradient(135deg, #162130 0%, #223345 58%, #294559 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

.restored-section--immersive .restored-shell::before {
  background: linear-gradient(90deg, rgba(255, 214, 219, 0.96), rgba(255, 214, 219, 0));
}

.restored-section--immersive .restored-shell::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 72%);
}

.restored-section--immersive .updates-kicker,
.restored-section--immersive .restored-copy h2 {
  color: #ffffff;
}

.restored-section--immersive .restored-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.restored-note {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 28px rgba(8, 12, 20, 0.14);
}

.restored-note strong {
  display: block;
  margin-bottom: 10px;
  color: #f5d0d4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.restored-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.restored-section--immersive .restored-photo {
  min-height: 100%;
  box-shadow: 0 28px 48px rgba(7, 11, 18, 0.24);
}

.restored-section--immersive .restored-photo img {
  min-height: 420px;
}

.restored-section--immersive .restored-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 16, 24, 0.06) 0%, rgba(11, 16, 24, 0.34) 100%);
}

.restored-section--immersive .restored-photo__caption {
  background: rgba(14, 20, 30, 0.68);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.restored-section--goals .restored-card-grid--three {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.restored-section--goals .restored-card {
  padding: 30px 28px 28px;
}

.restored-section--goals .restored-card:nth-child(1) {
  grid-column: span 7;
  border-radius: 36px 20px 36px 36px;
}

.restored-section--goals .restored-card:nth-child(2) {
  grid-column: span 5;
  transform: translateY(30px);
  border-radius: 20px 36px 36px 36px;
}

.restored-section--goals .restored-card:nth-child(3) {
  grid-column: 3 / span 8;
  border-radius: 36px;
}

.restored-section--goals .restored-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  width: 76px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--site-brand) 0%, rgba(180, 31, 42, 0) 100%);
}

.restored-section--goals .restored-card__number {
  position: absolute;
  top: 22px;
  right: 22px;
}

.restored-section--goals .restored-card h3 {
  padding-right: 80px;
}

.restored-section--bento .restored-head {
  margin-bottom: 34px;
}

.restored-section--bento .restored-card-grid--five {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.restored-section--bento .restored-card:nth-child(1) {
  grid-column: span 7;
  grid-row: span 2;
  background: linear-gradient(145deg, #1a2535 0%, #274058 100%);
  color: #ffffff;
}

.restored-section--bento .restored-card:nth-child(1)::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 72%);
}

.restored-section--bento .restored-card:nth-child(1) h3,
.restored-section--bento .restored-card:nth-child(1) p {
  color: #ffffff;
}

.restored-section--bento .restored-card:nth-child(1) .restored-card__number {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.46);
  color: #ffffff;
}

.restored-section--bento .restored-card:nth-child(2) {
  grid-column: span 5;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 246, 249, 0.92) 100%);
}

.restored-section--bento .restored-card:nth-child(3) {
  grid-column: span 4;
  background: linear-gradient(180deg, rgba(251, 244, 236, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.restored-section--bento .restored-card:nth-child(4) {
  grid-column: span 4;
  background: linear-gradient(180deg, rgba(241, 246, 243, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.restored-section--bento .restored-card:nth-child(5) {
  grid-column: span 4;
  background: linear-gradient(180deg, rgba(243, 241, 249, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.site-footer {
  background: linear-gradient(135deg, #162130 0%, #253a4f 100%);
  padding: 28px 0;
}

.site-footer__content img {
  height: 54px;
}

.site-footer__text {
  font-family: var(--site-font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 1199px) {
  .news-grid,
  .events-list,
  .restored-section--goals .restored-card-grid--three,
  .restored-section--bento .restored-card-grid--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-card,
  .news-card:nth-child(n),
  .event-card,
  .event-card:first-child,
  .restored-section--goals .restored-card:nth-child(n),
  .restored-section--bento .restored-card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    transform: none;
  }
}

@media (max-width: 991px) {
  .site-subnav__inner {
    padding: 26px 24px 28px;
  }

  .hero-carousel__frame {
    width: 100%;
  }

  .restored-shell {
    padding: 34px;
  }

  .restored-grid,
  .restored-grid--reverse {
    gap: 28px;
  }

  .restored-section--feature .restored-photo:first-child,
  .restored-section--feature .restored-photo:last-child {
    transform: none;
  }
}

@media (max-width: 767px) {
  body {
    background:
      radial-gradient(circle at top left, rgba(180, 31, 42, 0.08), transparent 26%),
      linear-gradient(180deg, #f7f2eb 0%, #ffffff 34%, #edf3f7 100%);
  }

  .site-quicknav__inner {
    gap: 10px;
  }

  .site-subnav {
    padding-bottom: 12px;
  }

  .site-subnav__inner,
  .updates-shell,
  .entry-shell,
  .restored-shell {
    padding: 24px 20px;
    border-radius: 30px;
  }

  .site-subnav__inner::before,
  .updates-shell::before,
  .restored-shell::after {
    display: none;
  }

  .site-subnav__card,
  .site-subnav-card {
    border-radius: 22px;
  }

  .hero-carousel {
    border-radius: 30px;
  }

  .news-grid,
  .events-list,
  .restored-section--goals .restored-card-grid--three,
  .restored-section--bento .restored-card-grid--five {
    grid-template-columns: 1fr;
  }

  .news-card,
  .news-card:nth-child(n),
  .event-card,
  .event-card:first-child,
  .restored-section--goals .restored-card:nth-child(n),
  .restored-section--bento .restored-card:nth-child(n) {
    grid-column: auto;
    transform: none;
  }

  .restored-points {
    justify-content: center;
  }

  .restored-points span {
    justify-content: center;
    width: 100%;
  }

  .restored-section--feature .restored-media--double {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 2px;
  }

  .restored-section--feature .restored-photo,
  .restored-section--feature .restored-photo--compact {
    border-radius: 24px;
  }

  .restored-section--feature .restored-photo--compact {
    min-height: 150px;
    padding: 0;
  }

  .restored-section--feature .restored-photo:not(.restored-photo--compact) {
    min-height: 186px;
  }

  .restored-section--feature .restored-photo img,
  .restored-section--feature .restored-photo--compact img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
  }

  .restored-photo__caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    justify-content: center;
    text-align: center;
    padding: 12px 14px;
    border-radius: 18px;
    font-size: 11px;
    line-height: 1.35;
  }

  .restored-photo--compact .restored-photo__caption {
    left: 14px;
    transform: none;
  }

  .restored-section--immersive .restored-photo img {
    min-height: 280px;
  }

  .restored-note {
    padding: 18px;
    text-align: left;
  }

  .restored-section--goals .restored-card,
  .restored-section--bento .restored-card {
    padding: 26px 22px 22px;
  }

  .restored-section--goals .restored-card__number {
    position: relative;
    top: auto;
    right: auto;
  }

  .restored-section--goals .restored-card h3 {
    padding-right: 0;
  }

  .site-footer__content {
    gap: 10px;
  }

  .site-footer__text {
    font-size: 12px;
    letter-spacing: 0.08em;
  }
}
