.resource-main {
  padding-top: 0;
  background: #eef1f7;
}

.resource-hero {
  min-height: 560px;
  height: 560px;
}

.resource-hero-overlay {
  position: absolute;
  left: 0;
  bottom: 74px;
  color: #fff;
  z-index: 2;
}

.resource-hero-overlay h1 {
  margin: 0;
  font-size: 44px;
  font-weight: 700;
}

.resource-hero-overlay p {
  margin: 8px 0 0;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.resource-pathbar {
  background: #fff;
  border-top: 1px solid #e2e6ee;
  border-bottom: 1px solid #e2e6ee;
  height: 50px;
  min-height: 50px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.resource-pathbar .container {
  height: 100%;
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 0;
}

.resource-path-layout {
  height: 50px;
  min-height: 50px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
}

.resource-path {
  height: 38px;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #5d6679;
  white-space: nowrap;
  margin: 0;
  padding: 0;
}

.resource-cats-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  overflow-x: auto;
  white-space: nowrap;
}

.resource-cats-row a {
  font-size: 16px;
  color: #364056;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}

.resource-cats-row a.is-active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.resource-entry-wrap.resources-arc {
  padding: 74px 0 66px;
}

.resource-entry-wrap .node-icon {
  display: grid;
  place-items: center;
}

.resource-entry-wrap .node-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.resource-filters {
  padding: 18px 0 0;
}

.resource-filter-card {
  background: #fff;
  border: 1px solid #e1e6ef;
  padding: 16px 24px;
}

.resource-field {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 8px;
  position: relative;
}

.resource-field span {
  font-size: 14px;
  color: #40495c;
}

.resource-field [data-filter-trigger] {
  position: relative;
  height: 36px;
  border: 1px solid #e1e6ef;
  background: #fff;
  color: #444f66;
  text-align: left;
  padding: 0 56px 0 14px;
  font-size: 14px;
  cursor: pointer;
}

.resource-field [data-filter-trigger]::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 42px;
  height: 100%;
  background: #1f3d9a;
}

.resource-field [data-filter-trigger]::after {
  content: "";
  position: absolute;
  right: 11px;
  top: 50%;
  width: 16px;
  height: 10px;
  margin-top: -5px;
  background: url("../images/icon-select-arrow.png") no-repeat center / contain;
  pointer-events: none;
}

.resource-dropdown-menu {
  display: none;
  position: absolute;
  left: 98px;
  right: 0;
  top: calc(100% + 2px);
  background: #fff;
  border: 1px solid #dbe2ef;
  box-shadow: 0 8px 18px rgba(22, 37, 76, 0.12);
  z-index: 10;
  max-height: 320px;
  overflow-y: auto;
}

.resource-field.is-open .resource-dropdown-menu {
  display: block;
}

.resource-dropdown-menu button {
  width: 100%;
  height: 36px;
  border: none;
  background: #fff;
  text-align: left;
  padding: 0 12px;
  font-size: 13px;
  color: #3a4358;
  cursor: pointer;
}

.resource-dropdown-menu button:hover {
  background: #f1f4fa;
  color: var(--brand);
}

.resource-list-wrap {
  padding: 38px 0 44px;
}

.resource-list-wrap.is-cases-grid .container {
  max-width: 100%;
  padding: 0;
}

.resource-list-card {
  background: #fff;
  border: 1px solid #e1e6ef;
  border-top: none;
  padding: 8px 24px 22px;
}

.resource-insights-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 4px 0 10px;
  border-bottom: 1px solid #edf1f6;
}

.resource-insights-tabs a,
.resource-insights-tabs button {
  border: none;
  background: transparent;
  font-size: 35px;
  line-height: 1.2;
  color: #81889a;
  padding: 10px 0 12px;
  cursor: pointer;
  font-weight: 400;
  text-decoration: none;
  display: inline-block;
}

.resource-insights-tabs a + a::before,
.resource-insights-tabs button + button::before {
  content: "|";
  margin: 0 10px;
  color: #b3b8c6;
}

.resource-insights-tabs a.is-active,
.resource-insights-tabs button.is-active {
  color: #1f2738;
  font-weight: 400;
}

