/*
 Theme Name: Arkhe Child
 Template:   arkhe
*/

/*
2026-01-09
Add hospital director's message to front page

Details:
(none)

Path:
root
*/
.home-greeting {
  margin-block: 8px 0;
  padding-inline: 16px;
  padding-block: 16px;
  background-color: #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  @media (width >= 768px) {
    gap: 32px;
    flex-direction: row;
    padding-inline: 32px;
    padding-block: 32px;
  }
}

.home-greeting__text {
  @media (width >= 768px) {
    width: 70%;
  }
  p + p {
    margin-block: 32px 0;
  }
}

.home-greeting__paragraph--signature {
  text-align: right;
}

.mec-post {
  p + p {
    margin-block-start: 16px;
  }
}

/*
2026-03-10
feat: add table and styling to facility standards

Details:
(none)

Path:
/facility-standards/
*/
.mec-section {
  li a:hover {
    text-decoration: none;
  }
}

.mec-postTable {
  margin-block-start: 16px;
  th,
  td {
    border-color: #ddd;
    vertical-align: middle;
  }
  thead {
    th {
      text-align: center;
      white-space: nowrap;
    }
  }
  tbody {
    th {
      white-space: nowrap;
      background-color: #eee;
    }
    td {
    }
  }
}

.mec-heading {
  font-size: 1.5em;
}

.mec-facilityNote {
  margin-block-start: 24px;
  ul {
    list-style-type: none;
    padding: 0;
  }
  li span {
    white-space: nowrap;
    display: inline-block;
    width: 6em;
    margin-inline-end: 1em;
    font-weight: 700;
  }
  p {
    margin-block-start: 24px;
    text-align: right;
  }
}

/*
2026-03-30
feat: conditional styles for front page preview

Details:
(none)

Path:
*/
.page-id-490 {
  .l-content__body {
    margin-bottom: 0;
    margin-top: 0;
  }
}

.tec-gallery {
  img {
    border-radius: 8px;
  }
}

.l-footer {
  background-color: #3fb2e2;
  color: #fff;
  margin-block-start: 120px;
}

.l-footer__widgets {
  padding: 0;
}

#toc-access {
  .wp-block-columns {
    margin-block-start: 32px;
    img {
      border-radius: 8px;
    }
  }
}

.mec-column {
  @media (width >= 768px) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.mec-column__fig {
  img {
    width: 100%;
    @media (width >= 768px) {
      width: auto;
    }
  }
}

.mec-postImage--radius {
  img {
    border-radius: 8px;
  }
}

.c-gnav {
  li {
    transition-duration: .3s;
    transition-property: opacity;
  }
  li:hover {
    opacity: .8;
  }
}