.content-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 1.25rem;
}

.content-card {
  border: 1px solid #2b2b2b;
  background: linear-gradient(160deg, #141414, #0f0f0f);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.content-card:hover,
.content-card:focus-visible {
  transform: translateY(-3px);
  border-color: #575757;
  box-shadow: 0 15px 28px rgba(0, 0, 0, 0.35);
  outline: none;
}

.content-card-media-wrap {
  width: 100%;
}

.content-card-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.content-card-media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #727272;
  background: #151515;
  font-size: 0.86rem;
}

.content-card-copy {
  padding: 0.85rem 0.9rem 0.35rem;
}

.content-card-copy h3 {
  margin: 0;
  font-size: clamp(1.16rem, 1.18vw, 1.34rem);
  line-height: 1.28;
  font-weight: 620;
  color: #f2f2f2;
}

.content-card-copy p {
  margin: 0.5rem 0 0;
  color: #a8a8a8;
  font-size: clamp(0.9rem, 0.86vw, 0.98rem);
  line-height: 1.52;
}

.content-card-copy .content-card-hashtags {
  margin-top: 0.45rem;
  color: #8e8e8e;
  font-size: 0.8rem;
  line-height: 1.4;
}

.content-card-actions {
  padding: 0.75rem 0.9rem 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.content-card-button {
  border: 1px solid #464646;
  background: #202020;
  color: #f4f4f4;
  font-size: 0.82rem;
  padding: 0.45rem 0.72rem;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.content-card-button:hover {
  filter: brightness(1.08);
}

.content-card-button-secondary {
  background: #171717;
}

.content-card-button-primary {
  background: #e9eef3;
  color: #111;
  border-color: #d2dae3;
}

.content-card-button-primary:hover {
  background: #ffffff;
  color: #000;
  border-color: #ffffff;
}

.content-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
}

.content-lightbox.open {
  display: block;
  animation: contentLightboxBackdropIn 0.2s ease-out both;
}

.content-lightbox.closing {
  display: block;
  animation: contentLightboxBackdropOut 0.2s ease-out both;
}

.content-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.content-lightbox-panel {
  position: relative;
  width: min(1040px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  margin: 1rem auto;
  border: 1px solid #2e2e2e;
  background: #0f0f0f;
  overflow: hidden;
  animation: contentPanelIn 0.22s ease;
}

.content-lightbox.closing .content-lightbox-panel {
  animation: contentPanelOut 0.2s ease both;
}

@keyframes contentPanelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes contentPanelOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes contentLightboxBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes contentLightboxBackdropOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.content-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  border: 0;
  background: transparent;
  color: #f7f7f7;
  font-size: 22px;
  line-height: 1;
  width: auto;
  height: auto;
  z-index: 3;
  cursor: pointer;
}

.content-lightbox-close i {
  pointer-events: none;
}

.content-lightbox-scroll {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(100vh - 2rem);
  margin-right: -10px;
  padding-right: 10px;
}

@supports (overflow: overlay) {
  .content-lightbox-scroll {
    overflow: overlay;
    overflow-x: hidden;
    margin-right: 0;
    padding-right: 0;
  }
}

.content-detail-sheet {
  display: block;
}

.content-detail-hero {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.content-detail-body {
  padding: 1rem 1.1rem 1.2rem;
}

.content-detail-body h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #f3f3f3;
}

.content-detail-intro {
  margin: 0.7rem 0 0;
  color: #c1c1c1;
  line-height: 1.65;
}

.content-detail-hashtags {
  margin: 0.55rem 0 0;
  color: #9a9a9a;
  line-height: 1.5;
  font-size: 0.88rem;
}

.content-detail-blocks {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.9rem;
}

.content-detail-blocks p {
  margin: 0;
  color: #cbcbcb;
  line-height: 1.68;
}

.content-block-text {
  margin: 0;
  color: #cbcbcb;
  line-height: 1.68;
}

.content-block-text-headline {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: #f2f2f2;
}

.content-block-text-subheadline {
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.45;
  color: #ececec;
}

.content-block-text-body {
  font-size: 0.97rem;
}

.content-block-text-caption {
  font-size: 0.82rem;
  color: #a9a9a9;
}

.content-align-left {
  text-align: left;
}

.content-align-center {
  text-align: center;
}

.content-align-right {
  text-align: right;
}

.content-block-button-row {
  margin: 0;
}

.content-block-separator {
  position: relative;
  width: 100%;
  padding-top: var(--separator-top, 26px);
  padding-bottom: var(--separator-bottom, 26px);
}

.content-block-separator-line {
  display: block;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.content-block-separator.no-line .content-block-separator-line {
  border-top-color: transparent;
}

.content-detail-media {
  margin: 0;
  border: 1px solid #2b2b2b;
  background: #111;
}

.content-detail-media img {
  display: block;
  width: 100%;
  height: auto;
}

.content-detail-media-el.content-media-mode-fill {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.content-detail-media-el.content-media-mode-contain {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.content-detail-media-el.content-media-mode-original {
  width: auto;
  max-width: 100%;
  height: auto;
}

.content-detail-media-video iframe,
.content-detail-media-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.content-detail-media figcaption {
  color: #999;
  font-size: 0.8rem;
  padding: 0.52rem 0.65rem;
}

.content-detail-svg-block {
  margin: 0;
}

.content-detail-svg-shape {
  display: inline-block;
  width: 240px;
  height: 240px;
  background-color: var(--svg-color, #ffffff);
  -webkit-mask-image: var(--svg-mask);
  mask-image: var(--svg-mask);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.content-detail-svg-block figcaption {
  color: #999;
  font-size: 0.8rem;
  padding: 0.52rem 0.65rem 0;
}

.content-detail-footer-actions {
  margin-top: 1.1rem;
}

@media (max-width: 740px) {
  .content-showcase {
    grid-template-columns: 1fr;
  }

  .content-lightbox-panel {
    width: calc(100vw - 1rem);
    margin: 0.5rem auto;
    max-height: calc(100vh - 1rem);
  }
}
