/*
Theme Name: Nibble
Template: blankslate 
Version: 0.1.0
*/


body:has(#wpadminbar) #wrapper header {
    padding-top: 32px;
}

.nav-links {
    display: flex;
    flex-direction: row;
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}

.nav-links .nav-next {
    text-align: right;
}

.header {
    padding: inherit;
}

.callout__head a {
    text-decoration: none;
}
.hero-blog .hero__inner h1 {
    margin: 0px;
}

/* custom pages related CSS styles used to fix HubSpot integration issues */
.css-slug-resources .section-blogs .section__head h3 {
    margin-bottom: inherit;
}

.css-slug-nibble-press-awards .row-fluid .span6 {
    width: inherit;
}

/* contact form 7 custom styles */
.wpcf7 form input {
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
}

.wpcf7 form label{
    display: block;
    width: 100%;
}
.wpcf7 form p{
    margin: auto;
    margin-left: 0px;
}

.wpcf7 form .wpcf7-acceptance .wpcf7-list-item {
    margin-left: 0px;
}

.article__entry .wpcf7 form  .actions{
    padding: 1rem 7rem 1rem 2.8rem;
    margin-bottom: 2rem;
}

input[type="submit"].hs-button {
    border-radius: 17px;
}

form .actions .wpcf7-spinner{
    display: none;
}
form.submitting .actions .wpcf7-spinner{
    display: inline-block;
}

/* fix blog posts */
.hs-blog-post .hero .hero__inner .hero__content {
max-width: 80%;
flex: auto;
    width: 100%;
}

/* fix tables in posts */
.hs-blog-post table td {
    vertical-align: middle;
}

ul, li {
    list-style: inherit;
}

/* fix CTA buttons */

.nibble-cta-wrapper {
    text-align: center;
    margin: 20px auto;
}

.nibble-cta-wrapper .cta_button {
    -webkit-font-smoothing: antialiased !important;
    cursor: pointer !important;
    -moz-user-select: none !important;
    -webkit-user-select: none !important;
    -o-user-select: none !important;
    user-select: none !important;
    display: inline-block !important;
    font-weight: normal !important;
    text-align: center !important;
    text-decoration: none !important;
    -moz-transition: all .4s ease !important;
    -webkit-transition: all .4s ease !important;
    -o-transition: all .4s ease !important;
    background: rgb(25, 118, 210) !important;
    border-radius: 6px !important;
    border-width: 0px !important;
    color: rgb(255, 255, 255) !important;
    font-family: sans-serif !important;
    height: auto !important;
    transition: all .4s ease !important;
    padding: 6px 18px !important;
    text-shadow: none !important;
    width: auto !important;
    font-size: 24px !important;
    line-height: 1.5em !important;
}

.nibble-cta-wrapper .nibble-cta-align-left {
    text-align: left;
}
.nibble-cta-wrapper .nibble-cta-align-center {
    text-align: center;
}
.nibble-cta-wrapper .nibble-cta-align-right {
    text-align: right;
}

/* post navigation */
.navigation.post-navigation {
    margin-top: 4rem;
    margin-bottom: 4rem;
}



/* video wrapper */
.nibble-video-wrapper {
    position: relative;
    margin: auto auto 1rem auto;
    text-align: center;
    width: fit-content;
}

/* video player adjustments */

.video-play {
    position: absolute;
    inset: 0;                    /* cover the video */
    display: grid;
    place-items: center;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    transition: opacity .2s ease;
}

.video-play svg {
    background-color: rgba(66, 91, 118, 0.8);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    padding: 10px;
}

/* hidden state */
    .video-play.is-hidden {
    opacity: 0;
    pointer-events: none;
}

/* optional hover focus polish */
.video-play:focus-visible,
.video-play:hover {
    background: rgba(0,0,0,0.35);
    outline: 2px solid #fff3;
    outline-offset: -2px;
}

/* hide recaptcha badge */
.grecaptcha-badge {
    visibility: hidden;
    display: none;
}

/* new homepage */

.section-services .section__foot {
    margin-top: 5.6rem;
    text-align: center;
}

.section-highlight.section-cases-new .cases {
    gap: 32px;
}

.section-highlight.section-cases-new .cases .case {
    padding: 32px;
}

.section-highlight.section-cases-new .cases .cases__item .case__icon {
    margin-bottom: 32px;
}

/* New how it works page styles */
.section-highlight .section__content{
    display: flex;
    flex-direction: column;
    gap: 48px;
}