/* =========================================================
   DIAWARA & SCHAffNER
   ARTIST SINGLE PAGE
   Bootstrap 3.3.7
   ========================================================= */

.ds-artist-single {
    color: #24252a;
    background: #fff;
}


/* =========================================================
   HERO
   ========================================================= */

.ds-artist-hero {
    background: #f6f2e9;
    padding: 54px 0;
}

.ds-artist-hero-row {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
}


/* IMAGE */

.ds-artist-hero-image-col {
    display: flex;
}

.ds-artist-hero-image {
    width: 100%;
    overflow: hidden;
    border-radius: var(--ds-radius);
    box-shadow: 0 18px 50px rgba(0,0,0,.12);
}

.ds-artist-hero-image img {
    width: 100%;
    height: 570px;
    object-fit: cover;
    display: block;
}

/* Source / courtesy line under the photo: full width, flush with the photo's edges */
.ds-artist-hero-image {
    display: flex;
    flex-direction: column;
    background: #f7f5f0;
}
.ds-artist-hero-image img {
    flex: 0 0 auto;
}
.ds-artist-image-courtesy {
    margin: 0;
    padding: 12px 18px;
    border-top: 1px solid #e4dfd2;
    background: #f7f5f0;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    text-align: left;
}
.ds-artist-image-courtesy-label {
    margin-right: 6px;
    font-family: 'Century Gothic Paneuropean','Century Gothic',CenturyGothic,sans-serif;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #777;
}
.ds-artist-image-courtesy-text,
.ds-artist-image-courtesy a {
    font-style: italic;
    color: #444;
}
/* Placeholder (no photo yet): the silhouette fills the frame, no caption */
.ds-artist-hero-image.is-placeholder img {
    object-fit: cover;
}


/* CONTENT */

.ds-artist-hero-content {
    padding:20px 35px 74px 0px;
}

.ds-artist-eyebrow {
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b28a3b;
    font-family: 'Century Gothic Paneuropean', sans-serif !important;
    font-weight: 400;
}

.ds-artist-title {
    font-size: 55px;
    line-height: .92;
    font-weight: 700;
    margin: 14px 0 20px;
}

.ds-artist-intro {
    font-size: 22px;
    line-height: 1.45;
    color: #4c4943;
    max-width: 500px;
}

.ds-artist-intro p {
    margin: 0 0 15px;color:#000;}


/* PROFILE CARD */

.ds-artist-profile-card {
    border-top: 1px solid #cfc6b6;
    padding-top: 20px;
    margin-top: 25px;
}

.ds-artist-profile-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #ded8cc;
    padding: 10px 0;
    font-size: 16px;
}

.ds-artist-profile-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    color: #77736c;
    font-weight: bold;
}

.ds-artist-profile-value {
    text-align: right;
    /*padding-left: 35px;*/
}


/* =========================================================
   PROFILE SECTION
   ========================================================= */

.ds-artist-profile {
    /*padding: 82px 0;*/
}

.ds-artist-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

.ds-artist-section-head h2 {
    font-size: 35px;
    line-height: 1.15;
    font-weight: 600;
    margin: 7px 0;
}

.ds-artist-rule {
    height: 3px;
    width: 50px;
    background: #b28a3b;
}


/* MAIN INTRO */

.ds-artist-main-intro {
    font-size: 27px;
    line-height: 1.55;
    max-width: 970px;
    color: #47443e;
    margin-bottom: 45px;
}

