.main-carousel  {
  display: none;
}

h1  {
    display: none;
}

h2  {
    margin: 0;
    padding: 1rem;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 1.75rem;
    font-style: italic;
    background: #000;
    color: #fff;
    text-align: center;
}

#content a   {
    color: #000;
    font-weight: bold;
}

#content a:visited {
    color: #666;
}
.page-layout {
  min-height: 980px;
  background-color: #fcfcfb;
  background-image: url('/assets/images/about-id-badge-mobile.jpg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
  padding: 1.5rem;
}

.aside-left {
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

.h-card-section {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 280px;
  padding: 1rem;
  color: #fff;
}

.h-card { display: flex; align-items: center; gap: 1rem; }
.h-card .u-photo { width: 96px; height: 96px; border-radius: 8px; object-fit: cover; border: 2px solid rgba(255,255,255,0.9); box-shadow: 0 4px 10px rgba(0,0,0,0.4); flex: 0 0 96px; }

.h-card .p-name { font-weight: 600; margin: 0 0 0.25rem 0; }

.h-card .p-org,
.h-card .p-role,
.h-card .u-email,
.h-card .u-url {
  margin: 0;
  opacity: 0.95;
}

.h-card-details {
  margin: 530px 0 0 55px;
}
.h-card .u-photo { width: 84px; height: 84px; border-radius: 6px; border: 2px solid rgba(255,255,255,0.9); }
.h-card-details .p-name { font-weight: 700; margin: 0 0 0.25rem; }
.h-card-details p, .h-card-details a { margin: 0; color: rgba(255,255,255,0.95); text-decoration: none;}


main { overflow: visible; }
.h-card-section {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0;
}

/* mobile only styles */

@media (max-width: 768px) {
  #content {
    padding: 0 0 2rem 0;
  }
  .page-layout {
    min-height: 980px;
    background-position: center top;
  }
  .aside-left { min-height: 160px; }
  .h-card .u-photo { width: 64px; height: 64px; }
  .h-card-section { max-width: 100%; }

  .aside-left { position: static; width: auto; min-height: 760px; }
  .content-right { margin-left: 0; }
  .aside-left { display: flex; justify-content: center; align-items: flex-start; }
  .h-card-section {
    padding: 1rem;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .h-card-details { margin: 440px 0 0 -20px; }
  .h-card { justify-content: center; }
  .content-right { margin-left: 0; margin-top: 1rem; }
}

/* desktop only styles */

@media (min-width: 767px) {
  .main-carousel  {
    display: block;
  }

  article h2 {
    font-size: 2.5rem;
    text-align: left;
  }

  .page-layout { 
    position: relative;
    padding-left: 360px; 
    background-image: url('/assets/images/about-id-badge-desktop.jpg');
    background-position: left top;
    transform: translateY(-40px);
    will-change: transform;
  }
  .aside-left {
    position: absolute;
    left: 1.5rem;
    top: 20px;
    width: 320px;
    min-height: 360px;
    z-index: 2;
  }
  .content-right { margin-left: 0; padding: 0 0.5rem; width: 100%; max-width: none; }

  .page-layout, .page-layout .content-right, .page-layout #content {
    max-width: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-layout .content-right > * { max-width: none !important; width: 100% !important; }

  .page-layout .content-right, .page-layout .content-right #content, .page-layout .content-right .container, .page-layout .content-right .wrap {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    max-width: none !important;
    float: none !important;
    display: block !important;
  }

  .page-layout, .page-layout * {
    max-width: none !important;
    width: auto !important;
    box-sizing: border-box !important;
  }

  .h-card {
    font-size: 85%;
  }
}