@charset "utf-8";

/* ==========================================================================
   Learning Hub — mobile-first
   Breakpoints: 601px (2-col), 901px (sidebar + 3-col)
   ========================================================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  --lh-navy: #004565;
  --lh-navy-light: rgba(0, 69, 101, 0.08);
  --lh-border: #dde3e8;
  --lh-muted: #5a6570;
  --lh-orange: #e8a54b;
  --lh-blue: #5ba4c9;
  --lh-filter-trigger-h: 55px;
}

/* --------------------------------------------------------------------------
   Hero (index)
   -------------------------------------------------------------------------- */
#learning-hub-hero.header_img:not(.lh-hero--detail) {
  background: linear-gradient(to top, rgba(0, 69, 101, 0.62) 0%, rgba(0, 69, 101, 0.48) 100%),
    url("../img/learning-hub_h_img.jpg") no-repeat center center;
  background-size: cover;
  background-position: 50% 30%;
  height: auto;
  min-height: 260px;
}

#learning-hub-hero:not(.lh-hero--detail) .lh-hero__box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  min-height: 260px;
  padding-top: 36px;
  padding-bottom: 36px;
}

#learning-hub-hero .lh-hero__inner {
  width: 100%;
  max-width: none;
  margin: 0;
}

#learning-hub-hero:not(.lh-hero--detail) h1 {
  position: static;
  top: auto;
  left: auto;
  transform: none;
  -webkit-transform: none;
  -ms-transform: none;
  display: block;
  width: 100%;
  color: #fff;
  font-size: 3rem;
  line-height: 1.05;
  text-align: left;
  margin: 0 0 16px;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#learning-hub-hero:not(.lh-hero--detail) .lh-intro {
  position: static;
  font-size: 1.5rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  max-width: none;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Main
   -------------------------------------------------------------------------- */
.lh-main {
  padding-bottom: calc(80px + var(--lh-filter-trigger-h));
}

/* Filter bar is fixed to the viewport bottom. Same clearance as adaptation-database/list. */
@media (max-width: 900px) {
  .keni-container {
    padding-bottom: var(--lh-filter-trigger-h);
  }
}

.lh-main > .section_box {
  padding-top: 24px;
}

.lh-section-title {
  font-size: 1.9rem;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}

.lh-section-title::before {
  display: none;
}

/* --------------------------------------------------------------------------
   Start here (legacy blocks kept for compatibility)
   -------------------------------------------------------------------------- */
.lh-start {
  margin-bottom: 48px;
}

.lh-start__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.lh-start__card {
  display: block;
  width: 100%;
  padding: 20px 18px;
  border: 1px solid var(--lh-border);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  color: inherit;
}

.lh-start__card:hover {
  border-color: var(--lh-navy);
  box-shadow: 0 4px 12px rgba(0, 69, 101, 0.1);
}

.lh-start__label {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--lh-navy);
}

.lh-start__desc {
  display: block;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--lh-muted);
}

/* --------------------------------------------------------------------------
   Featured
   -------------------------------------------------------------------------- */
.lh-featured {
  margin-bottom: 40px;
  padding: 0 0 32px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--lh-border);
  opacity: 1;
  max-height: 2000px;
  overflow: hidden;
  transition:
    opacity 0.25s ease,
    max-height 0.25s ease,
    margin 0.25s ease,
    padding 0.25s ease,
    border-color 0.25s ease;
}

.lh-featured.is-collapsed {
  opacity: 0;
  max-height: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom-color: transparent;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    max-height 0.25s ease,
    margin 0.25s ease,
    padding 0.25s ease,
    border-color 0.25s ease,
    visibility 0s linear 0.25s;
}

.lh-featured .lh-section-title {
  font-size: 1.8rem;
  color: var(--lh-navy);
  margin-top: 0;
  padding-left: 14px;
  border-left: 4px solid var(--lh-navy);
}

.lh-featured__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.lh-featured__item a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.lh-featured__item a:hover .lh-featured__title {
  text-decoration: underline;
  color: var(--lh-navy);
}

.lh-featured__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 12px;
  background: #ddd;
}

.lh-featured__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.lh-featured__meta {
  font-size: 1.2rem;
  color: var(--lh-muted);
  margin: 0 0 6px;
}

.lh-featured__title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Catalog layout
   -------------------------------------------------------------------------- */
.lh-catalog {
  scroll-margin-top: 24px;
}

.lh-catalog__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.lh-catalog__count {
  font-size: 1.5rem;
  color: var(--lh-muted);
  margin-bottom: 0;
}

.lh-catalog__count strong {
  color: var(--lh-navy);
  font-size: 1.8rem;
}

.lh-layout {
  display: block;
}

.lh-main-column {
  overflow: visible;
  min-width: 0;
}

/* --------------------------------------------------------------------------
   Filter — mobile (≤900): fixed overlay + slide-in panel
   Same behavior as adaptation-database/list
   -------------------------------------------------------------------------- */
