.post {
    max-width: 1920px;
    padding: 0 200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    column-gap: 60px;
}

.table-of-content {
    position: sticky;
    top: 100px;
    max-height: 100vh;
    overflow-y: auto;
}

.post .left{
    grid-column: 1 / span 5;
}

.post .right{
    grid-column: 6 / -1;
    padding-top: 120px;
    padding-left: 40px;
}

.post .post-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
}

.post .post-meta-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post .post-meta-left img {
    border-radius: 50%;
    height: 48px;
    width: 48px;
}

.post-meta .author-name {
    font-size: 16px;
    color: var(--main-black);
    margin-bottom: 4px;
}


.post-meta .author-bio {
    font-size: 14px;
    color: var(--secondary-black);
}

.post-meta-right {
    color: var(--secondary-black);
    display: flex;
    align-items: center;
}

.post-meta-right .shareButton {
    display: none;
}

.main-image {
    width: 100%;
}

.comments-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--secondary-black);
}

.comments-count:hover {
    color: var(--accent-light-bg);
}

.comments-count:hover svg path {
    stroke: var(--accent-light-bg);
}

.bottom-meta {
    display: flex;
    font-size: 14px;
    align-items: center;
    gap: 6px;
    color: var(--secondary-black);
}

.post .post-title {
    padding-top: 100px;
    padding-bottom: 32px;
}

.post .toc-scroll-area .title-3 {
    padding-bottom: 16px;
}


.right .share .tab{
    margin-bottom: 20px;
}

.right .share {
    margin-bottom: 48px;
}

.post-content .share .tab, .right .share .tab{
    text-transform: uppercase;
}

.post-content .share .share-icons, .right .share .share-icons{
    gap: 12px;
    display: flex;
    align-items: center;
}

.right .share .share-icons a{
    height: 40px;
    width: 40px;
    border-radius: 10px;
    border: 1px solid var(--n-grey-BG);
    background: var(--n-white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.post-content .share .share-icons a {
    height: 40px;
    width: 40px;
    border-radius: 8px;
    border: 1px solid var(--n-grey-BG);
    background: var(--n-light-blue-BG);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.tooltip{
    position: absolute;
    background: var(--main-black);
    color: rgba(255, 255, 255, 1);
    padding: 12px;
    border-radius: 10px 10px 0 10px;
    font-size: 14px;
    right: 0;
    bottom: 46px;
    width: max-content;
    display: none;
}

.post-content .share .share-icons a:hover .tooltip, .right .share .share-icons a:hover .tooltip{
    display: block;
}

.post-content .share .share-icons img, .right .share .share-icons img{
    height: unset;
    padding: 8px;
    width: auto;
}

.main-image.mobile {
    display: none;
}

.post-content .share {
    margin-top: 60px;
    padding-top: 40px;
    padding-bottom: 70px;
    border-top: 1px solid var(--secondary-white);
    display: flex;
    align-items: center;
    gap: 24px;
}

.post-content .share .default-button{
    display: none;
}

.right .toc-title-2, .right .toc-title-3 {
    border-bottom: 1px solid var(--secondary-white);
}

.right .toc-title-2 a{
    color: var(--n-black);
}

.right .toc-title-3 a{
    color: var(--n-dark-grey);
}

.toc-title-2 {
    padding: 16px 0;
}

.toc-title-3 {
    padding: 16px 0 16px 0px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.table-mobile{
    display: none;
}

#toc a:hover{
    color: var(--accent-light-bg);
}

/*comments*/
.comments .comments-title{
    margin-top: 0;
    margin-bottom: 36px;
    font-size: 32px;
    font-weight: 700;
}

#comment {
    margin-bottom: 28px;
}

#custom-comment-form .fields {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    display: none;
}

#custom-comment-form .fields.active{
    display: grid;
}

#custom-comment-form{
    width: 893px;
    margin-bottom: 36px;
}

#custom-comment-form input{
    border: 1px solid rgba(166, 168, 176, 1);
    border-radius: 8px;
    padding: 15px 16px;
    font-size: 16px;
    width: 100%;
}

#custom-comment-form input::placeholder{
    color: rgba(166, 168, 176, 1);
}

.comment-btns{
    margin-top: 34px;
    gap: 12px;
    display: none;
}

.comment-btns.active{
    display: flex;
}

.default-button#cancel{
    color: var(--accent-light-bg);
    background: transparent;
    border: 1px solid var(--accent-light-bg);
    cursor: pointer;
}

.email-field .note{
    position: absolute;
    right: 14px;
    top: 14px;
    cursor: pointer;
}

.email-field{
    position: relative;
}

.email-field p{
    display: none;
}

