/* MCAIT responsive footer + mobile safety patch v3
   - 심플 footer 유지
   - 스마트폰에서도 footer가 반드시 보이도록 display/visibility 보정
   - 모바일 메뉴와 프로토타입 모달 터치 동작 보정
*/

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* 모바일 메뉴 보정: 기존 style.css가 없거나 약한 경우에도 동작하도록 보강 */
.menu-toggle {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.mobile-nav {
  width: 100%;
}

.mobile-nav.open,
.mobile-nav.is-open {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.mobile-nav a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0,0,0,.08);
}

/* scroll reveal: 구형/모바일 브라우저에서도 내용이 사라져 보이지 않도록 안전값 유지 */
.mcait-scroll-reveal {
  opacity: 1;
  transform: none;
}

@media (min-width: 769px) {
  .mcait-scroll-reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .7s ease, transform .7s ease;
    will-change: opacity, transform;
  }

  .mcait-scroll-reveal.mcait-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 심플 footer: 모든 브라우저/스마트폰에서 보이도록 강제 보정 */
.site-footer,
.site-footer.mcait-footer-simple {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  clear: both;
  position: relative;
  z-index: 10;
  width: 100%;
  margin: 0;
  padding: 28px 0;
  background: #111827;
  color: #e5e7eb;
  font-size: 14px;
  line-height: 1.7;
  overflow: visible;
}

.site-footer.mcait-footer-simple .footer-wrap,
.site-footer .footer-wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px 34px;
  flex-wrap: wrap;
}

.mcait-footer-main {
  flex: 1 1 620px;
  min-width: 260px;
}

.mcait-footer-main strong {
  display: inline-block;
  margin-bottom: 2px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.mcait-footer-main > span {
  display: inline-block;
  color: #cbd5e1;
  line-height: 1.6;
}

.mcait-footer-business {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: #d1d5db;
  font-size: 13px;
  line-height: 1.7;
}

.mcait-footer-business li {
  margin: 0;
  white-space: normal;
}

.mcait-footer-business b {
  color: #ffffff;
  font-weight: 700;
}

.mcait-footer-business a,
.site-footer.mcait-footer-simple a,
.site-footer a {
  color: inherit;
  text-decoration: none;
}

.mcait-footer-business a:hover,
.mcait-footer-business a:focus,
.site-footer.mcait-footer-simple .footer-links a:hover,
.site-footer.mcait-footer-simple .footer-links a:focus {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer.mcait-footer-simple .footer-links,
.mcait-footer-links {
  flex: 0 1 340px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  text-align: right;
  gap: 10px 14px;
  flex-wrap: wrap;
  color: #cbd5e1;
  font-size: 13px;
}

.site-footer.mcait-footer-simple .footer-links span,
.mcait-footer-links span {
  color: #9ca3af;
}

/* 프로토타입 제목 버튼: 스마트폰 터치가 먹지 않는 문제 방지 */
.prototype-title-btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  pointer-events: auto;
  -webkit-tap-highlight-color: rgba(37, 99, 235, .18);
}

.prototype-title-btn:hover,
.prototype-title-btn:focus {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.prototype-mini-card,
.prototype-mini-card * {
  max-width: 100%;
}

/* 프로토타입 상세 모달: 모바일 화면에서 화면 밖으로 밀리지 않도록 보정 */
.prototype-modal[hidden] {
  display: none !important;
}

.prototype-modal {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.prototype-modal-backdrop {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(15, 23, 42, .72);
}

.prototype-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 980px;
  max-height: 92vh;
  overflow: auto;
  background: #ffffff;
  color: #111827;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  outline: none;
  -webkit-overflow-scrolling: touch;
}

.prototype-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 24, 39, .86);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

.prototype-modal-media {
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.prototype-modal-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
}

.prototype-modal-body {
  padding: 34px 28px 28px;
}

.prototype-open-new {
  touch-action: manipulation;
}

@media (max-width: 760px) {
  .site-footer,
  .site-footer.mcait-footer-simple {
    padding: 24px 0 26px;
    font-size: 13px;
  }

  .site-footer.mcait-footer-simple .footer-wrap,
  .site-footer .footer-wrap {
    display: block;
    padding: 0 18px;
  }

  .mcait-footer-main {
    min-width: 0;
  }

  .mcait-footer-main strong {
    font-size: 15px;
  }

  .mcait-footer-business {
    display: block;
    margin-top: 10px;
    font-size: 12.5px;
    line-height: 1.75;
  }

  .mcait-footer-business li + li {
    margin-top: 2px;
  }

  .site-footer.mcait-footer-simple .footer-links,
  .mcait-footer-links {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    gap: 8px 12px;
    margin-top: 16px;
    font-size: 12.5px;
  }

  .site-footer.mcait-footer-simple .footer-links span,
  .mcait-footer-links span {
    flex-basis: 100%;
  }

  .prototype-title-btn {
    min-height: 32px;
    line-height: 1.35;
  }

  .prototype-modal {
    align-items: flex-start;
    padding: 10px;
    padding-top: 18px;
  }

  .prototype-modal-dialog {
    display: block;
    max-height: 88vh;
    border-radius: 14px;
  }

  .prototype-modal-media {
    min-height: 160px;
  }

  .prototype-modal-media img {
    max-height: 52vh;
  }

  .prototype-modal-body {
    padding: 20px 18px 22px;
  }

  .prototype-modal-close {
    width: 40px;
    height: 40px;
    top: 8px;
    right: 8px;
  }
}

@media (max-width: 380px) {
  .site-footer.mcait-footer-simple .footer-wrap,
  .site-footer .footer-wrap {
    padding: 0 14px;
  }

  .mcait-footer-business {
    font-size: 12px;
  }
}


/* 회사소개 CI 섹션 v4 */
.mcait-ci-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 52%, #ffffff 100%);
  color: #111827;
  overflow: hidden;
}

