/*
Theme Name: Enterprise for Kids - Accelerate Child
Description: Child theme for the Accelerate theme used by Enterprise for Kids.
Author: Enterprise for Kids
Template: accelerate
Version: 1.0.0
Text Domain: accelerate-child
*/

/* Main green colour updates for Accelerate theme */

.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current_page_item > a,
.main-navigation ul li:hover > a {
    background-color: #5FAE6E !important;
}

.slider-title-head,
.slider-title-head h3,
.slider-title-head a,
.caption-title,
.caption-content {
    background-color: #5FAE6E !important;
}

a.read-more,
.read-more,
button,
input[type="submit"],
.widget_featured_page_block .read-more {
    background-color: #5FAE6E !important;
    border-color: #5FAE6E !important;
}

a.read-more:hover,
.read-more:hover,
button:hover,
input[type="submit"]:hover {
    background-color: #3E8E4E !important;
    border-color: #3E8E4E !important;
}

/* TARGET the actual header right container */
#header-right-sidebar .widget,
#header-right-sidebar .textwidget {
    margin: 0 !important;
    padding: 0 !important;
}

/* Heading (Start Exploring) */
#header-right-sidebar h1,
#header-right-sidebar h2,
#header-right-sidebar h3 {
    margin-bottom: 2px !important;
    line-height: 1.05 !important;
}

/* Paragraph (Real stories...) */
#header-right-sidebar p {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    line-height: 1.05 !important;
}
/* Reduce space between header and slider/banner */
#header-text-nav-wrap {
    padding-bottom: 5px !important;
}

#header-text-nav-container {
    margin-bottom: 0 !important;
    padding-bottom: 5px !important;
}

#header-right-sidebar {
    margin-top: -15px !important;
}
@media only screen and (max-width: 768px) {
  .slider-title-head,
  .slider-title-head h3,
  .slider-title-head a {
    font-size: 12px !important;
    line-height: 1.1 !important;
  }

  .slider-title-head {
    padding: 4px 8px !important;
    max-width: 60% !important;
  }
}

/* Honey Pot of Gold feature section */
.home .efk-feature-story {
  max-width: 1100px;
  margin: 35px auto;
  padding: 28px;
  background: #fbfcf8;
  border: 1px solid #e4eee5;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.home .efk-feature-story .wp-block-media-text__media img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  margin: 0 auto;
}

.home .efk-feature-story .wp-block-media-text__content {
  padding: 0 0 0 30px;
}

.home .efk-feature-story h2,
.home .efk-feature-story h3 {
  margin-top: 0;
  color: #2f4f37;
}

.home .efk-feature-story p {
  font-size: 17px;
  line-height: 1.65;
	}
	/* Mobile layout for Honey Pot feature */
@media screen and (max-width: 768px) {
  .home .efk-feature-story {
    padding: 20px;
    margin: 25px 15px;
  }

  .home .efk-feature-story .wp-block-media-text__content {
    padding: 20px 0 0 0;
  }

  .home .efk-feature-story .wp-block-media-text__media img {
    max-width: 100%;
  }
}
/* General homepage polish */
.home .entry-content {
  font-size: 17px;
  line-height: 1.65;
}

.home h1,
.home h2,
.home h3 {
  letter-spacing: -0.3px;
}

.home img {
  border-radius: 10px;
}

.home .wp-block-group,
.home .wp-block-media-text,
.home .wp-block-latest-posts {
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Reduce excess space between homepage sections */
.home #main {
  padding-top: 20px;
}

.home .widget {
  margin-bottom: 30px;
}
/* Latest blog posts polish */
.home .wp-block-latest-posts {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.home .wp-block-latest-posts li {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e5e5;
}

.home .wp-block-latest-posts a {
  font-weight: 600;
  color: #2f4f37;
  text-decoration: none;
}

.home .wp-block-latest-posts a:hover {
  color: #3E8E4E;
  text-decoration: underline;
}
/* Start Here homepage section */
.home .efk-start-here {
  max-width: 1050px;
  margin: 35px auto;
  padding: 34px 38px;
  background: #eef8f0;
  border-radius: 18px;
  text-align: center;
}

.home .efk-start-here h2 {
  margin-top: 0;
  color: #2f4f37;
}

.home .efk-start-here p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
}
/* Premium Start Here section */
.home .efk-start-here {
  max-width: 1050px;
  margin: 35px auto 45px auto;
  padding: 34px 42px;
  background: #f2faf3;
  border: 1px solid #dfeee2;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.035);
  text-align: left;
}

