/*
Theme Name: ReadyLaunch
Theme URI: https://caseproof.com
Description: ReadyLaunch is the fastest way to get a business-ready website live with no code and no cost. Designed for speed, SEO, and seamless customization, this lightweight theme offers pre-built page templates, a cohesive branding system, and a fully responsive layout that adapts beautifully to any device. Whether you're building a membership site, blog, or online store, ReadyLaunch delivers a polished, high-performing site that's optimized for conversions. Easily customize colors, upload your logo, and integrate with top WordPress plugins like WooCommerce, MemberPress, and Pretty Links for a fully functional business platform. With lightning-fast performance, mobile-friendly design, and automatic updates to keep your site secure and up to date, ReadyLaunch makes website creation effortless.
Version: 0.0.1-alpha.8
Author: ReadyLaunch
Author URI: https://caseproof.com
Text Domain: readylaunch
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: two-columns, three-columns, featured-images, full-site-editing, block-patterns, translation-ready, wide-blocks, block-styles, style-variations, blog
*/

/* Base styles will be loaded through theme.json */
:root {
    --readylaunch-page-with-sidebar-padding-bottom: var(--wp--preset--spacing--big-fluid);
}
:root .block-editor-block-list__layout.wp-site-blocks > *,
:root :where(.wp-site-blocks) > * {
    margin-block-start: 0px;
    margin-block-end: 0;
}
*, *:before, *:after {
    box-sizing: border-box;
}
:where(.error404, .page-template-blank-square-with-header-and-footer) main.has-background {
    min-height: 65vh;
}
.no-global-padding.has-global-padding,
:where(body:not(.page-template-full-width-page) .wp-site-blocks > main.has-global-padding.is-layout-constrained) .has-global-padding.alignfull {
    --wp--style--root--padding-right: 0;
    --wp--style--root--padding-left: 0;
}
.readylaunch-footer-link a {
    text-decoration: none;
}
.readylaunch-single-content-wrapper::after {
    content: "";
    display: block;
    clear: both;
}
.sidebar-wrapper a {
    text-decoration: none;
}
.sidebar-wrapper ul {
    list-style: none;
    padding: 0;
}
.sidebar-wrapper li {
    font-size: var(--wp--preset--font-size--small);
    line-height: 1.2;
}
.sidebar-wrapper li + li {
    margin-top: var(--wp--preset--spacing--30);
}
.sidebar-wrapper .wp-block-group__inner-container {
    gap: 0;
}
.wp-block-separator {
    border: 0;
    height: 1px;
    background-color: var(--wp--preset--color--custom-gray);
    width: 100%;
}
.wp-block-columns.are-vertically-aligned-center{
    align-items:center !important;
}
.wp-block-post-template-is-layout-grid .wp-block-post-excerpt {
    justify-content: space-between;
    display: flex;
    flex-direction: column;
}
.readylaunch-post-card-image {
    overflow: hidden;
}
.readylaunch-post-card-image figure {
    height: 100%;
}
.readylaunch-post-card-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.readylaunch-grid-post-card a.wp-block-post-excerpt__more-link {
    text-decoration: none;
    display: inline-block;
    margin-top: var(--wp--preset--spacing--40);
    padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--60);
    background-color: var(--wp--preset--color--accent-2);
    color: var(--wp--preset--color--base);
    border-radius: 8px;
}

/* Used in hidden post card to align center the more text. */
.readylaunch-grid-post-card .wp-block-post-excerpt__more-text {
    display: flex;
    justify-content: center;
    font-size: var(--wp--preset--font-size--medium-accent);
    font-weight: 500;
}
.readylaunch-subscribe-starter-content-input {
    border-radius: 4px 0px 0px 4px;
    border: 1px solid var(--wp--preset--color--custom-gray-2);
    width: 326px;
    height: 56px;
    padding: 0px 16px 0px 14px;
}
.blog-home-post-excerpt a {
    text-decoration: none;
}
.readylaunch-post-banner-right .readylaunch-post-banner-content > .wp-block-group,
.blog-home-post-alternating-styles
    > li.has-post-thumbnail:nth-child(even)
    .wp-block-columns
    .blog-home-post-content-column
    > .wp-block-group {
    padding-right: var(--wp--preset--spacing--large-fluid);
}
.readylaunch-post-banner-left .readylaunch-post-banner-content > .wp-block-group,
.blog-home-post-alternating-styles
    > li.has-post-thumbnail:nth-child(odd)
    .wp-block-columns
    .blog-home-post-content-column
    > .wp-block-group {
    padding-left: var(--wp--preset--spacing--large-fluid);
}
.blog-home-post-alternating-styles
    > li:not(.has-post-thumbnail)
    .blog-home-post-featured-image-column {
    display: none;
}
.blog-home-post-alternating-styles
    > li:not(.has-post-thumbnail)
    .wp-block-columns
    .blog-home-post-content-column {
    flex-grow: 1;
}
.blog-home-post-alternating-styles > li:nth-child(even) .wp-block-columns {
    flex-direction: row-reverse;
}
.readylaunch-flex-no-shrink,
.readylaunch-icon-and-text__icon {
    flex-shrink: 0;
}
.readylaunch-icon-and-text__icon img {
    vertical-align: top;
}
.readylaunch-header-logo {
    gap: 0.3rem;
}
.readylaunch-feature-card .wp-block-buttons {
    margin-top: auto;
}
/* Mobile menu*/
.wp-block-navigation__responsive-container.is-menu-open {
    padding: var(--wp--preset--spacing--60);
}

.wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content {
    margin-left: calc(var(--wp--preset--spacing--60) * -1);
    margin-right: calc(var(--wp--preset--spacing--60) * -1);
}
.wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__container.is-responsive {
    width: 100%;
    align-items: stretch !important;
    gap: 0;
}
.wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__container.is-responsive
    > li {
    padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--60);
}
.wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__container.is-responsive
    > li
    > a {
    font-size: 1.2em;
}
.wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content
    .wp-block-navigation-item {
    align-items: stretch;
    text-align: center;
}
.wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content
    .wp-block-navigation-item
    > a {
    justify-content: center;
}
.wp-block-navigation-item.current-menu-item:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: -1;
}

/* Pagination */
.wp-block-query-pagination
    .pagination-previous
    .wp-block-query-pagination-previous-arrow,
.wp-block-query-pagination
    .pagination-next
    .wp-block-query-pagination-next-arrow {
    margin-right: 3px;
    margin-left: 3px;
}
:root :where(.wp-block-query-pagination-numbers) {
    display:flex;
    gap: 0.25rem;
    align-items: center;
}
:root :where(.wp-block-query-pagination-numbers) .current {
    padding: var(--wp--preset--spacing--20);
}

/* MemberPress ReadyLaunch Registration Block */
.readylaunch-wp-block-post-content .mepr-checkout-container .mepr-submit {
    background: var(--wp--preset--color--accent-2) !important;
    color: var(--wp--preset--color--base) !important;
    font-size: var(--wp--preset--font-size--medium);
}
.readylaunch-wp-block-post-content .mepr-checkout-container {
    background: var(--wp--preset--color--base);
}
.readylaunch-wp-block-post-content .mepr-checkout-container .cc-error,
.mepr-form-has-errors {
    color: var(--wp--preset--color--error) !important;
}
.mepr-checkout-container p,
.mepr-checkout-container th,
.mepr-checkout-container tr,
.mepr-checkout-container td,
.mepr-checkout-container h3 {
    color: var(--wp--preset--color--contrast) !important;
}

/* MemberPress ReadyLaunch Login Block */
#mepr-template-login #mepr_loginform > h1 {
    margin-top: 0;
    font-size: var(--wp--preset--font-size--large);
}
#mepr_loginform input[name="wp-submit"]:not(:disabled),
#mepr_loginform input[name="wp-submit"]:not(:disabled):hover {
    background: var(--wp--preset--color--accent-2);
    color: var(--wp--preset--color--base);
    border-color: var(--wp--preset--color--custom-gray);
    border-width: 1px;
    border-radius: 8px;
    font-weight: 500;
    padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--60);
    width: 100%;
    font-size: var(--wp--preset--font-size--medium);
}
#mepr_loginform #user_login,
#mepr_loginform #user_pass {
    border-radius: 4px;
}
#mepro-login-hero .mepro-boxed {
    background: var(--wp--preset--color--base);
    border-color: var(--wp--preset--color--custom-gray);
    color: var(--wp--preset--color--contrast);
    max-width: none;
    padding: 0;
}
#mepro-login-hero .mepro-boxed .mepro-login-contents {
    padding: 0;
}
.page-template-blank-square-with-header-and-footer .mepro-boxed {
    border-width: 0px;
}
.page-template-full-width-page .mp_wrapper :where(.mepr-unauthorized-excerpt, .mepr-unauthorized-message),
.page-template-full-width-page .mp_wrapper :where(.mepr-unauthorized-excerpt, .mepr-unauthorized-message) + .mepr-login-form-wrap {
    max-width: var(--wp--custom--readylaunch-blank-square-width);
    width: 80%;
    margin: auto;
}
.page-template-full-width-page .mp_wrapper :where(.mepr-unauthorized-excerpt, .mepr-unauthorized-message) {
    margin-top: var(--wp--preset--spacing--big-fluid);
}
.page-template-full-width-page .mp_wrapper :where(.mepr-unauthorized-excerpt, .mepr-unauthorized-message) + .mepr-login-form-wrap {
    margin-bottom: var(--wp--preset--spacing--big-fluid);
}