.resource-list-wrap.is-cases-grid .resource-list-card {
  border: none;
  background: transparent;
  padding: 0;
}

.resource-list-wrap.is-lectures-grid .resource-list-card {
  border: none;
  background: transparent;
  padding: 0;
}

.resource-list-wrap.is-docs-split .resource-list-card {
  border: none;
  background: transparent;
  padding: 0;
}

.resource-list-wrap.is-docs-split .resource-insights-tabs {
  display: none;
}

.resource-list.resource-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
}

.resource-grid-card {
  display: block;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.resource-grid-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.resource-grid-hover {
  position: absolute;
  inset: 0;
  background: rgba(16, 44, 112, 0.56);
  display: grid;
  place-content: center;
  text-align: center;
  gap: 10px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.resource-grid-card:hover .resource-grid-hover {
  opacity: 1;
}

.resource-grid-hover h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  padding: 0 28px;
}

.resource-grid-hover p {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}

.resource-item {
  display: grid;
  grid-template-columns: 180px 1fr 52px;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #edf1f6;
}

.resource-list.is-insights .resource-item {
  grid-template-columns: 168px 1fr 52px;
  padding: 20px 0;
}

.resource-list.is-insights .resource-thumb {
  width: 168px;
  height: 104px;
}

.resource-list.is-lectures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 8px;
}

.resource-lecture-card {
  display: block;
  background: #fff;
  border: 1px solid #eef2f7;
  cursor: pointer;
}

.resource-lecture-thumb {
  width: 100%;
  height: 248px;
  object-fit: cover;
  display: block;
}

.resource-lecture-media {
  position: relative;
}

.resource-lecture-play {
  position: absolute;
  inset: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.resource-lecture-play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.95);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-indent: 3px;
}

.resource-lecture-body {
  padding: 14px 16px 16px;
  min-height: 98px;
}

.resource-lecture-body h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  color: #202938;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.resource-lecture-body p {
  margin: 10px 0 0;
  color: #667187;
  font-size: 14px;
  line-height: 1.6;
}

.resource-list.is-docs,
.resource-list.is-instructions {
  padding-top: 8px;
}

.resource-docs-layout {
  display: grid;
  grid-template-columns: 252px 1fr;
  gap: 20px;
  align-items: start;
}

.resource-docs-sidebar {
  background: #fff;
  align-self: start;
}

