/*  ========================================================
    #EFFECTS / ЭФФЕКТЫ
    ======================================================== */

svg {
    height: 50%;
    width: 50%;
}

/*  ========================================================
    #HERO / ГЕРОЙ
    ======================================================== */

.hero-breadcrumbs {
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-breadcrumbs a {
    color: var(--color-black);
    text-decoration: none;
    transition: color .3s;
}

.hero-breadcrumbs a:hover { color: var(--color-accent); }
.hero-breadcrumbs .separator { color: rgba(0, 0, 0, 0.3); }
.hero-breadcrumbs .current { color: var(--color-accent); pointer-events: none; }

.hero {
    position: relative;
    min-height: 30rem;
    gap: 3.75rem;
    margin-top: 3.5rem;
    /* overflow: hidden; */
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-top: 10%;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.75rem;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 1, .1);
    border: 1px solid rgba(255, 107, 1, .25);
    padding: 0.5rem 1.125rem;
    border-radius: 100px;
    margin-bottom: 2.25rem;
}

.hero-tag-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: var(--color-accent);
    flex-shrink: 0;
}

.hero-tag-txt {
    font-size: 1.063rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-accent);
}

.hero-title {
    font-weight: 900;
    font-size: 3.125rem;
    line-height: 1.08;
    color: var(--color-black);
    text-transform: uppercase;
    margin-bottom: 1.75rem;
    letter-spacing: -1.5px;
}

.hero-sub {
    margin-bottom: 1.25rem;
    font-size: 1.625rem;
    color: var(--color-black);
}

.meta-bar {
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 107, 1, .15);
    border-bottom: 1px solid rgba(255, 107, 1, .15);
}

.meta-bar-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 93.75rem;
    margin: 0 auto;
}

.meta-item {
    padding: 1.75rem 2.5rem;
    border-right: 1px solid rgba(255, 107, 1, .1);
}

.meta-item:first-child {
    padding-left: 0;
}

.meta-item:last-child {
    border-right: none;
    padding-right: 0;
}

.meta-lbl {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgb(32, 41, 56);
    margin-bottom: 0.5rem;
}

.meta-val {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-black);
    text-transform: uppercase;
}

/*  ========================================================
    #ARTICLE / СТАТЬЯ
    ======================================================== */

.entry-content {
    position: relative;
}

.entry-content::after {
    content: '';
    display: table;
    clear: both;
}

.entry-content p {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.entry-content strong,
.entry-content b {
    color: var(--color-black);
    font-weight: 700;
}

.entry-content a {
    color: var(--color-accent);
    text-decoration: underline;
    text-decoration-color: rgba(255, 107, 1, .4);
    text-decoration-thickness: 1px;
    transition: color .2s;
}

.entry-content a:hover {
    color: #c75300;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: var(--color-black);
    letter-spacing: -.4px;
    scroll-margin-top: 110px;
}

.entry-content h2 {
    font-weight: 900;
    font-size: 2.15rem;
    margin: 3.5rem 0 1.25rem;
    position: relative;
    padding-top: 1.75rem;
}

.entry-content h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3rem;
    height: 0.125rem;
    background: linear-gradient(90deg, #ff6b01, transparent);
    animation: scaleX .6s ease both;
}

.entry-content h3 {
    font-weight: 800;
    font-size: 1.25rem;
    margin: 40px 0 16px;
}

.entry-content h4 {
    font-weight: 700;
    font-size: 1.125rem;
    margin: 2rem 0 0.75rem;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 1.75rem 0;
    padding-left: 0;
}

.entry-content ul li,
.entry-content ol li {
    list-style: none;
    position: relative;
    padding-left: 1.875rem;
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: #1a1a1a;
}

.entry-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5625rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--color-accent);
}

.entry-content ol {
    counter-reset: entry-ol;
}

.entry-content ol li {
    counter-increment: entry-ol;
    padding-left: 2.125rem;
}

.entry-content ol li::before {
    content: counter(entry-ol);
    position: absolute;
    left: 0;
    top: -1px;
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 107, 1, .4);
    background: none;
    color: var(--color-accent);

    font-size: 0.6875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.entry-content li>ul,
