/* COREWITH 메인 페이지 커스텀 */

/* 1. Hero 타입라이터 + 더 작은 글씨 */
.front #page-header .header_title .fit_headers.typewriter-line {
  font-size: 0.26em;
  letter-spacing: 0.02em;
}
@media (min-width: 40em) {
  .front #page-header .header_title .fit_headers.typewriter-line {
    font-size: 0.3em;
  }
}
@media (min-width: 64em) {
  .front #page-header .header_title .fit_headers.typewriter-line {
    font-size: 0.34em;
  }
}
.typewriter-cursor {
  display: inline-block;
  margin-left: 2px;
  animation: typewriter-blink 0.8s step-end infinite;
  font-weight: 300;
}
@keyframes typewriter-blink {
  50% { opacity: 0; }
}

/* Section3 인트로 문구 — PC 한 줄일 때 간격 */
@media (min-width: 64em) {
  .front #sections_end .section3 .content {
    letter-spacing: 0.03em;
    word-spacing: 0.08em;
    line-height: 1.5;
  }
}

/* 2~3. Section1 제안 타이틀 + 서비스 박스 */
.corewith-service-boxes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 64em) {
  .corewith-service-boxes {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}
.corewith-service-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  transition: background 0.2s, border-color 0.2s;
}
.corewith-service-box:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.35);
}
.corewith-service-box h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  letter-spacing: 0.02em;
}
.corewith-service-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  line-height: 1.7;
}
.corewith-service-box ul li {
  padding: 0.2rem 0;
  position: relative;
  padding-left: 1rem;
}
.corewith-service-box ul li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.6);
}

/* 4. 메일 입력 + 확인 버튼 */
.corewith-newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}
.corewith-newsletter-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 14px 20px;
  font-size: 16px;
  border: 1px solid rgba(0,1,4,0.2);
  border-radius: 6px;
  background: #fff;
}
.corewith-newsletter-form input[type="email"]::placeholder {
  color: rgba(0,1,4,0.4);
}
.corewith-newsletter-form .corewith-btn-confirm {
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: #000104;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}
.corewith-newsletter-form .corewith-btn-confirm:hover {
  background: #222;
}

/* 5~7. 제휴업체 섹션: 글씨 줄임 + 좌→우 로고 스크롤, 더보기 제거 */
#blog_list .blog_header .bottom .words span {
  font-size: 0.5em;
}
@media (min-width: 64em) {
  #blog_list .blog_header .bottom .words span {
    font-size: 0.55em;
  }
}
#load_more {
  display: none !important;
}
.corewith-affiliate-logos {
  overflow: hidden;
  padding: 2.5rem 0;
  background: rgba(0,0,0,0.05);
  border-radius: 8px;
  margin-top: 1rem;
  /* 우측 빈 공간까지 영역 확장: 그리드 컨테이너 밖으로 시각적 확장 */
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}
.corewith-affiliate-track {
  display: flex;
  gap: 2.5rem;
  animation: corewith-scroll-logos 30s linear infinite;
  width: max-content;
}
.corewith-affiliate-track:hover {
  animation-play-state: paused;
}
.corewith-affiliate-item {
  flex-shrink: 0;
  width: 200px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 0.75rem 1rem;
  text-align: center;
}
.corewith-affiliate-item img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (min-width: 64em) {
  .corewith-affiliate-item {
    width: 240px;
    height: 140px;
    border-radius: 12px;
  }
  .corewith-affiliate-item img {
    max-height: 88px;
  }
  .corewith-affiliate-logos {
    padding: 3rem 1.5rem;
  }
  .corewith-affiliate-track {
    gap: 3rem;
  }
}
@keyframes corewith-scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 8~10. Footer: col2 제거, 전화 원형 가운데, Contact Us */
#footer .column_footer .col2 {
  display: none;
}
/* 모바일: 인트로 전체 너비 */
#footer .column_footer .col1 {
  width: 100%;
  max-width: 100%;
}
@media print, screen and (min-width: 40em) {
  /* PC: 좌우로 나누고 우측까지 균형 있게 */
  #footer .column_footer {
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
  }
  #footer .column_footer .col1 {
    width: auto;
    max-width: none;
    flex: 0 1 auto;
  }
}
#footer .footer-contact-wrap {
  display: block;
}
@media print, screen and (min-width: 40em) {
  #footer .footer-contact-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    flex: 1 1 auto;
    min-width: 0;
  }
}
#footer .footer-contact-block {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 15px;
  line-height: 1.8;
}
@media print, screen and (min-width: 40em) {
  #footer .footer-contact-block {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    width: 100%;
    max-width: 380px;
    margin-left: auto;
    text-align: right;
    padding-left: 2rem;
    border-left: 1px solid rgba(255,255,255,0.15);
  }
}
#footer .footer-contact-block .contact-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
#footer .footer-contact-block .contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 0.35rem;
}
@media print, screen and (min-width: 40em) {
  #footer .footer-contact-block .contact-row {
    justify-content: flex-end;
  }
}
#footer .footer-contact-block .contact-label {
  min-width: 5em;
  color: rgba(255,255,255,0.85);
}
@media print, screen and (min-width: 40em) {
  #footer .footer-contact-block .contact-label {
    min-width: 4.5em;
    text-align: right;
  }
}
#footer .footer-contact-block .contact-value {
  color: #fff;
}
#footer .footer-contact-block .contact-row .contact-value br {
  display: block;
  content: " ";
  margin-top: 0.25rem;
}
#footer .footer-contact-block a.contact-value {
  text-decoration: underline;
  text-underline-offset: 3px;
}
#footer .footer-contact-block .contact-row {
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}
#footer .footer-contact-block .contact-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
#footer .inner-footer .social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}
#footer .inner-footer .social .social_item {
  max-width: none;
  position: relative;
  /* 동일한 적당한 크기로 통일 */
  width: 88px;
  height: 88px;
  min-width: 88px;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 13px;
  font-weight: 600;
}
#footer .inner-footer .social .social_item:after {
  display: none;
}
#footer .inner-footer .social .social_item.tel-item {
  background: rgba(255,255,255,0.15);
  line-height: 1.15;
  text-align: center;
}
#footer .inner-footer .social .social_item.tel-item a {
  position: static;
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-wrap: wrap;
  line-height: 1.15;
}
#footer .inner-footer .social .social_item:not(.tel-item) a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-align: center;
  font-size: 12px;
  word-break: break-all;
  line-height: 1.2;
}

