.comments-area a,
.page-content a {
    text-decoration: underline
}

.alignright {
    float: right;
    margin-left: 1rem
}

.alignleft {
    float: left;
    margin-right: 1rem
}

.aligncenter {
    clear: both;
    display: block;
    margin-inline: auto
}

.alignwide {
    margin-inline: -80px
}

.alignfull {
    margin-inline: calc(50% - 50vw);
    max-width: 100vw
}

.alignfull,
.alignfull img {
    width: 100vw
}

.wp-caption {
    margin-block-end: 1.25rem;
    max-width: 100%
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px
}

.wp-caption img {
    display: block;
    margin-inline: auto
}

.wp-caption-text {
    margin: 0
}

.gallery-caption {
    display: block;
    font-size: .8125rem;
    line-height: 1.5;
    margin: 0;
    padding: .75rem
}

.pagination {
    display: flex;
    justify-content: space-between;
    margin: 20px auto
}

.sticky {
    display: block;
    position: relative
}

.bypostauthor {
    font-size: inherit
}

.hide {
    display: none!important
}

.post-password-form {
    margin: 50px auto;
    max-width: 500px
}

.post-password-form p {
    align-items: flex-end;
    display: flex;
    width: 100%
}

.post-password-form [type=submit] {
    margin-inline-start: 3px
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute!important;
    width: 1px;
    word-wrap: normal!important
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto!important;
    clip-path: none;
    color: #333;
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 12px 24px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000
}

.post .entry-title a {
    text-decoration: none
}

.post .wp-post-image {
    max-height: 500px;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%
}

@media(max-width:991px) {
    .post .wp-post-image {
        max-height: 400px
    }
}

@media(max-width:575px) {
    .post .wp-post-image {
        max-height: 300px
    }
}

#comments .comment-list {
    font-size: .9em;
    list-style: none;
    margin: 0;
    padding: 0
}

#comments .comment,
#comments .pingback {
    position: relative
}

#comments .comment .comment-body,
#comments .pingback .comment-body {
    border-block-end: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    padding-block-end: 30px;
    padding-block-start: 30px;
    padding-inline-end: 0;
    padding-inline-start: 60px
}

#comments .comment .avatar,
#comments .pingback .avatar {
    border-radius: 50%;
    left: 0;
    margin-inline-end: 10px;
    position: absolute
}

body.rtl #comments .comment .avatar,
body.rtl #comments .pingback .avatar,
html[dir=rtl] #comments .comment .avatar,
html[dir=rtl] #comments .pingback .avatar {
    left: auto;
    right: 0
}

#comments .comment-meta {
    display: flex;
    justify-content: space-between;
    margin-block-end: .9rem
}

#comments .comment-metadata,
#comments .reply {
    font-size: 11px;
    line-height: 1
}

#comments .children {
    list-style: none;
    margin: 0;
    padding-inline-start: 30px;
    position: relative
}

#comments .children li:last-child {
    padding-block-end: 0
}

#comments ol.comment-list .children:before {
    content: "↪";
    display: inline-block;
    font-size: 1em;
    font-weight: 400;
    left: 0;
    line-height: 100%;
    position: absolute;
    top: 45px;
    width: auto
}

body.rtl #comments ol.comment-list .children:before,
html[dir=rtl] #comments ol.comment-list .children:before {
    content: "↩";
    left: auto;
    right: 0
}

@media(min-width:768px) {
    #comments .comment-author,
    #comments .comment-metadata {
        line-height: 1
    }
}

@media(max-width:767px) {
    #comments .comment .comment-body {
        padding: 30px 0
    }
    #comments .children {
        padding-inline-start: 20px
    }
    #comments .comment .avatar {
        float: left;
        position: inherit
    }
    body.rtl #comments .comment .avatar,
    html[dir=rtl] #comments .comment .avatar {
        float: right
    }
}

.page-header .entry-title,
.site-footer .footer-inner,
.site-footer:not(.dynamic-footer),
.site-header .header-inner,
.site-header:not(.dynamic-header),
body:not([class*=elementor-page-]) .site-main {
    margin-inline-end: auto;
    margin-inline-start: auto;
    width: 100%
}

@media(max-width:575px) {
    .page-header .entry-title,
    .site-footer .footer-inner,
    .site-footer:not(.dynamic-footer),
    .site-header .header-inner,
    .site-header:not(.dynamic-header),
    body:not([class*=elementor-page-]) .site-main {
        padding-inline-end: 10px;
        padding-inline-start: 10px
    }
}

@media(min-width:576px) {
    .page-header .entry-title,
    .site-footer .footer-inner,
    .site-footer:not(.dynamic-footer),
    .site-header .header-inner,
    .site-header:not(.dynamic-header),
    body:not([class*=elementor-page-]) .site-main {
        max-width: 500px
    }
    .site-footer.footer-full-width .footer-inner,
    .site-header.header-full-width .header-inner {
        max-width: 100%
    }
}

@media(min-width:768px) {
    .page-header .entry-title,
    .site-footer .footer-inner,
    .site-footer:not(.dynamic-footer),
    .site-header .header-inner,
    .site-header:not(.dynamic-header),
    body:not([class*=elementor-page-]) .site-main {
        max-width: 600px
    }
    .site-footer.footer-full-width,
    .site-header.header-full-width {
        max-width: 100%
    }
}

