@layer reset, base, page, custom;
:root {
  --l-H-hero: 680px;
  --l-header: 80px;
  --l-header-: -80px;
  --l-header--mobile: 56px;
  --l-header--mobile-: -56px;
  --l-services-logo: 44px;
  --l-btnH: 36px;
  --c-text: #344867;
  --c-heading: #1e1e1e;
  --c-nav: #494949;
  --c-brand-text: #848492;
  --c-primary: #baa35b;
  --c-secondary: #1e3659;
  --c-hightlight: #ec4e00;
  --c-primary-start: #f0da98;
  --c-primary-stop: #cfab3b;
  --c-secondary-start: #ffdc23;
  --c-secondary-stop: #ffe972;
  --f-services-title: 18px;
  --f-services-title-lh: 20px;
  --f-services-title--ch: 13px;
  --f-services-title--ch-lh: 16px;
  --z-nav: 10;
  --z-hero: 8;
  --z-main: 9;
  --c-sdg1: #c74140;
  --c-sdg2: #cfa94d;
  --c-sdg3: #6b9e47;
  --c-sdg4: #aa3433;
  --c-sdg5: #df5330;
  --c-sdg6: #71b8e0;
  --c-sdg7: #edc843;
  --c-sdg8: #8d2c44;
  --c-sdg9: #df7538;
  --c-sdg10: #bf3767;
  --c-sdg11: #e6a441;
  --c-sdg12: #b28f40;
  --c-sdg13: #567c4b;
  --c-sdg14: #5794d5;
  --c-sdg15: #7fbc45;
  --c-sdg16: #3d669a;
  --c-sdg17: #2f4768;
  --c-zdg1: #a47903;
  --c-zdg2: #be9115;
  --c-zdg3: #d7aa2d;
}

:root {
  --l-inner: 1024px;
}

