/* ============================================================
   ARTIST PAGE — Individual Artist Node
   Asset Injector — loads on all node--type-artist pages
   ============================================================ */


/* ============================================================
   PAGE TITLE
   ============================================================ */

#block-weloveskam-page-title {
  background-color: var(--skam-black);
  padding: 2rem 1.5rem 0;
  text-align: center;
}

#block-weloveskam-page-title h1.title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ede9fe;
  text-shadow:
    0 0 10px rgba(168, 85, 247, 1),
    0 0 25px rgba(168, 85, 247, 0.8),
    0 0 60px rgba(168, 85, 247, 0.5),
    0 0 120px rgba(168, 85, 247, 0.3);
  margin: 0;
  line-height: 1.05;
}


/* ============================================================
   MAIN CONTENT BLOCK
   Remove Bootstrap container padding so banner can go full width
   ============================================================ */

#block-weloveskam-mainpagecontent {
  padding-left: 0 !important;
  padding-right: 0 !important;
}


/* ============================================================
   ARTIST BANNER IMAGE
   Full width, max height 560px, focal point top
   Glowing gradient line renders below via ::after
   Social icons are absolutely positioned over the banner
   ============================================================ */

.node--type-artist .field--name-field-artist-photograph-banner {
  position: relative;
  margin-left: calc(var(--bs-gutter-x, 1.5rem) * -0.5) !important;
  margin-right: calc(var(--bs-gutter-x, 1.5rem) * -0.5) !important;
  width: calc(100% + var(--bs-gutter-x, 1.5rem)) !important;
}

.node--type-artist .field--name-field-artist-photograph-banner img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 560px;
  object-fit: cover;
  object-position: center top;
}

/* Glowing purple gradient line at the bottom of the banner */
.node--type-artist .field--name-field-artist-photograph-banner::after {
  content: '';
  display: block;
  height: 2px;
  position: relative;
  z-index: 20;
  background: linear-gradient(
    to right,
    transparent 0%,
    #7e22ce 15%,
    #a855f7 40%,
    #c084fc 50%,
    #a855f7 60%,
    #7e22ce 85%,
    transparent 100%
  );
  box-shadow:
    0 0 12px rgba(168, 85, 247, 0.8),
    0 0 24px rgba(168, 85, 247, 0.4);
}


/* ============================================================
   SOCIAL ICONS
   Absolutely positioned over the banner image
   Scoped to node__content to avoid overriding footer icons
   ============================================================ */

.node--type-artist .node__content .social-link-field {
  display: flex !important;
  flex-direction: row !important;
  gap: 0.75rem;
  list-style: none;
  margin: 0 !important;
  padding: 1.25rem 1.5rem;
  justify-content: flex-start;
  position: absolute !important;
  bottom: 40px;
  left: 0;
  right: 0;
  z-index: 10;
  background: transparent;
  border-top: none;
  border-image: none;
  box-shadow: none;
}

.node--type-artist .node__content .social-link-field li {
  display: flex;
  align-items: center;
}

/* Icon button — circular purple border with glow */
.node--type-artist .node__content .social-link-field a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #a855f7;
  color: #ede9fe;
  font-size: 1rem;
  text-decoration: none;
  box-shadow:
    0 0 0 1px #6b21a8,
    0 0 28px rgba(168, 85, 247, 0.55),
    0 0 60px rgba(168, 85, 247, 0.2);
  transition: border-color 0.3s ease, box-shadow 0.3s ease,
              color 0.3s ease;
}

/* Icon button hover — intensified glow */
.node--type-artist .node__content .social-link-field a:hover {
  border-color: #c084fc;
  color: #c084fc;
  box-shadow:
    0 0 0 1px #7e22ce,
    0 0 35px rgba(192, 132, 252, 0.8),
    0 0 80px rgba(168, 85, 247, 0.5);
}


/* ============================================================
   ARTIST BIOGRAPHY
   Full width, muted purple text, readable line height
   ============================================================ */

.node--type-artist .field--name-field-artist-biography {
  width: 100%;
  padding: 3rem 1.5rem;
}

