/* Paket 10.24.3 — Blog sosyal paylaşım alanı görsel rötuş */
.fd-blog-share-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin: 4px 0 28px;
    padding: 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0%, rgba(242, 103, 82, .12), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 52%, #fff7f3 100%);
    border: 1px solid rgba(148, 163, 184, .26);
    border-radius: 26px;
    box-shadow: 0 22px 54px rgba(15, 23, 42, .09);
}

.fd-blog-share-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    background: linear-gradient(90deg, #f26752, #0d2238 58%, #22c55e);
    border-radius: 0 0 999px 999px;
}

.fd-blog-share-copy {
    min-width: 0;
    padding-right: 170px;
}

.fd-blog-share-copy span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding: 6px 10px;
    color: #f26752;
    background: rgba(242, 103, 82, .10);
    border: 1px solid rgba(242, 103, 82, .16);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .07em;
    line-height: 1;
    text-transform: uppercase;
}

.fd-blog-share-copy span::before {
    content: "";
    width: 7px;
    height: 7px;
    background: currentColor;
    border-radius: 999px;
    box-shadow: 0 0 0 4px rgba(242, 103, 82, .10);
}

.fd-blog-share-copy strong {
    display: block;
    max-width: 620px;
    overflow: hidden;
    color: #102033;
    font-size: 18px;
    font-weight: 950;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fd-blog-share-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.fd-blog-share-button {
    min-width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    color: #0d2238;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(148, 163, 184, .30);
    border-radius: 15px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .055);
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.fd-blog-share-button:hover,
.fd-blog-share-button:focus-visible {
    color: #ffffff;
    background: #0d2238;
    border-color: #0d2238;
    box-shadow: 0 16px 30px rgba(13, 34, 56, .20);
    transform: translateY(-2px);
    outline: none;
}

.fd-blog-share-button svg {
    width: 18px;
    height: 18px;
    display: block;
    flex: 0 0 auto;
    fill: currentColor;
}

.fd-blog-share-button span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    color: inherit;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: -.01em;
    line-height: 1;
    white-space: nowrap;
}

.fd-blog-share-button-x:hover,
.fd-blog-share-button-x:focus-visible {
    background: #111827;
    border-color: #111827;
}

.fd-blog-share-button-linkedin {
    color: #0a66c2;
}

.fd-blog-share-button-linkedin:hover,
.fd-blog-share-button-linkedin:focus-visible {
    color: #ffffff;
    background: #0a66c2;
    border-color: #0a66c2;
}

.fd-blog-share-button-whatsapp {
    color: #15803d;
}

.fd-blog-share-button-whatsapp:hover,
.fd-blog-share-button-whatsapp:focus-visible {
    color: #ffffff;
    background: #16a34a;
    border-color: #16a34a;
}

.fd-blog-share-button-pinterest {
    color: #bd081c;
}

.fd-blog-share-button-pinterest:hover,
.fd-blog-share-button-pinterest:focus-visible {
    color: #ffffff;
    background: #bd081c;
    border-color: #bd081c;
}

.fd-blog-share-button-instagram {
    color: #ffffff;
    background: linear-gradient(135deg, #7c3aed, #db2777 48%, #f97316);
    border-color: transparent;
    box-shadow: 0 14px 28px rgba(219, 39, 119, .22);
}

.fd-blog-share-button-instagram:hover,
.fd-blog-share-button-instagram:focus-visible {
    color: #ffffff;
    background: linear-gradient(135deg, #6d28d9, #be185d 50%, #ea580c);
    border-color: transparent;
}

.fd-blog-share-button-copy {
    color: #ffffff;
    background: #0d2238;
    border-color: #0d2238;
}

.fd-blog-share-button-copy:hover,
.fd-blog-share-button-copy:focus-visible {
    color: #ffffff;
    background: #f26752;
    border-color: #f26752;
}

.fd-blog-share-feedback {
    position: absolute;
    top: 18px;
    right: 22px;
    max-width: min(320px, calc(100% - 44px));
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 13px;
    color: #ffffff;
    background: #0f766e;
    border-radius: 999px;
    box-shadow: 0 14px 32px rgba(15, 118, 110, .22);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(.96);
    transition: opacity .18s ease, transform .18s ease;
    z-index: 2;
}

.fd-blog-share-feedback::before {
    content: "✓";
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #0f766e;
    background: #ffffff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
}

.fd-blog-share-panel.is-copied .fd-blog-share-feedback,
.fd-blog-share-panel.is-copy-error .fd-blog-share-feedback {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.fd-blog-share-panel.is-copy-error .fd-blog-share-feedback {
    background: #b91c1c;
    box-shadow: 0 14px 32px rgba(185, 28, 28, .20);
}

.fd-blog-share-panel.is-copy-error .fd-blog-share-feedback::before {
    content: "!";
    color: #b91c1c;
}

@media (max-width: 920px) {
    .fd-blog-share-copy {
        padding-right: 0;
    }

    .fd-blog-share-feedback {
        position: relative;
        top: auto;
        right: auto;
        justify-self: start;
        max-width: 100%;
        transform: translateY(-6px) scale(.98);
    }
}

@media (max-width: 720px) {
    .fd-blog-share-panel {
        gap: 14px;
        padding: 18px;
        border-radius: 22px;
    }

    .fd-blog-share-copy strong {
        max-width: 100%;
        font-size: 16px;
        white-space: normal;
    }

    .fd-blog-share-actions {
        gap: 8px;
    }

    .fd-blog-share-button {
        height: 42px;
        padding: 0 12px;
        border-radius: 14px;
    }

    .fd-blog-share-button span {
        font-size: 11px;
    }
}

@media (max-width: 520px) {
    .fd-blog-share-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fd-blog-share-button {
        width: 100%;
    }
}


/* Paket 10.36.5 — mobil paylaşım final kilit hotfix */
@media (max-width: 520px) {
    .fd-blog-share-panel {
        gap: 10px !important;
        padding: 16px !important;
        padding-bottom: 16px !important;
    }

    .fd-blog-share-actions {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .fd-blog-share-button {
        width: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        aspect-ratio: auto !important;
        flex: 0 0 36px !important;
        gap: 0 !important;
        padding: 0 !important;
        border-radius: 12px !important;
    }

    .fd-blog-share-button svg {
        width: 15px !important;
        height: 15px !important;
    }

    .fd-blog-share-button span {
        display: none !important;
    }

    .fd-blog-share-feedback {
        display: none !important;
        position: static !important;
        max-width: 100% !important;
        margin: 2px 0 0 !important;
        transform: none !important;
    }

    .fd-blog-share-panel.is-copied .fd-blog-share-feedback,
    .fd-blog-share-panel.is-copy-error .fd-blog-share-feedback {
        display: inline-flex !important;
    }
}

@media (max-width: 340px) {
    .fd-blog-share-actions {
        gap: 6px !important;
    }

    .fd-blog-share-button {
        width: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
        flex-basis: 34px !important;
    }
}
