 /*
	* CSS for Posts
	*
	* @package      sallysbaking
	* @author       Lindsay Humes
	* @since        1.0.0
	* @license      GPL-2.0+
*/
/*--------------------------------------------------------------
# General Post
# Post Header
# Post Footer (Social & Related)
# Comment Form
# Comment List
# Comment Pagination
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# General Post
--------------------------------------------------------------*/
.entry-content a:hover {
    opacity: 1;
    color: var(--wp--preset--color--pink);
}
/*--------------------------------------------------------------
# Post Header
--------------------------------------------------------------*/
.entry-title {
    margin: 20px 0;
}
.jump-button-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin: 20px 0;
    font-family: var(--wp--preset--font-family--custom-sans);
    font-size: var(--wp--preset--font-size--small);
    letter-spacing: var(--wp--preset--letter-spacing--normal);
    line-height: 1;
}
.jump-button-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 25px;
    background: var(--wp--preset--color--grey);
    color: var(--wp--preset--color--ink);
    -webkit-box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .1);
}
@media (max-width: 600px) {
    .jump-button-group {
        flex-wrap: wrap;
    }
    .jump-button-link.pin-jump, .jump-button-link.comment-jump, .jump-button-link.email-jump {
        width: calc(50% - 5px);
        padding: 15px 10px;
    }
    .jump-button-link.recipe-jump {
        width: 100%;
        padding: 15px 25px;
    }
}
.jump-button-link svg {
    width: 15px;
    height: 15px;
    margin-right: 3px;
}
.jump-button-link.recipe-jump svg {
    width: 10px;
    height: 10px;
}
.jump-button-link.pin-jump {
    background: var(--wp--preset--color--pink-light);
}
.jump-button-link.email-jump {
    background: var(--wp--preset--color--pink-light);
}
.jump-button-link.comment-jump {
    background: var(--wp--preset--color--blue-light);
}
.jump-button-link.recipe-jump {
    background: var(--wp--preset--color--gold-light);
}
.jump-button-link:hover {
    background: var(--wp--preset--color--ink);
    color: var(--wp--preset--color--white);
    opacity:1;
}
.jump-button-link:hover svg {
    fill: var(--wp--preset--color--white);
}
.entry-header-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    font-size: var(--wp--preset--font-size--xxsmall);
    letter-spacing: var(--wp--preset--letter-spacing--normal);
    line-height: var(--wp--custom--line-height--small);
    margin: var(--wp--custom--layout--block-gap) 0;
}
.entry-header-meta .post-meta .label {
    font-weight: 700;
    margin: 0 3px 0 0;
}
.entry-header-meta .post-meta {
    margin: 0 15px 0 0 ;
}
.entry-header-meta .post-meta a {
    color: var(--wp--preset--color--ink);
    text-decoration: underline;
}
.post-author .author-img {
    width: 50px;
    height: 50px;
    margin-right: 5px;
}
.post-author .author-img img {
    border-radius: 50%;
}

.post-disclosure {
    margin: -30px auto 30px;
    font-size: var(--wp--preset--font-size--xxsmall);
    letter-spacing: var(--wp--preset--letter-spacing--normal);
    line-height: var(--wp--custom--line-height--small);
    text-align: center;
    opacity: .9;
    display: block; 
    background: var(--wp--preset--color--grey);
    padding: 20px;
}
.post-disclosure a {
    font-weight: 700;
    text-decoration: underline;
}
.post-disclosure a:hover {
    opacity:1;
}
@media (max-width: 600px) {
    .post-disclosure {
        font-size: .6rem;
    }
}
.type-post {
    position: relative;
}
.type-post:after {
    background: url(../images/bg-lines.svg) repeat left;
    height: 9px;
    content: '';
    display: block;
    width: 100%;
    height: 9px;
    margin: 20px auto 40px;
}