.node--type-artist .field--name-field-artist-biography p {
  color: #c4b8d4;
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.node--type-artist .field--name-field-artist-biography p:last-child {
  margin-bottom: 0;
}

/* Links in biography */
.node--type-artist .field--name-field-artist-biography a:link,
.node--type-artist .field--name-field-artist-biography a:visited {
  color: #c084fc;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  text-shadow: 0 0 6px rgba(168, 85, 247, 0.3);
}

.node--type-artist .field--name-field-artist-biography a:hover {
  color: #ede9fe;
  text-shadow:
    0 0 8px rgba(192, 132, 252, 1),
    0 0 20px rgba(168, 85, 247, 0.6);
}

/* Headings inside biography — Oswald uppercase with glow */
.node--type-artist .field--name-field-artist-biography h2,
.node--type-artist .field--name-field-artist-biography h3,
.node--type-artist .field--name-field-artist-biography h4,
.node--type-artist .field--name-field-artist-biography h5,
.node--type-artist .field--name-field-artist-biography h6 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ede9fe;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.node--type-artist .field--name-field-artist-biography h2 {
  font-size: 1.75rem;
  text-shadow:
    0 0 10px rgba(168, 85, 247, 0.6),
    0 0 30px rgba(168, 85, 247, 0.3);
  border-bottom: 1px solid #2a1040;
  padding-bottom: 0.5rem;
}

.node--type-artist .field--name-field-artist-biography h3 {
  font-size: 1.35rem;
  color: #c084fc;
  text-shadow: 0 0 8px rgba(168, 85, 247, 0.4);
}


/* ============================================================
   HIDDEN FIELDS
   Internal admin fields not shown to visitors
   ============================================================ */

.node--type-artist .field--name-field-artist-services,
.node--type-artist .field--name-field-artist-bookable {
  display: none;
}


/* ============================================================
   UPCOMING SHOWS CAROUSEL
   VVJB carousel block — inherits global carousel styles
   ============================================================ */

#block-weloveskam-views-block-artists-upcoming {
  background-color: var(--skam-dark);
  padding: 3.5rem 1.5rem 4rem;
  border-top: 1px solid var(--skam-border);
  max-width: 100% !important;
  overflow: hidden;
}

/* Section heading */
#block-weloveskam-views-block-artists-upcoming h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ede9fe;
  text-shadow:
    0 0 10px rgba(168, 85, 247, 1),
    0 0 25px rgba(168, 85, 247, 0.8),
    0 0 60px rgba(168, 85, 247, 0.5),
    0 0 120px rgba(168, 85, 247, 0.3);
  text-align: center;
  margin: 0 0 2.5rem;
}


/* ============================================================
   PRESS PHOTO GALLERY
   View block — 3 column CSS grid, GLightbox enabled
   ============================================================ */

#block-weloveskam-views-block-artists-photo-gallery {
  background-color: var(--skam-dark);
  padding: 3.5rem 0 4rem;
  border-top: 1px solid var(--skam-border);
  max-width: 100% !important;
}

/* Section heading */
#block-weloveskam-views-block-artists-photo-gallery h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ede9fe;
  text-shadow:
    0 0 10px rgba(168, 85, 247, 1),
    0 0 25px rgba(168, 85, 247, 0.8),
    0 0 60px rgba(168, 85, 247, 0.5),
    0 0 120px rgba(168, 85, 247, 0.3);
  text-align: center;
  margin: 0 0 2.5rem;
}

/* 3 column grid — overrides Bootstrap row */
#block-weloveskam-views-block-artists-photo-gallery .view-content.row {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto !important;
  padding: 0 1.5rem;
}

/* Each photo row — reset Bootstrap column styles */
#block-weloveskam-views-block-artists-photo-gallery .views-row {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Photo card — purple border with glow */
#block-weloveskam-views-block-artists-photo-gallery .field-content {
  position: relative;
  overflow: hidden;
  border-radius: 9px;
  border: 2px solid #a855f7;
  box-shadow:
    0 0 0 1px #6b21a8,
    0 0 28px rgba(168, 85, 247, 0.55),
    0 0 60px rgba(168, 85, 247, 0.2);
  transition: filter 0.3s ease, box-shadow 0.3s ease,
              border-color 0.3s ease;
}

/* Photo card hover — brightness lift and intensified glow */
#block-weloveskam-views-block-artists-photo-gallery .field-content:hover {
  filter: brightness(1.15);
  border-color: #c084fc;
  box-shadow:
    0 0 0 1px #7e22ce,
    0 0 35px rgba(192, 132, 252, 0.8),
    0 0 80px rgba(168, 85, 247, 0.5);
}

/* GLightbox anchor — block so image fills card */
#block-weloveskam-views-block-artists-photo-gallery a.glightbox {
  display: block;
  line-height: 0;
}

/* Photo image — square aspect ratio */
#block-weloveskam-views-block-artists-photo-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.3s ease;
}

/* Photo image hover — subtle zoom */
#block-weloveskam-views-block-artists-photo-gallery .field-content:hover img {
  transform: scale(1.04);
}

/* Hide GLightbox description element */
#block-weloveskam-views-block-artists-photo-gallery .glightbox-desc {
  display: none;
}


/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet (max 768px) */
@media (max-width: 768px) {
  #block-weloveskam-page-title {
    padding: 1.5rem 1.25rem 0;
  }

  .node--type-artist .field--name-field-artist-biography {
    padding: 2rem 1.25rem;
  }

  .node--type-artist .node__content .social-link-field {
    bottom: 20px;
  }

  #block-weloveskam-views-block-artists-upcoming {
    padding: 2.5rem 1rem 3rem;
  }

  #block-weloveskam-views-block-artists-photo-gallery .view-content.row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile (max 575px) */
@media (max-width: 575.98px) {
  .node--type-artist .node__content .social-link-field {
    bottom: 10px;
  }

  #block-weloveskam-views-block-artists-photo-gallery .view-content.row {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 0.75rem;
  }
}