/*
Theme Name: Ollie Child
Theme URI: 
Description: Child theme for Ollie
Author: KSM Consulting
Author URI: 
Template: ollie
Version: 1.0.2
*/

/* Add your custom CSS below this line */


/* ==============================
   KSM CONSULTING - CUSTOM STYLES
   ============================== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Transparent header overlay */
body > div.wp-site-blocks > header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

/* body.page-id-31 > div.wp-site-blocks > header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
} */

/******BG overlay for home page hero***************/

#wp--skip-link--target > div > div.wp-block-group.alignfull.is-style-background-blur.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained.has-background {background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://pracademicinc.com/wp-content/uploads/2026/03/Home-Page-Banner.jpg') center center / cover no-repeat !important;
}

#wp--skip-link--target > div > div.wp-block-group.alignfull.is-style-background-blur.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://pracademicinc.com/wp-content/uploads/2026/03/Home-Page-Banner.jpg') center center / cover no-repeat !important;
}

#wp--skip-link--target > div > div.wp-block-group.alignfull.is-style-background-blur.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > section {
    margin-top: 5em !important;
}


/************Space above header mobile*************/

@media screen and (max-width: 783px) {

    body > div.wp-site-blocks > header > div > div > div > div.wp-block-site-logo {
    margin-top: 2em;
}

}



/************Menu colors**********************/

body:not(.home) #modal-2-content > ul > ul > li > a {
    color: #1E1E26 !important;
}


/**********Space above logo in header****************/

/* body > div.wp-site-blocks > header > div > div > div {
    margin-top: 1em !important;
} */


/***************Remved left and right padding on inner page header********************/

.wp-block-columns.alignwide.has-secondary-background-color.has-background.is-layout-flex.wp-block-columns-is-layout-flex {
    padding-left: 0px;
    padding-right: 0px;
}


/****************Top margin for Sample page between logo and heading -- note the 2 pages need different margins******************/

body.page-id-2 #wp--skip-link--target > div > div.wp-block-group.alignfull.has-secondary-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div > div {
    margin-top: 3em;
}

/***************Top margin for About page between logo and heading -- note the 2 pages need different margins********************/

#wp--skip-link--target > div > div.wp-block-group.alignfull.has-secondary-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div > div {
    margin-top: 4em;
}

/**************************Adding vertical space above logo on inner pages***************************************/

body:not(.home) > div.wp-site-blocks > header > div.wp-block-group > div.wp-block-group > div.wp-block-group {
    margin-top: 1em !important;
}

/******************Fixed horizontal skew with unequal left and right padding on Our Approach section on home page***************************************/

#wp--skip-link--target > div > div.wp-block-group.alignfull.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
    padding-left: 32px !important;
    padding-right: 32px !important;
}

/*****************Make testimonials and other grid sections responsive for mobile**********************************/

@media screen and (max-width: 768px) {

    #wp--skip-link--target > div > div.wp-block-group.alignfull.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div.wp-block-group.alignwide.is-layout-grid.wp-block-group-is-layout-grid {
    grid-template-columns: 1fr;
}

#wp--skip-link--target > div > div.wp-block-group.alignfull.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div > div.wp-block-group-is-layout-grid {
    grid-template-columns: 1fr;
}

#wp--skip-link--target > div > div:nth-child(10) > div:nth-child(2) > div.wp-block-group-is-layout-grid {
    grid-template-columns: 1fr;
}

}

/**************Top grid sectioon on home page responsiveness*********************/

@media screen and (max-width: 1024px) {

    #wp--skip-link--target > div > div.wp-block-group.alignwide.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div.wp-block-group.alignwide.is-layout-grid.wp-block-group-is-layout-grid {
    grid-template-columns: 1fr;
}

}


/*************************Positioning separator on About us page top section***********************************************/

@media screen and (min-width: 1500px) {

#wp--skip-link--target > div > div > div.wp-block-columns.alignwide.are-vertically-aligned-top.is-layout-flex.wp-block-columns-is-layout-flex > div:nth-child(2)::after {
    content: "";
    position: absolute;
    top: 100px;
    width: 150%;
    margin-left: -15%;
    height: 2px;
    background-color: var(--wp--preset--color--main);
    z-index: -1;
}

#wp--skip-link--target > div > div > div.wp-block-columns.alignwide.are-vertically-aligned-top.is-layout-flex.wp-block-columns-is-layout-flex > div:nth-child(2) {
    position: relative;    
}

}