/* 문의: 구글 지도 (이메일·전화 아래) */
.corewith-contact-map-wrap {
  margin-top: 1.25rem;
  max-width: 100%;
}
.contact .corewith-contact-address {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.92;
}
.corewith-gmap-iframe {
  width: 100%;
  height: min(52vw, 280px);
  min-height: 220px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

/* 헤더: 로고·햄버거 뒤 검정 박스 제거 */
#header .logo {
  background: transparent !important;
}
#header .logo a img.site-logo-header {
  background: transparent;
  /* PNG에 불투명 검정 배경이 있을 때: 밝은 헤더 위에서 검정만 누워 보이게 */
  mix-blend-mode: lighten;
}
/* 모바일: 로고 원본 컬러(블랙 헤더에서 식별 가능) */
@media print, screen and (max-width: 39.99875em) {
  #header .logo a img.site-logo-header {
    mix-blend-mode: normal !important;
  }
}

/* 오프캔버스: 홈(RB) 숨김, 닫기만 · 연락처 원형 정리 */
#off-canvas .top .side .gotohome {
  display: none !important;
}
#off-canvas .top .side {
  background: transparent !important;
  width: auto !important;
  min-width: 48px;
  padding: 14px 16px !important;
  justify-content: flex-start !important;
}
#off-canvas .top .side .close-menu {
  margin-bottom: 0 !important;
}
#off-canvas .top .side .close-menu svg path {
  stroke: #000104 !important;
}

#off-canvas .menu-wrap ul li a {
  font-size: clamp(1.35rem, 6.5vw, 2rem) !important;
  line-height: 1.15 !important;
}
#off-canvas .menu-item-corewith-lang-offcanvas .corewith-lang-switch {
  padding: 0.5rem 0 0.25rem;
}
#off-canvas .menu-item-corewith-lang-offcanvas .corewith-lang-switch a {
  color: #000104 !important;
}
@media print, screen and (min-width: 40em) {
  #off-canvas .menu-wrap ul li a {
    font-size: clamp(1.5rem, 4.5vw, 2.25rem) !important;
  }
}

