/*
 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
*/

@media(max-width:768px){
	.site-header .header-image{
		width: 155px;
	}
}

.formkit-powered-by-convertkit-container{
	display: none !important;
}

.seva-form.formkit-form > div{
	padding: 0 !important;
}

.seva-fields.formkit-fields{
	flex-direction: column;
}

.formkit-field{
	margin-bottom: 12px;
}

input[name="email_address"]{
	box-shadow: 0px 3px 0px 0px #f2994a;
	background: white;
}

form.formkit-form[data-format="inline"]{
	width: 100%;
	position: relative;
}

body strong{
	font-weight: 600;
}

.formkit-submit,.wpcf7-submit{
	font-weight: 500 !important;
}

form.formkit-form[data-format="inline"]{
	margin: 0;
    max-width: 100%;
}

h2.comments-title{
	font-size: 22px;
    font-weight: 700;
    text-align: center;
}

h3.comment-reply-title{
	font-size: 22px;
    font-weight: 700;
    text-align: center;
}

.comments-area{
	padding-top:0 !important;
}

.comments-area time, .comments-area a.url, .comments-area .comment-metadata a{
	color: #2a2a2a;
}

.blue-insert{
	background: #f2994a;
    color: white;
    border-radius: 12px;
    padding: 28px;
	margin: 0 0 20px;
	list-style: none;
	margin-left: 0 !important;
}

ul.blue-insert .wp-block-list{
	margin-top: 4px;
}

ul.blue-insert, ul.blue-insert ul{
    display: flex;
    flex-direction: column;
    gap: 4px;	
}
main article .wp-block-list{
	margin-left: 36px;
}

.wpcf7-response-output{
	margin: 0 !important;
    font-size: 16px;
    text-align: center;
}
.wpcf7 form.invalid .wpcf7-response-output{
    border-color: #dc3232;
}
input.wpcf7-submit{
	width: fit-content;
    max-width: fit-content;
	background: #f2994a !important;
    font-size: 15px !important;
    border: none !important;
	border-radius: 12px;
    flex: 1 0 auto !important;
	color: white !important;
    line-height: 1.5 !important;
    margin: 0 !important;
	display: block;
    -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
    padding: 12px 24px !important;
}

input.wpcf7-text:focus{
	border: 1px solid #f2994a !important;
}

.wpcf7-not-valid-tip{
	font-size: 14px;
	margin-top: 4px;
}

.wpcf7-form label{
	font-size: 16px;
	font-weight: 600;
	width:100%;
}
.wpcf7-form p{
    display: flex;
	margin-bottom: 20px;
    flex-direction: row;
    justify-content: start;
    align-items: center;	
}


input.wpcf7-text, textarea.wpcf7-textarea{
	margin-top: 4px;
	width:100%;
	background: #ffffff;
    font-size: 15px;
    padding: 12px;
    border: 1px solid #f2994a;
    -webkit-flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    line-height: 1.4;
    -webkit-transition: border-color ease-out 300ms;
    transition: border-color ease-out 300ms;
	color: #2a2a2a;
    border-radius: 12px;
    font-weight: 400;
	box-shadow: 0px 3px 0px 0px #f2994a;
}

.wpcf7-submit:hover{
	background-color: #E58F20 !important;
}

.comment-content{
	border-radius:12px;
	border-color:#e1e1e1;
}

.comments-area textarea, .comments-area input, .comments-area input:focus{
	background: white;
	border-radius:12px;
	border-color: #e1e1e1;
}

.comments-area input.submit, .comments-area input.submit:hover{
	border: none;
	background:#f2994a;
	font-weight:600;
	color:white;
}
.comments-area .reply a{
	font-weight:600;
}

ol.comment-list{
	margin-bottom: 15px;
}

.shadow-block{
	box-shadow: 0px 9px 25px rgb(0 0 0 / 8%);
}

.site-main p:last-child{
	margin-bottom:0;
}

.dynamic-entry-content > *:last-child{
	margin-bottom: 0 !important;
}

.page .inside-article strong,
.post .inside-article strong{
	font-weight:700;
}

main article .gb-block-image img:not(.custom-size){
	aspect-ratio: 3 / 2;
	border-radius: 12px;
    object-fit: cover;
	box-shadow: rgba(0, 0, 0, 0.09) 0px 3px 12px;
}


main article .gb-block-image{
	margin-bottom: 27px;
}
/* social share */

.simplesocialbuttons button{
	flex: 1;
	margin:0;
	padding: 4px !important;
	border-radius: 8px !important;
	font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
}

.simplesocialbuttons button span{
	display: none;
}

.simplesocialbuttons.simplesocial-round-txt button:after{
	left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

.simplesocialbuttons{
	margin:0 0 20px !important;
	display: flex;
	gap: 5px;
}

/* Basic Styling for FAQ Section */
.schema-faq .schema-faq-section {
  background-color: #f8f8f8; /* Light grey background by default */
  transition: background-color 0.3s ease;
}

.wp-block-yoast-faq-block{
	display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 27px;
}

/* Question Styling */
.schema-faq .schema-faq-question {
  cursor: pointer;
  font-weight: bold;
  padding: 18px;
	gap: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
  border-top: none; /* Remove border-top */
}

/* Hover Style */
.schema-faq .schema-faq-section:hover {
  background-color: #fff0e5; /* Light version of #FF9F1C */
}

.schema-faq .schema-faq-section:hover .schema-faq-question {
  color: #f2994a; /* Change text color when expanded */
}

/* Active State */
.schema-faq .schema-faq-section.active {
  background-color: #f2994a; /* Slightly stronger orange */
}


/* Answer Styling */
.schema-faq .schema-faq-answer {
  display: none;
    padding: 0 18px 18px;
  margin: 0;
}

/* Chevron Icon Styling */
.schema-faq .chevron {
  transition: transform 0.3s ease;
}

/* Rotate Chevron on Expand */
.schema-faq .chevron.rotate {
  transform: rotate(180deg);
}

/* Hover and Expanded State Styling */
.schema-faq .schema-faq-section.active {
  background-color: #fff0e5; /* Light version of #FF9F1C */
}

.schema-faq .schema-faq-section.active .schema-faq-question {
  color: #f2994a; /* Change text color when expanded */
}

@media(max-width:768px){
	.wp-block-table .has-fixed-layout{
		min-width: 600px;
	}
	.schema-faq .schema-faq-question {
		padding: 16px;
	}
	
	.schema-faq .schema-faq-answer {
		padding: 0 16px 16px;
	}
	
	.blue-insert{
		padding: 16px;
	}
}