.entry-content li>ol {
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/*  #ARTICLE_BLOCKQUOTE  */
.entry-content blockquote,
.entry-content .wp-block-quote {
    border-left: 3px solid var(--color-accent);
    background: rgba(255, 107, 1, .04);
    padding: 1.5rem 2rem;
    margin: 2.25rem 0;
}

.entry-content blockquote p,
.entry-content .wp-block-quote p {

    font-weight: 700;
    font-style: italic;
    font-size: 1.125rem;
    color: var(--color-black);
    margin-bottom: 0;
}

.entry-content blockquote cite,
.entry-content .wp-block-quote cite {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    font-style: normal;
    color: rgba(0, 0, 0, .5);
}

/*  #ARTICLE_TABLE  */
.entry-content .wp-block-table {
    margin: 2.5rem 0;
    overflow-x: auto;
}

.entry-content .wp-block-table {
    margin: 2.5rem 0;
    overflow-x: auto;
    border-radius: 1rem;
}

.entry-content .wp-block-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    overflow: hidden;
    border-radius: 1rem;
}

.entry-content .wp-block-table thead {
    background: var(--color-accent);
}

.entry-content .wp-block-table thead td,
.entry-content .wp-block-table thead th {
    color: var(--color-white);
    font-weight: 700;
    padding: 1rem 1.25rem;
    text-align: left;
    border: none;
}

.entry-content .wp-block-table thead td strong,
.entry-content .wp-block-table thead th strong {
    color: var(--color-white);
}

.entry-content .wp-block-table tbody td {
    padding: 1rem 1.25rem;
    vertical-align: top;
    color: #1a1a1a;
    border-bottom: 1px solid rgba(255, 107, 1, .1);
}

.entry-content .wp-block-table tbody tr:last-child td {
    border-bottom: none;
}

.entry-content .wp-block-table tbody tr:nth-child(even) {
    background: rgba(255, 107, 1, .03);
}

.entry-content .wp-block-table tbody td:first-child {
    font-weight: 700;
    color: var(--color-black);
    white-space: nowrap;
}

.entry-content .wp-block-table.has-fixed-layout {
    table-layout: fixed;
}

/*  #ARTICLE_IMAGES  */
.entry-content .wp-block-image {
    margin: 2.5rem 0;
}

.entry-content .wp-block-image img {
    width: 100%;
    display: block;
    border-radius: 1rem;
    cursor: zoom-in;
}

.entry-content .wp-block-image figcaption {
    margin-top: 0.75rem;
    text-align: center;
    font-size: 0.8125rem;
    font-style: italic;
    color: rgba(0, 0, 0, .5);
}

/*  #ARTICLE_GALLERY  */
.entry-content .wp-block-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin: 2.5rem 0;
}

.entry-content .wp-block-gallery figure {
    margin: 0;
    flex: 1 1 13.75rem;
}

.entry-content .wp-block-gallery img {
    border-radius: 0.875rem;
    cursor: zoom-in;
    width: 100%;
    display: block;
}

/*  #ARTICLE_BUTTONS  */
.entry-content .wp-block-buttons {
    margin: 2rem 0;
}

.entry-content .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--color-accent);
    color: #0f0f0f;

    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 1rem 1.75rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all .3s;
}

.entry-content .is-style-outline .wp-block-button__link {
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
}

/*  #ARTICLE_CODE  */
.entry-content pre,
.entry-content .wp-block-code,
.entry-content .wp-block-preformatted {
    background: rgb(32, 41, 56);
    color: #f0ede6;
    padding: 1.5rem;
    border-radius: 14px;
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 2rem 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.entry-content code {
    background: rgba(255, 107, 1, .08);
    padding: 0.125rem 0.4375rem;
    border-radius: 6px;
    font-size: .9em;
    color: var(--color-black);
}

.entry-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/*  #ARTICLE_SEPARATOR  */
.entry-content hr,
.entry-content .wp-block-separator {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, #ff6b01, transparent);
    margin: 3rem 0;
}

/*  #ARTICLE_COLUMNS  */
.entry-content .wp-block-columns {
    display: flex;
    gap: 2rem;
    margin: 2.25rem 0;
    flex-wrap: wrap;
}

.entry-content .wp-block-column {
    flex: 1;
    min-width: 15rem;
}

/*  #ARTICLE_VIDEO  */
.entry-content .wp-block-embed {
    margin: 2.25rem 0;
}

.entry-content .wp-block-embed__wrapper {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
}

.entry-content .wp-block-embed iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    border: none;
}