/***************Removing gray border on footer**************************/

body > div.wp-site-blocks > footer > div.wp-block-group {
    border: 0px;
}

/******************************************************DR RICE BIO ACCORDION STYLING*******************************************************************************/


        .pr3-bio-detail {
            font-family: var(--wp--preset--font-family--primary);
            color: var(--wp--preset--color--main);
            max-width: 100%;
        }
 
        /* ── Segment wrapper ── */
        .pr3-segment {
            border-bottom: 1px solid var(--wp--preset--color--border-light);
            padding: 0.25rem 0;
        }
        .pr3-segment:last-child {
            border-bottom: none;
        }
 
        /* ── Trigger row: heading + button ── */
        .pr3-trigger {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 1rem;
            padding: 1.25rem 0;
            cursor: pointer;
            user-select: none;
            list-style: none;
        }
        .pr3-trigger::-webkit-details-marker { display: none; }
 
        .pr3-trigger-left {
            flex: 1;
        }
 
        .pr3-trigger h3 {
            font-size: var(--wp--preset--font-size--medium);
            font-weight: 700;
            color: var(--wp--preset--color--primary);
            margin: 0 0 0.35rem 0;
            line-height: 1.25;
        }
 
        /* Preview lines — visible when collapsed */
        .pr3-preview {
            font-size: var(--wp--preset--font-size--small);
            color: var(--wp--preset--color--secondary);
            line-height: 1.55;
            margin: 0;
        }
 
        /* ── Toggle button ── */
        .pr3-toggle {
            flex-shrink: 0;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: 2px solid var(--wp--preset--color--primary);
            background: transparent;
            color: var(--wp--preset--color--primary);
            font-size: 20px;
            font-weight: 300;
            line-height: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.2s ease, color 0.2s ease, transform 0.3s ease;
            margin-top: 0.2rem;
            padding: 0;
        }
        .pr3-toggle:hover {
            background: var(--wp--preset--color--primary);
            color: #ffffff;
        }
        .pr3-toggle.is-open {
            transform: rotate(45deg);
            background: var(--wp--preset--color--primary);
            color: #ffffff;
        }
 
        /* ── Collapsible body ── */
        .pr3-body {
            display: grid;
            grid-template-rows: 0fr;
            transition: grid-template-rows 0.35s ease;
        }
        .pr3-body.is-open {
            grid-template-rows: 1fr;
        }
        .pr3-body-inner {
            overflow: hidden;
        }
        .pr3-body-inner-pad {
            padding-bottom: 1.5rem;
        }
 
        /* ── Shared inner styles ── */
        .pr3-body p {
            font-size: var(--wp--preset--font-size--base);
            line-height: 1.7;
            margin-bottom: 1rem;
        }
        .pr3-body p:last-child {
            margin-bottom: 0;
        }
 
        /* Role list */
        .pr3-role-list {
            list-style: none;
            padding: 0;
            margin: 1rem 0 0;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 0.5rem;
        }
        .pr3-role-list li {
            display: flex;
            align-items: flex-start;
            gap: 0.6rem;
            font-size: var(--wp--preset--font-size--base);
            line-height: 1.5;
        }
        .pr3-role-arrow {
            color: var(--wp--preset--color--primary);
            font-weight: 700;
            flex-shrink: 0;
            margin-top: 0.05em;
        }
 
        /* Current role card */
        .pr3-current-role {
            background-color: var(--wp--preset--color--tertiary);
            border-left: 4px solid var(--wp--preset--color--primary);
            border-radius: 0 6px 6px 0;
            padding: 1.25rem 1.5rem;
            margin-top: 0;
        }
        .pr3-current-role p {
            margin-bottom: 0.75rem;
        }
        .pr3-portfolio {
            font-size: var(--wp--preset--font-size--small) !important;
            color: var(--wp--preset--color--secondary);
            line-height: 1.6 !important;
            margin-bottom: 0 !important;
        }
 
        /* Book callout */
        .pr3-book {
            background-color: var(--wp--preset--color--tertiary);
            border-radius: 6px;
            padding: 1.25rem 1.5rem;
            margin-bottom: 1.25rem;
        }
        .pr3-book-title {
            font-weight: 600;
            margin-bottom: 0.4rem !important;
        }
        .pr3-book-meta {
            color: var(--wp--preset--color--secondary);
            font-size: var(--wp--preset--font-size--small) !important;
            margin-bottom: 0.75rem !important;
        }
        .pr3-pullquote {
            border-left: 3px solid var(--wp--preset--color--primary);
            padding-left: 1rem;
            margin: 0;
            font-style: italic;
            color: var(--wp--preset--color--secondary);
            font-size: var(--wp--preset--font-size--small);
            line-height: 1.65;
        }
        .pr3-pullquote cite {
            display: block;
            margin-top: 0.5rem;
            font-style: normal;
            font-weight: 600;
            color: var(--wp--preset--color--main);
        }
 
        /* Education cards */
        .pr3-edu-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 1rem;
            margin-top: 0;
        }
        .pr3-edu-card {
            background-color: var(--wp--preset--color--tertiary);
            border-radius: 6px;
            padding: 1rem 1.25rem;
        }
        .pr3-edu-card p {
            margin-bottom: 0.25rem !important;
        }
        .pr3-edu-degree {
            font-weight: 700;
            font-size: var(--wp--preset--font-size--small) !important;
        }
        .pr3-edu-school {
            color: var(--wp--preset--color--secondary);
            font-size: var(--wp--preset--font-size--small) !important;
        }
        .pr3-edu-note {
            color: var(--wp--preset--color--secondary);
            font-size: var(--wp--preset--font-size--x-small) !important;
            font-style: italic;
        }