/* Remove the separate pill look from the heading */
.home .efk-start-here h2,
.home .efk-start-here .wp-block-heading {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 0 18px 0 !important;
  color: #2f4f37;
  text-align: left;
  border-radius: 0 !important;
}

/* Soften the quote area */
.home .efk-start-here blockquote,
.home .efk-start-here .wp-block-quote {
  margin: 0;
  padding: 0 0 0 22px;
  background: transparent !important;
  border-left: 5px solid #5FAE6E;
  color: #4f5b52;
}

/* Remove large decorative quote marks */
.home .efk-start-here blockquote:before,
.home .efk-start-here blockquote:after,
.home .efk-start-here .wp-block-quote:before,
.home .efk-start-here .wp-block-quote:after {
  display: none !important;
  content: none !important;
}

/* Quote text */
.home .efk-start-here blockquote p,
.home .efk-start-here .wp-block-quote p {
  color: #4f5b52;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 12px;
}

/* Make the Explore link look like a button */
.home .efk-start-here a {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 18px;
  background: #5FAE6E;
  color: #ffffff !important;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.home .efk-start-here a:hover {
  background: #3E8E4E;
  color: #ffffff !important;
}
/* Homepage spacing refinement */
.home .entry-content > h2,
.home .entry-content > h3 {
  margin-top: 34px;
  margin-bottom: 18px;
}

.home .entry-content > p {
  margin-bottom: 22px;
}