/*  #ARTICLE_COVER  */
.entry-content .wp-block-cover {
    border-radius: 20px;
    overflow: hidden;
    margin: 2.5rem 0;
}

.entry-content .wp-block-cover .wp-block-cover__inner-container {
    color: var(--color-white);
}

/*  #ARTICLE_ALIGNMENT  */
.entry-content .alignleft {
    float: left;
    margin: 0.5rem 1.75rem 1.25rem 0;
    max-width: 45%;
}

.entry-content .alignright {
    float: right;
    margin: 0.5rem 0 1.25rem 1.75rem;
    max-width: 45%;
}

.entry-content .aligncenter {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.entry-content .alignwide {
    width: 1100px;
    max-width: calc(100vw - 3rem);
    margin-left: calc(50% - 34.375rem);
    margin-right: calc(50% - 34.375rem);
}

.entry-content .alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
}

.entry-content .alignfull img {
    border-radius: 0;
}


/*  ========================================================
    #RELATED / ПОХОЖИЕ РАБОТЫ
    ======================================================== */

.related-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 1.5rem;
}

.related-big-title {
    font-size: 3.125rem;
    font-weight: 900;
    line-height: 1.1;
    color: #000;
    letter-spacing: -1px;
    margin-top: 0.75rem;
}

.related-all {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ff6b01;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.875rem;
    transition: opacity .3s ease;
}

.related-card {
    position: relative;
    display: block;
    text-decoration: none;
    border-radius: 1.25rem;
    overflow: hidden;
    background: rgb(32, 41, 56);
    border: .0625rem solid rgba(255, 107, 1, .1);
    transition: border-color .3s, transform .35s ease, opacity .35s ease, visibility .35s;
}

.related-card:hover {
    border-color: rgba(255, 107, 1, .32);
    transform: translateY(-0.375rem);
}

.related-card.is-hidden,
.related-card.is-pager-hidden {
    display: none;
}

.related-card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
    background: #222;
}

.related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(.78) saturate(.8);
    transition: transform .5s ease, filter .4s;
}

.related-card:hover .related-card-img img {
    transform: scale(1.07);
    filter: brightness(.96) saturate(1);
}

.rc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 15, 15, .65) 0%, transparent 60%);
    pointer-events: none;
}

.rc-body {
    padding: 1.75rem 1.75rem 2rem;
}

.rc-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.563rem;
    font-weight: 800;
    color: #f0ede6;
    line-height: 1.3;
    margin-bottom: .75rem;
    letter-spacing: -.01875rem;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;

    min-height: 6.1rem;
}

.rc-desc {
    font-size: 1.625rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    height: 4.9rem;
    overflow: hidden;
}

.rc-link {
    background-color: var(--color-accent);
    padding: .75rem 3.125rem;
    border-radius: 5rem;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .938rem;
    height: 100%;
    cursor: pointer;
    justify-content: center;
    color: var(--color-white);
}

/*  ========================================================
    #LIGHTBOX / ЛАЙТБОКС
    ======================================================== */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 10, 10, .96);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

.lightbox.open {
    opacity: 1;
    pointer-events: all;
}

.lb-img {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: 12px;
    object-fit: contain;
    border: 1px solid rgba(255, 107, 1, .15);
}

.lb-close {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
}

.lb-close:hover {
    background: rgba(255, 255, 255, .15);
}

.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 107, 1, .15);
    border: 1px solid rgba(255, 107, 1, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
}

.lb-nav:hover {
    background: rgba(255, 107, 1, .3);
}

.lb-prev {
    left: 24px;
}

.lb-next {
    right: 24px;
}

.lb-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(240, 237, 230, .35);
}

/*  ========================================================
    #CTA / ФОРМА СВЯЗИ
    ======================================================== */

.cta-section {
    padding: 6.25rem 0;
    margin-top: 7.5rem;
    background: var(--color-accent);
    position: relative;
    overflow: hidden;
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 3.125rem;
    font-weight: 900;
    line-height: 1.15;
    color: var(--color-white);
    letter-spacing: -.5px;
    margin-bottom: 20px;
}

.cta-sub {
    font-size: 1.625rem;
    color: var(--color-white);
    max-width: 500px;
}

