/*
 * Artist Archive Styling (archive-artist.php only)
 * Clean, elegant, consistent, and Divi-safe.
 */
/* Load Montserrat for Artist Archive (safe, scoped) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700&display=swap');

/* ------------------------------
   ARCHIVE WRAPPER
------------------------------ */
.artist-archive-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Remove Divi global link underlines */
.artist-archive-wrapper a {
  text-decoration: none !important;
  color: inherit;
}

/* ------------------------------
   GRID LAYOUT
------------------------------ */
.artist-archive-wrapper .artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
}

/* ------------------------------
   CARD STRUCTURE
------------------------------ */
.artist-archive-wrapper .artist-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid #eee;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}

.artist-archive-wrapper .artist-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

/* ------------------------------
   LINK FIX
------------------------------ */
.artist-archive-wrapper .artist-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ------------------------------
   IMAGE WRAPPER
------------------------------ */
.artist-archive-wrapper .artist-image-wrapper {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 16px;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.artist-archive-wrapper .artist-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ------------------------------
   CARD CONTENT
------------------------------ */
.artist-archive-wrapper .artist-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.artist-archive-wrapper .artist-name {
  font-size: 36px;
  font-weight: 700;
  color: #d8938c;
  margin-bottom: 12px;
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.artist-archive-wrapper .artist-meta {
  margin: 4px 0;
  font-size: 15px;
  color: #555;
}

.artist-archive-wrapper .artist-meta strong {
  color: #333;
  font-weight: 600;
}

/* ------------------------------
   VIEW PROFILE BUTTON
------------------------------ */
.artist-archive-wrapper .artist-card-link::after {
  content: "View Profile";
  display: inline-block;
  margin-top: 14px;
  padding: 6px 12px;
  background: #d8938c;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: background .25s ease;
}

.artist-archive-wrapper .artist-card-link:hover::after {
  background: #c87f76;
}

/* ------------------------------
   PAGINATION
------------------------------ */
.artist-archive-wrapper .artist-archive-pagination {
  margin-top: 40px;
  text-align: center;
}

.artist-archive-wrapper .artist-archive-pagination .page-numbers {
  display: inline-block;
  margin: 0 6px;
  padding: 8px 14px;
  background: #f2f2f2;
  border-radius: 6px;
  color: #333;
}

.artist-archive-wrapper .artist-archive-pagination .current {
  background: #d8938c;
  color: #fff;
}

/* ------------------------------
   MOBILE RESPONSIVE
------------------------------ */
@media (max-width: 768px) {
  .artist-archive-wrapper .artist-grid {
    grid-template-columns: 1fr;
  }

  .artist-archive-wrapper .artist-name {
    font-size: 20px;
  }
}

/* ===============================
   Header Section - Artist Archive
   =============================== */
.et_pb_section.artist-archive-header {
    position: relative !important;
    min-height: auto !important;
    background-image: url('https://macarthurweddings.com.au/wp-content/uploads/2025/05/Soft-Floral-BG.jpg') !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    background-size: cover !important;
    text-align: center !important;
    padding: 20px 0 43px !important; /* top + bottom spacing */
    overflow: hidden !important;
    z-index: 1;
}

/* Remove overlay so background image shows true color */
.et_pb_section.artist-archive-header::before {
    display: none !important;
}

/* Inner container to keep text centered */
.artist-header-inner {
    position: relative !important;
    z-index: 1 !important;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px !important;
    padding-top: 25px !important; /* adjust to align text visually */
}

/* Heading style (matches Our Services) */
.artist-header-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    font-size: 52px !important;
    line-height: 1.2 !important;
    color: #742338 !important;
    margin-bottom: 0px !important;
}

/* Subtitle style */
.artist-header-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #742338;
    margin-top: 10px;
}

/* ===============================
   Normalize spacing from next section
   =============================== */
.et_pb_section_1 {
    padding-top: 0 !important; /* remove extra top padding */
}

/* Remove margin from first row inside next section */
.et_pb_section_1 .et_pb_row_1 {
    margin-top: 0 !important;
}

/* Remove top margin from first module in that row */
.et_pb_section_1 .et_pb_row_1 .et_pb_module:first-child {
    margin-top: 0 !important;
}

/* =========================================
   SINGLE ARTIST PROFILE – LAYOUT CONTROL
   Target: /artists/* pages only
   ========================================= */

/* Constrain overall artist content width */
.single-artist .mw-artist-wrapper {
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

/* Top image + info row */
.single-artist .mw-top-flex {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

/* Left image */
.single-artist .mw-left-image img {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 16px;
}

/* =========================================
   SINGLE ARTIST – TITLE TYPOGRAPHY
   ========================================= */

.single-artist .mw-artist-name {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 42px;
    font-weight: 200;
    line-height: 1.2;
    color: #742338;
    margin-bottom: 24px;
}

.single-artist .mw-info-list p {
    margin-bottom: 2px;
    line-height: 1.3;
}

.single-artist .mw-info-list strong {
    font-weight: 500;
}

.single-artist .mw-info-list span {
    font-weight: 300;
}

/* Biography block */
.single-artist .mw-artist-bio {
    margin-top: 48px;
    font-size: 16px;
    line-height: 1.8;
}

/* Responsive stacking */
@media (max-width: 980px) {
    .single-artist .mw-top-flex {
        flex-direction: column;
        gap: 32px;
    }

    .single-artist .mw-left-image img {
        max-width: 100%;
    }
}
/* =========================================
   ARTIST ARCHIVE – HEADER SLOGAN FINAL FIX
   ========================================= */

body.post-type-archive-artist
.et_pb_section.artist-archive-header
p.artist-header-slogan {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.7em;
    font-weight: 400;
    color: #742338;
}



