/* Fixed format variants use the same dimensions in HTML and the delivered file. */
.r_img > .inner-img:has(> .yn-fixed-crop) {
  display: block;
  width: 100% !important;
  height: auto !important;
  padding: 0 !important;
  aspect-ratio: auto !important;
}
.yn-fixed-crop {
  display: flex;
  justify-content: center;
}
.yn-fixed-crop > img {
  position: static !important;
  display: none !important;
  flex: none;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: cover;
  transform: none !important;
}
.yn-fixed-crop[data-yn-format="headline"] {
  --yn-headline-small: block;
  --yn-headline-medium: none;
  --yn-headline-large: none;
}
.yn-fixed-crop[data-yn-format="portrait"] {
  --yn-portrait-small: none;
  --yn-portrait-medium: block;
  --yn-portrait-large: none;
}
.yn-fixed-crop > .yn-crop-width-240 { display: var(--yn-headline-small) !important; }
.yn-fixed-crop > .yn-crop-width-320 { display: var(--yn-headline-medium) !important; }
.yn-fixed-crop > .yn-crop-width-400 { display: var(--yn-headline-large) !important; }
.yn-fixed-crop > .yn-crop-width-75 { display: var(--yn-portrait-small) !important; }
.yn-fixed-crop > .yn-crop-width-105 { display: var(--yn-portrait-medium) !important; }
.yn-fixed-crop > .yn-crop-width-150 { display: var(--yn-portrait-large) !important; }
.yn-fixed-crop > img[width="240"] { width: 240px !important; height: 180px !important; }
.yn-fixed-crop > img[width="320"] { width: 320px !important; height: 240px !important; }
.yn-fixed-crop > img[width="400"] { width: 400px !important; height: 300px !important; }
.yn-fixed-crop > img[width="75"] { width: 75px !important; height: 100px !important; }
.yn-fixed-crop > img[width="105"] { width: 105px !important; height: 140px !important; }
.yn-fixed-crop > img[width="150"] { width: 150px !important; height: 200px !important; }

@media (390px <= width <= 960px), (1320px <= width < 1640px) {
  .yn-fixed-crop[data-yn-format="headline"] {
    --yn-headline-small: none;
    --yn-headline-medium: block;
  }
}
@media (390px <= width <= 419px) {
  .home-news022 .layout .inner-box .left-box .tab-pannel > .tab-pannel-left:has(.yn-fixed-crop) {
    width: 320px !important;
    min-width: 320px;
    align-self: center;
  }
}
@media (width >= 1640px) {
  .yn-fixed-crop[data-yn-format="headline"] {
    --yn-headline-small: none;
    --yn-headline-large: block;
  }
}
@media (width < 360px) {
  .yn-fixed-crop[data-yn-format="portrait"] {
    --yn-portrait-small: block;
    --yn-portrait-medium: none;
  }
}
@media (width >= 1440px) {
  .yn-fixed-crop[data-yn-format="portrait"] {
    --yn-portrait-medium: none;
    --yn-portrait-large: block;
  }
}
