/*
Theme Name: Bsport Editor
Description: Editable Bsport block theme adapted from the authorized local archive.
Version: 3.12
Requires at least: 6.6
Text Domain: bsport-editor
*/
body{background-attachment:fixed}
.wp-site-blocks{background:#06182a80}
.wp-site-blocks>main,.wp-site-blocks>footer{margin-block-start:0}
header.wp-block-template-part{position:sticky;top:0;z-index:20;background:#0009}
body.admin-bar header.wp-block-template-part{top:var(--wp-admin--admin-bar--height,32px)}
.bs-header{max-width:1060px;margin:auto;padding:.75rem 1rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.bs-header>*{margin:0}.bs-header>p{font-size:1.65rem}.bs-logo:has(img)+p{display:none}
.bs-menu .wp-block-navigation-item__content{color:white;font-weight:750;font-size:16px;text-transform:uppercase}
.bs-menu :is([aria-current=page],.current-menu-item>.wp-block-navigation-item__content){color:#168be9;text-decoration:underline;text-underline-offset:.55em;text-decoration-thickness:3px}
.bs-header .wp-block-buttons{flex-wrap:nowrap;gap:.75rem}.bs-header .wp-block-button__link{background:linear-gradient(#39a1ee,#168be9);color:#fff;text-transform:uppercase;font-size:14px;font-weight:750;border-radius:10px;padding:.62rem 1rem;white-space:nowrap}
.bs-menu .wp-block-navigation__responsive-container.is-menu-open{background:#07182a;color:white}
.bs-home,.bs-inner,.bs-footer{box-sizing:border-box;padding:1.5rem max(16px,calc((100% - 1060px)/2))}
.bs-section-title{display:flex;align-items:center;gap:1rem;text-align:center;font-size:clamp(1.2rem,3vw,1.7rem);color:#168be9}
.bs-section-title::before,.bs-section-title::after{content:"";flex:1;border-top:1px solid #168be947}
.bs-scroll{box-sizing:border-box;max-height:500px;overflow:auto;border:2px solid #168be9;border-radius:12px;box-shadow:0 0 24px #168be980;padding:1rem 1.45rem;background:#05172833;scrollbar-width:thin;scrollbar-color:#168be9 #06192a}
.editor-styles-wrapper .bs-scroll{max-height:none;overflow:visible}
.bs-scroll figure{max-width:800px;margin-inline:auto}.bs-scroll img{width:100%;height:auto}
.bs-faq{max-width:600px;margin:2rem auto 4rem}.bs-faq h2{text-align:center}
.bs-faq details{background:#fff;color:#153756;margin:.5rem 0;border-radius:8px;padding:.55rem 1rem}
.bs-faq summary{display:flex;justify-content:space-between;gap:1rem;cursor:pointer;color:#0876cf;font-weight:700}
.bs-faq summary::-webkit-details-marker{display:none}.bs-faq summary::after{content:"+"}.bs-faq details[open] summary::after{content:"−"}
.bs-footer{text-align:center;background:#0008;padding-top:2rem}.bs-footer .bs-logo{margin:3rem auto}.bs-footer .bs-logo:not(:has(img)){margin:0}.bs-footer .bs-logo+p{font-size:3.5rem;margin:2rem 0}.bs-footer .bs-logo:has(img)+p{display:none}.bs-footer>p:last-child{margin-top:4rem;color:#b4c3d1}
.bs-inner{min-height:50vh}.bs-single .wp-block-post-content{max-width:800px;margin-inline:auto}.bs-card{background:#0006;padding:1rem;border-radius:10px;height:100%;box-sizing:border-box}.bs-card h2{font-size:1.25rem}
@media(max-width:900px){.bs-header{flex-wrap:wrap}.bs-header .wp-block-buttons{margin-left:auto}.bs-inner .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.admin-bar header.wp-block-template-part{top:0}.bs-header .wp-block-button__link{font-size:12px;padding:.5rem}.bs-scroll{max-height:58vh;padding:.8rem}.bs-inner .wp-block-post-template{grid-template-columns:1fr}}

.bs-header .wp-block-button__link{position:relative;overflow:hidden;isolation:isolate;transition:transform .18s ease,box-shadow .18s ease}
.bs-header .wp-block-button__link:first-child{box-shadow:inset 0 1px 0 #ffffff55,0 3px 10px #008cff36}
.bs-header .wp-block-button__link::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 34%,#ffffff66 50%,transparent 66%);transform:translateX(-110%);animation:bs-button-shine 3.8s ease-in-out infinite}
.bs-header .wp-block-button + .wp-block-button .wp-block-button__link::after{animation-delay:.55s}
.bs-header .wp-block-button__link:is(:hover,:focus-visible){transform:translateY(-2px);box-shadow:0 4px 16px #168be9a0}
@keyframes bs-button-shine{0%,58%{transform:translateX(-110%)}81%,100%{transform:translateX(110%)}}
@media(prefers-reduced-motion:reduce){.bs-header .wp-block-button__link{transition:none}.bs-header .wp-block-button__link::after{animation:none}}
.bs-breadcrumbs{font-size:.9rem;margin:0 0 1rem;color:#e3f2ff}
.bs-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:.35rem .6rem;list-style:none;padding:0;margin:0}
.bs-breadcrumbs li+li::before{content:"›";margin-inline-end:.6rem;color:#a9d3f1}
.bs-breadcrumbs a{color:#9ed6ff}

.bs-author-name{margin-block:.35rem 1rem}.bs-author-name::before{content:"Tác giả: ";color:#e3f2ff}.bs-author-name a{color:#9ed6ff}

.bs-author-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.6rem;margin:2rem 0}.bs-author-pagination .wp-block-query-pagination-numbers{display:flex;gap:.45rem}.bs-author-pagination :is(a,.current){display:inline-block;padding:.35rem .7rem;border:1px solid #4786bc;border-radius:6px;color:#eaf6ff}.bs-author-pagination .current{background:#0967ac;font-weight:700}

.bs-footer-expanded {text-align:center;padding-block:18px 20px}
.footer-menu {display:grid;grid-template-columns:repeat(4,max-content);justify-content:center;gap:10px 23px;margin:0 auto;text-align:left;justify-items:start}
.footer-menu a {color:#fff;text-decoration:none;text-transform:uppercase;font-size:16px}
.footer-menu a:is(:hover,:focus-visible) {text-decoration:underline}
.footer-badges {display:flex;justify-content:center;flex-wrap:wrap;gap:12px;border-top:1px solid #5684ac66;margin-top:26px;padding-top:20px}
.footer-badges img {display:block;width:150px;height:46px;object-fit:contain;margin:0;background:#f4f8fb;border-radius:5px}
.bs-footer-expanded>p:last-child {margin:24px 0 0;text-align:center}
.bs-share {position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:21;width:min(290px,calc(100% - 18px));pointer-events:none}
.bs-share-panel {pointer-events:auto;width:max-content;max-width:100%;margin-left:auto;background:#102945;color:#fff;border:1px solid #5487ae;border-radius:10px;box-shadow:0 7px 30px #0008}
.bs-share-panel summary {cursor:pointer;padding:9px 12px;font-weight:700;list-style:none}
.bs-share-panel summary::-webkit-details-marker {display:none}
.bs-share-panel:not([open]) {border-radius:10px 0 0 10px}
.bs-share-panel:not([open]) summary {writing-mode:vertical-rl;padding:12px 8px}
.share-body {padding:0 12px 10px}
.share-actions {display:grid;grid-template-columns:1fr 1fr;gap:6px}
.share-actions button {display:flex;align-items:center;justify-content:flex-start;gap:6px;white-space:nowrap;cursor:pointer;border:1px solid #6faee6;background:#153e63;color:#fff;border-radius:6px;padding:7px}
.share-actions button span {display:inline-grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border-radius:50%;font-weight:800;background:#2861b9;color:white}
.share-actions [data-share="x"] span {background:#080a10}
.share-actions [data-share="email"] span {background:#43576b}
.share-actions [data-share="pinterest"] span {background:#bc1828}
.share-actions [data-share="linkedin"] span {background:#00669d}
.policy-lead {border-left:3px solid #5bb8ff;padding:.7rem 1rem;background:#0b2744}
.bs-single h2 {margin-top:1.65rem}
.share-status {margin:3px 0 0;font-size:.8rem}
.guide-figure {border:1px solid #527ba3;background:#102945;padding:16px;border-radius:12px}
.guide-figure ol {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;list-style:none;padding:0;margin:0}
.guide-figure li {border:1px solid #5487ae;border-radius:7px;padding:10px}
.guide-figure li span {display:block;color:#81c8ff;font-weight:700}
.guide-figure figcaption {color:#c2d8eb;padding:10px 0 0}
@media(max-width:640px){.footer-menu{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:440px){.guide-figure ol{grid-template-columns:1fr}}

.footer-bottom{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 24px;margin-top:20px;padding:12px 0 0;border-top:1px solid #5684ac66;color:#d5e4ef;font-size:.9rem}.footer-bottom p{margin:0}

.bs-single > :is(.bs-breadcrumbs,.wp-block-post-title,.wp-block-post-date,.bs-author-name,.wp-block-post-author-name,.wp-block-post-featured-image,.wp-block-post-content) {
  display:block;
  width:100%;
  max-width:800px;
  box-sizing:border-box;
  margin-inline:auto;
  text-align:left;
}
.bs-single > .wp-block-post-featured-image img {
  display:block;
  width:100%;
  height:auto;
}
.bs-header .wp-block-button__link {display:inline-flex;align-items:center;justify-content:center}

.bs-header .wp-block-button__link {animation:bs-header-pulse 1.5s ease-in-out infinite !important}
.bs-header .wp-block-button__link::after {content:none}
@keyframes bs-header-pulse {
  0%,100% {transform:scale(1) rotate(0)}
  25% {transform:scale(1.05) rotate(-1deg)}
  50% {transform:scale(1.05) rotate(1deg)}
  75% {transform:scale(1.05) rotate(-1deg)}
}


.bs-footer .footer-brand-logo{display:flex;justify-content:center;margin:0 auto 12px}.bs-footer .footer-brand-logo img{width:220px;max-width:100%;height:auto}.bs-footer .footer-intro{max-width:780px;margin:0 auto 20px;text-align:center;color:#d5e4ef}

.bs-footer-expanded {text-align:center;padding-block:18px 20px}
.footer-menu {display:grid;grid-template-columns:repeat(4,max-content);justify-content:center;gap:10px 23px;margin:0 auto;text-align:left;justify-items:start}
.footer-menu a {color:#fff;text-decoration:none;text-transform:uppercase;font-size:16px}
.footer-menu a:is(:hover,:focus-visible) {text-decoration:underline}
.footer-badges {display:flex;justify-content:center;flex-wrap:wrap;gap:12px;border-top:1px solid #5684ac66;margin-top:26px;padding-top:20px}
.footer-badges img {display:block;width:150px;height:46px;object-fit:contain;margin:0;background:#f4f8fb;border-radius:5px}
.bs-footer-expanded>p:last-child {margin:24px 0 0;text-align:center}
.bs-share {position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:21;width:min(290px,calc(100% - 18px));pointer-events:none}
.bs-share-panel {pointer-events:auto;width:max-content;max-width:100%;margin-left:auto;background:#102945;color:#fff;border:1px solid #5487ae;border-radius:10px;box-shadow:0 7px 30px #0008}
.bs-share-panel summary {cursor:pointer;padding:9px 12px;font-weight:700;list-style:none}
.bs-share-panel summary::-webkit-details-marker {display:none}
.bs-share-panel:not([open]) {border-radius:10px 0 0 10px}
.bs-share-panel:not([open]) summary {writing-mode:vertical-rl;padding:12px 8px}
.share-body {padding:0 12px 10px}
.share-actions {display:grid;grid-template-columns:1fr 1fr;gap:6px}
.share-actions button {display:flex;align-items:center;justify-content:flex-start;gap:6px;white-space:nowrap;cursor:pointer;border:1px solid #6faee6;background:#153e63;color:#fff;border-radius:6px;padding:7px}
.share-actions button span {display:inline-grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border-radius:50%;font-weight:800;background:#2861b9;color:white}
.share-actions [data-share="x"] span {background:#080a10}
.share-actions [data-share="email"] span {background:#43576b}
.share-actions [data-share="pinterest"] span {background:#bc1828}
.share-actions [data-share="linkedin"] span {background:#00669d}
.policy-lead {border-left:3px solid #5bb8ff;padding:.7rem 1rem;background:#0b2744}
.bs-single h2 {margin-top:1.65rem}
.share-status {margin:3px 0 0;font-size:.8rem}
.guide-figure {border:1px solid #527ba3;background:#102945;padding:16px;border-radius:12px}
.guide-figure ol {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;list-style:none;padding:0;margin:0}
.guide-figure li {border:1px solid #5487ae;border-radius:7px;padding:10px}
.guide-figure li span {display:block;color:#81c8ff;font-weight:700}
.guide-figure figcaption {color:#c2d8eb;padding:10px 0 0}
@media(max-width:640px){.footer-menu{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:440px){.guide-figure ol{grid-template-columns:1fr}}

.footer-bottom{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 24px;margin-top:20px;padding:12px 0 0;border-top:1px solid #5684ac66;color:#d5e4ef;font-size:.9rem}.footer-bottom p{margin:0}

.bs-footer .footer-brand-logo{display:flex;justify-content:center;margin:0 auto 12px}.bs-footer .footer-brand-logo img{width:220px;max-width:100%;height:auto}.bs-footer .footer-intro{max-width:780px;margin:0 auto 20px;text-align:center;color:#d5e4ef}

.bs-footer.bs-footer-expanded{padding-block:36px 28px}
.bs-footer .footer-brand-logo{margin-bottom:22px}
.bs-footer .footer-intro{margin-bottom:30px}
.footer-menu{width:min(720px,100%);grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 24px}
.footer-badges{margin-top:30px;padding-top:24px}
.footer-bottom{margin-top:24px;padding-top:18px}
@media(max-width:540px){.footer-menu{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}}

.footer-menu-column{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.footer-menu-column h3{color:#83c8ff;font-size:.9rem;margin:0 0 3px}

.bs-footer .footer-intro{margin-bottom:44px}.footer-menu .footer-menu-column h3{text-transform:uppercase;margin-bottom:7px}.footer-menu .footer-menu-column a{text-transform:none}

.bs-footer .footer-badges-note{color:#b8d8f0;font-size:.8rem;margin:24px 0 0}.bs-footer .footer-badges-wrap .footer-badges{margin-top:8px;padding-top:0;border:0}

.guide-photo{margin:18px auto 24px}.guide-photo img{display:block;width:100%;height:auto;border-radius:9px}.guide-photo figcaption{color:#d5e4ef;text-align:center;margin-top:8px;font-size:.9rem}