/* MemberPress ReadyLaunch Account Block */
nav#mepr-account-nav {
    background: var(--wp--preset--color--accent) !important;
}
.mepr-nav a {
    color: var(--wp--preset--color--base) !important;
}
.mepr-account-table tr > th,
.mepr-account-table tr > td,
.mepr-account-table td,
.mepr-account-table td > p,
.mepr-account-table td > div,
.mepr-pro-account-table tr > th,
.mepr-pro-account-table tr > td,
.mepr-pro-account-table td,
.mepr-pro-account-table td > p,
.mepr-pro-account-table td > div {
    color: var(--wp--preset--color--contrast) !important;
}
#mepr-profile-details dt {
    color: var(--wp--preset--color--contrast);
}
#mepr-account-content .mepr-button,
#mepr-account-content .mepr-submit {
    padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--60);
    background: var(--wp--preset--color--accent-2);
    color: var(--wp--preset--color--base);
    font-size: var(--wp--preset--font-size--medium-accent);
    border-radius: 8px;
    border: none;
    line-height: 1.2;
}
#mepr-account-content .mepr-button:hover,
#mepr-account-content .mepr-submit:hover {
    background: color-mix(in srgb, var(--wp--preset--color--accent-2) 85%, transparent)
}
#mepr-account-content a {
    color: var(--wp--preset--color--accent);
}

/* MemberPress ReadyLaunch Pricing Table Block */
.mepr-price-box .mepr-price-box-content {
    background: var(--wp--preset--color--base) !important;
}
.mepr-price-box .mepr-most-popular {
    background: var(--wp--preset--color--accent) !important;
    color: var(--wp--preset--color--base) !important;
}
.mepr-price-box-title,
.mepr-price-box-price {
    color: var(--wp--preset--color--contrast) !important;
}
.mepr-price-box-benefits-icon path {
    fill: currentColor;
}
.mepr-price-box:not(.highlighted) .mepr-price-box-button a {
    color: var(--wp--preset--color--contrast) !important;
    border-color: var(--wp--preset--color--contrast) !important;
}
.mepr-price-box:not(.highlighted) .mepr-price-box-button a:hover {
    background: var(--wp--preset--color--accent) !important;
    color: var(--wp--preset--color--base) !important;
}
#mepro-login-hero .mp_wrapper + .mp_wrapper {
    margin-top: var(--wp--preset--spacing--40);
}

/* Used in single post, single post with sidebar, single page and single page with sidebar. */
@media (min-width: 768px) {
    .readylaunch-post-featured-image {
        max-width: 460px;
        width: auto;
        float: left;
    }
    .block-editor-block-list__layout .readylaunch-post-featured-image {
        width: 460px;
        z-index: 2;
    }
    .readylaunch-post-featured-image
        + .readylaunch-wp-block-post-content {
        display: inline !important;
    }
}

/** Tablet (Portrait) 834px */
@media (max-width: 834px) {
    .is-style-grid-posts {
        grid-template-columns: repeat(2, 1fr);
    }
    .readylaunch-footer-links {
        gap: var(--wp--preset--spacing--30) !important;
    }
}

/* Width where 2 columns are visible transition to 1 column. */
@media (max-width: 781px) {
    .readylaunch-post-featured-image {
        width: 100%;
        float: unset;
        margin: 0 !important;
    }
    .readylaunch-post-featured-image
    + .readylaunch-wp-block-post-content {
        display: block !important;
    }
    .readylaunch-project-details .wp-block-column {
        padding: 0 !important;
        border: none !important;
    }
    .readylaunch-post-banner-right .wp-block-columns {
        flex-direction: column-reverse;
    }
    .is-style-grid-posts {
        grid-template-columns: 1fr;
    }
    .readylaunch-post-banner-content > .wp-block-group,
    .blog-home-post-alternating-styles .wp-block-post .wp-block-column > * {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .readylaunch-hidden-404,
    :where(.page-template-blank-square-with-header-and-footer .wp-site-blocks > main) .entry-content {
        padding: var(--wp--preset--spacing--60) !important;
    }
}

@media (max-width: 600px) {
    .site-header,
    .site-footer {
        --wp--style--root--padding-right: var(--wp--preset--spacing--40);
        --wp--style--root--padding-left: var(--wp--preset--spacing--40);
    }
    .site-header .wp-block-site-logo img {
        max-height: 40px;
        width: auto;
    }
    .site-header .wp-block-site-title {
        font-size: var(--wp--preset--font-size--large);
    }
    .readylaunch-title-cover {
        min-height: 172px !important;
    }
    .readylaunch-blog-title-cover,
    .readylaunch-subscribe-title-cover {
        min-height: 298px !important;
    }
    .readylaunch-grid-post-card .wp-block-post-excerpt__more-link {
        width: 100%;
        text-align: center;
    }
    .readylaunch-hero-banner-container .wp-block-cover__image-background {
        min-height: 298px;
    }
    .readylaunch-footer-links {
        gap: var(--wp--preset--spacing--20) !important;
    }
    .readylaunch-subscribe-starter-content-input {
        width: 100%;
    }
}

@media (max-width: 375px) {
    .readylaunch-subscribe-starter-content-input {
        width: 6rem;
    }
}
