/* ── Hero ─────────────────────────────── */

.ca-castcrew-hero {
  margin-top: 8vh;
}

/* ── Glass card ───────────────────────── */
.ca-hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ca-hero-top {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* ── Foto ─────────────────────────────── */
.ca-castcrew-photo {
    width: 360px;
    height: 460px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
}
.ca-castcrew-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.ca-castcrew-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    font-weight: 700;
    background: #f01e1e;
    color: white;
}


.ca-castcrew-photo-wrap {
  position: relative;
}

.ca-castcrew-photo-wrap .ca-hero-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}


/* ── Info ─────────────────────────────── */
.ca-castcrew-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ca-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #600000;
  color: #f01e1e;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 6px;
  margin-bottom: 7px;
  width: fit-content;
  background: transparent;
}

.ca-hero-badge i {
  font-size: 16px;
  color: #ff6d6d;
  filter: drop-shadow(0 0 4px #f01e1e) drop-shadow(0 0 10px #f01e1e) drop-shadow(0 0 20px rgba(240, 30, 30, 0.6));
}
.ca-castcrew-name i.ph-fill.ph-seal-check {
  color: #f01e1e;
  position: relative;
  font-size: 2rem;
}

.ca-castcrew-name i.ph-fill.ph-seal-check::after {
  content: '';
  position: absolute;
  inset: 20% 25%;
  background: white;
  z-index: -1;
  border-radius: 50%;
}

.ca-castcrew-name {
  font-size: clamp(2rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}

.ca-castcrew-name i {
  font-size: 1.2rem;
}

.ca-castcrew-known {
    font-size: 15px;
    color: rgb(189 189 189);
    margin-bottom: 14px;
}

/* ── Stats ────────────────────────────── */
.ca-castcrew-stats {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ca-stat-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    font-size: 15px;
    color: rgba(255,255,255,0.85);
}
.ca-stat-pill i { font-size: 20px; color: #fff; }

.ca-like-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s;
}
.ca-like-btn:hover {
    border-color: #f01e1e;
    color: #f01e1e;
}
.ca-like-btn i { font-size: 16px; }

/* ── Like Favorite Share  ───────────────────── */

.ca-model-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border-radius: 0;
  border: none;
  overflow: visible;
  flex-wrap: wrap;
}

.ca-action-outline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid rgb(128 128 128 / 60%);
  background: transparent;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.ca-action-outline:hover {
  background: rgba(240,30,30,0.1);
  border-color: #f01e1e;
}

.ca-action-solid {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: 30px;
  border: none;
  background: #980000;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.ca-action-solid:hover {
  background: #d01010;
}

.ca-action-share {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  cursor: pointer;
  margin-left: 4px;
}
.ca-action-share i {
  font-size: 22px;
  color: #fff;
  padding: 10px;
  border-radius: 50%;
  border: 1px solid rgb(128 128 128 / 60%);
}
.ca-action-share i:hover {
  border-color: #f01e1e;
}
.ca-share-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ca-share-sub {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.45);
}

.ca-action-count {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-left: 4px;
}


/* ── Info Premium Info ───────────────────── */

.ca-castcrew-features {
  display: flex;
  gap: 0;
  margin-top: 24px;
  background: #0b0b0bcf;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgb(16 16 16);
}

.ca-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  text-align: center;
  padding: 28px 16px;
  justify-content: center;
  width: 85%;
}

.ca-feature-item:last-child {
  border-right: none;
}

.ca-feature-item i {
  font-size: 32px;
  color: #f01e1e;
}

.ca-feature-title {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
}

.ca-feature-sub {
  font-size: 13px;
  color: rgb(202 202 202);
  font-weight: 400;
  display: block;
}

/* ── Movies sekcija ───────────────────── */
.ca-castcrew-hero + .section-spacing {
    padding-top: 10px;
}
.ca-castcrew-hero + .section-spacing .main-title {
    font-size: 1.4rem;
    font-weight: 700;
    border-left: 3px solid #f01e1e;
    padding-left: 12px;
    margin-bottom: 28px;
}