.resource-docs-sidebar h3 {
  margin: 0;
  height: 138px;
  padding: 30px 20px;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  background: linear-gradient(135deg, #123a97, #1e4bbb);
  letter-spacing: 1px;
}

.resource-docs-cat-list {
  border: 1px solid #ecf0f6;
  border-top: none;
}

.resource-docs-cat-item,
a.resource-docs-cat-item {
  width: 100%;
  border: none;
  border-top: 1px solid #edf1f6;
  background: #fff;
  text-align: left;
  padding: 14px 22px;
  color: #37445f;
  font-size: 16px;
  cursor: pointer;
  box-sizing: border-box;
}

a.resource-docs-cat-item {
  display: block;
  text-decoration: none;
}

.resource-docs-cat-item:first-child {
  border-top: none;
}

.resource-docs-cat-item.is-active {
  background: #f2f4f8;
}

.resource-docs-main {
  background: #fff;
  border: 1px solid #ecf0f6;
  padding: 34px 22px 0;
  align-self: start;
}

.resource-docs-row {
  display: grid;
  grid-template-columns: 120px 1fr 44px;
  gap: 16px;
  align-items: center;
  min-height: 96px;
  border-bottom: 1px solid #edf1f6;
}

.resource-docs-row:last-child {
  border-bottom: none;
}

.resource-docs-date {
  text-align: center;
}

.resource-docs-date strong {
  display: block;
  font-size: 30px;
  line-height: 0.9;
  color: #1d2635;
  font-weight: 700;
}

.resource-docs-date span {
  display: block;
  margin-top: 4px;
  color: #353f52;
  font-size: 18px;
}

.resource-docs-title a {
  color: #1f2738;
  font-size: 20px;
  line-height: 1.3;
  display: block;
}

.resource-docs-empty {
  padding: 24px 0 30px;
  color: #7b8598;
  font-size: 14px;
}

.resource-docs-empty--grid {
  grid-column: 1 / -1;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resource-docs-go {
  width: 44px;
  height: 44px;
  background: #c3c3c3;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  flex-shrink: 0;
}

.resource-list.is-instructions .resource-ins-grid {
  align-self: start;
}

.resource-ins-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-content: start;
}

.resource-ins-card {
  background: #fff;
  border: 1px solid #ecf0f6;
  min-height: 154px;
  padding: 26px 22px;
  display: grid;
  grid-template-columns: 84px 1fr 48px;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}

.resource-ins-date {
  text-align: center;
  border-right: 1px solid #ebeff6;
  padding-right: 10px;
}

.resource-ins-date strong {
  display: block;
  font-size: 30px;
  line-height: 0.9;
  color: #1d2635;
  font-weight: 700;
}

.resource-ins-date span {
  display: block;
  margin-top: 6px;
  color: #9ca4b5;
  font-size: 18px;
}

.resource-ins-card h4 {
  margin: 0;
  color: #1f2738;
  font-size: 20px;
  line-height: 1.35;
}

.resource-ins-pdf {
  width: 40px;
  height: 40px;
  border: none;
  background: url("../images/icon-pdf-doc.png") no-repeat center / contain;
  color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 0;
}

.resource-item:last-child {
  border-bottom: none;
}

.resource-thumb {
  width: 180px;
  height: 112px;
  object-fit: cover;
  border: 1px solid #e3e8f0;
}

.resource-body h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: #202938;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.resource-body p {
  margin: 8px 0 0;
  color: #778095;
  font-size: 13px;
  line-height: 1.7;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.resource-go {
  width: 44px;
  height: 44px;
  background: #d6d8de;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.resource-pagination {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.resource-page-btn {
  min-width: 36px;
  height: 34px;
  border: none;
  background: transparent;
  color: #2e3648;
  font-size: 13px;
  padding: 0 6px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.resource-page-btn.active {
  background: #1f3d9a;
  color: #fff;
}

a.resource-page-btn:hover:not(.active) {
  color: #1f3d9a;
}

.resource-pagination > span.resource-page-btn {
  cursor: default;
  opacity: 0.55;
  pointer-events: none;
}

.resource-page-btn:disabled,
button.resource-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.resource-video-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.resource-video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 13, 28, 0.72);
}

.resource-video-dialog {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(980px, calc(100% - 56px));
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}

.resource-video-dialog video {
  width: 100%;
  max-height: 78vh;
  display: block;
  background: #000;
}

.resource-video-close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.resource-article-inline {
  padding: 18px 0 0;
}

.resource-article-card {
  background: #fff;
  border: 1px solid #e1e6ef;
  padding: 26px 30px 30px;
}

.resource-article-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 14px;
}

.resource-article-toolbar .article-toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.resource-article-toolbar .article-toolbar-btn {
  min-width: 96px;
  height: 40px;
  border: 1px solid #cfd4df;
  color: #7a8193;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.resource-article-toolbar .article-toolbar-btn:hover {
  border-color: #b9c0ce;
  color: #556079;
}

.resource-article-toolbar .article-toolbar-back {
  min-width: 132px;
  justify-content: flex-start;
  position: relative;
  padding-left: 42px;
}

.resource-article-toolbar .article-toolbar-back::before {
  content: "↩";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url("../images/icon-back-list.png") no-repeat center / contain;
  font-size: 0;
  line-height: 0;
}

.resource-article-card h1 {
  margin: 0;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.35;
  color: #242d3f;
}

.resource-article-meta {
  margin: 16px 0 0;
  padding-top: 10px;
  border-top: 1px solid #edf1f6;
  color: #6d7689;
  font-size: 14px;
  line-height: 1.8;
}

.resource-article-content {
  margin-top: 12px;
  color: #394156;
  font-size: 16px;
  line-height: 1.9;
  white-space: pre-line;
}

.resource-article-image {
  margin-top: 18px;
  width: 100%;
  border: 1px solid #e1e6ef;
  display: block;
}

@media (max-width: 980px) {
  .resource-entry-wrap .node-icon img {
    width: 24px;
    height: 24px;
  }
}
