/* Karuzip 3.1.0 Roadmap Compact Showcase Carousel (JA / EN / KO shared) */
.rm310-wrap {
  box-sizing: border-box;
  max-width: 1128px;
  margin: 0 auto;
  padding: 0 clamp(12px, 2.4vw, 24px);
}
.rm310-sec {
  margin: 28px 0 8px;
}
.rm310 {
  box-sizing: border-box;
  width: 100%;
  background: linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 100%);
  border: 1px solid #D5E3F6;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 8px 26px rgba(29, 38, 50, 0.055);
}
.rm310-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.rm310-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.rm310-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #2B6FD6;
  color: #FFFFFF;
  font-family: var(--font-display, inherit);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.rm310-head h2 {
  margin: 0 !important;
  font-family: var(--font-display, inherit);
  font-size: 17.5px !important;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.2px;
  color: #1D2632;
}
.rm310-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.rm310-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: #EEF3FA;
  border: 1px solid #DCE6F3;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.rm310-tabs::-webkit-scrollbar {
  display: none;
}
.rm310-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: #4A596D;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.rm310-tab:hover {
  color: #1D2632;
}
.rm310-tab[aria-selected="true"] {
  background: #FFFFFF;
  color: #225BB0;
  box-shadow: 0 1px 4px rgba(29, 38, 50, 0.10);
}
.rm310-tab:focus-visible,
.rm310-arrow:focus-visible,
.rm310-dot:focus-visible {
  outline: 2px solid #2B6FD6;
  outline-offset: 2px;
}
.rm310-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.rm310-count {
  font-family: var(--font-display, inherit);
  font-size: 12px;
  font-weight: 700;
  color: #5C6B7E;
  min-width: 34px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.rm310-arrow {
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #CFDDF0;
  background: #FFFFFF;
  color: #1D2632;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  font-size: 15px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.rm310-arrow:hover {
  background: #F0F6FF;
  border-color: #9EC0EE;
}
.rm310-viewport {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border-radius: 12px;
  gap: 16px;
}
.rm310-viewport::-webkit-scrollbar {
  display: none;
}
.rm310-slide {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}
.rm310-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 304px;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid #D8E4F3;
  background: #EEF3FA;
  margin: 0;
}
.rm310-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rm310-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rm310-kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #225BB0;
  background: #EAF2FD;
  border: 1px solid #CFE0F7;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.rm310-body h3 {
  margin: 0 0 8px !important;
  font-family: var(--font-display, inherit);
  font-size: 16.5px !important;
  font-weight: 700;
  line-height: 1.45;
  color: #1D2632;
}
.rm310-body p {
  margin: 0 0 12px !important;
  font-size: 13.5px !important;
  line-height: 1.75 !important;
  color: #425267;
}
.rm310-tags {
  list-style: none !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.rm310-tags li {
  margin: 0 !important;
  padding: 4px 10px !important;
  border-radius: 7px;
  background: #F4F7FB;
  border: 1px solid #E2E9F2;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: #2A3748;
}
.rm310-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.rm310-dot {
  appearance: none;
  width: 18px;
  height: 6px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #CFD9E6;
  cursor: pointer;
  transition: width 0.18s ease, background-color 0.18s ease;
}
.rm310-dot[aria-current="true"] {
  width: 28px;
  background: #2B6FD6;
}
@media (max-width: 900px) {
  .rm310 {
    padding: 14px 15px;
  }
  .rm310-slide {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .rm310-media {
    max-height: none;
  }
  .rm310-head h2 {
    font-size: 16px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rm310-viewport {
    scroll-behavior: auto;
  }
  .rm310-tab,
  .rm310-arrow,
  .rm310-dot {
    transition: none;
  }
}
