/* Shared creative brand applied only to catalog/detail/comparison routes. */
.acg-journey .container {
  width: min(1240px, calc(100% - 48px));
  max-width: none;
  padding-block: 26px 54px;
}
.acg-journey .breadcrumbs {
  margin: 0 0 18px;
  font-size: 12px;
}
.acg-journey .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.acg-journey .breadcrumbs a {
  color: #5542bd;
}
.cj-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 35px;
  align-items: center;
  padding: 28px 34px;
  background: #f4f5ff;
  border: 1px solid #e9eafb;
  border-radius: 18px;
  overflow: hidden;
}
.cj-banner h1 {
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.4;
  letter-spacing: -0.03em;
  margin: 8px 0 15px;
  max-width: none;
}
.cj-banner p {
  font-size: 14px;
  color: #53617a;
  margin: 0;
  line-height: 1.9;
}
.cj-banner img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
}
.cj-browse {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 22px 0;
}
.cj-browse > a:not(.cg-button) {
  border: 1px solid #e2e5f3;
  border-radius: 25px;
  padding: 9px 18px;
  color: #423594;
  font-size: 13px;
  font-weight: 700;
  background: white;
}
.acg-journey .filter-panel {
  margin: 22px 0 30px;
  padding: 24px;
  background: #f8f9fd;
  border: 1px solid #e7eaf3;
  border-radius: 14px;
}
.acg-journey .filter-panel legend {
  font-weight: 700;
  font-size: 14px;
}
.acg-journey .filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.acg-journey .filter-grid label,
.cj-search label,
.cj-selection label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #303950;
}
.acg-journey select,
.cj-search input {
  max-width: 100%;
  width: 100%;
  border: 1px solid #dce1ef;
  border-radius: 8px;
  padding: 11px;
  background: white;
  color: #283650;
  font-size: 14px;
}
.cj-search {
  margin-bottom: 20px;
}
.cj-search input {
  width: min(620px, 100%);
}
.acg-journey .filter-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
}
.acg-journey .filter-actions button {
  background: var(--cg-gradient);
  color: white;
  border: 0;
  border-radius: 24px;
  padding: 11px 25px;
  font-size: 14px;
}
.acg-journey .cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.acg-journey .content-card {
  min-width: 0;
  position: relative;
  background: white;
  border: 1px solid #e4e8f2;
  border-radius: 13px;
  padding: 20px;
  box-shadow: 0 5px 20px #2d40600a;
  overflow: hidden;
}
.cj-card-art {
  display: block;
  width: calc(100% + 40px);
  max-width: none;
  height: 130px;
  object-fit: cover;
  margin: -20px -20px 15px;
}
.acg-journey .content-card h3 {
  font-size: 19px;
  line-height: 1.55;
  margin: 10px 0;
}
.acg-journey .content-card h3 a {
  color: #18213a;
}
.acg-journey .content-card p {
  font-size: 13px;
  color: #56627a;
  line-height: 1.8;
}
.acg-journey .card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.acg-journey .tag,
.acg-journey .sample-label {
  font-size: 10px;
  padding: 3px 7px;
  background: #eee9fc;
  color: #5735a5;
  border-radius: 5px;
}
.acg-journey .sample-label {
  background: #fff0d9;
  color: #905100;
}
.acg-journey .card-bottom {
  color: #58647d;
  font-size: 11px;
}
.cj-genre-art {
  height: 180px;
  border-radius: 15px;
  overflow: hidden;
  margin-top: 20px;
}
.cj-genre-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.acg-journey .detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 35px;
  margin-top: 30px;
}
.acg-journey .prose {
  min-width: 0;
  line-height: 1.9;
  font-size: 15px;
}
.acg-journey .prose h2 {
  font-size: 23px;
  line-height: 1.5;
  margin: 28px 0 12px;
  border-left: 4px solid #7452ef;
  padding-left: 12px;
}
.acg-journey .info-panel {
  align-self: start;
  border: 1px solid #e5e6f3;
  background: #f7f8fd;
  border-radius: 13px;
  padding: 22px;
}
.acg-journey .info-panel h2 {
  font-size: 19px;
  margin: 0 0 14px;
}
.acg-journey .info-panel dt {
  font-size: 12px;
  color: #58647b;
  margin-top: 13px;
}
.acg-journey .info-panel dd {
  margin: 4px 0;
  color: #26334d;
  overflow-wrap: anywhere;
}
.acg-journey .notice {
  font-size: 13px;
  line-height: 1.8;
  border: 1px solid #f0d8a8;
  border-radius: 10px;
  background: #fff8e9;
  color: #79501d;
  padding: 14px 18px;
}
.cj-selection {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin: 28px 0;
}
.cj-selection button {
  border: 0;
  cursor: pointer;
  min-height: 44px;
}
.cj-selection select {
  min-height: 44px;
}
.cj-empty {
  border: 1px solid #e4e8f3;
  padding: 24px;
  border-radius: 14px;
  background: #f8f9fe;
  margin: 24px 0;
}
.cj-empty h2 {
  font-size: 22px;
  line-height: 1.5;
  margin: 0 0 10px;
}
.cj-empty p {
  font-size: 14px;
  color: #53617b;
}
.cj-comparison-frame {
  border: 1px solid #e4e8f3;
  border-radius: 14px;
  overflow: hidden;
}
.cj-comparison {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  min-width: 0;
  margin: 0;
  font-size: 14px;
}
.cj-comparison caption {
  text-align: left;
  padding: 15px 20px;
  color: #53617b;
  font-size: 12px;
  background: #f8f9fd;
}
.cj-comparison th,
.cj-comparison td {
  padding: 20px;
  border: 1px solid #e8ebf5;
  vertical-align: top;
  text-align: left;
  overflow-wrap: anywhere;
}
.cj-comparison thead th {
  background: #f4f4ff;
  font-size: 18px;
}
.cj-comparison th:first-child {
  width: 150px;
  font-size: 13px;
  background: #fafbfe;
}
.cj-comparison td p {
  margin: 0;
}
.cj-comparison .verified-facts {
  padding-left: 18px;
  margin: 0;
}
.cj-comparison small {
  font-size: 11px;
  line-height: 1.6;
}
.cj-sample {
  display: block;
  color: #875000;
  font-size: 11px;
  font-weight: 500;
  margin-top: 7px;
}
.cj-next {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 13px;
  color: #4938a5;
}
.cj-preview {
  padding: 26px 30px;
  border: 1px solid #e4e5f5;
  background: #f5f5fe;
  border-radius: 15px;
  margin: 30px 0;
}
.cj-preview h2 {
  font-size: 24px;
  line-height: 1.5;
  margin: 0 0 12px;
}
.cj-preview p {
  font-size: 13px;
  line-height: 1.8;
  color: #54627c;
}
.cj-preview ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.cj-preview li {
  background: white;
  border: 1px solid #e2e5f2;
  border-radius: 8px;
  margin-bottom: 10px;
}
.cj-preview li a {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  padding: 13px 16px;
  font-size: 14px;
  color: #30265f;
}
.cj-preview li span {
  font-size: 11px;
  white-space: nowrap;
  color: #63548a;
}
.cj-back {
  display: inline-block;
  margin-top: 20px;
  color: #4b3c9c;
  font-size: 14px;
}
@media (max-width: 959px) {
  .cj-banner {
    padding: 22px;
    gap: 20px;
  }
  .cj-banner img {
    height: 160px;
  }
  .acg-journey .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .acg-journey .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .acg-journey .detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .cj-selection {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .cj-selection button {
    grid-column: 1 / -1;
  }
}
@media (max-width: 599px) {
  .acg-journey .container {
    width: calc(100% - 32px);
    padding-block: 19px 35px;
  }
  .cj-banner {
    display: block;
    padding: 20px;
    border-radius: 13px;
  }
  .cj-banner h1 {
    font-size: 26px;
  }
  .cj-banner img {
    height: 105px;
    margin-top: 17px;
  }
  .cj-banner p {
    font-size: 12px;
  }
  .cj-browse {
    gap: 8px;
  }
  .cj-browse > a:not(.cg-button) {
    padding: 8px 12px;
    font-size: 12px;
  }
  .acg-journey .filter-panel {
    padding: 17px;
  }
  .acg-journey .filter-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .acg-journey .cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .acg-journey .filter-actions {
    flex-wrap: wrap;
    gap: 12px;
  }
  .acg-journey .content-card h3 {
    font-size: 18px;
  }
  .acg-journey .detail-layout {
    gap: 20px;
  }
  .acg-journey .prose {
    font-size: 14px;
  }
  .acg-journey .prose h2 {
    font-size: 21px;
  }
  .cj-selection {
    gap: 12px;
  }
  .cj-selection select {
    font-size: 12px;
    padding: 9px 5px;
  }
  .cj-comparison th,
  .cj-comparison td {
    padding: 11px 8px;
    font-size: 12px;
  }
  .cj-comparison thead th {
    font-size: 13px;
  }
  .cj-comparison th:first-child {
    width: 72px;
    font-size: 11px;
  }
  .cj-comparison caption {
    padding: 12px;
    font-size: 11px;
  }
  .cj-sample {
    font-size: 10px;
  }
  .cj-preview {
    padding: 20px;
  }
  .cj-preview h2 {
    font-size: 21px;
  }
  .cj-preview li a {
    display: block;
    font-size: 13px;
  }
  .cj-preview li span {
    display: block;
    margin-top: 8px;
  }
}
/* The legacy button hover must not replace the shared creative gradient. */
.acg-journey .cg-button:hover {
  background: var(--cg-gradient);
  filter: brightness(0.95);
}
@media (max-width: 599px) {
  .cj-comparison th:first-child {
    width: 85px;
  }
}