.home .wp-block-media-text,
.home .wp-block-group {
  margin-top: 28px;
  margin-bottom: 32px;
}
/* Latest from the Blog card layout */
.home .wp-block-latest-posts {
  max-width: 1100px;
  margin: 25px auto 40px auto;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.home .wp-block-latest-posts li {
  list-style: none;
  margin: 0;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #e4eee5;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.035);
}

.home .wp-block-latest-posts a {
  color: #2f4f37;
  font-weight: 700;
  text-decoration: none;
}

.home .wp-block-latest-posts a:hover {
  color: #3E8E4E;
  text-decoration: underline;
}

.home .wp-block-latest-posts__post-excerpt {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.55;
  color: #666666;
}

/* Mobile blog cards */
@media screen and (max-width: 768px) {
  .home .wp-block-latest-posts {
    grid-template-columns: 1fr;
  }
}
/* Begin Journey homepage card */
.home .efk-start-here {
  max-width: 1000px;
  margin: 40px auto 45px auto;
  padding: 34px 42px;
  background: #f2faf3;
  border: 1px solid #dfeee2;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.035);
}

.home .efk-start-here h2 {
  margin: 0 0 18px 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #2f4f37;
  text-align: left;
}

.home .efk-start-here p {
  max-width: 850px;
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.home .efk-start-here a {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  background: #5FAE6E;
  color: #ffffff !important;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.home .efk-start-here a:hover {
  background: #3E8E4E;
  color: #ffffff !important;
}
/* Final polish for Begin Journey card */
.home .efk-start-here {
  max-width: 960px;
  margin: 38px auto 42px auto;
  padding: 30px 38px 28px 38px;
  text-align: left !important;
}

.home .efk-start-here h2 {
  margin: 0 0 16px 0 !important;
  text-align: left !important;
}

.home .efk-start-here p {
  max-width: 820px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
  font-size: 17px;
  line-height: 1.6;
}

.home .efk-start-here p:last-of-type {
  margin-bottom: 18px;
}

.home .efk-start-here .wp-block-buttons {
  justify-content: flex-start !important;
  margin-top: 12px;
}

.home .efk-start-here a,
.home .efk-start-here .wp-block-button__link {
  background: #5FAE6E !important;
  color: #ffffff !important;
  border-radius: 6px;
  padding: 10px 18px;
  font-weight: 600;
  text-decoration: none;
}

.home .efk-start-here a:hover,
.home .efk-start-here .wp-block-button__link:hover {
  background: #3E8E4E !important;
}
/* Inner page polish for Enterprise for Kids */
.page .entry-content {
  font-size: 17px;
  line-height: 1.65;
}

.page .entry-title {
  color: #2f4f37;
  margin-bottom: 18px;
}

/* Soft intro panel */
.efk-page-intro {
  max-width: 1000px;
  margin: 25px auto 35px auto;
  padding: 30px 38px;
  background: #f2faf3;
  border: 1px solid #dfeee2;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.035);
}

.efk-page-intro h2 {
  margin-top: 0;
  color: #2f4f37;
}

.efk-page-intro p {
  max-width: 850px;
  margin-bottom: 0;
}

/* Main content card */
.efk-content-card {
  max-width: 1000px;
  margin: 30px auto;
  padding: 30px 38px;
  background: #ffffff;
  border: 1px solid #e4eee5;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.025);
}

.efk-content-card h2,
.efk-content-card h3 {
  color: #2f4f37;
}

/* Link cards / next steps */
.efk-next-steps {
  max-width: 1000px;
  margin: 40px auto 30px auto;
  padding: 30px 38px;
  background: #fbfcf8;
  border: 1px solid #e4eee5;
  border-radius: 18px;
}

.efk-next-steps h2 {
  margin-top: 0;
  color: #2f4f37;
}

.efk-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.efk-link-card {
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e4eee5;
  border-radius: 14px;
  text-decoration: none;
  color: #444444;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.025);
}

.efk-link-card strong {
  display: block;
  margin-bottom: 8px;
  color: #2f4f37;
  font-size: 17px;
}

.efk-link-card:hover {
  border-color: #5FAE6E;
  transform: translateY(-2px);
}

/* Buttons */
.efk-button a,
.efk-button .wp-block-button__link {
  background: #5FAE6E !important;
  color: #ffffff !important;
  border-radius: 6px;
  padding: 10px 18px;
  font-weight: 600;
  text-decoration: none;
}

.efk-button a:hover,
.efk-button .wp-block-button__link:hover {
  background: #3E8E4E !important;
}

/* Mobile */
@media screen and (max-width: 768px) {
  .efk-page-intro,
  .efk-content-card,
  .efk-next-steps {
    margin-left: 15px;
    margin-right: 15px;
    padding: 24px 22px;
  }

  .efk-link-grid {
    grid-template-columns: 1fr;
  }
}
/* Fix Where to Next section being affected by floated images */
.efk-next-steps {
  clear: both;
  overflow: hidden;
}

/* Make the Where to Next cards behave properly */
.efk-link-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.efk-link-card {
  display: block !important;
  box-sizing: border-box;
  min-height: 155px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e4eee5;
  border-radius: 14px;
  text-decoration: none !important;
  color: #444444 !important;
  line-height: 1.5;
}

.efk-link-card strong {
  display: block;
  margin-bottom: 10px;
  color: #2f4f37;
  font-size: 17px;
}

.efk-link-card:hover {
  border-color: #5FAE6E;
  transform: translateY(-2px);
}

/* Mobile fix */
@media screen and (max-width: 768px) {
  .efk-link-grid {
    grid-template-columns: 1fr;
  }
}
/* Final fix for Where to Next card alignment */
.efk-next-steps .efk-link-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  width: 100% !important;
  margin-top: 22px;
}

.efk-next-steps .efk-link-card {
  width: auto !important;
  max-width: none !important;
  min-height: 160px;
  display: block !important;
}

@media screen and (max-width: 768px) {
  .efk-next-steps .efk-link-grid {
    grid-template-columns: 1fr !important;
  }
}
/* Fix Classic Editor paragraph wrappers inside Where to Next grid */
.efk-next-steps .efk-link-grid > p {
  display: contents !important;
  margin: 0 !important;
  padding: 0 !important;
}

.efk-next-steps .efk-link-grid br {
  display: none !important;
}

.efk-next-steps .efk-link-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

.efk-next-steps .efk-link-card {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  min-height: 160px;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .efk-next-steps .efk-link-grid {
    grid-template-columns: 1fr !important;
  }
}
/* Style classic editor image captions */
.wp-caption {
  border: 1px solid #e4eee5;
  border-radius: 14px;
  padding: 8px;
  background: #ffffff;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.035);
}

.wp-caption img {
  border-radius: 10px;
  display: block;
}

.wp-caption .wp-caption-text {
  font-size: 14px;
  line-height: 1.45;
  color: #666666;
  padding: 8px 6px 2px 6px;
}
/* Move South Australia image slightly higher */
#attachment_2244 {
  margin-top: -50px !important;
}
@media screen and (max-width: 768px) {
  #attachment_2244 {
    margin-top: 15px !important;
  }
}
/* Soften edges on page content images */
.page .entry-content img.alignleft,
.page .entry-content img.alignright,
.page .entry-content img.aligncenter,
.page .entry-content .wp-caption img {
  border-radius: 10px;
}
/* Soften edges on blog post content images */
.single-post .entry-content img.alignleft,
.single-post .entry-content img.alignright,
.single-post .entry-content img.aligncenter,
.single-post .entry-content .wp-caption img {
  border-radius: 10px;
}

.single-post .entry-content .wp-caption {
  border-radius: 12px;
  overflow: hidden;
}
/* Story post image grids */
.single-post .efk-story-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 24px 0 32px 0;
  clear: both;
}

