.brd {
    padding: 24px 0;
}
.single__layout {
    padding-bottom: 72px;
}

.page__layout {
    padding-bottom: 72px;
}

.page__layout__content {
    width: 100%;
}

.page__layout__header {
    margin-bottom: 32px;
}

.page__layout__header h1 {
    color: #212121;
    font-weight: 600;
    font-size: 24px;
    line-height: 135%;
    letter-spacing: 1%;
    margin: 0;
}
.single__layout .container {
    display: grid;
    grid-template-columns: 8.5fr 3.5fr;
    gap: 24px;
}

.single__layout_post {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.single__layout_post__top {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.single__layout_post__top h1 {
    color: #212121;
    font-weight: 600;
    font-size: 24px;
    leading-trim: NONE;
    line-height: 135%;
    letter-spacing: 1%;
    vertical-align: middle;
}

.single__layout_post__top__meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.single__layout_post__top__meta__content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.single__layout_post__top__meta__content a,
.single__layout_post__top__meta__content span {
    color: #BDBDBD;
    font-weight: 400;
    font-size: 12px;
    leading-trim: NONE;
    line-height: 146%;
    letter-spacing: 1%;
    vertical-align: middle;
    text-decoration: none;
}

.single__layout_post__top__meta__content .post-card-category a {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.46;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #ee3438 0%, #f15a37 87.06%, #f58135 100%);
    background-clip: border-box;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.single__layout_post__top__meta__share {
    display: flex;
    gap: 12px;
    align-items: center;
}

.single__layout_post__top__meta__share a,
.single__layout_post__top__meta__share button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.single__layout_post__top__meta__share a svg,
.single__layout_post__top__meta__share button svg {
    width: 16px;
    height: 16px;
}

.single__layout_post__top__meta__share button.is-copied {
    opacity: .6;
}

.single__layout_post__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.single__layout_post__featured img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.single__layout_post__content__editor,
.page__layout__editor {
    color: #212121;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 1%;
}

.single__layout_post__content__editor>*:first-child,
.page__layout__editor>*:first-child {
    margin-top: 0;
}

.single__layout_post__content__editor>*:last-child,
.page__layout__editor>*:last-child {
    margin-bottom: 0;
}

.single__layout_post__content__editor h1,
.single__layout_post__content__editor h2,
.single__layout_post__content__editor h3,
.single__layout_post__content__editor h4,
.single__layout_post__content__editor h5,
.single__layout_post__content__editor h6 {
    color: #212121;
    font-weight: 600;
    line-height: 1.38;
    margin: 24px 0 12px;
}

.page__layout__editor h1,
.page__layout__editor h2,
.page__layout__editor h3,
.page__layout__editor h4,
.page__layout__editor h5,
.page__layout__editor h6 {
    color: #212121;
    font-weight: 600;
    line-height: 1.38;
    margin: 24px 0 12px;
}

.single__layout_post__content__editor h1 {
    font-size: 22px;
}

.single__layout_post__content__editor h2 {
    font-size: 20px;
}

.single__layout_post__content__editor h3 {
    font-size: 19px;
}

.single__layout_post__content__editor h4 {
    font-size: 18px;
}

.single__layout_post__content__editor h5 {
    font-size: 17px;
}

.single__layout_post__content__editor h6 {
    font-size: 16px;
}

.page__layout__editor h1 {
    font-size: 22px;
}

.page__layout__editor h2 {
    font-size: 20px;
}

.page__layout__editor h3 {
    font-size: 19px;
}

.page__layout__editor h4 {
    font-size: 18px;
}

.page__layout__editor h5 {
    font-size: 17px;
}

.page__layout__editor h6 {
    font-size: 16px;
}

.single__layout_post__content__editor p,
.single__layout_post__content__editor ul,
.single__layout_post__content__editor ol,
.single__layout_post__content__editor blockquote {
    margin: 0 0 16px;
}

.page__layout__editor p,
.page__layout__editor ul,
.page__layout__editor ol,
.page__layout__editor blockquote {
    margin: 0 0 16px;
}

.single__layout_post__content__editor ul,
.single__layout_post__content__editor ol {
    padding-left: 20px;
}

.page__layout__editor ul,
.page__layout__editor ol {
    /* Keep bullets close to their text while preserving readable wrapping. */
    padding-inline-start: 1.25em;
}

.page__layout__editor li {
    padding-inline-start: 0;
}

.single__layout_post__content__editor img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.page__layout__editor img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Classic-editor and block-editor centred images need an explicit block
 * layout in this theme; otherwise they sit at the left edge of the editor. */
.page__layout__editor .aligncenter,
.page__layout__editor figure.aligncenter,
.page__layout__editor .wp-block-image.aligncenter {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.page__layout__editor img.aligncenter,
.page__layout__editor .aligncenter img,
.page__layout__editor figure.aligncenter img,
.page__layout__editor .wp-block-image.aligncenter img {
    display: block;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.single__layout_post__content__tag {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.single__layout_post__content__tag a {
    border: 1px solid #EEEEEE;
    padding: 4px 12px;
    border-radius: 24px;
    color: #9E9E9E;
    font-weight: 400;
    font-size: 14px;
    leading-trim: NONE;
    line-height: 145%;
    letter-spacing: 1%;
    vertical-align: middle;
    text-decoration: none;
}

.box__author {
    border: 1px solid #EEEEEE;
    padding: 24px;
    border-radius: 12px;
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
}

.box__author img {
    width: 40px;
    height: 40px;
    border-radius: 24px;
    margin: 0;
}

.box__author__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.box__author__content span {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.46;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #ee3438 0%, #f15a37 87.06%, #f58135 100%);
    background-clip: border-box;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.box__author__content h4 {
    color: #212121;
    font-weight: 500;
    font-size: 18px;
    leading-trim: NONE;
    line-height: 146%;
    letter-spacing: 1%;
    vertical-align: middle;
}

.box__author__content p {
    padding: 8px 0;
    color: #616161;
    font-weight: 400;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 150%;
    letter-spacing: 1%;
}

.author__social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.author__social a img {
    width: 20px;
    height: 20px;
    display: block;
}

.single__layout__sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar__single__post {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 120px;
}

.sidebar-single-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-single-card__title {
    margin: 0;
    color: #212121;
    font-weight: 500;
    font-size: 18px;
    line-height: 146%;
    letter-spacing: 1%;
}

.sidebar-single-list,
.sidebar-single-category-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-single-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.sidebar-single-item__thumb {
    width: 88px;
    flex: 0 0 88px;
    border-radius: 8px;
    overflow: hidden;
    background: #F5F5F5;
}

.sidebar-single-item__thumb img {
    width: 100%;
    height: 68px;
    object-fit: cover;
    display: block;
}

.sidebar-single-item__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.sidebar-single-item__title,
.sidebar-single-item__title a {
    margin: 0;
    color: #212121;
    font-weight: 400;
    font-size: 14px;
    line-height: 145%;
    letter-spacing: 1%;
    text-decoration: none;
}

.sidebar-single-item__title a:hover,
.sidebar-single-category-item:hover span {
    color: #EE3438;
}

.sidebar-single-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #EEEEEE;
    text-decoration: none;
}

.sidebar-single-category-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-single-category-item span {
    color: #616161;
    font-weight: 400;
    font-size: 14px;
    line-height: 145%;
    letter-spacing: 1%;
    transition: color .2s ease;
}

.sidebar-single-category-item strong {
    color: #212121;
    font-weight: 500;
    font-size: 14px;
    line-height: 145%;
}

.sidebar-single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sidebar-single-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 18px;
    border: 1px solid #EEEEEE;
    border-radius: 999px;
    background: #FFFFFF;
    color: #9E9E9E;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 1%;
    text-decoration: none;
}

.sidebar-single-tag:hover {
    color: #EE3438;
    border-color: #EE3438;
}

.sidebar-single-follow-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar-single-follow-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border: 1px solid #EEEEEE;
    border-radius: 4px;
    background: #FFFFFF;
    text-decoration: none;
}

.sidebar-single-follow-item__icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 16px;
}

.sidebar-single-follow-item__icon img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    display: block;
}

.sidebar-single-follow-item__label {
    color: #9E9E9E;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 1%;
}

.sidebar-single-follow-item:hover .sidebar-single-follow-item__label {
    color: #EE3438;
}

.sidebar-single-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.sidebar__single__post {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 20px;
    border-radius: 8px;
    background-color: #FAFAFA;
    border: 1px solid #F5F5F5;

}

.relate__post {
    padding: 72px 0;
}

.relate__post .container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.relate__post .container h4 {
    color: #212121;
    font-weight: 600;
    font-size: 24px;
    leading-trim: NONE;
    line-height: 135%;
    letter-spacing: 1%;
    vertical-align: middle;

}

.relate__post__layout {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.relate__post__layout .post-card-title a {
    color: inherit;
    text-decoration: none;
}

.relate__post__layout .post-card-title a:hover {
    color: #EE3438;
}

@media (max-width: 1024px) {
    .single__layout .container {
        grid-template-columns: 1fr;
    }

    .sidebar__single__post {
        position: static;
    }

    .relate__post__layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .brd {
        padding: 16px 0;
    }

    .single__layout_post {
        gap: 24px;
    }

    .single__layout_post__top {
        gap: 16px;
    }

    .single__layout_post__top__meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .single__layout_post__top__meta__content {
        flex-wrap: wrap;
    }

    .box__author {
        flex-direction: column;
    }

    .sidebar-single-item__title,
    .sidebar-single-item__title a {
        font-size: 16px;
    }

    .relate__post__layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .relate__post {
        padding: 56px 0;
    }
    .single__layout {
        padding-bottom: 56px;
    }



}