#off-canvas .social-mobile.social {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.25rem !important;
  max-width: 100%;
  padding: 0 1rem 2rem;
  margin-top: 1.5rem !important;
}
#off-canvas .social-mobile .social_item {
  flex: 0 0 118px !important;
  width: 118px !important;
  height: 118px !important;
  min-width: 118px !important;
  min-height: 118px !important;
  max-width: 118px !important;
  margin: 0 !important;
  margin-left: 0 !important;
  padding: 10px !important;
  box-sizing: border-box !important;
  border-radius: 50% !important;
  border: 2px solid #000104 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
}
#off-canvas .social-mobile .social_item:last-child {
  margin-left: 0 !important;
}
#off-canvas .social-mobile .social_item:after {
  display: none !important;
  content: none !important;
  padding: 0 !important;
}
#off-canvas .social-mobile .social_item a {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  color: #000104 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  word-break: keep-all !important;
  border-radius: 50% !important;
  background: transparent !important;
  padding: 4px !important;
}

/* 메인: 포트폴리오 바로가기 (모바일 여백 + 링크) */
a.corewith-portfolio-cta.top_titles {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  cursor: pointer;
}
@media print, screen and (max-width: 39.99875em) {
  .front .section2 .scrolling_title.first.corewith-portfolio-row {
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    display: block;
    width: 100%;
  }
}

/* 회사소개: 주요 지표 그리드 세로 간격 */
.about .section2 .grid-x.columns.small-up-2.medium-up-4 {
  row-gap: 1.35rem;
}
@media print, screen and (max-width: 39.99875em) {
  .about .section2 .grid-x.columns.small-up-2 > .cell {
    margin-bottom: 1.15rem !important;
  }
}

/* 회사소개: 조직 카드 — 밝은 카드 + 진한 글자(가독성), 그리드 간격 */
.about .corewith-org-grid.corewith-org-as-buttons {
  row-gap: 1.75rem !important;
  column-gap: 1.5rem !important;
}
.about .corewith-org-grid > .cell {
  padding-bottom: 0.25rem;
}
.about .corewith-org-card {
  background: #fbfbfd;
  border: 1px solid rgba(0, 1, 4, 0.12);
  border-radius: 16px;
  padding: 1.5rem 1.15rem;
  text-align: center;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
}
.about .corewith-org-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 168, 74, 0.45);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}
.about .corewith-org-role {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #0d7377;
  margin-bottom: 0.55rem;
}
.about .corewith-org-names {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
  color: #000104;
  margin-bottom: 0.5rem;
}
.about .corewith-org-title {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(0, 1, 4, 0.72);
}
.about .section6 .section_title .corewith-section-badge {
  color: rgba(255, 255, 255, 0.75);
}
.about .section6 .section_title .about-subheading {
  color: #fff;
}

/* 회사소개: ㈜코어위드가 드리는 제안 — PC 크게 / 모바일은 한 단계 작게 */
#page-content.about .section1 .main_title h1 .corewith-about-proposal-title {
  font-weight: 700;
  letter-spacing: 0.02em;
}
@media print, screen and (max-width: 39.99875em) {
  #page-content.about .section1 .main_title h1 .corewith-about-proposal-title {
    font-size: clamp(1.05rem, 4.6vw, 1.35rem) !important;
    line-height: 1.2 !important;
  }
}
@media print, screen and (min-width: 40em) {
  #page-content.about .section1 .main_title h1 .corewith-about-proposal-title {
    font-size: clamp(1.85rem, 3.4vw, 3.1rem) !important;
    line-height: 1.12 !important;
  }
  #page-content.about .section1 .main_title h1 .corewith-about-proposal-title--twoline {
    line-height: 1.18 !important;
  }
}

/* 회사소개 제휴 타이틀 = 메인 #blog_list과 동일한 스케일 */
.about-affiliate-slide .blog_header .bottom .words {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000104;
  font-size: 60px;
  font-weight: 400;
  line-height: 1;
}
@media print, screen and (min-width: 40em) {
  .about-affiliate-slide .blog_header .bottom .words {
    font-size: 67px;
  }
}
@media print, screen and (min-width: 64em) {
  .about-affiliate-slide .blog_header .bottom .words {
    font-size: 112px;
  }
}
@media screen and (min-width: 90em) {
  .about-affiliate-slide .blog_header .bottom .words {
    font-size: 130px;
  }
}
@media screen and (min-width: 120em) {
  .about-affiliate-slide .blog_header .bottom .words {
    font-size: 175px;
  }
}
.about-affiliate-slide .blog_header .bottom .words span {
  font-size: inherit !important;
  display: inline-flex;
  align-items: center;
}

