.cms-ratgeber-featured-image-link,

.cms-ratgeber-entry-image-link {

    display: block;

    width: 100%;

    height: 220px;

    overflow: hidden;

    background-color: #ddd;

}



.cms-ratgeber-featured-image,

.cms-ratgeber-entry-image {

    display: block;

    width: 100%;

    height: 220px;

    object-fit: cover;

}





/* =========================================================

   THEMENWELTEN

   ========================================================= */



.cms-ratgeber-topics {

    margin-top: 1rem;

}



.cms-ratgeber-topics-intro {

    color: #666;

    line-height: 1.6;

}





/* =========================================================

   THEMEN-CARD

   ========================================================= */



.cms-ratgeber-topic-card {

    display: flex;

    flex-direction: column;

    height: 100%;

    overflow: hidden;

    border: 1px solid #dddddd;

    border-radius: .35rem;

    background: #ffffff;

    transition:

        border-color .2s ease,

        box-shadow .2s ease,

        transform .2s ease;

}



.cms-ratgeber-topic-card:hover {

    border-color: var(--xtra-ui-primary-color-600);

    box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .08);

    transform: translateY(-2px);

}



.cms-ratgeber-topic-card.is-open {

    border-color: var(--xtra-ui-primary-color-600);

}





/* =========================================================

   THEMEN-CARD BILD

   ========================================================= */



.cms-ratgeber-topic-image-wrap {

    position: relative;

    display: block;

    width: 100%;

    height: 240px;

    flex: 0 0 240px;

    overflow: hidden;

    background-color: #ddd;

}



.cms-ratgeber-topic-image {

    display: block;

    width: 100%;

    height: 240px;

    object-fit: cover;

    transition: transform .3s ease;

}



.cms-ratgeber-topic-card:hover

.cms-ratgeber-topic-image {

    transform: scale(1.025);

}





/* =========================================================

   THEMEN-CARD BODY

   ========================================================= */



.cms-ratgeber-topic-body {

    display: flex;

    flex: 1 1 auto;

    flex-direction: column;

    padding: 1.25rem;

}



.cms-ratgeber-topic-overline {

    display: block;

    margin-bottom: .45rem;

    color: var(--xtra-ui-primary-color-600);

    font-size: .75rem;

    font-weight: 700;

    line-height: 1.4;

    letter-spacing: .08em;

    text-transform: uppercase;

}



.cms-ratgeber-topic-title {

    margin-top: 0;

    margin-bottom: .4rem;

    color: #252525;

    font-size: 1.35rem;

    font-weight: 700;

    line-height: 1.35;

}



.cms-ratgeber-topic-count {

    margin-bottom: 1.15rem;

    color: #777777;

    font-size: .875rem;

    line-height: 1.5;

}





/* =========================================================

   DROPDOWN BUTTON

   ========================================================= */



.cms-ratgeber-topic-toggle {

    display: flex;

    width: 100%;

    min-height: 44px;

    align-items: center;

    justify-content: space-between;

    margin-top: auto;

    padding: .7rem 0;

    border: 0;

    border-top: 1px solid #e5e5e5;

    border-radius: 0;

    background: transparent;

    color: #252525;

    font-family: inherit;

    font-size: .925rem;

    font-weight: 600;

    line-height: 1.4;

    text-align: left;

    cursor: pointer;

}



.cms-ratgeber-topic-toggle:hover,

.cms-ratgeber-topic-toggle:focus {

    color: var(--xtra-ui-primary-color-600);

    outline: none;

}



.cms-ratgeber-topic-toggle:disabled {

    color: #999999;

    cursor: default;

}



.cms-ratgeber-topic-toggle-icon {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-left: 1rem;

    font-size: 1rem;

    line-height: 1;

    transition: transform .2s ease;

}



.cms-ratgeber-topic-toggle[aria-expanded="true"]

.cms-ratgeber-topic-toggle-icon {

    transform: rotate(180deg);

}





/* =========================================================

   DROPDOWN PANEL

   ========================================================= */



.cms-ratgeber-topic-panel {

    padding-top: .8rem;

}



.cms-ratgeber-topic-panel[hidden] {

    display: none !important;

}





/* =========================================================

   RATGEBER-LINKS IM DROPDOWN

   ========================================================= */



.cms-ratgeber-topic-list {

    margin: 0;

    padding: 0;

    border-top: 1px solid #eeeeee;

    list-style: none;

}



.cms-ratgeber-topic-list li {

    margin: 0;

    padding: 0;

    border-bottom: 1px solid #eeeeee;

}



.cms-ratgeber-topic-list li:last-child {

    border-bottom: 0;

}



.cms-ratgeber-topic-list a {

    display: flex;

    width: 100%;

    align-items: center;

    justify-content: space-between;

    padding: .8rem 0;

    color: #252525;

    font-size: .9rem;

    font-weight: 500;

    line-height: 1.45;

    text-decoration: none;

}



.cms-ratgeber-topic-list a:hover,

.cms-ratgeber-topic-list a:focus {

    color: var(--xtra-ui-primary-color-600);

    text-decoration: none;

}



.cms-ratgeber-topic-link-arrow {

    flex: 0 0 auto;

    margin-left: 1rem;

    color: var(--xtra-ui-primary-color-600);

    transition: transform .2s ease;

}



.cms-ratgeber-topic-list a:hover

.cms-ratgeber-topic-link-arrow {

    transform: translateX(3px);

}





/* =========================================================

   TABLET

   ========================================================= */



@media (max-width: 991.98px) {



    .cms-ratgeber-topic-image-wrap,

    .cms-ratgeber-topic-image {

        height: 220px;

    }



    .cms-ratgeber-topic-image-wrap {

        flex-basis: 220px;

    }



}





/* =========================================================

   MOBILE

   ========================================================= */



@media (max-width: 767.98px) {



    .cms-ratgeber-topic-image-wrap,

    .cms-ratgeber-topic-image {

        height: 200px;

    }



    .cms-ratgeber-topic-image-wrap {

        flex-basis: 200px;

    }



    .cms-ratgeber-topic-body {

        padding: 1rem;

    }



    .cms-ratgeber-topic-title {

        font-size: 1.2rem;

    }



}



.cms-ratgeber-themenwelt-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cms-ratgeber-themenwelt-title .content-hero__title {
    margin: 0;
}

.cms-ratgeber-themenwelt-icon {
    display: block;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    margin: 0;
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 767.98px) {
    .cms-ratgeber-themenwelt-title {
        gap: .75rem;
    }

    .cms-ratgeber-themenwelt-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }
}