/*
Theme Name: Bullionite
Theme URI: https://bullionite-v3.vercel.app/
Author: Bullionite
Author URI: https://www.bullionite.com/
Description: Bullionite's site as a WordPress theme: the homepage with its cloud sea and globe, the four service pages and What we offer, the journal (the blog and the field notes, with the manual Making Trades), About, Contact and the Privacy Policy, and the store, whose checkout is WooCommerce's with Stripe's official plugin. The blog, the field notes and the manual's chapters are WordPress content; menus, contact details and the homepage's headline are settings. Appearance → Bullionite sets up the pages and menus and imports the demo content.
Version: 1.4.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bullionite
Tags: blog, portfolio, one-column, custom-menu, featured-images, translation-ready, threaded-comments
*/

/* ======================================================================
   What WordPress adds to the site's own styles (assets/*.css): the admin
   bar, the editor's markup inside the journal's reading column, comments,
   search, and the monochrome print of the blog's pictures.
   ====================================================================== */

/* the fixed header, the menu sheet and the store's panels sit under the admin bar */
.admin-bar .hd, .admin-bar .sheet, .admin-bar .sd, .admin-bar .st-done, .admin-bar .sp { top: 32px; }
@media (max-width: 782px) { .admin-bar .hd, .admin-bar .sheet, .admin-bar .sd, .admin-bar .st-done, .admin-bar .sp { top: 46px; } }
@media (max-width: 600px) { .admin-bar .hd, .admin-bar .sheet, .admin-bar .sd, .admin-bar .st-done, .admin-bar .sp { top: 0; } }   /* the admin bar scrolls away here */

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.screen-reader-text:focus { clip: auto; clip-path: none; width: auto; height: auto; }

/* The blog's pictures are kept in colour; the journal prints them in the
   site's warm monochrome, and shows the colour only in the strip under the
   blog's title and in the picture that follows the pointer. */
.bl-lead__img img, .bl-card__img img, .ar__img img, .bl-search-hit img { filter: grayscale(1) sepia(.1) contrast(1.04) brightness(1.02); }

/* the editor's markup, in the reading column */
.ar__body img, .ar__body video, .ar__body iframe { max-width: 100%; height: auto; }
.ar__body figure { margin: 2em 0; }
.ar__body figcaption, .ar__body .wp-caption-text { margin-top: .8em; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ar__body .alignleft { float: left; margin: .3em 1.6em 1em 0; max-width: 50%; }
.ar__body .alignright { float: right; margin: .3em 0 1em 1.6em; max-width: 50%; }
.ar__body .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.ar__body .alignwide, .ar__body .alignfull { margin-left: 0; margin-right: 0; }
.ar__body hr, .ar__body .wp-block-separator { height: 1px; margin: 2.4em 0; border: 0; background: var(--line); }
.ar__body pre, .ar__body code { font-family: var(--mono); font-size: .82em; }
.ar__body pre { padding: 1.2em 1.4em; overflow-x: auto; background: var(--mist); border: 1px solid var(--line); }
.ar__body table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; }
.ar__body th, .ar__body td { padding: .7em .6em; border-bottom: 1px solid var(--line); text-align: left; }
.ar__body .wp-block-button__link, .ar__body .wp-element-button { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 15px; font-weight: 500; text-decoration: none; }
.ar__body .wp-block-pullquote { margin: 2em 0; padding: 1.4em 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 1.5em; line-height: 1.25; }
.ar__body .wp-block-quote cite, .ar__body .wp-block-pullquote cite { display: block; margin-top: .8em; font-family: var(--mono); font-size: 11px; font-style: normal; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ar__body .lg-dis { margin-top: 2.6em; padding-top: 1.3em; border-top: 1px solid var(--ink); }
.ar__body .lg-dis__kick { margin-top: .6em; color: var(--gold-ink); }
.ar__body::after { content: ""; display: table; clear: both; }

.ar__body .alignwide { margin-left: calc(var(--u) * -1.2); margin-right: calc(var(--u) * -1.2); max-width: none; }
.ar__body .alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.ar__body .gallery-caption, .ar__body .blocks-gallery-caption { margin-top: .6em; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.sticky .bl-row__t::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: .6em; background: var(--gold); vertical-align: .15em; }
.cm__list .bypostauthor > .comment-body .fn::after { content: " · writer"; font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-ink); }
.ar__tags { display: flex; flex-wrap: wrap; gap: 8px; width: calc(var(--u) * 8.4); margin: 0 auto 1.2em; }
.ar__tags a { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-2); transition: border-color .5s var(--ease-fade), color .5s var(--ease-fade); }
.ar__tags a:hover { border-color: var(--ink); color: var(--ink); }
.hd__brand .custom-logo { display: block; height: 28px; width: auto; }
@media (max-width: 899px) { .ar__tags { width: auto; } .ar__body .alignwide { margin-left: 0; margin-right: 0; } }

/* page links inside a post (<!--nextpage-->) */
.ar__pages { display: flex; gap: .6em; margin-top: 2em; font-family: var(--mono); font-size: 12px; }
.ar__pages a, .ar__pages > span { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 .6em; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }

/* comments */
.cm { width: calc(var(--u) * 8.4); margin: calc(var(--u) * 1.2) auto 0; padding-top: 1.4em; border-top: 1px solid var(--ink); font-family: var(--sans); }
.cm__title { font-size: max(20px, 1.6vw); font-weight: 500; letter-spacing: -.025em; }
.cm__list, .cm__list .children { list-style: none; }
.cm__list { margin-top: 1.4em; }
.cm__list .children { padding-left: 1.6em; border-left: 1px solid var(--line); }
.cm__list .comment-body { padding: 1.2em 0; border-bottom: 1px solid var(--line); }
.cm__list .comment-author { display: flex; align-items: center; gap: .8em; font-size: 14px; font-weight: 500; }
.cm__list .comment-author img { border-radius: 50%; }
.cm__list .comment-author .says { display: none; }
.cm__list .comment-metadata { margin-top: .3em; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.cm__list .comment-metadata a { color: inherit; }
.cm__list .comment-content { margin-top: .8em; font-family: var(--serif); font-size: 16px; line-height: 1.65; color: #2a2826; }
.cm__list .reply { margin-top: .6em; font-size: 13px; }
.cm .comment-respond { margin-top: 1.6em; }
.cm .comment-reply-title { font-size: 17px; font-weight: 500; }
.cm .comment-form { display: grid; gap: 14px; margin-top: 1em; }
.cm .comment-form label { display: block; margin-bottom: .4em; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cm .comment-form input[type="text"], .cm .comment-form input[type="email"], .cm .comment-form input[type="url"], .cm .comment-form textarea {
  width: 100%; padding: .8em 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; outline: none;
  font-family: var(--sans); font-size: 16px; color: var(--ink);
}
.cm .comment-form textarea { min-height: 140px; resize: vertical; }
.cm .comment-form input:focus, .cm .comment-form textarea:focus { border-color: var(--ink); }
.cm .comment-form .submit { height: 48px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 500; cursor: pointer; }
.cm .comment-form-cookies-consent { display: flex; gap: .6em; align-items: baseline; font-size: 13px; color: var(--ink-2); }
.cm .comment-form-cookies-consent label { display: inline; margin: 0; font-family: var(--sans); font-size: 13px; letter-spacing: 0; text-transform: none; }

/* search: the results, and the form */
.bl-search-form { position: relative; display: block; max-width: 34em; }
.bl-search-form input[type="search"] { width: 100%; height: 54px; padding: 0 44px 0 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; outline: none; font-size: max(17px, 1.3vw); font-weight: 500; }
.bl-search-form button { position: absolute; right: 0; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 36px; height: 36px; color: var(--ink); cursor: pointer; }
.bl-search-form button svg { width: 18px; height: 18px; }

/* a page that is not a template: the reading page, without the extras */
.ar--page .ar__head { padding-bottom: calc(var(--u) * .2); }
.ar--page .ar__grid { padding-top: calc(var(--u) * 1); }

/* 404 */
.nf { position: relative; display: grid; align-content: end; min-height: 100vh; min-height: 100svh; padding: calc(var(--hd) + var(--u) * 1.2) var(--u) calc(var(--u) * 1.1); background: var(--dots, none), var(--mist); overflow: hidden; }
.nf__n { font-family: var(--display); font-size: 30vw; font-weight: 400; line-height: .8; letter-spacing: -.02em; color: var(--ink); }
.nf__n .stop { color: var(--gold); }
.nf__foot { display: flex; justify-content: space-between; align-items: end; gap: var(--u); margin-top: calc(var(--u) * .8); padding-top: 1.1em; border-top: 1px solid var(--ink); }
.nf__say { max-width: 24em; font-family: var(--display); font-size: max(20px, 1.8vw); line-height: 1.2; color: var(--ink-2); }
.nf__go { display: flex; gap: 2em; }
@media (max-width: 899px) {
  .nf { padding: calc(var(--hd) + 10vw) 5vw 10vw; }
  .nf__n { font-size: 42vw; }
  .nf__foot { flex-direction: column; align-items: start; }
  .cm { width: auto; margin-left: 5vw; margin-right: 5vw; }
}

/* a topic, a writer, a date, a search: the archive's rows under a plain head */
.bl-list { padding: calc(var(--hd) + var(--u) * 1.4) var(--u) calc(var(--u) * 2.2); background: var(--paper); }
.bl-list__head { display: grid; justify-items: start; gap: calc(var(--u) * .3); margin-bottom: calc(var(--u) * 1); }
.bl-list__head .bl-search-form { width: min(34em, 100%); margin-top: .4em; }
.bl-list__t { font-size: 5.2vw; font-weight: 500; line-height: .95; letter-spacing: -.045em; }
.bl-list__desc { max-width: 36em; font-size: max(16px, 1.1vw); line-height: 1.55; color: var(--ink-2); }
.bl-list__none { padding: calc(var(--u) * .8) 0; font-family: var(--display); font-size: max(22px, 2vw); color: var(--ink-2); }
.bl-list > .bl-rows { border-top: 1px solid var(--ink); }
.bl-pages { margin-top: calc(var(--u) * .8); }
.bl-pages .nav-links { display: flex; gap: .5em; font-family: var(--mono); font-size: 12px; }
.bl-pages .page-numbers { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 .7em; border: 1px solid var(--line); border-radius: 999px; }
.bl-pages .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--paper); }
@media (max-width: 899px) {
  .bl-list { padding: calc(var(--hd) + 10vw) 5vw 14vw; }
  .bl-list__t { font-size: 11vw; }
}
