/* TC Telefonhinweis 1.0.0: bewusst eng gekapselt gegen Enfold-CSS. */
#tc-telefonhinweis-dialog {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    z-index: 2147483647 !important;
    display: none;
    width: calc(100% - 40px);
    max-width: 650px;
    height: fit-content;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: #222;
    color: #fff;
    border: 0;
    border-left: 5px solid #72c934;
    border-radius: 0;
    box-shadow: 0 12px 50px rgba(0, 0, 0, .3);
    font-family: inherit;
    text-align: left;
}

#tc-telefonhinweis-dialog[open] {
    display: block;
}

#tc-telefonhinweis-dialog::backdrop {
    background: rgba(0, 0, 0, .38);
}

#tc-telefonhinweis-dialog,
#tc-telefonhinweis-dialog * {
    box-sizing: border-box;
}

#tc-telefonhinweis-dialog .tc-telefonhinweis__innen {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 26px 26px 25px;
}

#tc-telefonhinweis-dialog .tc-telefonhinweis__inhalt {
    flex: 1 1 auto;
    min-width: 0;
}

#tc-telefonhinweis-dialog .tc-telefonhinweis__titel {
    display: block;
    margin: 0 0 9px;
    padding: 0;
    color: #72c934;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .12em;
}

#tc-telefonhinweis-dialog .tc-telefonhinweis__text {
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.55;
}

#tc-telefonhinweis-dialog .tc-telefonhinweis__text a,
#tc-telefonhinweis-dialog .tc-telefonhinweis__text a:visited {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

#tc-telefonhinweis-dialog .tc-telefonhinweis__text a:hover,
#tc-telefonhinweis-dialog .tc-telefonhinweis__text a:focus {
    color: #72c934;
}

#tc-telefonhinweis-dialog .tc-telefonhinweis__schliessen,
#tc-telefonhinweis-dialog .tc-telefonhinweis__schliessen:hover,
#tc-telefonhinweis-dialog .tc-telefonhinweis__schliessen:focus {
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    margin: -6px -7px 0 0;
    padding: 0;
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    font-size: 30px;
    font-family: Arial, sans-serif;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
}

#tc-telefonhinweis-dialog .tc-telefonhinweis__schliessen:hover {
    color: #72c934;
}

#tc-telefonhinweis-dialog :focus-visible {
    outline: 2px solid #72c934;
    outline-offset: 3px;
}

/* Nur für Browser ohne showModal(): feste Überlagerung als Fallback. */
#tc-telefonhinweis-fallback-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2147483646 !important;
    background: rgba(0, 0, 0, .38);
}

@media (max-width: 767px) {
    #tc-telefonhinweis-dialog {
        width: calc(100% - 24px);
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
    }

    #tc-telefonhinweis-dialog .tc-telefonhinweis__innen {
        gap: 10px;
        padding: 22px 16px;
    }

    #tc-telefonhinweis-dialog .tc-telefonhinweis__text {
        font-size: 16px;
        line-height: 1.5;
    }

    #tc-telefonhinweis-dialog .tc-telefonhinweis__schliessen {
        margin: -6px -3px 0 0;
    }
}