/************Buttons inside the hero banner and other banners****************/


/* #wp--skip-link--target > div > div.wp-block-group.alignfull.is-style-background-blur.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained.has-background > section > div > div > a {
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base);
}


#wp--skip-link--target > div > div.wp-block-group.alignfull.is-style-background-blur.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained.has-background > section > div > div > a:hover {

    background: var(--wp--preset--color--primary-alt-accent);
    color: var(--wp--preset--color--base);

}

#wp--skip-link--target > div > div.wp-block-group.alignfull.has-main-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div a.wp-block-button__link {
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base);

}

#wp--skip-link--target > div > div.wp-block-group.alignfull.has-main-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div a.wp-block-button__link:hover {

    background: var(--wp--preset--color--primary-alt-accent);
    color: var(--wp--preset--color--base);

} */


/* Regular state */
.wp-block-button.is-style-button-light .wp-block-button__link {
    background: var(--wp--preset--color--button-bg);
    color: var(--wp--preset--color--primary-alt-accent);
}

/* Hover state */
.wp-block-button.is-style-button-light .wp-block-button__link:hover {
    background: var(--wp--preset--color--button-bg-hover);
    color: var(--wp--preset--color--primary-alt-accent);
}


#wp--skip-link--target > div > div.wp-block-group.alignfull.has-tertiary-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained a.wp-block-button__link, .pr3-button {
    background: var(--wp--preset--color--button-bg);
    color: var(--wp--preset--color--primary-alt-accent);
}

#wp--skip-link--target > div > div.wp-block-group.alignfull.has-tertiary-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained a.wp-block-button__link:hover {
    background: var(--wp--preset--color--button-bg-hover);
    color: var(--wp--preset--color--primary-alt-accent);
}

@media screen and (max-width: 900px) {

    #modal-2-content > ul > li.wp-block-navigation-item.has-small-font-size.has-child.open-on-click.wp-block-navigation-submenu > button:hover, #modal-2-content > ul > li.current-menu-item > a.wp-block-navigation-item__content:hover, #modal-2-content > ul > li > button:hover, #modal-2-content > ul.wp-block-navigation__container > li.wp-block-navigation-item > a:hover {
    color: var(--wp--preset--color--primary) !important;
}

}

/********No top margin on top section About page**********************/

#wp--skip-link--target > div > div.wp-block-group.alignfull.is-style-background-blur.has-primary-alt-background-color.has-background.is-layout-flow.wp-block-group-is-layout-flow {
    margin-top: 0px;
}



/***********Reducing min height of cover blocks about page********************************/

#wp--skip-link--target > div > div.wp-block-group.alignfull.has-tertiary-background-color.has-background.has-global-padding.is-layout-constrained.wp-container-core-group-is-layout-4f2fc681.wp-block-group-is-layout-constrained > div.wp-block-group.alignwide.is-layout-flow.wp-block-group-is-layout-flow > div.wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-28f84493.wp-block-columns-is-layout-flex > div:nth-child(2) > div {
    min-height: 200px !important;
}