.cta-btn {
    background-color: rgb(32, 41, 56);
    padding: .75rem 3.125rem;
    border-radius: 80px;
    text-transform: uppercase;
    font-size: 1.375rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .938rem;
    height: 100%;
    cursor: pointer;
    justify-content: center;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    max-width: 43.75rem;
    background: rgb(32, 41, 56);
    padding: 2.5rem;
    border-radius: 20px;
}

.cta-form__group {
    position: relative;
    width: 100%;
}

.cta-form__input {
    width: 100%;
    background-color: transparent;
    outline: none;
    border: 1px solid #BBBBBB;
    padding: 1.25rem;
    border-radius: 10px;
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--color-white);
    transition: .3s all;
}

.cta-form__input::placeholder {
    color: #bbb;
}

.cta-form__input:focus {
    border-color: var(--color-accent);
}

.cta-form__input:hover {
    border-color: var(--color-accent);
}

.cta-form__textarea {
    height: 9.375rem;
    resize: vertical;
}

.cta-form__error {
    display: none;
    font-size: 0.875rem;
    color: var(--color-accent);
    margin-top: 0.5rem;
    padding-left: 0.5rem;
    font-weight: 500;
}

.cta-form__captcha-container {
    display: flex;
    gap: .9375rem;
    align-items: center;
}

.cta-form__captcha-img {
    width: 140px;
    height: 3.875rem;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #BBBBBB;
    flex-shrink: 0;
}

.cta-form__send {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .9375rem;
    text-transform: uppercase;
    background-color: var(--color-accent);
    padding: .625rem 0;
    border-radius: 80px;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-white);
    cursor: pointer;
    margin-top: .9375rem;
    width: 100%;
    border: none;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-form__send:hover {
    background-color: #ff9d5c;
}

.cta-form__send img {
    height: 2.5rem;
    width: 2.5rem;
}

/*  ========================================================
    #ADAPT / АДАПТАЦИЯ
    ======================================================== */

@media (max-width: 1024px) {
    /*  #1024_META  */

    .meta-item:nth-child(3) {
        padding-left: 0;
    }
    .meta-item:last-child {
        padding-right: 4.592rem;
    }

    /*  #1024_CTA  */

    .cta-section {
        padding: 6.25rem 0;
    }

    /*  #1024_RELATED  */

    .related-grid {
        grid-template-columns: 1fr 1fr;
    }

    .rc-title {
        font-size: 1.492rem;
    }

    .rc-desc {
        font-size: 1.492rem;
    }

    .rc-link {
        font-size: 1.378rem;
    }
}

@media (max-width: 768px) {
    /*  #768_META  */

    .meta-bar-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .meta-item:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 107, 1, .1);
    }

    /*  #768_HERO  */

    .hero-wrapper { grid-template-columns: 1fr; }
    .hero-title { font-size: 3.75rem; }
    .hero-sub { font-size: 1.928rem; }
    .hero-tag-txt { font-size: 1.3rem; }
    .hero-breadcrumbs { font-size: 1.1rem; }

    /*  #768_ARTICLE  */
    .entry-content p { font-size: 1.25rem; }
    .entry-content h2 { font-size: 2.5rem; }
    .entry-content h3 { font-size: 1.5rem; }
    .entry-content h4 { font-size: 1.35rem; }
    .entry-content blockquote p { font-size: 1.35rem; }

    /*  #768_WP_CLASSES  */
    .entry-content .has-medium-font-size {
        font-size: 1.25rem;
    }

    /*  #768_CTA  */

    .cta-inner { grid-template-columns: 1fr; }
    .cta-form { max-width: 100%; }
    .cta-title { font-size: 3.5rem; }
    .cta-sub { font-size: 1.928rem; }
    .cta-form__send { font-size: 1.75rem; }
    .cta-form__input { font-size: 1.4rem; }
    .checkbox { --checkbox-size: 1.75rem; font-size: 1.25rem; }

    /*  #768_RELATED  */

    .related-grid {
        grid-template-columns: 1fr;
    }

    .rc-title {
        font-size: 2.089rem;
        min-height: 8.2rem;
    }

    .rc-desc {
        font-size: 1.928rem;
        height: 5.8rem;
    }

    .rc-link {
        padding: 1.25rem 2.893rem;
        font-size: 1.607rem;
        gap: 1.607rem;
    }
}