/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
/* Prevent horizontal scroll */
html {
	overflow-x: hidden;
}

/* Remove margin above home carousel */
.home #main {
	margin-top: 0;
}

/* Remove border on search box */
input[type="search"].wp-block-search__input {
	border: 0;
}

/* Tweak font size of breadcrumbs */
.yoast-breadcrumbs a,
.yoast-breadcrumbs span {
	font-size: 14px;
}

/* Restrict reviews width */
.home-reviews {
	max-width: 100%;
}

/* Form button full width */
.wpforms-submit-container .wpforms-submit {
	width: 100%;
}

/* Remove padding on footer latest posts */
.site-footer .wp-block-latest-posts__list {
	margin-left: 0;
}

/* Post images full width */
.single-post .inside-article figure, .single-post .inside-article img {
  width: 100% !important;
  height: auto;
  text-align: center;
}

/************/
/* DROPCAPS */
/************/
.dropcap::first-letter {
  font-size: 4.4em;
  font-weight: 400;
  line-height: 1;
  float: left;
  padding: 0 10px 0 0;
  color: #20c7ca;
  font-style: normal;
}

/* Optional: disable dropcap on very small screens */
@media (max-width: 480px) {
  .dropcap::first-letter {
    float: none;
    margin: 0;
    padding: 0;
    font-size: inherit;
  }
}