/*********************Responsiveness changes for the home page*********************************/


    #wp--skip-link--target > div > div.wp-block-group.alignfull.is-style-background-blur.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained.has-background > section {
    margin-top: 3em !important;
}


/*************************************Spacing above page header About us page*************************************/

#wp--skip-link--target > div > div.wp-block-group.alignfull.has-secondary-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div > div > h2.wp-block-post-title {
    margin-top: 0.5em !important;
}



/**************************Making top section About page responsive***************************/

@media screen and (max-width: 781px) {

    #wp--skip-link--target > div > div.wp-block-group.alignfull.has-global-padding.is-layout-constrained.wp-container-core-group-is-layout-6b4c589d.wp-block-group-is-layout-constrained > div.wp-block-columns.alignwide.are-vertically-aligned-top.is-layout-flex.wp-block-columns-is-layout-flex > div:nth-child(2) {
    padding-top: 0px !important;
}

}


/***********************************making section about page fluidly responsive through clamp**********************/

#wp--skip-link--target > div > div.wp-block-group.alignfull.has-tertiary-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div.wp-block-group.alignwide.is-layout-flow.wp-block-group-is-layout-flow > div > div:nth-child(2) > div {
    min-height: clamp(200px, 30vw, 300px) !important;
}



/***************Make Rolundus's picture responsive******************/

#wp--skip-link--target > div > div.wp-block-group.alignfull.has-tertiary-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div.wp-block-group.alignwide.is-layout-flow.wp-block-group-is-layout-flow > div.wp-block-columns.are-vertically-aligned-center.is-layout-flex.wp-block-columns-is-layout-flex > div:nth-child(1) > div.wp-block-cover {
    aspect-ratio: 61%;
    height: 0px !important;
    position: relative;
    width: 100%;
    padding-bottom: 78%;
    height: 0;
    overflow: hidden;
}


#wp--skip-link--target > div > div.wp-block-group.alignfull.has-tertiary-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div.wp-block-group.alignwide.is-layout-flow.wp-block-group-is-layout-flow > div.wp-block-columns.are-vertically-aligned-center.is-layout-flex.wp-block-columns-is-layout-flex > div:nth-child(1) > div > img {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    overflow: hidden;
}


/**********************************************************Styling top section Services page********************************************************/


#wp--skip-link--target > div > div.wp-block-group.alignfull.has-primary-alt-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained:nth-child(2) {
    min-height: clamp(300px, 40vw, 400px) !important;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://pracademicinc.com/wp-content/uploads/2026/04/Services-page-banner.jpg') top center / cover no-repeat #000;
    display: flex;
    align-items: center;

}
/****************Styling top section Services page*********************/

#wp--skip-link--target > div > div.wp-block-group.alignfull.has-primary-alt-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
    margin-top: 0px;
}



/* ── Contact Form 7 — pR3academic ── */

/* Wrapper */
.wpcf7 {
    width: 100%;
}

/* All text, email, tel, textarea inputs */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="file"],
.wpcf7 input[type="checkbox"],
.wpcf7 textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--wp--preset--color--main) !important;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-family: var(--wp--preset--font-family--primary);
    font-size: var(--wp--preset--font-size--base);
    color: var(--wp--preset--color--main);
    background-color: var(--wp--preset--color--base);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}


form.wpcf7-form input::placeholder, form.wpcf7-form textarea::placeholder {
	color: var(--wp--preset--color--main);
}


/* Focus state */
/* .wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
    border-color: var(--wp--preset--color--primary);
    box-shadow: 0 0 0 3px var(--wp--preset--color--primary);
} */

/* First name / Last name side by side */
#cf-name {
    display: flex;
    width: 100%;
}

#cf-first-name,
#cf-last-name {
    flex: 1;
}

#cf-first-name {
    padding-right: 0.5em;
}

#cf-first-name input,
#cf-last-name input {
    width: 100%;
    box-sizing: border-box;
}

/* Stack name fields on mobile */
@media screen and (max-width: 600px) {
    #cf-name {
        flex-direction: column;
        gap: 0;
    }
}

/* All span wrappers CF7 generates — make them block and full width */
.wpcf7 .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
}

