@charset "UTF-8";
/*
Theme Name:        Wax & Gold
Theme URI:         https://github.com/ndiego/wax-and-gold/
Author:            Nick Diego
Author URI:        https://www.nickdiego.com
Description:       A WordPress theme for Wax & Gold.
Requires at least: 6.3
Requires PHP:      7.4
Version:           0.1.0
License:           GNU General Public License v2 or later
License URI:       http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       wax-and-gold
*/
/* Defaults
 ----------------------------------------------------------------------------- */
html {
  box-sizing: border-box;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

/* General Styles (Styles not supported in theme.json and/or not block specific)
 ----------------------------------------------------------------------------- */
a:where(:not(.wp-element-button)) {
  text-underline-offset: 2px;
  transition: color var(--wp--custom--transition--duration) ease-in-out;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

/* Make bold styles look a bit nicer. */
strong {
  font-weight: 600;
}

/* Custom styles for form inputs, textareas and labels. */
input,
textarea {
  font-size: var(--wp--preset--font-size--small);
}

input:not([type=submit]),
textarea {
  border: var(--wp--custom--border--default);
  border-radius: var(--wp--custom--border-radius--default);
  font-size: var(--wp--preset--font-size--small);
}

label,
.contact-form label,
.jetpack-field-label .rich-text.jetpack-field-label__input {
  font-family: var(--wp--preset--font-family--primary);
  font-size: var(--wp--preset--font-size--medium);
  font-weight: 500;
}

select {
  border: var(--wp--custom--border--default);
  border-radius: 4px;
  color: var(--wp--preset--color--primary-light);
  min-height: 30px;
  padding: 0 1.5rem 0 0.5rem;
}

/* Elements do not yet support CSS in theme.json */
.wp-element-button,
.is-style-outline a,
.is-style-outline li,
.wp-block-button__link {
  transition: background-color var(--wp--custom--transition--duration) ease-out, color var(--wp--custom--transition--duration) ease-out;
}

/* Inline code and keyboard input styles. Need to explicitly exclude the Code block. */
*:not(.wp-block-code) > code,
kbd {
  background-color: var(--wp--preset--color--neutral-100);
  border-radius: 4px;
  color: var(--wp--preset--color--primary);
  font-family: var(--wp--preset--font-family--monospace);
  font-size: 0.8em;
  padding: 0.2rem 0.35rem;
  position: relative;
}

*.has-dark-code:not(.wp-block-code) code,
.has-dark-code kbd {
  background-color: var(--wp--preset--color--primary-light);
  color: var(--wp--preset--color--neutral);
}

/* Custom color for the * indicator in forms. */
span.required {
  color: var(--wp--preset--color--tertiary);
  font-family: var(--wp--preset--font-family--primary);
  font-size: var(--wp--preset--font-size--medium);
  font-weight: 600;
}

/*
 * Utility classes.
 ----------------------------------------------------------------------------- */
/* Flexbox */
.has-flex-shrink-0 {
  flex-shrink: 0;
}

.has-flex-1 {
  flex: 1;
}

.has-overflow-hidden {
  overflow: hidden;
}

.has-width-100,
.has-width-100-wrap {
  width: 100%;
}

.has-width-100 img {
  width: 100%;
}

.has-min-width-100 {
  min-width: 100%;
}

/* Whitespace */
.has-white-space-nowrap {
  white-space: nowrap;
}

/* Box Shadow */
.box-shadow--small {
  box-shadow: var(--wp--preset--shadow--small);
}
.box-shadow--medium {
  box-shadow: var(--wp--preset--shadow--medium);
}

/* Text Wrap */
.text-wrap--balance {
  text-wrap: balance;
}
.text-wrap--pretty {
  text-wrap: pretty;
}

/* Border */
.border-radius--default {
  border-radius: var(--wp--custom--border-radius--default);
  overflow: hidden;
}
.border-radius--button {
  border-radius: var(--wp--custom--border-radius--button);
  overflow: hidden;
}
.border-radius--round {
  border-radius: var(--wp--custom--border-radius--round);
  overflow: hidden;
}

/* Links */
.text-decoration--none a {
  text-decoration-thickness: 0 !important;
  text-decoration: none !important;
}

.has-hidden-links a {
  text-decoration-thickness: 0 !important;
  text-decoration: none !important;
}
.has-hidden-links a:hover {
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 0.5ch !important;
}

a.has-arrow-right::after,
a.has-arrow-right a::after,
.has-arrow-right a::after,
.has-arrow-right a a::after {
  content: "→";
  display: inline-block;
  margin-left: 0.2em;
}

a.has-arrow-left::before,
a.has-arrow-left a::before,
.has-arrow-left a::before,
.has-arrow-left a a::before {
  content: "←";
  display: inline-block;
  margin-right: 0.2em;
}

/* Separator */
.has-separator {
  margin-inline-start: calc(var(--wp--preset--spacing--x-small) * -0.5);
  padding-inline-start: calc(var(--wp--preset--spacing--x-small) * 1.5);
  position: relative;
}

.has-separator:before {
  color: var(--wp--preset--color--neutral-300);
  content: "•";
  inset-inline-start: -6px;
  position: absolute;
}

/* Image borders (inspired by rich.blog) */
.wp-block-image:not(.has-caption):not(.block-editor-block-list__block),
.wp-block-image .wp-block-image-container,
.wp-block-image .components-resizable-box__container,
.wp-lightbox-overlay .wp-block-image,
.wp-block-video,
.wp-block-media-text__media,
.wp-block-jetpack-image-compare,
.jetpack-videopress-player__wrapper {
  position: relative;
}

.wp-block-media-text__media {
  border-radius: var(--wp--custom--border-radius--default);
  overflow: hidden;
}

.wp-block-image:not(.has-caption):not(.block-editor-block-list__block)::before,
.wp-block-image .wp-block-image-container::before,
.wp-block-image .components-resizable-box__container::before,
.wp-lightbox-overlay .wp-block-image::before,
.wp-block-video::before,
.wp-block-media-text__media::before,
.wp-block-jetpack-image-compare::before,
.jetpack-videopress-player__wrapper::before {
  border-radius: var(--wp--custom--border-radius--default);
  border: 1px solid var(--wp--preset--color--haze);
  bottom: 0;
  content: "";
  display: block;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}

.has-no-border::before,
.has-no-border .wp-block-image-container::before,
.has-no-border .wp-block-media-text__media::before,
.has-no-border .components-resizable-box__container::before {
  border-color: transparent !important;
}

/* Don't show the border on fullwidth images. */
.single .wp-block-image.alignfull::before {
  display: none;
}

/* Remove image border on mobile. */
@media (max-width: 782px) {
  .has-no-mobile-border img {
    border: none !important;
  }
}

/* Conditionally display content based on browser width. */
@media (min-width: 781px) {
  .hide-on-desktop {
    display: none !important;
  }
}
@media (max-width: 782px) {
  .hide-on-tablet {
    display: none !important;
  }
}
@media (max-width: 599px) {
  .hide-on-mobile {
    display: none !important;
  }
}
/* Center align content on mobile. */
@media (max-width: 782px) {
  .mobile-align-center,
  .mobile-align-center .has-text-align-left,
  .mobile-align-center .has-text-align-center {
    text-align: center !important;
  }
  .mobile-align-center.is-layout-flex,
  .mobile-align-center .is-layout-flex {
    display: inline-flex;
  }
}
/*
 * Misc tweaks.
 ----------------------------------------------------------------------------- */
/* Jetpack Social */
.sd-like {
  margin-top: var(--wp--preset--spacing--large);
}

.sd-title {
  display: none !important;
}

/* Jetpack Subscriptions */
.wp-block-jetpack-subscriptions .wp-block-button__link {
  border-radius: var(--wp--custom--border-radius--button) !important;
}
@media (max-width: 600px) {
  .wp-block-jetpack-subscriptions .wp-block-jetpack-subscriptions__form-elements {
    flex-wrap: wrap;
  }
  .wp-block-jetpack-subscriptions .wp-block-jetpack-subscriptions__form-elements #subscribe-submit {
    flex-basis: 100%;
  }
  .wp-block-jetpack-subscriptions .wp-block-jetpack-subscriptions__form-elements #subscribe-submit .wp-block-button__link {
    margin: 20px 0 0 !important;
  }
}

/* Jetpack VideoPress */
.wp-block-jetpack-videopress {
  line-height: 0;
}

/* Lightbox */
.wp-lightbox-overlay .close-button:focus {
  outline: none;
}

.wp-lightbox-overlay .close-button svg {
  height: 24px;
  width: 24px;
}

/* Comment forms */
.comment-subscription-form,
.akismet_comment_form_privacy_notice {
  display: none;
}

/* Add extra padding at the bottom of the Editor when metaboxes are present. */
div.editor-styles-wrapper {
  padding-bottom: 20vh;
}
