/*
Theme Name: Bitoku
Theme URI: https://bitoku.io
Description: Lightweight block theme for bitoku.io. Replaces Hello Elementor + Elementor Pro theme builder (Dec 2026).
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: bitoku
*/

/* ---------- page frame: footer always at bottom ---------- */
html { overflow-x: hidden; }
.wp-site-blocks { min-height: 100vh; display: flex; flex-direction: column; padding: 0; }
.wp-site-blocks > main { flex: 1 0 auto; }
.wp-site-blocks > * { margin-block-start: 0 !important; }
main.bk-main { margin: 0; }
img { max-width: 100%; height: auto; }

/* ---------- header ---------- */
.bk-header { position: sticky; top: 0; z-index: 100; background: #000; }
.admin-bar .bk-header { top: var(--wp-admin--admin-bar--height, 32px); }
.bk-header__inner { max-width: 1280px; margin: 0 auto; padding: 6px 10px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; box-sizing: border-box; }
.bk-header .bk-logo { margin: 0; } .bk-header .bk-logo img { width: 100px; height: auto; display: block; }
.bk-header .wp-block-navigation { font-family: var(--wp--preset--font-family--exo-2); font-size: 14px; font-weight: 700; letter-spacing: .7px; color: #fff; }
.bk-header .wp-block-navigation .wp-block-navigation-item__content { padding: 13px 20px; color: #fff; }
.bk-header .wp-block-navigation .wp-block-navigation-item__content:hover,
.bk-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content { color: #B7094C; }
.bk-header .wp-block-navigation__container { gap: 12px; }
.bk-header .wp-block-navigation .wp-block-navigation__submenu-container { background: #000 !important; border: 0 !important; min-width: 180px !important; padding: 0; }
.bk-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-weight: 500; letter-spacing: .5px; word-spacing: 1px; padding: 13px 20px; }
.bk-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: #B7094C; color: #fff; }
.bk-header .wp-block-navigation-submenu__toggle svg, .bk-header .wp-block-navigation__submenu-icon svg { stroke: currentColor; }
.bk-header .wp-block-navigation-item.has-child > .wp-block-navigation-item__content { padding-right: 4px; }
.bk-header .wp-block-navigation .wp-block-navigation__submenu-icon { margin-right: 16px; }
.bk-nav-discord > .wp-block-navigation-item__content::after { content: ""; display: inline-block; width: 20px; height: 20px; margin-left: 5px; vertical-align: middle; background: url(/wp-content/uploads/2022/05/Discord-Logo-White.png) center / contain no-repeat; }
.bk-nav-twitter > .wp-block-navigation-item__content { font-size: 0 !important; }
.bk-nav-twitter > .wp-block-navigation-item__content::before { content: ""; display: inline-block; width: 18px; height: 18px; vertical-align: middle; background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.6 4.6c-.9.4-1.8.6-2.8.8 1-.6 1.8-1.6 2.1-2.7-1 .6-2 1-3.1 1.2a4.9 4.9 0 0 0-8.4 4.5C7.4 8.2 3.8 6.3 1.4 3.3a4.9 4.9 0 0 0 1.5 6.6c-.8 0-1.6-.3-2.2-.6v.1c0 2.4 1.7 4.4 3.9 4.8-.7.2-1.5.2-2.2.1.6 2 2.4 3.4 4.6 3.4A9.9 9.9 0 0 1 0 19.7 14 14 0 0 0 7.5 22c9.1 0 14-7.5 14-14v-.6c1-.7 1.8-1.6 2.5-2.6z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.6 4.6c-.9.4-1.8.6-2.8.8 1-.6 1.8-1.6 2.1-2.7-1 .6-2 1-3.1 1.2a4.9 4.9 0 0 0-8.4 4.5C7.4 8.2 3.8 6.3 1.4 3.3a4.9 4.9 0 0 0 1.5 6.6c-.8 0-1.6-.3-2.2-.6v.1c0 2.4 1.7 4.4 3.9 4.8-.7.2-1.5.2-2.2.1.6 2 2.4 3.4 4.6 3.4A9.9 9.9 0 0 1 0 19.7 14 14 0 0 0 7.5 22c9.1 0 14-7.5 14-14v-.6c1-.7 1.8-1.6 2.5-2.6z'/%3E%3C/svg%3E") center / contain no-repeat; }
.bk-header .wp-block-navigation__responsive-container-open { color: #fff; }
.bk-header .wp-block-navigation__responsive-container.is-menu-open { background: #000 !important; color: #fff !important; }
@media (max-width: 599px) {
  .bk-header__inner { min-height: 76px; padding: 6px 20px 0 30px; }
}

/* Xandeum banner header (front page) */
.bk-xandeum { background: linear-gradient(220deg, #0091AD 0%, #B7094C 100%); padding: 10px; }
.bk-xandeum__inner { max-width: 880px; margin: 0 auto; min-height: 70px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.bk-xandeum__inner h2 { flex: 1 1 60%; margin: 0; text-align: center; color: #000 !important; font-size: 30px; font-weight: 600; letter-spacing: .2px; text-shadow: 0 0 10px rgba(145,171,91,.91); }
.bk-xandeum__inner .wp-block-buttons { flex: 0 1 auto; justify-content: center; }
.bk-xandeum .wp-block-button__link { background: #A5FF00; color: #000; font-size: 18px; font-weight: 700; border-radius: 3px; padding: 12px 24px; }
.bk-xandeum .wp-block-button__link:hover { background: #fff; color: #000; }
@media (max-width: 1024px) { .bk-xandeum__inner { flex-direction: column; min-height: 160px; } .bk-xandeum__inner h2 { flex: none; font-size: 25px; } }

/* landing header (founders launch) */
.bk-landing-header { max-width: 1280px; margin: 0 auto; padding: 10px; display: flex; justify-content: space-between; align-items: center; }
.bk-landing-header .bk-logo { margin: 0 0 0 20px; }
.bk-landing-header .bk-logo img { width: 120px; height: auto; }
.bk-landing-header figure { margin: 0 20px 0 0; text-align: center; }
.bk-landing-header figcaption { font-size: 14px; margin: 0; }
@media (max-width: 767px) { .bk-landing-header .bk-logo, .bk-landing-header figure { margin: 0; } }

/* ---------- footer ---------- */
.bk-footer { position: relative; background: #000; text-align: center; font-family: var(--wp--preset--font-family--exo); }
.bk-footer__shape { position: absolute; top: 3px; left: 0; width: 100%; height: 31px; overflow: hidden; line-height: 0; pointer-events: none; }
.bk-footer__shape svg { width: 100%; height: 31px; display: block; fill: rgba(0,145,173,.46); }
.bk-footer__text { border-top: 3px solid #0091AD; margin-top: 0; padding: 29px 10px 0; font-size: 14px; line-height: 1.5; }
.bk-footer__text p { margin: 0 0 .9rem; }
.bk-footer__text p:first-child { padding-top: 0; }
@media (max-width: 767px) { .bk-footer__text { font-size: 12px; padding-top: 33px; } }
.bk-footer--simple { padding: 0 10px; }
.bk-footer--simple hr { border: 0; border-top: 1px solid #fff; margin: 5px 0; }
.bk-footer--simple p { font-size: 15px; margin: 0 0 .9rem; }

/* ---------- content helpers ---------- */
.entry-content > .alignfull, main .alignfull { margin-left: 0 !important; margin-right: 0 !important; }
.bk-hide-mobile { }
@media (max-width: 767px) { .bk-hide-mobile { display: none !important; } }
@media (min-width: 768px) { .bk-hide-desktop { display: none !important; } }
.wp-block-image.bk-align-right { margin-left: auto; }
.wp-block-image.bk-align-right img { margin-left: auto; display: block; }
.wp-block-image.bk-align-center img { margin: 0 auto; display: block; }
.wp-block-image { margin-bottom: 0; }
.wp-block-image figcaption { margin: 4px 0 0; font-size: 14px; text-align: center; }
.bk-text p { margin-block: 0 0.9rem; }
.bk-text li { margin-block: 0; }
.bk-text ul, .bk-text ol { margin-block: 0 0.9rem; }
.bk-text h1, .bk-text h2, .bk-text h3, .bk-text h4 { margin-block: .5rem 1rem; }
.wp-block-separator { border-top-width: 1.5px; opacity: 1; margin-block: 25px; }
.wp-block-columns { margin-bottom: 0; }

/* image box (team cards) */

.bk-image-box .wp-block-image img { border-radius: 50%; }
.bk-image-box h3 { margin: 15px 0 0; font-size: 20px; font-weight: 600; }
.bk-image-box .bk-role { font-family: var(--wp--preset--font-family--exo-2); font-size: 17px; font-weight: 600; margin: 0 0 15px; }
.bk-image-box.bk-centered { text-align: center; }
.bk-image-box.bk-centered .wp-block-image img { margin: 0 auto; }
.left-text p { text-align: left; }

/* social icons */
.wp-block-social-links.bk-icon .wp-social-link { background: none !important; color: #0091AD !important; }
.wp-block-social-links.bk-icon .wp-social-link svg { width: 30px; height: 30px; }
.wp-block-social-links.bk-icon .wp-block-social-link-anchor { padding: 0; }
.wp-block-social-links.bk-share .wp-social-link { background: none !important; color: #0091AD !important; border: 2px solid currentColor; }
.wp-block-social-links.bk-share .wp-block-social-link-anchor { padding: .4em; }

/* accordion -> details (matches the old Elementor accordion: no borders, magenta titles, +/- icon) */
.wp-block-details.bk-acc { border: 0; margin: 0; }
.wp-block-details.bk-acc > summary { padding: 15px 20px; font-weight: 700; font-size: 20px; line-height: 20px; color: #B7094C; cursor: pointer; list-style: none; display: flex; align-items: center; }
.wp-block-details.bk-acc > summary::-webkit-details-marker { display: none; }
.wp-block-details.bk-acc > summary::before { content: "+"; color: #fff; width: 30px; flex: none; font-size: 22px; }
.wp-block-details.bk-acc[open] > summary::before { content: "\2212"; }
.wp-block-details.bk-acc > summary:hover { color: #0091AD; }
.wp-block-details.bk-acc > :not(summary) { padding-left: 20px; padding-right: 20px; }
.wp-block-details.bk-acc > summary + * { padding-top: 15px; }
.wp-block-details.bk-acc > :last-child:not(summary) { padding-bottom: 15px; }
.wp-block-details.bk-acc > * + * { margin-top: 0; }
.wp-block-details.bk-acc p { margin: 0 0 .9rem; }

/* icon list (affiliate) */
.bk-icon-list { list-style: none; padding-left: 0; margin: 0; }
.bk-icon-list li { display: flex; padding-bottom: 6.5px; }
.bk-icon-list li::before { content: "\00BB"; color: #B7094C; font-size: 31px; line-height: 30px; width: 39px; padding-right: 20px; text-align: right; flex: none; font-weight: 700; }

/* table of contents */
.bk-toc { border: 1px solid #000; box-shadow: 0 0 14px 0 #0091AD; }
.bk-toc > summary { padding: 20px; background: #0091AD; color: #fff; font-family: var(--wp--preset--font-family--exo-2); font-size: 22px; font-weight: 700; line-height: 1.2; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.bk-toc > summary::-webkit-details-marker { display: none; }
.bk-toc > summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); margin-right: 6px; }
.bk-toc[open] > summary::after { transform: rotate(-135deg); margin-top: 6px; }
.bk-toc ol, .bk-toc ul { margin: 0; padding: 20px 20px 20px 35px; font-size: 17px; font-weight: 500; line-height: 35px; }
.bk-toc li { margin: 0 0 8.5px; }
.bk-toc a { color: #0091AD; text-decoration: none; }
.bk-toc a:hover { color: #B7094C; text-decoration: underline; }

/* post info (date) */
.bk-post-info { display: flex; align-items: center; gap: 5px; font-size: 13px; color: #B7094C; }
.bk-post-info::before { content: ""; width: 13px; height: 13px; background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M12 192h424c6.6 0 12 5.4 12 12v260c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V204c0-6.6 5.4-12 12-12zm436-44v-36c0-26.5-21.5-48-48-48h-48V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H160V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H48C21.5 64 0 85.5 0 112v36c0 6.6 5.4 12 12 12h424c6.6 0 12-5.4 12-12z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M12 192h424c6.6 0 12 5.4 12 12v260c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V204c0-6.6 5.4-12 12-12zm436-44v-36c0-26.5-21.5-48-48-48h-48V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H160V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H48C21.5 64 0 85.5 0 112v36c0 6.6 5.4 12 12 12h424c6.6 0 12-5.4 12-12z'/%3E%3C/svg%3E") center / contain no-repeat; }
.bk-post-info .wp-block-post-date { font-size: inherit; color: inherit; margin: 0; }

/* news cards (query loop), like the old Elementor "cards" posts widget */
.bk-cards .wp-block-post-template { gap: 29px 20px; }
.bk-card { height: 100%; display: flex; flex-direction: column; border: 2px solid #B7094C; border-radius: 10px; overflow: hidden; background: rgba(0,145,173,.25); box-shadow: 0 0 10px 0 rgba(0,0,0,.15); transition: box-shadow .25s; }
.bk-card:hover { box-shadow: 0 0 30px 0 rgba(0,0,0,.15); }
.bk-card > * + * { margin-top: 0 !important; }
.bk-card .wp-block-post-featured-image { margin: 0; aspect-ratio: 1 / .58; overflow: hidden; }
.bk-card .wp-block-post-featured-image a { display: block; height: 100%; }
.bk-card .wp-block-post-featured-image img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
.bk-card__body { padding: 22px 20px 0; flex: 1; }
.bk-card .wp-block-post-title { font-size: 21px; font-weight: 700; letter-spacing: -0.5px; margin: 0 0 25px; line-height: 1.2; }
.bk-card .wp-block-post-title a { color: #fff; text-decoration: none; }
.bk-card .wp-block-post-excerpt { margin: 0 0 20px; }
.bk-card .wp-block-post-excerpt__excerpt { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.92); margin: 0 0 25px; }
.bk-card .wp-block-post-excerpt__more-text { margin: 0; }
.bk-card .wp-block-post-excerpt__more-link { font-size: 12px; font-weight: 700; color: #B7094C; text-decoration: none; }
.bk-card__meta { border-top: 1px solid #EAEAEA; padding: 10px 20px; margin: 0 !important; }
.bk-card__meta .wp-block-post-date { font-size: 12px; line-height: 1.3; color: #ADADAD; }
.bk-card .wp-block-post-date a { color: inherit; text-decoration: none; }
@media (max-width: 767px) { .bk-cards .wp-block-post-template { grid-template-columns: 1fr !important; } }

/* legacy effects kept from the old customizer CSS */
.box-hover > *, .img-hover img { transition: all ease-in 500ms; }
.box-hover:hover, .img-hover img:hover { transform: scale(1.1); }
@keyframes bk-flip { from { transform: rotateY(0deg); } to { transform: rotateY(359deg); } }
.okubin-logo img { animation: bk-flip 5s infinite; }
@keyframes bk-rotation { from { transform: rotate(0deg); } to { transform: rotate(359deg); } }
.bitoku-logo img { animation: bk-rotation 5s infinite linear; }
@media (prefers-reduced-motion: reduce) { .okubin-logo img, .bitoku-logo img { animation: none; } }
.wp-block-embed { margin: 0; }

/* classic (non-block) single posts, like Hello's single.php */
.bk-single { padding-top: 0; padding-bottom: 40px; }
.bk-single .wp-block-post-title { font-size: 32px; font-weight: 700; letter-spacing: -2px; margin: 21px 0 20px; }
.bk-single .wp-block-post-content p { margin: 0 0 .9rem; }
.bk-single .wp-block-post-content img { height: auto; max-width: 100%; }
.bk-cards { max-width: 1060px; margin-inline: auto; }
.bk-header .wp-block-navigation__responsive-container-open svg, .bk-header .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }
.bk-header .wp-block-navigation__responsive-container-open { padding: 0; }
@media (max-width: 599px) { .bk-header__inner { padding-top: 0; } }
.bk-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { padding: 10px 20px; font-size: 18px; }
.bk-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* Elementor-style 3-bar menu toggle instead of core's 2-bar icon */
.bk-header .wp-block-navigation__responsive-container-open svg { display: none; }
.bk-header .wp-block-navigation__responsive-container-open::before { content: ""; display: block; width: 22px; height: 16px; background: linear-gradient(currentColor 0 0) top/100% 3px no-repeat, linear-gradient(currentColor 0 0) center/100% 3px no-repeat, linear-gradient(currentColor 0 0) bottom/100% 3px no-repeat; }
/* TOC list: match Elementor (white items, » markers, sticky on desktop) */
.bk-toc ul { list-style: none; padding-left: 20px; }
.bk-toc li::before { content: "»"; color: #fff; margin-right: 10px; }
.bk-toc a { color: #fff; }
.bk-toc a:hover { color: #0091AD; text-decoration: none; }
@media (min-width: 1025px) { .bk-toc { position: sticky; top: 20px; } }
html, body { overflow-x: clip; } /* rotating logo must not cause sideways scroll on phones */