.lh-filter {
  height: 100%;
  left: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 98;
}

.lh-filter.is-active {
  pointer-events: all;
}

.lh-filter__bg {
  background-color: rgba(57, 57, 57, 0.4);
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  transition: opacity 0.3s ease;
  width: 100%;
  will-change: opacity;
}

.lh-filter.is-active .lh-filter__bg {
  opacity: 1;
}

.lh-filter__panel {
  -webkit-overflow-scrolling: touch;
  background-color: #fff;
  box-sizing: border-box;
  height: calc(100vh - var(--lh-filter-trigger-h));
  height: calc(100dvh - var(--lh-filter-trigger-h));
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: 92px;
  position: absolute;
  right: 0;
  top: 0;
  transition: translate 0.3s ease;
  translate: 101% 0;
  width: 82.13333333333334vw;
  max-width: 360px;
}

.lh-filter.is-active .lh-filter__panel {
  translate: 0 0;
}

.lh-filter__inner {
  position: relative;
  background: transparent;
  border: none;
  margin: 0;
  padding: 0 20px 36px;
}

.lh-filter__top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 0;
  border-bottom: none;
}

.lh-filter__top h2 {
  color: #393939;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin: 0;
  text-transform: none;
}

.lh-filter__clear {
  flex-shrink: 0;
  margin-left: auto;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 400;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #eee;
  color: #333;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease;
}

.lh-filter__clear:hover {
  background: #ddd;
  color: #333;
}

/* Keyword block — .c-filter__content.-keyword */
.lh-keyword {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 20px;
}

.lh-keyword label.visually-hidden {
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  margin-bottom: 12px;
  padding: 0 0 0 8px;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border: 0;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  border-left: 4px solid #007acc;
}

.lh-keyword input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 12px;
  font-family: inherit;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease;
}

.lh-keyword input[type="text"]:focus {
  border-color: #007acc;
}

.lh-keyword__mode {
  display: flex;
  gap: 16px;
  font-size: 14px;
  margin-bottom: 0;
}

.lh-keyword__mode label {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

/* Taxonomy sections — .ad-list__tag-sample */
.lh-filter details {
  margin-bottom: 10px;
}

.lh-filter summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 500;
  height: 30px;
  margin-bottom: 0;
  padding: 0 10px;
  border-bottom: 2px solid #efefef;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.lh-filter summary:hover {
  color: #46b564;
}

.lh-filter summary::-webkit-details-marker {
  display: none;
}

.lh-filter summary::before {
  content: none;
}

.lh-filter summary::after {
  content: "";
  display: block;
  flex-shrink: 0;
  align-self: center;
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  box-sizing: border-box;
  transform: rotate(45deg) translateY(-1px);
  transform-origin: center center;
  transition: transform 0.3s ease;
}

.lh-filter details[open] summary {
  background-color: #efefef;
}

.lh-filter details[open] summary::after {
  transform: rotate(225deg) translateY(-4px);
}

.lh-filter ul {
  list-style: none;
  margin: 0;
  padding: 10px 2px !important;
}

.lh-filter li {
  margin: 0;
  font-size: 14px;
}

.lh-filter li + li {
  margin-top: 8px;
}

.lh-filter__all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5em;
  margin: 0;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.4;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #eee;
  color: #333;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lh-filter__all-btn:hover {
  background: #ddd;
  color: #333;
}

.lh-filter li label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  word-break: break-word;
  transition: color 0.3s ease;
}

.lh-filter li label:hover {
  color: #46b564;
}

.lh-filter li input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid #ddd;
  box-sizing: border-box;
  cursor: pointer;
}

.lh-filter li input[type="checkbox"]:checked {
  background-color: #46b564;
  background-image: url("../../wp-content/themes/ap-plat-database2024/assets/images/list/check.svg");
  background-repeat: no-repeat;
  background-size: contain;
  border: none;
}

/* Bottom trigger bar (mobile only) */
.lh-filter-trigger {
  align-items: center;
  background-color: #fff;
  border-top: 1px solid #e5e5e5;
  bottom: 0;
  box-sizing: border-box;
  display: flex;
  height: var(--lh-filter-trigger-h);
  justify-content: center;
  left: 0;
  position: fixed;
  width: 100%;
  z-index: 99;
}

.lh-filter-trigger__row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lh-filter-trigger__return {
  align-items: center;
  border-right: 1px solid #e5e5e5;
  color: currentColor;
  display: flex;
  font-size: 14px;
  font-weight: 500;
  gap: 10px;
  letter-spacing: 0.05em;
  margin: 0;
  padding-right: 20px;
  text-decoration: none;
}

.lh-filter-trigger__return:hover,
.lh-filter-trigger__return:active,
.lh-filter-trigger__return:focus {
  color: currentColor;
  text-decoration: none;
}

.lh-filter-trigger__return svg {
  width: 12px;
  height: auto;
  flex-shrink: 0;
}

