/* 
Theme Name: Eat Splendid
Theme URI: https://eatsplendid.com/
Description: Eat Splendid is a child theme of Hello Elementor, designed for recipe blogs with custom blocks and features
Author: Andrew Skinner
Author URI: https://eatsplendid.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: eat-splendid
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: food-and-drink, blog, custom-logo, custom-menu, featured-images, recipe, gutenberg, block-styles
*/

/*
    Add your custom styles here
*/

.tip-box {
  border-left: 4px solid var(--wp--preset--color--accent, #387C5D);
  background-color: var(--wp--preset--color--pale-green, #EEF3F1);
  padding: 1.5em;
  margin: 1.5em 0;
  border-radius: 4px;
  font-size: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.5em;
}

.tip-box-content-wrapper {
  flex: 1;
  min-width: 250px;
}

.tip-box-title {
  margin-top: 0;
  margin-bottom: 0.75em;
  color: var(--wp--preset--color--accent, #387C5D);
  font-size: 1.2em;
  font-weight: 600;
}

.tip-box-content {
  color: var(--wp--preset--color--primary, #475B52);
}

.tip-box-content p:last-child {
  margin-bottom: 0;
}

.tip-box-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--wp--preset--color--secondary, #9CC0B0);
}

.tip-box-image-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 3px solid var(--wp--preset--color--secondary, #9CC0B0);
}

.tip-box-image-placeholder:after {
  content: "\f110";
  font-family: dashicons;
  color: #9CC0B0;
  font-size: 36px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* For small screens */
@media (max-width: 600px) {
  .tip-box {
    flex-direction: column-reverse;
  }
  
  .tip-box-image,
  .tip-box-image-placeholder {
    margin-bottom: 1em;
  }
}
