/*
Theme Name: Get Help Global
Theme URL: http://www.ahmed-web.com
Author: Rajib Ahmed
Author URL: http://www.ahmed-web.com
Description: This thehe is specifically designed for Get Help Global
Version: 1.0.0
Text Domains: get_help
Tags: black, new,

*/

/* TEMPORARY HTML FIXES */

/* Front end: hide page titles */
.page .wp-block-post-title,
.page .entry-title { display: none; }

/* Fix banner text */
.page-banner-text-div .page-banner-text-div-inner .page-name-section h1,
.page-banner-text-div .page-banner-text-div-inner .page-text-section h2 {
	color:#ffffff;
}

/* Fix team titles */
.team-member-name-div h1,
.team-member-designation-div h4,
.two-column-layout-section h2,
.section-header-section h2,
.landing-page-section .landing-page-section-title-div h1,
.landing-page-section .landing-page-section-title-div h2,
.landing-page-section .two-column-layout-div-text-article h1{
	color:#ffffff;
}

/* LASTEST POST BLOCK */

/* Latest Posts: make titles look like <h3> */
.wp-block-latest-posts__list .wp-block-latest-posts__post-title {
  display: block;
  font-family: var(--wp--preset--font-family--alice);
  font-size: var(--wp--preset--font-size--xl); 
  font-weight: 700;
  line-height: 1.3;
  color: var(--wp--preset--color--navy);
  text-decoration: none; 
  margin: 0 0 var(--wp--preset--spacing--sm);
}
.wp-block-latest-posts__list .wp-block-latest-posts__post-title:hover {
  text-decoration: underline;
}

/* Space between items (list & grid) */
.wp-block-latest-posts__list li {
  margin-bottom: var(--wp--preset--spacing--lg);
}

/* Latest Posts: style the "Read more" as a button */
.wp-block-latest-posts__read-more {
  display: inline-block;
  background: var(--wp--preset--color--navy);
  color: var(--wp--preset--color--white);
  padding: var(--wp--preset--spacing--btn-y) var(--wp--preset--spacing--btn-x);
  border-radius: var(--wp--preset--border-radius--lg);
  text-decoration: none;
  font-weight: 600;
}
.wp-block-latest-posts__read-more:hover,
.wp-block-latest-posts__read-more:focus {
  filter: brightness(1.1);
  text-decoration: none;
}

/* QUERY BLOCK - GRID */
/* titles */
.wp-block-query .wp-block-post-template.is-layout-grid .wp-block-post-title {
  margin: 0 0 var(--wp--preset--spacing--sm);
}
.wp-block-query .wp-block-post-template.is-layout-grid .wp-block-post-title a {
  display: block;
  font-family: var(--wp--preset--font-family--alice);
  font-size: var(--wp--preset--font-size--xl);
  font-weight: 700;
  line-height: 1.3;
  color: var(--wp--preset--color--navy);
  text-decoration: none;
}
.wp-block-query .wp-block-post-template.is-layout-grid .wp-block-post-title a:hover {
  text-decoration: underline;
}

/* Read More link  */
.wp-block-query .wp-block-post-template.is-layout-grid .wp-block-post-excerpt__more-text a,
.wp-block-query .wp-block-post-template.is-layout-grid .wp-block-post-excerpt__more-link {
  display: inline-block;
  background: var(--wp--preset--color--navy);
  color: var(--wp--preset--color--white);
  padding: var(--wp--preset--spacing--btn-y) var(--wp--preset--spacing--btn-x);
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
}
.wp-block-query .wp-block-post-template.is-layout-grid .wp-block-post-excerpt__more-text a:hover,
.wp-block-query .wp-block-post-template.is-layout-grid .wp-block-post-excerpt__more-link:hover,
.wp-block-query .wp-block-post-template.is-layout-grid .wp-block-post-excerpt__more-text a:focus,
.wp-block-query .wp-block-post-template.is-layout-grid .wp-block-post-excerpt__more-link:focus {
  filter: brightness(1.1);
  text-decoration: none;
}

/* FORMS */

/* Contact Form 7 submit button */
.wpcf7 form .wpcf7-submit {
  display: inline-block;
  background: var(--wp--preset--color--navy);
  color: var(--wp--preset--color--white);
  padding: var(--wp--preset--spacing--btn-y) var(--wp--preset--spacing--btn-x);
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;

  /* button resets / QoL */
  border: 0;
  line-height: 1;
  font-size: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: filter .2s ease, opacity .2s ease;
}

/* simple hover/focus to mimic theme behaviour */
.wpcf7 form .wpcf7-submit:hover,
.wpcf7 form .wpcf7-submit:focus {
  filter: brightness(0.92);
  outline: none;
}

/* MANUAL CLASSES */

.wp-block-column.is-layout-flow.wp-block-column-is-layout-flow.force-center,
.force-center .aligncenter{
	text-align:center;
}

