/*
Theme Name: Rockbase Framework
Theme URI: https://rockbase.co
Author: Rockabse LLC
Author URI: https://rockbase.co
Description: A powerful foundation for your next great WordPress project.
Requires at least: 6.5
Tested up to: 6.5
Requires PHP: 7.3
Version: 0.0.1
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: rckbs
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, translation-ready, block-styles, template-editing, wide-blocks, global-styles

Rockbase Framework WordPress Theme, (C) Rockbase LLC.
Rockbase Framework is distributed under the terms of the GNU GPL.
*/
/* Defaults
--------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  scroll-behavior: smooth;
  box-sizing: border-box;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

/* Adjust footer */
footer::before {
  clear: both;
  content: "";
  display: block;
}

header,
footer {
  margin-top: 0;
  margin-block-start: 0;
}

a,
button,
input:focus,
input[type=button],
input[type=submit],
textarea:focus,
.wp-element-button,
.powered-by-rockbase a img {
  transition: all 0.2s ease-in-out;
}

/* Forms and Inputs */
input,
select,
textarea {
  background-color: var(--wp--preset--color--background-1);
  border: 1px solid var(--wp--preset--color--foreground-1);
  color: var(--wp--preset--color--foreground-1);
  font-family: var(--wp--preset--font-family--base);
  font-size: var(--wp--preset--font-size--small);
  font-weight: inherit;
  line-height: inherit;
  padding: 0.7rem clamp(1.5rem, 1.75vw, 3.5rem) 0.6rem clamp(1.5rem, 1.75vw, 3.5rem);
  width: 100%;
}

input:focus,
textarea:focus {
  background-color: var(--wp--preset--color--background-2);
  outline: none;
}

input[type=checkbox],
input[type=image],
input[type=radio] {
  width: auto;
}

input[type=button],
input[type=email],
input[type=search],
input[type=submit],
input[type=text],
textarea {
  -webkit-appearance: none;
}

::placeholder {
  color: var(--wp--preset--color--foreground-3);
  font-size: var(--wp--preset--font-size--small);
}

/* Hide featured image if empty */
.single-post-featured-image:empty {
  display: none;
}

/* Utility Classes
--------------------------------------------- */
.has-balance-text-wrap {
  text-wrap: balance !important;
}

.has-overflow-y-auto {
  overflow-y: auto;
}

.has-min-width {
  min-width: var(--wp--style--global--wide-size);
}

.has-highlight-underline {
  display: inline-block;
  position: relative;
  z-index: 1;
}

.has-highlight-underline:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.1em;
  border-radius: var(--wp--custom--border-radius--small);
  background-color: var(--wp--preset--color--secondary);
  z-index: -1;
}

/* Hide Mobile / Desktop */
body .hide-desktop {
  display: none;
}

@media (max-width: 781px) {
  body .hide-desktop {
    display: initial;
  }
  body .hide-mobile {
    display: none;
  }
}
