/*
Theme Name: Twenty Eleven Child
Theme URI: https://wordpress.org/themes/twentyeleven/
Template: twentyeleven
Author: the WordPress team
Author URI: https://wordpress.org/
Description: The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. Make it yours with a custom menu, header image, and background -- then go further with available theme options for light or dark color scheme, custom link colors, and three layout choices. Twenty Eleven comes equipped with a Showcase page template that transforms your front page into a showcase to show off your best content, widget support galore (sidebar, three footer areas, and a Showcase page widget area), and a custom "Ephemera" widget to display your Aside, Link, Quote, or Status posts. Included are styles for print and for the admin editor, support for featured images (as custom header images on posts and pages and as large images on featured "sticky" posts), and special styles for six different post formats.
Tags: blog,one-column,two-columns,left-sidebar,right-sidebar,custom-background,custom-colors,custom-header,custom-menu,editor-style,featured-image-header,featured-images,flexible-header,footer-widgets,full-width-template,microformats,post-formats,rtl-language-support,sticky-post,theme-options,translation-ready,block-patterns
Version: 4.5.1710149616
Updated: 2024-03-11 18:33:36

*/

body.content-only .entry-content {
  max-width: 1080px;      /* 부모 테마처럼 720px 이상 넓어지지 않음 */
  min-width: 320px;      /* 너무 좁아지지 않도록 최소 폭 (원하는 값으로 조정) */
  margin: 0 auto;        /* 항상 가운데 정렬 */
  padding: 0 20px;       /* 좌우 여백 */
  box-sizing: border-box;
}

@media (max-width: 768px) {
  body.content-only .entry-content {
    max-width: 100%;  /* 모바일에서는 꽉 차게 */
    padding: 0 10px;
  }
}
/* 본문 제목의 유동 폰트 크기 */
.entry-content h1 { font-size: clamp(1.8rem, 2.5vw + 1rem, 2.8rem); line-height: 1.25; }
.entry-content h2 { font-size: clamp(1.6rem, 2.0vw + .9rem, 2.2rem); line-height: 1.3; }
.entry-content h3 { font-size: clamp(1.35rem,1.2vw + .9rem, 1.7rem); line-height: 1.35; }
.entry-content h4 { font-size: clamp(1.2rem, 1.0vw + .85rem,1.4rem); line-height: 1.4; }
.entry-content h5 { font-size: clamp(1.05rem,.7vw + .8rem, 1.2rem); line-height: 1.45; }
.entry-content h6 { font-size: clamp(1.0rem, .5vw + .8rem, 1.05rem); line-height: 1.5; }

/* 상단 타이틀 */
.entry-title { font-size: clamp(2.0rem, 3vw + 1rem, 3.0rem); line-height: 1.2; }
/* 블록 에디터 내부 미리보기 */
.editor-styles-wrapper .wp-block h1 { font-size: 2.4rem; }
.editor-styles-wrapper .wp-block h2 { font-size: 2.0rem; }
.editor-styles-wrapper .wp-block h3 { font-size: 1.6rem; }
.editor-styles-wrapper .wp-block h4 { font-size: 1.35rem; }
.editor-styles-wrapper .wp-block h5 { font-size: 1.15rem; }
.editor-styles-wrapper .wp-block h6 { font-size: 1.0rem; }
/* 또는 위의 clamp 버전을 동일하게 복붙 */

/* 전역 버튼 스타일 */
.custom-btn {
  width: 300px;
  height: 70px;
  background-color: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
  margin-top: 30px;
}

.custom-btn:hover {
  opacity: 0.8;
}
