/* SINGLE */
.single-post .content-area {
    width: 100%;
}
.single-post .post .wp-post-image {
    margin: 0;
}
.single-thumbnail {
    height: 480px;
    margin: 0 0 25px;
    border-radius: 0;
    text-align: center;
    overflow: hidden;
}
.single-thumbnail img {
    width: 100%;
    height: 100%;
    margin: 0;
	border-radius: 6px
    object-fit: cover;
	overflow: hidden;
	object-fit: cover;
}
.single-post-grid {
    display: block;
    padding-bottom: 40px;
}
.single-post-grid.post-has-sidebar {
    display: flex;
    gap: 50px;
}
@media screen and (max-width: 767px) {
    .single-post-grid.post-has-sidebar {
        flex-direction: column-reverse;
        gap: 25px;
    }
}
.single-post-content {
    flex-grow: 1;
    width: 100%;
}
@media screen and (min-width: 768px) {
    .single-post-content {
        width: calc(100% - 440px);
    }
}
.single-post-sidebar {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    align-self: stretch;
    width: 390px;
    padding: 0;
}
@media screen and (max-width: 1024px) {
    .single-post-sidebar {
        width: 30%;
    }
}
@media screen and (max-width: 767px) {
    .single-post-sidebar {
        /*display: none;*/
        width: 100%;
    }
}
.post h1.entry-title {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 2.7rem;
	text-transform: initial;
}
@media screen and (max-width: 990px) {
    .post h1.entry-title {
        font-size: 2rem;
        line-height: 2.25rem;
    }
}
@media screen and (max-width: 499px) {
    .post h1.entry-title {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}
.single-entry-header {
    display: flex;
    align-items: center;
    gap: 50px;
    padding-top: 30px;
    padding-bottom: 30px;
}
@media screen and (max-width: 990px) {
    .single-entry-header {
        gap: 25px;
    }
}
@media screen and (max-width: 499px) {
    .single-entry-header {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}
.single-entry__info {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.875rem;
}
.single-entry__info:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #d4d4d4;
}
@media screen and (max-width: 499px) {
    /*.single-entry__info {
        width: max-content;
    }
    .single-entry__info.icon-calendar {
        order: 3;
        width: 100px;
    }
    .single-entry__info.icon-views {
        order: 4;
        width: 100px;
    }*/
}
.single-entry-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 20px;
    background-color: #f7f6fb;
    border-radius: 6px;
}
@media screen and (max-width: 990px) {
    .single-entry-footer {
        flex-direction: column;
        gap: 20px;
    }
}
.single__author-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-right: 10px;
    border-right: 1px solid #ccc;
}
@media screen and (max-width: 990px) {
    .single__author-wrapper {
        border: 0;
        padding-right: 0;
    }
}
.single__author-img {
    flex-shrink: 0;
    height: 60px;
    width: 60px;
    margin-right: 15px;
    overflow: hidden;
    border-radius: 50%;
}
@media screen and (max-width: 767px) {
    .single__author-img {
        height: auto;
        margin-right: 25px;
    }
}
.single__author-img img {
    display: block;
    height: 60px;
    width: 60px;
    object-fit: cover;
}
.single__author-label {
    color: #8b8b8b;
    font-size: 0.875rem;
    text-transform: capitalize;
}
.single__author-name {
    color: #2b2b2b;
    font-size: 1rem;
    font-weight: 600;
}
.single__author-position {
    color: #66666c;
    font-size: 0.75rem;
}
.single__rate-wrapper {
    width: 300px;
    flex-shrink: 0;
}
@media screen and (max-width: 1023px) {
    .single__rate-wrapper {
        width: 180px;
    }
}
@media screen and (max-width: 599px) {
    .single__rate-wrapper {
        width: 100%;
        align-self: stretch;
        padding-top: 20px;
        border-top: 1px solid #ccc;
    }
}

/* TABLE OF CONTENT */
.post-table-of-contents {
    position: sticky;
    top: 100px;
    padding: 25px 0;
    background-color: #f7f6fb;
    border-radius: 6px;
}
@media screen and (max-width: 767px) {
    .post-table-of-contents {
        padding: 15px 0;
    }
}

