/* 매거진 삼삼오오 상세 — ti-md-theme 셸(상영작·기획전 상세와 동일) */

.ti .md-theme .mz-detail-root {
  width: 100%;
  max-width: 629.61px;
  padding-top: 24px;
}

.ti .md-theme .mz-detail-subtitle {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #404040;
}

.ti .md-theme .mz-detail-meta {
  margin: 0 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e2e2e2;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: #808080;
}

.ti .md-theme .mz-detail-cover {
  margin: 0 0 24px;
  line-height: 0;
  border: 1px solid #595959;
  background: #f2f2f2;
}

.ti .md-theme .mz-detail-cover img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.ti .md-theme .section-magazine-detail--preview .mz-detail-cover img {
  aspect-ratio: 264 / 200;
  object-fit: cover;
}

.ti .md-theme .section-magazine-detail--serial .mz-detail-cover img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ti .md-theme .mz-detail-body {
  text-align: justify;
}

.ti .md-theme .mz-detail-body p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: #404040;
  text-align: justify;
}

.ti .md-theme .mz-detail-body .body-heading,
.ti .md-theme .mz-detail-body h2,
.ti .md-theme .mz-detail-body h3,
.ti .md-theme .mz-detail-body h4 {
  margin: 18px 0 10px;
  font-weight: 700;
  line-height: 1.45;
  color: #111111;
  text-align: left;
}

.ti .md-theme .mz-detail-body h3 {
  font-size: 16px;
}

.ti .md-theme .mz-detail-body blockquote {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-left: 3px solid #b0b0b0;
  background: #f7f7f7;
  text-align: justify;
}

.ti .md-theme .mz-detail-body .imageblock,
.ti .md-theme .mz-detail-body figure {
  margin: 0 0 16px;
  text-align: center;
}

.ti .md-theme .mz-detail-body .imageblock img,
.ti .md-theme .mz-detail-body figure img,
.ti .md-theme .mz-detail-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 1px solid #d4d4d4;
}

.ti .md-theme .mz-detail-body iframe {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid #d4d4d4;
}

.ti .md-theme .mz-detail-body a {
  color: #111111;
  text-decoration: underline;
}

.ti .md-theme .mz-detail-body hr {
  border: none;
  border-top: 1px solid #d4d4d4;
  margin: 16px 0;
}

.ti .md-theme .mz-detail-body .mz-text-box {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  background: #fafafa;
  text-align: justify;
}

.ti .md-theme .mz-detail-body .mz-text-box p {
  margin: 0;
}

.ti .md-theme .mz-detail-attachments {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e2e2e2;
}

.ti .md-theme .mz-detail-attachments__title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #111111;
}

.ti .md-theme .mz-detail-attachments-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ti .md-theme .mz-detail-attachments-item {
  margin: 0;
  border: 1px solid #c8c8c8;
  background: #ffffff;
}

.ti .md-theme .mz-detail-attachments-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: none;
}

@media (max-width: 520px) {
  .ti .md-theme .mz-detail-attachments-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 899px) {
  .ti .md-theme .mz-detail-root {
    padding-top: 8px;
  }

  .ti .md-theme .mz-detail-meta {
    margin-bottom: 16px;
    padding-bottom: 16px;
  }
}