/* Job title, company, phone, email — full width */
.wpcf7 span.wpcf7-form-control-wrap[data-name="job-title"],
.wpcf7 span.wpcf7-form-control-wrap[data-name="company"],
.wpcf7 span.wpcf7-form-control-wrap[data-name="phone-number"],
.wpcf7 span.wpcf7-form-control-wrap[data-name="email"] {
    display: block;
    width: 100%;
}

/* Textarea */
.wpcf7 textarea {
    resize: vertical;
    min-height: 140px;
}

/* File upload label and input */
.wpcf7 .wpcf7-form-control-wrap[data-name="file-705"] {
    margin-top: 0.25rem;
}

.wpcf7 label {
    display: block;
    font-family: var(--wp--preset--font-family--primary);
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--secondary);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.wpcf7 input[type="file"] {
    display: block;
    width: 100%;
    font-family: var(--wp--preset--font-family--primary);
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--secondary);
    margin-top: 0.4rem;
}

/* Submit button — inherits your theme.json button styles */
.wpcf7 input[type="submit"] {
    width: 100%;
    margin-top: 0.5rem;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    font-family: var(--wp--preset--font-family--primary);
    font-size: var(--wp--preset--font-size--base);
    font-weight: 600;
    background-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base);
    transition: background-color 0.2s ease;
}

.wpcf7 input[type="submit"]:hover {
    background-color: var(--wp--preset--color--button-bg-hover) !important;
    color: var(--wp--preset--color--main) !important;
}

/* CF7 validation error messages */
.wpcf7 .wpcf7-not-valid-tip {
    font-size: var(--wp--preset--font-size--x-small);
    color: #c0392b;
    margin-top: 0.25rem;
    display: block;
}

.wpcf7 input.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid {
    border-color: #c0392b;
}

/* CF7 response output message */
.wpcf7 .wpcf7-response-output {
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    font-size: var(--wp--preset--font-size--small);
    border: 1px solid var(--wp--preset--color--border-light);
}


/* Checkbox group label */
.cf7-group-label {
    font-family: var(--wp--preset--font-family--primary);
    font-size: var(--wp--preset--font-size--small);
    font-weight: normal;
    color: var(--wp--preset--color--main);
    margin-bottom: 0.5rem;
}

/* Checkbox items — stack vertically */
.wpcf7 .wpcf7-checkbox {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Each checkbox + label pair */
.wpcf7 .wpcf7-checkbox .wpcf7-list-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.wpcf7 .wpcf7-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--wp--preset--color--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.wpcf7 .wpcf7-checkbox .wpcf7-list-item-label {
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--main);
    cursor: pointer;
}


/* Remove br tags inside CF7 form */
.wpcf7-form br {
    display: none;
}

/* Control paragraph spacing inside CF7 */
.wpcf7-form p {
    margin-bottom: 1rem;
}

/* Tighten gap between checkbox group and textarea */
.wpcf7-form .wpcf7-form-control-wrap[data-name="services"] {
    display: block;
    margin-bottom: 1rem;
}

/* Remove extra top margin on cf7-group-label paragraph */
p.cf7-group-label {
    margin-bottom: 0.4rem;
    margin-top: 0;
}


/* Date label + input on one line */
.cf7-date-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cf7-date-row p.cf7-group-label {
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.cf7-date-row .wpcf7-form-control-wrap {
    flex: 1;
    margin-bottom: 0;
}

.cf7-date-row input[type="date"] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--wp--preset--color--border-light);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-family: var(--wp--preset--font-family--primary);
    font-size: var(--wp--preset--font-size--base);
    color: var(--wp--preset--color--main);
    background-color: var(--wp--preset--color--base);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.cf7-date-row input[type="date"]:focus {
    border-color: var(--wp--preset--color--primary);
    box-shadow: 0 0 0 3px var(--wp--preset--color--primary-accent);
}

/* Stack on mobile */
@media screen and (max-width: 600px) {
    .cf7-date-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
}

/**************Styling the Contact Us Page*************/

/*********Adjusting color for the black BG for the form****************/

div#wpcf7-f598-p605-o1 form.wpcf7-form p, div#wpcf7-f598-p605-o1 form.wpcf7-form span {
    color: #fff;
}



/**************Styling the Book Speaking Engagement Page*************/

/*********Adjusting color for the black BG for the form****************/


div#wpcf7-f603-p616-o1 form.wpcf7-form p {
    color: #fff;
}

/********************Set margin above home page header******************************/


body.home > div.wp-site-blocks > header {
    margin-top: 1em !important;
}