.single-post .efk-story-image {
  margin: 0;
  padding: 8px;
  background: #ffffff;
  border: 1px solid #e4eee5;
  border-radius: 14px;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.035);
  text-align: center;
}

.single-post .efk-story-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.single-post .efk-story-image figcaption {
  font-size: 14px;
  line-height: 1.45;
  color: #666666;
  padding: 8px 6px 2px 6px;
}

@media screen and (max-width: 768px) {
  .single-post .efk-story-image-grid {
    grid-template-columns: 1fr;
  }
}
.single-post .entry-meta,
.single-post .below-entry-meta {
  display: none;
}
/* Story intro box with image */
.efk-page-intro.efk-story-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 26px;
  align-items: center;
}

.efk-story-hero-image {
  margin: 0;
  text-align: center;
}

.efk-story-hero-image img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

.efk-story-hero-image figcaption {
  font-size: 13px;
  line-height: 1.4;
  color: #666;
  padding-top: 7px;
}

@media screen and (max-width: 768px) {
  .efk-page-intro.efk-story-hero {
    grid-template-columns: 1fr;
  }

  .efk-story-hero-image img {
    max-width: 100%;
  }
}
/* Intro box with image for core pages and story posts */
.efk-page-intro.efk-visual-intro,
.efk-page-intro.efk-story-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 26px;
  align-items: center;
}

.efk-intro-image,
.efk-story-hero-image {
  margin: 0;
  text-align: center;
}

.efk-intro-image img,
.efk-story-hero-image img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

.efk-intro-image figcaption,
.efk-story-hero-image figcaption {
  font-size: 13px;
  line-height: 1.4;
  color: #666666;
  padding-top: 7px;
}

@media screen and (max-width: 768px) {
  .efk-page-intro.efk-visual-intro,
  .efk-page-intro.efk-story-hero {
    grid-template-columns: 1fr;
  }

  .efk-intro-image img,
  .efk-story-hero-image img {
    max-width: 100%;
  }
}
/* Slightly smaller intro image option */
.efk-intro-image-small img {
  max-width: 230px !important;
}
/* Wide landscape intro image for story pages */
.efk-page-intro.efk-landscape-intro {
  display: block;
}

.efk-landscape-intro-image {
  margin: 22px 0 0 0;
  text-align: center;
}

.efk-landscape-intro-image img {
  width: 100%;
  max-width: 760px;
  height: auto;
  border-radius: 14px;
  display: block;
  margin: 0 auto;
}

.efk-landscape-intro-image figcaption {
  font-size: 13px;
  line-height: 1.4;
  color: #666666;
  padding-top: 8px;
}

/* Latest from the Blog — landscape cropped card images */

.efk-latest-blog img {
  width: 100% !important;
  height: 175px !important;
  max-width: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 10px 10px 0 0;
}

/* Make the image/link area fill the card */
.efk-latest-blog a,
.efk-latest-blog figure,
.efk-latest-blog .post-thumbnail,
.efk-latest-blog .entry-thumbnail,
.efk-latest-blog .featured-image,
.efk-latest-blog .blog-image,
.efk-latest-blog .slide-image {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  overflow: hidden !important;
  border-radius: 10px 10px 0 0;
}

@media (max-width: 1100px) {
  .efk-latest-blog img {
    height: 155px !important;
  }
}

@media (max-width: 768px) {
  .efk-latest-blog img {
    height: 210px !important;
  }
}
/* Homepage hero banner: rounded green tagline corners only */

#featured-slider .entry-title,
#featured-slider .entry-title a,
#featured-slider .slider-title-head,
#featured-slider .slider-title-head a,
.slider-cycle .entry-title,
.slider-cycle .entry-title a,
.slider-cycle .slider-title-head,
.slider-cycle .slider-title-head a {
  border-radius: 10px !important;
  overflow: hidden !important;
  background-clip: padding-box !important;
}
/* EFK Featured Article Cards */

.efk-featured-articles {
  margin: 45px 0 25px 0;
}

.efk-featured-articles h2 {
  text-align: center;
  margin-bottom: 12px;
}

.efk-featured-articles-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px auto;
}

.efk-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.efk-feature-card {
  background: #ffffff;
  border: 1px solid #e7efe4;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.efk-feature-card img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  display: block;
}

.efk-feature-card-content {
  padding: 18px;
}

.efk-feature-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 20px;
}

.efk-feature-card p {
  margin-bottom: 16px;
}

.efk-feature-card a.efk-read-more {
  display: inline-block;
  padding: 10px 14px;
  background: #6a8454;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
}