.mcait-ci-section .container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.mcait-ci-header {
  max-width: 820px;
  margin: 0 auto 26px;
  text-align: center;
}

.mcait-ci-header h2 {
  margin: 8px 0 12px;
  color: #0f2f7a;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.mcait-ci-header p {
  margin: 0 auto;
  color: #374151;
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.75;
  word-break: keep-all;
}

.mcait-ci-visual {
  margin: 24px auto 30px;
  padding: clamp(18px, 4vw, 34px);
  max-width: 980px;
  border: 1px solid rgba(37, 99, 235, .14);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 20px 56px rgba(15, 23, 42, .08);
}

.mcait-ci-visual img {
  display: block;
  width: 100%;
  max-width: 920px;
  height: auto;
  margin: 0 auto;
}

.mcait-ci-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}


.mcait-ci-grid-compact {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.mcait-ci-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(37, 99, 235, .14);
  border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
}

.mcait-ci-number {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f4fc4, #073078);
  color: #ffffff;
  font-size: 21px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(7, 48, 120, .22);
}

.mcait-ci-card-body {
  min-width: 0;
}

.mcait-ci-card h3 {
  margin: 3px 0 12px;
  color: #0f3d9e;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.mcait-ci-card p,
.mcait-ci-card li {
  color: #1f2937;
  font-size: 15.5px;
  line-height: 1.78;
  word-break: keep-all;
}

.mcait-ci-card p {
  margin: 0;
}

.mcait-ci-card ul {
  margin: 0;
  padding-left: 18px;
}

.mcait-ci-card li + li {
  margin-top: 6px;
}

.mcait-ci-card strong {
  color: #0b3f9f;
  font-weight: 800;
}

@supports not (display: grid) {
  .mcait-ci-grid {
    display: flex;
    flex-wrap: wrap;
  }
  .mcait-ci-card {
    width: calc(50% - 9px);
  }
}

/* 태블릿/스마트폰 반응형 */
@media (max-width: 860px) {
  .mcait-ci-grid {
    grid-template-columns: 1fr;
  }

  @supports not (display: grid) {
    .mcait-ci-card {
      width: 100%;
    }
  }
}

@media (max-width: 560px) {
  .mcait-ci-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mcait-ci-visual {
    margin-top: 18px;
    margin-bottom: 22px;
    padding: 14px;
    border-radius: 18px;
  }

  .mcait-ci-card {
    padding: 18px;
    gap: 12px;
    border-radius: 18px;
  }

  .mcait-ci-number {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 18px;
  }

  .mcait-ci-card h3 {
    font-size: 18px;
  }

  .mcait-ci-card p,
  .mcait-ci-card li {
    font-size: 14.5px;
    line-height: 1.72;
  }

}

/* =========================================================
   MCAIT MOBILE MENU v10
   - 스마트폰 햄버거 메뉴를 화면을 덮는 큰 박스가 아니라
     오른쪽 상단에 붙는 작은 세로 드롭다운으로 표시
   - Chrome / Samsung Internet / Safari / Firefox 계열 모바일 대응
   ========================================================= */

@media screen and (min-width: 769px) {
  #mobileMenu.mobile-nav,
  .mobile-nav {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  .site-header {
    position: relative !important;
    z-index: 5000 !important;
  }

  .site-header .nav,
  header .nav {
    position: relative !important;
  }

  .desktop-nav {
    display: none !important;
  }

  .site-header .menu-toggle,
  .menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: 56px !important;
    height: 56px !important;
    margin-left: auto !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    color: #071a3a !important;
    font-size: 31px !important;
    line-height: 1 !important;
    box-shadow: 0 12px 30px rgba(7, 26, 58, 0.14) !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent;
  }

  #mobileMenu.mobile-nav,
  .mobile-nav {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 6px) !important;
    right: 14px !important;
    left: auto !important;
    z-index: 5001 !important;

    width: 158px !important;
    min-width: 0 !important;
    max-width: calc(100vw - 28px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 6px !important;
    border: 1px solid rgba(15, 48, 122, 0.13) !important;
    border-radius: 15px !important;
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 14px 32px rgba(7, 26, 58, 0.16) !important;
    text-align: left !important;
    overflow: hidden !important;
  }

  #mobileMenu.mobile-nav.open,
  #mobileMenu.mobile-nav.is-open,
  .mobile-nav.open,
  .mobile-nav.is-open {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  #mobileMenu.mobile-nav a,
  .mobile-nav a {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 8px 9px !important;
    border-radius: 9px !important;
    background: transparent !important;

    color: #071a3a !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.04em !important;
    text-align: left !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  #mobileMenu.mobile-nav a + a,
  .mobile-nav a + a {
    margin-top: 2px !important;
  }

  #mobileMenu.mobile-nav a:hover,
  #mobileMenu.mobile-nav a:focus,
  #mobileMenu.mobile-nav a:active,
  .mobile-nav a:hover,
  .mobile-nav a:focus,
  .mobile-nav a:active {
    background: #eef5ff !important;
    color: #0b4ecf !important;
    outline: none !important;
  }
}

@media screen and (max-width: 420px) {
  .site-header .menu-toggle,
  .menu-toggle {
    width: 52px !important;
    height: 52px !important;
    border-radius: 17px !important;
    font-size: 29px !important;
  }

  #mobileMenu.mobile-nav,
  .mobile-nav {
    right: 10px !important;
    width: 150px !important;
    padding: 5px !important;
    border-radius: 14px !important;
  }

  #mobileMenu.mobile-nav a,
  .mobile-nav a {
    padding: 7px 8px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
  }
}

/* =========================================================
   MCAIT CONTENT UPGRADE v11
   기업 설명력·서비스 전달력 보강 섹션 스타일
   ========================================================= */

.mcait-solution-grid,
.mcait-audience-grid,
.mcait-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mcait-solution-card,
.mcait-audience-grid article,
.mcait-service-grid article,
.mcait-deliverable-list div {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  border: 1px solid rgba(28, 96, 180, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(0, 116, 255, 0.09), transparent 36%),
    linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 16px 38px rgba(11, 30, 63, 0.075);
}

.mcait-solution-card::before,
.mcait-audience-grid article::before,
.mcait-service-grid article::before,
.mcait-deliverable-list div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0b3dca 0%, #0aa7ff 100%);
}

.mcait-card-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(0, 93, 210, 0.09);
  color: #0b4ecf;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.03em;
}

.mcait-solution-card h3,
.mcait-audience-grid h3,
.mcait-service-grid h3 {
  margin: 0 0 12px;
  color: #071a3a;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.mcait-solution-card p,
.mcait-audience-grid p,
.mcait-service-grid p {
  margin: 0;
  color: #1c2e4c;
  font-size: 0.98rem;
  line-height: 1.72;
  word-break: keep-all;
}

.mcait-service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mcait-service-grid article ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.mcait-service-grid article li,
.mcait-contact-guide .check-list li {
  position: relative;
  padding-left: 24px;
  color: #263a5c;
  line-height: 1.65;
  word-break: keep-all;
}

.mcait-service-grid article li::before,
.mcait-contact-guide .check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #003fd1, #13a9ff);
  box-shadow: 0 0 0 5px rgba(0, 106, 255, 0.08);
}

.mcait-deliverable-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.mcait-deliverable-list strong {
  display: block;
  margin-bottom: 8px;
  color: #071a3a;
  font-size: 1.12rem;
}

.mcait-deliverable-list span {
  display: block;
  color: #334155;
  line-height: 1.6;
  word-break: keep-all;
}

.mcait-workflow-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.mcait-workflow-list li {
  position: relative;
  min-height: 140px;
  padding: 26px 20px 22px;
  border: 1px solid rgba(28, 96, 180, 0.14);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(11, 30, 63, 0.065);
}

.mcait-workflow-list li::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b3dca, #0aa7ff);
  color: #ffffff;
  font-weight: 850;
}

