/* FrapArchive Telegram card 1.0.0. Scoped to avoid changing the BloggyRed theme. */
.frap-tg-card,
.frap-tg-card *,
.frap-tg-mobile,
.frap-tg-mobile * {
    box-sizing: border-box;
}
.frap-tg-card {
    padding: 18px 16px 14px;
    margin: 0 0 20px;
    border: 1px solid #d6e8f0;
    border-top: 3px solid #229ed9;
    border-radius: 6px;
    background: linear-gradient(155deg, #f0faff, #fff 70%);
    color: #273846;
}
.frap-tg-card__header {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 12px;
}
.frap-tg-card__icon,
.frap-tg-mobile__icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    background: #229ed9;
}
.frap-tg-card .frap-tg-card__title {
    margin: 0;
    padding: 0;
    color: #172d3c;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
}
.frap-tg-card__title span {
    display: block;
    margin-top: 3px;
    color: #287a9e;
    font-size: 14px;
    font-weight: 400;
}
.frap-tg-card .frap-tg-card__text {
    margin: 0 0 15px;
    color: #445d6d;
    font-size: 14px;
    line-height: 1.55;
}
.frap-tg-card .frap-tg-card__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 42px;
    padding: 10px;
    border-radius: 4px;
    background: #137cb3;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
}
.frap-tg-card .frap-tg-card__button:hover {
    color: #fff;
    background: #096895;
    text-decoration: none;
}
.frap-tg-card .frap-tg-card__details {
    display: block;
    width: fit-content;
    margin: 10px auto 0;
    color: #446477;
    font-size: 12px;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.frap-tg-card a:focus-visible,
.frap-tg-mobile:focus-visible {
    outline: 3px solid #172d3c;
    outline-offset: 3px;
}
.frap-tg-mobile {
    display: none;
}
/* Keep Request full-height when the old adjacent Telegram icon is removed. */
.frap-tg-card + .sidebar-top-combo .request-inline-btn {
    min-height: 44px;
}
@media screen and (max-width: 960px) {
    .frap-tg-mobile {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        min-width: 0;
        padding: 12px;
        margin: 0 0 18px;
        border: 1px solid #d6e8f0;
        border-radius: 5px;
        background: #f0faff;
        color: #172d3c;
        text-decoration: none;
    }
    .frap-tg-mobile:hover {
        background: #e5f5ff;
        color: #172d3c;
        text-decoration: none;
    }
    .frap-tg-mobile__copy {
        display: flex;
        flex: 1;
        flex-direction: column;
        gap: 3px;
        min-width: 0;
        font-size: 14px;
        line-height: 1.35;
    }
    .frap-tg-mobile__copy strong {
        font-weight: 700;
        overflow-wrap: anywhere;
    }
    .frap-tg-mobile__copy > span {
        color: #17658d;
        font-size: 12px;
    }
    .frap-tg-mobile__arrow {
        flex: 0 0 auto;
        color: #17658d;
        font-size: 20px;
    }
}
