/*
 Theme Name:   SmartPlugins WWW
 Theme URI:    https://www.smartplugins.info/
 Description:  SMARTPlugins website - GeneratePress child theme
 Author:       Milan Petrovic
 Author URI:   https://www.smartplugins.info/
 Template:     generatepress
 Version:      1.1
*/

.smart-home-header-block h1 {
    max-width: 720px;
    margin: 0 auto 1.5em;
}

.smart-home-header-block h3 {
    max-width: 840px;
    margin: 0 auto 1.5em;
}

.sp-featured-plugin {
    display: flex;
    gap: 2em;
    margin: 0 0 4em;
}

.sp-featured-plugin a {
    text-decoration: none;
}

.sp-featured-plugin .sp-plugin-left {
    flex: 1 1;
}

.sp-featured-plugin .sp-plugin-left h4 {
    font-size: 2em;
    font-weight: bold;
}

.sp-featured-plugin .sp-plugin-left h4 span {
    display: block;
    font-size: .75em;
    font-weight: 100;
}

.sp-featured-plugin .sp-plugin-left .sp-plugin-description {
    margin: .5em 0 2em;
    line-height: 1.5;
    font-size: 1.1em;
    font-weight: 300;
}

.sp-featured-plugin .sp-plugin-right {
    flex: 0 0 590px;
}

.sp-hero-plugin h1 {
    font-size: 3.2em;
    font-weight: bold;
    text-align: center;
}

.sp-hero-plugin h1 span {
    display: block;
    font-size: .7em;
    font-weight: 100;
}

.sp-hero-plugin hr {
    background-color: var(--base-3);
    margin: 1em;
}

.sp-hero-plugin-subheader {
    display: flex;
    gap: 3em;
}

.sp-hero-plugin-subheader .sp-plugin-left {
    flex: 0 0 590px;
}

.sp-hero-plugin-subheader .sp-plugin-right {
    flex: 1 1;
    text-align: center;
}

.sp-hero-plugin-subheader .sp-plugin-right > .button {
    background-color: var(--base-3);
    color: var(--accent);
    font-size: 1.5em;
    font-weight: 100;
    margin: 0 0 .5em;
    padding: .5em 3em;
}

.sp-hero-plugin .sp-plugin-buttons .button {
    background: var(--second);
    margin: 0.25em;
    color: var(--base-3);
    font-weight: bold;
}

.sp-plugin-rating .sp-rating-wrapper {
    font-size: 5.5em;
    color: var(--base-3);
    line-height: 1;
    position: relative;
    display: inline-block;
}

.sp-plugin-rating .sp-rating-wrapper:after,
.sp-plugin-rating .sp-rating-wrapper .sp-rating-inside:after {
    content: '\1F7CA\1F7CA\1F7CA\1F7CA\1F7CA';
}

.sp-plugin-rating .sp-rating-wrapper .sp-rating-inside {
    color: var(--contrast);
    line-height: 1;
    position: absolute;
    overflow: hidden;
}

body.post-type-archive-plugin main {
    display: flex;
    flex-wrap: wrap;
    gap: 3em;
}

body.post-type-archive-plugin main article {
    flex: 0 0 calc(50% - 1.5em);
    text-align: center;
}

body.post-type-archive-plugin main article h3 {

}

body.post-type-archive-plugin main article h3 a {
    text-decoration: none;
}

body.post-type-archive-plugin main article h3 span {
    display: block;
    font-size: .8em;
    font-weight: 300;
}

body.post-type-archive-plugin main article p {
    margin: 0;
}

aside.widget.sp-plugin-sidebar-widget {
    background-color: var(--base);
}

.smw-widget .smw-item-title {
    font-size: 1.3em;
}

.smw-widget .smw-item-li {
    margin: 0 0 2em !important;
}

.sp-entry-description h3 {
    margin: 1em 0;
}

.sp-entry-description p:first-of-type strong {
    font-size: 1.3em;
    font-weight: 300;
    font-family: "Space Grotesk", sans-serif;
}

.sp-entry-description img {
    display: block;
    margin: 0 auto 1em;
}

.sp-page-heading {
    font-size: 1.3em;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 0.5em;
}

.sp-page-title {
    margin: 0;
}

.sp-page-subheader {
    font-weight: 100;
    font-size: 1.5em;
    margin: .25em 0 0;
}

@media (min-width: 1024px) {
    .secondary-navigation .inside-navigation .main-nav {
        flex: 1;
    }

    .secondary-navigation li:last-child {
        margin-left: auto;
    }
}

@media screen and (max-width: 767px) {
    .sp-hero-plugin-subheader,
    .sp-featured-plugin {
        flex-direction: column;
    }

    .sp-hero-plugin-subheader .sp-plugin-left,
    .sp-featured-plugin .sp-plugin-right {
        flex: 0 0 auto;
    }

    body.post-type-archive-plugin main {
        flex-direction: column;
    }

    body.post-type-archive-plugin main article {
        flex: 0 0 auto;
    }
}

body.is-wp-signup-php .grid-container,
body.is-wp-activate-php .grid-container {
    max-width: 1280px !important;
}

body.is-wp-signup-php #signup-content,
body.is-wp-activate-php #signup-content {
    padding: 60px 20px;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

body.is-wp-signup-php #signup-content .mu_register,
body.is-wp-activate-php #signup-content .mu_register {
    width: 100%;
}

body.is-wp-signup-php #signup-content input,
body.is-wp-activate-php #signup-content input {
    border-color: var(--contrast-3);
}