/*--------------------------------------------------------------
# Post Footer (Social & Related)
--------------------------------------------------------------*/
.post-share {
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    font-family: var(--wp--preset--font-family--custom-sans);
    font-size: var(--wp--preset--font-size--small);
    line-height:1;
    align-items: center;
    justify-content: center;
}
@media (max-width:600px) {
    .post-share {
        grid-template-columns: repeat(1, minmax(0, 1fr));

    }
}
.post-share a {
    color: var(--wp--preset--color--ink);
    background: var(--wp--preset--color--grey);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    border-radius: 25px;
    -webkit-box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .1);
}
.post-share svg {
    width: 20px;
    height: 20px;
    margin-right: 3px;
    fill: var(--wp--preset--color--ink);
}
.post-share .social-pinterest {
    background: var(--wp--preset--color--pink-light);
}
.post-share .social-facebook {
    background: var(--wp--preset--color--teal-light);
}
.post-share .social-email{
    background: var(--wp--preset--color--gold-light);
}
.post-share a:hover {
    opacity: 1;
    background: var(--wp--preset--color--ink);
    color: var(--wp--preset--color--white);
}
.post-share a:hover svg {
    fill: var(--wp--preset--color--white);
}
.post-related-group {
    margin: 0 0 40px;
}
.related-title {
    font-family: var(--wp--preset--font-family--custom-sans);
    font-size: var(--wp--preset--font-size--small);
    letter-spacing: var(--wp--preset--letter-spacing--normal);
    line-height: 1;
    padding: 15px 25px;
    background: var(--wp--preset--color--grey);
    display: block;
    width: fit-content;
    margin: 0;
}
.related-posts {
    border: 2px solid var(--wp--preset--color--grey);
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}
@media (max-width: 764px) {
    .related-posts {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}
.related-posts .post-truncated {
    background: var(--wp--preset--color--grey);
}
.related-posts .post-truncated .abbr-content {
    padding: 10px;
}
.related-posts .post-truncated .term-link {
    display: none;
}
.related-posts .post-truncated h3 {
    font-size: 1.1rem;
    margin: 0 0 10px;
}
/*--------------------------------------------------------------
# Comment Form
--------------------------------------------------------------*/
#respond {
    margin: 0 0 60px;
    --r: 10px; /* radius of circles */
    padding: 40px;
    background: var(--wp--preset--color--grey);
    mask:
            linear-gradient(#000 0 0) no-repeat
            50%/calc(100% - 2*var(--r)) calc(100% - 2*var(--r)),
            radial-gradient(farthest-side,#000 97%,#0000)
            0 0/calc(2*var(--r)) calc(2*var(--r)) round;
}
@media (max-width: 600px) {
    #respond {
        padding: 20px;
    }
}

h2.comment-reply-title, h2.comments-title {
    text-align: left;
    margin-bottom: var(--wp--custom--layout--block-gap-small);
    font-weight: 700;
    width: fit-content;
    border-bottom: 1px solid #010101;
    padding: 0 0 5px;
    margin: 0 0 20px;
}

h2.comments-title {
    margin-top: var(--wp--custom--layout--block-gap-large);
}

.comment-form p {
    margin: 0 0 var(--wp--custom--layout--block-gap-small);
}

p.comment-form-author, p.comment-form-email {
    border: 1px solid #010101;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

p.comment-form-comment {
    border: 1px solid #010101;
    padding: 10px;
    border-radius: 5px;
}
p.comment-form-author label, p.comment-form-email label, p.comment-form-comment label {
    font-family: var(--wp--preset--font-family--custom-sans);
    font-size: var(--wp--preset--font-size--small);
    line-height:1;
}
p.comment-form-author input#author, p.comment-form-email input#email {
    border: 0;
    background: transparent;
    width: 80%;
    font-family: var(--wp--preset--font-family--custom-sans);
    font-size: var(--wp--preset--font-size--medium);
    line-height:1.3;
}

p.comment-form-comment textarea#comment {
    border: 0;
    padding: 0;
    background: transparent;
    font-family: var(--wp--preset--font-family--custom-sans);
    font-size: var(--wp--preset--font-size--medium);
    line-height:1.3;
}
p.comment-form-cookies-consent {
    margin: 0 0 var(--wp--custom--layout--block-gap-small);
    font-size: var(--wp--preset--font-size--xxsmall);
}
.tasty-recipes-ratings.tasty-recipes-comment-form {
    display: flex!important;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 0 0 20px;

}
.tasty-recipes-ratings.tasty-recipes-comment-form legend {
    max-width: fit-content!important;
    width: fit-content!important;
    margin-right: 10px;
    font-weight: 700;
    font-family: var(--wp--preset--font-family--custom-sans);
    font-size: var(--wp--preset--font-size--medium);
    display: block!important;
}
p.form-submit {
    margin: 0;
}

#cancel-comment-reply-link {
    display: block;
    margin-top: var(--wp--custom--layout--block-gap-small);
}

.comment-form-cookies-consent label {
    font-size: var(--wp--preset--font-size--xxsmall);
    line-height: var(--wp--custom--line-height--small);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.comment-form-cookies-consent input {
    vertical-align: middle;
}
p.form-submit input#submit {
    border-radius: 25px;
    padding: 15px 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    font-size: .9rem;
        -webkit-box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .1);
}
p.akismet_comment_form_privacy_notice {
    font-size: .9rem;
    text-align: center;
}
/*--------------------------------------------------------------
# Comment List
--------------------------------------------------------------*/
.comment-content a {
    word-wrap: break-word;
    text-decoration: underline;
    font-weight: 700;
}

ol.comment-list {
    padding: 0;
}
ol.comment-list li {
    padding-left: 0;
}
ol.comment-list li::before {
    display: none;
}

.comment {
    list-style-type: none;
    position: relative;
}