.mcait-workflow-list strong {
  display: block;
  margin-bottom: 8px;
  color: #071a3a;
  font-size: 1.08rem;
  line-height: 1.35;
}

.mcait-workflow-list span {
  display: block;
  color: #334155;
  font-size: 0.94rem;
  line-height: 1.55;
  word-break: keep-all;
}

.mcait-contact-guide h2 + .check-list {
  margin-top: 10px;
}

.mcait-contact-guide h2:not(:first-child) {
  margin-top: 28px;
}

@media screen and (max-width: 1024px) {
  .mcait-solution-grid,
  .mcait-audience-grid,
  .mcait-deliverable-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mcait-workflow-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 720px) {
  .mcait-solution-grid,
  .mcait-audience-grid,
  .mcait-service-grid,
  .mcait-deliverable-list,
  .mcait-workflow-list {
    grid-template-columns: 1fr;
  }

  .mcait-solution-card,
  .mcait-audience-grid article,
  .mcait-service-grid article,
  .mcait-deliverable-list div,
  .mcait-workflow-list li {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .mcait-workflow-list li {
    min-height: auto;
  }
}

/* 모바일 메뉴 v11: 이전 캐시/스타일 충돌 방지 */
@media screen and (max-width: 768px) {
  #mobileMenu.mobile-nav,
  .mobile-nav {
    right: 10px !important;
    left: auto !important;
    width: 150px !important;
    max-width: calc(100vw - 20px) !important;
    padding: 5px !important;
  }

  #mobileMenu.mobile-nav a,
  .mobile-nav a {
    padding: 7px 8px !important;
    font-size: 13px !important;
  }
}

/* =========================================================
   MCAIT PROTOTYPE EXPLAINER v12
   제작 예시 클릭 시 “AI가 무엇을 제공하는지” 고객이 이해하도록 설명 패널 추가
   ========================================================= */

.prototype-modal-body .prototype-explain-panel {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(28, 96, 180, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(0, 116, 255, 0.08), transparent 36%),
    linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 34px rgba(11, 30, 63, 0.07);
}

.prototype-explain-panel h4 {
  margin: 0 0 10px;
  color: #071a3a;
  font-size: 1.18rem;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.prototype-explain-panel .prototype-explain-summary {
  margin: 0 0 16px;
  color: #1c2e4c;
  font-size: 0.98rem;
  line-height: 1.72;
  word-break: keep-all;
}

.prototype-explain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.prototype-explain-grid article {
  padding: 15px 15px 14px;
  border: 1px solid rgba(28, 96, 180, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.prototype-explain-grid strong {
  display: block;
  margin-bottom: 7px;
  color: #0b4ecf;
  font-size: 0.88rem;
  line-height: 1.2;
}

.prototype-explain-grid span {
  display: block;
  color: #263a5c;
  font-size: 0.92rem;
  line-height: 1.55;
  word-break: keep-all;
}

.prototype-output-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.prototype-output-list li {
  padding: 7px 10px;
  border: 1px solid rgba(0, 91, 210, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: #0d3f9b;
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.15;
}

.prototype-modal-body .prototype-open-new {
  margin-top: 18px;
}

@media screen and (max-width: 720px) {
  .prototype-modal-body .prototype-explain-panel {
    margin-top: 18px;
    padding: 18px;
    border-radius: 18px;
  }

  .prototype-explain-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .prototype-explain-grid article {
    padding: 13px;
    border-radius: 14px;
  }

  .prototype-output-list {
    gap: 6px;
  }

  .prototype-output-list li {
    font-size: 0.8rem;
    padding: 6px 8px;
  }
}

/* =========================================================
   MCAIT PROTOTYPE MODAL VERTICAL v13
   제작 예시 모달을 좌우 2단이 아니라 이미지 아래 설명이 나오는 상하 구조로 강제
   ========================================================= */

.prototype-modal .prototype-modal-dialog,
#prototypeModal .prototype-modal-dialog {
  display: block !important;
  grid-template-columns: none !important;
  width: min(920px, calc(100vw - 40px)) !important;
  max-width: 920px !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  border-radius: 20px !important;
}

.prototype-modal .prototype-modal-media,
#prototypeModal .prototype-modal-media {
  width: 100% !important;
  min-height: 0 !important;
  max-height: 56vh !important;
  padding: 20px !important;
  box-sizing: border-box !important;
  background: #f3f6fb !important;
  border-bottom: 1px solid rgba(28, 96, 180, 0.10) !important;
}

.prototype-modal .prototype-modal-media img,
#prototypeModal .prototype-modal-media img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 52vh !important;
  object-fit: contain !important;
  border-radius: 16px !important;
}

.prototype-modal .prototype-modal-body,
#prototypeModal .prototype-modal-body {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 28px 30px 32px !important;
}

.prototype-modal-body .prototype-explain-panel,
#prototypeModal .prototype-explain-panel {
  width: 100% !important;
  box-sizing: border-box !important;
  clear: both !important;
}