/*****************Remove top section top margin buy services now page************************/

body.page-id-648 #wp--skip-link--target > div > div:nth-child(2) {
    margin-top: 0px;
}


/* ── SureCart Checkout Styling ── */

:root:root {
    --sc-input-color-disabled: var(--wp--preset--color--main);
    --sc-input-border-color-disabled: var(--wp--preset--color--main);
    --sc-input-color: var(--wp--preset--color--main);
    --sc-input-border-color: var(--wp--preset--color--main);
    --sc-card-border-color: var(--wp--preset--color--main);
    --sc-divider-border-top-color: var(--wp--preset--color--main);
    --sc-input-label-color: var(--wp--preset--color--main);
    --sc-color-gray-500: var(--wp--preset--color--main);
    
}


/*********************************Turn off the first section header on all pages IMPORTANT CSS!!!!**************************************/

body:not(.page-id-270):not(.page-id-616):not(.page-id-605):not(.page-id-2) #wp--skip-link--target > div > div.wp-block-group.alignfull.has-secondary-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
    display: none;
}

/*******************Responsiveness for Services page*******************/

@media screen and (max-width: 783px) {

    #wp--skip-link--target > div > div.wp-block-group.alignfull.has-primary-alt-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div > h2 {
    margin-top: 2em;
}

}

/*********************Responsiveness for Buy Keynote Speaking Page*********************************/

@media screen and (max-width: 900px) {

    #wp--skip-link--target > div > div.wp-block-cover.alignfull.is-style-blur-image.is-style-blur-image-less > div > div > div > div.wp-block-group.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
    margin-top: var(--wp--preset--spacing--xxxx-large);
}

}


/***************Styling Sub Menu************************/

#modal-2-content > ul > li.wp-block-navigation-item.wp-block-navigation-submenu > ul > li > a {
    color: var(--wp--preset--color--main) !important;
}


#modal-2-content > ul > li.wp-block-navigation-item.wp-block-navigation-submenu > ul > li:nth-child(1) {
    border-radius: 0px;
    border-top: 2px solid var(--wp--preset--color--main);
}


/********Styling menu link hover color**************/

#modal-2-content > ul > li > button:hover {
    color: var(--wp--preset--color--button-bg-hover) !important;
}

#modal-2-content > ul > li > a:hover {
    color: var(--wp--preset--color--button-bg-hover) !important;
}


#modal-2-content > ul > li.wp-block-navigation-item > ul > li > a:hover {
    color: var(--wp--preset--color--primary) !important;
}


@media screen and (max-width: 900px) {

    #wp--skip-link--target > div > div.wp-block-group.alignfull.has-secondary-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div > div {
    margin-top: 7em !important;
}

/* #wp--skip-link--target > div > div.wp-block-group.alignfull.has-primary-alt-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div {
    margin-top: 5em;
} */

#wp--skip-link--target > div > div.wp-block-cover.alignfull.is-style-blur-image.is-style-blur-image-less > div > div > div > div.wp-block-group.has-global-padding.is-layout-constrained.wp-container-core-group-is-layout-f5f3bcb8.wp-block-group-is-layout-constrained {
    margin-top: 6em;
}



/* #wp--skip-link--target > div > div.wp-block-group.alignfull.has-primary-alt-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div {
    margin-top: 5em;
} */

}

/********************Styling footer menu***********/

/* body > div.wp-site-blocks > footer > div > div.wp-block-columns.alignwide.is-layout-flex.wp-block-columns-is-layout-flex > div:nth-child(2) > div nav a:hover {
    color: var(--wp--preset--color--primary);
} */

body > div.wp-site-blocks > footer > div > div.wp-block-columns.alignwide.is-layout-flex.wp-block-columns-is-layout-flex > div > div > div > p > a {
    text-decoration: none;
}

body > div.wp-site-blocks > footer > div > div.wp-block-columns.alignwide.is-layout-flex.wp-block-columns-is-layout-flex > div > div > div > p > a:hover {
    text-decoration: underline;
    color: var(--wp--preset--color--primary);
}


#wp--skip-link--target > div.wp-block-post-content > p {
    display: none;
}

/***************Set height of buy now buttons on footer******************************/

