/* Final mobile resource-page density pass, matched to the supplied 431 x 911 reference. */

.opc-v2-resource-growth {
  display: none;
}

@media (max-width: 820px) {
  .opc-page[data-mobile-view="resources"] #resources .opc-mobile-resource-tabs {
    margin-bottom: 0;
  }

  .opc-page[data-mobile-view="resources"] #resources .opc-subsection-heading,
  .opc-page[data-mobile-view="resources"] #resources .opc-activity-heading {
    min-height: 30px;
    margin: 0 0 3px;
  }

  .opc-page[data-mobile-view="resources"] #resources .opc-subsection-heading h3,
  .opc-page[data-mobile-view="resources"] #resources .opc-activity-heading h3 {
    font-size: 17px;
    line-height: 24px;
  }

  .opc-page[data-mobile-view="resources"] #resources .opc-expert-viewport {
    height: 171px;
    min-height: 171px;
  }

  .opc-page[data-mobile-view="resources"] #resources .opc-expert-page__grid {
    padding-bottom: 0;
  }

  .opc-page[data-mobile-view="resources"] #resources .opc-expert-card {
    height: 164px;
    min-height: 164px;
    max-height: 164px;
  }

  .opc-page[data-mobile-view="resources"] #resources .opc-expert-card__intro {
    top: 68px;
  }

  .opc-page[data-mobile-view="resources"] #resources .opc-expert-topic {
    top: 98px;
  }

  .opc-page[data-mobile-view="resources"] #resources .opc-expert-card footer {
    bottom: -2px;
  }

  .opc-page[data-mobile-view="resources"] #resources .opc-activity-hub {
    margin-top: 4px;
  }

  .opc-page[data-mobile-view="resources"] #resources .opc-activity-grid {
    padding-bottom: 2px;
  }

  .opc-page[data-mobile-view="resources"] #resources .opc-activity-card {
    height: 136px;
    min-height: 136px;
    max-height: 136px;
  }

  .opc-page[data-mobile-view="resources"] #resources .opc-activity-card > img {
    height: 64px;
  }

  .opc-page[data-mobile-view="resources"] #resources .opc-activity-card > div {
    min-height: 72px;
    padding-top: 7px;
  }

  .opc-page[data-mobile-view="resources"] #resources .opc-activity-card > div > span {
    top: 47px;
  }

  .opc-page[data-mobile-view="resources"] #resources .opc-activity-card .tcwf-action {
    right: 3px;
    bottom: 3px;
  }

  .opc-page[data-mobile-view="resources"] #learning,
  .opc-page[data-mobile-view="resources"] #resource-tools,
  .opc-page[data-mobile-view="resources"] #resources .opc-resource-mobile {
    display: none !important;
  }

  .opc-page[data-mobile-view="resources"] #resources .opc-v2-resource-growth {
    display: block;
    margin-top: 5px;
  }

  .opc-v2-resource-growth__heading,
  .opc-v2-resource-growth__tools-heading {
    display: flex;
    min-height: 28px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .opc-v2-resource-growth__heading h3,
  .opc-v2-resource-growth__tools-heading h3 {
    margin: 0;
    color: #14213a;
    font-size: 17px;
    line-height: 24px;
  }

  .opc-v2-resource-growth__heading span,
  .opc-v2-resource-growth__tools-heading span {
    overflow: hidden;
    color: #7d899b;
    font-size: 9px;
    line-height: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .opc-v2-resource-growth__portals {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .opc-v2-resource-growth__portal {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 68px;
    overflow: hidden;
    padding: 9px 68px 8px 10px;
    border: 1px solid #dfe7f3;
    border-radius: 9px;
    background: linear-gradient(105deg, #fff 0 64%, #eef5ff 64% 100%);
    color: #14213a;
    text-align: left;
  }

  .opc-v2-resource-growth__portal strong,
  .opc-v2-resource-growth__portal small,
  .opc-v2-resource-growth__portal em {
    position: relative;
    z-index: 1;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .opc-v2-resource-growth__portal strong {
    font-size: 13px;
    line-height: 18px;
  }

  .opc-v2-resource-growth__portal small {
    margin-top: 1px;
    color: #748198;
    font-size: 8px;
    line-height: 13px;
  }

  .opc-v2-resource-growth__portal em {
    margin-top: 3px;
    color: #0052d9;
    font-size: 9px;
    font-style: normal;
    line-height: 14px;
  }

  .opc-v2-resource-growth__portal img {
    position: absolute;
    top: 0;
    right: 0;
    width: 64px;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
  }

  .opc-v2-resource-growth__hot {
    margin-top: 5px;
    padding: 5px 7px 7px;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    background: #fff;
  }

  .opc-v2-resource-growth__hot > h4 {
    margin: 0 0 3px;
    color: #14213a;
    font-size: 12px;
    line-height: 18px;
  }

  .opc-v2-resource-growth__hot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .opc-v2-resource-growth__course {
    display: grid;
    min-width: 0;
    min-height: 44px;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #15213a;
    text-align: left;
  }

  .opc-v2-resource-growth__course img {
    width: 42px;
    height: 42px;
    border-radius: 5px;
    object-fit: cover;
  }

  .opc-v2-resource-growth__course span {
    min-width: 0;
  }

  .opc-v2-resource-growth__course strong,
  .opc-v2-resource-growth__course small {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
  }

  .opc-v2-resource-growth__course strong {
    color: #14213a;
    font-size: 9px;
    line-height: 13px;
    -webkit-line-clamp: 2;
  }

  .opc-v2-resource-growth__course small {
    margin-top: 1px;
    color: #8490a2;
    font-size: 8px;
    line-height: 12px;
    -webkit-line-clamp: 1;
  }

  .opc-v2-resource-growth__tools-heading {
    margin-top: 4px;
  }

  .opc-v2-resource-growth__tools {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .opc-v2-resource-growth__tool {
    display: flex;
    min-width: 0;
    min-height: 82px;
    flex-direction: column;
    gap: 3px;
    padding: 8px 7px;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    background: #fff;
    color: #14213a;
    text-decoration: none;
  }

  .opc-v2-resource-growth__tool img {
    width: 25px;
    height: 25px;
    object-fit: contain;
  }

  .opc-v2-resource-growth__tool strong,
  .opc-v2-resource-growth__tool small,
  .opc-v2-resource-growth__tool span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .opc-v2-resource-growth__tool strong {
    font-size: 9px;
    line-height: 13px;
    white-space: nowrap;
  }

  .opc-v2-resource-growth__tool small {
    color: #006eff;
    font-size: 8px;
    line-height: 12px;
    white-space: nowrap;
  }

  .opc-v2-resource-growth__tool span {
    display: -webkit-box;
    color: #66758d;
    font-size: 8px;
    line-height: 11px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}
