/* Add-on styles. Keep your existing portfolio style.css unchanged. */
.work-image.image-web-chit-chat-corner {
  background-color: #f7f3e9;
  background-image: url('work_imgs/chit-chat-corner.svg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.project-chit-chat-corner .ccc-feature { width: 100%; min-width: 0; }
.project-chit-chat-corner .ccc-demo {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid #33372e35;
  background: #f7f3e9;
  color: #33372e;
  font-family: 'Outfit', sans-serif;
}
.project-chit-chat-corner .ccc-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 16px 22px;
  border-bottom: 1px solid #33372e25;
  font-size: 13px;
  line-height: 1.5;
}
.project-chit-chat-corner .ccc-toolbar-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.project-chit-chat-corner .ccc-toolbar a,
.project-chit-chat-corner .ccc-fallback a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.project-chit-chat-corner .ccc-pause {
  color: inherit;
  font: inherit;
  cursor: pointer;
  background: none;
  border: 1px solid #33372e65;
  border-radius: 30px;
  padding: 7px 12px;
}
.project-chit-chat-corner [hidden] { display: none !important; }
.project-chit-chat-corner .ccc-stage {
  position: relative;
  height: clamp(540px, 58vw, 850px);
  background: #f7f3e9;
  isolation: isolate;
}
.project-chit-chat-corner .ccc-frame-wrap { position: absolute; inset: 0; }
.project-chit-chat-corner .ccc-frame-wrap[inert] { pointer-events: none; }
.project-chit-chat-corner .ccc-frame {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border: 0;
}
.project-chit-chat-corner .ccc-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 0;
  cursor: pointer;
  color: #33372e;
  background: #f7f3e9;
  font: inherit;
  text-align: center;
}
.project-chit-chat-corner .ccc-cover::before,
.project-chit-chat-corner .ccc-cover::after {
  content: '✳';
  position: absolute;
  color: #c0b05b;
  font-size: clamp(45px, 7vw, 95px);
  font-weight: normal;
  transform: rotate(-15deg);
  pointer-events: none;
}
.project-chit-chat-corner .ccc-cover::before { left: 11%; top: 17%; color: #94bebb; }
.project-chit-chat-corner .ccc-cover::after { right: 10%; bottom: 15%; color: #e36559; transform: rotate(14deg); }
.project-chit-chat-corner .ccc-cover-star { font-size: 35px; line-height: 1; color: #c0b05b; }
.project-chit-chat-corner .ccc-cover-title {
  font: italic clamp(40px, 5.5vw, 76px)/1.06 'Outfit', sans-serif;
  font-weight: 400;
  letter-spacing: -2px;
}
.project-chit-chat-corner .ccc-cover-cta {
  border: 1px solid #33372e;
  border-radius: 40px;
  padding: 13px 23px;
  font-size: 14px;
  transition: background-color .2s ease;
}
.project-chit-chat-corner .ccc-cover:hover .ccc-cover-cta { background: #f5d99c; }
.project-chit-chat-corner .ccc-cover-note { font-size: 12px; line-height: 1.7; }
.project-chit-chat-corner .ccc-caption { padding: 16px 22px; font-size: 12px; line-height: 1.7; border-top: 1px solid #33372e25; }
.project-chit-chat-corner .ccc-fallback { font: 12px/1.7 'Outfit', sans-serif; margin: 14px 0 0; }
.project-chit-chat-corner .ccc-cover:focus-visible,
.project-chit-chat-corner .ccc-pause:focus-visible,
.project-chit-chat-corner .ccc-toolbar a:focus-visible { outline: 2px solid #23617e; outline-offset: -5px; }
@media (max-width: 650px) {
  .project-chit-chat-corner .ccc-stage { height: 600px; height: min(700px, 80svh); min-height: 500px; }
  .project-chit-chat-corner .ccc-toolbar { padding: 14px 16px; }
  .project-chit-chat-corner .ccc-caption { padding: 14px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .project-chit-chat-corner .ccc-cover-cta { transition: none; }
}
