/* v0.33 urgent mobile overrides kept isolated from the parallel pixel-world work. */
@media (max-width: 820px) {
  .opc-mobile-primary-actions__item--news .opc-mobile-primary-actions__icon {
    background: #fff4e6;
  }

  .opc-mobile-primary-actions__item--summit .opc-mobile-primary-actions__icon {
    background: #fff0f2;
  }

  .opc-page[data-mobile-view="resources"] #resources .opc-mobile-resource-tabs {
    position: relative;
    z-index: 1;
    top: auto;
    margin-bottom: 20px;
  }

  .opc-page[data-mobile-view="resources"] #resources .opc-expert-library {
    position: relative;
    isolation: isolate;
    padding-top: 4px;
  }

  .opc-page[data-mobile-view="resources"] #resources .opc-subsection-heading {
    position: relative;
    z-index: 2;
    margin-bottom: 14px;
  }

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

  .opc-page[data-mobile-view="home"] #communities .opc-community-card--flagship .opc-card-footer {
    position: static;
    display: grid;
    width: 100%;
    min-height: 44px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin: 10px 0 0;
    padding: 8px 0 0;
    border-top: 1px solid rgba(214, 181, 99, 0.28);
  }

  .opc-page[data-mobile-view="home"] #communities .opc-community-card--flagship .opc-community-footer-views {
    position: static;
    display: inline-flex;
    min-width: 0;
    justify-self: start;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
  }

  .opc-page[data-mobile-view="home"] #communities .opc-community-card--flagship .opc-text-button {
    position: static;
    display: inline-flex;
    width: auto;
    min-width: 80px;
    min-height: 44px;
    justify-self: end;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    white-space: nowrap;
  }

  .opc-page[data-mobile-view="ideas"] #ideas .opc-mobile-ideas-toolbar {
    min-height: 0;
    margin: 0;
  }

  .opc-page[data-mobile-view="ideas"] #ideas .opc-mobile-ideas-publish {
    position: fixed;
    z-index: 118;
    right: max(var(--opc-mobile-gutter), calc((100vw - var(--opc-mobile-content)) / 2 + var(--opc-mobile-gutter)));
    bottom: calc(var(--opc-mobile-dock) + env(safe-area-inset-bottom) + 14px);
    width: 104px;
    min-width: 104px;
    min-height: 52px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: var(--opc-mobile-blue);
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 82, 217, 0.3);
    font-size: 14px;
    font-weight: 650;
  }
}
