/*
 * Office Yamane Journal — third comparison: editorial refinement of B.
 * Only the desktop blog index, only when ?oy_blog_layout=refined.
 * No individual post styles or phone layouts are changed.
 */
@media (min-width: 960px) {
  #body_wrap.blog.oy-blog-review-refined #main_content {
    max-width: 1120px !important;
  }

  /* Airy typography, without the large sales-card feeling. */
  #body_wrap.blog.oy-blog-review-refined .oy-blog-heading {
    margin-bottom: 45px !important;
  }
  #body_wrap.blog.oy-blog-review-refined .p-postListTab {
    margin-bottom: 30px !important;
  }

  /* Keep the first story as a featured editorial opening, not a banner. */
  #body_wrap.blog.oy-blog-review-refined #post_list_tab_1 > .p-postList > .p-postList__item:first-child {
    margin-bottom: 5px !important;
    padding: 0 0 42px !important;
    border-color: #d7d7d5 !important;
  }
  #body_wrap.blog.oy-blog-review-refined #post_list_tab_1 > .p-postList > .p-postList__item:first-child > .p-postList__link {
    display: grid !important;
    grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr) !important;
    gap: 45px !important;
    align-items: center !important;
  }
  #body_wrap.blog.oy-blog-review-refined #post_list_tab_1 > .p-postList > .p-postList__item:first-child .p-postList__body {
    padding: 0 !important;
  }
  #body_wrap.blog.oy-blog-review-refined #post_list_tab_1 > .p-postList > .p-postList__item:first-child .p-postList__thumb {
    overflow: hidden !important;
  }
  #body_wrap.blog.oy-blog-review-refined #post_list_tab_1 > .p-postList > .p-postList__item:first-child .p-postList__title {
    font-size: clamp(25px, 2.18vw, 30px) !important;
    line-height: 1.52 !important;
    letter-spacing: .015em !important;
    font-weight: 650 !important;
  }
  #body_wrap.blog.oy-blog-review-refined #post_list_tab_1 > .p-postList > .p-postList__item:first-child .p-postList__excerpt {
    margin-top: 14px !important;
    font-size: 13px !important;
    line-height: 1.9 !important;
    color: #55585a !important;
  }
  #body_wrap.blog.oy-blog-review-refined #post_list_tab_1 > .p-postList > .p-postList__item:first-child .p-postList__meta {
    margin-top: 18px !important;
    font-size: 11px !important;
  }

  /* Clearly separated, text-led stories: 2-column grid with small supporting images. */
  #body_wrap.blog.oy-blog-review-refined #post_list_tab_1 > .p-postList,
  #body_wrap.blog.oy-blog-review-refined #post_list_tab_2 > .p-postList {
    column-gap: 43px !important;
    row-gap: 29px !important;
  }
  #body_wrap.blog.oy-blog-review-refined #post_list_tab_1 > .p-postList > .p-postList__item:not(:first-child),
  #body_wrap.blog.oy-blog-review-refined #post_list_tab_2 > .p-postList > .p-postList__item {
    padding: 0 0 26px !important;
    border-bottom: 1px solid #e6e6e4 !important;
  }

  #body_wrap.blog.oy-blog-review-refined #post_list_tab_1 > .p-postList > .p-postList__item:not(:first-child) > .p-postList__link,
  #body_wrap.blog.oy-blog-review-refined #post_list_tab_2 > .p-postList > .p-postList__item > .p-postList__link {
    grid-template-columns: 155px minmax(0,1fr) !important;
    gap: 20px !important;
    align-items: start !important;
  }
  #body_wrap.blog.oy-blog-review-refined #post_list_tab_1 > .p-postList > .p-postList__item:not(:first-child) .p-postList__thumb,
  #body_wrap.blog.oy-blog-review-refined #post_list_tab_2 > .p-postList > .p-postList__item .p-postList__thumb {
    width: 155px !important;
    aspect-ratio: 3 / 2 !important;
  }
  #body_wrap.blog.oy-blog-review-refined #post_list_tab_1 > .p-postList > .p-postList__item:not(:first-child) .p-postList__title,
  #body_wrap.blog.oy-blog-review-refined #post_list_tab_2 > .p-postList > .p-postList__item .p-postList__title {
    font-size: 17px !important;
    line-height: 1.56 !important;
    font-weight: 600 !important;
    letter-spacing: .005em !important;
    color: #202020 !important;
    overflow-wrap: anywhere;
  }
  #body_wrap.blog.oy-blog-review-refined #post_list_tab_1 > .p-postList > .p-postList__item:not(:first-child) .p-postList__excerpt,
  #body_wrap.blog.oy-blog-review-refined #post_list_tab_2 > .p-postList > .p-postList__item .p-postList__excerpt {
    -webkit-line-clamp: 2;
    font-size: 12.5px !important;
    line-height: 1.76 !important;
    color: #656565 !important;
    margin-top: 9px !important;
  }
  #body_wrap.blog.oy-blog-review-refined #post_list_tab_1 > .p-postList > .p-postList__item:not(:first-child) .p-postList__meta,
  #body_wrap.blog.oy-blog-review-refined #post_list_tab_2 > .p-postList > .p-postList__item .p-postList__meta {
    font-size: 11px !important;
    color: #787878 !important;
    margin-top: 11px !important;
  }

  /* A quiet cue on hover; never move the whole card. */
  #body_wrap.blog.oy-blog-review-refined .p-postList__link:hover .p-postList__title,
  #body_wrap.blog.oy-blog-review-refined .p-postList__link:focus-visible .p-postList__title {
    text-decoration: underline;
    text-decoration-color: #b1b1af;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
  }
}

@media (min-width: 960px) and (max-width: 1100px) {
  #body_wrap.blog.oy-blog-review-refined #main_content {
    max-width: 920px !important;
  }
  #body_wrap.blog.oy-blog-review-refined #post_list_tab_1 > .p-postList > .p-postList__item:first-child > .p-postList__link {
    grid-template-columns: minmax(0,1.25fr) minmax(0,1fr) !important;
    gap: 30px !important;
  }
  #body_wrap.blog.oy-blog-review-refined #post_list_tab_1 > .p-postList > .p-postList__item:first-child .p-postList__title {
    font-size: 24px !important;
  }
}
