.ptitle {
	font-size: 30px;
	padding-bottom: 25px;
	font-family: Roboto Condensed, sans-serif;
}
/* ROOT SCOPE */
.mediax-header,
.mediax-card,
.mediax-editorial,
.mediax-cta {
  font-family: 'Inter', sans-serif;
  color: #e5e7eb;
}

/* HEADER */
.mediax-header {
  margin-bottom: 18px;
}

.mediax-title {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  padding-top: 25px;
  text-align: center;
}

.mediax-title span {
  font-weight: 700;
  color: #d1d5db;
}

.mediax-rating-line {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 600;
}

/* CARD */
.mediax-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  background: #121212;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,.7);
  border: 1px solid #333;
}

/* POSTER */
.mediax-card__poster img {
  width: 100%;
  border-radius: 6px;
  display: block;
}


@media (max-width: 640px) {
.mediax-card__poster img {
  width: 60%;
  border-radius: 6px;
  display: block;
  margin:auto;
}
}

/* TAGS */
.mediax-card__tags {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.mediax-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid #2f2f2f;
  color: #e5e7eb;
}

.mediax-tag--age {
  color: #22c55e;
  border-color: #22c55e;
}

/* META */
.mediax-card__meta {
  display: grid;
  gap: 10px;
}

.mediax-meta-label {
  font-size: 13px;
  font-weight: 600;
  color: #9ca3af;
  display: block;
}

.mediax-meta-value {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

/* PREVIEW */
.mediax-preview-btn {
  margin-top: 14px;
  background: #1f1f1f;
  border: 1px solid #84cd0afa;
  color: #ffffff;
  padding: 10px 14px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
}

.mediax-preview-btn:hover {
  background: #262626;
}

/* EDITORIAL TEXT */
.mediax-editorial {
  max-width: 900px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.7;
  color: #d1d5db;
}

.mediax-editorial p {
  margin-bottom: 14px;
}

.mediax-editorial__author {
  font-weight: 700;
  color: #ffffff;
}

/* CTA */
.mediax-cta {
  margin-top: 16px;
}

.mediax-watch-btn {
  background: transparent;
  border: 2px solid #22c55e;
  color: #22c55e;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 6px;
  letter-spacing: .02em;
  cursor: pointer;
}

.mediax-watch-btn:hover {
  background: rgba(34,197,94,.08);
}

/* DIVIDER */
.mediax-divider {
  margin: 28px 0;
  border: none;
  border-top: 1px solid #2f2f2f;
}

/* MOBILE */
@media (max-width: 768px) {
  .mediax-card {
    grid-template-columns: 1fr;
  }
}
.authorx {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  color: #e5e7eb;
  font-family: Inter, system-ui, sans-serif;
}

/* Avatar */
.authorx__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* Content */
.authorx__content {
  flex: 1;
}

/* Top line */
.authorx__line {
  font-size: 14px;
  font-weight: 500;
  color: #d1d5db;
  margin-bottom: 6px;
}

.authorx__by strong {
  font-weight: 700;
  color: #ffffff;
}
.authorx__by:hover {
  font-weight: 700;
  color: green!important;
}

.authorx__sep {
  margin: 0 6px;
  color: #9ca3af;
}

.authorx__date {
  color: #9ca3af;
}

/* Bio */
.authorx__bio {
  
  line-height: 1.6;
  color: #e7e4e4;
  margin: 0;
  font-size: .75rem;
    font-weight: 400;
  
}

.authorx__bio em {
  font-style: italic;
  color: #e5e7eb;
}

@media (max-width: 640px) {

  .authorx {
    
    align-items: center;
    text-align: center;
	margin-left: 76px;
    margin-right: 70px;
  }

  .authorx__avatar {
    margin-bottom: 6px;
  }

  .authorx__line {
    font-size: 13px;
  }

  .authorx__bio {
    display: none;
  }
}
.dividerx {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5px 0;
}

/* main line */
.dividerx::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    #ff2d2d 20%,
    #ff2d2d 80%,
    transparent
  );
  transform: translateY(-50%);
}

