/*
Theme Name: JIN Child
Template: jin
Description: Child theme for JIN. JIN direct meta output is disabled in header.php so SEO SIMPLE PACK can own SEO tags.
Version: 1.0.1
*/

/* Fix: prev/next widget metabox flex layout — img was consuming ~90% of
   the flex row due to a flex-basis miscalculation on width:auto images,
   squeezing the title <p> to a near-zero width and wrapping it one
   character per line. Give the image a fixed width per breakpoint and
   let the title take the remaining space. */
#prev-next .prev .metabox,
#prev-next .next .metabox {
  display: flex;
  align-items: center;
}
#prev-next .prev .metabox img,
#prev-next .next .metabox img {
  flex-shrink: 0;
  object-fit: cover;
}
#prev-next .prev .metabox p,
#prev-next .next .metabox p {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}
@media (max-width: 767px) {
  #prev-next .prev .metabox img,
  #prev-next .next .metabox img {
    width: 140px;
    height: 85px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  #prev-next .prev .metabox img,
  #prev-next .next .metabox img {
    width: 90px;
    height: 55px;
  }
}
@media (min-width: 1024px) {
  #prev-next .prev .metabox img,
  #prev-next .next .metabox img {
    width: 140px;
    height: 85px;
  }
}