.lh-filter-trigger__btn {
  align-items: center;
  background: transparent;
  border: 0;
  color: currentColor;
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  gap: 10px;
  letter-spacing: 0.05em;
  margin: 0;
  padding: 0;
  transition: color 0.3s ease;
}

.lh-filter-trigger__btn svg {
  width: 18px;
  height: auto;
  fill: currentColor;
}

.lh-filter-trigger__btn path {
  fill: currentColor;
}

.lh-filter-trigger__btn.is-active {
  color: var(--lh-navy);
}

.lh-only-sp {
  display: flex;
}

/* --------------------------------------------------------------------------
   Resource grid & cards
   -------------------------------------------------------------------------- */
.lh-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  overflow: visible;
  /*padding-top: 8px;*/
}

.js-scroll-trigger {
  height: 1px;
  width: 100%;
  margin-top: 8px;
  pointer-events: none;
}

.lh-card {
  position: relative;
  z-index: 1;
  border: 1px solid var(--lh-border);
  background: #fff;
  transition: border-color 0.2s;
}

.lh-card.is-hidden {
  display: none;
}

.lh-card.is-scroll-hidden {
  display: none;
}

.lh-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.lh-card__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e8ecef;
}

.lh-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.lh-card[data-type="reports"] .lh-card__thumb img,
.lh-card[data-type^="reports,"] .lh-card__thumb img,
.lh-card[data-type$=",reports"] .lh-card__thumb img,
.lh-card[data-type*=",reports,"] .lh-card__thumb img,
.lh-card[data-type="academic"] .lh-card__thumb img,
.lh-card[data-type^="academic,"] .lh-card__thumb img,
.lh-card[data-type$=",academic"] .lh-card__thumb img,
.lh-card[data-type*=",academic,"] .lh-card__thumb img,
.lh-card[data-type="reports"] .lh-card__modal-media img,
.lh-card[data-type^="reports,"] .lh-card__modal-media img,
.lh-card[data-type$=",reports"] .lh-card__modal-media img,
.lh-card[data-type*=",reports,"] .lh-card__modal-media img,
.lh-card[data-type="academic"] .lh-card__modal-media img,
.lh-card[data-type^="academic,"] .lh-card__modal-media img,
.lh-card[data-type$=",academic"] .lh-card__modal-media img,
.lh-card[data-type*=",academic,"] .lh-card__modal-media img {
  object-fit: contain;
}

.lh-card__body {
  padding: 14px 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lh-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.lh-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 2px;
}