.efk-feature-card a.efk-read-more:hover {
  opacity: 0.9;
}

@media (max-width: 900px) {
  .efk-feature-grid {
    grid-template-columns: 1fr;
  }

  .efk-feature-card img {
    height: 220px;
  }
}
@media (max-width: 900px) {
  .efk-feature-grid {
    flex-wrap: wrap !important;
  }

  .efk-feature-card {
    max-width: 100% !important;
    flex-basis: 100% !important;
  }

  .efk-feature-card img {
    height: 220px !important;
  }
}
/* Featured Articles: rounded images with soft spacing */

.efk-featured-articles .efk-feature-card a {
  display: block;
  padding: 12px 12px 0 12px;
}

.efk-featured-articles .efk-feature-card img {
  border-radius: 12px !important;
}
.efk-pathway-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
}

.efk-pathway-row .efk-link-card {
  flex: 1 1 0;
  max-width: 32%;
}

@media (max-width: 900px) {
  .efk-pathway-row {
    flex-wrap: wrap !important;
  }

  .efk-pathway-row .efk-link-card {
    max-width: 100% !important;
    flex-basis: 100% !important;
  }
}
.efk-pathway-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
}

.efk-pathway-row .efk-link-card {
  flex: 1 1 0;
  max-width: 32%;
}

@media (max-width: 900px) {
  .efk-pathway-row {
    flex-wrap: wrap !important;
  }

  .efk-pathway-row .efk-link-card {
    max-width: 100% !important;
    flex-basis: 100% !important;
  }
}
@media (max-width: 768px) {
  .entry-content .alignleft,
  .entry-content .alignright,
  .entry-content .wp-caption.alignleft,
  .entry-content .wp-caption.alignright,
  .page-content .alignleft,
  .page-content .alignright,
  .page-content .wp-caption.alignleft,
  .page-content .wp-caption.alignright,
  .post-content .alignleft,
  .post-content .alignright,
  .post-content .wp-caption.alignleft,
  .post-content .wp-caption.alignright {
    float: none !important;
    display: block !important;
    clear: both !important;
    width: 100% !important;
    max-width: 420px !important;
    margin: 24px auto !important;
    text-align: center !important;
  }

  .entry-content .wp-caption img,
  .page-content .wp-caption img,
  .post-content .wp-caption img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }
}

/* Blog post MailerLite subscribe box */
.efk-post-subscribe {
	margin: 42px 0 34px;
	padding: 32px 36px;
	background: #f5f8f3;
	border: 1px solid #e3eddf;
	border-radius: 14px;
	text-align: center;
}

.efk-post-subscribe h2 {
	margin: 0 0 14px;
	color: #35583a;
	font-size: 30px;
	line-height: 1.25;
}

.efk-post-subscribe-intro {
	max-width: 680px;
	margin: 0 auto 22px;
	font-size: 16px;
	line-height: 1.65;
}

.efk-post-subscribe-form {
	max-width: 520px;
	margin: 0 auto;
}

/* Compact MailerLite's embedded form inside the blog box */
.efk-post-subscribe #mlb2-43715385.ml-form-embedContainer {
	width: 100% !important;
	margin: 0 auto !important;
	padding: 0 !important;
}

.efk-post-subscribe #mlb2-43715385 .ml-form-embedWrapper {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

/* Hide MailerLite's duplicate heading and introductory text */
.efk-post-subscribe #mlb2-43715385 .ml-form-embedContent {
	display: none !important;
}

.efk-post-subscribe #mlb2-43715385 .ml-form-embedBody,
.efk-post-subscribe #mlb2-43715385 .ml-form-successBody {
	padding: 0 !important;
}

.efk-post-subscribe #mlb2-43715385 .ml-form-fieldRow {
	margin: 0 0 10px !important;
}

.efk-post-subscribe #mlb2-43715385 .ml-form-embedSubmit {
	margin: 0 !important;
}

.efk-post-subscribe #mlb2-43715385 button.primary {
	background-color: #5fae6e !important;
	border-color: #5fae6e !important;
	border-radius: 7px !important;
}

.efk-post-subscribe #mlb2-43715385 button.primary:hover {
	background-color: #3e8e4e !important;
	border-color: #3e8e4e !important;
}

.efk-post-subscribe-privacy {
	margin: 15px auto 0;
	font-size: 14px;
	line-height: 1.5;
	color: #777777;
}

@media (max-width: 768px) {
	.efk-post-subscribe {
		padding: 25px 18px;
	}

	.efk-post-subscribe h2 {
		font-size: 26px;
	}
}