html { scroll-behavior: smooth; }
.blog-wrap { text-align: left; }
.blog-wrap h1, .blog-wrap h2, .blog-wrap h3 { text-transform: none; }

.bpaper__head, .bcard, .bpaper__foot { background: #fff; border: 1px solid #eceef3; border-radius: 14px; box-shadow: 0 6px 24px rgba(65, 81, 106, 0.08); }
.bpaper__head { padding: 44px 48px 34px; background: linear-gradient(180deg, #faf7fd 0%, #fff 100%); }
.bpaper__crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 13px; color: #8a94a6; }
.bpaper__crumbs a { color: #9d14d6; }
.bpaper__crumbs .lnr { font-size: 10px; }
.bpaper__title { margin-top: 16px; font-size: 34px; line-height: 1.3; color: #2f3b50; }
.bpaper__byline { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.bpaper__byline .bpost__avatar { width: 44px; height: 44px; font-size: 14px; }
.bpaper__byline strong { display: block; font-size: 15px; color: #41516A; }
.bpaper__byline div span { font-size: 13px; color: #8a94a6; }

.bcard { position: relative; margin-top: 24px; padding: 34px 48px 36px; overflow: hidden; font-size: 16px; line-height: 1.85; color: #4a5568; scroll-margin-top: 120px; transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease; }
.bcard::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: linear-gradient(180deg, #9d14d6, #41516A); opacity: 0; transition: opacity 300ms ease; }
.bcard:hover { transform: translateY(-3px); border-color: rgba(157, 20, 214, 0.3); box-shadow: 0 14px 34px rgba(65, 81, 106, 0.14); }
.bcard:hover::before { opacity: 1; }
.bcard p { margin-top: 16px; }
.bcard a { color: #9d14d6; text-decoration: underline; text-decoration-color: rgba(157, 20, 214, 0.3); text-underline-offset: 3px; }
.bcard a:hover { color: #000; text-decoration-color: #000; }
.bcard h2 { display: flex; align-items: center; gap: 14px; font-size: 23px; line-height: 1.35; color: #2f3b50; }
.bcard h2 > span { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(157, 20, 214, 0.1); font-size: 15px; font-weight: 800; color: #9d14d6; }
.bcard__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bcard__head + p, .bcard__head + ul { margin-top: 18px; }
.bcard__date { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 20px; background: #f4f5f9; font-size: 12px; font-weight: 600; line-height: 1.5; color: #6b7588; white-space: nowrap; }
.bcard__date .lnr { color: #9d14d6; }
.bcard--highlight .bcard__date { background: rgba(255, 255, 255, 0.18); color: #fff; }
.bcard--highlight .bcard__date .lnr { color: #fff; }

.bpaper__list { margin: 16px 0 0; padding: 0; list-style: none; }
.bpaper__list li { position: relative; padding-left: 26px; }
.bpaper__list li + li { margin-top: 12px; }
.bpaper__list li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: #9d14d6; box-shadow: 0 0 0 4px rgba(157, 20, 214, 0.12); }
.bpaper__list strong { color: #2f3b50; }

.bpaper__note { position: relative; margin: 22px 0 0; padding: 18px 22px 18px 54px; border-left: 4px solid #9d14d6; border-radius: 0 10px 10px 0; background: #f8f6fc; font-size: 15px; font-style: italic; line-height: 1.7; color: #41516A; }
.bpaper__note::before { content: '\201C'; position: absolute; left: 16px; top: 4px; font-family: Georgia, serif; font-size: 46px; font-style: normal; line-height: 1; color: rgba(157, 20, 214, 0.45); }

.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.bgrid .bcard { margin-top: 0; padding: 28px 26px 30px; font-size: 15px; line-height: 1.75; }
.bgrid .bcard__head { flex-direction: column-reverse; align-items: flex-start; gap: 14px; }
.bgrid .bcard h2 { gap: 12px; font-size: 19px; }
.bgrid .bcard h2 > span { width: 36px; height: 36px; font-size: 14px; }
.bgrid .bpaper__list li { padding-left: 22px; }
.bgrid .bpaper__note { padding: 14px 16px 14px 42px; font-size: 14px; }
.bgrid .bpaper__note::before { left: 12px; font-size: 36px; }

.bcard--highlight { border: none; background: linear-gradient(135deg, #9d14d6, #41516A); box-shadow: 0 12px 32px rgba(157, 20, 214, 0.25); }
.bcard--highlight::before { display: none; }
.bcard--highlight h2, .bcard--highlight p { color: #fff; }
.bcard--highlight h2 > span { background: rgba(255, 255, 255, 0.18); color: #fff; }

.bpaper__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 24px; padding: 24px 48px; }
.bpaper__foot .bpost__chips { margin: 0; }
.bpaper__back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #9d14d6; transition: gap 300ms ease, color 300ms ease; }
.bpaper__back:hover { gap: 12px; color: #000; }

.blist__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid #e3e6ee; }
.blist__head h1 { font-size: 26px; line-height: 1.3; }
.blist__head h1::after { margin-top: 12px; }
.blist__count { font-size: 14px; color: #8a94a6; white-space: nowrap; }

.bpost { display: flex; margin-top: 30px; background: #fff; border: 1px solid #eceef3; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 24px rgba(65, 81, 106, 0.08); transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease; }
.bpost:hover { transform: translateY(-4px); border-color: rgba(157, 20, 214, 0.35); box-shadow: 0 16px 40px rgba(65, 81, 106, 0.16); }
.bpost__visual { flex: 0 0 230px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 30px 20px; background: linear-gradient(150deg, #9d14d6, #41516A); color: #fff; text-align: center; }
.bpost__visual-icons { display: grid; grid-template-columns: repeat(2, 48px); gap: 12px; }
.bpost__visual-icons .lnr { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(255, 255, 255, 0.16); font-size: 22px; }
.bpost__visual-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
.bpost__body { flex: 1; display: flex; flex-direction: column; padding: 30px 32px; }
.bpost__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.bpost__tag { display: inline-block; padding: 5px 12px; border-radius: 20px; background: rgba(157, 20, 214, 0.1); color: #9d14d6; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.bpost__featured { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #e09b12; text-transform: uppercase; letter-spacing: 0.04em; }
.bpost__title { margin-top: 16px; font-size: 22px; line-height: 1.4; }
.bpost__title a { color: #41516A; }
.bpost__title a:hover { color: #9d14d6; }
.bpost__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 13px; color: #8a94a6; }
.bpost__meta .lnr { margin-right: 5px; color: #9d14d6; }
.bpost__excerpt { margin-top: 15px; }
.bpost__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.bpost__chips li { padding: 4px 12px; border: 1px solid #e3e6ee; border-radius: 20px; font-size: 12px; color: #6b7588; }
.bpost__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; padding-top: 20px; border-top: 1px solid #eceef3; }
.bpost__author { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #41516A; font-weight: 600; }
.bpost__avatar { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #9d14d6, #6a2bb8); color: #fff; font-size: 13px; font-weight: 800; }
.bbtn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 8px; background: #9d14d6; color: #fff; font-size: 14px; font-weight: 600; transition: background 300ms ease, gap 300ms ease; }
.bbtn:hover, .bbtn:focus { background: #000; color: #fff; gap: 12px; }

.faq-group { margin-top: 24px; padding: 30px 36px 18px; background: #fff; border: 1px solid #eceef3; border-radius: 14px; box-shadow: 0 6px 24px rgba(65, 81, 106, 0.08); scroll-margin-top: 120px; }
.faq-group__head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid #eceef3; }
.faq-group__icon { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, #9d14d6, #6a2bb8); color: #fff; font-size: 21px; box-shadow: 0 6px 16px rgba(157, 20, 214, 0.3); }
.faq-group__head h2 { flex: 1; font-size: 22px; line-height: 1.3; color: #2f3b50; }
.faq-group__count { flex-shrink: 0; padding: 4px 12px; border-radius: 20px; background: rgba(157, 20, 214, 0.1); font-size: 12px; font-weight: 700; color: #9d14d6; }

.faq-item { border-bottom: 1px solid #eceef3; }
.faq-item:last-child { border-bottom: none; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 16px; font-weight: 600; line-height: 1.5; color: #2f3b50; transition: color 200ms ease; }
.faq-item summary:hover h3, .faq-item[open] summary h3 { color: #9d14d6; }
.faq-item__toggle { position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: #f4f5f9; transition: background 200ms ease, transform 300ms ease; }
.faq-item__toggle::before, .faq-item__toggle::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; border-radius: 2px; background: #9d14d6; transform: translate(-50%, -50%); transition: transform 300ms ease, background 200ms ease; }
.faq-item__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__toggle { background: #9d14d6; transform: rotate(180deg); }
.faq-item[open] .faq-item__toggle::before, .faq-item[open] .faq-item__toggle::after { background: #fff; }
.faq-item[open] .faq-item__toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item__answer { padding: 0 46px 20px 0; }
.faq-item__answer p { padding: 16px 20px; border-left: 3px solid #9d14d6; border-radius: 0 8px 8px 0; background: #f8f6fc; font-size: 15px; line-height: 1.75; color: #4a5568; }

@media (max-width: 991px) {
  .bgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .bgrid { grid-template-columns: 1fr; gap: 18px; margin-top: 18px; }
  .faq-group { margin-top: 18px; padding: 22px 20px 10px; }
  .faq-group__head { flex-wrap: wrap; gap: 12px; }
  .faq-group__icon { width: 42px; height: 42px; font-size: 18px; }
  .faq-group__head h2 { font-size: 19px; }
  .faq-item summary h3 { font-size: 15px; }
  .faq-item__answer { padding-right: 0; }
  .bpaper__head { padding: 30px 22px 26px; }
  .bpaper__title { font-size: 24px; }
  .bcard { margin-top: 18px; padding: 24px 20px 26px; font-size: 15px; }
  .bcard h2 { gap: 12px; font-size: 19px; }
  .bcard h2 > span { width: 34px; height: 34px; font-size: 13px; }
  .bcard__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .bpaper__foot { margin-top: 18px; padding: 20px; }
  .blist__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .bpost { flex-direction: column; }
  .bpost__visual { flex-basis: auto; flex-direction: row; padding: 22px; }
  .bpost__visual-icons { grid-template-columns: repeat(4, 40px); gap: 8px; }
  .bpost__visual-icons .lnr { width: 40px; height: 40px; font-size: 18px; }
  .bpost__visual-label { display: none; }
  .bpost__body { padding: 24px 20px; }
  .bpost__title { font-size: 19px; }
  .bpost__foot { flex-direction: column; align-items: flex-start; gap: 16px; }
}