.lh-badge--videos { background: #e3f0f7; color: #004565; }
.lh-badge--webinars { background: #fde8d0; color: #7a4a00; }
.lh-badge--infographic { background: #e8f5e0; color: #2d5a1e; }
.lh-badge--reports { background: #eee8f5; color: #4a3070; }
.lh-badge--academic { background: #f5e8ee; color: #6b2040; }
.lh-badge--links { background: #e8ecef; color: #3a4550; }

.lh-card__date {
  font-size: 1.2rem;
  color: var(--lh-muted);
  margin: 0 0 6px;
}

.lh-card__title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  text-transform: inherit;
}

.lh-card__desc {
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--lh-muted);
  margin: 8px 0 0;
  white-space: pre-line;
}

/* Hover preview modal — desktop/fine pointer only */
.lh-card__modal {
  display: none;
}

.lh-no-results {
  display: none;
  grid-column: 1 / -1;
  padding: 40px 20px;
  text-align: center;
  font-size: 1.6rem;
  color: var(--lh-muted);
  border: 1px dashed var(--lh-border);
  background: #fafbfc;
}

.lh-no-results.is-visible {
  display: block;
}

.lh-mock-note {
  margin-top: 48px;
  padding: 16px 20px;
  font-size: 1.3rem;
  color: var(--lh-muted);
  background: #fffbe6;
  border: 1px solid #e8d88a;
}

@media (min-width: 768px) {
  #learning-hub-hero:not(.lh-hero--detail) .lh-hero__box {
    max-width: 1400px;
  }
}

/* ==========================================================================
   ≥601px — 2-column grids, larger hero type
   ========================================================================== */
@media (min-width: 601px) {
  #learning-hub-hero.header_img:not(.lh-hero--detail),
  #learning-hub-hero:not(.lh-hero--detail) .lh-hero__box {
    min-height: 280px;
  }

  #learning-hub-hero:not(.lh-hero--detail) h1 {
    font-size: 3.6rem;
  }

  #learning-hub-hero:not(.lh-hero--detail) .lh-intro {
    font-size: 1.6rem;
  }

  .lh-section-title {
    font-size: 2.2rem;
  }

  .lh-start__grid,
  .lh-featured__grid,
  .lh-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   ≥901px — desktop sidebar + 3-col catalog
   ========================================================================== */
@media (min-width: 901px) {
  #learning-hub-hero.header_img:not(.lh-hero--detail),
  #learning-hub-hero:not(.lh-hero--detail) .lh-hero__box {
    min-height: 260px;
  }

  #learning-hub-hero:not(.lh-hero--detail) .lh-hero__box {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  #learning-hub-hero:not(.lh-hero--detail) h1 {
    font-size: 5.2rem;
    margin-bottom: 20px;
  }

  #learning-hub-hero:not(.lh-hero--detail) .lh-intro {
    font-size: 1.7rem;
    max-width: 640px;
  }

  .lh-main {
    padding-bottom: 80px;
  }

  .lh-only-sp {
    display: none !important;
  }

  .lh-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    position: relative;
  }

  .lh-main-column {
    flex: 1;
  }

  /* Desktop sidebar: fixed follow + scroll (adaptation-database/list pattern) */
  .lh-filter {
    position: static;
    height: auto;
    left: auto;
    width: 300px;
    flex: 0 0 300px;
    pointer-events: auto;
    z-index: 50;
  }

  .lh-filter__bg {
    display: none;
  }

  .lh-filter__panel {
    position: static;
    height: auto;
    max-height: calc(100vh - 130px - 20px);
    max-height: calc(100dvh - 130px - 20px);
    max-width: none;
    width: auto;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
    padding-top: 0;
    translate: none;
    transition: none;
    background: transparent;
  }

  .lh-filter__panel.is-pinned {
    position: fixed;
    z-index: 50;
    box-sizing: border-box;
    width: 300px;
    height: auto !important;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
  }

  .lh-filter__inner {
    margin: 0;
    padding: 0 20px 36px;
    background: transparent;
    border: none;
  }

  .lh-start__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .lh-featured__grid,
  .lh-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   Hover card modal (fine pointer only)
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  .lh-card__modal {
    display: block;
    position: absolute;
    left: 50%;
    right: auto;
    top: 0;
    width: calc(100% + 80px);
    max-width: 440px;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid var(--lh-border);
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(0, 40, 60, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(-50%, 6px, 0) scale(0.97);
    transform-origin: top center;
    transition:
      opacity 0.32s cubic-bezier(0.33, 1, 0.68, 1),
      transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0.36s;
    z-index: 5;
    overflow: hidden;
    will-change: transform, opacity;
    backface-visibility: hidden;
  }

  .lh-card__modal-media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e8ecef;
  }

  .lh-card__modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transform: scale(1.03);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .lh-card__modal-body {
    padding: 18px 20px 22px;
    opacity: 0;
    transform: translate3d(0, 8px, 0);
    transition:
      opacity 0.35s cubic-bezier(0.33, 1, 0.68, 1) 0.06s,
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.06s;
  }

  .lh-card__modal .lh-card__badges {
    margin-bottom: 10px;
  }

  .lh-card__modal .lh-badge {
    padding: 3px 10px;
    font-size: 1.2rem;
  }

  .lh-card__modal .lh-card__date {
    font-size: 1.35rem;
    margin-bottom: 8px;
  }

  .lh-card__modal .lh-card__title {
    font-size: 1.8rem;
    line-height: 1.35;
    margin: 0;
  }

  .lh-card__modal .lh-card__download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 7px 14px;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1;
    color: var(--lh-navy);
    background: #fff;
    border: 1px solid var(--lh-navy);
    border-radius: 3px;
    cursor: pointer;
    opacity: 0;
    transform: translate3d(0, 6px, 0);
    transition:
      opacity 0.35s cubic-bezier(0.33, 1, 0.68, 1) 0.1s,
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
      background-color 0.2s ease,
      color 0.2s ease;
  }

  .lh-card__modal .lh-card__download:hover,
  .lh-card__modal .lh-card__download:focus-visible {
    background: var(--lh-navy);
    color: #fff;
    outline: none;
  }

  .lh-card__modal .lh-card__download-icon {
    flex-shrink: 0;
    width: 1.1em;
    height: 1.1em;
  }

  .lh-card__modal .lh-card__desc {
    margin-top: 12px;
    font-size: 1.45rem;
    line-height: 1.6;
    opacity: 0;
    transform: translate3d(0, 6px, 0);
    transition:
      opacity 0.35s cubic-bezier(0.33, 1, 0.68, 1) 0.12s,
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
  }

  .lh-card.is-hover--left .lh-card__modal {
    left: 0;
    right: auto;
    transform: translate3d(0, 6px, 0) scale(0.97);
    transform-origin: top left;
  }

  .lh-card.is-hover--right .lh-card__modal {
    left: auto;
    right: 0;
    transform: translate3d(0, 6px, 0) scale(0.97);
    transform-origin: top right;
  }

  .lh-card.is-hover {
    z-index: 101;
    border-color: transparent;
  }

  .lh-card.is-hover .lh-card__thumb img {
    transform: scale(1.03);
  }

  .lh-card.is-hover .lh-card__modal {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: 0 22px 56px rgba(0, 40, 60, 0.26);
    transform: translate3d(-50%, -18px, 0) scale(1.1);
    transition:
      opacity 0.28s cubic-bezier(0.33, 1, 0.68, 1),
      transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0s;
  }

  .lh-card.is-hover.is-hover--left .lh-card__modal {
    transform: translate3d(0, -18px, 0) scale(1.1);
  }

  .lh-card.is-hover.is-hover--right .lh-card__modal {
    transform: translate3d(0, -18px, 0) scale(1.1);
  }

  .lh-card.is-hover .lh-card__modal-media img {
    transform: scale(1);
  }

  .lh-card.is-hover .lh-card__modal-body {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .lh-card.is-hover .lh-card__modal .lh-card__desc,
  .lh-card.is-hover .lh-card__modal .lh-card__download {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ==========================================================================
   Detail page (e.g. ait-lla)
   Non-H1 sizes match adaptation_literacy/.../ait_lla (el_con_note / el_date)
   ========================================================================== */
#learning-hub-hero.lh-hero--detail.header_img {
  background: #f7f9fa; /* = .lh-filter__inner */
  height: auto; /* override .header_img fixed height */
  min-height: 302px;
}

#learning-hub-hero.lh-hero--detail.header_img,
#learning-hub-hero.lh-hero--detail .lh-hero__box {
  min-height: 302px;
}