.prototype-modal-body .prototype-open-new,
#prototypeModal .prototype-open-new {
  display: inline-flex !important;
  margin-top: 18px !important;
}

@media screen and (max-width: 760px) {
  .prototype-modal,
  #prototypeModal {
    align-items: flex-start !important;
    padding: 10px !important;
    padding-top: 18px !important;
  }

  .prototype-modal .prototype-modal-dialog,
  #prototypeModal .prototype-modal-dialog {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    max-height: 88vh !important;
    border-radius: 16px !important;
  }

  .prototype-modal .prototype-modal-media,
  #prototypeModal .prototype-modal-media {
    max-height: 42vh !important;
    padding: 12px !important;
  }

  .prototype-modal .prototype-modal-media img,
  #prototypeModal .prototype-modal-media img {
    max-height: 38vh !important;
    border-radius: 12px !important;
  }

  .prototype-modal .prototype-modal-body,
  #prototypeModal .prototype-modal-body {
    padding: 20px 18px 24px !important;
  }
}

/* =========================================================
   MCAIT FOOTER LOGO v16
   footer 오른쪽 링크 영역 위에 MCAIT 로고 추가
   ========================================================= */

.site-footer.mcait-footer-simple .footer-links.mcait-footer-links,
.site-footer .footer-links.mcait-footer-links,
.mcait-footer-links {
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  text-align: right !important;
}

.mcait-footer-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin: 0 0 4px !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.mcait-footer-logo {
  display: block !important;
  width: auto !important;
  height: 42px !important;
  max-width: 210px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) opacity(0.95) !important;
}

.mcait-footer-link-row {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px 14px !important;
  flex-wrap: wrap !important;
}

.site-footer.mcait-footer-simple .footer-links.mcait-footer-links > span,
.site-footer .footer-links.mcait-footer-links > span,
.mcait-footer-links > span {
  display: block !important;
  flex-basis: auto !important;
  width: 100% !important;
  text-align: right !important;
}

/* footer logo mobile */
@media screen and (max-width: 760px) {
  .site-footer.mcait-footer-simple .footer-links.mcait-footer-links,
  .site-footer .footer-links.mcait-footer-links,
  .mcait-footer-links {
    align-items: flex-start !important;
    text-align: left !important;
    margin-top: 18px !important;
  }

  .mcait-footer-logo-link {
    justify-content: flex-start !important;
    margin-bottom: 6px !important;
  }

  .mcait-footer-logo {
    height: 36px !important;
    max-width: 185px !important;
  }

  .mcait-footer-link-row {
    justify-content: flex-start !important;
  }

  .site-footer.mcait-footer-simple .footer-links.mcait-footer-links > span,
  .site-footer .footer-links.mcait-footer-links > span,
  .mcait-footer-links > span {
    text-align: left !important;
  }
}

