.dmc-card {
  margin: 0 auto;
  -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  aspect-ratio: 2 / 3;
  border: 1px solid #ccc;
  border-radius: 1em;
  padding: 1em;
  max-width: 320px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  background-color: #fff;
  -webkit-transition: max-width 0.3s, -webkit-box-shadow 0.3s;
  transition: max-width 0.3s, -webkit-box-shadow 0.3s;
  -o-transition: max-width 0.3s, box-shadow 0.3s;
  transition: max-width 0.3s, box-shadow 0.3s;
  transition: max-width 0.3s, box-shadow 0.3s, -webkit-box-shadow 0.3s; }
  .dmc-card small {
    font-size: 0.75em;
    text-transform: uppercase;
    font-weight: 400;
    display: block;
    opacity: 0.8; }
  .dmc-card h3, .dmc-card h4 {
    font-size: 1.25rem;
    line-height: 1.25;
    margin: 0;
    padding: 0; }

.dmc-card-header {
  width: 100%;
  height: 60px;
  max-height: 60px;
  text-align: center;
  margin-bottom: 1em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  gap: 1em; }
  .dmc-card-header h4 {
    text-align: right; }

.dmc-site-icon {
  max-width: 50%;
  min-height: 60px;
  aspect-ratio: 2 / 1;
  -o-object-fit: contain;
  object-fit: contain; }

.dmc-card-body {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 1em; }
  .dmc-card-body img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    -webkit-transition: width 0.3s, height 0.3s;
    -o-transition: width 0.3s, height 0.3s;
    transition: width 0.3s, height 0.3s; }

.dmc-card-footer {
  width: 100%;
  height: 60px;
  max-height: 60px;
  padding-top: 0.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  border-top: 1px solid #ccc; }

.dmc-level {
  font-weight: 600;
  margin: .25rem 0; }

.dmc-button {
  display: none;
  margin: 0 auto;
  width: 100%;
  max-width: 200px; }

.dmc-overlay {
  display: none; }

@media print {
  .dmc-card {
    border: 1px solid #000;
    -webkit-box-shadow: none;
    box-shadow: none; } }

@media (max-width: 480px) {
  .dmc.active .dmc-card {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 80px;
    z-index: 999999999;
    max-width: 100vw;
    aspect-ratio: auto;
    border-radius: 0;
    -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0); }
  .dmc.active .dmc-card-body img {
    width: 40vw;
    height: 40vw; }
  .dmc.active .dmc-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 999999998;
    display: block; }
  .dmc.active .dmc-button {
    display: block;
    position: fixed;
    bottom: 1rem;
    left: 0;
    right: 0;
    z-index: 999999999; } }