/* body > div.wp-site-blocks > footer div.wp-block-buttons.is-content-justification-left.is-layout-flex.wp-block-buttons-is-layout-flex {
    max-height: clamp(70px, 5vw, 90px);
}


body > div.wp-site-blocks > footer > div > div.wp-block-group.alignwide.feature-boxes.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div > div.wp-block-group.is-style-background-blur.has-border-color.has-border-light-color.has-tertiary-background-color.has-text-color.has-background.has-link-color.is-vertical.is-content-justification-stretch.is-layout-flex.wp-block-group-is-layout-flex {
    max-height: clamp(70px, 5vw, 90px);
} */


@media screen and (max-width: 900px) {

body > div.wp-site-blocks > footer > div > div.wp-block-group.alignwide.feature-boxes.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div {
    grid-template-columns: 1fr;
}

}

body > div.wp-site-blocks > footer > div > div.wp-block-group.alignwide.feature-boxes.has-global-padding.is-layout-constrained.wp-container-core-group-is-layout-b9b11142.wp-block-group-is-layout-constrained {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

body > div.wp-site-blocks > footer > div > div.wp-block-group.alignwide.feature-boxes.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div > div.wp-block-group {
    row-gap: 10px;
}


body > div.wp-site-blocks > footer > div > div.wp-block-group.alignwide.feature-boxes.has-global-padding.wp-block-group-is-layout-constrained div.wp-block-buttons {
    max-height: clamp(70px, 5vw, 90px);
}


/**********************************************************Styling top section buy services now page********************************************************/


body.page-id-648 #wp--skip-link--target > div > div.wp-block-cover.alignfull.is-style-blur-image.is-style-blur-image-less > div > div {
    min-height: clamp(300px, 40vw, 400px) !important;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://pracademicinc.com/wp-content/uploads/2026/04/Buy-services-now-banner-page.jpg') top center / cover no-repeat #000;
    display: flex;
    align-items: center;

}


/***************Styling top section buy keynote page****************************/

body.page-id-687 #wp--skip-link--target > div > div.wp-block-cover.alignfull.is-style-blur-image.is-style-blur-image-less > div > div {
    min-height: clamp(300px, 40vw, 400px) !important;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://pracademicinc.com/wp-content/uploads/2026/04/Buy-keynote-banner-page.jpg') top center / cover no-repeat #000;
    display: flex;
    align-items: center;

}

/*********Styling grid on buy services now page*******************/

#wp--skip-link--target > div > div.wp-block-group.alignfull.has-primary-alt-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div > div > div > div.is-layout-grid {
    grid-template-columns: 1fr 1.5fr 4fr;
    column-gap: 20px;
    justify-items: center;
}

#wp--skip-link--target > div > div.wp-block-group.alignfull.has-primary-alt-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div > div > div > div > p {
    justify-self: stretch;
}

#wp--skip-link--target > div > div.wp-block-group.alignfull.has-primary-alt-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div > div > div > div > h2 {
        line-height: 1;
}

body.page-id-648 #wp--skip-link--target > div > div.wp-block-group.alignfull.has-primary-alt-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div > div:nth-child(1) > div > div > h2 {
    font-size: clamp(20px, 7vw, 50px) !important;
}

#wp--skip-link--target > div > div.wp-block-group.alignfull.has-primary-alt-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div > div:nth-child(1) > div {
    margin-top: 18px;
}



@media screen and (min-width: 782px) and (max-width: 1135px) {

    body.page-id-648 #wp--skip-link--target > div > div.wp-block-group.alignfull.has-primary-alt-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div > div:nth-child(1) > div > div > h2 {
    font-size: 1.5em !important;
}

}


@media screen and (max-width: 362px) {

        body.page-id-648 #wp--skip-link--target > div > div.wp-block-group.alignfull.has-primary-alt-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div > div:nth-child(1) > div > div > h2 {
    font-size: 1.2em !important;
}

}


/*****************Set SErvices page banner height to match Buy services now page at desktop size*******************************/

@media screen and (min-width: 1450px) {

    body.page-id-498 #wp--skip-link--target > div > div.wp-block-group.alignfull.has-primary-alt-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
        height: 487.78px;
    }

}

/*********Style changes to clickable groups JS through CSS********************/

.clickable-group {
    transition: background-color 0.2s ease;
}

.clickable-group.is-hovered {
    background-color: var(--wp--preset--color--button-bg-hover) !important;
}

/*********Fix styling for clickable group added to Book event engagement page***********/

body.page-id-616 div.wp-block-group.pr3-event-engagement-contact-details {
    padding-bottom: var(--wp--preset--spacing--medium);
}