/* =========================================================
   MCAIT FOOTER LOGO GRAY TONE v17
   footer 로고를 순백색이 아닌 은은한 그레이톤으로 보정
   ========================================================= */

.site-footer .mcait-footer-logo,
.site-footer.mcait-footer-simple .mcait-footer-logo,
.mcait-footer-logo {
  filter: brightness(0) invert(82%) !important;
  opacity: 0.92 !important;
}

.site-footer .mcait-footer-logo-link:hover .mcait-footer-logo,
.site-footer .mcait-footer-logo-link:focus .mcait-footer-logo,
.mcait-footer-logo-link:hover .mcait-footer-logo,
.mcait-footer-logo-link:focus .mcait-footer-logo {
  filter: brightness(0) invert(94%) !important;
  opacity: 1 !important;
}

/* =========================================================
   MCAIT FOOTER TONE BALANCE v18
   footer 로고 크기 축소 + 왼쪽 흰색 글자 톤을 오른쪽과 맞춰 낮춤
   ========================================================= */

/* 로고 크기: v16/v17보다 한 단계 작게 */
.site-footer .mcait-footer-logo,
.site-footer.mcait-footer-simple .mcait-footer-logo,
.mcait-footer-logo {
  height: 32px !important;
  max-width: 168px !important;
  filter: brightness(0) invert(78%) !important;
  opacity: 0.90 !important;
}

/* hover 시에만 살짝 밝아지도록 */
.site-footer .mcait-footer-logo-link:hover .mcait-footer-logo,
.site-footer .mcait-footer-logo-link:focus .mcait-footer-logo,
.mcait-footer-logo-link:hover .mcait-footer-logo,
.mcait-footer-logo-link:focus .mcait-footer-logo {
  filter: brightness(0) invert(88%) !important;
  opacity: 0.98 !important;
}

/* 왼쪽 상호명: 순백색에서 부드러운 그레이톤으로 */
.site-footer.mcait-footer-simple .mcait-footer-main strong,
.site-footer .mcait-footer-main strong,
.mcait-footer-main strong {
  color: #d6dde8 !important;
}

/* 왼쪽 영문 의미 문장 */
.site-footer.mcait-footer-simple .mcait-footer-main > span,
.site-footer .mcait-footer-main > span,
.mcait-footer-main > span {
  color: #aeb8c7 !important;
}

/* 사업자 정보 전체 톤 */
.site-footer.mcait-footer-simple .mcait-footer-business,
.site-footer .mcait-footer-business,
.mcait-footer-business {
  color: #b7c0ce !important;
}

/* 대표자, 사업자등록번호, 주소 등 라벨도 순백색에서 낮춤 */
.site-footer.mcait-footer-simple .mcait-footer-business b,
.site-footer .mcait-footer-business b,
.mcait-footer-business b {
  color: #d2d9e4 !important;
  font-weight: 700 !important;
}

/* 전화 링크도 전체 톤과 자연스럽게 */
.site-footer.mcait-footer-simple .mcait-footer-business a,
.site-footer .mcait-footer-business a,
.mcait-footer-business a {
  color: #c3ccd8 !important;
}

/* footer 오른쪽 링크와 copyright도 좌우 균형감 있게 약간 정돈 */
.site-footer.mcait-footer-simple .footer-links,
.site-footer .footer-links,
.mcait-footer-links {
  color: #b7c0ce !important;
}

.site-footer.mcait-footer-simple .footer-links span,
.site-footer .footer-links span,
.mcait-footer-links span {
  color: #8f9aaa !important;
}

@media screen and (max-width: 760px) {
  .site-footer .mcait-footer-logo,
  .site-footer.mcait-footer-simple .mcait-footer-logo,
  .mcait-footer-logo {
    height: 28px !important;
    max-width: 148px !important;
  }
}

/* =========================================================
   MCAIT PROTOTYPE CARD LAYOUT v19
   업종별 제작예시를 5열 빽빽한 목록에서 정돈된 대표 3열 카드형으로 개선
   ========================================================= */

.mcait-prototype-category-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: -6px 0 30px;
}

.mcait-prototype-category-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 13px;
  border: 1px solid rgba(0, 91, 210, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: #0d3f9b;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(11, 30, 63, 0.045);
}

.prototype-compact-grid.mcait-prototype-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 26px !important;
  align-items: stretch !important;
}

