/**
 * Medarbejder Slider Styles
 */

.medarbejder-slider-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 60px auto;
    padding: 20px 0;
    background-color: transparent;
    box-sizing: border-box;
}

.medarbejder-slider-wrapper:last-child {
    margin-bottom: 0;
}

.medarbejder-slider-header {
    position: relative;
    margin-bottom: 30px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.medarbejder-slider-header::before,
.medarbejder-slider-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #ff6600;
}

.medarbejder-slider-header::before {
    margin-right: 15px;
}

.medarbejder-slider-header::after {
    margin-left: 15px;
}

.medarbejder-slider-title {
    font-family: 'Titillium Web', sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0px;
    font-variation-settings: "wght" 400, "wdth" 100, "SOFT" 0;
    text-shadow: none;
    color: #ff6600;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    background-color: transparent;
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.medarbejder-grid {
    display: grid;
    gap: 37px;
    padding: 0 20px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 250px));
    justify-content: start;
    justify-items: start;
}

.medarbejder-grid-single {
    grid-template-columns: repeat(auto-fit, minmax(240px, 250px));
    justify-content: start;
    justify-items: start;
}

.medarbejder-card {
    width: 100%;
    max-width: 360px;
    min-width: 0;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.medarbejder-card:hover {
    transform: translateY(-5px);
}

.medarbejder-image {
    width: 100%;
    padding-top: 81.43%;
    max-width: 350px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #e0e0e0;
    position: relative;
    overflow: hidden;
    box-shadow: 5px 5px 4px 0px rgba(0, 0, 0, 0.25);
}

.medarbejder-icons {
    position: absolute;
    top: 40%;
    left: 70px;
    transform: translateX(-50%);
    display: none;
    gap: 10px;
    z-index: 10;
    filter: none !important;
}

.medarbejder-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    border: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    filter: none !important;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.15);
}

.medarbejder-icon:hover {
    background-color: rgba(var(--brz-global-color3),1);
    color: #fff;
    transform: scale(1.1);
}

.medarbejder-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    color: inherit;
    filter: none !important;
}

.medarbejder-icon svg use {
    fill: currentColor;
}

.medarbejder-info {
    padding: 15px 0;
    text-align: right;
    border-top: 1px solid rgba(var(--brz-global-color3),1);
    margin-top: 20px;
}

.medarbejder-navn {
    text-align: right !important;
    font-family: var(--brz-heading5fontfamily, initial) !important;
    font-size: var(--brz-heading5fontsize, initial);
    line-height: 20px;
    font-weight: var(--brz-heading5fontweight, initial);
    letter-spacing: var(--brz-heading5letterspacing, initial);
    font-variation-settings: var(--brz-heading5fontvariation, initial);
    font-weight: var(--brz-heading5bold, initial);
    font-style: var(--brz-heading5italic, initial);
    text-decoration: var(--brz-heading5textdecoration, initial) !important;
    text-transform: var(--brz-heading5texttransform, initial) !important;
    margin: 0;
}

.medarbejder-titel {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    text-align: right !important;
    font-family: var(--brz-sddupszdxwoufontfamily, initial) !important;
    font-size: var(--brz-sddupszdxwoufontsize, initial);
    line-height: var(--brz-sddupszdxwoulineheight, initial);
    font-weight: var(--brz-sddupszdxwoufontweight, initial);
    letter-spacing: var(--brz-sddupszdxwouletterspacing, initial);
    font-variation-settings: var(--brz-sddupszdxwoufontvariation, initial);
    font-weight: var(--brz-sddupszdxwoubold, initial);
    font-style: var(--brz-sddupszdxwouitalic, initial);
    text-decoration: var(--brz-sddupszdxwoutextdecoration, initial) !important;
    text-transform: var(--brz-sddupszdxwoutexttransform, initial) !important;
}

.medarbejder-kontakt {
    margin-top: 8px;
    text-align: right;
    font-size: 14px;
    line-height: 1.4;
    color: #666;
}

