/* Behind the Barrel Section Styles */
.behind-the-barrel-section {
    margin: 100px auto;
    padding: 80px 115px;
    background: var(--Black, #181818);
    color: var(--White, #FFF);
}

.behind-the-barrel-inner {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.behind-the-barrel-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.behind-the-barrel-title {
    font-family: Costaline;
    font-size: 64px;
    font-weight: 100;
    line-height: 170%;
    color: var(--White, #FFF);
    text-align: left;
}

.behind-the-barrel-title-vector {
    position: absolute;
    bottom: -30px;
    left: 0;
    margin: 16px auto 0 auto;
    width: auto;
    max-width: 100%;
    /* max-width: 1280px; */
    height: 260px;
    /* Ensures the aspect ratio is maintained */
}

.behind-the-barrel-content {
    display: flex;
    align-items: stretch;
    gap: 84px;
}

.behind-the-barrel-image-wrapper {
    display: flex;
    align-items: flex-start;
    max-width: 496px;
    margin-bottom: 80px;
}

.behind-the-barrel-image {
    width: 496px;
    min-width: 0;
    aspect-ratio: 1.5 / 1;
    height: 100%;
    max-height: 324px;
    object-fit: cover;
}

.behind-the-barrel-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.behind-the-barrel-text-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.behind-the-barrel-name {
    margin: 0;
    font-family: "General Sans Variable";
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
    color: var(--White, #FFF);
}

.behind-the-barrel-role {
    font-family: "General Sans Variable";
    margin: 0;
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
    line-height: normal;
    color: var(--White, #FFF);
}

.behind-the-barrel-education {
    font-family: "General Sans Variable";
    font-size: 18px;
    margin: 0;
    font-weight: 400;
    line-height: normal;
    color: var(--White, #FFF);
}

.behind-the-barrel-description {
    font-family: "General Sans Variable";
    font-size: 18px;
    margin: 0;
    font-weight: 400;
    line-height: normal;
    color: var(--White, #FFF);
}

.behind-the-barrel-read-more {
    font-family: "General Sans Variable";
    font-size: 18px;
    margin: 0;
    font-weight: 400;
    line-height: normal;
    color: var(--White, #FFF);
    text-decoration: underline;
}

.behind-the-barrel-actions {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
}

.behind-the-barrel-read-more {
    align-self: flex-start;
    /* keep the Read more visually aligned to the right */
}

.behind-the-barrel-contact-button {
    font-family: "General Sans Variable";
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    color: var(--White, #FFF);
    background: var(--Brown, #833C1E);
    padding: 12px 24px;
    border: none;
    width: auto;
    cursor: pointer;
    text-align: center;
    align-self: center;
}

/* Expandable content - hidden by default */
.profile-details-expandable {
    display: none;
    flex-direction: column;
    gap: 56px;
    margin-bottom: 32px;
}

.profile-details-expandable.active {
    display: flex;
}

/* Career Path Section */
.career-path-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.career-path-title {
    font-family: "General Sans Variable";
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
    color: var(--White, #FFF);
    margin: 0;
}

.career-path-table {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.career-path-row {
    display: flex;
    align-items: center;
    gap: 32px;
}

.career-path-bullet {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}

.career-path-bullet img {
    width: 100%;
    height: 100%;
    display: block;
}

.career-path-title-text {
    flex: 1;
    font-family: "General Sans Variable";
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    color: var(--White, #FFF);
    margin: 0;
}

.career-path-year {
    font-family: "General Sans Variable";
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    color: var(--Grey-1, #B4B2AD);
    text-align: right;
    margin: 0;
}

.career-path-divider {
    height: 1px;
    background: var(--Grey-1, #B4B2AD);
}

/* Achievements Section */
.achievements-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.achievements-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.achievements-title {
    font-family: "General Sans Variable";
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
    color: var(--White, #FFF);
    margin: 0;
}

.achievements-table {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.achievements-row {
    display: flex;
    align-items: center;
    gap: 32px;
}

.achievements-bullet {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}

.achievements-bullet img {
    width: 100%;
    height: 100%;
    display: block;
}

.achievements-text {
    flex: 1;
    font-family: "General Sans Variable";
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    color: var(--White, #FFF);
    margin: 0;
}

.achievements-divider {
    height: 1px;
    background: var(--Grey-1, #B4B2AD);
}

/* Read less link */
.read-less-link {
    font-family: "General Sans Variable";
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    color: var(--White, #FFF);
    text-decoration: underline;
    cursor: pointer;
}

@media (max-width: 1200px) and (min-width: 901px) {
    .behind-the-barrel-image {
        min-width: 0;
        max-width: 300px;
    }

    .career-path-row,
    .achievements-row {
        gap: 16px;
    }

    .career-path-title-text,
    .achievements-text {
        font-size: 16px;
    }

    .career-path-year {
        font-size: 16px;
    }
}

@media (max-width: 900px) and (min-width: 601px) {
    .behind-the-barrel-section {
        padding: 40px 60px;
    }

    .behind-the-barrel-inner {
        padding: 0;
    }

    .behind-the-barrel-title-vector {
        bottom: -82px;
    }

    .behind-the-barrel-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .behind-the-barrel-image-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-bottom: 0;
    }

    .behind-the-barrel-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1.5 / 1;
        min-width: 0;
        max-width: 100%;
        display: block;
    }

    .behind-the-barrel-text-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .behind-the-barrel-actions {
        align-items: flex-start;
    }

    .behind-the-barrel-title {
        font-size: 36px;
    }

    .career-path-section,
    .achievements-section {
        gap: 24px;
    }

    .career-path-table,
    .achievements-table {
        gap: 12px;
    }

    .career-path-title,
    .achievements-title,
    .career-path-title-text,
    .career-path-year,
    .achievements-text,
    .read-less-link {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .behind-the-barrel-section {
        padding: 32px 50px;
    }

    .behind-the-barrel-inner {
        padding: 0;
    }

    .behind-the-barrel-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .behind-the-barrel-image-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-bottom: 0;
    }

    .behind-the-barrel-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1.5 / 1;
        min-width: 0;
        max-width: 100%;
        display: block;
    }

    .behind-the-barrel-text-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .behind-the-barrel-actions {
        align-items: flex-start;
    }

    .behind-the-barrel-title {
        font-size: 24px;
    }

    .behind-the-barrel-title-vector {
        bottom: -100px;
    }

    .behind-the-barrel-name,
    .behind-the-barrel-role,
    .behind-the-barrel-education,
    .behind-the-barrel-description,
    .behind-the-barrel-read-more,
    .behind-the-barrel-contact-button {
        font-size: 16px;
    }

    .career-path-section,
    .achievements-section {
        gap: 24px;
    }

    .career-path-table,
    .achievements-table {
        gap: 12px;
    }

    .career-path-title,
    .achievements-title,
    .career-path-title-text,
    .career-path-year,
    .achievements-text,
    .read-less-link {
        font-size: 14px;
    }

    .career-path-row,
    .achievements-row {
        gap: 16px;
    }
}