.email-field .note:hover p{
    display: block;
    position: absolute;
    background: var(--main-black);
    padding: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 1);
    border-radius: 10px 10px 0 10px;
    width: 292px;
    right: 19px;
    bottom: 34px;
}

.toc-scroll-area {
    max-height: calc(100vh - 120px);
}

#comment-status{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(76, 80, 90, 0.5);
    z-index: 10;
}

#comment-status.active{
    display: flex;
}

#comment-status .suc-popup{
    max-width: 600px;
    height: auto;
    background: var(--white-bg);
    padding: 48px 40px;
    border-radius: 10px;
    text-align: center;
    position: relative;
}
#comment-status .suc-popup svg{
    position: absolute;
    top: 14px;
    cursor: pointer;
    right: 14px;
}

#comment-status .suc-popup .title-3{
    margin-bottom: 16px;
}

#comment-status .suc-popup .main-text{
    margin-bottom: 40px;
}
.comment-body {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--secondary-white);
    margin-bottom: 32px;
}

#comments-container .comment-body:last-child{
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 28px;
}

.comment-content.main-text{
    margin: 0 !important;
}

#load-more-comments {
    font-size: 20px;
    color: var(--accent-light-bg);
    font-weight: 500;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
}

.comment-meta{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.comment-meta .small-text{
    color: var(--secondary-black);
}

.post .post-meta .bottom-meta .month,
.comment-body .comment-meta .comment-date .month {
    text-transform: capitalize;
}

.post .right .toc-scroll-area svg {
    width: 10px;
    height: 10px;
}


@media (max-width: 1919px) {
    .post{
        padding: 0 80px 0 80px;
    }

    .right-padding {
        padding-right: 60px;
    }

    .post .post-title {
        padding-top: 80px;
    }


    .right .share .tab{
        margin-bottom: 12px;
    }

    .toc-title-2, .toc-title-3{
        font-size: 14px;
    }

    .post-meta-right .shareButton span, .share .default-button span {
        line-height: 1;
    }

    .post-content .main-text {
        margin-bottom: 26px;
    }

    .post-content .title-3{
        margin-top: 40px;
        margin-bottom: 28px;
    }

    .post-content .title-2 {
        margin-top: 42px;
        margin-bottom: 32px;
        font-size: 28px;
    }


    .comments .comments-title{
        margin-bottom: 32px;
        font-size: 28px;
    }

    #custom-comment-form {
        margin-bottom: 24px;
    }

    #custom-comment-form input {
        font-size: 14px;
    }

    #comment {
        margin-bottom: 22px;
    }

    .post .right{
        padding-top: 100px;
        padding-left: 0px;
    }

    .post .post-title {
        padding-bottom: 24px;
    }

    .right .share {
        margin-bottom: 40px;
    }

    .post-content .share {
        margin-top: 48px;
        padding-top: 32px;
        padding-bottom: 50px;
    }
    .post .toc-scroll-area .title-3 {
        padding-bottom: 12px;
    }
}


@media (max-width: 1439px) {
    .post-meta .author-name {
        font-size: 14px;
    }

    .post-meta .author-bio {
        font-size: 12px;
    }

    .comments-count {
        font-size: 12px;
    }

    .post .post-meta-left img {
        height: 48px;
        width: 48px;
    }

    .bottom-meta {
        font-size: 12px;
    }


    .post-content .share{
        padding-bottom: 60px;
    }

    .post-content .main-text {
        margin-bottom: 24px;
    }

    .post-content .title-2 {
        font-size: 26px;
    }


    .comments .comments-title{
        font-size: 26px;
    }

    #custom-comment-form, .comments-area{
        width: 597px;
    }

    #comments-container .comment-body:last-child {
        margin-bottom: 20px;
    }

    #load-more-comments {
        font-size: 16px;
        gap: 8px;
    }

    .post-content .share {
        margin-top: 40px;
        padding-top: 24px;
        padding-bottom: 40px;
    }

    .post {
        column-gap: 40px;
        padding: 0 60px 0 60px;
    }

    .post .post-title {
        padding-top: 60px;
    }
}