@keyframes slide-f-right {
  from {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes slide-f-left {
  from {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes slide-f-top {
  from {
    opacity: 0;
    transform: translate3d(0, -50px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes reveal-up-20 {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@scope (.events-page) {
  :scope {
    display: flex;
    flex-direction: column;
    min-height: calc(100dvh - var(--l-header));
    background: url(../images/page-bg-r.webp) repeat-y center/100% auto;
    position: relative;
  }
  :scope:after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    aspect-ratio: 1440/475;
    background: url(../images/event-btm.webp) no-repeat center/cover;
    mask: url(../images/event-btm-mask.webp) no-repeat center/contain;
    z-index: 1;
  }
  section.content {
    position: relative;
    z-index: 4;
    box-shadow: 0 -2px 40px rgba(0, 0, 0, 0.1);
    padding-bottom: 50px;
    --l-inner: 1024px;
  }
  section.content:before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 300px;
    background: url(../images/page-bg-r.webp) repeat-y center/100% auto;
    mask: linear-gradient(to bottom, black 0, rgba(0, 0, 0, 0) 100%);
  }
  .event-layout {
    display: grid;
    grid-template-columns: 90px 34% 1fr 120px;
    grid-template-rows: auto;
    padding: 0;
  }
  @media only screen and (max-width: 1280px) {
    .event-layout {
      padding: 0 20px;
    }
  }
  @media only screen and (max-width: 860px) {
    .event-layout {
      grid-template-columns: 20px 34% 1fr 20px;
      padding: 0 5px;
    }
  }
  @media only screen and (max-width: 678px) {
    .event-layout {
      display: block;
    }
  }
  .event-layout .event-main {
    grid-column: 2/span 3;
  }
}
.library-category {
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.library-category .header {
  aspect-ratio: 2/1.4;
  background-size: cover;
  background-position: center;
  position: relative;
}
.library-category .header h2 {
  color: #fff;
  padding: 20px;
  position: absolute;
  inset: auto 0 0 0;
  font-size: 1.5625rem;
  z-index: 2;
}
.library-category .header h2 span {
  display: block;
  font-size: 1.25rem;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.5);
}
.library-category .header:after {
  content: "";
  position: absolute;
  inset: 30% 0 0 0;
  backdrop-filter: blur(20px);
  mask: linear-gradient(to top, white 0, white 20%, transparent 100%);
}
.library-category .body {
  padding: 10px 20px;
}
.library-category .body .library-item {
  display: block;
  padding: 6px 0;
  font-size: 0.8125rem;
  color: #1e3659;
  position: relative;
  transition: 0.3s;
}
.library-category .body .library-item:before {
  content: "";
  position: absolute;
  inset: 50% auto 50% 0;
  width: 0;
  height: 1px;
  background: #1e3659;
  opacity: 0;
  transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.library-category .body .library-item:hover {
  color: #0a4194;
  transform: translateX(5px);
}
.library-category .body .library-item:hover:before {
  opacity: 1;
  width: 6px;
  transform: translate3d(-10px, 50%, 0);
}

@scope (.events-page .breadcrumbs) {
  :scope {
    padding: 20px 0 10px;
  }
  @media only screen and (max-width: 678px) {
    :scope {
      display: none;
    }
  }
  .breadcrumb-item {
    color: rgba(30, 54, 89, 0.7);
  }
  .breadcrumb-item:after {
    content: "/";
    padding-inline-start: 5px;
  }
  .breadcrumb-item .pathway {
    color: #baa35b;
  }
}
@scope (.events-page .hero) {
  :scope {
    --l-H-hero: 560px;
    height: auto;
    min-height: var(--l-H-hero);
    width: 100dvw;
    overflow-x: clip;
    display: grid;
    grid-template-rows: 1fr;
    z-index: 3;
  }
  @media only screen and (max-width: 1024px) {
    :scope {
      --l-H-hero: auto;
    }
  }
  :scope:after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(30px);
  }
  .l-inner {
    height: 100%;
    padding-block: 0;
    z-index: 5;
  }
  @media only screen and (max-width: 1024px) {
    .l-inner {
      width: 100%;
    }
  }
  .container {
    display: grid;
    grid-template-columns: 90px 300px 1fr 120px;
    grid-template-rows: auto;
    grid-template-areas: "title img main aside";
  }
  @media only screen and (max-width: 860px) {
    .container {
      grid-template-columns: 300px 1fr;
      grid-template-rows: auto auto 1fr;
      grid-template-areas: "title title" "aside aside" "img main";
    }
  }
  @media only screen and (max-width: 678px) {
    .container {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto 1fr;
      grid-template-areas: "title" "aside" "main";
    }
  }
  .category-title {
    grid-area: title;
    writing-mode: vertical-lr;
    font-size: 2rem;
    letter-spacing: 1em;
    padding-inline: 40px;
    padding-block: 22px;
    color: #baa35b;
  }
  @media only screen and (max-width: 860px) {
    .category-title {
      writing-mode: horizontal-tb;
      font-size: 1.25rem;
      color: #edd37c;
      margin-block-end: 3px;
      letter-spacing: 0;
      padding: 10px 0 0;
      z-index: 10;
      position: sticky;
      top: var(--l-header--mobile);
    }
    @supports (animation-timeline: view(block)) {
      .category-title {
        animation: titlefontshrink ease forwards;
        animation-timeline: scroll();
        animation-range: entry 0% entry 20%;
      }
    }
  }
  .image-block {
    grid-area: img;
    position: relative;
    z-index: 3;
    background-size: cover;
  }
  .image-block::after {
    content: "";
    position: absolute;
    inset: 0 0 0 0;
    background-color: rgba(233, 241, 255, 0.55);
    backdrop-filter: blur(12px);
  }
  @media only screen and (max-width: 678px) {
    .image-block {
      display: none;
    }
  }
  .image-block:before {
    content: "";
    display: block;
    height: 100%;
  }
  .image-block img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 3;
  }
  .container-main {
    grid-area: main;
    padding: 20px 24px 20px 40px;
    position: relative;
    z-index: 5;
  }
  @media only screen and (max-width: 860px) {
    .container-main:after {
      content: "";
      position: absolute;
      inset: auto -80px -150px auto;
      width: 120%;
      aspect-ratio: 1;
      z-index: 1;
      background: url(../images/spotlight-bg.webp) no-repeat center/contain;
      pointer-events: none;
      opacity: 0.7;
    }
  }
  @media only screen and (max-width: 678px) {
    .container-main {
      padding: 10px 0 40px !important;
    }
  }
  .container-main .title {
    font-size: 2.25rem;
    margin-block: 1.625rem;
  }
  @media only screen and (max-width: 678px) {
    .container-main .title {
      font-size: 1.5rem;
      margin-block: 0 1rem;
    }
  }
  .container-main .intro {
    margin-block: 1rem 0;
    line-height: 1.9;
    font-size: 0.8125rem;
    z-index: 10;
    position: relative;
  }
  .aside {
    grid-area: aside;
    display: none;
    align-items: flex-end;
    padding: 20px 0 20px 26px;
    position: relative;
    z-index: 1;
  }
  .aside:has(.mainnav) {
    display: flex;
  }
  @media only screen and (max-width: 860px) {
    .aside {
      padding: 0;
      position: sticky;
      top: calc(var(--l-header--mobile) + 40px);
      z-index: 9;
    }
    .aside:before {
      content: "";
      position: absolute;
      inset: -90px -20px 0;
      background: rgba(30, 54, 89, 0.9);
      z-index: 9;
      backdrop-filter: blur(20px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
  }
  .aside:after {
    content: "";
    position: absolute;
    inset: -10px auto 0 -30px;
    width: 500px;
    aspect-ratio: 1;
    z-index: 10;
    background: url(../images/spotlight-bg.webp) no-repeat center/contain;
    pointer-events: none;
  }
  @media only screen and (max-width: 860px) {
    .aside:after {
      display: none;
    }
  }
  .aside .menu {
    position: relative;
    z-index: 11;
  }
  .aside .menu:before {
    content: "";
    position: absolute;
    inset: -50px 0 10px -60px;
    background: rgba(255, 255, 255, 0.85);
    filter: blur(40px);
    transform: scale(2);
    z-index: 1;
    pointer-events: none;
  }
  @media only screen and (max-width: 860px) {
    .aside .menu:before {
      display: none;
    }
  }
  .aside .menu ul {
    list-style: none;
    position: relative;
    z-index: 3;
  }
  @media only screen and (max-width: 860px) {
    .aside .menu ul {
      display: flex;
      gap: 16px;
    }
  }
  .aside .menu .nav-item {
    font-size: 1rem;
    text-align: right;
  }
  @media only screen and (max-width: 860px) {
    .aside .menu .nav-item {
      text-align: left;
      font-size: 0.8125rem;
    }
  }
  .aside .menu .nav-item.current a {
    color: #baa35b;
  }
  @media only screen and (max-width: 860px) {
    .aside .menu .nav-item.current a {
      color: #edd37c;
    }
  }
  .aside .menu .nav-item.current a:before {
    content: "";
    position: absolute;
    inset: 12px -2px 12px auto;
    width: 2px;
    background: #baa35b;
    transition: 0.3s;
  }
  @media only screen and (max-width: 860px) {
    .aside .menu .nav-item.current a:before {
      display: none;
    }
  }
  .aside .menu .nav-item.current a:after {
    transition: 0.1s;
  }
  .aside .menu .nav-item.current a:hover:after {
    transition: 0.2s 0.3s;
  }
  .aside .menu .nav-item.current a:hover:before {
    inset: 100% -2px 0 auto;
    transition: 0.3s;
  }
  .aside .menu .nav-item__url {
    display: inline-block;
    padding: 0.75rem 0.375rem;
    color: rgba(51, 51, 51, 0.8);
    position: relative;
  }
  @media only screen and (max-width: 860px) {
    .aside .menu .nav-item__url {
      padding: 0.375rem 0 0.625rem;
      color: rgba(255, 255, 255, 0.9);
    }
  }
  .aside .menu .nav-item__url:after {
    content: "";
    position: absolute;
    inset: auto 0 2px 100%;
    height: 2px;
    background: #baa35b;
    transition: 0.3s;
  }
  @media only screen and (max-width: 860px) {
    .aside .menu .nav-item__url:after {
      background: #edd37c;
    }
  }
  .aside .menu .nav-item__url:hover {
    color: #baa35b;
  }
  @media only screen and (max-width: 860px) {
    .aside .menu .nav-item__url:hover {
      color: #edd37c;
    }
  }
  .aside .menu .nav-item__url:hover:after {
    inset: auto 0 2px 0;
  }
}
@keyframes titlefontshrink {
  from {
    font-size: 1.875rem;
  }
  to {
    font-size: 1.25rem;
  }
}
.event-page .image-block img {
  object-fit: contain;
}

@scope (.events-page .content) {
  .heading-left {
    font-size: 1.25rem;
    color: #baa35b;
    display: flex;
    align-items: center;
    margin: 40px 0 30px;
  }
  .heading-left:after {
    content: "";
    width: 60px;
    height: 1px;
    background: #baa35b;
    margin-inline-start: 6px;
  }
  .l-inner {
    z-index: 9;
  }
}
@scope (.events-page .events) {
  :scope {
    padding-block: 20px;
  }
  .item {
    display: flex;
    background: #fff;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-bottom: 20px;
  }
  @media only screen and (max-width: 678px) {
    .item {
      flex-direction: column;
    }
  }
  .item:after {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: 3px;
    background: #baa35b;
    z-index: 1;
    transition: 0.3s;
  }
  .item .mask {
    position: absolute;
    inset: 0;
    z-index: 9;
  }
  .item:hover:after {
    width: calc(100% - 3px);
    inset: 0 3px 0 auto;
  }
  @media only screen and (max-width: 678px) {
    .item:hover:after {
      width: 100%;
      inset: 0 0 0 auto;
    }
  }
  .item:hover .content .title, .item:hover .content .introtext, .item:hover .content .date, .item:hover .content .readmore a, .item:hover .content .category a {
    color: #fff;
  }
  .item:hover .content .category:before, .item:hover .content .category:after {
    background: #fff;
  }
  .item:hover .content .readmore:before {
    background: #fff;
  }
  .img {
    flex: 0 0 300px;
    aspect-ratio: 300/224;
    position: relative;
    background-size: cover;
    background-position: center;
    z-index: 4;
  }
  @media only screen and (max-width: 678px) {
    .img {
      flex: 0 0 auto;
      aspect-ratio: 2/1;
    }
  }
  .img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .content {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    padding: 40px 20px 20px;
    gap: 6px;
    font-size: 0.875rem;
    position: relative;
    z-index: 3;
  }
  @media only screen and (max-width: 678px) {
    .content {
      padding: 20px;
      gap: 10px;
    }
  }
  .content .title {
    font-size: 1.125rem;
    font-weight: bold;
    line-height: 1.5;
    color: #1e3659;
    transition: 0.3s;
  }
  @media only screen and (max-width: 860px) {
    .content .title {
      font-size: 1rem;
    }
  }
  .content .title:hover {
    color: #baa35b;
  }
  .introtext {
    flex: 1 1 100%;
    line-height: 1.8;
    color: rgba(30, 54, 89, 0.8);
  }
  .category {
    color: rgba(30, 54, 89, 0.7);
    display: inline-block;
    position: relative;
    padding-inline: 6px;
    width: fit-content;
  }
  .category a {
    color: rgba(30, 54, 89, 0.7);
  }
  .category:before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 1px;
    background: rgba(30, 54, 89, 0.6);
  }
  .category:after {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: 1px;
    background: rgba(30, 54, 89, 0.6);
  }
  .date {
    color: rgba(30, 54, 89, 0.7);
  }
  .readmore {
    margin-left: auto;
    font-size: 1rem;
    display: flex;
    align-items: center;
  }
  .readmore a {
    color: #baa35b;
  }
  .readmore:before {
    content: "";
    width: 30px;
    height: 1px;
    background: #baa35b;
    margin-right: 6px;
  }
}
.event-layout .category__navigation {
  grid-column: 1/-1;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 15px;
}
.event-layout .category__counter {
  display: inline-flex;
  width: fit-content;
  flex: 0 0 auto;
  padding: 5px 8px;
  font-size: 12px;
  background-color: rgba(30, 54, 89, 0.65);
  border-radius: 3px;
  color: #fff;
}
.event-layout .category__pagination {
  display: flex;
  justify-content: flex-end;
}
.event-layout .category__pagination .pagination {
  display: flex;
  list-style: none;
  justify-content: flex-end;
  gap: 5px;
}
.event-layout .category__pagination .pagination .page-item {
  display: flex;
  width: 30px;
  height: 30px;
  border: 1px solid #baa35b;
  background-color: white;
  backdrop-filter: blur(15px);
  transition: color 300ms, background-color 300ms;
}
.event-layout .category__pagination .pagination .page-item.active {
  background-color: #1e3659;
  pointer-events: none;
}
.event-layout .category__pagination .pagination .page-item.active .page-link {
  color: #ffffff;
}
.event-layout .category__pagination .pagination .page-item.disabled {
  pointer-events: none;
}
.event-layout .category__pagination .pagination .page-item.disabled .page-link {
  opacity: 0.5;
}
.event-layout .category__pagination .pagination .page-item:hover {
  background-color: #f6efdb;
}
.event-layout .category__pagination .pagination .page-item .page-link {
  text-decoration: none;
  color: #baa35b;
  font-size: 13px;
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}
.event-layout .category__pagination .pagination .page-item .page-link .icon-angle-double-left, .event-layout .category__pagination .pagination .page-item .page-link .icon-angle-left, .event-layout .category__pagination .pagination .page-item .page-link .icon-angle-right, .event-layout .category__pagination .pagination .page-item .page-link .icon-angle-double-right {
  display: flex;
  width: 100%;
  height: 100%;
}
.event-layout .category__pagination .pagination .page-item .page-link .icon-angle-double-left, .event-layout .category__pagination .pagination .page-item .page-link .icon-angle-double-right {
  background: url(../images/ic_arrow_double.png) no-repeat center center/contain;
}
.event-layout .category__pagination .pagination .page-item .page-link .icon-angle-left, .event-layout .category__pagination .pagination .page-item .page-link .icon-angle-right {
  background: url(../images/ic_arrow.png) no-repeat center center/contain;
}
.event-layout .category__pagination .pagination .page-item .page-link .icon-angle-right, .event-layout .category__pagination .pagination .page-item .page-link .icon-angle-double-right {
  transform: rotate(180deg);
}

/*# sourceMappingURL=events.css.map */