body.page-id-616 div.wp-block-group.clickable-group {
    margin-bottom: var(--wp--preset--spacing--xx-large);
}


/****Spacing above Buy Event Now Button Event page*******/

body.page-id-616 .wp-block-group.alignwide.is-style-background-blur.clickable-group.has-primary-alt-background-color.has-background.is-layout-flow.wp-block-group-is-layout-flow {
    margin-bottom: var(--wp--preset--spacing--medium);
}

@media screen and (max-width: 781px) {

    body.page-id-616 .wp-block-group.alignwide.is-style-background-blur.clickable-group.has-primary-alt-background-color.has-background.is-layout-flow.wp-block-group-is-layout-flow {
    margin-bottom: 0px;
}

}

body.page-id-616 .wp-block-group.buy-speaking-engagement {
    margin-bottom: var(--wp--preset--spacing--x-large);
    margin-top: var(--wp--preset--spacing--x-large);
}

/*************Styling text below submit button on Speaker Booking Form*********************************/

span.pr3-cf7-speaker-form {
    font-size: var(--wp--preset--font-size--x-small);
    font-size: var(--wp--preset--font-size--x-small);
    color: var(--wp--preset--color--main-accent);
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/**************Changing footer menu to 2 column for mobile************************/

@media screen and (max-width: 780px) {

    div.wp-block-columns.pr-footer-nav-menu-columns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--wp--preset--spacing--medium);
    }
/* 
    div.wp-block-column.is-layout-flow.wp-block-column-is-layout-flow > div.pr-footer-nav-menu-columns > .wp-block-column {
        width: 100% !important;
        flex-basis: unset !important;
    } */

    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
    flex-basis: auto !important;
    }

}


/*************Pulling up speaker engagement page first column*****************/

div.wp-block-column.is-vertically-aligned-center.pr-keynote-request-column {
    align-self: start;
}

/************Spacing out the Presidency program text block****************/


body.page-id-616 div.wp-block-group.alignwide.is-style-background-blur.clickable-group.pr-presidency-program {
    margin-top: var(--wp--preset--spacing--x-large);
}

body.page-id-616 div.wp-block-group.alignfull.pr3-event-engagement-contact-details {
    padding-bottom: 0px !important;
}


/*************Spacing bottom button on book speaking engagement page*************/

body.page-id-616 div.wp-block-group.pr-speaking-engagement-btns {
    margin-top: var(--wp--preset--spacing--x-large);
}

body.page-id-616 div.wp-block-group.alignfull.pr-speaking-engagement-lower-section {
    padding-bottom: var(--wp--preset--spacing--x-large) !important;
}

/**********Header block spacing services page**********/

@media screen and (max-width: 900px) {

    
body.page-id-498 .wp-block-group.alignwide.is-layout-flow.wp-block-group-is-layout-flow {
    margin-top: var(--wp--preset--spacing--xxx-large);
}

}


/**************************Extra spacing about page******************/

@media screen and (max-width: 781px) {

    body.page-id-270 div.wp-block-group.alignfull.pr-3-focus-areas > div > div.wp-block-column.is-vertically-aligned-top.is-layout-flow.wp-block-column-is-layout-flow {
    padding-top: 0px !important;
}

/********Extra space in Contact Us Today box****************/

div.wp-block-cover.alignfull.has-parallax.is-style-rounded-cover.pr-contact-us-today > div.wp-block-cover__inner-container > div.wp-block-group.alignfull {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

}


/**********reduce top space book speaker engagement page***********/

body.page-id-616 .wp-block-group.alignfull.pr3-event-engagement-contact-details.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
    padding-top: var(--wp--preset--spacing--medium) !important;
}


/***********Reduce footer spacing***********/

footer.site-footer > .wp-block-group.alignfull.has-main-color.has-primary-alt-background-color.has-text-color.has-background.has-link-color {
    padding-bottom: var(--wp--preset--spacing--medium) !important;
}


/****Turning off loweest level footer menu************/

footer.site-footer .wp-block-group.has-small-font-size.is-nowrap.is-layout-flex.wp-block-group-is-layout-flex {
    display: none;
}


/*********Removed Social Media accoounts*********/

ul.wp-block-social-links.has-icon-color.has-icon-background-color.is-style-default.is-content-justification-left.is-layout-flex.wp-block-social-links-is-layout-flex {
    display: none;
}