@media (max-width: 1279px) {
    .post{
        padding: 0 40px;
    }

    .post .left {
        grid-column: 1 / span 12;
    }

    .post .post-title {
        padding-top: 40px;
        padding-bottom: 24px;
    }

    .post .post-meta {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }

    .post-meta-right {
        gap: 12px;
        font-size: 12px;
    }

    .post-meta-right .shareButton {
        display: flex;
        align-items: center;
        padding: 8px 12px;
        border-radius: 8px;
        color: var(--main-black);
        background: var(--main-bg);
        border: none !important;
        gap: 8px;
    }

    .post-meta-right .shareButton path{
        stroke: var(--main-black);
    }

    .post .post-meta {
        margin-bottom: 0;
    }

    .post-content .title-3{
        margin-top: 36px;
        margin-bottom: 26px;
    }

    .post-content .title-2 {
        margin-top: 36px;
        margin-bottom: 28px;
        font-size: 22px;
    }

    .comments-count {
        gap: 8px;
        background: var(--main-bg);
        padding: 8px 12px;
        border-radius: 8px;
        font-size: 12px;
    }

    .main-image.mobile {
        display: block;
        margin-top: 32px;
        margin-bottom: 32px;
    }

    .main-image.desktop {
        display: none;
    }

    .right {
        display: none;
    }

    .table-mobile {
        display: block;
        border-bottom: 1px solid var(--secondary-white);
        border-top: 1px solid var(--secondary-white);
        margin-bottom: 32px;
    }

    .table-mobile .little-tab-posts{
        margin-right: auto;
    }

    .table-mobile .toc-toggle svg {
        padding-right: 10px;
    }

    .table-mobile .toc-title-2, .table-mobile .toc-title-3{
        text-decoration: underline;
        padding: 16px 0;
        font-size: 14px;
    }

    .table-mobile .toc-title-3{
        margin-left: 14px;
    }

    .post-content .share .tab {
        display: none;
    }

    .post-content .share .default-button {
        font-size: 12px;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
    }

    .post-content .share {
        padding-top: 18px;
    }


    .comments .comments-title{
        font-size: 22px;
        margin-bottom: 28px;
    }

    #custom-comment-form, .comments-area{
        width: 100%;
    }

    #comment-status .suc-popup{
        max-width: 350px;
        padding: 32px 24px;
    }
    #comment-status .suc-popup svg{
        height: 20px;
        width: 20px;
    }
    #comment-status .suc-popup .main-text{
        margin-bottom: 18px;
    }

    .post-content .share {
        margin-top: 40px;
        padding-top: 24px;
        padding-bottom: 30px;
    }
}

@media (max-width: 1079px) {
    .post .post-title {
        padding-top: 60px;
        padding-bottom: 20px;
    }
}


@media (max-width: 767px) {
    #custom-comment-form {
        margin-bottom: 0px;
    }
    .post {
        padding: 0 16px;
    }

    .post .post-title {
        padding-top: 40px;
    }

    .post .post-meta{
        margin-bottom: 0;
    }

    .post-content .share{
        padding-bottom: 40px;

    }
    .post-content .share .default-button{
        width: 100%;
        background: var(--main-bg);
        color: var(--main-black);
        border: none;
        padding: 14px;
        justify-content: center;
        font-size: 12px;
        font-weight: 400;
    }

    .post-content .share .default-button path {
        stroke: var(--secondary-black);
    }

    .toc-title-2 {
        font-size: 12px;
    }

    .table-mobile {
        margin-bottom: 12px;
    }

    .table-mobile .title-3 {
        font-size: 14px;
    }

    .post .post-meta, .post-meta-right {
    }

    .table-mobile {
        margin-bottom: 24px;
    }

    #custom-comment-form input {
        padding: 13px 16px;
        margin: 0 0 18px 0;
    }

    #custom-comment-form .fields {
        grid-template-columns: 1fr;
        gap: 0;
    }

    #comments-container .comment-body:last-child {
        margin-bottom: 28px;
    }

    #comments-container .comment-body:first-child {
        margin-top: 24px;
    }

    .comment-btns{
        margin-top: 18px;
    }

    .post-content .share {
        margin-top: 32px;
        padding-top: 20px;
        padding-bottom: 20px;
    }
}



/*toast styles*/
  .toast {
      position: fixed;
      top: 40px;
      border-radius: 10px;
      padding: 16px 18px;
      background-color: var(--white-bg);
      color: #363636;
      border:1px solid #dfdfe3;
      box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.15);
      z-index: 1000;
      display:flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      width: 420px;
      opacity: 0;
      transition: transform 0.5s ease, opacity 0.5s ease;
      font-size: 14px;
      font-weight: 500;
      line-height: 20px;
      opacity: 0;
      right: -450px;
  }

.toast-content{
    display: flex;
    gap: 12px;
}

.toast-text{
    display:inline-block;
    padding-top: 6px;
}

#toast-close{
    cursor: pointer;
}

.toast.active{
    opacity: 1;
    right: 20px;
}

@media screen and (max-width: 1439px) {
    .toast {
        font-size: 12px;
    }
}

@media screen and (max-width: 1079px) {
    .toast {
        width: 400px;
        margin-right: 5%;
    }

    .toast.active{
        transform:translateX(10px);
    }
}

@media screen and (max-width: 576px) {
    .toast {
        width: 90%;
        max-width: 400px;
        margin-right: 1%;
    }
}