body.page-id-5201 .wp-block-columns,
body.page-id-5181 .wp-block-columns,
body.page-id-5196 .wp-block-columns,
body.page-id-5224 .wp-block-columns {
  gap: revert !important;
}

body.page-id-5201 .wp-block-columns > .wp-block-column,
body.page-id-5181 .wp-block-columns > .wp-block-column,
body.page-id-5196 .wp-block-columns > .wp-block-column,
body.page-id-5224 .wp-block-columns > .wp-block-column {
  flex-basis: revert !important;
  max-width: revert !important;
  width: revert !important;
}

body.page-id-5201 .entry-content,
body.page-id-5181 .entry-content,
body.page-id-5196 .entry-content,
body.page-id-5224 .entry-content {
  margin: revert !important;
  padding: revert !important;
}

body.page-id-5201 .wp-block-navigation,
body.page-id-5181 .wp-block-navigation,
body.page-id-5196 .wp-block-navigation,
body.page-id-5224 .wp-block-navigation,
body.page-id-5201 nav[role="navigation"],
body.page-id-5181 nav[role="navigation"],
body.page-id-5196 nav[role="navigation"],
body.page-id-5224 nav[role="navigation"],
body.page-id-5201 .wp-block-site-title,
body.page-id-5181 .wp-block-site-title,
body.page-id-5196 .wp-block-site-title,
body.page-id-5224 .wp-block-site-title,
body.page-id-5201 .site-title,
body.page-id-5181 .site-title,
body.page-id-5196 .site-title,
body.page-id-5224 .site-title,
body.page-id-5201 .site-branding,
body.page-id-5181 .site-branding,
body.page-id-5196 .site-branding,
body.page-id-5224 .site-branding,
body.page-id-5201 .wp-block-site-logo,
body.page-id-5181 .wp-block-site-logo,
body.page-id-5196 .wp-block-site-logo,
body.page-id-5224 .wp-block-site-logo,
body.page-id-5201 header,
body.page-id-5181 header,
body.page-id-5196 header,
body.page-id-5224 header {
  display: none !important;
}