.prototype-compact-grid.mcait-prototype-feature-grid .prototype-mini-card,
.prototype-compact-grid.mcait-prototype-extra-grid .prototype-mini-card {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(28, 96, 180, 0.12) !important;
  border-radius: 26px !important;
  background:
    radial-gradient(circle at top right, rgba(0, 116, 255, 0.07), transparent 36%),
    linear-gradient(145deg, #ffffff 0%, #f8fbff 100%) !important;
  box-shadow: 0 18px 46px rgba(11, 30, 63, 0.08) !important;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

.prototype-compact-grid.mcait-prototype-feature-grid .prototype-mini-card:hover,
.prototype-compact-grid.mcait-prototype-extra-grid .prototype-mini-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(0, 106, 255, 0.24) !important;
  box-shadow: 0 26px 60px rgba(11, 30, 63, 0.12) !important;
}

.prototype-compact-grid.mcait-prototype-feature-grid .prototype-mini-card img,
.prototype-compact-grid.mcait-prototype-extra-grid .prototype-mini-card img {
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: top center !important;
  background: #eef4ff !important;
  border-bottom: 1px solid rgba(28, 96, 180, 0.09) !important;
}

.prototype-compact-grid.mcait-prototype-feature-grid .prototype-mini-text,
.prototype-compact-grid.mcait-prototype-extra-grid .prototype-mini-text {
  padding: 22px 22px 24px !important;
}

.prototype-compact-grid.mcait-prototype-feature-grid .prototype-mini-text .tag,
.prototype-compact-grid.mcait-prototype-extra-grid .prototype-mini-text .tag {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 28px !important;
  margin-bottom: 12px !important;
  padding: 6px 11px !important;
  border-radius: 999px !important;
  background: rgba(0, 93, 210, 0.08) !important;
  color: #0b4ecf !important;
  font-size: 0.78rem !important;
  font-weight: 850 !important;
  letter-spacing: -0.01em !important;
}

.prototype-compact-grid.mcait-prototype-feature-grid .prototype-mini-text h3,
.prototype-compact-grid.mcait-prototype-extra-grid .prototype-mini-text h3 {
  margin: 0 0 12px !important;
  color: #071a3a !important;
  font-size: 1.24rem !important;
  line-height: 1.28 !important;
  letter-spacing: -0.045em !important;
}

.prototype-compact-grid.mcait-prototype-feature-grid .prototype-mini-text p,
.prototype-compact-grid.mcait-prototype-extra-grid .prototype-mini-text p {
  margin: 0 !important;
  color: #334155 !important;
  font-size: 0.96rem !important;
  line-height: 1.68 !important;
  word-break: keep-all !important;
}

/* 대표 9개는 더 여유 있게 */
.prototype-compact-grid.mcait-prototype-feature-grid .prototype-mini-card:first-child {
  border-color: rgba(0, 106, 255, 0.18) !important;
}

/* 더 많은 제작 예시 */
.mcait-more-prototypes {
  margin-top: 34px;
  text-align: center;
}

.mcait-more-prototypes > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(0, 91, 210, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: #0b4ecf;
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(11, 30, 63, 0.07);
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(37, 99, 235, .16);
}

.mcait-more-prototypes > summary::-webkit-details-marker {
  display: none;
}

.mcait-more-prototypes > summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: 10px;
  border-radius: 999px;
  background: rgba(0, 93, 210, 0.09);
  color: #0b4ecf;
  font-size: 1rem;
  line-height: 1;
}

.mcait-more-prototypes[open] > summary::after {
  content: "–";
}

.mcait-more-prototypes[open] > summary {
  margin-bottom: 26px;
  background: #0b4ecf;
  color: #ffffff;
}

.mcait-more-prototypes[open] > summary::after {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.prototype-compact-grid.mcait-prototype-extra-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
  text-align: left !important;
}

.prototype-compact-grid.mcait-prototype-extra-grid .prototype-mini-text {
  padding: 18px 18px 20px !important;
}

.prototype-compact-grid.mcait-prototype-extra-grid .prototype-mini-text h3 {
  font-size: 1.08rem !important;
}

.prototype-compact-grid.mcait-prototype-extra-grid .prototype-mini-text p {
  font-size: 0.9rem !important;
}

@media screen and (max-width: 1100px) {
  .prototype-compact-grid.mcait-prototype-extra-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media screen and (max-width: 920px) {
  .prototype-compact-grid.mcait-prototype-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media screen and (max-width: 720px) {
  .mcait-prototype-category-strip {
    justify-content: flex-start;
    margin: -2px 0 22px;
  }

  .mcait-prototype-category-strip span {
    min-height: 30px;
    padding: 6px 11px;
    font-size: 0.82rem;
  }

  .prototype-compact-grid.mcait-prototype-feature-grid,
  .prototype-compact-grid.mcait-prototype-extra-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .prototype-compact-grid.mcait-prototype-feature-grid .prototype-mini-card,
  .prototype-compact-grid.mcait-prototype-extra-grid .prototype-mini-card {
    border-radius: 22px !important;
  }

  .prototype-compact-grid.mcait-prototype-feature-grid .prototype-mini-text,
  .prototype-compact-grid.mcait-prototype-extra-grid .prototype-mini-text {
    padding: 20px 18px 22px !important;
  }

  .mcait-more-prototypes {
    margin-top: 26px;
  }

  .mcait-more-prototypes > summary {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
  }
}

/* =========================================================
   MCAIT SUBPAGE VISUAL HERO v20
   첫 화면 외 서브페이지 상단에 고급 고정형 이미지 배너 추가
   ========================================================= */

.page-hero.mcait-sub-visual-hero {
  position: relative !important;
  min-height: 390px !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  background: #071a3a !important;
  color: #ffffff !important;
}

.mcait-sub-visual-media {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
}

.mcait-sub-visual-media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: scale(1.02) !important;
  filter: saturate(0.92) contrast(1.02) brightness(0.82) !important;
}

.mcait-sub-visual-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background:
    radial-gradient(circle at 74% 28%, rgba(0, 142, 255, 0.28), transparent 34%),
    linear-gradient(90deg, rgba(5, 13, 32, 0.86) 0%, rgba(5, 16, 38, 0.72) 45%, rgba(5, 16, 38, 0.38) 100%) !important;
}

