@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/* Hide previous-article navigation box */
#pager-post-navi { display: none; }

/* Fix squashed supervisor avatar in post content */
.entry-content img[src*="dentist-avatar-shin"],
.entry-content img[data-src*="dentist-avatar-shin"] {
  width: 80px !important;
  height: 80px !important;
  flex-shrink: 0;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
/* Fix squashed supervisor avatar in post content */
.entry-content img[src*="dentist-avatar-shin"],
.entry-content img[data-src*="dentist-avatar-shin"] {
  width: 80px !important;
  height: 80px !important;
  max-width: none !important;
  flex-shrink: 0 !important;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.entry-content p:has(> img[src*="dentist-avatar-shin"]),
.entry-content p:has(> img[data-src*="dentist-avatar-shin"]) {
  flex-shrink: 0 !important;
  flex: 0 0 auto !important;
  width: 80px !important;
  min-width: 80px !important;
}