/* =========================================================
   TOA PRIVACY POLICY
   PRIVACY POLICY 전용 디자인
========================================================= */


/* =========================================================
   EDIT HERE
   크기 / 위치 / 색상 / 여백 조정
========================================================= */

body.toa-privacy-page{

  --privacy-bg:#000;

  --privacy-text:#d7d7d7;
  --privacy-heading:#fff;
  --privacy-muted:#aaa;
  --privacy-accent:#c7ae91;

  /* 실제 글 영역 폭 */
  --privacy-width:780px;

  /* 본문 좌우 여백 */
  --privacy-side:22px;

  /* 본문 시작 / 끝 여백 */
  --privacy-top:64px;
  --privacy-bottom:96px;

  /* 글자 */
  --privacy-title:clamp(42px,7vw,78px);
  --privacy-subtitle:clamp(19px,3vw,25px);
  --privacy-body:16px;
  --privacy-leading:1.95;

  /* 조항 사이 간격 */
  --privacy-section:56px;

  background:var(--privacy-bg);
  color:var(--privacy-text);
}


/* =========================================================
   PAGE BACKGROUND
========================================================= */

.toa-privacy-page .wp-site-blocks{
  background:var(--privacy-bg);
}


/* =========================================================
   IMPORTANT
   MAIN 자체에는 여백을 넣지 않는다.
   헤더 / 푸터 / full-width 영역을 밀지 않기 위함.
========================================================= */

.toa-privacy-page main{
  width:100%;
  max-width:none;
  margin:0!important;
  padding:0!important;

  background:var(--privacy-bg);

  box-sizing:border-box;
}


/* =========================================================
   PAGE TITLE
========================================================= */

.toa-privacy-page main .wp-block-post-title{

  max-width:var(--privacy-width);

  margin:
    var(--privacy-top)
    auto
    16px!important;

  padding-left:var(--privacy-side);
  padding-right:var(--privacy-side);

  box-sizing:content-box;

  color:var(--privacy-heading);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:var(--privacy-title);
  font-weight:400;

  line-height:1.1;

  letter-spacing:-.035em;

  overflow-wrap:normal;
}


/* =========================================================
   WORDPRESS POST CONTENT WRAPPER

   여기 자체의 max-width를 없애고
   실제 .toa-privacy에서 본문 폭을 제어한다.
========================================================= */

.toa-privacy-page main .wp-block-post-content{

  width:100%;
  max-width:none!important;

  margin:0!important;

  padding:
    0
    var(--privacy-side)
    var(--privacy-bottom)!important;

  box-sizing:border-box;
}


/* =========================================================
   PRIVACY CONTENT
========================================================= */

.toa-privacy-page .toa-privacy{

  width:100%;
  max-width:var(--privacy-width);

  margin:0 auto;

  color:var(--privacy-text);

  font-family:
    Arial,
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    sans-serif;

  font-size:var(--privacy-body);

  line-height:var(--privacy-leading);

  word-break:keep-all;
  overflow-wrap:anywhere;
}


.toa-privacy *{
  box-sizing:border-box;
}


/* =========================================================
   PARAGRAPH
========================================================= */

.toa-privacy p{
  margin:0 0 20px;
}


/* =========================================================
   SUBTITLE
========================================================= */

.toa-privacy .toa-privacy__subtitle{

  font-size:var(--privacy-subtitle);

  color:var(--privacy-heading);

  margin:0 0 22px;

  line-height:1.5;
}


/* =========================================================
   DATE
========================================================= */

.toa-privacy .toa-privacy__date{

  font-size:12px;

  letter-spacing:.03em;

  color:var(--privacy-muted);

  margin-bottom:32px;
}


/* =========================================================
   NOTICE
========================================================= */

.toa-privacy .toa-privacy__notice{

  font-size:13px;

  color:#bbb;

  border-block:1px solid #333;

  padding:18px 0;

  margin-bottom:40px;
}


/* =========================================================
   SECTION TITLE
========================================================= */

.toa-privacy h2{

  font:
    600
    clamp(20px,2.5vw,24px) / 1.5
    Arial,
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    sans-serif;

  color:var(--privacy-heading);

  margin:
    var(--privacy-section)
    0
    22px;

  padding-top:24px;

  border-top:1px solid #303030;

  letter-spacing:-.025em;
}


/* =========================================================
   INLINE
========================================================= */

.toa-privacy strong{
  color:#eee;
  font-weight:600;
}


.toa-privacy a{

  color:var(--privacy-accent);

  text-decoration:underline;

  text-underline-offset:4px;
}


.toa-privacy a:focus-visible{

  outline:2px solid currentColor;

  outline-offset:4px;
}


.toa-privacy__placeholder{
  color:var(--privacy-accent);
}


/* =========================================================
   TABLE
========================================================= */

.toa-privacy__table{
  margin:24px 0;
}


.toa-privacy table{

  width:100%;

  border-collapse:collapse;

  table-layout:fixed;

  font-size:14px;

  line-height:1.8;
}


.toa-privacy th,
.toa-privacy td{

  text-align:left;

  vertical-align:top;

  padding:14px 12px;

  border-bottom:1px solid #303030;

  overflow-wrap:anywhere;
}


.toa-privacy th{

  color:#fff;

  font-weight:500;

  background:#121212;
}


.toa-privacy th:first-child,
.toa-privacy td:first-child{
  width:32%;
}


/* =========================================================
   TABLET / DESKTOP
========================================================= */

@media(min-width:768px){

  body.toa-privacy-page{

    --privacy-side:36px;

    --privacy-top:88px;

    --privacy-body:17px;
  }

}


/* =========================================================
   MOBILE TABLE
========================================================= */

@media(max-width:599px){

  .toa-privacy table,
  .toa-privacy tbody,
  .toa-privacy tr,
  .toa-privacy td{

    display:block;

    width:100%!important;
  }


  .toa-privacy thead{

    position:absolute;

    width:1px;
    height:1px;

    overflow:hidden;

    clip-path:inset(50%);
  }


  .toa-privacy tr{

    padding:14px 0;

    border-bottom:1px solid #303030;
  }


  .toa-privacy td{

    border:0;

    padding:3px 0;
  }


  .toa-privacy td:first-child{

    font-weight:600;

    color:#eee;
  }

}