.table-of-contents-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 29px 0;
    font-size: 1.25rem;
    font-weight: 600;
}
.table-of-contents-toggle {
    display: block;
    width: 32px;
    height: 32px;
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTYuOTM5IDcuOTM5IDEyIDEyLjg3OWwtNC45MzktNC45NC0yLjEyMiAyLjEyMkwxMiAxNy4xMjFsNy4wNjEtNy4wNnoiLz48L3N2Zz4=) no-repeat center transparent;
    transform: rotate(180deg);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.table-of-contents-toggle.toggle-active {
    transform: rotate(0);
}
.post-toc-list {
    position: relative;
}
@media screen and (max-width: 900px) {
    .post-toc-list {
        display: none;
    }
}
.toc-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.toc-list-item a {
    position: relative;
    display: block;
    padding: 10px 25px;
    border-left: 4px solid transparent;
    color: #8b8b8b;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}
.toc-list-item a.is-active-link {
    color: #111;
    border-left: 4px solid var(--blog-main-color);
}


/* YARPP */
.yarpp-block-title {
    margin: 50px 0 25px;
    font-size: 2.25rem;
    font-weight: 400;
}
@media screen and (max-width: 499px) {
    .yarpp-block-title {
        font-size: 1.3125rem;
    }
}

/* Rate my Post plugin */
  .rmp-widgets-container.rmp-wp-plugin.rmp-main-container {
      margin: 0;
  }

.rmp-heading--title {
    color: #2B2B2B;
    /*font-family: var(--rosso-font);*/
    font-size: 0.85rem;
    font-weight: 400;
}

.rmp-heading--subtitle {
    display: none;
}

.rmp-rating-widget__not-rated.js-rmp-not-rated,
.rmp-rating-widget__results.js-rmp-results {
    display: none;
}

.rmp-rating-widget__msg.js-rmp-msg {
    font-size: 0.75rem;
}

/* COMMENTS */
.comment-content a {
    word-wrap: break-word;
}
.bypostauthor {
    display: block;
}
.comments-area {
    padding: 50px 0;
}
.comments-area ol {
    list-style: none;
}
.comments-title {
    margin: 0 0 25px;
    font-size: 2.25rem;
    font-weight: 400;
}
@media screen and (max-width: 400px) {
    .comments-title {
        font-size: 1.5rem;
    }
}
.comment-list {
    padding: 0;
    margin-left: 0;
}
.comment-list ol.children {
    margin-left: 0;
}
.comment-author.vcard {
    display: flex;
    align-items: center;
}
.comment__author-avatar {
    width: 50px;
    height: 50px;
    margin-right: 20px;
    border-radius: 50%;
    overflow: hidden;
}
.comment-author .fn {
    font-weight: 500;
}
.comment-metadata .comment-meta {
    margin-top: 0.15rem;
    color: #9b9b9b;
    font-size: 0.75rem;
}
.comment-text {
    padding: 0 15px 0 70px;
}
.comment-text p {
    margin-top: 0;
    margin-bottom: 0.25rem;
}
.comment-body {
    margin: 0.625rem 0;
    background-color: var(--blog-grey-color);
    border-radius: 6px;
    padding: 1rem;
}
.comment-body .reply {
    margin-top: 0;
    margin-left: 70px;
    opacity: 0;
    height: 0;
    transition: all 0.3s ease-in-out;
}
.comment-body:hover .reply {
    height: 25px;
    opacity: 1;
}
.comment-body .reply a {
    color: var(--blog-main-color);
}
.comment-respond {
    padding: 40px;
    background-color: var(--blog-grey-color);
    border-radius: 6px;
}
@media screen and (max-width: 500px) {
    .comment-respond {
        padding: 20px;
    }
}
.comment-form-comment textarea {
    resize: vertical;
}
.comment-form-comment textarea,
.comment-form-author input[type="text"],
.comment-form-email input[type="email"] {
    width: 100%;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #fff;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
}
.comment-form-comment textarea:focus,
.comment-form-author input[type="text"]:focus,
.comment-form-email input[type="email"]:focus {
    background-color: #fff;
    border: 1px solid #ccc;
}

.comment-form .submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 348px;
    width: 100%;
    padding: 16px 29px;
    background: transparent;
    border: 1px solid #e60000;
    border-radius: 6px;
    color: #e60000;
    font-family: InterRegular, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    transition: all .35s ease;
    cursor: pointer;
}

.comment-form .submit:hover {
    background: #bc0d0d;
    border-color: #bc0d0d;
    color: #fff;
}




/* Typography for text */
.single-post-content {
  font-size: clamp(16px, 1.2vw + 0.5rem, 18px);
  line-height: 1.7;
}

.single-post-content h1,
.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6 {
  font-weight: 600;
  line-height: 1.3;
  margin: 2em 0 1em;
  text-transform: initial;
}

.single-post-content h1 { font-size: clamp(28px, 3.1vw, 38px); }
.single-post-content h2 { font-size: clamp(24px, 2.6vw, 34px); }
.single-post-content h3 { font-size: clamp(20px, 2vw, 28px); }
.single-post-content h4 { font-size: clamp(18px, 1.7vw, 24px); }
.single-post-content h5 { font-size: clamp(17px, 1.5vw, 20px); }
.single-post-content h6 { font-size: clamp(16px, 1.3vw, 18px); }

.single-post-content p {
  margin: 1em 0;
}

.single-post-content p img {
	display: inline-block;
	vertical-align: middle;
}

.single-post-content a {
  color: #0073aa;
  text-decoration: underline;
}
.single-post-content a:hover {
  color: #005177;
  text-decoration: none;
}

.single-post-content ul,
.single-post-content ol {
  margin: 1em 0 1em 2em;
}

.single-post-content ul {
  list-style-type: disc;
}

.single-post-content ol {
  list-style-type: decimal;
}

.single-post-content blockquote {
  margin: 2em 0;
  padding: 1em 1.5em;
  border-left: 4px solid #ccc;
  background: #f9f9f9;
  font-style: italic;
  color: #555;
}

.single-post-content figure.wp-block-table {
  margin: 2em 0;
  overflow-x: auto;
}

.single-post-content figure.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(15px, 1vw + 0.5rem, 17px);
}

.single-post-content figure.wp-block-table th,
.single-post-content figure.wp-block-table td {
  padding: 0.75em 1em;
  border: 1px solid #ddd;
  text-align: left;
}

.single-post-content figure.wp-block-table th {
  background-color: #f0f0f0;
  font-weight: 600;
}