main>.container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-top: 50px;
}

.exm-post {
    flex: 0.75;
}

aside {
    flex: 0.24;
}

.post-details {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.post-details img {
    position: relative;
    width: 100%;
    height: 480px;
    object-fit: cover;
    z-index: 1;
    margin-bottom: -10px;
}

.post-details .details {
    position: absolute;
    left: 0;
    bottom: 0;
    background: #000000;
    background: linear-gradient(0deg, rgb(0 0 0 / 70%) 0, rgba(179, 166, 63, 0) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    gap: 10px;
    z-index: 2;
    padding: 24px;
    box-sizing: border-box;
}

.post-details .details .icons {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: flex-start;
}

.post-details .details .icons .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    vertical-align: middle;
}

.post-details .details .title>* {
    font-weight: 800;
    font-size: 28px;
    line-height: 60px;
    text-transform: capitalize;
    color: #F8F8F8;
    margin: 0;
    padding: 0;
}

.post-details .details .breadcrumb ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    gap: 5px;
    align-items: center;
}

.post-details .details .breadcrumb li {
    position: relative;

}

.post-details .details .breadcrumb li:not(:first-child) {
    padding-right: 15px;
}

.post-details .details .breadcrumb li:not(:first-child)::before {
    content: '/';
    position: absolute;
    top: 0;
    right: 0;
    font-weight: 400;
    font-size: 15px;
    line-height: 23px;
    text-align: right;
    text-transform: capitalize;
    color: #F8F8F8;
}

.post-details .details .breadcrumb li>a {
    font-weight: 400;
    font-size: 15px;
    line-height: 23px;
    text-align: right;
    text-transform: capitalize;
    color: #F8F8F8;
}

.post-content {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    margin-top: 30px;
    position: relative;
    padding: 28px;
    padding-right: 8px;
    box-sizing: border-box;
    background: #FFFFFF;
    border: 1px solid #E8E8E8;
    border-radius: 24px;
    gap: 10px;
}

.post-content>.tools {
    width: 60px;
    padding: 10px;
    box-sizing: border-box;
}

.post-content>.tools .items {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    position: sticky;
    top: 120px;
}

