@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
*/

/* .wrapを可変幅に（モバイル横スクロール防止） */
.wrap {
  width: 100% !important;
  max-width: 1256px !important;
  box-sizing: border-box !important;
}

/* 834px以下（スマホ・タブレット） */
@media screen and (max-width: 834px) {
  .entry-card-thumb {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .entry-card-thumb img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }
  .entry-card-content {
    margin-left: 0 !important;
  }
}

// robots.txtにフィードURLのクロールを遮断
add_filter('robots_txt', function($output) {
    $output .= "\nDisallow: /feed/\nDisallow: /*/feed/\n";
    return $output;
}, 10, 1);