/* ── Entertainment list — ca-card grid overrides ─────────────────────────────── */
#entertainment-list .ca-card {
    width: 450px;
    height: auto;
}
#entertainment-list .ca-card .thumb {
    height: 240px !important;
    aspect-ratio: unset !important;
    border-radius: 8px;
}

.ca-castcrew-photo img.director-photo {
  object-fit: contain;
  object-position: center;
}

.ca-castcrew-name .fi {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  display: inline-block;
  vertical-align: middle;
  margin-left: 3px;
  position: relative;
}
.ca-castcrew-bio {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 100%;
}

.ca-photo-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  justify-content: center;
}

.ca-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.ca-action-btn:hover {
  background: rgba(255, 59, 59, 0.2);
  border-color: rgba(255, 59, 59, 0.5);
}

.ca-action-btn i {
  font-size: 1rem;
}
.ca-castcrew-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.ca-photo-actions .pill-btn.like-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  /* reset pill-btn defaults */
  box-shadow: none;
  min-width: unset;
}

.ca-photo-actions .pill-btn.like-btn:hover {
  background: rgba(255, 59, 59, 0.2);
  border-color: rgba(255, 59, 59, 0.5);
}

.ca-bio-mobile {
  display: none;
}
.ca-link {
  text-decoration: underline;
  color: #f1f1f1;
  font-weight: 700;
}
.ca-link:hover {
  color: #f01e1e;
}

.comments-section-model .ca-comments-section {
  margin-top: 0px;
  padding-inline: 0;
}

@media (max-width: 768px) {
    .ca-hero-content {
        display: flex;
        flex-direction: column;
        gap: 0px;
    }
    .ca-hero-top {
        display: flex;
        flex-direction: row;
        gap: 13px;
        align-items: flex-start;
    }
    .ca-castcrew-photo-wrap {
        width: 140px;
        flex-shrink: 0;
    }
    .ca-castcrew-photo {
        width: 140px;
        height: 180px;
    }
    .ca-castcrew-info {
        flex: 1;
        align-items: flex-start !important;
        text-align: left !important;
    }
    .ca-castcrew-name {
        font-size: 1.3rem;
        flex-wrap: wrap;
        gap: 7px;
    }
    .ca-castcrew-known,
    .ca-castcrew-bio,
    .ca-castcrew-stats {
        text-align: left !important;
        justify-content: flex-start !important;
      font-size: 0.8rem;
    }
    .ca-castcrew-features {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        overflow: visible;
        width: 100%;
    }
    .ca-feature-item {
        width: 100% !important;
        padding: 20px 10px;
    }
    .ca-feature-item:nth-child(2),
    .ca-feature-item:nth-child(4) { border-right: none; }
    .ca-feature-item:nth-child(3),
    .ca-feature-item:nth-child(4) { border-bottom: none; }

  .ca-stat-pill {
    font-size: 0.8rem;
  }
  .ca-castcrew-stats {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .ca-action-outline {
    font-size: 0.75rem;
    padding: 4px 12px;
    gap: 3px;
  }
  .ca-action-solid {
    font-size: 0.75rem;
    padding: 7px 7px;
    gap: 5px;
    justify-content: center;
  }
  .ca-share-title {
    font-size: 0.75rem;
    letter-spacing:0;
  }
  .container {
    padding:0;
  }
  .ca-castcrew-features {
    border: none;
  }
  .ca-btn-label,
  .ca-share-sub {
    display: none;
  }
  .ca-action-share i {
    font-size: 16px;
    padding: 8px;
  }
  .ca-action-share {
    gap: 6px;
    flex-direction: row;
    align-items: center;
    padding:0;
  }
  .ca-model-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 15px;
  }
  .ca-share-title {
    display: none;
  }
  .ca-castcrew-bio {
    display: none;
  }
  .ca-bio-mobile {
    display: block;
    margin-bottom: 8px;
  }
  .ca-castcrew-hero + .section-spacing {
    padding-top: 30px;
    padding-bottom: 0px;
  }
  .ca-castcrew-name i.ph-fill.ph-seal-check {
    font-size: 1.5rem;
  }
  .comments-section-model .ca-comments-section {
    margin-top: 25px;
  }

}
