/* Tabbed Content Section Styles - 1:1 conversion from Tailwind */

/* Outer Container - .container px-4 mb-16 */
.tabbed-content-container-outer {
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-bottom: 4rem;
}

/* Header - .mb-4 flex flex-col gap-4 md:mb-6 */
.tabbed-content-header {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .tabbed-content-header {
        margin-bottom: 1.5rem;
    }
}

.tabbed-content-header h3 {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
}

@media (min-width: 768px) {
    .tabbed-content-card-header h3 {
        font-size: 1.25rem;
        line-height: 1.2;
    }
}

/* Title - .order-1 */
.tabbed-content-title {
    order: 1;
    margin: 0;
}

/* Filters Wrapper */
.tabbed-content-filters-wrapper {
    width: 100%;
}

/* Filters - .mb-8 flex flex-wrap gap-3 lg:gap-6 */
.tabbed-content-filters {
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (min-width: 1024px) {
    .tabbed-content-filters {
        gap: 1.5rem;
    }
}

/* Filter Button - .relative max-w-fit min-w-min inline-flex items-center justify-between box-border whitespace-nowrap rounded-full text-base transition-colors duration-300 h-auto leading-none px-2 text-primary bg-white */
.tabbed-content-filter-btn {
    position: relative;
    max-width: fit-content;
    min-width: min-content;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    white-space: nowrap;
    border-radius: 9999px;
    font-size: 1rem;
    line-height: 1.5rem;
    transition-property: color, background-color;
    transition-duration: 300ms;
    height: auto;
    line-height: 1;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    color: var(--text-dark);
    background-color: var(--white);
    cursor: pointer;
}

/* Active Filter - shadow-lg shadow-default/50 bg-mid-blue text-white */
.tabbed-content-filter-active {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    background-color: var(--color-blue-100);
    color: var(--white);
}

/* Filter Text - .flex-1 text-inherit p-3 font-extrabold antialiased cursor-pointer */
.tabbed-content-filter-text {
    flex: 1 1 0%;
    color: inherit;
    padding: 0.75rem;
    font-weight: 800;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: pointer;
}

/* Grid Wrapper - .overflow-hidden with dynamic height */
.tabbed-content-grid-wrapper {
    overflow: hidden;
    transition: height 0.3s ease;
}

/* Grid - .grid gap-6 lg:grid-cols-2 */
.tabbed-content-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .tabbed-content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Card - .group relative rounded-[1.25rem] bg-white pb-6 pl-6 pr-8 pt-8 hover:cursor-pointer md:pl-9 */
.tabbed-content-card {
    position: relative;
    border-radius: 1.25rem;
    background-color: var(--white);
    padding-bottom: 1.5rem;
    padding-left: 1.5rem;
    padding-right: 2rem;
    padding-top: 2rem;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (min-width: 768px) {
    .tabbed-content-card {
        padding-left: 2.25rem;
    }
}

.tabbed-content-card.tabbed-content-hidden {
    display: none;
}

/* Card Header - .mb-4 flex items-center justify-between */
.tabbed-content-card-header {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tabbed-content-card-header h3 {
    margin: 0;
}

/* Image Wrapper - .relative h-10 */
.tabbed-content-image-wrapper {
    position: relative;
    height: 2.5rem;
}

/* Image - .h-full w-auto object-contain */
.tabbed-content-image {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Description - .mr-6 */
.tabbed-content-description {
    margin-right: 1.5rem;
}

/* Link - .absolute bottom-0 right-0 inline-flex h-12 w-12 items-center justify-center rounded-br-[1.25rem] rounded-tl-[1.25rem] bg-mid-blue focus:outline-dashed focus:outline-1 focus:outline-offset-[3px] focus:outline-mid-blue */
.tabbed-content-link {
    position: absolute;
    bottom: 0;
    right: 0;
    display: inline-flex;
    height: 3rem;
    width: 3rem;
    align-items: center;
    justify-content: center;
    border-bottom-right-radius: 1.25rem;
    border-top-left-radius: 1.25rem;
    background-color: var(--color-blue-100);
    text-decoration: none;
}

.tabbed-content-link:focus {
    outline-style: dashed;
    outline-width: 1px;
    outline-offset: 3px;
    outline-color: var(--color-blue-100);
}

/* Arrow - .h-6 w-6 fill-white transition-transform group-hover:translate-x-1 */
.tabbed-content-arrow {
    height: 1.5rem;
    width: 1.5rem;
    fill: var(--white);
    transition: transform 0.3s ease;
}

.tabbed-content-card:hover .tabbed-content-arrow {
    transform: translateX(0.25rem);
}

/* Screen Reader Only - .sr-only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
