/*
Theme Name: ReadyLaunch
Theme URI: https://readylaunchtheme.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: 1.1.1
Author: Caseproof, LLC
Author URI: https://caseproof.com
Text Domain: readylaunch
Requires at least: 6.5
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
*/

/* Text-based input types */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea {
    padding: var(--wp--preset--spacing--30);
    border-radius: 4px;
    border: 1px solid var(--wp--preset--color--custom-gray-2);
}
/* Focus state for text inputs */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus {
    outline: 1px solid var(--wp--preset--color--accent);
}

/* Date/time input types */
input[type="date"],
input[type="datetime-local"],
input[type="month"],
input[type="time"],
input[type="week"] {
    padding: var(--wp--preset--spacing--30);
    border-radius: 4px;
    border: 1px solid var(--wp--preset--color--custom-gray-2);
    background-color: var(--wp--preset--color--base);
    color: var(--wp--preset--color--contrast);
    font-size: var(--wp--preset--font-size--small);
    line-height: 1.4;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
input[type="date"]:focus,
input[type="datetime-local"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus {
    outline: none;
    border-color: var(--wp--preset--color--accent);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--wp--preset--color--accent) 20%, transparent);
}

/* Range input */
input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--wp--preset--color--custom-gray-2);
    outline: none;
    appearance: none;
    transition: background 0.2s ease;
}
input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--wp--preset--color--accent);
    cursor: pointer;
    border: 2px solid var(--wp--preset--color--base);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--wp--preset--color--accent);
    cursor: pointer;
    border: 2px solid var(--wp--preset--color--base);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Color input */
input[type="color"] {
    width: 50px;
    height: 40px;
    border: 1px solid var(--wp--preset--color--custom-gray-2);
    border-radius: 4px;
    padding: 2px;
    background-color: var(--wp--preset--color--base);
    cursor: pointer;
    transition: border-color 0.2s ease;
}
input[type="color"]:focus {
    outline: none;
    border-color: var(--wp--preset--color--accent);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--wp--preset--color--accent) 20%, transparent);
}

/* File input */
input[type="file"] {
    padding: var(--wp--preset--spacing--30);
    border-radius: 4px;
    border: 1px solid var(--wp--preset--color--custom-gray-2);
    background-color: var(--wp--preset--color--base);
    color: var(--wp--preset--color--contrast);
    font-size: var(--wp--preset--font-size--small);
    line-height: 1.4;
    transition: border-color 0.2s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    cursor: pointer;
}
input[type="file"]:focus {
    outline: none;
    border-color: var(--wp--preset--color--accent);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--wp--preset--color--accent) 20%, transparent);
}
input[type="file"]:hover {
    border-color: var(--wp--preset--color--accent);
}

/* Checkbox and radio buttons */
input[type="checkbox"],
input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0 8px 0 0;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    appearance: none;
    border: 2px solid var(--wp--preset--color--custom-gray-2);
    background-color: var(--wp--preset--color--base);
    transition: all 0.2s ease;
}
/* Specific shapes */
input[type="checkbox"] {
    border-radius: 3px;
}
input[type="radio"] {
    border-radius: 50%;
}
/* Checked states */
input[type="checkbox"]:checked,
input[type="radio"]:checked {
    border-color: var(--wp--preset--color--accent);
}
input[type="checkbox"]:checked {
    background-color: var(--wp--preset--color--accent);
}
/* Common positioning for check marks */
input[type="checkbox"]:checked::after,
input[type="radio"]:checked::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* Checkbox check mark */
input[type="checkbox"]:checked::after {
    content: "✓";
    color: var(--wp--preset--color--base);
    font-size: 12px;
    font-weight: bold;
}
/* Radio button dot */
input[type="radio"]:checked::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--wp--preset--color--accent);
}
/* Focus states */
input[type="checkbox"]:focus,
input[type="radio"]:focus {
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--wp--preset--color--accent) 20%, transparent);
}

/* Button inputs */
input[type="button"],
input[type="submit"],
input[type="reset"] {
    padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--60);
    border-radius: 8px;
    border: none;
    background-color: var(--wp--preset--color--accent-2);
    color: var(--wp--preset--color--base);
    font-size: var(--wp--preset--font-size--medium);
}
input[type="reset"] {
    background-color: var(--wp--preset--color--custom-gray);
    color: black;
}
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
    background-color: color-mix(in srgb, var(--wp--preset--color--accent-2) 85%, transparent);
    cursor: pointer;
}
input[type="reset"]:hover {
    background-color: color-mix(in srgb, var(--wp--preset--color--custom-gray) 85%, transparent);
}

/* Image input */
input[type="image"] {
    border: none;
    background: transparent;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
input[type="image"]:hover {
    opacity: 0.8;
}
input[type="image"]:focus {
    outline: 2px solid var(--wp--preset--color--accent);
    outline-offset: 2px;
}

/* Labels */
label {
    font-size: var(--wp--preset--font-size--small);
    line-height: 1.5;
}

/* Base styles will be loaded through theme.json */
:root {
    --readylaunch-page-with-sidebar-padding-bottom: var(--wp--preset--spacing--large-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;
}
input.readylaunch-subscribe-starter-content-input {
    border-radius: 4px 0px 0px 4px;
    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--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--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);
}

#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--large-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--large-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;
    }
}
