/* Preserve the reference body; only adapt the surrounding WordPress theme. */
.kdffc-exact-reference .wp-block-post-title,.kdffc-exact-reference .wp-block-post-featured-image,.kdffc-exact-reference .wp-block-post-date,.kdffc-exact-reference .wp-block-post-author,.kdffc-exact-reference #toc_container{display:none!important;}
.kdffc-exact-reference main.wp-block-group{display:block!important;padding:0!important;}
.kdffc-exact-reference main.wp-block-group>.wp-block-group,.kdffc-exact-reference main.wp-block-group>.wp-block-group>.wp-block-group{width:100%;max-width:100%;margin:0!important;min-width:0;}
body.kdffc-exact-reference {padding-bottom:0!important;}
.kdffc-exact-reference .ksp-hero-media-standalone img,.kdffc-exact-reference .ksp-section img {display:block;width:100%;height:auto;}
.kdffc-exact-reference .ksp-section figure {max-width:100%;margin-left:0;margin-right:0;}
.kdffc-exact-reference .ksp-hero__lead {white-space:normal!important;}
.kdffc-exact-reference .ksp-section .ksp-table-wrap {overflow:auto;}
.kdffc-exact-reference .kdb-page>script,.kdffc-exact-reference .kdt-page>script {display:none;}
@media(max-width:767px){body.kdffc-exact-reference:has(#callnowbutton[data-kdffc-visible="true"]) footer.kd-home-footer>div{padding-bottom:calc(94px + env(safe-area-inset-bottom));}}

/* Reference price-table rules supplied outside its service stylesheet. */
/* 박스형 요금표 – 정리본 */

    #k-daeri-special-editorial .kprice-table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      margin: 14px 0;
      border: 0.7px solid #444444 !important;
      border-radius: 0;
      overflow: hidden;
      font-size: 15px;
    }

    /* 헤더 스타일 (배경 강조) */
    #k-daeri-special-editorial .kprice-table thead th {
      background: #e9f2ff;
      color: #003b8e;
      font-weight: 700;
      border-bottom: 3px double #444444 !important;
    }

    /* ✅ 헤더(th)와 본문(td)의 높이를 완전히 동일하게 만들기 */
    #k-daeri-special-editorial .kprice-table thead th,
    #k-daeri-special-editorial .kprice-table tbody td {
      padding: 12px 12px !important;  /* 여백 증가 */
      line-height: 1.55 !important;   /* 라인 높이 증가 */
      font-size: 15px !important;
      vertical-align: middle;        /* 세로 가운데 정렬 */
    }

    #k-daeri-special-editorial .kprice-table tbody td {
      border-bottom: 0.5px solid #444444 !important;
    }

    #k-daeri-special-editorial .kprice-table tbody tr:last-child td {
      border-bottom: none;
    }

    #k-daeri-special-editorial .kprice-table td:first-child {
      width: 65%;
    }

    #k-daeri-special-editorial .kprice-table td:last-child {
      width: 35%;
      text-align: right;
      font-weight: 700;
    }

    #k-daeri-special-editorial .kprice-box-title {
      font-weight: 700;
      font-size: 17px;
      margin: 18px 0 8px;
      color: #222;
    }

    /* 모바일 최적화 */
    @media (max-width: 600px) {
      #k-daeri-special-editorial .kprice-table {
        font-size: 15px;
      }
      #k-daeri-special-editorial .kprice-table thead th,
      #k-daeri-special-editorial .kprice-table tbody td {
        padding: 12px 12px !important;   /* ← 모바일도 높이 키움 */
        line-height: 1.55 !important;    /* ← 줄 간격도 동일하게 */
      }
    }
	/* 3열짜리 요금표용 */
	#k-daeri-special-editorial .kprice-table.k3 td:first-child {
 	 width: 25%;
	}
	#k-daeri-special-editorial .kprice-table.k3 td:nth-child(2) {
	  width: 40%;
	}
	#k-daeri-special-editorial .kprice-table.k3 td:last-child {
	  width: 35%;
 	 text-align: right;
	  font-weight: 700;
	}
#k-daeri-special-editorial .kprice-table {margin:20px 0;}
#k-daeri-special-editorial .ksp-eyebrow {letter-spacing:.02em;}
/* Final measured differences caused by the target theme. */
body.kdffc-special-editorial .wp-site-blocks .wp-block-post-content {border:1px solid #e5eaf2;}
#k-daeri-special-editorial .ksp-eyebrow,#k-daeri-special-editorial .ksp-hero__lead {line-height:1.72!important;}
#k-daeri-special-editorial .ksp-hero__lead {letter-spacing:-.16px!important;}
#k-daeri-special-delivery h1 {line-height:1.3!important;letter-spacing:-.02em!important;}
#k-daeri-special-delivery h3 {letter-spacing:normal!important;}
#k-daeri-special-delivery .kdt-eyebrow {font-weight:600!important;}
#k-daeri-special-delivery .kdt-hero-copy {font-size:20px!important;line-height:1.72!important;}
#k-daeri-special-page #kdb-fare-form input {padding:10px 15px!important;}
@media(max-width:780px){
 body.kdffc-special-editorial .wp-site-blocks .wp-block-post-content {width:calc(100% - 20px);}
 #k-daeri-special-delivery .kdt-hero-copy {font-size:16px!important;}
 #k-daeri-special-page .kdb-table :is(th,td):first-child {padding-left:8px!important;}
}
