/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* 본문 이미지와 텍스트 사이 간격 */
/* Margin between images and text in WordPress single posts */

.single .wp-block-image {
    margin-bottom: 25px;
}

/* 모든 본문 이미지 가운데 정렬하기 */
/* Center align all images in WordPress */

.single .wp-block-image img {
display: block;
margin: 0 auto;
}

/* 소제목디자인 */

.single .entry-content h2 {
    font-size: 1.3em;
    margin: 1.15em 0 0.6em;
    font-weight: 400;
    position: relative;
    text-shadow: 0 -1pxrgba(0,0,0,.6);
    line-height: 40px;
    border: 1px solid #fff;
    padding: 5px 15px;
    color: #fff;
    border-radius: 0 10px;
    box-shadow: inset 0 0 5px rgb(53 86 129 / 50%);
    background: #1e5799;
    background: -moz-linear-gradient(left,#04619f 74%,#2a2a72);
    background: -webkit-linear-gradient(left,#04619f 74%,#2a2a72);
    background: linear-gradient(to right,#04619f 74%,#2a2a72);
}

.single .entry-content h3 {
COLOR: #124875;
PADDING-BOTTOM: 10px;
TEXT-ALIGN: left;
BORDER-LEFT: #18609C 10px solid;
padding: 3px 9px;
margin: 30px 0 20px 0;
BACKGROUND-COLOR: #FFF;
font-size: 1.2em;
font-weight: 700;
}

/* 워드프레스 제너레이트 테마 링크 스타일 */
.single .entry-content p:not(.btn-theme):not(.wpml-banner) a,
.single .entry-content #ftwp-postcontent > ul li a,
.single .entry-content #ftwp-postcontent > ol li a {
word-break: break-all;
color: #3e5898;
transition: color .25s ease-in;
color: #3E5898;
background-repeat: no-repeat;
background-size: 100% 0.2em;
background-position: 0 100%;
background-image: linear-gradient(to right,#00BCD4,#5C6BC0);
transition: all .25s ease-in;
padding: 2px 0;
}

.single .entry-content p:not(.btn-theme):not(.wpml-banner) a:hover,
.single .entry-content #ftwp-postcontent > ul li a:hover,
.single .entry-content #ftwp-postcontent > ol li a:hover {
background-size: 100% 100% !important;
color: #fff !important;
border-radius: 10px !important;
}

/* 글박스 디자인 */
.custom-info-box {
  background-color: #D6E4FF !important; /* 파란색 배경 */
  color: #2C3E50 !important; /* 텍스트 색상 */
  padding: 20px !important; /* 여백 */
  border-radius: 12px !important; /* 모서리 둥글게 */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2) !important; /* 그림자 효과 */
  font-size: 19px !important; /* 글자 크기 */
  font-weight: bold !important; /* 글자 볼드 (굵게) */
  line-height: 1.6 !important; /* 줄 간격 */
  width: 100% !important; /* 너비 100% */
  margin: 25px 0 !important; /* 상하 25px */
}

.custom-info-box br {
  display: none !important;
}

.custom-info-box p {
  margin: 5px 0 !important; /* 위아래 여백을 5px로 줄임 */
  padding: 0 !important; /* 내부 패딩 제거 */
}

@font-face {
    font-family: 'NanumSquareNeo';
    font-style: normal;
    font-weight: 100;
    src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-aLt.woff2) format("woff2"),
         url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-aLt.woff) format("woff");
    font-display: swap;
}

@font-face {
    font-family: 'NanumSquareNeo';
    font-style: normal;
    font-weight: 300;
    src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-bRg.woff2) format("woff2"),
         url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-bRg.woff) format("woff");
    font-display: swap;
}

@font-face {
    font-family: 'NanumSquareNeo';
    font-style: normal;
    font-weight: 400;
    src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-cBd.woff2) format("woff2"),
         url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-cBd.woff) format("woff");
    font-display: swap;
}

@font-face {
    font-family: 'NanumSquareNeo';
    font-style: normal;
    font-weight: 500;
    src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-dEb.woff2) format("woff2"),
         url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-dEb.woff) format("woff");
    font-display: swap;
}

@font-face {
    font-family: 'NanumSquareNeo';
    font-style: normal;
    font-weight: 700;
    src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-eHv.woff2) format("woff2"),
         url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-eHv.woff) format("woff");
    font-display: swap;
}

@font-face {
    font-family: 'NanumSquareNeoVariable';
    font-style: normal;
    font-weight: 100 700;
    src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeo-Variable.woff2) format("woff2"),
         url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeo-Variable.woff) format("woff");
    font-display: swap;
}