/*
Theme Name:  Jwalix
Theme URI:   https://www.jwalix.com/
Author:      Jwalix
Author URI:  https://www.jwalix.com/
Description: The Jwalix marketing site as a WordPress theme. Every route from the static
             site (jwalix-site-v1) ships as a page template, so the design is byte-identical
             to what shipped statically. Generated by wordpress/build-theme.js — see
             wordpress/README.md. Do not hand-edit the generated files.
Version:     1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License:     Proprietary
Text Domain: jwalix
Tags:        business, one-column, custom-menu, full-width-template
*/

/*
 * Intentionally almost empty.
 *
 * The real stylesheet is assets/site.css plus assets/400.<hash>.css (Bootstrap 5.3
 * compiled with this site's brand theming), both carried over verbatim from the static
 * build and enqueued by functions.php. WordPress only requires this file to exist and
 * to carry the theme header above, so putting rules here would just create a second
 * place for the design to live.
 *
 * The handful of rules below exist only to tidy up markup WordPress introduces that
 * the static site never had (admin bar offset, editor-generated alignment classes,
 * caption/gallery output). Site design changes belong in assets/site.css.
 */

/* The admin bar is fixed-position and would otherwise sit over the sticky header. */
body.admin-bar .sticky-top {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .sticky-top {
    top: 46px;
  }
}

/* Alignment classes the block/classic editor emits inside post content. */
.jwalix-post-content .alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
}

.jwalix-post-content .alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
}

.jwalix-post-content .aligncenter {
  display: block;
  margin-inline: auto;
}

.jwalix-post-content img,
.jwalix-post-content iframe {
  max-width: 100%;
  height: auto;
}

.jwalix-post-content .wp-caption-text,
.jwalix-post-content figcaption {
  font-size: 0.875rem;
  color: var(--bs-secondary-color);
}

/* Screen-reader-only text, which WordPress core markup expects to exist. */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