body.page-id-5201 .wp-block-navigation__responsive-container,
body.page-id-5181 .wp-block-navigation__responsive-container,
body.page-id-5196 .wp-block-navigation__responsive-container,
body.page-id-5224 .wp-block-navigation__responsive-container {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

html.page-id-5201,
body.page-id-5201 {
  background: #e9e2cf !important;
  color: #000 !important;
  overflow-x: hidden !important;
}

html.page-id-5181,
body.page-id-5181 {
  background: #003d2b !important;
  color: #f8dede !important;
}

html.page-id-5196,
body.page-id-5196,
html.page-id-5224,
body.page-id-5224 {
  background: #000 !important;
  color: #f9e79f !important;
}

body.page-id-5201 .wp-site-blocks,
body.page-id-5181 .wp-site-blocks,
body.page-id-5196 .wp-site-blocks,
body.page-id-5224 .wp-site-blocks {
  background: transparent !important;
}

body.page-id-5201 .scrolling-lines {
  width: auto !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  left: auto !important;
  transform: none !important;
  margin-top: 20px !important;
  margin-bottom: 10px !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6em;
  overflow: hidden;
  background: transparent;
}

body.page-id-5201 .scroll-line {
  white-space: nowrap;
  font-family: "Times New Roman", "Noto Serif KR", serif;
  font-size: clamp(1.4rem, 2.5vw, 2.6rem);
  display: inline-block;
  cursor: pointer;
  transition: transform 15s linear;
  will-change: transform;
  text-align: center;
}

body.page-id-5201 .scroll-line:hover {
  animation: researchScroll 18s linear infinite alternate;
}

@keyframes researchScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

body.page-id-5201 .scroll-line a {
  text-decoration: none;
  color: inherit;
}

body.page-id-5181 a,
body.page-id-5181 .entry-content a {
  color: #ffdbe7 !important;
  text-decoration: none !important;
}

body.page-id-5181 a:hover,
body.page-id-5181 .entry-content a:hover {
  color: #ffeaf1 !important;
  opacity: 0.9 !important;
}

body.page-id-5196 a,
body.page-id-5224 a {
  color: #f9e79f !important;
  text-decoration: none;
}

body.page-id-5196 a:hover,
body.page-id-5224 a:hover {
  opacity: 0.8 !important;
}

@media (max-width: 900px) {
  body.page-id-5201 .scroll-line {
    font-size: clamp(1.2rem, 3vw, 2rem);
  }
}

body.page-id-5201 .wp-block-column[style*="padding-left"],
body.page-id-5181 .wp-block-column[style*="padding-left"],
body.page-id-5196 .wp-block-column[style*="padding-left"],
body.page-id-5224 .wp-block-column[style*="padding-left"],
body.page-id-5201 .wp-block-columns[style*="padding-left"],
body.page-id-5181 .wp-block-columns[style*="padding-left"],
body.page-id-5196 .wp-block-columns[style*="padding-left"],
body.page-id-5224 .wp-block-columns[style*="padding-left"],
body.page-id-5201 .wp-block-group[style*="padding-left"],
body.page-id-5181 .wp-block-group[style*="padding-left"],
body.page-id-5196 .wp-block-group[style*="padding-left"],
body.page-id-5224 .wp-block-group[style*="padding-left"],
body.page-id-5201 .wp-block-column[style*="margin-left"],
body.page-id-5181 .wp-block-column[style*="margin-left"],
body.page-id-5196 .wp-block-column[style*="margin-left"],
body.page-id-5224 .wp-block-column[style*="margin-left"],
body.page-id-5201 .wp-block-columns[style*="margin-left"],
body.page-id-5181 .wp-block-columns[style*="margin-left"],
body.page-id-5196 .wp-block-columns[style*="margin-left"],
body.page-id-5224 .wp-block-columns[style*="margin-left"],
body.page-id-5201 .wp-block-group[style*="margin-left"],
body.page-id-5181 .wp-block-group[style*="margin-left"],
body.page-id-5196 .wp-block-group[style*="margin-left"],
body.page-id-5224 .wp-block-group[style*="margin-left"] {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

body.page-id-5201 .r3 {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 10px 0 !important;
  padding: 0 !important;
  gap: 3vh !important;
}

body.page-id-5201 .r3 .r3-row {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.1 !important;
}

body.page-id-5201 .r3-chunk {
  font-size: clamp(32px, 6vw, 80px) !important;
  line-height: 1.1 !important;
}

body.page-id-5201 .intro-text {
  max-width: 40vw !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  line-height: 1.5 !important;
  word-break: keep-all;
}

body.page-id-5201 .intro-text p {
  margin-top: 6px !important;
  margin-bottom: 6px !important;
  line-height: 1.4 !important;
}

@media (max-width: 900px) {
  body.page-id-5201 .intro-text { max-width: 85vw !important; }
  body.page-id-5201 .r3 { width: 95vw !important; gap: 3.5vh !important; }
  body.page-id-5201 .r3-row { width: 95vw !important; }
  body.page-id-5201 .r3-chunk { font-size: clamp(36px, 9vw, 80px) !important; line-height: 1.1 !important; padding-right: 7vw !important; }
}

html.page-id-5196, body.page-id-5196,
html.page-id-5224, body.page-id-5224 { overflow-x: hidden !important; }

body.page-id-5196 .wp-site-blocks,
body.page-id-5224 .wp-site-blocks,
body.page-id-5196 .entry-content,
body.page-id-5224 .entry-content { max-width: none !important; }

body.page-id-5196 .wp-block-video,
body.page-id-5224 .wp-block-video,
body.page-id-5196 .wp-block-embed,
body.page-id-5224 .wp-block-embed,
body.page-id-5196 figure.wp-block-video,
body.page-id-5224 figure.wp-block-video { width: 75vw !important; max-width: 75vw !important; margin: 0 auto !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }

body.page-id-5196 video,
body.page-id-5224 video { display: block !important; width: 100% !important; height: auto !important; object-fit: contain !important; background: #000 !important; border: 0 !important; outline: 0 !important; }

body.page-id-5196 iframe,
body.page-id-5224 iframe { display: block !important; width: 100% !important; height: auto !important; aspect-ratio: 16/9 !important; border: 0 !important; outline: 0 !important; background: #000 !important; }

body.page-id-5196 .wp-block-embed__wrapper,
body.page-id-5224 .wp-block-embed__wrapper { position: static !important; padding: 0 !important; }

/* Videoessay(5196)만 강제 확장 */
body.page-id-5196 figure.wp-block-video,
body.page-id-5196 .wp-video,
body.page-id-5196 .wp-block-embed,
body.page-id-5196 .wp-block-embed__wrapper,
body.page-id-5196 .jetpack-video-wrapper {
  width: 75vw !important;
  max-width: 75vw !important;
  margin: 0 auto !important;
}

/* 인라인 width가 들어간 블록도 강제 무시 */
body.page-id-5196 figure.wp-block-video[style*="width"],
body.page-id-5196 .wp-block-embed[style*="width"],
body.page-id-5196 .wp-block-embed__wrapper[style*="width"] {
  width: 75vw !important;
}

/* 실제 플레이어 */
body.page-id-5196 video,
body.page-id-5196 .wp-video-shortcode,
body.page-id-5196 iframe {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  background: #000 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
/* Video / Reference: 플레이어 외 불필요한 워드프레스 보조 iframe 숨김 */
body.page-id-5196 iframe[src*="wordpress.com/widgets/3rd-party-cookie"],
body.page-id-5224 iframe[src*="wordpress.com/widgets/3rd-party-cookie"],
body.page-id-5196 iframe[src*="public-api.wordpress.com"],
body.page-id-5224 iframe[src*="public-api.wordpress.com"]{
  display:none !important;
  width:0 !important;
  height:0 !important;
  pointer-events:none !important;
}

/* 콘텐츠 영역 안의 플레이어(비디오/임베드)는 유지 */
body.page-id-5196 .entry-content .wp-block-video iframe,
body.page-id-5224 .entry-content .wp-block-video iframe,
body.page-id-5196 .entry-content .wp-block-embed iframe,
body.page-id-5224 .entry-content .wp-block-embed iframe{
  display:block !important;
}

/* 가로 스크롤 방지 */
html.page-id-5196, body.page-id-5196,
html.page-id-5224, body.page-id-5224 { overflow-x:hidden !important; }

/* Playbook: PDF e-book 스타일 */
body.page-id-5181 .wp-block-embed,
body.page-id-5181 .wp-block-file {
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

body.page-id-5181 object[type*="pdf"],
body.page-id-5181 embed[type*="pdf"],
body.page-id-5181 iframe[src*=".pdf"] {
  display: block !important;
  width: min(92vw, 1100px) !important;
  aspect-ratio: 3 / 4 !important;
  height: auto !important;
  margin: 5vh auto !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: #00281d !important;
  box-shadow:
    0 2px 6px rgba(0,0,0,.25),
    0 18px 40px rgba(0,0,0,.45),
    inset 18px 0 24px -18px rgba(255,255,255,.12),
    inset -18px 0 24px -18px rgba(0,0,0,.35) !important;
}

@media (max-width: 900px){
  body.page-id-5181 object[type*="pdf"],
  body.page-id-5181 embed[type*="pdf"],
  body.page-id-5181 iframe[src*=".pdf"]{
    width: 94vw !important;
    aspect-ratio: 3 / 4 !important;
    border-radius: 12px !important;
    box-shadow:
      0 2px 5px rgba(0,0,0,.25),
      0 14px 28px rgba(0,0,0,.4) !important;
  }
}