/* glow layer */
.dividerx::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 8px;
  background: radial-gradient(
    circle,
    rgba(255,45,45,.35),
    transparent 70%
  );
  transform: translateY(-50%);
  pointer-events: none;
}

.dividerx__number {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #000;
  border: 2px solid #ff2d2d;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow:
    0 0 0 4px rgba(255,45,45,.15),
    0 0 24px rgba(255,45,45,.45);
}

/* Overlay */
.trailer-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  transition: opacity .25s ease;
}

/* Show state */
.trailer-modal.active {
  display: flex;
  opacity: 1;
}

/* Modal box */
.trailer-box {
  position: relative;
  width: 88%;
  max-width: 900px;
  background: #000;
  border-radius: 14px;
  overflow: hidden;

  /* Subtle glow */
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    0 20px 60px rgba(0,0,0,.7);

  /* Animation */
  transform: scale(.96) translateY(8px);
  transition: transform .25s ease;
}

/* Animate in */
.trailer-modal.active .trailer-box {
  transform: scale(1) translateY(0);
}

/* Aspect ratio */
.video-wrap {
  position: relative;
  padding-top: 56.25%;
}

/* iframe */
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Close button (outside, top-right) */
.trailer-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 1000000;

  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  cursor: pointer;

  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 24px;
  line-height: 1;

  opacity: .75;
  transition: opacity .2s ease, transform .2s ease;
}

.trailer-close:hover {
  opacity: 1;
  transform: scale(1.05);
}

.image-caption-box {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 30px auto;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.image-caption-box img {
  width: 100%;
  display: block;
}

/* Caption overlay */
.image-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.4;

  color: rgba(255,255,255,0.85);
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0)
  );
}

.movie-card-mobile {
  background: #0f0f0f;
  border-radius: 16px;
  padding: 12px;
  max-width: 100%;
  color: #fff;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  font-family: system-ui, sans-serif;
}

.movie-top {
  display: flex;
  gap: 12px;
}

.movie-poster img {
  width: 110px;
  height: 165px;
  border-radius: 12px;
  object-fit: cover;
}

.movie-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.movie-tags span {
  display: inline-block;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #1c1c1c;
  margin-right: 4px;
}

.movie-rating {
  font-size: 14px;
  margin-top: 4px;
}

.movie-meta p {
  font-size: 13px;
  margin: 2px 0;
  color: #ccc;
}

.watch-trailer-btn {
  display: block;
  margin-top: 12px;
  padding: 12px;
  text-align: center;
  background: #19c37d;
  color: #000;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
}

.watch-trailer-btn:hover {
  background: #14a76c;
}
/* Wrapper spacing */
.feature-dark {
  margin: 90px 0;
}

/* Main box */
.feature-dark__box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 26px 28px;

  background: linear-gradient(
    180deg,
    #1a1a1a,
    #141414
  );

  border: 1.5px solid rgba(0, 202, 76, 0.45);
  border-radius: 14px;

  text-decoration: none;
  transition: all 0.3s ease;
}

/* Label */
.feature-dark__label {
  position: absolute;
  top: 10px;
  left: 20px;

  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00ca4c;
  opacity: 0.85;
}

/* Title */
.feature-dark__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
  max-width: 85%;
}

/* Arrow */
.feature-dark__arrow {
  font-size: 1.4rem;
  color: #00ca4c;
  transition: transform 0.3s ease;
}

/* Hover / focus */
.feature-dark__box:hover,
.feature-dark__box:focus-visible {
  border-color: #00ca4c;
  box-shadow: 0 14px 40px rgba(0, 202, 76, 0.25);
  transform: translateY(-3px);
}

.feature-dark__box:hover .feature-dark__arrow {
  transform: translateX(6px);
}

/* Mobile */
@media (max-width: 640px) {
  .feature-dark {
    margin: 56px 0;
  }

  .feature-dark__box {
    padding: 22px 18px;
  }

  .feature-dark__title {
    font-size: 1rem;
    max-width: 80%;
  }

  .feature-dark__label {
    font-size: 0.65rem;
    left: 16px;
  }
}