/* 공지사항: 박스형 게시판 */
.blog_page #notice_board_section {
  padding-top: 7.5rem;
  padding-bottom: 3.5rem;
}
@media print, screen and (min-width: 40em) {
  .blog_page #notice_board_section {
    padding-top: 6.25rem;
    padding-bottom: 4rem;
  }
}
.blog_page #notice_board_section .blog_header {
  margin-top: 1.25rem;
  margin-bottom: 2.25rem;
}
@media print, screen and (min-width: 40em) {
  .blog_page #notice_board_section .blog_header {
    margin-top: 1.75rem;
    margin-bottom: 3rem;
  }
}
.corewith-notice-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (min-width: 64em) {
  .corewith-notice-board {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
.corewith-notice-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 1.35rem 1.25rem;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.corewith-notice-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(34, 168, 74, 0.5);
  transform: translateY(-2px);
}
.corewith-notice-card .notice-meta {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.5rem;
}
.corewith-notice-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}
.corewith-notice-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}
.corewith-notice-pager {
  margin-top: 2.25rem;
  text-align: center;
}
.corewith-notice-pager a {
  display: inline-block;
  padding: 0.5rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 0.9rem;
  transition: background 0.2s, border-color 0.2s;
}
.corewith-notice-pager a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #22a84a;
}

/* 메인 가로 슬라이드: 숫자 자리 비움 */
#slides_horizontal .slide_subtitle.corewith-slide-subtitle-empty {
  font-size: 0 !important;
  line-height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none;
}

/* Development = 솔리드, Works = 라인(속 빈 글씨) */
.front #sections_end #slides_horizontal #slides_horizontal_container .panel .slide_title.corewith-slide-title-split .corewith-slide-works {
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 1.15px;
  -webkit-text-stroke-color: #000104;
}
.front #sections_end #slides_horizontal #slides_horizontal_container .panel[data-color="#ffffff"] .slide_title.corewith-slide-title-split .corewith-slide-works {
  -webkit-text-stroke-color: #ffffff;
}
@media print, screen and (min-width: 40em) {
  .front #sections_end #slides_horizontal #slides_horizontal_container .panel .slide_title.corewith-slide-title-split .corewith-slide-works {
    -webkit-text-stroke-width: 1.35px;
  }
}

/* 메인 문의 안내 문단 — PC에서 기존 대비 약 50% 크기 */
@media print, screen and (min-width: 40em) {
  .front .section5 .description.corewith-inquiry-lead {
    font-size: 3.072915vw;
  }
}
@media screen and (min-width: 120em) {
  .front .section5 .description.corewith-inquiry-lead {
    font-size: 59px;
  }
}

/* 공지사항(PC): 스크롤 후에도 상단 메뉴 글자·밑줄 SVG 흰색 유지 */
@media print, screen and (min-width: 40em) {
  body.blog #header ul li a,
  body.blog #header ul li a:link,
  body.blog #header ul li a:visited {
    color: #fff !important;
  }
  body.blog #header ul li a svg path {
    stroke: #fff !important;
  }
  body.blog.is_black #header ul li a,
  body.blog.is_black #header ul li a:link,
  body.blog.is_black #header ul li a:visited {
    color: #fff !important;
  }
  body.blog.is_black #header ul li a svg path {
    stroke: #fff !important;
  }
}

/* 문의하기(PC): 본문 하단과 푸터 사이 여백 */
@media print, screen and (min-width: 40em) {
  body.page-contact-corewith article#page-content.contact {
    padding-bottom: 4rem;
  }
}

/* 모바일: 상단 바 전체 블랙 + 햄버거 흰색 */
@media print, screen and (max-width: 39.99875em) {
  #header .mobile-menu-trigger svg path {
    stroke: #fff !important;
  }
}