#learning-hub-hero.lh-hero--detail .lh-hero__box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: auto;
  padding-top: 40px;
  padding-bottom: 40px;
}

#learning-hub-hero.lh-hero--detail .lh-hero__inner {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

#learning-hub-hero.lh-hero--detail .lh-hero__inner--split {
  display: grid;
  gap: 24px;
}

.lh-hero__eyebrow {
  margin: 0 0 10px;
  font-size: 1.6rem; /* = .col_el_cate h2 */
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lh-navy);
}

.lh-hero__eyebrow .lh-badge {
  vertical-align: middle;
  margin-left: 0.7em;
  font-size: 1.5rem;
  padding: 4px 12px;
}

#learning-hub-hero.lh-hero--detail h1 {
  position: static;
  top: auto;
  left: auto;
  transform: none;
  -webkit-transform: none;
  -ms-transform: none;
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  font-weight: 600;
  font-size: 2.2rem;
  text-transform: none;
  letter-spacing: 0.01em;
  line-height: 1.3;
  margin: 0 0 12px;
  max-width: none;
  color: var(--lh-navy);
}

#learning-hub-hero.lh-hero--detail .lh-intro {
  position: static;
  font-size: 1.6rem; /* = hero plain text / .el_con_note p */
  line-height: 1.7;
  color: var(--lh-muted);
  max-width: none;
  margin: 0;
}

#learning-hub-hero.lh-hero--detail .lh-hero__col--desc p {
  margin: 0;
  font-size: 1.6rem; /* = .el_con_note p / body */
  line-height: 1.7;
  color: #333;
}

.lh-main--detail {
  padding-bottom: 80px;
}

.lh-main--detail > .section_box {
  padding-top: 16px;
  padding-bottom: 48px;
}

.lh-detail {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  font-size: 1.6rem;
  line-height: 1.7;
}

.lh-detail__breadcrumb {
  margin: 0 0 28px;
}

.lh-detail__breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--lh-muted);
}

.lh-detail__breadcrumb li {
  display: inline;
}

.lh-detail__breadcrumb li:not(:last-child)::after {
  content: "›";
  margin: 0 0.55em;
  color: #9aa3ab;
}

.lh-detail__breadcrumb a {
  color: var(--lh-navy);
  text-decoration: none;
}

.lh-detail__breadcrumb a:hover {
  text-decoration: underline;
}

.lh-detail__breadcrumb li[aria-current="page"] {
  color: #333;
}

.lh-module {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--lh-border);
}

.lh-module:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.lh-module__label {
  margin: 0 0 8px;
  font-size: 1.6rem; /* = .col_el_cate h2 */
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lh-blue);
}

.lh-module__title {
  margin: 0 0 14px;
  font-size: 2.5rem; /* = .el_con_note h3 */
  font-weight: 600;
  line-height: 1.35;
  color: var(--lh-navy);
}

.lh-module__media {
  min-width: 0;
}

.lh-module__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}

.lh-module__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lh-module__body {
  min-width: 0;
}

.lh-module__text {
  margin: 0;
  font-size: 1.6rem; /* = .el_con_note p */
  line-height: 1.7;
  color: #333;
}

.lh-detail__back {
  margin: 40px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--lh-border);
  font-size: 1.6rem;
}

.lh-detail__back a {
  color: var(--lh-navy);
  text-decoration: none;
  font-weight: 600;
}

.lh-detail__back a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  #learning-hub-hero.lh-hero--detail .lh-hero__inner--split {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }

  #learning-hub-hero.lh-hero--detail h1 {
    font-size: 2.6rem;
  }

  .lh-hero__eyebrow,
  .lh-module__label {
    font-size: 1.9rem; /* = .col_el_cate h2 @768 */
  }

  .lh-module {
    grid-template-columns: 1.15fr 1fr;
    gap: 28px;
    align-items: start;
  }
}

