/*
Theme Name: Twenty Twenty-Five Child
Template: twentytwentyfive
Text Domain: twentytwentyfive-child
Version: 1.0
Description: Twenty Twenty-Five 테마의 자식 테마
Author: ZeroS LEE
*/

/* 부모 테마의 스타일을 상속받습니다 */
@import url('../twentytwentyfive/style.css');


@import url('https://fonts.googleapis.com/css2?family=Gowun+Dodum&display=swap');

/*
 * Hangeul Nanum Font
 */
@font-face {
 font-family: 'NanumSquare';
 src: url(//cdn.rawgit.com/moonspam/NanumSquare/master/NanumSquareR.eot);
 src: url(//cdn.rawgit.com/moonspam/NanumSquare/master/NanumSquareR.eot?#iefix) format('embedded-opentype'),
      url(//cdn.rawgit.com/moonspam/NanumSquare/master/NanumSquareR.woff) format('woff'),
      url(//cdn.rawgit.com/moonspam/NanumSquare/master/NanumSquareR.ttf) format('truetype');
}
body,h1,h2,h3,h4,h5,h6 { font-family: 'Gowun Dodum', NanumSquare, NanumGothic !important; }

.single h1,h2,h3,h4,h5,h6,div,p,strong {
    font-size: revert !important;
    font-weight: revert !important;
}

.archive h1,h2,h3,h4,h5,h6,div,p,strong {
    font-size: revert !important;
    font-weight: revert !important;
}

.single ul {
    list-style: revert!important;
}

.archive ul {
    list-style: revert!important;
}


.logo {
   font-size: 1.5rem;
   font-weight: bold;
   display: flex;
   align-items: center;
   gap: 0.5rem;
}

.logo::before {
   content: "⚖️";
   font-size: 1.8rem;
}

.about-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* 특정 페이지 ID에서 헤더와 푸터 숨기기 */
.page-id-8 .site-header,
.page-id-8 .site-footer {
    display: none !important;
}


.is-layout-constrained > :where(
  :not(.alignleft):not(.alignright):not(.alignfull):not(.alignwide)
){
  width: min(100%, 1024px);     /* var() 안 씀 */
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: none;
}

.wp-block-post-title {
   padding-top: 70px!important;
	  /* 모바일/데스크톱 반응형 타이포 */
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  line-height: 1.15;

  /* 모바일에서는 여백을 줄이고, 데스크톱에서는 넉넉하게 */
  margin-bottom: clamp(16px, 3.5vw, var(--wp--preset--spacing--40, 2rem));

  /* 긴 제목 줄바꿈 안정화 */
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.wp-block-query-title {
   padding-top: 70px!important;
          /* 모바일/데스크톱 반응형 타이포 */
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  line-height: 1.15;

  /* 모바일에서는 여백을 줄이고, 데스크톱에서는 넉넉하게 */
  margin-bottom: clamp(16px, 3.5vw, var(--wp--preset--spacing--40, 2rem));

  /* 긴 제목 줄바꿈 안정화 */
  overflow-wrap: anywhere;
  word-break: keep-all;
}

/* 데스크톱에서 조금 더 여유(선택) */
@media (min-width: 1024px){
  .wp-block-post-title{
    line-height: 1.2;
  }
}

/* 123을 헤더와 푸터를 숨기려는 페이지 ID로 바꾸세요 */

.wp-block-group {
   margin-top: 0px !important;
   margin-bottom: 0px !important;
   padding-top: 0px!important;
   margin-right: 5px;
   margin-left: -10px;
}

.page-id-8 .wp-block-template-part,
.page-id-8 .wp-block-post-title {
    display: none !important;
}


.archive .wp-block-post-featured-image {
    display: none !important;
}

/*
.wp-block-query .wp-block-post-featured-image {
    display: none !important;
}
*/

.wp-block-template-part .wp-block-group {
  /*  display: none !important;
   */
}

.wp-block-group .wp-block-navigation {
    display: none !important;
}

.wp-block-column .wp-block-template-part .wp-block-group {
/*    display: block !important;
 */
}
.wp-container-core-group-is-layout-91e87306 {
    display: none !important;
}

.page-id-8 .wp-block-post-featured-image {
    display: none !important;
}

/* 예시: 만약 ID가 el-edc40208 인 vce-row 요소가 원인이라면 */
#el-edc40208 {
    overflow: visible !important;
}

/* 예시: 만약 ID가 el-9c3d9d47 인 vce-col 요소 내부의 컨텐츠 영역이 원인이라면 */
#el-9c3d9d47 .vce-col-inner,
#el-9c3d9d47 .vce-col-content {
    overflow: visible !important;
}

/* 경우에 따라 상위의 다른 요소가 원인일 수 있습니다. */
.entry-content {
    overflow: visible !important;
}

main.wp-block-group {
    padding-top: 60px; /* 메뉴의 실제 높이로 변경 */
}

.entry-title {
    font-size: 2.5em; /* 더 크게 */
    font-weight: bold; /* 더 굵게 */
    color: #333; /* 폰트 색상 변경 */
    margin-bottom: 20px; /* 아래 여백 추가 */
    text-shadow: 2px 2px 4px #ccc; /* 그림자 효과 */
}

/* 기본적인 테이블 테두리 설정 */
table {
  border-collapse: collapse; /* 테두리 간격을 없애줍니다 */
  width: 100%; /* 테이블의 너비를 조정할 수 있습니다 */
}

/* 모든 테이블 셀(th와 td)에 테두리 적용 */
table, th, td {
  border: 1px solid black; /* 1픽셀 두께의 검은색 실선 */
}

/* 셀 내부의 여백 조정 */
th, td {
  padding: 8px; /* 셀 내부 여백 */
  text-align: left; /* 텍스트 정렬 */
}
