:root {

    /*  The max width of the job board container */
    --widthMaxJobBoard: 100%;
    
    /*  Font families */
    --fontFamily: "Geist", "Geist Placeholder", sans-serif;
}

.ashby-job-posting-brief {
    background-color: var(--token-9347030c-ed54-41a0-a971-21f2e5e74c7b, rgb(251, 252, 253));
    margin-bottom: 40px;
    padding: 40px;
    border-radius: 8px;
}

.ashby-job-posting-brief:hover {
    background: linear-gradient(to bottom right, #efe70d29, #0094d847);
}

.ashby-job-posting-brief-title {
    color: #19282f;
    font-size: 24px;
    font-family: "Geist", "Geist Placeholder", sans-serif;
    font-weight: 300;
}

.ashby-job-posting-brief-details p {
    color: #828385;
    font-size: 12px;
    font-family: "Geist", "Geist Placeholder", sans-serif;
    font-weight: 400;
}

.ashby-department-heading {
    color: #828385;
    font-size: 16px;
    margin-bottom: 40px;
    font-family: "Geist", "Geist Placeholder", sans-serif;
    font-weight: 400;
}

.ashby-job-board-heading {
    display: none;
}

body {
    margin: 0px -12px 0 -8px;
}

.ashby-job-posting-brief-title {
    position: relative;
    padding-right: 40px;
    text-align: left;
}

/* Default arrow */
.ashby-job-posting-brief-title::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(0deg); /* starting position */
    width: 30px;
    height: 30px;

    background-repeat: no-repeat;
    background-size: contain;
    transition: transform 0.25s ease; /* smooth hover animation */

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cg weight='bold'%3E%3Cpath d='M224.49 136.49l-72 72a12 12 0 0 1-17-17L187 140H40a12 12 0 0 1 0-24H187L135.51 64.48a12 12 0 0 1 17-17l72 72a12 12 0 0 1 0 17Z' fill='currentColor'/%3E%3C/g%3E%3C/svg%3E");
}

/* Rotate arrow on hover */
.ashby-job-posting-brief:hover .ashby-job-posting-brief-title::after {
    transform: translateY(-50%) rotate(-45deg); /* 45° anti-clockwise */
}

.ashby-job-board-filter {
    max-width: 610px;
}