/* 모바일: 상단(로고·메뉴) 고정 — 배경 통일 블랙 */
@media print, screen and (max-width: 39.99875em) {
  #header {
    position: sticky !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    z-index: 10050 !important;
    background: #000104 !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
  }
  /* PC용 메뉴 글자색 보정은 40em 이상에서 기존 테마 유지 */
  #header .top-bar#top-bar-menu {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px;
    min-height: 56px;
    padding: 10px 14px 10px 12px !important;
  }
  #header .top-bar#top-bar-menu .logo {
    flex: 0 1 auto;
    float: none !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center;
    padding: 0 8px 0 4px !important;
    max-width: none;
    margin-right: auto;
  }
  #header .top-bar#top-bar-menu .mobile_box {
    flex: 0 0 auto;
    float: none !important;
    max-width: none !important;
    display: flex !important;
    align-items: center;
    align-self: center;
  }
  #header .top-bar#top-bar-menu .mobile_box ul {
    display: flex;
    align-items: center;
  }
  #header .top-bar#top-bar-menu .mobile_box ul li button {
    padding: 12px 6px !important;
  }
}

/* 포트폴리오: 모바일에서 본문 스크롤·높이 + 가로 스와이프(테마 keen은 touch-action: pan-y만 허용해 가로가 막힘) */
@media screen and (max-width: 639px) {
  body.page-template-template-portfolio,
  body.page-template-template-portfolio.portfolioLoaded {
    overflow: visible !important;
    height: auto !important;
  }
  .page-template-template-portfolio main {
    min-height: 0 !important;
  }
  #projects_slider.keen-slider:not([data-keen-slider-disabled]) {
    touch-action: pan-x pan-y !important;
  }
  /* Keen 가로 슬라이드 시 테마가 붙인 slide 간격 제거 */
  #projects_container #projects_slider > div {
    margin-bottom: 0 !important;
  }
  /* 모바일: 영문 포트폴리오만 푸터 좌측 태그라인 숨김(Contact 블록만) */
  body.corewith-site-en.page-template-template-portfolio #footer .column_footer .col1 {
    display: none !important;
  }
  body.corewith-site-en.page-template-template-portfolio #footer .footer-contact-wrap {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* 포트폴리오: 스크롤 타이틀(밝은 배경에서 은은하게) */
.page-template-template-portfolio.bg_white .word_scroll_wrap .word_scroll {
  color: rgba(0, 1, 4, 0.14) !important;
}

/* 포트폴리오: 썸네일 영문(좌하)·한글(우상) — 기본 테마의 세로 회전 제거 */
.page-template-template-portfolio #projects_container .project_wrapper .project_cat {
  transform: none !important;
  transform-origin: top right !important;
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  padding: 8px 10px !important;
  text-transform: none !important;
  font-size: clamp(0.68rem, 2.4vw, 0.92rem) !important;
  line-height: 1.25 !important;
  text-align: right !important;
  max-width: 58%;
  white-space: normal !important;
}
.page-template-template-portfolio #projects_container .project_wrapper .project_title {
  text-transform: none !important;
}

/* English 포트폴리오: 슬라이드 우상 한글 보조 라벨 숨김 */
body.corewith-site-en.page-template-template-portfolio #projects_container .project_wrapper .project_cat {
  display: none !important;
}

/* KO / EN 언어 전환 (데스크톱·모바일 상단) */
.corewith-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.corewith-lang-switch a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}
.corewith-lang-switch a:hover {
  opacity: 0.85;
}
.corewith-lang-switch .corewith-lang-active {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.corewith-lang-switch .corewith-lang-sep {
  font-weight: 700;
  opacity: 0.55;
  padding: 0 1px;
}
#header #main-nav > li.menu-item-corewith-lang {
  margin-left: 0.35rem;
}
@media print, screen and (max-width: 39.99875em) {
  .corewith-lang-switch--mobile,
  .corewith-lang-switch--mobile a {
    color: #fff !important;
  }
  .corewith-mobile-lang {
    list-style: none;
    margin: 0 6px 0 0;
  }
}