@media (min-width: 901px) {
  #learning-hub-hero.lh-hero--detail.header_img,
  #learning-hub-hero.lh-hero--detail .lh-hero__box {
    min-height: 342px;
    height: auto;
  }

  #learning-hub-hero.lh-hero--detail .lh-hero__box {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  #learning-hub-hero.lh-hero--detail h1 {
    font-size: 3rem;
  }

  #learning-hub-hero.lh-hero--detail .lh-hero__inner--split {
    gap: 56px;
  }

  .lh-module {
    gap: 36px;
  }
}

/* ==========================================================================
   From adaptation_literacy.css
   Selectors used by learning-hub/resources HTML
   ========================================================================== */
.border_box_orange {
border: 15px solid #f1cfb6;
  padding: 30px 0;
	margin-bottom: 50px;
    border-radius: 15px;
}

.border_box_green {
border: 15px solid #79C9CA;
  padding: 30px 0;
    border-radius: 15px;
}

.border_box_orange h2 {
width: 126%;
  transform: translateX(-10%);
}

.border_box_green h2 {
width: 126%;
  transform: translateX(-10%);
}

.al_wrap .g_arrow img {
width: 24px;
    margin: 0 30px 30px 0;
}

.al_wrap > .more_button,.al_wrap_col > .more_button {
position: absolute;
	bottom: 0;
	right: 0;
	margin-bottom: 0;
}

.keni-main .keni-section .border_box_orange h1 {
width: 126%;
  transform: translateX(-10%);
    font-size: 3.2rem;
}

.more_button .icon_download {
padding-left: 60px;
}

.col_pub_img {
width: 40%;
	margin: 30px 30% 0;
}

.col_pub_img img {
border: 1px solid #ccc;
	max-height: 200px;
    border-radius: 15px;
}

.col_pub_note {
padding: 20px;
    display: flex;
    flex-direction: column;
}

#publications .dl_btn {
display: flex;
    gap: 20px;
}

.tr_read {
width: 126%;
  transform: translateX(-10%);
}

.tr_article {
margin-bottom: 30px;
	background-color: #fff;
    border-radius: 15px;
}

.tr_article a {
color: #393939;
}

.tr_col2-wrap {
display: flex;
	flex-direction: column;
    border-radius: 15px;
}

.tr_article a:hover {
opacity: 0.7;
}

.tr_col2-wrap h3 {
margin-bottom: 0;
	font-weight: 600;
	font-size: 2.4rem;
}

.tr_col2-wrap p {
margin-bottom: 3em;
}

.col_tr_img img {
width: 100%;
    border-radius: 15px 15px 0 0;
}

.col_tr_note {
padding: 20px;
    display: flex;
    flex-direction: column;
}

.col_tr_note a {
color: #000;
}

.col_tr_note a:hover {
color: #999;
}

.tr_col2-wrap .col_wwd_note h3 {
margin-bottom: 20px;
	font-weight: 300;
	font-size: 3rem;
}

.tr_date {
color: #666;
	font-size: 2.4rem;
    margin: 0;
}

.tr_article > .more_button,.other_tr_info > .more_button {
position: absolute;
	bottom: 0;
	right: 0;
	margin-bottom: 0;
}

.dl_btn {
align-self: flex-end;
    margin-top: 20px;
}

.dl_btn a {
background-color: #000;
	color: #fff;
	padding: 14px 20px;
	display: block;
	display: flex;
	justify-content: space-between;
    border-radius: 35px;
    margin-top: auto;
    margin-left: auto;
    align-items: center;
}

.dl_btn .icon_download {
margin-left: 10px;
}

.el_article {
background-color: #fff;
    border-radius: 15px;
}

.el_col2-wrap h2 {
width: 100%;
  transform: none;
}

.sp_padding {
padding: 30px;
}

.sp_padding_lr {
padding: 0 30px;
}

.col_el_cate {
display: flex;
}

.col_el_cate h2 {
font-size: 1.6rem;
	color: #56B9BA;
}

.col_el_cate h2 span {
font-size: 2.7rem;
	border-bottom: 3px solid #56B9BA;
	line-height: 1.6;
}

.col_el_info h3 {
font-size: 2.7rem;
	margin-bottom: 10px;
}

.col_el_info img {
width: 100%;
    border-radius: 15px;
}

.el_date {
color: #666;
	font-size: 1.8rem;
}

.el_article hr {
color: #b2b2b2;
	margin-bottom: 40px;
}

.el_con_padding {
padding: 30px;
}

.el_con_movie img {
width: 100%;
}

.el_con_note {
margin-top: 30px;
}

.el_con_note > .more_button {
margin-left: auto;
}

.el_con_note h3 {
font-weight: 600;
	font-size: 2.5rem;
}

