/*
Theme Name: EQAstra
Template: astra
*/
html{--EQOZDark:#82766e;--EQOZLight:#aca39a;--EQOZBlue:#2e2e7c;--EQOZYellow:#fec23c;--EQOZEuroWhite:#eaebec;--EQOZRed:#C40b40;tab-size:2}
html{
	--EQDefTxt:#000000;
	--EQHxTxt:var(--EQOZBlue);
	--EQEmpTxt:var(--EQOZBlue);
	--EQHoverTxt:var(--EQOZRed);
}

@media (max-width: 767px) {
  img.uag-image-15 {
    object-fit: cover;         /* 이미지를 꽉 채우되 */
    object-position: center 15%; /* 잘리는 기준을 위쪽으로 */
    height: 100%;              /* 컨테이너 높이에 맞춤 (필요 시) */
    width: 100%;               /* 가로 폭 유지 */
  }
  .eq-counter-grid .uagb-container-inner-blocks-wrap {
    display: grid !important;   /* flex → grid 로 변경 */
    grid-template-columns: repeat(2, 1fr); /* 2칸짜리 */
    grid-gap: 1rem;             /* 간격 */
    padding-right: 1rem;     /* 오른쪽 여백 */
  }
}
h1, h2, h3, h4, h5, h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  text-transform: none !important;
}

/* 검색 블록 input과 button 높이 통일 */
.wp-block-search__input,
.wp-block-search__button {
  height: 40px;           /* 동일한 높이 */
  box-sizing: border-box; /* 패딩 포함 크기 계산 */
  margin: 0;
}

/* 버튼 안 텍스트 한 줄 표시 & 중앙 정렬 */
.wp-block-search__button {
  white-space: nowrap;     /* 줄바꿈 방지 */
  display: inline-flex;    /* 버튼 내부 flex */
  align-items: center;     /* 세로 중앙 */
  justify-content: center; /* 가로 중앙 */
  padding: 0 1.2em;        /* 좌우 여백 */
  font-size: 1rem;         /* 필요시 글자 크기 조정 */
}gin: 0;
}

body.single .entry-content h1,
body.single .entry-content h2,
body.single .entry-content h3,
body.single .entry-content h4,
body.single .entry-content h5,
body.single .entry-content h6  {
	clear: both;
	color: var(--EQHxTxt);
	letter-spacing:-.03em;
	line-height:1.4 font-weight: bold;
	word-break:keep-all;
	word-wrap:break-word;
	font-weight:700;
}/*건듬*/

body.single .entry-content h2
{font-size:1.5em; margin-bottom:30px;
  margin-top:45px;
  border:1px solid;
  text-align:center;
  background-color:var(--EQOZLight);
  padding:0.5em;
  }

body.single .entry-content h3{font-size:1.3em;  margin-bottom:20px;
  margin-top:30px;text-align:center;}
  
body.single .entry-content h4{font-size:1.1em;  margin-bottom:20px;
  margin-top:30px}
body.single .entry-content h5, .entry-content h6{font-size:1em}
body.single .entry-content{line-height:1.9}

table.EQBatCelTab {
	margin: 5px 5px;
	BORDER: 1px solid;
  padding: 0;
  word-break: break-word;
  font-size: .95em;
  text-align: center;
}
caption.EQBatCelTab  {
	font-size:0.8em;
	  font-weight: 700;
	  text-align: center;
	margin: 5px 0px;
  padding: 0;
  word-break: break-word;
}

table td.EQBatCelTab ,
table th.EQBatCelTab  {
	border: 1px #ccc solid;
	text-align:center;
}
table td.EQBatCelTab 
{
padding: 0;
}

body.single #EQBatSum blockquote {
  font-style:normal;
  text-align:center;
  margin-top:30px;
  margin-left:2em;
  margin-right:2em;
  border-style:solid;
  border-width:1px;
  background-color:var(--EQOZYellow)
  font-weight:bold;
}

body.single p.inline
{display:block;text-align:center;font-size:.9em;}

div.eq-gallery-2x2 figure.wp-block-image
{margin-top:0;margin-bottom:0;}

/* 단일 글 페이지 안의 표(EQBatCelTab) 전용 */
body.single .EQBatCelTab {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5em;
}

body.single .EQBatCelTab table {
  border-collapse: collapse;
  width: auto;
  min-width: 600px;   /* 필요 시 조정 */
  max-width: none;
}

body.single .EQBatCelTab th,
body.single .EQBatCelTab td {
  white-space: nowrap;  /* 숫자 줄바꿈 방지 */
  padding: 0.5em 1em;
  text-align: center;
}

body.single .eq-gallery-2x2{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:0.5rem;
}

body.single .eq-gallery-2x2 figure{
  margin:0;
  overflow:hidden;
}

body.single .eq-gallery-2x2 img{
  width:100%;
  height:auto;        /* 세로 비율 유지 */
  object-fit:contain; /* 원본 비율 유지하면서 빈 공간 제거 */
  display:block;      /* 이미지 아래 여백 제거 */
}

body.single #EQBatToT ol {
	padding-left:3em;
	padding-right:3em;
	line-height:1;
	
}