/* 회사소개 — 조직: 배경 그린 톤 + PC 4열×2행, 카드 높이 통일 */
.about .section6.corewith-org-section {
  background: linear-gradient(165deg, #143d32 0%, #0d2a24 48%, #0a221c 100%) !important;
  padding-top: 3.25rem !important;
  padding-bottom: 4.5rem !important;
}
.about .section6.corewith-org-section .corewith-section-badge {
  color: rgba(255, 255, 255, 0.78) !important;
}
.about .section6.corewith-org-section .about-subheading {
  color: #f4f7f5 !important;
}
@media print, screen and (max-width: 63.99875em) {
  .about .section6.corewith-org-section > .grid-container:first-of-type .section_title {
    margin-bottom: 2rem !important;
  }
}
@media print, screen and (min-width: 64em) {
  /* 조직현황 PC: 4열 × 2행 (카드 동일 폭) */
  .about .section6.corewith-org-section .corewith-org-grid.corewith-org-as-buttons {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    row-gap: 1.5rem !important;
    column-gap: 1.25rem !important;
  }
  .about .section6.corewith-org-section .corewith-org-grid > .cell {
    display: flex !important;
    width: auto !important;
    max-width: none !important;
    flex: initial !important;
  }
  .about .section6.corewith-org-section .corewith-org-card {
    flex: 1 1 auto;
    width: 100%;
    min-height: 168px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
  }
  .about .section6.corewith-org-section .corewith-org-title {
    min-height: 2.85em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.35;
  }
}
.about .section6.corewith-org-section .corewith-org-grid > .cell:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* 회사소개 — 제안 섹션 히어로 이미지 */
.about .section1 .corewith-proposal-hero-wrap {
  width: 100%;
  max-height: min(78vh, 720px);
  overflow: hidden;
  margin: 0;
}
.about .section1 .corewith-proposal-hero-img {
  width: 100%;
  height: min(78vh, 720px);
  max-height: 720px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* 문의하기: 모바일 본문·푸터 사이 여백 */
@media print, screen and (max-width: 39.99875em) {
  body.page-contact-corewith article#page-content.contact {
    padding-bottom: 4.5rem !important;
  }
  body.page-contact-corewith .contact .wpcf7 {
    margin-bottom: 2.5rem;
  }
  body.page-contact-corewith #footer {
    margin-top: 2.5rem;
  }
}

/* 메인 section2: 모바일에서도 한 줄 스크롤 타이틀(PC와 동일한 비율감) */
@media print, screen and (max-width: 39.99875em) {
  .front .section2 .scrolling_title .rob-scroll__title > div {
    flex-wrap: nowrap !important;
    align-items: center !important;
  }
  .front .section2 .scrolling_title .rob-scroll__title h1 {
    flex: 0 0 auto !important;
    font-size: clamp(22px, 6.8vw, 40px) !important;
    white-space: nowrap !important;
    transform: translate3d(0, 0, 0) !important;
  }
}

/* English 공지(PC): 상단 메뉴 — 어두운 바 + 흰 글씨로 항상 가독 */
@media print, screen and (min-width: 40em) {
  body.corewith-site-en.blog #header {
    background: rgba(0, 1, 4, 0.9) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  body.corewith-site-en.blog #header ul li a,
  body.corewith-site-en.blog #header ul li a:link,
  body.corewith-site-en.blog #header ul li a:visited {
    color: #fff !important;
  }
  body.corewith-site-en.blog #header ul li a svg path {
    stroke: #fff !important;
  }
  body.corewith-site-en.blog.is_black #header ul li a,
  body.corewith-site-en.blog.is_black #header ul li a:link,
  body.corewith-site-en.blog.is_black #header ul li a:visited {
    color: #fff !important;
  }
  body.corewith-site-en.blog.is_black #header ul li a svg path {
    stroke: #fff !important;
  }
}

/* English 문의: 첫 화면부터 상단 메뉴 가독(is_black 대비) */
@media print, screen and (min-width: 40em) {
  body.corewith-site-en.page-contact-corewith #header {
    background: rgba(0, 1, 4, 0.92) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  body.corewith-site-en.page-contact-corewith #header ul li a,
  body.corewith-site-en.page-contact-corewith #header ul li a:link,
  body.corewith-site-en.page-contact-corewith #header ul li a:visited {
    color: #fff !important;
  }
  body.corewith-site-en.page-contact-corewith #header ul li a svg path {
    stroke: #fff !important;
  }
  body.corewith-site-en.page-contact-corewith.is_black #header ul li a,
  body.corewith-site-en.page-contact-corewith.is_black #header ul li a:link,
  body.corewith-site-en.page-contact-corewith.is_black #header ul li a:visited {
    color: #fff !important;
  }
  body.corewith-site-en.page-contact-corewith.is_black #header ul li a svg path {
    stroke: #fff !important;
  }
}
