/* sellerdata Blocks — замена Droit FAQ / Droit Blog / Elementor Pro Hotspot / Happy scroll-to-top */

/* ===== FAQ (details/summary) ===== */
.sd-faq { --sd-faq-title-size: 18px; --sd-faq-title-color: #051441; --sd-faq-title-weight: 600; --sd-faq-title-family: inherit;
  --sd-faq-text-color: #6A7C92; --sd-faq-text-size: 15px; --sd-faq-text-weight: 400; --sd-faq-text-family: inherit;
  --sd-faq-item-bg: #fff; --sd-faq-item-pad: 30px; --sd-faq-item-gap: 10px; }
.sd-faq__item { background: var(--sd-faq-item-bg); padding: var(--sd-faq-item-pad); margin-bottom: var(--sd-faq-item-gap); border-radius: 0; }
.sd-faq__item:last-child { margin-bottom: 0; }
.sd-faq__q { list-style: none; cursor: pointer; position: relative; padding-right: 30px; display: block; }
.sd-faq__q::-webkit-details-marker { display: none; }
.sd-faq__q::marker { content: ''; }
.sd-faq__title { margin: 0; font-family: var(--sd-faq-title-family); font-size: var(--sd-faq-title-size); font-weight: var(--sd-faq-title-weight); line-height: 1.25; color: var(--sd-faq-title-color); }
.sd-faq__icon { position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2 5l5 5 5-5' stroke='%23060a24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px 14px no-repeat; transition: transform .2s ease-out; }
.sd-faq__item[open] > .sd-faq__q .sd-faq__icon { transform: rotate(180deg); }
.sd-faq__a { padding-top: 20px; }
.sd-faq__a p { margin: 0 0 12px; color: var(--sd-faq-text-color); font-family: var(--sd-faq-text-family); font-size: var(--sd-faq-text-size); font-weight: var(--sd-faq-text-weight); line-height: 1.7; }
.sd-faq__a p:last-child { margin-bottom: 0; }

/* ===== Сетка записей (прежний droit-blog style_5) ===== */
.sdb-posts__grid { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.sdb-card { position: relative; flex: 0 0 33.333%; max-width: 33.333%; padding: 0 15px; margin-bottom: 40px; box-sizing: border-box; }
.sdb-card__thumb { display: flex; overflow: hidden; border-radius: 10px; height: 250px; }
.sdb-card__thumb img, .sdb-card__noimg { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s cubic-bezier(0,0,.2,1); background: #eef0f6; display: block; }
.sdb-card:hover .sdb-card__thumb img { transform: scale(1.1); }
.sdb-card__cat { position: absolute; top: 28px; left: 37px; color: #fff !important; font-size: 13px; font-weight: 600; background: #3B31ED; border-radius: 5px; padding: 7px 19px; line-height: 17px; text-decoration: none; }
.sdb-card__body { background: #fff; padding: 30px 20px 0; }
.sdb-card__title { font-weight: 700; font-size: 21px; line-height: 32px; margin: 0; }
.sdb-card__title a { color: #141c2a; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 64px; }
.sdb-card__title a:hover { color: #6130EE; }
.sdb-card__date { margin: 8px 0 0; font-size: 14px; color: #8d90a9; }
.sdb-posts__more { text-align: center; margin-top: 10px; }
.sdb-posts__btn { background: #fff; color: #3B31ED; border: 1px solid #3B31ED; border-radius: 30px; padding: 15px 45px; font-weight: 600; cursor: pointer; transition: .2s; }
.sdb-posts__btn:hover { background: #3B31ED; color: #fff; }
.sdb-posts__btn[disabled] { opacity: .6; cursor: default; }
@media (max-width: 1024px) { .sdb-card { flex-basis: 50%; max-width: 50%; } }
@media (max-width: 767px)  { .sdb-card { flex-basis: 100%; max-width: 100%; } .sdb-card__title a { min-height: 0; } }

/* ===== Тултип (прежний Elementor Pro Hotspot) ===== */
.sd-tip { position: relative; display: inline-block; line-height: 0; }
.sd-tip__icon { width: 24px; height: 24px; display: block; cursor: help; }
.sd-tip__box { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); width: 170px; padding: 10px 12px; border-radius: 5px; background: #4154F1; color: #fff; font-size: 12px; line-height: 14px; text-align: center; opacity: 0; visibility: hidden; transition: opacity .2s; z-index: 20; pointer-events: none; }
.sd-tip__box::after { content: ''; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: #4154F1; }
.sd-tip:hover .sd-tip__box, .sd-tip:focus-within .sd-tip__box { opacity: 1; visibility: visible; }
@media (max-width: 767px) { .sd-tip__box { left: auto; right: 0; transform: none; } .sd-tip__box::after { left: auto; right: 6px; } }

/* ===== Кнопка «наверх» ===== */
.sdb-totop { position: fixed; right: 25px; bottom: 25px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #3B31ED; color: #fff; box-shadow: 0 6px 16px rgba(59,49,237,.35); cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .25s; z-index: 999; }
.sdb-totop.is-visible { opacity: 1; visibility: visible; }

/* ===== Бывший Custom CSS Elementor Pro на главной (3582) ===== */
@media (min-width: 768px) { .saas_banner.banner_section .banner_content .title_text { font-size: 36px; } }
.elementor-3582 .elementor-element.elementor-element-688c109b .elementor-repeater-item-4bf58f5:hover { background-color: transparent; color: #4154F1; }
.sec_ptb_120 .container a { text-decoration: none !important; }