.mcait-sub-visual-content {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  padding-top: 78px !important;
  padding-bottom: 72px !important;
}

.mcait-sub-visual-hero .kicker,
.mcait-sub-visual-hero .mcait-sub-hero-badge {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 32px !important;
  margin: 0 8px 18px 0 !important;
  padding: 7px 13px !important;
  border: 1px solid rgba(255, 255, 255, 0.20) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.82rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.04em !important;
  backdrop-filter: blur(10px) !important;
}

.mcait-sub-visual-hero h1 {
  max-width: 760px !important;
  margin: 0 0 20px !important;
  color: #ffffff !important;
  font-size: clamp(2.25rem, 4.8vw, 4.6rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.065em !important;
  text-shadow: 0 16px 34px rgba(0, 0, 0, 0.28) !important;
  word-break: keep-all !important;
}

.mcait-sub-visual-hero p {
  max-width: 720px !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: clamp(1rem, 1.45vw, 1.17rem) !important;
  line-height: 1.78 !important;
  word-break: keep-all !important;
}

/* 페이지별로 미세한 초점 조정 */
.mcait-sub-hero-about .mcait-sub-visual-media img {
  object-position: center center !important;
}

.mcait-sub-hero-service .mcait-sub-visual-media img {
  object-position: center center !important;
}

.mcait-sub-hero-contact .mcait-sub-visual-media img {
  object-position: center center !important;
}

.mcait-sub-hero-privacy {
  min-height: 320px !important;
}

.mcait-sub-hero-privacy .mcait-sub-visual-media img {
  filter: saturate(0.72) contrast(1.02) brightness(0.70) !important;
}

.mcait-sub-hero-privacy .mcait-sub-visual-overlay {
  background:
    linear-gradient(90deg, rgba(5, 13, 32, 0.90) 0%, rgba(5, 16, 38, 0.74) 48%, rgba(5, 16, 38, 0.48) 100%) !important;
}

/* 서브페이지 이미지 배너 다음 본문이 너무 붙지 않도록 */
.subpage .page-hero.mcait-sub-visual-hero + .section {
  margin-top: 0 !important;
}

/* 모바일에서는 본문이 빨리 보이도록 높이 축소 */
@media screen and (max-width: 820px) {
  .page-hero.mcait-sub-visual-hero {
    min-height: 300px !important;
  }

  .mcait-sub-visual-overlay {
    background:
      radial-gradient(circle at 80% 18%, rgba(0, 142, 255, 0.22), transparent 36%),
      linear-gradient(90deg, rgba(5, 13, 32, 0.88) 0%, rgba(5, 16, 38, 0.72) 100%) !important;
  }

  .mcait-sub-visual-content {
    padding-top: 62px !important;
    padding-bottom: 52px !important;
  }

  .mcait-sub-visual-hero h1 {
    max-width: 94% !important;
    margin-bottom: 16px !important;
    font-size: clamp(2rem, 8vw, 3.1rem) !important;
  }

  .mcait-sub-visual-hero p {
    max-width: 94% !important;
    font-size: 0.98rem !important;
    line-height: 1.68 !important;
  }

  .mcait-sub-visual-hero .kicker,
  .mcait-sub-visual-hero .mcait-sub-hero-badge {
    min-height: 29px !important;
    margin-bottom: 12px !important;
    padding: 6px 11px !important;
    font-size: 0.75rem !important;
  }

  .mcait-sub-hero-privacy {
    min-height: 260px !important;
  }
}

@media screen and (max-width: 480px) {
  .page-hero.mcait-sub-visual-hero {
    min-height: 270px !important;
  }

  .mcait-sub-visual-content {
    padding-top: 54px !important;
    padding-bottom: 44px !important;
  }

  .mcait-sub-visual-hero h1 {
    font-size: 2rem !important;
    line-height: 1.14 !important;
  }

  .mcait-sub-visual-hero p {
    font-size: 0.93rem !important;
  }
}

/* =========================================================
   MCAIT SUBPAGE HERO TONE v21
   서브페이지 상단 이미지 배너 제목 크기·색감·정렬 개선
   Cross-browser responsive patch
   ========================================================= */

/* 서브페이지 배너는 첫 화면보다 절제된 높이와 톤으로 */
.page-hero.mcait-sub-visual-hero {
  min-height: 340px !important;
}

/* 텍스트가 화면 왼쪽에 붙어 보이지 않도록 container 폭과 좌우 여백 강제 */
.page-hero.mcait-sub-visual-hero .mcait-sub-visual-content,
.page-hero.mcait-sub-visual-hero .container.mcait-sub-visual-content {
  width: min(1180px, calc(100% - 64px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-top: 62px !important;
  padding-bottom: 58px !important;
  padding-left: clamp(24px, 3.6vw, 54px) !important;
  padding-right: clamp(24px, 3.6vw, 54px) !important;
  box-sizing: border-box !important;
}

/* 배경이 강할 때도 제목이 과하게 튀지 않도록 연한 블루 화이트 톤 */
.page-hero.mcait-sub-visual-hero h1 {
  max-width: 760px !important;
  margin: 0 0 18px !important;
  color: #dbeafe !important;
  font-size: clamp(2rem, 3.4vw, 3.25rem) !important;
  font-weight: 800 !important;
  line-height: 1.16 !important;
  letter-spacing: -0.055em !important;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.24) !important;
  word-break: keep-all !important;
}

/* 설명문도 순백색 대신 부드러운 블루그레이 */
.page-hero.mcait-sub-visual-hero p {
  max-width: 720px !important;
  color: #c7d7ee !important;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem) !important;
  font-weight: 500 !important;
  line-height: 1.76 !important;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.20) !important;
}

/* 배지 색상도 흰색 강조를 낮춰 전체 톤과 맞춤 */
.page-hero.mcait-sub-visual-hero .kicker,
.page-hero.mcait-sub-visual-hero .mcait-sub-hero-badge {
  min-height: 30px !important;
  margin: 0 8px 16px 0 !important;
  padding: 6px 12px !important;
  border: 1px solid rgba(191, 219, 254, 0.24) !important;
  background: rgba(15, 35, 72, 0.34) !important;
  color: #bdd7ff !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.035em !important;
  -webkit-backdrop-filter: blur(10px) !important;
  backdrop-filter: blur(10px) !important;
}

/* 배경 오버레이도 왼쪽 글자가 읽히면서 너무 무겁지 않게 정리 */
.page-hero.mcait-sub-visual-hero .mcait-sub-visual-overlay {
  background:
    radial-gradient(circle at 75% 28%, rgba(0, 142, 255, 0.22), transparent 34%),
    linear-gradient(90deg, rgba(5, 13, 32, 0.84) 0%, rgba(5, 16, 38, 0.66) 46%, rgba(5, 16, 38, 0.36) 100%) !important;
}

/* 이미지의 채도를 살짝 낮춰 텍스트와 충돌하지 않도록 */
.page-hero.mcait-sub-visual-hero .mcait-sub-visual-media img {
  filter: saturate(0.86) contrast(1.02) brightness(0.78) !important;
}

/* 큰 모니터에서 글자가 너무 왼쪽으로 밀리지 않도록 살짝 안쪽으로 */
@media screen and (min-width: 1280px) {
  .page-hero.mcait-sub-visual-hero .mcait-sub-visual-content,
  .page-hero.mcait-sub-visual-hero .container.mcait-sub-visual-content {
    padding-left: 72px !important;
    padding-right: 72px !important;
  }
}

/* 태블릿 */
@media screen and (max-width: 1024px) {
  .page-hero.mcait-sub-visual-hero {
    min-height: 310px !important;
  }

  .page-hero.mcait-sub-visual-hero .mcait-sub-visual-content,
  .page-hero.mcait-sub-visual-hero .container.mcait-sub-visual-content {
    width: min(100% - 40px, 960px) !important;
    padding-left: 26px !important;
    padding-right: 26px !important;
    padding-top: 56px !important;
    padding-bottom: 52px !important;
  }

  .page-hero.mcait-sub-visual-hero h1 {
    max-width: 680px !important;
    font-size: clamp(1.9rem, 4.8vw, 2.75rem) !important;
  }
}

/* 모바일: 본문이 빨리 보이도록 높이와 글자 크기 조정 */
@media screen and (max-width: 720px) {
  .page-hero.mcait-sub-visual-hero {
    min-height: 260px !important;
  }

  .page-hero.mcait-sub-visual-hero .mcait-sub-visual-content,
  .page-hero.mcait-sub-visual-hero .container.mcait-sub-visual-content {
    width: calc(100% - 28px) !important;
    padding: 46px 18px 42px !important;
  }

  .page-hero.mcait-sub-visual-hero h1 {
    max-width: 100% !important;
    margin-bottom: 14px !important;
    color: #e1efff !important;
    font-size: clamp(1.75rem, 7.2vw, 2.25rem) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.048em !important;
  }

  .page-hero.mcait-sub-visual-hero p {
    max-width: 100% !important;
    color: #cfdef2 !important;
    font-size: 0.93rem !important;
    line-height: 1.66 !important;
  }

  .page-hero.mcait-sub-visual-hero .kicker,
  .page-hero.mcait-sub-visual-hero .mcait-sub-hero-badge {
    min-height: 28px !important;
    margin-bottom: 10px !important;
    padding: 5px 10px !important;
    font-size: 0.72rem !important;
  }

  .page-hero.mcait-sub-visual-hero .mcait-sub-visual-overlay {
    background:
      linear-gradient(90deg, rgba(5, 13, 32, 0.88) 0%, rgba(5, 16, 38, 0.70) 100%) !important;
  }
}

/* 작은 모바일 */
@media screen and (max-width: 420px) {
  .page-hero.mcait-sub-visual-hero {
    min-height: 238px !important;
  }

  .page-hero.mcait-sub-visual-hero .mcait-sub-visual-content,
  .page-hero.mcait-sub-visual-hero .container.mcait-sub-visual-content {
    width: calc(100% - 22px) !important;
    padding: 40px 14px 38px !important;
  }

  .page-hero.mcait-sub-visual-hero h1 {
    font-size: 1.62rem !important;
  }

  .page-hero.mcait-sub-visual-hero p {
    font-size: 0.89rem !important;
  }
}
