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

.site-header {
	background: linear-gradient(180deg, #39b530, #318a28);
}

a.generate-back-to-top {
	background: linear-gradient(180deg, #39b530, #318a28);
	border-radius: 99px;
}

.apk-btn {
	background-image: linear-gradient(to right, var(--global-color-22) 0%, var(--global-color-23) 100%);
}

.wp-block-table th, td {
	border: 1px solid var(--global-color-19)!important;
}

.wp-block-table thead {
	border: 1px solid var(--global-color-19)!important;
}

@media (max-width: 768px) {
	.main-navigation .menu-toggle:hover,
	.main-navigation .menu-toggle:focus {
		background: #ffffff;
		color: #0A7A34;
	}

  .has-inline-mobile-toggle #site-navigation.toggled {
    position: absolute;
    top: 65%;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
  }

  .site-header {
    position: relative;
    z-index: 10000;
  }

  .has-inline-mobile-toggle #site-navigation.toggled .main-nav {
    background: #fff;
    border-top: 1px solid #e2e8f0;
		border-bottom: 1px solid #e2e8f0;
  }

  .has-inline-mobile-toggle #site-navigation.toggled .main-nav ul {
    width: 100%;
  }

  .has-inline-mobile-toggle #site-navigation.toggled .main-nav ul li {
    width: 100%;
  }
	.main-navigation .main-nav ul li a {
		color: var(--contrast);
	}
	.main-navigation .main-nav ul li a:hover,
	.main-navigation .main-nav ul li[class*="current-menu-"] > a {
		background: var(--accent)!important;
		color: #fff!important;
	}
}

.inside-article .featured-image img {
	border-radius: 12px;
}

.site-info {
	border-top: 1px solid #e2e8f0;
}

ol, ul {
    margin: 0 0 1.5em 1.5em;
}

.footer-bar .widget_nav_menu>div>ul {
justify-content: center;
}

.rank-math-breadcrumbs-container {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.rank-math-breadcrumbs-container .rank-math-breadcrumb {
  max-width: 1200px;
  margin: auto;
	padding: 10px 20px;
}

.rank-math-breadcrumbs-container .rank-math-breadcrumb p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  word-break: break-word;
}
.rank-math-breadcrumbs-container .rank-math-breadcrumb a {
	color: #0A7A34;
}

@media (max-width: 768px) {
  .rank-math-breadcrumbs-container .rank-math-breadcrumb p {
    font-size: 13px;
  }
}

/* lists */
.entry-content ul > li,
.entry-content ol > li {
	padding-bottom: 15px;
}

.entry-content ul > li::marker,
.entry-content ol > li::marker {
	color: var(--accent);
}

/* Order List Styles */
.entry-content ol {
    list-style-type: none;
    counter-reset: my-awesome-counter;
}

.entry-content ol > li {
	counter-increment: my-awesome-counter;
	position: relative;
	padding-left: 35px;
}

.entry-content ol > li::before {
    content: counter(my-awesome-counter);
    position: absolute;
    left: 0;
	  top: 0;
    background-color: var(--accent);
    color: var(--base-3);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}

/* Rank Math FAQ */
#rank-math-faq {
    margin-bottom: 30px;
}
#rank-math-faq .rank-math-list-item {
    padding: 20px 12px;
	  background: #f7f8f9;
    border: 1px solid var(--global-color-19);
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: padding 0.3s ease;
}

#rank-math-faq .rank-math-question {
    margin: 0;
    display: flex;
    align-items: center;
    position: relative;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

/* Simple + / - icon */
#rank-math-faq .rank-math-question::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    color: var(--contrast-2);
    transition: opacity 0.25s ease;
}

#rank-math-faq .rank-math-list-item.active .rank-math-question::after {
    content: "−";
	color: var(--accent);
}
#rank-math-faq .rank-math-list-item.active{
	color: var(--accent);
}

/* Answer */
#rank-math-faq .rank-math-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s ease, opacity 0.3s ease, padding-top 0.3s ease, margin-top 0.3s ease;
}

#rank-math-faq .rank-math-answer p {
    margin: 0;
}

#rank-math-faq .rank-math-list-item.active .rank-math-answer {
    max-height: 1000px;
    opacity: 1;
    padding-top: 14px;
    margin-top: 14px;
    line-height: 1.75;
	  color: var(--contrast);
}

#rank-math-faq .rank-math-list-item:hover {
	opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
	.main-navigation .main-nav>ul {
	gap: 15px;
	}
    #rank-math-faq .rank-math-list-item {
        padding: 15px;
    }

    #rank-math-faq .rank-math-question {
        font-size: 14px;
        padding-right: 30px;
    }
}