/**
Theme Name: Salt & Wind - Astra Child
Author: Chris Kalima
Author URI: https://ckalima.com
Description: Child theme for Salt & Wind customizations
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: salt-wind-astra-child
Template: astra
*/

/* fix elementor hr styling in text widget */
.elementor-widget-text-editor hr {
	background-color: #ccc;
    border: 0;
    height: 1px;
    margin: 1em 0;
}

/*
Astra default breakpoints are 544 for mobile and 768 for tablet
*/

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
	margin-top:0;
}

/*
Typography Vertical Rhythm - Desktop
18px / 1.6 line-height / 1.25 scale factor
https://www.gridlover.net/try
*/
@media only screen and (min-width: 768px) {
  html {
    font-size: 18px;
    line-height: 29px;
  }
  body {
    font-size: 1em;
    line-height: 1.6em;
  }
  h1, .h1 {
    font-size: 1.94444444em;
    line-height: 1.3em;
    margin-top: 1em;
    margin-bottom: 1.6em;
  }
  h2, .h2 {
    font-size: 1.55555556em;
    line-height: 1.3em;
    margin-top: 1em;
    margin-bottom: 1em;
  }
  h3, .h3 {
    font-size: 1.27777778em;
    line-height: 1.3em;
    margin-top: 1em;
    margin-bottom: 1em;
}
  h4, .h4 {
    font-size: 1.125em;
    line-height: 1.6em;
    margin-top: 1.6em;
    margin-bottom: 0em;
  }
  h5, .h5 {
    font-size: 1em;
    line-height: 1.6em;
    margin-top: 1.6em;
    margin-bottom: 0em;
  }
  h6, .h6 {
    font-size: 1em;
    line-height: 1.6em;
    margin-top: 1.6em;
    margin-bottom: 0em;
  }
  p, ul, ol, pre, table, blockquote {
    margin-top: 0em;
    margin-bottom: 1.6em;
  }
  ul ul, ol ol, ul ol, ol ul {
    margin-top: 0em;
    margin-bottom: 0em;
  }
}

/*
Typography Vertical Rhythm - Mobile
16px / 1.6 line-height / 1.25 scale factor
https://www.gridlover.net/try
*/
@media only screen and (max-width: 768px) {
  /* Fix horizontal scroll on mobile. */
  html, body{
    width:100%;
    overflow-x:hidden;
  }
  /* Typography */
  html {
    font-size: 16px;
    line-height: 26px;
  }
  body {
    font-size: 1em;
    line-height: 1.6em;
  }
  h1, .h1 {
    font-size: 1.9375em;
    line-height: 1.3em;
    margin-top: 1em;
    margin-bottom: 1.6em;
  }
  h2, .h2 {
    font-size: 1.5625em;
    line-height: 1.3em;
    margin-top: 1em;
    margin-bottom: 1em;
  }
  h3, .h3 {
    font-size: 1.25em;
    line-height: 1.3em;
    margin-top: 1.3em;
    margin-bottom: 1em;
  }
  h4, .h4 {
    font-size: 1.125em;
    line-height: 1.6em;
    margin-top: 1.6em;
    margin-bottom: 0em;
  }
  h5, .h5 {
    font-size: 1em;
    line-height: 1.6em;
    margin-top: 1.6em;
    margin-bottom: 0em;
  }
  h6, .h6 {
    font-size: 1em;
    line-height: 1.6em;
    margin-top: 1.6em;
    margin-bottom: 0em;
  }
  p, ul, ol, pre, table, blockquote {
    margin-top: 0em;
    margin-bottom: 1.6em;
  }
  ul ul, ol ol, ul ol, ol ul {
    margin-top: 0em;
    margin-bottom: 0em;
  }
}

/* General tweaks pulled in from custom CSS */

.adthrive-footer-message {
    background: #000;
    margin: 0px !important;
    padding: 20px 0 100px;
		font-style: italic;
}

.menu-item,
.menu-item a {
	font-family: "Newsreader", serif !important;
}

.elementor-7 .elementor-element.elementor-element-4b5a6f2 {
	margin-top: 0 !important;
}

.wprm-recipe.wprm-recipe-snippet {
	text-align: center;
}

/* Link styling for improved accessibility */
.elementor-widget-text-editor a {
	text-decoration: underline;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	text-decoration: none !important;
}