.comment-body {
    margin-bottom: var(--wp--custom--layout--block-gap-xlarge);
    background: var(--wp--preset--color--white);
    border: 1px solid var(--wp--preset--color--grey);
    padding: var(--wp--custom--layout--block-gap);
    position: relative;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    border-radius: 5px;
}
.comment-author {
    font-family: var(--wp--preset--font-family--custom-sans);
    border-bottom: 2px solid var(--wp--preset--color--grey);
    padding: 10px 0;
    margin: 0 0 10px;
}
.comment-author-name-group {
    font-size: var(--wp--preset--font-size--small);
    line-height:1;
}
.comment-author-name-group .says {
    font-style:italic;
}
.comment-metadata {
    font-size: var(--wp--preset--font-size--xxsmall);
    line-height: 1;
    font-weight: 400;
    color: var(--wp--preset--color--ink);
    margin: 0;
}
.comment-metadata a {
    color: var(--wp--preset--color--ink);

}
.comment-content {
    font-size: var(--wp--preset--font-size--small);
    line-height:1.4;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}
.comment-body p {
    margin: 0 0 var(--wp--custom--layout--block-gap-small);
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}
.comment-reply-link {
    text-transform: uppercase;
    font-family: var(--wp--preset--font-family--custom-sans);
    font-size: var(--wp--preset--font-size--xxsmall);
    line-height: 1;
    padding: 10px;
    color: var(--wp--preset--color--ink);
    background: var(--wp--preset--color--grey);
    right: 0;
    bottom: 0;
    position: absolute;
    letter-spacing:.5px;
    border-radius: 5px 0 5px 0;
}


.bypostauthor .comment-body, .comment-author-alexis-lozinak .comment-body, .comment-author-trinahuizenga .comment-body, .comment-author-mlevin211 .comment-body, .comment-author-sally .comment-body, .comment-author-beth .comment-body, .comment-author-ssinoway .comment-body, .comment-author-erin .comment-body {
    border: 1px solid var(--wp--preset--color--pink-light);
    background: var(--wp--preset--color--pink-lightest);
}

.bypostauthor .comment-author, .comment-author-alexis-lozinak .comment-author, .comment-author-trinahuizenga .comment-author, .comment-author-mlevin211 .comment-author, .comment-author-sally .comment-author, .comment-author-beth .comment-author, .comment-author-ssinoway .comment-author, .comment-author-erin .comment-author {
    border-bottom: 1px solid var(--wp--preset--color--pink-light);
}

.bypostauthor .comment-reply-link, .comment-author-alexis-lozinak .comment-reply-link, .comment-author-trinahuizenga .comment-reply-link, .comment-author-mlevin211 .comment-reply-link, .comment-author-sally .comment-reply-link, .comment-author-beth .comment-reply-link, .comment-author-ssinoway .comment-reply-link, .comment-author-erin .comment-reply-link {
    background: var(--wp--preset--color--pink-light);
}
.bypostauthor ol li .comment-body, .comment-author-alexis-lozinak ol li  .comment-body, .comment-author-trinahuizenga ol li  .comment-body, .comment-author-mlevin211 ol li .comment-body, .comment-author-sally ol li  .comment-body, .comment-author-beth ol li .comment-body, .comment-author-ssinoway ol li  .comment-body, .comment-author-erin ol li  .comment-body {
    background: var(--wp--preset--color--white);
    border: 1px solid var(--wp--preset--color--grey);
}
.bypostauthor ol li .comment-author, .comment-author-alexis-lozinak ol li  .comment-author, .comment-author-trinahuizenga ol li  .comment-author, .comment-author-mlevin211 ol li .comment-author, .comment-author-sally ol li  .comment-author, .comment-author-beth ol li .comment-author, .comment-author-ssinoway ol li  .comment-author, .comment-author-erin ol li  .comment-author {
    border-bottom: 1px solid var(--wp--preset--color--grey);
}
.bypostauthor ol li .comment-reply-link, .comment-reply-link-alexis-lozinak ol li  .comment-reply-link, .comment-reply-link-trinahuizenga ol li  .comment-reply-link, .comment-reply-link-mlevin211 ol li .comment-reply-link, .comment-reply-link-sally ol li  .comment-reply-link, .comment-reply-link-beth ol li .comment-reply-link, .comment-reply-link-ssinoway ol li  .comment-reply-link, .comment-reply-link-erin ol li  .comment-reply-link {
    background: var(--wp--preset--color--grey);
}

.comment-reply-link:hover {
    opacity: 1;
    background: var(--wp--preset--color--ink)!important;
    color: var(--wp--preset--color--white);
}
.comments-pagination {
    text-align: center;
    margin: var(--wp--custom--layout--block-gap) auto;
}

/*--------------------------------------------------------------
# Comment Pagination
--------------------------------------------------------------*/
.comment-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
@media (max-width: 425px) {
    .comment-nav-links {
        display: block;
    }
}
.comment-nav-links .wp-element-button {
    border-radius: 25px;
    padding: 15px 25px;
    text-transform: uppercase;
    letter-spacing: .05rem;
    font-weight: 400;
    font-size: .9rem;
    background: var(--wp--preset--color--grey);
    color: var(--wp--preset--color--ink);
    width: fit-content;
    -webkit-box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .1);
}
.comment-nav-links .wp-element-button:hover {
    background: var(--wp--preset--color--ink);
    color: var(--wp--preset--color--white);
    opacity: 1;
}