.el_con_note p {
color: #333;
	position: relative;
	font-size: 1.6rem;
}

.el_con_note p:before {
content: '';
  position: absolute;
  bottom: -1.5em;
  display: inline-block;
  width: 34px; 
  height: 4px; 
  background-color: #999;
}

.el_con_note ul {
color: #666;
	font-size: 1.4rem;
	list-style: none;
	margin: 50px 0 0;
	line-height: 1.2;
}

.el_info_note ol {
padding-left: 20px;
}

.other_tr_co2_wrap {
display: flex;
	flex-direction: column;
}

.other_tr_wrap {
background-color: #fff;
	margin-bottom: 30px;
	position: relative;
    border-radius: 15px;
}

.other_tr_wrap a {
display: flex;
    flex-direction: column;
	color: #393939;
}

.other_tr_wrap a:hover {
opacity: 0.7;
}

.other_tr_wrap .more_button {
position: absolute;
	bottom: 0;
	right: 0;
	margin-bottom: 0;
}

.other_tr_wrap:last-child {
margin-bottom: 0;
}

.other_tr_wrap img {
width: 100%;
    border-radius: 15px 15px 0 0;
}

.other_tr_wrap .g_arrow img {
width: 24px;
    margin: 0 30px 30px 0;
}

.other_tr_info {
padding: 30px 30px 0;
}

.other_tr_info h3 {
font-weight: 600;
	font-size: 2.5rem;
	margin-bottom: 10px;
}

.al_con_read > .more_button {
margin: 0 auto;
}

.el_logo {
display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.el_logo img {
height: 30px;
	width: auto;
	margin-bottom: 10px;
}

.lesson_list_col3 {
display: flex;
	flex-direction: column;
	margin-top: 20px;
}

.lesson_link {
margin-bottom: 30px;
}

.lesson_link img {
margin-bottom: 10px;
}

.lesson_title h4 {
font-size: 1.7rem;
	font-weight: normal;
}

.lesson_title span {
display: block;
	font-size: 2.1rem;
	margin-bottom: 10px;
	font-weight: 500;
}

.col_el_info hr {
margin: 50px 0;
}

.orange_dot a {
color: #E87400;
	border-bottom: dotted 3px #E87400;
}

.orange_dot a:hover {
color: #ccc;
	border-bottom: dotted 3px #ccc;
}

.lesson_title {
position: relative;
	padding-left: 20px;
}

.lesson_title a {
color: #000;
}

.lesson_title a::after {
content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 10px; 
	height: 70px; 
	background-color: #E2E2E2;
}

.lesson_title a:hover::after {
background-color: #F59B5E;
}

.el_info_title h3 {
font-size: 2.7rem;
	font-weight: normal;
	margin-bottom: 20px;
}

.el_info_title h3  span {
display: block;
	font-size: 4rem;
	margin-bottom: 20px;
	font-weight: 500;
}

.download_btn {
display: flex;
	flex-direction: column;
	padding-top: 30px;
	justify-content: center;
	margin: 0;
}

.download_btn li {
list-style: none;
	width: 100%;
}

.download_btn li a {
background-color: #000;
	color: #fff;
	padding: 14px 20px;
	display: block;
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
    border-radius: 35px;
}

.download_btn li a:hover {
background-color: #666;
}

.download_btn .icon_download {
font-size: 2rem;
}

.e_useful_links {
margin-top: 30px;
}

.e_useful_links li {
text-decoration: none;
  display: block;
  padding-left: 50px;
  position: relative;
	line-height: 1.2;
	padding-bottom: 10px;
}

.e_useful_links a {
color: #E87425;
}

.e_useful_links a:hover {
color: #666;
}

.e_useful_links li:before {
content: "";
  display: block;
  -webkit-transform: skewX(45deg);
  transform: skewX(45deg);
  position: absolute;
  left: 0;
  top: 50%;
}

.e_useful_links li:after {
content: "";
  display: block;
  -webkit-transform: skewX(45deg);
  transform: skewX(45deg);
  position: absolute;
  left: 32px;
  top: calc(50% - 5px);
}

.e_useful_links li:before {
width: 35px;
  height: 1px;
  background: #E87425;
}

.e_useful_links li:after {
width: 2px;
  height: 6px;
  background: #E87425;
  right: 0;
}

.e_case_studies {
margin-top: 50px;
}

.e_case_studies_img img {
width: 80%;
	margin-left: 10%;
	border: 2px solid #7E7E7E;
}

.course_modules {
margin: 50px auto;
	background-color: #f1f1f1;
	padding: 30px;
    border-radius: 15px;
}

.course_modules h4 {
font-weight: 600;
}

.course_modules p {
color: #333;
	font-size: 1.6rem;
}

.el_link_note {
margin-top: 50px;
}

.el_link_note p {
color: #333;
}

.el_info_title_col2 {
display: flex;
    justify-content: space-between;
	align-items: flex-start;
}

.go_to_btn a {
color: #46B564;
    border: 3px solid #46B564;
    border-radius: 50px;
    padding: 5px 20px;
    display: block;
}

.go_to_btn a:hover {
color: #fff;
   background-color: #46B564;
}

.arrow-right {
display: inline-block;
  vertical-align: middle;
  line-height: 1;
  position: relative;
  width: 12px;
  height: 0.1em;
  background: currentColor;
    margin-left: 10px;
}

.arrow-right::before {
content: '';
  width: 0.35em;
  height: 0.35em;
  border: 0.1em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(45deg);
  transform-origin: top right;
  position: absolute;
  top: 50%;
  right: -0.05em;
  box-sizing: border-box;
}

#e-learning video {
border-radius: 15px;
}