@media(min-width:992px) {
    .page-header .entry-title,
    .site-footer .footer-inner,
    .site-footer:not(.dynamic-footer),
    .site-header .header-inner,
    .site-header:not(.dynamic-header),
    body:not([class*=elementor-page-]) .site-main {
        max-width: 800px
    }
    .site-footer.footer-full-width,
    .site-header.header-full-width {
        max-width: 100%
    }
}

@media(min-width:1200px) {
    .page-header .entry-title,
    .site-footer .footer-inner,
    .site-footer:not(.dynamic-footer),
    .site-header .header-inner,
    .site-header:not(.dynamic-header),
    body:not([class*=elementor-page-]) .site-main {
        max-width: 1140px
    }
    .site-footer.footer-full-width,
    .site-header.header-full-width {
        max-width: 100%
    }
}

.site-header+.elementor {
    min-height: calc(100vh - 320px)
}

.white {
    background: white !important;
}

.footer_color {
    background: #313131 !important;
}

.table-m {
    margin: 30px 0;
    width: 100%;
}

@media screen and (min-width: 769px) {
    .table-m {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .table-m {
        display: block;
    }
}

.table-m__item {
    margin-bottom: 15px;
    background-color: #FAF5E6;
    padding: 20px;
    width: auto;
    max-width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    border-radius: 5px;
    position: relative;
}

.table-m__number {
    padding: 5px 10px;
    background-color: #E21E32;
    color: #fff;
    font-weight: 900;
    border-radius: 5px;
    position: absolute;
    top: 20px;
    left: 20px;
}

.table-m__logo {
    width: 80px;
    height: 80px;
    border-radius: 10px;
}

.table-m__logo img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
}

.table-m__name {
    font-size: 24px;
    margin-top: 10px;
    color: #000;
    font-weight: 900;
}

.table-m__text {
    font-weight: 900;
    font-size: 18px;
    font-style: italic;
    margin-top: 10px;
    text-align: center;
    color: #000;
    font-weight: 900;
}

.table-m__rating {
    font-size: 16px;
    margin-top: 10px;
    padding: 5px 50px;
    background-color: #fff;
    color: #000;
    border-radius: 5px;
    font-weight: 900;
}

.table-m__subtext {
    margin-top: 10px;
    font-size: 14px;
    color: #7c7c7c;
    text-align: center;
}

.table-m__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.table-m__btn a {
    background-color: #E21E32;
    color: #fff !important;
    font-size: 16px;
    padding: 15px 20px;
    border-radius: 5px;
    margin: 0 10px;
    text-decoration: none;
    transition: .3s;
    font-weight: 900;
}

@media screen and (max-width: 370px) {
    .table-m__btn a {
        font-size: 14px;
        padding: 15px;
    }
}

.table-m__btn a:hover {
    cursor: pointer;
    color: #E21E32;
    background-color: #fff;
    font-weight: 900;
}

.table-m__btn a:nth-child(n+2) {
    background-color: #1a8c42;
}

.table-m__btn a:nth-child(n+2):hover {
    color: #1a8c42;
    background-color: #fff;
}

.description_img {
    width: 100%;
    max-width: 1024px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
    border-radius: 8px;
}

table {
    max-width: 100%;
    border-collapse: collapse;
}

table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

th,
td {
    white-space: nowrap;
}


/* ====== THEME OVERRIDE ====== */

.table-m,
.table-m * {
    font-family: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.table-m__item {
    background-color: #ffffff;
    /* вместо бежевого */
    color: #0f172a;
    /* базовый текст */
    border: 1px solid rgba(15, 23, 42, 0.10);
    /* мягкая граница */
    border-radius: 14px;
    /* более современно */
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.table-m__number {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    /* синий акцент */
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
}

.table-m__logo,
.table-m__logo img {
    background-color: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.10);
}

.table-m__name {
    color: #0f172a;
    letter-spacing: -0.02em;
}

.table-m__text {
    color: #334155;
}

.table-m__subtext {
    color: #64748b;
}

.table-m__rating {
    background-color: #f1f5f9;
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
}

.table-m__btn a {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    /* primary */
    color: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.35);
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.18);
}

.table-m__btn a:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    color: #ffffff;
}

.table-m__btn a:nth-child(n+2) {
    background: #ffffff;
    /* secondary */
    color: #1d4ed8;
    border: 1px solid rgba(29, 78, 216, 0.35);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.06);
}

.table-m__btn a:nth-child(n+2):hover {
    background: #f1f5f9;
    color: #1d4ed8;
}

.table-m__btn a:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.35);
    outline-offset: 2px;
}

.description_img {
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
}


/* ====== BRIGHT CTA BUTTONS ====== */

.table-m__btn a {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    font-weight: 900;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    background: linear-gradient( 135deg, #ff3b3b 0%, #ff005c 50%, #ff7a00 100%);
    border: none;
    box-shadow: 0 10px 24px rgba(255, 0, 92, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.table-m__btn a::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient( 120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: rotate(20deg);
    transition: left 0.5s ease;
}

.table-m__btn a:hover {
    transform: translateY(-2px);
    filter: saturate(1.15);
    box-shadow: 0 16px 36px rgba(255, 0, 92, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.table-m__btn a:hover::before {
    left: 120%;
}

.table-m__btn a:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(255, 0, 92, 0.45);
}

.table-m__btn a:nth-child(n+2) {
    background: linear-gradient( 135deg, #00c853 0%, #00e676 100%);
    color: #084422 !important;
    box-shadow: 0 10px 24px rgba(0, 200, 83, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.table-m__btn a:nth-child(n+2):hover {
    filter: saturate(1.15);
    box-shadow: 0 16px 36px rgba(0, 200, 83, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}