.ds-artist-main-intro p {
    margin-top: 0;color:#000;}


/* =========================================================
   BIOGRAPHY GRID
   ========================================================= */

.ds-artist-biography-row {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}


/* FACT BOX */

.ds-artist-factbox {
    border: 1px solid #ddd6c8;
    padding: 26px;
    border-radius: var(--ds-radius);
    background: #fff;
}

.ds-artist-factbox h3 {
    font-size: 25px;
    margin-top: 0;
    margin-bottom: 20px;
}

.ds-artist-facts {
    width: 100%;
}

.ds-artist-fact-row {
    display: flex;
    gap: 15px;
    padding: 10px 4px;
    border-bottom: 1px solid #ddd6c8;
}

.ds-artist-fact-label {
    width: 42%;
    flex-shrink: 0;
    color: #77736c;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: bold;
}

.ds-artist-fact-value {
    width: 58%;
    font-size: 16px;
    line-height: 1.5;
}


/* BIOGRAPHY */

.ds-artist-biography {
    padding-left: 20px;
}

.ds-artist-biography h3 {
    font-size: 30px;
    margin-top: 0;
	font-weight:600 !important;
}

.ds-artist-bio-block h4 {
    color: #b28a3b;
    font-size: 14px;
    letter-spacing: .5px;
    margin: 25px 0 5px;
}

.ds-artist-bio-block p {
    font-size: 16px;
    line-height: 1.7;
    color: #000;
    margin-top: 0;
}


/* =========================================================
   ELEMENTOR CONTENT
   ========================================================= */

.ds-artist-editor-content {
    /*padding: 60px 0;*/
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .ds-artist-hero-content {
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 45px;
    }

    .ds-artist-title {
        font-size: 60px;
    }

    .ds-artist-hero-image img {
        height: 480px;
    }

    .ds-artist-biography {
        padding-left: 0;
        margin-top: 30px;
    }

}


@media (max-width: 767px) {

    .ds-artist-hero {
        padding-top: 25px;
    }

    .ds-artist-hero-row {
        display: block;
    }

    .ds-artist-hero-image img {
        height: auto;
        max-height: none;
    }

    .ds-artist-hero-content {
        padding: 35px 15px 45px;
    }

    .ds-artist-title {
        font-size: 52px;
    }

    .ds-artist-intro {
        font-size: 18px;
    }

    .ds-artist-profile-row {
        display: block;
    }

    .ds-artist-profile-value {
        display: block;
        text-align: left;
        margin-top: 4px;
    }

    .ds-artist-profile-label {
        display: block;
    }

    .ds-artist-profile {
        padding: 55px 0;
    }

    .ds-artist-section-head h2 {
        font-size: 36px;
    }

    .ds-artist-main-intro {
        font-size: 22px;
    }

    .ds-artist-biography-row {
        display: block;
    }

    .ds-artist-factbox {
        margin-bottom: 35px;
    }

    .ds-artist-biography {
        padding-left: 0;
    }

}



/* =========================================================
   DIAWARA & SCHAffNER — THEMES & SUBJECTS ONLY
   Cleaned from the authoritative/latest CSS version
   ========================================================= */

.ds-artist-profile, .ds-artist-themes-subjects, .ds-artist-editor-content {
padding: 70px 0 0;
}

.ds-artist-profile-columns, .ds-artist-themes-subjects-columns {
display: flex;
    flex-wrap: wrap;
}

.ds-artist-glance-column, .ds-artist-biography-column, .ds-artist-themes-subjects-columns > [class*="col-"] {
margin-bottom: 25px;
}

/*.ds-artist-factbox, .ds-artist-taxonomy-panel {*/
/*background: #ebe7df;*/
/*    padding: 28px 30px;*/
/*    height: 100%;*/
/*}*/
.ds-artist-factbox, .ds-artist-taxonomy-panel {
    background: #fff;
    border: 1px solid #dedbd2;
    border-radius: var(--ds-radius);
    padding: 28px;
}

.ds-artist-factbox h3, .ds-artist-taxonomy-panel h3 {
color: #24211d;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 22px;
}

.ds-artist-taxonomy-panel .ds-artist-pills {
margin-top: 0;
}

.ds-artist-profile, .ds-artist-themes-subjects, .ds-artist-editor-content {
padding-top: 45px;
}

.ds-artist-factbox, .ds-artist-taxonomy-panel {
padding: 24px 20px;
}

.ds-artist-pills {
display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0 0;
}

.ds-pill {
display: inline-block;
    border: 1px solid #b8b0a4;
    border-radius: var(--ds-radius);
    color: #514b42;
    background:#fbf8f0;
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: .08em;
    text-transform: capitalize;
    padding: 8px 13px;
    white-space: normal;
}


.ds-artist-themes-subjects{
    background:#f6f2e9;
}

/* Relationships & networks: silhouette when a person has no photo */
.ds-artist-relationship-image.is-placeholder {
    overflow: hidden;
    border-radius: var(--ds-radius);
}
.ds-artist-relationship-image.is-placeholder img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================================
   FULL-WIDTH SECTION TEXT
   "02 - Introduction" and "05 - Historical context" text now
   runs the full container width (same right edge as the other
   sections) instead of shrinking to a narrow column.
   ========================================================= */

.ds-artist-section-head > div {
    flex: 1 1 auto;
    min-width: 0;
}

.ds-artist-section-head .ds-artist-section-description,
.ds-artist-historical-context-content {
    float: none;
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    font-size: 18px;
    line-height: 1.8;
    color: #24252a;
}

.ds-artist-section-description::after {
    content: "";
    display: table;
    clear: both;
}

.ds-artist-section-description p,
.ds-artist-historical-context-content p {
    max-width: none;
    margin: 0 0 18px;color:#000;}

.ds-artist-historical-context {
    padding: 45px 0 0;
}


/* =========================================================
   10 - WORKS IN THE ARCHIVE
   ========================================================= */

.ds-artist-archive-works {
    padding: 70px 0;
    background: #f7f4ed;
}

.ds-artist-archive-works-more {
    margin: 32px 0 0;
}

/* =========================================================
   05 - HISTORICAL CONTEXT: text spans the full container width
   (same right edge as the other sections). The selectors are
   deliberately specific so no theme / Elementor rule can cap it.
   ========================================================= */

.ds-artist-single .ds-artist-historical-context .ds-artist-historical-context-content,
.ds-artist-single .ds-artist-historical-context .ds-artist-historical-context-content > * {
    float: none !important;
    display: block;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

.ds-artist-single .ds-artist-historical-context .ds-artist-historical-context-content p {
    margin: 0 0 18px;color:#000;}


/* =========================================================
   08 - SELECTED EXHIBITIONS: title block now uses the shared
   .ds-artist-section-head markup, so it matches Education,
   Relationships & networks, etc.
   ========================================================= */

.ds-artist-exhibition-history .ds-artist-eyebrow::before,
.ds-artist-exhibition-history .ds-artist-eyebrow::after {
    content: none !important;
    display: none !important;
}

.ds-artist-exhibition-history .ds-artist-section-head h2 {
    font-family: 'Century Gothic Paneuropean', sans-serif;
    font-size: 35px;
    line-height: 1.15;
    font-weight: 600;
    margin: 7px 0;
}

.ds-artist-exhibition-history .ds-artist-exhibition-intro {
    margin: 0 0 14px;
    max-width: none;
    font-size: 18px;
    line-height: 1.6;
    color: #4c4943;
}

@media (max-width: 767px) {
    .ds-artist-exhibition-history .ds-artist-section-head h2 {
        font-size: 28px;
    }
}


/* =========================================================
   02 - INTRODUCTION: wider "At a glance" table
   (only change: At a glance column 4/12 -> 5/12,
   biography column 8/12 -> 7/12, desktop/tablet only)
   ========================================================= */

@media (min-width: 768px) {

    .ds-artist-profile-columns > .ds-artist-glance-column {
        width: 50%;
    }

    .ds-artist-profile-columns > .ds-artist-glance-column + .ds-artist-biography-column {
        width: 50%;
    }

}


/* =========================================================
   02 - INTRODUCTION: BIOGRAPHY ACCORDION
   ========================================================= */

.ds-artist-biography-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
}

.ds-artist-biography-head h3 {
    margin: 0;
}

.ds-artist-accordion {
    border-top: 1px solid #ddd6c8;
    counter-reset: ds-acc;
}

.ds-artist-accordion-item {
    border-bottom: 1px solid #ddd6c8;
    counter-increment: ds-acc;
}

.ds-artist-accordion-heading {
    margin: 0;
    font-size: inherit;
}

.ds-artist-accordion-trigger {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    margin: 0;
    padding: 20px 4px;
    background: none;
    border: 0;
    border-radius: 0;
    text-align: left;
    cursor: pointer;
    color: #24211d;
    font-family: 'Century Gothic Paneuropean', sans-serif;
    transition: color .2s ease, background-color .2s ease;
}

.ds-artist-accordion-trigger::before {
    content: counter(ds-acc, decimal-leading-zero);
    flex: 0 0 auto;
    min-width: 26px;
    font-size: 13px;
    letter-spacing: 1.5px;
    color: #b28a3b;
}

.ds-artist-accordion-title {
    flex: 1 1 auto;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.ds-artist-accordion-trigger:hover {
    color: #b28a3b;
}

.ds-artist-accordion-trigger:focus-visible {
    outline: 2px solid #b28a3b;
    outline-offset: 2px;
}

/* plus / minus icon */
.ds-artist-accordion-icon {
    position: relative;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border: 1px solid #cfc6b6;
    border-radius: 50%;
    background: #fbf8f0;
    transition: background-color .25s ease, border-color .25s ease, transform .35s ease;
}

.ds-artist-accordion-icon::before,
.ds-artist-accordion-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    margin: -1px 0 0 -6px;
    background: #b28a3b;
    transition: transform .3s ease, background-color .25s ease;
}

.ds-artist-accordion-icon::after {
    transform: rotate(90deg);
}

.ds-artist-accordion-item.is-open .ds-artist-accordion-icon {
    background: #b28a3b;
    border-color: #b28a3b;
}

.ds-artist-accordion-item.is-open .ds-artist-accordion-icon::before,
.ds-artist-accordion-item.is-open .ds-artist-accordion-icon::after {
    background: #fff;
}

.ds-artist-accordion-item.is-open .ds-artist-accordion-icon::after {
    transform: rotate(0deg);
}

/* smooth height animation (grid rows 0fr -> 1fr) */
.ds-artist-accordion-panel {
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows .35s ease, visibility .35s;
}

.ds-artist-accordion-item.is-open .ds-artist-accordion-panel {
    grid-template-rows: 1fr;
    visibility: visible;
}

.ds-artist-accordion-panel-inner {
    min-height: 0;
    overflow: hidden;
}

.ds-artist-accordion-body {
    padding: 2px 4px 26px 48px;
    font-size: 16px;
    line-height: 1.75;
    color: #57534c;
}

.ds-artist-accordion-body p {
    font-size: 16px;
    line-height: 1.75;
    color: #000;
    margin: 0 0 14px;
}

.ds-artist-accordion-body p:last-child {
    margin-bottom: 0;color:#000;}

@media (max-width: 767px) {

    .ds-artist-accordion-trigger {
        gap: 12px;
        padding: 16px 0;
    }

    .ds-artist-accordion-title {
        font-size: 18px;
    }

    .ds-artist-accordion-body {
        padding: 0 0 22px 0;
    }

}

@media (prefers-reduced-motion: reduce) {

    .ds-artist-accordion-panel,
    .ds-artist-accordion-icon,
    .ds-artist-accordion-icon::before,
    .ds-artist-accordion-icon::after {
        transition: none;
    }

}


/* =========================================================
   02 - INTRODUCTION: STICKY BIOGRAPHY
   While the long "At a glance" table scrolls past, the
   biography stays pinned under the header, and is released
   when the table ends. Desktop / tablet only.
   Change --ds-sticky-top to match your header height.
   ========================================================= */

.ds-artist-profile {
    --ds-sticky-top: 110px;
}

@media (min-width: 768px) {

    .ds-artist-profile-columns > .ds-artist-glance-column + .ds-artist-biography-column .ds-artist-biography {
        position: sticky;
        top: var(--ds-sticky-top);
        max-height: calc(100vh - var(--ds-sticky-top) - 20px);
        overflow-y: auto;
        padding-right: 8px;
        scrollbar-width: thin;
        scrollbar-color: #cfc6b6 transparent;
    }

    .ds-artist-profile-columns > .ds-artist-glance-column + .ds-artist-biography-column .ds-artist-biography::-webkit-scrollbar {
        width: 6px;
    }

    .ds-artist-profile-columns > .ds-artist-glance-column + .ds-artist-biography-column .ds-artist-biography::-webkit-scrollbar-thumb {
        background: #cfc6b6;
        border-radius: 3px;
    }

}


/* =========================================================
   02 - INTRODUCTION: STICKY "BIOGRAPHY" TITLE
   Inside the biography's own scroll area, the title stays
   pinned at the top so the reader always knows which section
   they are in. Desktop / tablet only.
   ========================================================= */

@media (min-width: 768px) {

    .ds-artist-profile-columns > .ds-artist-glance-column + .ds-artist-biography-column .ds-artist-biography-head {
        position: sticky;
        top: 0;
        z-index: 5;
        margin: 0;
        padding: 4px 0 14px;
        background: #fff;
    }

    /* soft fade under the title so content slides out of view gently */
    .ds-artist-profile-columns > .ds-artist-glance-column + .ds-artist-biography-column .ds-artist-biography-head::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -14px;
        height: 14px;
        background: linear-gradient(#fff, rgba(255,255,255,0));
        pointer-events: none;
    }

}


/* =========================================================
   01 - VISUAL RECORD (Artist photographs)
   Grid tweaks + the enlarged-photo view (image only).
   Self-contained: no separate artist-photographs.css needed.
   ========================================================= */

.ds-artist-photographs {
    width: 100%;
    margin: 0;
}

.ds-photo-grid > div {
    min-width: 0;
}

.ds-photo-open {
    cursor: pointer;
}

/* Photographs of people: keep faces in frame */
.ds-photo-grid .ds-artist-card img {
    object-position: center 25%;
}


/* ---- Enlarged photograph (image only) ---- */

.ds-photo-single {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 64px 84px;
    background: rgba(20, 17, 12, .92);
}

.ds-photo-single.is-open {
    display: flex;
}

/* stays hidden even if this stylesheet is slow to load */
.ds-photo-single[hidden] {
    display: none !important;
}

body.ds-photo-single-open {
    overflow: hidden;
}

.ds-photo-single-figure {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
}

.ds-photo-single-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 128px);
    object-fit: contain;
    border-radius: var(--ds-radius, 12px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
    transition: opacity .25s ease;
}

.ds-photo-single.is-loading .ds-photo-single-image {
    opacity: .35;
}

.ds-photo-single-close,
.ds-photo-single-prev,
.ds-photo-single-next {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}

.ds-photo-single-close {
    top: 18px;
    right: 22px;
    font-size: 30px;
}

.ds-photo-single-prev,
.ds-photo-single-next {
    top: 50%;
    margin-top: -23px;
    font-size: 30px;
}

.ds-photo-single-prev { left: 22px; }
.ds-photo-single-next { right: 22px; }

.ds-photo-single-close:hover,
.ds-photo-single-prev:hover,
.ds-photo-single-next:hover,
.ds-photo-single-close:focus-visible,
.ds-photo-single-prev:focus-visible,
.ds-photo-single-next:focus-visible {
    background: #b28a3b;
    border-color: #b28a3b;
    outline: none;
}

/* only one photograph: no arrows */
.ds-photo-single.is-single .ds-photo-single-prev,
.ds-photo-single.is-single .ds-photo-single-next {
    display: none;
}

@media (max-width: 767px) {

    .ds-photo-single {
        padding: 64px 12px 24px;
    }

    .ds-photo-single-image {
        max-height: calc(100vh - 100px);
    }

    .ds-photo-single-close {
        top: 12px;
        right: 12px;
    }

    .ds-photo-single-prev,
    .ds-photo-single-next {
        top: auto;
        bottom: 14px;
        margin-top: 0;
    }

    .ds-photo-single-prev { left: calc(50% - 56px); }
    .ds-photo-single-next { right: calc(50% - 56px); }

}