./* Director section responsive fixes */
/* Ensure the flex container stacks vertically on small screens and side‑by‑side on md+ */
.bg-white > .flex {
    flex-direction: column;
    align-items: stretch;
}
@media (min-width: 768px) {
    .bg-white > .flex {
        flex-direction: row;
    }
    .bg-white > .flex > .w-full.md\:w-\[25%\] {
        max-width: 25%;
    }
    .bg-white > .flex > .w-full.md\:w-\[75%\] {
        max-width: 75%;
    }
}
/* Image container fixes – ensure image does not overflow */
.bg-white > .flex > .w-full.md\:w-\[25%\] img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}
/* Icon color – force primary color on all Material Symbols */
.bg-white .flex .w-full.md\:w-\[75%\] p {
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
    max-width: 100%;
    line-height: 1.5;
    text-align: justify;
    margin: 0 auto;
    white-space: normal;
}
@media (max-width: 640px) {
    .bg-white .flex .w-full.md\:w-\[75%\] {
        padding: 1rem;
    }
    .bg-white .flex .w-full.md\:w-\[75%\] p {
        font-size: 0.9rem;
    }
}
/* Ensure container does not overflow on very small devices */
@media (max-width: 640px) {
    .bg-white .flex .w-full.md\:w-\[75%\] {
        padding: 1rem;
    }
}
.material-symbols-outlined:not(.text-white):not(.text-secondary):not(.text-on-primary):not(.text-primary-fixed) {
    color: var(--color-primary) !important;
}

/* Specific overrides for sections that need white icons */
.bg-primary .material-symbols-outlined,
.bg-primary-container .material-symbols-outlined,
.bg-on-primary-fixed-variant .material-symbols-outlined,
.text-on-primary .material-symbols-outlined,
.text-white {
    color: #ffffff !important;
}

/* Mobile fix for Back to Top */
@media (max-width: 768px) {
    #arbeit-back-to-top {
        bottom: 20px !important;
        right: 20px !important;
        width: 40px !important;
        height: 40px !important;
    }
    #arbeit-back-to-top .material-symbols-outlined {
        font-size: 20px !important;
    }
}


.arbeit-leadership-section [data-leadership-card].is-hidden-mobile {
	display: none;
}

.arbeit-social-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}
