
/* DeutschLernSpur Grammatik-Soforthilfe 1.0.0 */
.dls-gh-term {
    appearance: none;
    border: 0;
    border-bottom: 1px dotted currentColor;
    background: transparent;
    color: #0A4F5A;
    padding: 0 .08em;
    margin: 0;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    line-height: inherit;
}
.dls-gh-term:hover,
.dls-gh-term:focus-visible {
    color: #2D8B92;
    border-bottom-style: solid;
    outline: 2px solid rgba(225,165,58,.55);
    outline-offset: 2px;
    border-radius: 3px;
}
.dls-gh-info {
    display: inline-block;
    margin-left: .18em;
    color: #E1A53A;
    font-weight: 800;
    font-size: .88em;
    text-decoration: none;
}
html.dls-gh-open,
html.dls-gh-open body {
    overflow: hidden;
}
.dls-gh-overlay[hidden] {
    display: none !important;
}
.dls-gh-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(12,32,37,.58);
    display: grid;
    place-items: center;
    padding: 18px;
}
.dls-gh-dialog {
    position: relative;
    width: min(680px, 100%);
    max-height: min(82vh, 760px);
    overflow: auto;
    background: #fff;
    color: #1F2933;
    border: 1px solid #D6E4E6;
    border-top: 6px solid #E1A53A;
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0,0,0,.24);
    padding: 24px;
}
.dls-gh-dialog:focus {
    outline: 0;
}
.dls-gh-x {
    position: absolute;
    top: 11px;
    right: 12px;
    width: 38px;
    height: 38px;
    border: 1px solid #D6E4E6;
    border-radius: 50%;
    background: #fff;
    color: #0A4F5A;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}
.dls-gh-x:hover,
.dls-gh-x:focus-visible {
    background: #F2F7F8;
    outline: 2px solid #E1A53A;
    outline-offset: 2px;
}
.dls-gh-heading {
    padding-right: 42px;
}
.dls-gh-heading h2 {
    color: #0A4F5A;
    margin: .1rem 0 .25rem;
    font-size: clamp(1.45rem, 4vw, 2rem);
}
.dls-gh-question {
    margin: 0 0 1rem;
    color: #2D8B92;
    font-weight: 800;
    font-size: 1.06rem;
}
.dls-gh-example-wrap {
    margin: 1rem 0;
    padding: 14px 16px;
    background: #FFF6E6;
    border-left: 5px solid #E1A53A;
    border-radius: 9px;
}
.dls-gh-example-wrap > p {
    margin: .4rem 0;
    font-size: 1.08rem;
}
.dls-gh-example-wrap ul {
    margin: .45rem 0 0 1.2rem;
}
.dls-gh-table-wrap {
    margin: 1rem 0;
}
.dls-gh-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    margin-top: .5rem;
}
.dls-gh-table-wrap th,
.dls-gh-table-wrap td {
    border: 1px solid #D6E4E6;
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}
.dls-gh-table-wrap th {
    background: #EAF2F3;
    color: #0A4F5A;
}
.dls-gh-actions {
    display: flex;
    gap: .7rem;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.3rem;
    flex-wrap: wrap;
}
.dls-gh-actions .dls-button {
    text-align: center;
}
@media (max-width: 620px) {
    .dls-gh-overlay {
        padding: 8px;
        align-items: end;
    }
    .dls-gh-dialog {
        width: 100%;
        max-height: 91vh;
        border-radius: 15px 15px 8px 8px;
        padding: 20px 16px 16px;
    }
    .dls-gh-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
    .dls-gh-actions .dls-button {
        width: 100%;
        justify-content: center;
    }
}
@media (prefers-reduced-motion: no-preference) {
    .dls-gh-dialog {
        animation: dls-gh-in .16s ease-out;
    }
    @keyframes dls-gh-in {
        from { transform: translateY(10px); opacity: .4; }
        to { transform: translateY(0); opacity: 1; }
    }
}
