.footer .updates-copyright {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
}
.updates-copyright small { font-size: inherit; }

#logo {
  display: block;
  width: 420px;
  height: 150px;
  max-width: 100%;
  margin: auto;
  background: url('/wp-content/themes/new-makeup-by-kolor/images/KoLoR_logo.png') center no-repeat;
}
.skip-link { position: absolute; left: -10000px; }
.skip-link:focus { left: 12px; top: 12px; padding: 12px; background: white; color: #352042; z-index: 100; }
main:focus { outline: none; }
.footer nav ul { display: flex; justify-content: center; flex-wrap: wrap; list-style: none; gap: 8px 0; }
.footer nav li + li::before { content: '|'; }
.footer nav a { display: inline-block; padding: 4px 10px; }
.service-link { text-align: center; margin: 16px auto 0; padding: 0 16px; }
.service-detail { border-top: 1px solid #b9a7c7; padding: 14px 0; }
.service-detail summary { cursor: pointer; color: #654279; }
.service-detail h2 { display: inline; font-size: 16px; }
.service-detail p { line-height: 1.5; }
.entrytext > h2 { font-size: 18px; margin-top: 24px; }
:where(a, summary, button):focus-visible { outline: 3px solid #805b9c; outline-offset: 3px; }

#pages_nav { background: #fff; }
#suckerfishnav {
  display: flex;
  justify-content: center;
  position: relative;
  max-width: 100%;
  box-sizing: border-box;
}
#suckerfishnav > li { float: none; }
#suckerfishnav > li > ul {
  top: 16px;
  max-width: 100%;
  box-sizing: border-box;
}
#suckerfishnav > li:hover > ul,
#suckerfishnav > li:focus-within > ul {
  left: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background: #fff;
}
#suckerfishnav > li > ul > li { float: none; margin: 0; }

.entrytext .updates-headshot {
  width: 320px;
  max-width: 45%;
  height: auto;
  margin: 0 0 16px 24px;
  padding: 0;
}

.updates-press-article {
  margin: 24px 0;
  padding: 20px 0 8px;
  border-top: 1px solid #b9a7c7;
}
.updates-press-article h2 { font-size: 20px; line-height: 1.3; }
.updates-press-article p { line-height: 1.5; }
.updates-press-source { color: #655270; }

.gvIIImgContainer img[role="button"] {
  cursor: zoom-in;
}

.gvIIImgContainer img[role="button"]:focus-visible,
.updates-close:focus-visible {
  outline: 3px solid #805b9c;
  outline-offset: 3px;
}
.gvIIContainer .gvIIHolder .gvIIItem:focus-within {
  outline: 3px solid #805b9c;
  outline-offset: 1px;
}

.updates-lightbox {
  width: min(96vw, 1200px);
  max-width: none;
  max-height: 96vh;
  padding: 12px;
  border: 0;
  background: white;
  box-sizing: border-box;
}

.updates-lightbox::backdrop { background: rgb(0 0 0 / 85%); }
.updates-lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(96vh - 64px);
  width: auto;
  height: auto;
  margin: 8px auto 0;
  object-fit: contain;
}
.updates-close {
  display: block;
  margin-left: auto;
  padding: 7px 12px;
  border: 1px solid #805b9c;
  background: white;
  color: #805b9c;
  font: 16px Georgia, serif;
  cursor: pointer;
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  #header { height: 150px; }
  #logo {
    width: min(420px, 100%);
    height: 125px;
    background-size: contain;
    background-position: center;
  }
  #content, #box { width: 100%; box-sizing: border-box; }
  .post { padding: 12px 16px; margin-top: 0; }
  .entry, .entrytext, .entrytext p { overflow-wrap: anywhere; }
  .entry img, .entrytext img:not(.gvIIImgContainer img):not(.gvIIHolder img) {
    max-width: 100%;
    height: auto;
  }
  .entrytext .updates-headshot {
    float: none;
    display: block;
    width: min(100%, 400px);
    margin: 0 auto 20px;
  }
  .entry table, .entrytext table:not([id^="px"]) {
    width: 100% !important;
    table-layout: fixed;
  }
  .entry table td, .entrytext table:not([id^="px"]) td { width: auto !important; }
  h1 { font-size: 18px; }
  a { font-size: inherit; }
  #pages_nav { width: 100%; }
  #suckerfishnav, #suckerfishnav ul {
    width: 100%;
    height: auto;
    box-sizing: border-box;
  }
  #suckerfishnav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 4px;
  }
  #suckerfishnav > li { float: none; margin: 0; border: 0; }
  #suckerfishnav > li > a {
    float: none;
    padding: 9px 10px;
    text-align: center;
  }
  #suckerfishnav ul {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    line-height: 1.3;
  }
  #suckerfishnav li:hover ul { position: static; }
  #suckerfishnav li li { float: none; margin: 0; }
  #suckerfishnav li li a {
    float: none;
    padding: 6px 8px;
    font-size: 14px;
  }
  .gvIIContainer {
    width: 100% !important;
    padding: 0;
    box-sizing: border-box;
  }
  .gvIIContainer .gvIIImgContainer,
  .gvIIContainer .gvIIHolder,
  .gvIIContainer .gvIIImgContainer .gvIILoader {
    width: 100% !important;
    box-sizing: border-box;
  }
  .gvIIContainer .gvIIImgContainer { height: min(70vw, 400px) !important; }
  .gvIIContainer .gvIIImgContainer img[role="button"] {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    margin: 0 !important;
    transform: translate(-50%, -50%);
  }
  .gvIIContainer .gvIIImgContainer .gvIILoader { height: 100%; }
  .gvIIContainer .gvIIHolder { height: 207px; }
  .footer { margin-top: 20px; }
}