.post-content>.tools .item {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F5F2ED;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.post-content>.tools .item.time {
    width: 40px;
    height: 70px;
    background: #B8A27C;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #fff;
}

.post-content>.content {
    flex: 1;
}

.post-content>.content>h1,
.post-content>.content>h2,
.post-content>.content>h3,
.post-content>.content>h4,
.post-content>.content>h5,
.post-content>.content>h6 {
    margin: 5px 0;
    font-weight: 800;
    line-height: 44px;
    text-transform: capitalize;
    color: var(--primary-color);
}

.post-content>.content>p {
    margin: 0;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 40px;
    text-transform: capitalize;
    color: var(--primary-color);
}

.post-content>.content a {
    color: var(--secondary-color);
    text-decoration: none;
}

.post-content table {
    border-collapse: separate;
    border-spacing: 10px;
    width: 100%;
    direction: rtl;
}

.post-content table th,
.post-content table td {
    border: 1px solid #E8E8E8;
    border-radius: 6px;
    padding: 8px 12px;
    background: #fff;
    text-align: center;
}

.post-content table thead th {
    background: #E5EAF2;
    font-weight: bold;
}

.post-content .consulting {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #F8F8F8;
    padding: 36px;
    box-sizing: border-box;
    border-radius: 20px;
    margin-top: 20px;
}

.post-content .consulting .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-content .consulting .head .title {
    font-weight: 800;
    font-size: 24px;
    line-height: 40px;
    color: var(--primary-color);
}

.post-content .consulting .head .desc {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: var(--muted-color);
}

.post-content .consulting .form form {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.exm-post .copy-link {
    padding: 24px;
    box-sizing: border-box;
    background: #FFFFFF;
    border: 1px solid #E8E8E8;
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.exm-post .copy-link .field {
    min-width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    background-color: #F5F2ED;
    padding: 10px;
    border-radius: 12px;
}

.exm-post .copy-link .field input {
    flex: 1;
    border: none;
    padding: 8px;
    background: transparent;
    color: var(--primary-color);
}

.exm-post .copy-link .field .btn {
    padding-right: 20px;
    padding-left: 20px;
}

.exm-post .copy-link .title {
    font-weight: 800;
    font-size: 24px;
    line-height: 40px;
    color: var(--primary-color);
}

.exm-post .comment-form-holder {
    padding: 24px;
    box-sizing: border-box;
    background: #FFFFFF;
    border: 1px solid #E8E8E8;
    border-radius: 24px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
}

.exm-post .comment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.exm-post .comment-form-holder .title {
    font-weight: 800;
    font-size: 24px;
    line-height: 40px;
    text-transform: capitalize;
    color: var(--primary-color);
}

.exm-post .comment-form .row-1 {
    width: 100%;
}

.exm-post .comment-form .row-2 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: nowrap;
}

.exm-post .comment-form .field {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    background: #FFFFFF;
    border: 1px solid #E8E8E8;
    border-radius: 16px;
    box-sizing: border-box;
    padding: 20px;
}

.exm-post .comment-form .field:has(textarea) {
    align-items: flex-start;
}

.exm-post .comment-form .field>input,
.exm-post .comment-form .field textarea {
    background-color: transparent;
    border: none;
    outline: none;
    padding: 5px 20px 5px 5px;
    resize: none;
}

.exm-post .comment-form .field>label {
    white-space: nowrap;
    font-weight: 400;
    font-size: 16px;
    line-height: 36px;
    color: var(--primary-color);
    border-left: 1px solid #E8E8E8;
    padding-left: 20px;
}

.exm-post .comment-form button[type="submit"] {
    white-space: nowrap;
    align-self: stretch;
    padding-right: 20px;
    padding-left: 20px;
}

.exm-post .comments-section {
    padding: 24px;
    box-sizing: border-box;
    background: #FFFFFF;
    border: 1px solid #E8E8E8;
    border-radius: 24px;
    margin-top: 30px;
}

.exm-post .comments-section .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.exm-post .comments-section .title {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 24px;
    line-height: 40px;
}

.exm-post .comments-section .head .comments-count {
    font-weight: 400;
    font-size: 16px;
    line-height: 36px;
    color: var(--muted-color);
}

.exm-post .wpcf7-form {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    gap: 10px;
}

.exm-post .wpcf7-form .fields {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.exm-post .wpcf7-form .fields .btn {
    height: 55px;
}

.exm-post p .wpcf7-spinner {
    position: absolute;
}

.exm-post .wpcf7-response-output {
    width: 100%;
}

.exm-post input[type="text"],
.exm-post textarea,
.exm-post input[type="number"],
.exm-post input[type="email"],
.exm-post input[type="password"],
.exm-post input[type="tel"] {
    border: none;
}

.comment-item {
    margin-top: 20px;
}

.comment-item .comment-item {
    width: 95%;
    margin-left: auto;
    margin-right: auto;

}

.comment-item .comment-item .comment-body {
    background: #FFFFFF;
    border: 1px solid #EFEFEF;
    border-radius: 16px;
}

.comment-item .comment-body {
    background: #F8F8F8;
    border-radius: 16px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    box-sizing: border-box;
    padding: 20px;
    border-radius: 16px;
    gap: 20px
}

.comment-item .comment-body .content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.comment-item .comment-body .content .details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comment-item .avatar img {
    border-radius: 50%;

}

.comment-item .author-name,
.comment-item .author-name a {
    font-weight: 700;
    font-size: 16px;
    line-height: 25px;
    text-align: center;
    color: var(--primary-color);
}


.comment-item .comment-date {
    font-weight: 400;
    font-size: 15px;
    line-height: 23px;
    text-align: center;
    color: var(--muted-color);
}

.comment-item .comment {
    font-weight: 400;
    font-size: 15px;
    line-height: 34px;
    color: var(--primary-color);
}

.comment-item .actions {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.comment-item .actions .comment-reply-link {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 12px;
    background: #FFFFFF;
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: var(--muted-color);
}

.comment-item .comment-form {
    margin-top: 20px;
}

.comment-item .cancel-reply {
    color: #ff0000;
}

/* ASIDE */

aside .widgets {
    position: sticky;
    top: 130px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

aside .widget {
    box-sizing: border-box;
    padding: 16px;
    background: #FFFFFF;
    border: 1px solid #E8E8E8;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

aside .widget>.title {
    font-weight: 800;
    font-size: 16px;
    line-height: 36px;
    color: var(--primary-color);
    padding-bottom: 14px;
    border-bottom: 1px solid #E8E8E8;
}

aside .widget ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

aside .widget ul li {
    position: relative;
    padding-right: 18px;
}

aside .widget ul li::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    top: calc(50% - 7px);
    right: 0;
    border: 1px solid var(--secondary-color);
}

aside .widget ul li a {
    font-weight: 400;
    font-size: 15px;
    line-height: 23px;
    color: var(--primary-color);
}

aside .widget ul#toc a {
    color: var(--muted-color);
}

aside .widget ul#toc a.c {
    color: var(--primary-color);
}

aside .related-posts .content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

aside .related-posts .related-post:not(:last-child) {
    padding-bottom: 20px;
    border-bottom: 1px dashed #E8E8E8;
}

aside .related-posts .related-post a {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
    font-weight: 400;
    font-size: 14px;
    line-height: 28px;
    color: var(--primary-color);
}

aside .related-posts .related-post img {
    width: 74px;
    height: 58px;
    object-fit: cover;
    border-radius: 10px;
}