@media (min-width : 768px) {
.keni-main .keni-section .border_box_orange h1 {
width: 112%;
    transform: translateX(-6%);
    font-size: 4.2rem;
}
.border_box_orange h2 {
width: 112%;
    transform: translateX(-6%);
}
.border_box_green h2 {
width: 112%;
    transform: translateX(-6%);
}
.border_box_orange .col_el_cate h2 {
width: 100%;
  transform: none;
}
.tr_col2-wrap h3 {
margin-bottom: 10px;
	font-size: 3rem;
}
.tr_col2-wrap p {
margin-bottom: 0.5em;
}
.tr_read {
width: 100%;
    transform: translateX(-6%);
}
.tr_date {
font-size: 1.8rem;
}
.tr_col2-wrap {
display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
	background-color: #fff;
	padding: 50px;
}
.tr_col2-wrap h3 {
margin-bottom: 10px;
	font-weight: 600;
}
.col_tr_img img {
border-radius: 15px;
}
.col_tr_img {
width: 30%;
}
.col_tr_note {
width: 65%;
	padding: 0;
}
.other_tr_co2_wrap {
flex-direction: row;
	justify-content: space-between;
}
.other_tr_wrap {
width: 48%;
	margin-bottom: 0;
}
.col_el_cate h2 {
font-size: 1.9rem;
}
.col_el_cate h2 span {
font-size: 3.3rem;
	line-height: 2;
}
.el_info_title h3 {
font-size: 3.2rem;
	font-weight: normal;
	margin-bottom: 30px;
}
.el_info_title h3  span {
display: block;
	font-size: 4.6rem;
	margin-bottom: 30px;
	font-weight: 500;
}
.col_pub_img {
width: 20%;
	text-align: center;
	margin: 0;
}
.col_pub_note {
width: 75%;
	padding: 0;
}
}

@media (min-width : 920px) {
.border_box_orange {
margin-bottom: 80px;
}
.tr_article {
margin-bottom: 60px;
}
.tr_col2-wrap .col_wwd_note h3 {
font-size: 4.7rem;
}
.el_article {
padding: 30px;
}
.el_col2-wrap {
display: flex;
	justify-content: space-between;
}
.col_el_cate {
width: 22%;
	flex-direction: column;
}
.col_el_cate h2 {
font-size: 1.9rem;
	color: #56B9BA;
}
.col_el_cate h2 span {
font-size: 3.3rem;
	border-bottom: 3px solid #56B9BA;
	line-height: 2;
}
.sp_padding,.sp_padding_lr {
padding: 0;
}
.col_el_info {
width: 75%;
}
.col_el_info img {
margin-bottom: 30px;
}
.el_date {
font-size: 2.4rem;
}
.el_con_movie {
width: 60%;
}
.el_con_note {
width: 35%;
	margin-top: 0;
}
.el_con_padding {
padding: 0;
	margin-top: 80px;
}
.el_logo {
align-items: flex-start;
}
.el_logo img {
height: 50px;
	width: auto;
	margin-bottom: 30px;
}
.lesson_link img {
margin-bottom: 10px;
}
.download_btn {
flex-direction: row;
	justify-content: space-around;
	margin-top: 80px;
}
.download_btn li {
width: 40%;
}
.download_btn .icon_download {
font-size: 3rem;
}
.e_case_studies {
display: flex;
	justify-content: space-between;
	margin-top: 80px;
}
.e_case_studies_note {
width: 60%;
}
.e_case_studies_note h3 {
padding-bottom: 20px;
}
.e_case_studies_img {
width: 38%;
}
.e_case_studies_img img {
width: 80%;
	margin-left: 10%;
}
.e_case_studies .download_btn li {
width: 100%;
}
}

@media (min-width : 1200px) {
.border_box_orange {
padding: 50px 0;
}
.border_box_green {
padding: 50px 0;
}
.el_article {
padding: 80px;
}
.lesson_list_col3 {
flex-direction: row;
	flex-wrap: wrap;
	margin-top: 50px;
}
.lesson_link {
width: 30%;
	margin-right: 5%;
}
.lesson_link:nth-child(3n) {
margin-right: 0;
}
.col_el_info hr {
margin: 100px 0;
}
}