.medarbejder-telefon {
    display: inline;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.medarbejder-telefon:hover {
    color: rgba(var(--brz-global-color3),1);
    text-decoration: underline;
}

.medarbejder-mail {
    display: inline;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.medarbejder-mail:hover {
    color: rgba(var(--brz-global-color3),1);
    text-decoration: underline;
}

.medarbejder-separator {
    margin: 0 5px;
    color: #999;
}

.medarbejder-slider-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 0 20px;
}

.medarbejder-pagination-dot {
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    user-select: none;
    background-color: #999;
    display: inline-block;
}

.medarbejder-pagination-dot:hover {
    opacity: 0.7;
}

.medarbejder-pagination-dot.active {
    background-color: #333;
    opacity: 1;
}

/* Enkelt medarbejder styling */
.medarbejder-single {
    width: 100%;
    max-width: 265px;
    margin: 0 auto;
}

.medarbejder-single-card {
    width: auto;
    max-width: auto;
    min-width: auto;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.medarbejder-single-image {
    width: auto;
    height: 210px;
    max-width: auto;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #e0e0e0;
    position: relative;
    overflow: hidden;
    box-shadow: 5px 5px 4px 0px rgba(0, 0, 0, 0.25);
}

.medarbejder-single-icons {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    filter: none !important;
}

.medarbejder-single-info {
    padding: 15px;
    text-align: center;
    color: #fff;
}

.medarbejder-single-navn {
    text-align: center !important;
    font-family: var(--brz-heading5fontfamily, initial) !important;
    font-size: var(--brz-heading5fontsize, initial);
    line-height: 20px;
    font-weight: var(--brz-heading5fontweight, initial);
    letter-spacing: var(--brz-heading5letterspacing, initial);
    font-variation-settings: var(--brz-heading5fontvariation, initial);
    font-weight: var(--brz-heading5bold, initial);
    font-style: var(--brz-heading5italic, initial);
    text-decoration: var(--brz-heading5textdecoration, initial) !important;
    text-transform: var(--brz-heading5texttransform, initial) !important;
    margin: 0;
}

.medarbejder-single-titel {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    text-align: center !important;
    font-family: var(--brz-sddupszdxwoufontfamily, initial) !important;
    font-size: var(--brz-sddupszdxwoufontsize, initial);
    line-height: var(--brz-sddupszdxwoulineheight, initial);
    font-weight: var(--brz-sddupszdxwoufontweight, initial);
    letter-spacing: var(--brz-sddupszdxwouletterspacing, initial);
    font-variation-settings: var(--brz-sddupszdxwoufontvariation, initial);
    font-weight: var(--brz-sddupszdxwoubold, initial);
    font-style: var(--brz-sddupszdxwouitalic, initial);
    text-decoration: var(--brz-sddupszdxwoutextdecoration, initial) !important;
    text-transform: var(--brz-sddupszdxwoutexttransform, initial) !important;
}

.medarbejder-single-kontakt {
    margin-top: 8px;
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
}

.medarbejder-single-telefon {
    display: inline;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.medarbejder-single-telefon:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.medarbejder-single-mail {
    display: inline;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.medarbejder-single-mail:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.medarbejder-single-separator {
    margin: 0 5px;
    color: rgba(255, 255, 255, 0.7);
}

/* Filial chef kort styling */
.filial-chef-card {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.filial-chef-content {
    position: relative;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.filial-chef-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    z-index: 2;
    width: 50%;
}

.filial-chef-name {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.filial-chef-fornavn {
    font-family: var(--brz-heading5fontfamily, initial);
    font-size: var(--brz-heading5fontsize, initial);
    line-height: 1.2;
    font-weight: var(--brz-heading5fontweight, initial);
    color: #333;
    margin-bottom: 5px;
}

.filial-chef-efternavn {
    font-family: var(--brz-heading5fontfamily, initial);
    font-size: calc(var(--brz-heading5fontsize, 18px) * 1.2);
    line-height: 1.2;
    font-weight: var(--brz-heading5fontweight, initial);
    color: #333;
}

.filial-chef-line {
    width: 100%;
    height: 2px;
    background-color: rgba(var(--brz-global-color3),1);
    margin: 15px 0;
}

.filial-chef-titel {
    font-family: var(--brz-sddupszdxwoufontfamily, initial);
    font-size: var(--brz-sddupszdxwoufontsize, initial);
    line-height: var(--brz-sddupszdxwoulineheight, initial);
    font-weight: var(--brz-sddupszdxwoufontweight, initial);
    color: #666;
    margin-bottom: 15px;
}

.filial-chef-kontakt {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.4;
    color: #666;
}

.filial-chef-telefon {
    display: inline;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.filial-chef-telefon:hover {
    color: rgba(var(--brz-global-color3),1);
    text-decoration: underline;
}

.filial-chef-mail {
    display: inline;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.filial-chef-mail:hover {
    color: rgba(var(--brz-global-color3),1);
    text-decoration: underline;
}

.filial-chef-separator {
    margin: 0 5px;
    color: #999;
}

.filial-chef-icons {
    display: none;
    gap: 10px;
    margin-top: auto;
}

.filial-chef-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.filial-chef-icon:hover {
    background-color: rgba(var(--brz-global-color3),1);
    color: #fff;
    transform: scale(1.1);
}

.filial-chef-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    color: inherit;
}

.filial-chef-icon svg use {
    fill: currentColor;
}

.filial-chef-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #e0e0e0;
    filter: grayscale(100%);
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .filial-chef-image {
        min-height: 400px;
    }

    .filial-chef-text {
        padding: 20px;
    }
}

