/*
Theme Name: Shelby
Theme URI: https://davisonpro.dev/
Author: Davison Pro
*/

@charset "UTF-8";

.jq-selectbox {
    position: relative;
    display: inline-block
}

.jq-selectbox select {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 0;
    opacity: 0;
    display: none!important
}

.jq-selectbox {
    z-index: 100
}

.jq-selectbox__select {
    position: relative
}

.jq-selectbox__dropdown {
    position: absolute
}

.jq-selectbox__search input {
    -webkit-appearance: textfield
}

.jq-selectbox__search input::-webkit-search-cancel-button,.jq-selectbox__search input::-webkit-search-decoration {
    -webkit-appearance: none
}

.jq-selectbox__dropdown ul {
    position: relative;
    overflow: auto;
    overflow-x: hidden;
    list-style: none;
    -webkit-overflow-scrolling: touch
}

.nano {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden
}

.nano .nano-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: scroll;
    overflow-x: hidden;
    padding: 15px 5%
}

.nano .nano-content:focus {
    outline: thin dotted
}

.nano .nano-content::-webkit-scrollbar {
    display: none
}

.nano>.nano-pane {
    border-left: #dbdbdb 1px solid;
    width: 10px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    visibility: hidden;
    opacity: .01
}

.nano>.nano-pane>.nano-slider {
    background: #c4c4c4;
    background: rgba(0,0,0,.5);
    position: relative;
    margin: 0 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px
}

.has-scrollbar>.nano-content::-webkit-scrollbar {
    display: block
}

.nano-pane.active,.nano-pane.flashed,.nano:hover>.nano-pane {
    visibility: visible;
    opacity: .99
}

.rs-container * {
    box-sizing: border-box;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.rs-container {
    height: 38px;
    position: relative
}

.rs-container .rs-bg {
    background-color: #efeff3;
    height: 4px;
    left: 0;
    position: absolute;
    top: 17px;
    width: 100%;
    border-radius: 4px
}

.rs-container .rs-selected {
    background-color: #594ac2;
    transition: all 40ms linear;
    position: absolute;
    width: 0;
    top: 16px;
    height: 6px;
    left: 0;
    border-radius: 6px
}

.rs-container.disabled .rs-selected {
    background-color: #ccc;
    border-color: #bbb
}

.rs-container .rs-pointer:before {
    transform: rotate(-180deg)
}

.rs-container .rs-pointer:after,.rs-container .rs-pointer:before {
    display: block;
    content: '';
    flex-grow: 1;
    background: url(./images/range_pointer_arrows.svg) center bottom 9px no-repeat
}

.rs-container .rs-pointer:hover:after,.rs-container .rs-pointer:hover:before {
    background-position: center top 9px
}

.rs-container .rs-pointer {
    background-color: #fff;
    box-shadow: 0 0 0 4px #594ac2 inset;
    border-radius: 20px;
    cursor: pointer;
    height: 38px;
    width: 55px;
    left: -37px;
    position: absolute;
    top: 0;
    transition: all 40ms linear;
    display: flex;
    padding: 4px
}

.rs-container.disabled .rs-pointer {
    cursor: default
}

.rs-container.sliding .rs-pointer,.rs-container.sliding .rs-selected {
    transition: none
}

.rs-container .rs-scale {
    font-size: 12px;
    color: #a6adb4;
    font-weight: 500;
    left: 0;
    bottom: 0;
    top: 0;
    position: absolute;
    white-space: nowrap;
    display: flex
}

.rs-container .rs-scale span {
    flex-grow: 1;
    position: relative
}

.rs-container.rs-noscale span::before {
    display: none
}

.rs-container .rs-scale span:last-child ins {
    float: right;
    margin-right: -10px!important
}

.rs-container .rs-scale span:first-child ins {
    margin-left: -10px!important
}

.rs-container .rs-scale span:last-child {
    margin-left: -1px;
    width: 0
}

.rs-container .rs-scale span:not(:first-child):not(:last-child) ins {
    opacity: 0
}

.rs-container .rs-scale span ins {
    display: inline-block;
    margin-top: 38px;
    text-decoration: none
}

.rs-container.disabled .rs-scale span ins {
    color: rgba(#a6adb4,.8)
}

.rs-tooltip {
    display: none
}

.rs-container.disabled .rs-tooltip {
    border-color: #ccc;
    color: #999
}

.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent
}

.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0
}

.slick-list:focus {
    outline: 0
}

.slick-list.dragging {
    cursor: pointer;
    cursor: hand
}

.slick-slider .slick-list,.slick-slider .slick-track {
    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    -o-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0)
}

.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block
}

.slick-track:after,.slick-track:before {
    display: table;
    content: ''
}

.slick-track:after {
    clear: both
}

.slick-loading .slick-track {
    visibility: hidden
}

.slick-slide {
    display: none;
    float: left
}

[dir=rtl] .slick-slide {
    float: right
}

.slick-slide img {
    display: block
}

.slick-slide.slick-loading img {
    display: none
}

.slick-slide.dragging img {
    pointer-events: none
}

.slick-initialized .slick-slide {
    display: block
}

.slick-loading .slick-slide {
    visibility: hidden
}

.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent
}

.slick-arrow.slick-hidden {
    display: none
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:after,:before {
    box-sizing: border-box
}

img {
    max-width: 100%;
    object-fit: cover;
    display: block;
    height: auto
}

ol,ul {
    list-style: none
}

button {
    border: none;
    background: none 0 0;
    font: inherit;
    cursor: pointer;
    color: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0
}

input,select,textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none 0 0;
    border-radius: 0;
    outline: 0;
    font: inherit
}

a {
    color: #45456d;
    transition: all .3s;
    text-decoration: none
}

a:hover {
    color: #7f7fa2
}

a>svg,button>svg {
    align-self: center
}

a>svg:first-child,button>svg:first-child {
    margin-right: 3px
}

a>*,button>* {
    vertical-align: middle
}

body {
    color: #45456d;
    font-size: 15px;
    line-height: 1.4;
    font-family: 'Lato', sans-serif !important;
}

body.locked {
    overflow: hidden
}

.rating {
    display: inline-flex;
    flex-shrink: 0
}

.rating .int_star {
    display: block;
    background: url(./images/rating_star.svg) bottom left no-repeat;
    background-size: 20px auto;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative
}

.rating .int_star~.int_star {
    margin-left: 6px
}

.rating-0>.int_star {
    background-position: left top
}

.rating-1>.int_star:nth-child(1)~.int_star {
    background-position: left top
}

.rating-2>.int_star:nth-child(2)~.int_star {
    background-position: left top
}

.rating-3>.int_star:nth-child(3)~.int_star {
    background-position: left top
}

.rating-4>.int_star:nth-child(4)~.int_star {
    background-position: left top
}

.rate_field {
    display: inline-flex;
    flex-direction: row-reverse;
    position: relative;
    text-align: center
}

.rate_field input {
    display: none!important
}

.rate_field label {
    background: url(./images/rating_star.svg) no-repeat;
    background-size: 20px auto;
    display: block;
    cursor: pointer;
    width: 26px;
    height: 20px;
    float: right;
    position: relative;
    z-index: 1;
    padding-right: 6px
}

.rate_field label:first-of-type {
    width: 20px;
    padding-right: 0
}

.rate_field:hover input:checked~label:after {
    opacity: 0
}

.rate_field label:hover:after,.rate_field label:hover~label:after {
    opacity: 1!important
}

.rate_field input:checked~label:after {
    opacity: 1
}

.rate_field label:after {
    display: block;
    opacity: 0;
    content: '';
    width: 20px;
    height: 20px;
    background: inherit;
    background-position: bottom;
    position: absolute;
    left: 0;
    top: 0;
    transition: all .3s
}

.width {
    margin: 0 auto
}

.width .width {
    padding-left: 0;
    padding-right: 0
}

:root {
  --shelby-bar-h: 36px;
  --shelby-header-h: 60px;
  --shelby-offset: calc(var(--shelby-bar-h) + var(--shelby-header-h));
  --shelby-primary: #6857d0;
  --shelby-primary-dark: #160647;
  --shelby-gold: #ffbf2d;
  --shelby-font: 'HKGroteskPro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Trust bar is STATIC (scrolls with page); header is FIXED over it.
   page_holder must pad by bar + header so nothing hides under fixed header. */
.page_holder {
    overflow: hidden;
    padding-top: var(--shelby-offset);
    display: flex;
    flex-direction: column;
    min-height: 100vh
}

.main_content {
    flex: 1 0 auto;
    position: relative;
    z-index: auto
}

.faq .text_holder_block:not(.toggled_content)>ul>li:before,.light_violet_bg .text_holder_block:not(.toggled_content)>ul>li:before,.light_violet_gradient_bg .text_holder_block:not(.toggled_content)>ul>li:before {
    width: 6px;
    height: 6px;
    background: #594ac2;
    top: 9px
}

.text_holder_block {
    line-height: 23px
}

.text_holder_block a:not(.content_button) {
    color: #5f4fc7;
    text-decoration: underline
}

.text_holder_block h1 {
    font-size: 36px;
    line-height: 46px
}

.text_holder_block h1+* {
    margin-top: 40px
}

.text_holder_block h2 {
    font-size: 28px;
    line-height: 34px
}

.text_holder_block h3 {
    font-size: 20px
}

.text_holder_block .h1,.text_holder_block .h2,.text_holder_block .h3,.text_holder_block h1,.text_holder_block h2,.text_holder_block h3 {
    font-weight: 600
}

.text_holder_block .h1 span[style*=font-size],.text_holder_block .h2 span[style*=font-size],.text_holder_block .h3 span[style*=font-size],.text_holder_block h1 span[style*=font-size],.text_holder_block h2 span[style*=font-size],.text_holder_block h3 span[style*=font-size] {
    line-height: 1.3
}

.text_holder_block .h1:not(:first-child),.text_holder_block .h2:not(:first-child),.text_holder_block .h3:not(:first-child),.text_holder_block h1:not(:first-child),.text_holder_block h2:not(:first-child),.text_holder_block h3:not(:first-child) {
    margin-top: 40px
}

.text_holder_block b,.text_holder_block strong {
    font-weight: 600;
    color: #000045
}

.text_holder_block p {
    margin: 15px 0
}

.text_holder_block .list_2_columns ol li>b:first-child,.text_holder_block .list_2_columns ol li>strong:first-child,.text_holder_block .list_2_columns ul li>b:first-child,.text_holder_block .list_2_columns ul li>strong:first-child {
    padding-bottom: 7px;
    display: inline-block
}

.text_holder_block ol li,.text_holder_block ul li {
    margin-bottom: 15px
}

.text_holder_block ol li>:first-child,.text_holder_block ul li>:first-child {
    display: inline
}

.text_holder_block ol li>ol,.text_holder_block ol li>ul,.text_holder_block ul li>ol,.text_holder_block ul li>ul {
    display: block
}

.text_holder_block ol {
    counter-reset: list 0
}

.text_holder_block ol>li:before {
    font-weight: 600;
    color: #000045;
    counter-increment: list;
    content: counter(list) ". "
}

.text_holder_block ol ol {
    counter-reset: list2 0
}

.text_holder_block ol ol>li:before {
    counter-increment: list2;
    content: counter(list) "." counter(list2) "";
    font-size: inherit
}

.text_holder_block ul li {
    padding-left: 35px;
    position: relative
}

.text_holder_block ul li li {
    padding-left: 20px
}

.text_holder_block ul li li:before {
    left: 0
}

.text_holder_block ul li:before {
    display: block;
    content: '';
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: #45456d;
    position: absolute;
    left: 12px;
    top: 10px
}

.text_holder_block .list_checked li:before {
    top: 5px!important;
    left: 9px!important;
    border-radius: 0!important;
    width: 16px!important;
    height: 13px!important;
    background: url(./images/check_icon_violet.svg)!important
}

.text_holder_block li:last-child,.text_holder_block p:last-child,.text_holder_block>ol:last-child,.text_holder_block>ul:last-child {
    margin-bottom: 0
}

.text_holder_block li:first-child,.text_holder_block p:first-child,.text_holder_block>ol:first-child,.text_holder_block>ul:first-child {
    margin-top: 0
}

.content_button {
    display: block;
    line-height: 52px;
    text-align: center;
    transition: all .3s;
    cursor: pointer;
    padding: 0 10px;
    color: #fff;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 600
}

.content_button:not(:disabled):not(.disabled):hover {
    transform: translateY(-10%);
    color: #fff
}

.content_button:not(:disabled):not(.disabled):focus {
    transform: translateY(-5px);
    box-shadow: 0 5px 8px 0 rgba(0,0,0,.15);
    outline: 0
}

.IE_detected .content_button:not(:disabled):not(.disabled):focus {
    transform: translateY(0);
    box-shadow: 0 0 0 0 transparent;
    outline: 1px solid #666
}

.gold_button {
    background: #ffbf2d
}

.gold_button:not(:disabled):not(.disabled):hover {
    background: #fbb414
}

.green_button {
    background: #45d39a
}

.green_button:not(:disabled):not(.disabled):hover {
    background: #28da92
}

.violet_button {
    background: #594ac2
}

.violet_button:not(:disabled):not(.disabled):hover {
    background: #4c3bc1
}

.violet_button.disabled,.violet_button:disabled {
    background: #aca5e1;
    color: #fff
}

.violet_button.disabled span,.violet_button:disabled span {
    color: inherit
}

.light_violet_bordered_button {
    line-height: 50px;
    border: 1px solid #cec9f0
}

.light_violet_bordered_button:not(:disabled):not(.disabled):hover {
    border-color: #998ede;
    color: #b1a9e5
}

.light_violet_bordered_button.disabled,.light_violet_bordered_button:disabled {
    color: #aca5e1;
    border-color: #e7e4f8
}

.light_violet_bordered_button.disabled span,.light_violet_bordered_button:disabled span {
    color: inherit
}

.white_button {
    background: #fff;
    color: #4537af
}

.white_button:not(:disabled):not(.disabled):hover {
    background: rgba(255,255,255,.8);
    color: #4537af
}

[role=button]:not(.content_button):focus {
    outline: 0
}

.h1,.h2,.h3,h1,h2,h3 {
    color: #000045;
    word-wrap: break-word;
    font-weight: 600
}

.h1>span,.h2>span,.h3>span,h1>span,h2>span,h3>span {
    display: block
}

.slick-track {
    display: flex
}

.slick-slide {
    outline: 0
}

.nano .nano-content:focus {
    outline: 0
}

.nano>.nano-pane {
    right: 8px;
    top: 10px;
    bottom: 10px;
    width: 4px;
    border: none;
    z-index: 5
}

.nano>.nano-pane>.nano-slider {
    margin: 0;
    border-radius: 3px;
    background: #d9dce6
}

.f_group {
    margin-bottom: 25px;
    font-weight: 500;
    color: #000045
}

.f_group.f_relative {
    position: relative;
    z-index: auto
}

.f_group input,.f_group textarea {
    background: #fff;
    padding: 0 15px;
    height: 60px;
    border: 1px solid #d9dce6;
    border-radius: 8px;
    width: 100%;
    color: inherit;
    transition: .3s all
}

.f_group input:-moz-placeholder,.f_group textarea:-moz-placeholder {
    color: #a6adb4
}

.f_group input::-moz-placeholder,.f_group textarea::-moz-placeholder {
    color: #a6adb4
}

.f_group input:-ms-input-placeholder,.f_group textarea:-ms-input-placeholder {
    color: #a6adb4
}

.f_group input::-webkit-input-placeholder,.f_group textarea::-webkit-input-placeholder {
    color: #a6adb4
}

.f_group input:focus,.f_group textarea:focus {
    border-color: #5f4fc7
}

.f_group .icon {
    position: absolute;
    right: 0;
    top: 0;
    height: 60px;
    padding-right: 15px;
    padding-left: 15px;
    color: #efeff3;
    transition: .3s color
}

.f_group .icon:not(.see_pass) {
    pointer-events: none
}

.f_group .see_pass:before {
    content: '';
    display: block;
    width: 19px;
    height: 22px;
    background: url(./images/icon_lock_closed.svg) center no-repeat;
    background-size: 19px auto
}

.f_group .see_pass.hide:before {
    background: url(./images/icon_lock_open.svg) center no-repeat;
    background-size: 19px auto
}

.f_group .f_input>input:not(:last-child) {
    padding-right: 45px
}

.f_group input[readonly=readonly] {
    background: #f4f4f4;
    color: #7f7f7f
}

.f_group textarea {
    resize: none
}

.f_group .f_textarea.nano {
    width: 100%;
    height: 150px
}

.f_group .f_textarea.nano .border {
    position: absolute;
    border: 1px solid #d9dce6;
    border-radius: 8px;
    transition: .3s all;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    pointer-events: none
}

.f_group .f_textarea.nano .border:after,.f_group .f_textarea.nano .border:before {
    display: block;
    content: '';
    position: absolute;
    height: 22px;
    left: 0;
    right: 0;
    pointer-events: none
}

.f_group .f_textarea.nano .border:before {
    border-radius: 8px 8px 0 0;
    top: 0;
    background: linear-gradient(to top,rgba(255,255,255,0) 0,#fff 100%)
}

.f_group .f_textarea.nano .border:after {
    border-radius: 0 0 8px 8px;
    bottom: 0;
    background: linear-gradient(to bottom,rgba(255,255,255,0) 0,#fff 100%)
}

.f_group .f_textarea.nano textarea {
    padding: 15px 35px 15px 20px;
    width: calc(100% + 20px);
    height: calc(100%);
    border: none;
    z-index: 1
}

.f_group .f_textarea.nano textarea[readonly=readonly]+.border,.f_group .f_textarea.nano textarea[readonly=readonly]:focus+.border {
    border-color: #e1e4e8!important
}

.f_group .f_textarea.nano textarea:focus+.border {
    border-color: #5f4fc7
}

.f_group .f_textarea.nano textarea:focus+.border:after,.f_group .f_textarea.nano textarea:focus+.border:before {
    opacity: 0
}

.f_group .scroll_container {
    flex-wrap: nowrap;
    overflow-x: scroll;
    scrollbar-color: transparent transparent;
    scrollbar-width: none;
    transition: .3s transform
}

.f_group .scroll_container::-webkit-scrollbar {
    height: 0
}

.f_group.scroll_container_wrapper {
    overflow: hidden
}

.f_group.scroll_container_wrapper.with_scrollbar {
    position: relative;
    z-index: auto
}

.f_group.scroll_container_wrapper.with_scrollbar:after {
    display: block;
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    transition: .3s all;
    pointer-events: none;
    background: linear-gradient(to right,#fff 0,rgba(255,255,255,0) 20px,rgba(255,255,255,0) calc(100% - 20px),#fff 100%)
}

.f_group .scroll_dots>div {
    transition: .3s all;
    border-radius: 50%;
    width: 7px;
    height: 7px;
    background: #efeff3
}

.f_group .scroll_dots>div.dot_active {
    background: #160647
}

.f_group .scroll_dots>div+div {
    margin-left: 6px
}

.f_group .spin_edit_wrapper {
    position: relative
}

.f_group .spin_edit_wrapper input {
    text-align: center;
    font-size: 26px
}

.f_group .spin_edit_wrapper:after,.f_group .spin_edit_wrapper:before {
    display: none
}

.f_group .spin_edit_wrapper .minus,.f_group .spin_edit_wrapper .plus {
    position: absolute;
    top: 5px;
    color: transparent;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: .3s all;
    border-radius: 5px;
    background: #efeff3
}

.f_group .spin_edit_wrapper .minus:hover,.f_group .spin_edit_wrapper .plus:hover {
    background: #e3e3ea
}

.f_group .spin_edit_wrapper .plus {
    right: 5px
}

.f_group .spin_edit_wrapper .plus:after,.f_group .spin_edit_wrapper .plus:before {
    display: block;
    content: '';
    position: absolute;
    width: 12px;
    height: 2px;
    background: #a6adb4;
    left: calc(50% - 6px);
    top: calc(50% - 1px);
    border-radius: 2px
}

.f_group .spin_edit_wrapper .plus:before {
    transform: rotate(90deg)
}

.f_group .spin_edit_wrapper .minus {
    left: 5px
}

.f_group .spin_edit_wrapper .minus:after {
    display: block;
    content: '';
    position: absolute;
    width: 12px;
    height: 2px;
    left: calc(50% - 6px);
    top: calc(50% - 1px);
    background: #a6adb4
}

.f_group:not([class*=mar]) .error span.error,.f_group:not([class*=mar]).error span.error {
    margin-bottom: -18px
}

.f_group .error span.error,.f_group.error span.error {
    display: block;
    color: #d36a6e;
    font-size: 13px;
    line-height: 18px;
    word-wrap: break-word
}

.f_group .error input:not(:focus),.f_group .error input[readonly=readonly]:not(:focus),.f_group .error textarea:not(:focus),.f_group.error input:not(:focus),.f_group.error input[readonly=readonly]:not(:focus),.f_group.error textarea:not(:focus) {
    background: #fcf6f6;
    border-color: #d36a6e;
    color: #d36a6e
}

.f_group .error input:not(:focus)+.icon,.f_group .error input[readonly=readonly]:not(:focus)+.icon,.f_group .error textarea:not(:focus)+.icon,.f_group.error input:not(:focus)+.icon,.f_group.error input[readonly=readonly]:not(:focus)+.icon,.f_group.error textarea:not(:focus)+.icon {
    color: #d36a6e
}

.f_group .error input:not(:focus):-moz-placeholder,.f_group .error input[readonly=readonly]:not(:focus):-moz-placeholder,.f_group .error textarea:not(:focus):-moz-placeholder,.f_group.error input:not(:focus):-moz-placeholder,.f_group.error input[readonly=readonly]:not(:focus):-moz-placeholder,.f_group.error textarea:not(:focus):-moz-placeholder {
    color: #e26166
}

.f_group .error input:not(:focus)::-moz-placeholder,.f_group .error input[readonly=readonly]:not(:focus)::-moz-placeholder,.f_group .error textarea:not(:focus)::-moz-placeholder,.f_group.error input:not(:focus)::-moz-placeholder,.f_group.error input[readonly=readonly]:not(:focus)::-moz-placeholder,.f_group.error textarea:not(:focus)::-moz-placeholder {
    color: #e26166
}

.f_group .error input:not(:focus):-ms-input-placeholder,.f_group .error input[readonly=readonly]:not(:focus):-ms-input-placeholder,.f_group .error textarea:not(:focus):-ms-input-placeholder,.f_group.error input:not(:focus):-ms-input-placeholder,.f_group.error input[readonly=readonly]:not(:focus):-ms-input-placeholder,.f_group.error textarea:not(:focus):-ms-input-placeholder {
    color: #e26166
}

.f_group .error input:not(:focus)::-webkit-input-placeholder,.f_group .error input[readonly=readonly]:not(:focus)::-webkit-input-placeholder,.f_group .error textarea:not(:focus)::-webkit-input-placeholder,.f_group.error input:not(:focus)::-webkit-input-placeholder,.f_group.error input[readonly=readonly]:not(:focus)::-webkit-input-placeholder,.f_group.error textarea:not(:focus)::-webkit-input-placeholder {
    color: #e26166
}

.f_group .error .f_textarea.nano textarea:not(:focus)+.border,.f_group.error .f_textarea.nano textarea:not(:focus)+.border {
    border-color: #d36a6e!important
}

.f_group .error .f_textarea.nano textarea:not(:focus)+.border:after,.f_group .error .f_textarea.nano textarea:not(:focus)+.border:before,.f_group.error .f_textarea.nano textarea:not(:focus)+.border:after,.f_group.error .f_textarea.nano textarea:not(:focus)+.border:before {
    opacity: 0
}

.f_group.valid input:not(:focus),.f_group.valid input[readonly=readonly]:not(:focus),.f_group.valid textarea:not(:focus) {
    border-color: #45d39a
}

.f_group.valid input:not(:focus)+.icon,.f_group.valid input[readonly=readonly]:not(:focus)+.icon,.f_group.valid textarea:not(:focus)+.icon {
    color: #45d39a
}

.f_group.valid .f_textarea.nano textarea:not(:focus)+.border {
    border-color: #45d39a!important
}

.f_group .range_slider input {
    opacity: 0
}

.f_group .f_label:not([class*=mar]) {
    margin-bottom: 7px
}

.f_group .f_label label {
    display: block;
    padding-right: 5px;
    line-height: 22px;
    font-size: 14px;
    font-weight: 500
}

.f_group .f_label sup {
    color: #d36a6e
}

.f_group.f_total .total {
    font-size: 32px;
    margin-left: 5px;
    line-height: 24px
}

.f_group a {
    vertical-align: baseline;
    font-size: inherit;
    text-decoration: underline
}

.f_group .jq-selectbox__not-found {
    color: #d36a6e;
    font-size: 13px;
    line-height: 18px;
    margin: 5px 0;
    word-wrap: break-word;
    padding-left: 15px
}

.f_group .jq-selectbox__search:not([style="display: none;"]) {
    z-index: auto;
    border-bottom: inherit
}

.f_group .jq-selectbox__search:not([style="display: none;"]) input {
    background: #fff;
    border: none;
    height: 40px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    position: relative;
    z-index: 2
}

.f_group .jq-selectbox__search:not([style="display: none;"])~ul {
    padding-top: 45px;
    z-index: auto
}

.f_group .jq-selectbox__search:not([style="display: none;"])~ul li {
    position: relative;
    z-index: 1
}

.f_group .jq-selectbox__search:not([style="display: none;"])~.nano-pane {
    top: 45px;
    bottom: 5px
}

.f_group .jq-selectbox__select {
    z-index: 1
}

.f_group .jq-selectbox__select-text {
    background: #fff;
    padding: 19px 40px 19px 15px;
    line-height: 22px;
    border: 1px solid #d9dce6;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: .3s all;
    font-weight: 600
}

.f_group select {
    background: #fff;
    padding: 0 0 0 15px;
    border: 1px solid #d9dce6;
    border-radius: 8px;
    width: 100%;
    background: #fff url(./images/select_arrow.svg) right 12px center no-repeat;
    color: inherit;
    height: 62px
}

@media (min-width: 768px) {
    .f_group select {
        height:48px
    }
}

.f_group .jq-selectbox {
    width: 100%;
    display: block;
    line-height: 23px
}

.f_group .jq-selectbox ul .disabled {
    display: none
}

.f_group .jq-selectbox select {
    width: 100%;
    max-height: 100%
}

.f_group .jq-selectbox__dropdown {
    width: 100%;
    background: #fff;
    border: 1px solid #d9dce6;
    border-radius: 8px;
    box-shadow: 0 5px 8px 0 rgba(0,0,0,.15);
    font-weight: 400;
    position: absolute
}

.f_group .jq-selectbox__dropdown ul {
    padding: 8px 20px 8px 8px
}

.f_group .jq-selectbox__dropdown ul li {
    cursor: pointer;
    transition: .3s all;
    padding: 6px 7px;
    word-wrap: break-word
}

.f_group .jq-selectbox__dropdown ul li.selected,.f_group .jq-selectbox__dropdown ul li:hover {
    color: #6e5fd3;
    background: #f0f1f5;
    border-radius: 4px
}

.f_group .dropdown .jq-selectbox__dropdown {
    margin-top: 5px
}

.f_group .dropup .jq-selectbox__dropdown {
    margin-bottom: 5px
}

.f_group .dropup .jq-selectbox__search input {
    border-bottom: none
}

.f_group .opened .jq-selectbox__select-text {
    border-color: #5f4fc7
}

.f_group .opened .jq-selectbox__trigger {
    transform: rotate(180deg);
    background: url(./images/select_arrow_hover.svg) center no-repeat
}

.f_group .jq-selectbox__trigger {
    position: absolute;
    top: 0;
    right: 0;
    width: 38px;
    height: 100%;
    transition: .3s all;
    cursor: pointer;
    background: url(./images/select_arrow.svg) center no-repeat
}

.checkbox {
    width: 40px;
    height: 28px;
    border-radius: 14px;
    box-shadow: 0 0 0 1px #d9dce6 inset;
    position: relative;
    display: block;
    overflow: hidden;
    transition: .3s all;
    cursor: pointer
}

.checkbox.b-circle {
    width: 28px
}

.checkbox.b-square {
    width: 30px;
    height: 30px;
    box-shadow: 0 0 0 2px #dfe4ea inset
}

.checkbox:after {
    display: block;
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: inherit;
    background: #594ac2 url(./images/check_icon_white.svg) center no-repeat;
    transition: .3s all;
    transform: scale(2);
    opacity: 0;
    pointer-events: none
}

input:checked+.checkbox:after {
    transform: scale(1);
    opacity: 1
}

.active .checkbox_container,input:checked+.checkbox_container {
    border-color: #5f4fc7;
    box-shadow: 0 0 0 1px #5f4fc7 inset;
    background: #f5f5ff
}

.active .checkbox_container .checkbox:after,input:checked+.checkbox_container .checkbox:after {
    transform: scale(1);
    opacity: 1
}

.active .checkbox_container .text-grey,input:checked+.checkbox_container .text-grey {
    color: #594ac2
}

.radio {
    display: inline-block;
    position: relative;
    box-shadow: 0 0 0 2px #dfe4ea inset;
    transition: .3s all;
    width: 28px;
    height: 28px
}

.radio:after {
    display: block;
    content: '';
    position: absolute;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    background: #594ac2;
    transition: .3s all;
    left: 6px;
    top: 6px;
    opacity: 0;
    transform: scale(1.6)
}

input:checked+.radio {
    box-shadow: 0 0 0 2px #594ac2 inset
}

input:checked+.radio:after {
    opacity: 1;
    transform: scale(1)
}

.checkbox_container {
    border-radius: 8px;
    border: 1px solid #d9dce6;
    transition: .3s all;
    background: #fff;
    cursor: pointer;
    min-height: 66px
}

.checkbox_container .text-grey {
    transition: .3s all
}

.modal-dialog {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100%;
    pointer-events: none
}

.modal-dialog>div {
    pointer-events: auto;
    max-height: 100%;
    min-height: 0
}

@media (max-width: 767px) {
    .h1,h1 {
        font-size:36px;
        line-height: 46px
    }

    .h2,h2 {
        font-size: 28px;
        line-height: 34px
    }

    .h3,h3 {
        font-size: 22px;
        line-height: 1.27
    }

    .width {
        padding-right: 15px;
        padding-left: 15px
    }

    .text_holder_block {
        font-size: 16px
    }

    .text_holder_block ol,.text_holder_block ul {
        margin: 20px 0
    }

    .accordion .text_holder_block {
        font-size: 15px
    }

    .f_group {
        width: 100%
    }
}

@media (min-width: 1250px) {
    .width {
        max-width:1210px;
        margin-left: auto;
        margin-right: auto
    }
}

.flex {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start
}

.flex>* {
    min-width: 0
}

.flex-column {
    flex-direction: column
}

.flex-nowrap {
    flex-wrap: nowrap
}

.flex-nowrap>* {
    min-width: 0
}

.flex-hcenter,.flex-jc-center {
    justify-content: center
}

.flex-jc-between {
    justify-content: space-between
}

.flex-jc-around {
    justify-content: space-around
}

.flex-ai-start {
    align-items: flex-start
}

.flex-ai-center,.flex-vcenter {
    align-items: center
}

.flex-ai-baseline {
    align-items: baseline
}

.flex-ai-stretch {
    align-items: stretch
}

.flex-as-start {
    align-self: flex-start
}

.flex-grow1 {
    flex-grow: 1
}

.flex-shrink0 {
    flex-shrink: 0
}

.pad0 {
    padding: 0
}

.pad0-t {
    padding-top: 0
}

.pad0-r {
    padding-right: 0
}

.pad0-b {
    padding-bottom: 0
}

.pad0-l {
    padding-left: 0
}

.pad0-tb {
    padding-top: 0;
    padding-bottom: 0
}

.pad0-rl {
    padding-right: 0;
    padding-left: 0
}

.pad5 {
    padding: 5px
}

.pad5-t {
    padding-top: 5px
}

.pad5-r {
    padding-right: 5px
}

.pad5-b {
    padding-bottom: 5px
}

.pad5-l {
    padding-left: 5px
}

.pad5-tb {
    padding-top: 5px;
    padding-bottom: 5px
}

.pad5-rl {
    padding-right: 5px;
    padding-left: 5px
}

.pad10 {
    padding: 10px
}

.pad10-t {
    padding-top: 10px
}

.pad10-r {
    padding-right: 10px
}

.pad10-b {
    padding-bottom: 10px
}

.pad10-l {
    padding-left: 10px
}

.pad10-tb {
    padding-top: 10px;
    padding-bottom: 10px
}

.pad10-rl {
    padding-right: 10px;
    padding-left: 10px
}

.pad20 {
    padding: 20px
}

.pad20-t {
    padding-top: 20px
}

.pad20-r {
    padding-right: 20px
}

.pad20-b {
    padding-bottom: 20px
}

.pad20-l {
    padding-left: 20px
}

.pad20-tb {
    padding-top: 20px;
    padding-bottom: 20px
}

.pad20-rl {
    padding-right: 20px;
    padding-left: 20px
}

.pad30 {
    padding: 30px
}

.pad30-t {
    padding-top: 30px
}

.pad30-r {
    padding-right: 30px
}

.pad30-b {
    padding-bottom: 30px
}

.pad30-l {
    padding-left: 30px
}

.pad30-tb {
    padding-top: 30px;
    padding-bottom: 30px
}

.pad30-rl {
    padding-right: 30px;
    padding-left: 30px
}

.pad50 {
    padding: 50px
}

.pad50-t {
    padding-top: 50px
}

.pad50-r {
    padding-right: 50px
}

.pad50-b {
    padding-bottom: 50px
}

.pad50-l {
    padding-left: 50px
}

.pad50-tb {
    padding-top: 50px;
    padding-bottom: 50px
}

.pad50-rl {
    padding-right: 50px;
    padding-left: 50px
}

.mar0 {
    margin: 0
}

.mar0-t {
    margin-top: 0
}

.mar0-r {
    margin-right: 0
}

.mar0-b {
    margin-bottom: 0
}

.mar0-l {
    margin-left: 0
}

.mar0-tb {
    margin-top: 0;
    margin-bottom: 0
}

.mar0-rl {
    margin-right: 0;
    margin-left: 0
}

.mar5 {
    margin: 5px
}

.mar5-t {
    margin-top: 5px
}

.mar5-r {
    margin-right: 5px
}

.mar5-b {
    margin-bottom: 5px
}

.mar5-l {
    margin-left: 5px
}

.mar5-tb {
    margin-top: 5px;
    margin-bottom: 5px
}

.mar5-rl {
    margin-right: 5px;
    margin-left: 5px
}

.mar10 {
    margin: 10px
}

.mar10-t {
    margin-top: 10px
}

.mar10-r {
    margin-right: 10px
}

.mar10-b {
    margin-bottom: 10px
}

.mar10-l {
    margin-left: 10px
}

.mar10-tb {
    margin-top: 10px;
    margin-bottom: 10px
}

.mar10-rl {
    margin-right: 10px;
    margin-left: 10px
}

.mar20 {
    margin: 20px
}

.mar20-t {
    margin-top: 20px
}

.mar20-r {
    margin-right: 20px
}

.mar20-b {
    margin-bottom: 20px
}

.mar20-l {
    margin-left: 20px
}

.mar20-tb {
    margin-top: 20px;
    margin-bottom: 20px
}

.mar20-rl {
    margin-right: 20px;
    margin-left: 20px
}

.mar30 {
    margin: 30px
}

.mar30-t {
    margin-top: 30px
}

.mar30-r {
    margin-right: 30px
}

.mar30-b {
    margin-bottom: 30px
}

.mar30-l {
    margin-left: 30px
}

.mar30-tb {
    margin-top: 30px;
    margin-bottom: 30px
}

.mar30-rl {
    margin-right: 30px;
    margin-left: 30px
}

.mar50 {
    margin: 50px
}

.mar50-t {
    margin-top: 50px
}

.mar50-r {
    margin-right: 50px
}

.mar50-b {
    margin-bottom: 50px
}

.mar50-l {
    margin-left: 50px
}

.mar50-tb {
    margin-top: 50px;
    margin-bottom: 50px
}

.mar50-rl {
    margin-right: 50px;
    margin-left: 50px
}

.mar-auto {
    margin: auto
}

.mar-auto-t {
    margin-top: auto
}

.mar-auto-r {
    margin-right: auto
}

.mar-auto-b {
    margin-bottom: auto
}

.mar-auto-l {
    margin-left: auto
}

.mar-auto-tb {
    margin-top: auto;
    margin-bottom: auto
}

.mar-auto-rl {
    margin-right: auto;
    margin-left: auto
}

.w-auto {
    width: auto
}

.w90px {
    width: 90px
}

.w90px-min {
    min-width: 90px
}

.w90px-max {
    max-width: 90px
}

.w110px {
    width: 110px
}

.w110px-min {
    min-width: 110px
}

.w110px-max {
    max-width: 110px
}

.w150px {
    width: 150px
}

.w150px-min {
    min-width: 150px
}

.w150px-max {
    max-width: 150px
}

.w160px {
    width: 160px
}

.w160px-min {
    min-width: 160px
}

.w160px-max {
    max-width: 160px
}

.w190px {
    width: 190px
}

.w190px-min {
    min-width: 190px
}

.w190px-max {
    max-width: 190px
}

.w225px {
    width: 225px
}

.w225px-min {
    min-width: 225px
}

.w225px-max {
    max-width: 225px
}

.w280px {
    width: 280px
}

.w280px-min {
    min-width: 280px
}

.w280px-max {
    max-width: 280px
}

.w300px {
    width: 300px
}

.w300px-min {
    min-width: 300px
}

.w300px-max {
    max-width: 300px
}

.w320px {
    width: 320px
}

.w320px-min {
    min-width: 320px
}

.w320px-max {
    max-width: 320px
}

.w375px {
    width: 375px
}

.w375px-min {
    min-width: 375px
}

.w375px-max {
    max-width: 375px
}

.w400px {
    width: 400px
}

.w400px-min {
    min-width: 400px
}

.w400px-max {
    max-width: 400px
}

.w425px {
    width: 425px
}

.w425px-min {
    min-width: 425px
}

.w425px-max {
    max-width: 425px
}

.w500px {
    width: 500px
}

.w500px-min {
    min-width: 500px
}

.w500px-max {
    max-width: 500px
}

.w605px {
    width: 605px
}

.w605px-min {
    min-width: 605px
}

.w605px-max {
    max-width: 605px
}

.w670px {
    width: 670px
}

.w670px-min {
    min-width: 670px
}

.w670px-max {
    max-width: 670px
}

.w740px {
    width: 740px
}

.w740px-min {
    min-width: 740px
}

.w740px-max {
    max-width: 740px
}

.w900px {
    width: 900px
}

.w900px-min {
    min-width: 900px
}

.w900px-max {
    max-width: 900px
}

.w970px {
    width: 970px
}

.w970px-min {
    min-width: 970px
}

.w970px-max {
    max-width: 970px
}

.w1020px {
    width: 1020px
}

.w1020px-min {
    min-width: 1020px
}

.w1020px-max {
    max-width: 1020px
}

.w33 {
    width: 33.33%
}

.w50 {
    width: 50%
}

.w50-min {
    min-width: 50%
}

.w50-max {
    max-width: 50%
}

.w100 {
    width: 100%
}

.w100-min {
    min-width: 100%
}

.w100-max {
    max-width: 100%
}

.hidden {
    display: none!important
}

@media screen and (max-width: 1209px) {
    .hidden_1209 {
        display:none!important
    }

    .visible_1209 {
        display: block!important
    }
}

@media screen and (max-width: 767px) {
    .hidden_767 {
        display:none!important
    }

    .visible_767 {
        display: block!important
    }
}

h1 a,h2 a,h3 a {
    font-size: inherit;
    color: inherit;
    text-decoration: underline
}

.text-regular {
    font-weight: 400
}

.text-medium {
    font-weight: 500
}

.text-semibold {
    font-weight: 600
}

.text-bold {
    font-weight: 700
}

.text-white {
    color: #fff
}

.text-grey {
    color: #a6adb4
}

.text-default {
    color: #45456d
}

.text-dark-violet {
    color: #000045
}

.text-light-violet {
    color: #e3e1fa
}

.text-violet {
    color: #594ac2
}

.text-gold {
    color: #ffbf2d
}

.text-green {
    color: #45d39a
}

.underline {
    text-decoration: underline
}

.decoration-none {
    text-decoration: none
}

.hover-underline {
    text-decoration: none
}

.hover-underline:hover {
    text-decoration: underline
}

.hover-text-white:hover {
    color: #fff
}

.upper {
    text-transform: uppercase
}

.t-left {
    text-align: left
}

.t-right {
    text-align: right
}

.t-center {
    text-align: center
}

.t-nowrap {
    white-space: nowrap
}

.t-break-word {
    word-wrap: break-word
}

.t-clip {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.t10px {
    font-size: 10px
}

.t11px {
    font-size: 11px
}

.t12px {
    font-size: 12px
}

.t13px {
    font-size: 13px
}

.t14px {
    font-size: 14px
}

.t16px {
    font-size: 16px
}

.t17px {
    font-size: 17px
}

.t18px {
    font-size: 18px
}

.t20px {
    font-size: 20px
}

.t22px {
    font-size: 22px
}

.t24px {
    font-size: 24px
}

.t26px {
    font-size: 26px
}

.t28px {
    font-size: 28px
}

.t36px {
    font-size: 36px
}

.t48px {
    font-size: 48px
}

.b-circle {
    border-radius: 50%
}

.rounded4 {
    border-radius: 4px
}

.rounded8 {
    border-radius: 8px
}

.rounded10 {
    border-radius: 10px
}

.rounded15 {
    border-radius: 15px
}

.rounded20 {
    border-radius: 20px
}

.rounded25 {
    border-radius: 25px
}

.rounded30 {
    border-radius: 30px
}

.violet_bg {
    background: #6857d0
}

.white_bg {
    background: #fff
}

.shadow_large {
    box-shadow: 0 20px 18px 0 rgba(126,112,152,.1)
}

.shadow_middle {
    box-shadow: 0 10px 8px 0 rgba(0,0,0,.08)
}

.shadow_small {
    box-shadow: 0 5px 8px 0 rgba(0,0,0,.15)
}

.samples,.violet_gradient_bg {
    background: linear-gradient(45deg,#5446bc 0,#6857d0 100%);
    background-size: cover;
    background-repeat: no-repeat
}

.samples .pagination_list li,.samples .pagination_list li>a,.violet_gradient_bg .pagination_list li,.violet_gradient_bg .pagination_list li>a {
    color: #887ed0
}

.samples .pagination_list li>a:hover,.violet_gradient_bg .pagination_list li>a:hover {
    color: #7f7fa2
}

.samples .pagination_list li.pagination-nav a,.violet_gradient_bg .pagination_list li.pagination-nav a {
    box-shadow: 0 0 0 2px #fff inset;
    color: #fff
}

.samples .pagination_list li.pagination-nav span,.violet_gradient_bg .pagination_list li.pagination-nav span {
    box-shadow: 0 0 0 2px #887ed0 inset
}

.samples .pagination_list li.active>span,.violet_gradient_bg .pagination_list li.active>span {
    position: relative;
    color: #fff
}

.samples .pagination_list li.active>span:before,.violet_gradient_bg .pagination_list li.active>span:before {
    border-bottom: 2px solid #fff
}

.light_violet_bg {
    background: #f5f5ff
}

.faq,.light_violet_gradient_bg {
    background: linear-gradient(135deg,#e0f2fe 0,#e9f6ff 100%);
    background-size: cover;
    background-repeat: no-repeat
}

.dark_violet_bg {
    background: #160647
}

.violet_decor {
    position: relative;
    z-index: auto
}

.violet_decor>* {
    position: relative;
    z-index: 1
}

.violet_decor:after,.violet_decor:before {
    display: block;
    content: '';
    position: absolute;
    background: linear-gradient(to bottom,#5446bc 50%,rgba(86,72,190,0) 100%);
    pointer-events: none
}

.violet_decor:before {
    left: 0;
    border-top-right-radius: 55px
}

.violet_decor:after {
    right: 0;
    border-top-left-radius: 55px
}

.dark_violet_decor:after,.dark_violet_decor:before {
    background: linear-gradient(to bottom,#1f1467 -10%,rgba(31,14,82,0) 90%)
}

.dark_violet_border {
    border: 1px solid #150647
}

.light_violet_border {
    border: 1px solid #cec9f0
}

.link_with_icon {
    display: inline-flex;
    align-items: center
}

.link_with_icon:before {
    display: inline-block;
    content: '';
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    margin-right: 15px
}

.link_with_icon.dollar_icon:before {
    background: url(./images/dollar_icon.svg);
    background-size: cover
}

.link_with_icon.writers_icon:before {
    background: url(./images/writers_icon.svg);
    background-size: cover
}

.link_with_icon.about_us_icon:before {
    background: url(./images/about_us_icon.svg);
    background-size: cover
}

.link_with_icon:after {
    display: inline-block;
    content: '';
    width: 10px;
    height: 10px;
    background: url(./images/arrow_white.svg) center no-repeat;
    background-size: contain;
    transition: .3s all;
    margin: 0 0 0 10px;
    transform: rotate(-90deg)
}

.slick-slide {
    outline: 0
}

.hub-slider-dots,.slick-dots {
    display: flex;
    justify-content: center;
    width: 100%
}

.hub-slider-dots button,.slick-dots button {
    display: none
}

.faq .hub-slider-dots li,.faq .slick-dots li,.light_violet_gradient_bg .hub-slider-dots li,.light_violet_gradient_bg .slick-dots li {
    background: #d2ddec
}

.violet_bg .hub-slider-dots li,.violet_bg .slick-dots li,.violet_gradient_bg .hub-slider-dots li,.violet_gradient_bg .slick-dots li {
    background: #b1a8fe
}

.violet_bg .hub-slider-dots li[class*=active],.violet_bg .slick-dots li[class*=active],.violet_gradient_bg .hub-slider-dots li[class*=active],.violet_gradient_bg .slick-dots li[class*=active] {
    background: #fff
}

.hub-slider-dots li,.slick-dots li {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin: 0 3px;
    background: #efeff3;
    transition: .3s all
}

.hub-slider-dots li[class*=active],.slick-dots li[class*=active] {
    background: #160647
}

.violet_wrapper .page_title {
    color: #fff
}

.violet_wrapper .page_title .h1 {
    color: #fff
}

header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    background: #6857d0;
    z-index: 300;        /* above trust bar, popups, sliders */
    transition: background .3s, box-shadow .3s, padding .25s
}

header .width {
    min-height: 60px
}

.IE_detected header .width {
    height: 60px
}

header .order_button {
    line-height: 40px
}

header .back_link {
    color: #aca5e1
}

header .back_link svg {
    height: 12px;
    width: auto;
    transform: rotate(-180deg)
}

.scrolled header {
    background: rgba(104,87,208,.95);
    box-shadow: 0 4px 20px rgba(0,0,0,.18)
}

.logo {
    display: block;
    transition: .3s all
}

.logo img {
    object-fit: contain
}

.logo_grey {
    width: 50px;
    height: 27px;
}

.main_nav_button {
    outline: 0;
    position: relative
}

.logged .main_nav_button:before {
    display: block;
    content: '';
    position: absolute;
    transition: .15s opacity;
    background: url(./images/burger_logged.svg) no-repeat;
    background-size: 33px auto;
    left: -2px;
    right: 0;
    bottom: -1px;
    top: -3px;
    transition-delay: .33s
}

.logged:not(.menu_open) .hamburger {
    opacity: 0;
    transition-delay: 345ms
}

.logged:not(.menu_open) .hamburger-inner {
    width: 17px
}

.logged:not(.menu_open) .hamburger-inner:before {
    width: 13px
}

.menu_open .main_nav_button:before {
    opacity: 0;
    transition-delay: 0s
}

.hamburger {
    display: block;
    width: 30px;
    height: 21px;
    cursor: pointer;
    position: relative;
    transition: .05s opacity
}

.hamburger-inner {
    position: absolute;
    width: 30px;
    height: 3px;
    border-radius: 2px;
    background: #fff;
    transition-property: all;
    right: 0;
    top: 0;
    transition-delay: .13s;
    transition-timing-function: cubic-bezier(.55,.055,.675,.19);
    transition-duration: .13s
}

.menu_open .hamburger-inner {
    transition-delay: .22s;
    transition-timing-function: cubic-bezier(.215,.61,.355,1);
    transform: translate3d(0,7px,0) rotate(45deg);
    width: 30px
}

.hamburger-inner:after {
    display: block;
    content: '';
    position: absolute;
    right: 0;
    background: #fff;
    width: 30px;
    height: 3px;
    border-radius: 2px;
    top: 18px;
    transition: all .2s cubic-bezier(.33333,.66667,.66667,1) .2s,opacity .1s linear
}

.menu_open .hamburger-inner:after {
    top: 0;
    transition: all .2s cubic-bezier(.33333,0,.66667,.33333),opacity .1s linear .22s;
    opacity: 0;
    width: 30px
}

.hamburger-inner:before {
    display: block;
    content: '';
    position: absolute;
    right: 0;
    top: 9px;
    width: 30px;
    height: 3px;
    border-radius: 2px;
    background: #fff;
    transition: all .12s cubic-bezier(.33333,.66667,.66667,1) .2s,transform .13s cubic-bezier(.55,.055,.675,.19)
}

.menu_open .hamburger-inner:before {
    top: 0;
    transition: all .1s cubic-bezier(.33333,0,.66667,.33333) .16s,transform .13s cubic-bezier(.215,.61,.355,1) .25s;
    transform: rotate(90deg)
}

.main_calculator .trustpilot .rate_bar,.testimonials .page_title .trustpilot .rate_bar,.testimonials_block .trustpilot .rate_bar,.writers_trustpilot_widget .rate_bar {
    background: linear-gradient(to right,rgba(16,176,36,0) 0,rgba(16,176,36,0) 20%,#fff 20%,#fff calc(20% + 1px),rgba(16,176,36,0) calc(20% + 1px),rgba(16,176,36,0) 40%,#fff 40%,#fff calc(40% + 1px),rgba(16,176,36,0) calc(40% + 1px),rgba(16,176,36,0) 60%,#fff 60%,#fff calc(60% + 1px),rgba(16,176,36,0) calc(60% + 1px),rgba(16,176,36,0) 80%,#fff 80%,#fff calc(80% + 1px),rgba(16,176,36,0) calc(80% + 1px),rgba(16,176,36,0) 100%) no-repeat,url(./images/trustpilot_rating_stars.svg) center no-repeat,linear-gradient(to right,#10b024 0,#10b024 100%),linear-gradient(to right,#dcdce6 0,#dcdce6 100%);
    background-repeat: no-repeat;
    transition: .5s all
}

.IE_detected .main_calculator .trustpilot .rate_bar,.IE_detected .testimonials .page_title .trustpilot .rate_bar,.IE_detected .testimonials_block .trustpilot .rate_bar,.IE_detected .writers_trustpilot_widget .rate_bar,.main_calculator .trustpilot .IE_detected .rate_bar,.testimonials .page_title .trustpilot .IE_detected .rate_bar,.testimonials_block .trustpilot .IE_detected .rate_bar,.writers_trustpilot_widget .IE_detected .rate_bar {
    background: linear-gradient(to right,rgba(16,176,36,0) 0,rgba(16,176,36,0) 20%,#fff 20%,#fff 20.5%,rgba(16,176,36,0) 20.5%,rgba(16,176,36,0) 40%,#fff 40%,#fff 40.5%,rgba(16,176,36,0) 40.5%,rgba(16,176,36,0) 60%,#fff 60%,#fff 60.5%,rgba(16,176,36,0) 60.5%,rgba(16,176,36,0) 80%,#fff 80%,#fff 80.5%,rgba(16,176,36,0) 80.5%,rgba(16,176,36,0) 100%) no-repeat,url(./images/trustpilot_rating_stars.svg) center no-repeat,linear-gradient(to right,#10b024 0,#10b024 100%),linear-gradient(to right,#dcdce6 0,#dcdce6 100%);
    background-repeat: no-repeat
}

.discount_chip {
    background: #4c3dac;
    padding-left: 34px;
    padding-right: 34px;
    position: relative;
    line-height: 23px;
    display: inline-block;
    height: 35px
}

.discount_chip:hover {
    color: #fff;
    font-size: 16px
}

.discount_chip:hover:before {
    transform: scale(1.3)
}

.discount_chip:before {
    display: block;
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: url(./images/rating_star.svg) bottom;
    background-size: 100% auto;
    top: calc(50% - 6px);
    left: 14px;
    transition: .3s all
}

.discount_chip:after {
    display: block;
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: url(./images/arrow_white.svg) center no-repeat;
    transform: rotate(-90deg);
    top: calc(50% - 4px);
    right: 15px;
    transition: .3s all
}

.main_calculator {
    position: relative;
    z-index: auto
}

.main_calculator .violet_decor {
    top: 0
}

.main_calculator .violet_decor:after,.main_calculator .violet_decor:before {
    bottom: 0
}

.main_calculator .slogan>* {
    position: relative;
    z-index: 2
}

.main_calculator .slogan>.violet_decor {
    position: absolute;
    z-index: 0
}

.main_calculator .calculator {
    max-width: 525px;
    position: relative;
    z-index: 5
}

.main_calculator .calculator .checkbox_container {
    min-width: 235px
}

.main_calculator .calculator .f_group.urgency .count {
    background: #efeff3;
    min-width: 100px
}

.main_calculator .trustpilot {
    text-align: left
}

.main_calculator .trustpilot .trustpilot_rating_wrapper,.main_calculator .trustpilot .trustpilot_review_wrapper {
    position: absolute
}

.main_calculator .trustpilot .trustpilot_rating {
    border-radius: 25px 25px 0 25px
}

.main_calculator .trustpilot .trustpilot_review {
    background: #ffd46c
}

.main_calculator .trustpilot .rate_bar {
    width: 110px;
    height: 22px
}

.main_calculator .trustpilot .trustpilot_avatar {
    border-radius: 50%;
    position: absolute
}

.main_calculator .trustpilot .trustpilot_avatar img {
    transform: scale(1.04);
    border-radius: inherit;
    width: 100%;
    height: 100%
}

.main_calculator .trustpilot .status {
    color: #7f7fa2;
    position: absolute
}

.main_calculator .trustpilot .status:after {
    display: inline-block;
    content: '';
    border-radius: 50%;
    width: 12px;
    height: 12px;
    margin-left: 5px;
    vertical-align: middle
}

.main_calculator .trustpilot .status.online:after {
    box-shadow: 0 0 0 1px #b5f0bc inset,0 0 0 3px #fff inset,0 0 0 4px #10b024 inset,0 0 0 6px #98e1a1 inset
}

.main_calculator .trustpilot .status.offline {
    color: rgba(127,127,162,.3)
}

.main_calculator .trustpilot .status.offline:after {
    box-shadow: 0 0 0 3px #fff inset,0 0 0 6px rgba(127,127,162,.3) inset
}

.why_choose_us .icon {
    background: url(./images/why_choose_icons.svg) top left;
    background-size: 823%
}

.why_choose_us .item {
    line-height: 26px
}

.why_choose_us .item h3 {
    line-height: 26px
}

.why_choose_us .item:nth-child(2) .icon {
    background-position: center left
}

.why_choose_us .item:nth-child(3) .icon {
    background-position: bottom left
}

.why_choose_us .security_icons {
    max-width: 380px
}

.why_choose_us .security_icons .item {
    width: 89px;
    height: 35px;
    background: url(./images/why_choose_icons.svg) bottom right
}

.why_choose_us .security_icons .item:nth-child(2) {
    background-position: bottom right -133px
}

.why_choose_us .security_icons .item:nth-child(1) {
    background-position: bottom right -267px
}

.decorated_block_title {
    position: relative
}

.decorated_block_title:after {
    display: block;
    content: '';
    position: absolute;
    width: 130px;
    height: 10px;
    background: url(./images/waves_decor.svg);
    top: calc(100% + 15px);
    left: calc(50% - 65px)
}

.testimonials_block .trustpilot {
    position: relative
}

.testimonials_block .trustpilot>* {
    position: relative;
    z-index: 1
}

.testimonials_block .trustpilot:after {
    display: block;
    content: '';
    position: absolute;
    bottom: 0
}

.testimonials_block .trustpilot .trustpilot_logo {
    background: url(./images/trustpilot_logo.svg);
    background-size: contain
}

.testimonials_block .testimonials_slider .testimonial_slide {
    background: #ffd46c;
    box-shadow: 0 5px 15px 0 rgba(0,0,0,.05);
    height: 100%;
    transition: .4s all
}

.testimonials_block .testimonials_slider .testimonial_slide p {
    line-height: 23px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical
}

.testimonials_block .testimonials_slider .avatar {
    width: 70px;
    height: 70px;
    background: #e9f4ff;
    position: relative;
    overflow: hidden
}

.testimonials_block .testimonials_slider .avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%
}

.testimonials_block .testimonials_slider .avatar svg {
    position: absolute;
    width: 40%;
    height: 42%;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    opacity: .5
}

.testimonials_block .testimonials_slider p {
    -webkit-line-clamp: 6
}

.testimonials_block .testimonials_slider .rating .int_star {
    background-size: 14px auto;
    width: 14px;
    height: 14px
}

.testimonials_block .testimonials_slider .rating .int_star~.int_star {
    margin-left: 4px
}

.testimonials_block .testimonials_slider .rating_count {
    line-height: 20px;
    margin-top: 1px;
    margin-bottom: 1px;
    position: relative
}

.testimonials_block .testimonials_slider .rating_count:before {
    display: inline-block;
    content: '';
    margin-right: 10px;
    border-radius: 50%;
    background: #ffbf2d;
    width: 20px;
    height: 20px
}

.testimonials_block .testimonials_slider .rating_count:after {
    display: block;
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    left: 5px;
    top: 5px;
    background: url(./images/rating_star_white.svg) bottom;
    background-size: 100% auto
}

.sample {
    position: relative;
    z-index: auto;
    border-radius: 20px 50px 20px 20px;
    background: linear-gradient(to right,#fff 0,#fff 100%) top left no-repeat,linear-gradient(to right,#fff 0,#fff 100%) bottom left no-repeat;
    background-size: calc(100% - 58px) 52px,100% calc(100% - 52px);
    max-width: 320px
}

.IE_detected .sample {
    background-size: calc(100% - 57px) 53px,100% calc(100% - 51px)
}

.sample:before {
    display: block;
    content: '';
    position: absolute;
    width: 59px;
    height: 54px;
    right: 0;
    top: 0;
    background: url(./images/samples_decor.svg);
    pointer-events: none
}

.sample .sample_feature {
    width: calc(50% - 5px);
    background: url(./images/sample_icons_sprite.svg);
    padding-top: 47px
}

.sample .sample_feature:nth-child(1) {
    background-position: -23px -65px
}

.sample .sample_feature:nth-child(2) {
    background-position: -168px -65px
}

.sample .sample_feature:nth-child(3) {
    background-position: -23px -155px
}

.sample .sample_feature:nth-child(4) {
    background-position: -168px -155px
}

.safetiness_block {
    line-height: 28px
}

.safetiness_block .safetiness_services {
    width: 325px;
    height: 36px;
    background: url(./images/safetiness_logos.svg) center no-repeat;
    background-size: cover
}

.read_more_text.light_violet_bg {
    background: #e9f6ff
}

.read_more_text .width:before {
    display: block;
    content: '';
    background: url(./images/read_more_text_icon.svg);
    background-size: cover;
    margin-bottom: 40px
}

.read_more_text .read_more_button {
    border: 1px solid #aca4e0;
    width: 64px;
    color: #594ac2;
    padding: 18px 0 34px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: .3s all
}

.read_more_text .read_more_button:hover {
    border-color: #594ac2;
    background: #f5f5ff
}

.read_more_text .read_more_button:before {
    display: block;
    content: '';
    position: absolute;
    width: 6px;
    height: 10px;
    background: url(./images/range_pointer_arrows.svg);
    background-size: 100% auto;
    left: calc(50% - 3px);
    bottom: 19px;
    transform: rotate(90deg)
}

.read_more_text .read_more_button.hide {
    padding: 33px 0 18px
}

.read_more_text .read_more_button.hide:before {
    top: 15px;
    bottom: auto;
    transform: rotate(-90deg)
}

.read_more_text .text_holder_block {
    position: relative
}

.read_more_text .text_holder_block.expanded_content {
    overflow: hidden
}

.read_more_text .text_holder_block.not_visible {
    height: 612px
}

.read_more_text .text_holder_block.not_visible:after {
    display: block;
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 200px;
    background: linear-gradient(to bottom,rgba(245,245,255,0) 0,#f5f5ff 100%)
}

.read_more_text .text_holder_block ol>li h3 {
    font-size: 16px
}

.read_more_text .text_holder_block ol>li h3+p {
    margin-top: 8px
}

.read_more_text .banner_quote {
    border-radius: 55px 55px 55px 0;
    line-height: 1.45;
    position: relative;
    background: linear-gradient(45deg,#5446bc 0,#6857d0 100%);
    background-size: cover;
    background-repeat: no-repeat
}

.read_more_text .banner_quote:after {
    display: block;
    content: '';
    position: absolute;
    pointer-events: none;
    background: url(./images/quotes_violet_banner_decor.svg) left bottom;
    top: 0
}

.read_more_text .banner_quote p {
    position: relative;
    font-weight: 600
}

.read_more_text .banner_quote p:before {
    display: block;
    content: '';
    position: absolute;
    background: url(./images/quotes_violet_banner_icon.svg) no-repeat;
    background-size: contain;
    left: 0
}

.read_more_text .accordion .accordion_label {
    min-height: auto
}

.read_more_text .accordion .accordion_label:before {
    display: inline-block;
    content: '';
    flex-shrink: 0;
    border-radius: 50%;
    width: 6px;
    height: 6px;
    background: #594ac2;
    align-self: flex-start
}

.read_more_text .accordion+:not(.accordion) {
    margin-top: 40px
}

.accordion .accordion_item_container {
    border-bottom: 1px solid #c8c1ec
}

.accordion .arrow {
    position: absolute;
    transition: .3s all;
    transform: rotate(90deg);
    background: url(./images/range_pointer_arrows.svg) center top 8px no-repeat;
    background-size: 6px auto;
    border: 1px solid #cec9f0;
    border-radius: 50%
}

.accordion .opened .arrow {
    transform: rotate(-90deg)
}

.accordion .opened .accordion_label_text {
    color: #594ac2
}

.accordion .toggled_content {
    display: none
}

.accordion .accordion_label {
    position: relative;
    cursor: pointer;
    min-height: 70px;
    transition: .3s all;
    display: flex;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 30px;
    color: #000045;
    font-size: 16px;
    font-weight: 600;
    word-wrap: break-word
}

.accordion .accordion_label .accordion_label_text {
    padding-right: 10px
}

.inline_customer_review {
    border-radius: 55px 55px 55px 0;
    background: #160647;
    color: #fff;
    padding: 20px 30px
}

.inline_customer_review b,.inline_customer_review strong {
    color: inherit
}

.inline_customer_review .inline_customer_review_header {
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    font-size: 16px
}

.inline_customer_review .inline_customer_review_header b:first-child,.inline_customer_review .inline_customer_review_header strong:first-child {
    font-size: 20px
}

.inline_customer_review .flat_rating_group {
    background: #ffbf2d;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    padding: 5px 10px;
    margin-left: auto;
    flex-shrink: 0
}

.inline_customer_review .flat_rating_group .rating {
    flex-shrink: 0;
    margin-right: 5px
}

.inline_customer_review .flat_rating_group .rate_count {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    font-size: 20px;
    font-weight: 600
}

.inline_customer_review .flat_rating_group .rate_count:not(:first-child) {
    margin-left: 20px
}

.inline_customer_review .flat_rating_group .rate_count_icon {
    margin-right: 5px
}

.inline_customer_review.small {
    padding-left: 15px;
    padding-right: 15px
}

.inline_customer_review a {
    color: inherit
}

.inline_customer_review a:hover {
    opacity: .6
}

.inline_customer_review a.content_button {
    text-decoration: none;
    color: #fff
}

.inline_customer_review .inline_customer_review_footer {
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid #504475;
    color: #e3e1fa;
    display: flex;
    align-items: center
}

.inline_customer_review .inline_customer_review_footer p {
    flex-grow: 1
}

.inline_customer_review .inline_customer_review_footer p b,.inline_customer_review .inline_customer_review_footer p strong {
    font-weight: 500
}

.inline_customer_review .inline_customer_review_footer .content_button {
    line-height: 40px;
    height: 40px;
    flex-shrink: 0
}

.inline_customer_review .short_description {
    display: flex;
    align-items: center
}

.inline_customer_review .short_description>p {
    margin-bottom: 0;
    margin-top: 0
}

.inline_customer_review .short_description>p b,.inline_customer_review .short_description>p strong {
    color: #ffbf2d
}

.action_block.light_violet_bg {
    background: #e9f6ff
}

.flat_rating_group {
    border-radius: 50px
}

.flat_rating_group .rating {
    display: inline-flex;
    flex-shrink: 0
}

.flat_rating_group .rating .int_star {
    display: block;
    background: url(./images/rating_star_white.svg) bottom left no-repeat;
    background-size: 14px auto;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    position: relative
}

.flat_rating_group .rating .int_star~.int_star {
    margin-left: 4px
}

.flat_rating_group .rating-0>.int_star {
    background-position: left top
}

.flat_rating_group .rating-1>.int_star:nth-child(1)~.int_star {
    background-position: left top
}

.flat_rating_group .rating-2>.int_star:nth-child(2)~.int_star {
    background-position: left top
}

.flat_rating_group .rating-3>.int_star:nth-child(3)~.int_star {
    background-position: left top
}

.flat_rating_group .rating-4>.int_star:nth-child(4)~.int_star {
    background-position: left top
}

.flat_rating_group .rate_count .rate_count_icon {
    width: 16px;
    height: 16px;
    background: url(./images/rate_count_icon.svg)
}

.archive .violet_wrapper>*,.archive .violet_wrapper~*,.prices .violet_wrapper>*,.prices .violet_wrapper~*,.static_page .violet_wrapper>*,.static_page .violet_wrapper~* {
    position: relative;
    z-index: auto
}

.archive .violet_wrapper .violet_gradient_bg,.prices .violet_wrapper .violet_gradient_bg,.static_page .violet_wrapper .violet_gradient_bg {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    z-index: 0
}

.archive .violet_wrapper .violet_gradient_bg:before,.prices .violet_wrapper .violet_gradient_bg:before,.static_page .violet_wrapper .violet_gradient_bg:before {
    bottom: 0
}

.archive .violet_wrapper .violet_gradient_bg:after,.prices .violet_wrapper .violet_gradient_bg:after,.static_page .violet_wrapper .violet_gradient_bg:after {
    bottom: 0
}

.extras_table {
    line-height: 23px
}

.extras_table input[type=radio] {
    display: none
}

.extras_table label {
    cursor: pointer
}

.extras_table .price {
    line-height: normal
}

.pagination_list li>a,.pagination_list li>span {
    width: 30px;
    margin: 0 3px;
    line-height: 24px
}

.pagination_list li,.pagination_list li>a {
    color: #8e98a2
}

.pagination_list li>a:hover {
    color: #7f7fa2
}

.pagination_list li.pagination-nav a,.pagination_list li.pagination-nav span {
    width: 44px;
    height: 44px;
    line-height: 44px;
    margin: 0
}

.pagination_list li.pagination-nav a svg,.pagination_list li.pagination-nav span svg {
    margin: 0
}

.pagination_list li.pagination-nav a {
    box-shadow: 0 0 0 2px #aca4e0 inset;
    color: #594ac2
}

.pagination_list li.pagination-nav a:hover {
    background: #f5f5ff
}

.pagination_list li.pagination-nav span {
    box-shadow: 0 0 0 2px #d9dce6 inset
}

.pagination_list li.active>span {
    position: relative
}

.pagination_list li.active>span:before {
    display: block;
    content: '';
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: -10px;
    border-bottom: 2px solid #5f4fc7
}

.page_title .h1 {
    letter-spacing: -.6px
}

.writer_list_item .writer_avatar {
    width: 65px;
    height: 65px;
    text-align: center;
    line-height: 65px;
    background: #f5f5ff
}

.writer_list_item .writer_avatar svg {
    vertical-align: middle
}

.writer_list_item .writer_id {
    line-height: 26px
}

.writer_list_item .toggle_button {
    align-self: stretch;
    outline: 0;
    color: #7f7fa2
}

.writer_list_item .toggle_button:focus {
    color: inherit
}

.writer_list_item .toggle_button svg {
    height: 14px;
    width: 9px;
    transition: .3s all;
    transform: rotate(90deg)
}

.writer_list_item.opened .toggle_button svg {
    transform: rotate(-90deg)
}

.writer_status {
    position: relative;
    line-height: 18px
}

.writer_status:before {
    display: block;
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    left: 10px;
    top: calc(50% - 3px)
}

.writer_status.suggestion {
    background: #e9f8eb;
    color: #0ca11e
}

.writer_status.suggestion:before {
    box-shadow: #10b024 0 0 0 1px inset,#98e1a1 0 0 0 3px inset
}

.writer_status.unavailable {
    background: #fae9e9;
    color: #e26166
}

.writer_status.unavailable:before {
    box-shadow: #d36a6e 0 0 0 1px inset,#ffc5c5 0 0 0 3px inset
}

.writer_status.searching {
    background: #efeff3;
    color: #8e98a2
}

.writer_status.searching:before {
    box-shadow: #8e98a2 0 0 0 1px inset,#d9dce6 0 0 0 3px inset
}

.chip {
    line-height: 22px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 34px
}

.simple_rating_count .rate_count_icon {
    width: 15px;
    height: 15px;
    background: url(./images/rating_star.svg) bottom no-repeat;
    background-size: 100% auto
}

.writers_trustpilot_widget svg {
    display: block
}

.writers_trustpilot_widget svg #Oval {
    position: relative
}

.writers_trustpilot_widget .width {
    position: relative;
    max-width: 375px;
    padding-left: 0;
    padding-right: 0;
    min-height: 265px;
    background: url(./images/writers_trustpilot_bg.png) bottom center no-repeat;
    background-size: 356px auto
}

.writers_trustpilot_widget .rate_bar {
    width: 120px;
    height: 23px;
    position: absolute;
    left: 15px;
    top: 20px;
    z-index: 1
}

.writers_trustpilot_widget .rate_bar span {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 6px
}

.filters_modal .modal-dialog {
    padding: 0;
    max-height: 100%
}

.filters_modal header {
    background: #6857d0;
    box-shadow: 0 12px 10px 0 #fff;
    font-size: 20px;
    position: relative
}

.filters_modal header .width {
    position: relative;
    padding-right: 80px;
    padding-left: 15px
}

.filters_modal .filters_wrapper {
    overflow-y: auto;
    overflow-x: hidden
}

.filters_modal .buttons_wrapper {
    position: relative;
    box-shadow: 0 -12px 10px 0 #fff
}

.filters_modal .buttons_wrapper .content_button {
    line-height: 48px
}

.filters_modal .buttons_wrapper .light_violet_bordered_button {
    line-height: 46px
}

.filters_modal .accordion .arrow {
    background: 0 0;
    width: 8px;
    height: 14px;
    top: calc(50% - 7px);
    right: 10px;
    border: none
}

.filters_modal .accordion .arrow svg {
    width: auto;
    height: 14px;
    display: block
}

.filters_modal .accordion .accordion_item_container {
    border-bottom-color: #d9dce6
}

.filters_modal .accordion .radio+span {
    margin-top: 4px
}

.filters_modal .filter_chips_list {
    margin-left: -10px
}

.filters_modal .filter_chips_list.selected {
    border-bottom: 1px solid #d9dce6;
    margin-bottom: 15px
}

.filter_chips_list {
    margin-right: -10px
}

.filter_chips_list.selected .chip {
    border-color: #ebe9f9;
    background: #ebe9f9;
    color: #594ac2
}

.filter_chips_list.selected .chip .remove {
    display: inline-block;
    position: relative;
    height: 22px;
    width: 33px;
    margin-right: -15px;
    cursor: pointer;
    transition: .3s all;
    transform-origin: 37% 50%
}

.filter_chips_list.selected .chip .remove:after,.filter_chips_list.selected .chip .remove:before {
    display: block;
    content: '';
    position: absolute;
    width: 11px;
    border-bottom: 1px solid #594ac2;
    top: 10px;
    right: 15px
}

.filter_chips_list.selected .chip .remove:before {
    transform: rotate(45deg)
}

.filter_chips_list.selected .chip .remove:after {
    transform: rotate(-45deg)
}

.writer_subjects_list {
    margin-right: -10px
}

.modal {
    height: 100%
}

.modal .violet_decor:before {
    top: 35px;
    bottom: 0;
    border-bottom-left-radius: inherit
}

.modal .violet_decor:after {
    top: 184px;
    bottom: 0;
    border-bottom-right-radius: inherit
}

.writer_view_item {
    background: #fff;
    border: 1px solid #d9dce6
}

.writer_view_item .writer_avatar svg {
    height: 34%;
    width: 27.5%
}

.review_item {
    background: #fcf3df
}

.review_item+.review_item {
    margin-top: 25px
}

.review_item .separator {
    border-bottom: 1px solid #fece62
}

.post_item {
    background: #fcf3df
}

.post_item+.post_item {
    margin-top: 25px
}

.post_item .separator {
    border-bottom: 1px solid #fece62
}

.post_item a:hover {
    color: #000045
}

.testimonials .page_title .width {
    position: relative
}

.testimonials .page_title .trustpilot {
    position: absolute
}

.testimonials .page_title .trustpilot:after {
    display: block;
    content: '';
    position: absolute;
    width: 135px;
    height: 10px;
    background: url(./images/waves_decor.svg);
    z-index: 1
}

.testimonials .page_title .trustpilot .image_wrapper {
    position: relative;
    background: linear-gradient(135deg,#d5ecfc 0,#d1eafa 100%)
}

.testimonials .page_title .trustpilot .image_wrapper img {
    position: absolute
}

.testimonials .page_title .trustpilot .trustpilot_logo {
    position: absolute;
    width: 110px;
    height: 40px;
    border-radius: 25px 25px 0 25px;
    background: #fff url(./images/trustpilot_logo.svg) center no-repeat;
    background-size: 91px auto;
    z-index: 1
}

.testimonials .page_title .trustpilot .trustpilot_rating {
    position: absolute;
    border-radius: 25px 0 25px 25px;
    z-index: 1
}

.testimonials .action_block {
    background: #fff
}

.discount_banner .width {
    position: relative;
    overflow: hidden;
    line-height: 21px
}

.discount_banner .width:before {
    display: block;
    content: '';
    position: absolute;
    height: 159px;
    background: url(./images/discount_label_decor.svg) center top no-repeat;
    background-size: 100% auto;
    z-index: 1
}

.discount_banner .h3 {
    line-height: 28px
}

.discount_banner .violet_decor {
    overflow: hidden
}

.discount_banner .violet_decor:before {
    bottom: 0;
    top: 15px!important
}

.discount_banner .violet_decor:after {
    bottom: 0;
    top: 35px!important
}

.discount_item {
    background: #ffd46c url(./images/discount_item_decor.svg) right 10px bottom -20px no-repeat;
    box-shadow: 0 5px 15px 0 rgba(0,0,0,.05)
}

.discount_item p {
    line-height: 23px
}

.discount_item .chip {
    color: #eea800;
    min-width: 140px
}

.about_us .width {
    position: relative
}

.about_item p {
    line-height: 26px
}

.about_item .icon {
    background: url(./images/about_us_icons.svg) center top no-repeat;
    background-size: 100% auto
}

.about_us .items_wrapper .width>div:nth-child(2) .about_item .icon {
    background-position-y: 33.33%
}

.about_us .items_wrapper .width>div:nth-child(3) .about_item .icon {
    background-position-y: 66.66%
}

.about_us .items_wrapper .width>div:nth-child(4) .about_item .icon {
    background-position-y: 100%
}

.faq .page_title p {
    color: #131252
}

.faq .accordion .accordion_item_container {
    border-color: #d9dce6
}

.faq .accordion .opened .text-dark-violet {
    color: #594ac2
}

.contact_us .violet_wrapper>*,.contact_us .violet_wrapper~* {
    position: relative;
    z-index: auto
}

.contact_us .violet_wrapper .violet_gradient_bg {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    z-index: 0
}

.contact_us .violet_wrapper .violet_decor:before {
    bottom: 0
}

.contact_us .violet_wrapper .violet_decor:after {
    bottom: 0
}

.contact_item .badge {
    width: 80px;
    height: 80px;
    margin-top: -40px;
    position: relative
}

.contact_item .chip {
    position: absolute;
    color: #7f7fa2;
    line-height: 15px;
    padding: 6px 10px;
    left: 62px;
    bottom: 0
}

.contact_item .chip:after {
    display: inline-block;
    content: '';
    border-radius: 50%;
    width: 14px;
    height: 14px;
    margin-bottom: 1px;
    box-shadow: 0 0 0 1px #b5f0bc inset,0 0 0 3px #fff inset,0 0 0 4px #10b024 inset,0 0 0 7px #98e1a1 inset;
    margin-left: 5px;
    vertical-align: middle
}

.archive .violet_wrapper,.static_page .violet_wrapper {
    position: relative
}

.pages_menu_scroll_container {
    overflow: hidden
}

.pages_menu {
    overflow-x: auto;
    overflow-y: hidden;
    transition: .3s all
}

.pages_menu:hover li.active:not(:hover) {
    border-color: transparent
}

.pages_menu li {
    border-bottom: 3px solid transparent;
    transition: .3s all;
    overflow: hidden
}

.pages_menu li.active {
    border-color: #ffbf2d
}

.pages_menu li.active a {
    color: #fff
}

.pages_menu li:not(.active):hover {
    border-color: #ffbf2d
}

.pages_menu li:not(.active):hover a {
    color: #fff;
    transform: scale(1.2)
}

.pages_menu a {
    color: #e3e1fa;
    display: block;
    line-height: 28px
}

.error404 .violet_decor:before {
    bottom: 0
}

.error404 .violet_decor:after {
    bottom: 0
}

.cookie_tip {
    position: fixed;
    z-index: 101;
    line-height: 21px
}

.cookie_tip .description {
    position: relative
}

.cookie_tip svg {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%)
}

footer {
    background: #fff;
    position: relative;
    z-index: auto
}

footer a:hover {
    color: #aca4e0
}

footer a svg {
    display: block
}

footer .bottom {
    background: #160647
}

footer .copy {
    color: #736a8f
}

footer .contacts_group a .icon {
    display: inline-block;
    vertical-align: middle
}

footer .payments:before {
    display: block;
    content: ''
}

footer .footer_links a {
    display: inline-block
}

footer .footer_links a:not(:hover) {
    color: #000045
}

footer .services_menu {
    line-height: 20px
}

.animated.delay-0_5s {
    -webkit-animation-delay: .5s;
    animation-delay: .5s
}

@media (max-width: 500px) {
    .discount_chip {
        font-size:14px;
        padding-right: 30px;
        padding-left: 30px
    }

    .discount_chip .t13px {
        font-size: 12px
    }

    .cookie_tip {
        bottom: 0;
        left: 0;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
        max-width: none;
        width: 100%
    }

    .modal-dialog {
        justify-content: flex-end;
        padding: 50px 0 0;
        max-width: none
    }

    .modal-dialog .t20px {
        font-size: 28px
    }

    .modal-dialog .violet_decor {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0
    }

    .modal.pass_changed svg {
        width: 80px;
        height: auto
    }

    .modal.pass_changed svg {
        width: 100px;
        height: auto
    }
}

@media (max-width: 767px) {
    .main_content>.safetiness_block {
        padding-bottom:30px
    }

    .pagination_list .text-semibold {
        font-weight: 500
    }

    header .main_nav_button {
        margin-right: -30px
    }

    .scrolled.authorization_page header .order_button,.scrolled.error404 header .order_button,header .order_button {
        opacity: 0;
        pointer-events: none
    }

    .scrolled header .logo {
        margin-left: 50px;
    }

    .scrolled header .order_button {
        animation: order_button_fadein .3s forwards;
        pointer-events: unset
    }

    @keyframes order_button_fadein {
        0% {
            display: block;
            opacity: 0
        }

        100% {
            opacity: 1
        }
    }

    @keyframes order_button_fadeout {
        0% {
            opacity: 1
        }

        100% {
            display: none;
            opacity: 0
        }
    }

    header .logo {
        margin-left: calc(50% - 35px);
    }

    .authorization_page header .logo,.error404 header .logo {
        margin-left: calc(50% - 96px);
    }

    .header_nav_wrapper {
        padding-top: 20px
    }

    .header_nav_wrapper .contacts_group {
        margin: 0 10px 10px
    }

    .header_nav_wrapper .contacts_group a {
        color: #e3e1fa;
        line-height: 25px;
        padding: 18px 15px
    }

    .header_nav_wrapper .contacts_group a:nth-child(1) svg {
        margin-right: 14px
    }

    .header_nav_wrapper .contacts_group a:nth-child(2) {
        border-top: 1px solid #8575e5
    }

    .header_nav_wrapper .content_button svg {
        color: #b1a8fe
    }

    .main_calculator:before {
        top: 104px
    }

    .main_calculator:after {
        top: 258px
    }

    .main_calculator .slogan {
        position: relative;
        padding-top: 40px
    }

    .main_calculator .slogan .h1 {
        letter-spacing: -1.3px
    }

    .main_calculator .slogan .content_button {
        width: 160px
    }

    .main_calculator .violet_decor {
        bottom: -121px;
        left: -15px;
        right: -15px
    }

    .main_calculator .trustpilot {
        height: 412px;
        width: 350px;
        background: url(./images/trustpilot_trace_m.svg)
    }

    .main_calculator .trustpilot .trustpilot_review_wrapper {
        bottom: 103px;
        left: 48px
    }

    .main_calculator .trustpilot .trustpilot_review_wrapper .trustpilot_avatar {
        width: 65px;
        height: 65px;
        left: -27px;
        top: 18px
    }

    .main_calculator .trustpilot .trustpilot_rating_wrapper {
        left: 16px;
        top: 27px
    }

    .main_calculator .trustpilot .trustpilot_rating_wrapper .trustpilot_avatar {
        width: 120px;
        height: 120px;
        left: 184px;
        top: 17px
    }

    .main_calculator .trustpilot .status {
        left: 17px;
        top: 11px
    }

    .main_calculator .calculator .f_group .scroll_dots {
        margin-left: 20px
    }

    .main_calculator .calculator .checkbox_container~.checkbox_container {
        margin-left: 10px
    }

    .violet_decor:before {
        right: calc(50% - 40px)
    }

    .violet_decor:after {
        left: calc(50% + 50px)
    }

    .why_choose_us h3 {
        font-size: 28px
    }

    .why_choose_us .icon {
        width: 56px;
        height: 56px
    }

    .why_choose_us .item h3 {
        font-size: 20px
    }

    .how_it_works .h2 {
        font-weight: 600
    }

    .how_it_works .buttons_wrapper {
        order: 10;
        flex-direction: column
    }

    .how_it_works .buttons_wrapper .gold_button {
        width: 100%
    }

    .how_it_works:before {
        height: 600px;
        max-height: calc(100% - 43px);
        top: 43px
    }

    .how_it_works:after {
        height: 600px;
        max-height: calc(100% - 203px);
        top: 203px
    }

    .how_it_works .width {
        padding-left: 0;
        padding-right: 0
    }

    .how_it_works .how_it_works_slider .item {
        line-height: 23px
    }

    .how_it_works .how_it_works_slider .item * {
        transition: .4s all
    }

    .how_it_works .how_it_works_slider .item .h3 {
        line-height: 22px
    }

    .how_it_works .how_it_works_slider .item .illustration {
        width: 251px;
        height: 222px;
        background: url(./images/how_it_works_steps_mob.jpg);
        background-size: 1064px auto;
        border-radius: 21px;
        margin: 30px auto 62px
    }

    .how_it_works .how_it_works_slider .item:not(.slick-center) .h3,.how_it_works .how_it_works_slider .item:not(.slick-center) p {
        opacity: 0
    }

    .how_it_works .how_it_works_slider .item:not(.slick-center) .illustration {
        transform: translateX(100px)
    }

    .how_it_works .how_it_works_slider .item.slick-center+.slick-slide .illustration {
        transform: translateX(-100px)
    }

    .how_it_works .how_it_works_slider .item:nth-child(2) .illustration {
        background-position: top left -271px
    }

    .how_it_works .how_it_works_slider .item:nth-child(3) .illustration {
        background-position: top left -542px
    }

    .how_it_works .how_it_works_slider .item:nth-child(4) .illustration {
        background-position: top left -813px
    }

    .how_it_works .how_it_works_slider .slick-dots {
        position: absolute;
        left: 0;
        right: 0;
        top: 282px
    }

    .testimonials_block .h3 {
        margin-bottom: 70px;
        font-size: 28px
    }

    .testimonials_block .trustpilot {
        border-radius: 50px 50px 2px 50px;
        padding: 25px;
        font-size: 14px
    }

    .testimonials_block .trustpilot:after {
        width: 205px;
        height: 246px;
        background: url(./images/testimonials_block_trustpilot_img_mob.png);
        right: -6px
    }

    .testimonials_block .trustpilot p {
        font-size: 12px
    }

    .testimonials_block .trustpilot .text-bold {
        font-weight: 600
    }

    .testimonials_block .trustpilot .trustpilot_logo {
        width: 129px;
        height: 31px
    }

    .testimonials_block .trustpilot .rate_bar {
        width: 90px;
        height: 18px
    }

    .testimonials_block .trustpilot .content_button {
        width: 170px
    }

    .testimonials_block .testimonials_slider {
        margin-left: -15px;
        margin-right: -15px
    }

    .testimonials_block .testimonials_slider .testimonial_slide {
        width: 72%
    }

    .testimonials_block .testimonials_slider .avatar {
        margin-left: -40px
    }

    .testimonials_block .testimonials_slider .slick-slide .testimonial_slide {
        transform: translateX(calc(38%))
    }

    .testimonials_block .testimonials_slider .slick-center .testimonial_slide {
        transform: translateX(0)
    }

    .testimonials_block .testimonials_slider .slick-center+.slick-slide .testimonial_slide {
        transform: translateX(calc(-38%))
    }

    .testimonials_block .testimonials_slider .slick-dots {
        margin-top: 10px
    }

    .samples_block.violet_decor:before {
        bottom: 0;
        top: 43px
    }

    .samples_block.violet_decor:after {
        bottom: 0;
        top: 203px
    }

    .samples_block .h2 {
        font-weight: 600
    }

    .samples_slider_wrapper {
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px)
    }

    .samples_slider {
        max-width: 375px
    }

    .samples_slider .slick-track {
        display: block
    }

    .safetiness_block {
        background: #fff
    }

    .safetiness_block .h3 {
        font-size: 28px
    }

    .safetiness_block .illustration_wrapper {
        width: calc(100% + 30px);
        margin-left: -15px
    }

    .safetiness_block .illustration {
        padding-bottom: 77.5%;
        background: url(./images/safetiness_img_mob.svg) no-repeat;
        background-size: cover
    }

    .safetiness_block .description>* {
        order: 5
    }

    .safetiness_block .description .safetiness_services {
        margin-bottom: 30px;
        order: 1
    }

    .safetiness_block .description p {
        font-size: 16px;
        line-height: 26px;
        text-align: center
    }

    .read_more_text h1 {
        font-size: 28px;
        line-height: 34px
    }

    .read_more_text .width:before {
        width: 56px;
        height: 56px
    }

    .read_more_text .read_more_button {
        border-width: 2px
    }

    .read_more_text .banner_quote {
        padding: 80px 20px 35px 185px;
        margin: 40px auto 25px;
        min-height: 230px
    }

    .read_more_text .banner_quote:after {
        width: 100px;
        height: 67px;
        right: 1px
    }

    .read_more_text .banner_quote:before {
        display: block;
        content: '';
        position: absolute;
        background: url(./images/quotes_violet_banner_image_mob.png);
        width: 160px;
        height: 257px;
        left: 12px;
        bottom: 0
    }

    .read_more_text .banner_quote p {
        font-size: 16px
    }

    .read_more_text .banner_quote p:before {
        width: 30px;
        height: 29px;
        top: -47px
    }

    .read_more_text .accordion .accordion_label:before {
        margin: 9px 10px 0
    }

    .read_more_text .accordion .text_holder_block {
        padding-left: 26px
    }

    .accordion .arrow {
        right: 0;
        width: 33px;
        height: 33px;
        top: calc(50% - 16px);
        background-position-y: 10px;
        border-width: 2px
    }

    .action_block .dark_violet_decor:before {
        top: 40px;
        bottom: 0
    }

    .action_block .dark_violet_decor:after {
        top: 200px;
        bottom: 0
    }

    .action_block p {
        position: relative
    }

    .action_block p:after {
        display: block;
        content: '';
        position: absolute;
        width: 135px;
        height: 10px;
        bottom: 0;
        left: calc(50% - 67px);
        background: url(./images/waves_decor_2.svg)
    }

    .inline_customer_review {
        padding: 20px
    }

    .inline_customer_review .inline_customer_review_header {
        flex-wrap: wrap;
        margin-top: 5px
    }

    .inline_customer_review .inline_customer_review_header .flat_rating_group {
        margin-left: 0;
        margin-top: 10px
    }

    .inline_customer_review.large {
        margin-top: 20px;
        margin-bottom: 30px
    }

    .inline_customer_review.small {
        margin-top: 20px;
        margin-bottom: 20px;
        padding: 20px
    }

    .inline_customer_review.middle {
        margin-top: 20px;
        margin-bottom: 20px
    }

    .inline_customer_review .inline_customer_review_footer {
        flex-wrap: wrap
    }

    .inline_customer_review .inline_customer_review_footer p {
        width: 100%
    }

    .inline_customer_review .inline_customer_review_footer .content_button {
        width: 100%
    }

    .inline_customer_review .short_description p {
        order: 10;
        margin-left: 15px;
        font-size: 16px
    }

    .inline_customer_review .short_description p+.flat_rating_group .rate_count.t20px {
        font-size: 18px
    }

    .page_title {
        padding-top: 45px
    }

    .prices .violet_wrapper {
        position: relative
    }

    .prices .violet_gradient_bg {
        border-bottom-right-radius: 100px
    }

    .prices .violet_gradient_bg:before {
        top: 97px
    }

    .prices .violet_gradient_bg:after {
        top: 208px;
        border-bottom-right-radius: inherit
    }

    .prices_sections_wrapper .white_bg {
        box-shadow: none
    }

    .prices_calculator .checkbox_container~.checkbox_container {
        margin-left: 10px
    }

    .prices_calculator p {
        line-height: 23px
    }

    .prices_calculator .tabs_heading {
        box-shadow: 0 0 0 1px #d9dce6 inset
    }

    .prices_calculator .tab_list_item {
        transition: .3s all;
        line-height: 40px
    }

    .prices_calculator .tab_list_item.active {
        color: #fff;
        font-weight: 600;
        background: #5f4fc7
    }

    .prices_calculator .tab_list_item:first-child {
        border-radius: 8px 0 0 8px
    }

    .prices_calculator .tab_list_item:last-child {
        border-radius: 0 8px 8px 0
    }

    .price_table_item label {
        padding-top: 15px;
        padding-bottom: 15px;
        margin-bottom: 15px
    }

    .price_table_item:not(.current) {
        display: none!important
    }

    .price_table_item .t12px.text-default.w100.w-auto-tablet {
        margin-top: 2px
    }

    .extras_table .mar5-b {
        margin-bottom: 4px
    }

    .extras_table .mar5-l {
        margin-left: 4px
    }

    .prices_total .content_button {
        width: 100%
    }

    .samples_wrapper .sample {
        margin-bottom: 30px
    }

    .samples_wrapper .samples_masonry_container {
        max-width: 350px!important
    }

    .writers .page_title {
        background: #f5f5ff
    }

    .writers .action_block {
        padding-top: 0
    }

    .writer_list_item {
        padding-left: 15px;
        padding-right: 15px
    }

    .writer_list_item+.writer_list_item {
        margin-top: 25px
    }

    .writer_list_item .buttons_group {
        flex-direction: column
    }

    .writer_list_item .buttons_group .t14px {
        font-size: 16px
    }

    .writer_list_item .buttons_group a svg {
        width: 7px;
        height: auto
    }

    .writer_list_item .writer_statistic {
        order: 2;
        width: 100%
    }

    .writer_list_item .writer_id_row {
        margin-left: 15px;
        width: calc(100% - 115px)
    }

    .writer_list_item .toggle_button {
        order: 1;
        width: 35px
    }

    .writer_list_item .toggle_button svg {
        margin-top: -33px
    }

    .writer_list_item .expanded_content {
        order: 2
    }

    .writer_list_item .simple_rating_count {
        margin-right: -10px
    }

    .writer_list_item .simple_rating_count .rate_count_icon {
        width: 14px;
        height: 14px
    }

    .cookie_tip .description {
        padding-left: 60px
    }

    .authorization_page {
        background: #fff
    }

    .writer_view_item .writer_avatar {
        width: 95px;
        height: 95px
    }

    .writer_view_item .writer_statistic>div+div {
        border-top: 1px solid #d9dce6
    }

    .writer_view_item .writer_statistic>div:last-child {
        border-bottom: 1px solid #d9dce6
    }

    .testimonials .page_title {
        text-align: center
    }

    .testimonials .page_title .width {
        padding-bottom: 343px;
        overflow: hidden
    }

    .testimonials .page_title .width {
        max-width: 500px
    }

    .testimonials .page_title .h1 {
        font-size: 28px;
        line-height: 34px
    }

    .testimonials .page_title .trustpilot {
        bottom: -7px;
        left: calc(50% - 150px)
    }

    .testimonials .page_title .trustpilot:after {
        right: -60px;
        top: -30px
    }

    .testimonials .page_title .trustpilot .trustpilot_logo {
        top: -10px;
        left: -20px
    }

    .testimonials .page_title .trustpilot .image_wrapper {
        width: 300px;
        height: 300px
    }

    .testimonials .page_title .trustpilot .image_wrapper img {
        width: 280px;
        height: auto;
        left: 8px;
        bottom: -36px
    }

    .testimonials .page_title .trustpilot .trustpilot_rating {
        bottom: 18px;
        left: -18px
    }

    .testimonials .page_title .trustpilot .rate_bar {
        width: 80px;
        height: 16px
    }

    .discount_banner .width {
        padding-left: 20px;
        padding-right: 20px
    }

    .discount_banner .width:before {
        width: 159px;
        left: 10px;
        top: -34px
    }

    .discount_banner .violet_decor>.flex {
        min-height: 154px
    }

    .discount_banner .content_button {
        width: calc(100% + 20px);
        max-width: 500px;
        margin-left: -15px;
        margin-right: -5px;
        line-height: 48px;
        height: 48px
    }

    .discount_item {
        width: 240px;
        background-position: right -20px bottom -20px;
        margin: 0 8px;
        margin-top: 10px;
        transition: .6s all;
        height: 100%
    }

    .slick-center .discount_item {
        transform: translateY(-10px)
    }

    .slick-slide:not(.slick-center) .discount_item {
        opacity: .7
    }

    .discounts_wrapper .slick-track {
        padding-bottom: 20px
    }

    .discounts_wrapper .discounts-slick-arrow {
        position: absolute;
        top: 0;
        bottom: 0;
        width: calc(50% - 120px);
        z-index: 1
    }

    .discounts_wrapper .discounts-slick-arrow.prev {
        left: 0
    }

    .discounts_wrapper .discounts-slick-arrow.next {
        right: 0
    }

    .discounts_wrapper .width {
        padding-left: 0;
        padding-right: 0
    }

    .about_us {
        background: #fff
    }

    .about_us .page_title {
        text-align: center;
        background: linear-gradient(135deg,#e0f2fe 0,#e9f6ff 100%);
        color: #131252
    }

    .about_us .page_title p {
        line-height: 25px
    }

    .about_us .page_title .width {
        flex-direction: column;
        align-items: center
    }

    .about_us .page_title img {
        margin-right: -51px
    }

    .about_us+.action_block {
        background: #fff
    }

    .about_item .icon {
        width: 56px;
        height: 56px
    }

    .faq .page_title {
        padding-bottom: 351px;
        background: url(./images/faq_title_illustration_mob.png) left calc(50% - 30px) bottom -21px no-repeat;
        background-size: 478px auto
    }

    .faq .accordion {
        border-top: 1px solid #d9dce6
    }

    .contact_us .violet_wrapper .violet_decor:before {
        top: 97px
    }

    .contact_us .violet_wrapper .violet_decor:after {
        top: 208px
    }

    .contact_us .our_contacts {
        order: 10
    }

    .pages_menu {
        font-size: 14px;
        padding-left: 5px;
        padding-right: 5px
    }

    .pages_menu .t18px {
        font-size: 14px
    }

    .archive .violet_decor:before,.static_page .violet_decor:before {
        top: 30px
    }

    .archive .violet_decor:after,.static_page .violet_decor:after {
        top: 100px
    }

    .error404 .main_content {
        padding-top: 85px;
        padding-bottom: 150px
    }

    .error404 .violet_decor:before {
        top: 104px
    }

    .error404 .violet_decor:after {
        top: 258px
    }

    footer .contacts_group {
        order: 5;
        background: #160647;
        margin: 0 -15px;
        padding: 30px 15px;
        height: 132px
    }

    footer .contacts_group a {
        color: #fff;
        font-weight: 600;
        font-size: 16px
    }

    footer .contacts_group a .icon {
        width: 22px
    }

    footer .contacts_group .soc {
        margin: 48px 0 0 auto
    }

    footer .contacts_group .tel {
        margin: 25px 0 0
    }

    footer .contacts_group .tel svg {
        width: 15px;
        height: auto;
        margin: 0 auto;
        display: block
    }

    footer .contacts_group svg {
        color: #5c517e
    }

    footer .contacts_group .mail svg {
        width: 22px;
        height: auto
    }

    footer .payments {
        height: 65px;
        width: calc(100% + 30px);
        margin-left: -15px;
        margin-right: -15px;
        border-top: 1px solid #35355c;
        border-bottom: 1px solid #35355c
    }

    footer .payments:before {
        background: url(./images/footer_icons_mob.svg) bottom;
        background-size: 100% auto;
        width: calc(100% - 30px);
        max-width: 345px;
        height: 24px
    }

    footer .fb,footer .tw {
        width: 22px;
        height: 21px;
        background: url(./images/footer_icons_mob.svg)
    }

    footer .tw {
        background-position: right top;
        margin-left: 15px
    }

    footer .fb {
        background-position: right -39px top -1px
    }

    footer .footer_links {
        font-size: 18px;
        line-height: 26px
    }

    footer .footer_links li {
        width: 100%
    }

    footer .footer_links li a {
        padding: 15px 0
    }

    footer .footer_links li+li {
        border-top: 1px solid #efeff3
    }

    footer .footer_links li:last-child {
        border-bottom: 1px solid #efeff3
    }

    footer .services_menu {
        font-size: 16px;
        line-height: 24px
    }

    footer .services_menu li {
        width: 100%
    }

    footer .services_menu li:nth-child(4n)+li:not(:last-child) {
        margin-top: 30px
    }

    footer .services_menu li+li {
        margin-top: 12px
    }
}

@media (max-width: 1209px) {
    .header_nav_wrapper .menu-item-has-children,.user_account {
        display:flex;
        flex-wrap: wrap;
        align-items: center;
        position: relative
    }

    .menu-item-has-children_open.user_account>i:after,.header_nav_wrapper .menu-item-has-children_open.menu-item-has-children>i:after {
        transform: rotate(0)
    }

    .header_nav_wrapper .menu-item-has-children>i,.user_account>i {
        order: 10;
        flex-grow: 1;
        align-self: stretch
    }

    .header_nav_wrapper .menu-item-has-children>i:after,.user_account>i:after {
        display: block;
        content: '';
        position: absolute;
        width: 50px;
        height: 48px;
        background: url(./images/select_arrow_hover.svg) center no-repeat;
        background-size: 10px auto;
        right: 0;
        top: 0;
        transition: .3s all;
        transform: rotate(-90deg)
    }

    .header_nav_wrapper .menu-item-has-children ul,.user_account ul {
        display: none;
        width: 100%;
        order: 15;
        font-weight: 400;
        text-transform: none;
        padding-top: 7px;
        font-size: 16px
    }

    .header_nav_wrapper .menu-item-has-children ul a,.user_account ul a {
        padding: 7px 0;
        display: block
    }

    .header_nav_wrapper {
        display: none;
        position: fixed;
        left: 0;
        right: 0;
        top: 60px;
        height: calc(100% - 60px);
        background: #fff;
        font-weight: 600;
        font-size: 14px;
        padding-bottom: 20px;
        overflow-y: scroll
    }

    .header_nav_wrapper .header_nav {
        padding: 0 10px
    }

    .header_nav_wrapper .header_nav>ul {
        flex-direction: column;
        align-items: stretch
    }

    .header_nav_wrapper .header_nav>ul+ul {
        border-top: 1px solid #d9dce6
    }

    .header_nav_wrapper .header_nav>ul>li+li {
        border-top: 1px solid #d9dce6
    }

    .header_nav_wrapper .header_nav>ul>li {
        padding: 15px
    }

    .header_nav_wrapper .header_nav>ul>li>a,.header_nav_wrapper .header_nav>ul>li>span {
        display: block
    }

    .user_account {
        padding: 15px;
        border-bottom: 1px solid #d9dce6
    }

    .main_calculator .trustpilot .trustpilot_review {
        border-radius: 2px 40px 40px 40px
    }

    .writer_list_item {
        background: #fff;
        border: 1px solid #d9dce6
    }

    .writer_list_item .expanded_content {
        display: none;
        border-top: 1px solid transparent;
        transition: .3s border-top-color linear
    }

    .writer_list_item.opened .expanded_content {
        border-top-color: #d9dce6
    }
}

@media (min-width: 375px) and (max-width:767px) {
    .header_nav_wrapper .header_nav {
        padding-left:15px;
        padding-right: 15px
    }

    .header_nav_wrapper .contacts_group {
        margin-left: 15px;
        margin-right: 15px
    }

    .header_nav_wrapper .contacts_group a {
        padding: 18px 25px
    }

    .header_nav_wrapper .contacts_group a:nth-child(1) svg {
        margin-right: 21px
    }

    .header_nav_wrapper .contacts_group a:nth-child(2) svg {
        margin-right: 17px
    }

    footer .contacts_group {
        order: 5;
        background: #160647;
        margin: 0 -15px;
        padding: 30px 15px
    }
}

@media (min-width: 501px) {
    .cookie_tip {
        bottom:10px;
        left: 10px
    }

    .modal-dialog {
        padding: 200px 0 30px
    }
}

@media (min-width: 768px) and (max-width:1209px) {
    .header_nav_wrapper .header_nav {
        padding:15px 20px 0
    }
}

.tooltip-inner {
    font-size: 13px;
    padding: 10px 8px
}

.tooltip-inner ol,.tooltip-inner ul {
    padding-left: 10px;
    list-style: unset;
    text-align: left
}

@media (min-width: 768px) {
    .contact_us .page_holder,.homepage .page_holder,.home .page_holder,.prices .page_holder,.samples .page_holder,.transparent_header .page_holder {
        /* Keep bar offset, hero slides UNDER transparent header */
        padding-top: var(--shelby-bar-h, 36px)
    }

    .contact_us:not(.scrolled) header,.homepage:not(.scrolled) header,.home:not(.scrolled) header,.prices:not(.scrolled) header,.samples:not(.scrolled) header,.transparent_header:not(.scrolled) header {
        background: 0 0
    }
}

@media (min-width: 768px) and (min-width:1250px) {
    .contact_us:not(.scrolled) header,.homepage:not(.scrolled) header,.home:not(.scrolled) header,.prices:not(.scrolled) header,.samples:not(.scrolled) header,.transparent_header:not(.scrolled) header {
        padding-top:15px
    }
}

@media (min-width: 768px) and (max-width:1209px) {
    .contact_us .page_title,.homepage .page_title,.home .page_title,.prices .page_title,.samples .page_title,.transparent_header .page_title {
        padding-top:140px
    }
}

@media (min-width: 768px) and (min-width:1210px) {
    .contact_us .page_title,.homepage .page_title,.home .page_title,.prices .page_title,.samples .page_title,.transparent_header .page_title {
        padding-top:185px
    }
}

@media (min-width: 768px) {
    .h1,h1 {
        font-size:56px;
        line-height: 68px
    }

    .h2,h2 {
        font-size: 48px;
        line-height: 56px
    }

    .h3,h3 {
        font-size: 36px;
        line-height: 1.23
    }

    .text_holder_block .list_2_columns ol,.text_holder_block .list_2_columns ul {
        column-count: 2;
        margin: 25px 0
    }

    .text_holder_block ol,.text_holder_block ul {
        margin: 15px 0
    }

    .f_group {
        width: calc(50% - 10px)
    }

    .f_group input {
        height: 48px
    }

    .f_group .icon {
        height: 48px
    }

    .f_group .f_select {
        font-weight: 500
    }

    .f_group .spin_edit_wrapper input {
        font-size: 20px
    }

    .f_group .spin_edit_wrapper .minus,.f_group .spin_edit_wrapper .plus {
        width: 38px;
        height: 38px
    }

    .f_group .jq-selectbox__select-text {
        padding-top: 12px;
        padding-bottom: 12px;
        font-weight: 500
    }

    .f_group.w100 {
        width: 100%
    }
}

@media (min-width: 768px) and (max-width:1249px) {
    .width {
        padding-left:20px;
        padding-right: 20px
    }

    .text_holder_block list_2_columns ol,.text_holder_block list_2_columns ul {
        column-gap: 26px
    }
}

@media (min-width: 768px) and (min-width:1210px) {
    .text_holder_block .list_2_columns ol,.text_holder_block .list_2_columns ul {
        column-gap:40px
    }

    .f_group .f_label label {
        line-height: 22px
    }

    .f_group .spin_edit_wrapper {
        width: 190px
    }

    .content_button {
        line-height: 48px
    }

    .light_violet_bordered_button {
        line-height: 46px
    }
}

@media (min-width: 768px) and (min-width:768px) {
    .f_group .checkbox_container {
        min-height:58px
    }
}

@media (min-width: 768px) and (min-width:768px) {
    .flex-nowrap-tablet {
        flex-wrap:nowrap
    }

    .flex-nowrap-tablet>* {
        min-width: 0
    }
}

@media (min-width: 768px) and (min-width:1210px) {
    .flex-nowrap-large {
        flex-wrap:nowrap
    }

    .flex-nowrap-large>* {
        min-width: 0
    }
}

@media (min-width: 768px) and (min-width:768px) {
    .pad0-tablet {
        padding:0
    }

    .pad0-t-tablet {
        padding-top: 0
    }

    .pad0-r-tablet {
        padding-right: 0
    }

    .pad0-b-tablet {
        padding-bottom: 0
    }

    .pad0-l-tablet {
        padding-left: 0
    }

    .pad0-tb-tablet {
        padding-top: 0;
        padding-bottom: 0
    }

    .pad0-rl-tablet {
        padding-right: 0;
        padding-left: 0
    }

    .pad5-tablet {
        padding: 5px
    }

    .pad5-t-tablet {
        padding-top: 5px
    }

    .pad5-r-tablet {
        padding-right: 5px
    }

    .pad5-b-tablet {
        padding-bottom: 5px
    }

    .pad5-l-tablet {
        padding-left: 5px
    }

    .pad5-tb-tablet {
        padding-top: 5px;
        padding-bottom: 5px
    }

    .pad5-rl-tablet {
        padding-right: 5px;
        padding-left: 5px
    }

    .pad10-tablet {
        padding: 10px
    }

    .pad10-t-tablet {
        padding-top: 10px
    }

    .pad10-r-tablet {
        padding-right: 10px
    }

    .pad10-b-tablet {
        padding-bottom: 10px
    }

    .pad10-l-tablet {
        padding-left: 10px
    }

    .pad10-tb-tablet {
        padding-top: 10px;
        padding-bottom: 10px
    }

    .pad10-rl-tablet {
        padding-right: 10px;
        padding-left: 10px
    }

    .pad20-tablet {
        padding: 20px
    }

    .pad20-t-tablet {
        padding-top: 20px
    }

    .pad20-r-tablet {
        padding-right: 20px
    }

    .pad20-b-tablet {
        padding-bottom: 20px
    }

    .pad20-l-tablet {
        padding-left: 20px
    }

    .pad20-tb-tablet {
        padding-top: 20px;
        padding-bottom: 20px
    }

    .pad20-rl-tablet {
        padding-right: 20px;
        padding-left: 20px
    }

    .pad30-tablet {
        padding: 30px
    }

    .pad30-t-tablet {
        padding-top: 30px
    }

    .pad30-r-tablet {
        padding-right: 30px
    }

    .pad30-b-tablet {
        padding-bottom: 30px
    }

    .pad30-l-tablet {
        padding-left: 30px
    }

    .pad30-tb-tablet {
        padding-top: 30px;
        padding-bottom: 30px
    }

    .pad30-rl-tablet {
        padding-right: 30px;
        padding-left: 30px
    }

    .pad50-tablet {
        padding: 50px
    }

    .pad50-t-tablet {
        padding-top: 50px
    }

    .pad50-r-tablet {
        padding-right: 50px
    }

    .pad50-b-tablet {
        padding-bottom: 50px
    }

    .pad50-l-tablet {
        padding-left: 50px
    }

    .pad50-tb-tablet {
        padding-top: 50px;
        padding-bottom: 50px
    }

    .pad50-rl-tablet {
        padding-right: 50px;
        padding-left: 50px
    }

    .mar0-tablet {
        margin: 0
    }

    .mar0-t-tablet {
        margin-top: 0
    }

    .mar0-r-tablet {
        margin-right: 0
    }

    .mar0-b-tablet {
        margin-bottom: 0
    }

    .mar0-l-tablet {
        margin-left: 0
    }

    .mar0-tb-tablet {
        margin-top: 0;
        margin-bottom: 0
    }

    .mar0-rl-tablet {
        margin-right: 0;
        margin-left: 0
    }

    .mar5-tablet {
        margin: 5px
    }

    .mar5-t-tablet {
        margin-top: 5px
    }

    .mar5-r-tablet {
        margin-right: 5px
    }

    .mar5-b-tablet {
        margin-bottom: 5px
    }

    .mar5-l-tablet {
        margin-left: 5px
    }

    .mar5-tb-tablet {
        margin-top: 5px;
        margin-bottom: 5px
    }

    .mar5-rl-tablet {
        margin-right: 5px;
        margin-left: 5px
    }

    .mar10-tablet {
        margin: 10px
    }

    .mar10-t-tablet {
        margin-top: 10px
    }

    .mar10-r-tablet {
        margin-right: 10px
    }

    .mar10-b-tablet {
        margin-bottom: 10px
    }

    .mar10-l-tablet {
        margin-left: 10px
    }

    .mar10-tb-tablet {
        margin-top: 10px;
        margin-bottom: 10px
    }

    .mar10-rl-tablet {
        margin-right: 10px;
        margin-left: 10px
    }

    .mar20-tablet {
        margin: 20px
    }

    .mar20-t-tablet {
        margin-top: 20px
    }

    .mar20-r-tablet {
        margin-right: 20px
    }

    .mar20-b-tablet {
        margin-bottom: 20px
    }

    .mar20-l-tablet {
        margin-left: 20px
    }

    .mar20-tb-tablet {
        margin-top: 20px;
        margin-bottom: 20px
    }

    .mar20-rl-tablet {
        margin-right: 20px;
        margin-left: 20px
    }

    .mar30-tablet {
        margin: 30px
    }

    .mar30-t-tablet {
        margin-top: 30px
    }

    .mar30-r-tablet {
        margin-right: 30px
    }

    .mar30-b-tablet {
        margin-bottom: 30px
    }

    .mar30-l-tablet {
        margin-left: 30px
    }

    .mar30-tb-tablet {
        margin-top: 30px;
        margin-bottom: 30px
    }

    .mar30-rl-tablet {
        margin-right: 30px;
        margin-left: 30px
    }

    .mar50-tablet {
        margin: 50px
    }

    .mar50-t-tablet {
        margin-top: 50px
    }

    .mar50-r-tablet {
        margin-right: 50px
    }

    .mar50-b-tablet {
        margin-bottom: 50px
    }

    .mar50-l-tablet {
        margin-left: 50px
    }

    .mar50-tb-tablet {
        margin-top: 50px;
        margin-bottom: 50px
    }

    .mar50-rl-tablet {
        margin-right: 50px;
        margin-left: 50px
    }

    .mar-auto-tablet {
        margin: auto
    }

    .mar-auto-t-tablet {
        margin-top: auto
    }

    .mar-auto-r-tablet {
        margin-right: auto
    }

    .mar-auto-b-tablet {
        margin-bottom: auto
    }

    .mar-auto-l-tablet {
        margin-left: auto
    }

    .mar-auto-tb-tablet {
        margin-top: auto;
        margin-bottom: auto
    }

    .mar-auto-rl-tablet {
        margin-right: auto;
        margin-left: auto
    }
}

@media (min-width: 768px) and (min-width:1210px) {
    .pad0-large {
        padding:0
    }

    .pad0-t-large {
        padding-top: 0
    }

    .pad0-r-large {
        padding-right: 0
    }

    .pad0-b-large {
        padding-bottom: 0
    }

    .pad0-l-large {
        padding-left: 0
    }

    .pad0-tb-large {
        padding-top: 0;
        padding-bottom: 0
    }

    .pad0-rl-large {
        padding-right: 0;
        padding-left: 0
    }

    .pad5-large {
        padding: 5px
    }

    .pad5-t-large {
        padding-top: 5px
    }

    .pad5-r-large {
        padding-right: 5px
    }

    .pad5-b-large {
        padding-bottom: 5px
    }

    .pad5-l-large {
        padding-left: 5px
    }

    .pad5-tb-large {
        padding-top: 5px;
        padding-bottom: 5px
    }

    .pad5-rl-large {
        padding-right: 5px;
        padding-left: 5px
    }

    .pad10-large {
        padding: 10px
    }

    .pad10-t-large {
        padding-top: 10px
    }

    .pad10-r-large {
        padding-right: 10px
    }

    .pad10-b-large {
        padding-bottom: 10px
    }

    .pad10-l-large {
        padding-left: 10px
    }

    .pad10-tb-large {
        padding-top: 10px;
        padding-bottom: 10px
    }

    .pad10-rl-large {
        padding-right: 10px;
        padding-left: 10px
    }

    .pad20-large {
        padding: 20px
    }

    .pad20-t-large {
        padding-top: 20px
    }

    .pad20-r-large {
        padding-right: 20px
    }

    .pad20-b-large {
        padding-bottom: 20px
    }

    .pad20-l-large {
        padding-left: 20px
    }

    .pad20-tb-large {
        padding-top: 20px;
        padding-bottom: 20px
    }

    .pad20-rl-large {
        padding-right: 20px;
        padding-left: 20px
    }

    .pad30-large {
        padding: 30px
    }

    .pad30-t-large {
        padding-top: 30px
    }

    .pad30-r-large {
        padding-right: 30px
    }

    .pad30-b-large {
        padding-bottom: 30px
    }

    .pad30-l-large {
        padding-left: 30px
    }

    .pad30-tb-large {
        padding-top: 30px;
        padding-bottom: 30px
    }

    .pad30-rl-large {
        padding-right: 30px;
        padding-left: 30px
    }

    .pad50-large {
        padding: 50px
    }

    .pad50-t-large {
        padding-top: 50px
    }

    .pad50-r-large {
        padding-right: 50px
    }

    .pad50-b-large {
        padding-bottom: 50px
    }

    .pad50-l-large {
        padding-left: 50px
    }

    .pad50-tb-large {
        padding-top: 50px;
        padding-bottom: 50px
    }

    .pad50-rl-large {
        padding-right: 50px;
        padding-left: 50px
    }

    .mar0-large {
        margin: 0
    }

    .mar0-t-large {
        margin-top: 0
    }

    .mar0-r-large {
        margin-right: 0
    }

    .mar0-b-large {
        margin-bottom: 0
    }

    .mar0-l-large {
        margin-left: 0
    }

    .mar0-tb-large {
        margin-top: 0;
        margin-bottom: 0
    }

    .mar0-rl-large {
        margin-right: 0;
        margin-left: 0
    }

    .mar5-large {
        margin: 5px
    }

    .mar5-t-large {
        margin-top: 5px
    }

    .mar5-r-large {
        margin-right: 5px
    }

    .mar5-b-large {
        margin-bottom: 5px
    }

    .mar5-l-large {
        margin-left: 5px
    }

    .mar5-tb-large {
        margin-top: 5px;
        margin-bottom: 5px
    }

    .mar5-rl-large {
        margin-right: 5px;
        margin-left: 5px
    }

    .mar10-large {
        margin: 10px
    }

    .mar10-t-large {
        margin-top: 10px
    }

    .mar10-r-large {
        margin-right: 10px
    }

    .mar10-b-large {
        margin-bottom: 10px
    }

    .mar10-l-large {
        margin-left: 10px
    }

    .mar10-tb-large {
        margin-top: 10px;
        margin-bottom: 10px
    }

    .mar10-rl-large {
        margin-right: 10px;
        margin-left: 10px
    }

    .mar20-large {
        margin: 20px
    }

    .mar20-t-large {
        margin-top: 20px
    }

    .mar20-r-large {
        margin-right: 20px
    }

    .mar20-b-large {
        margin-bottom: 20px
    }

    .mar20-l-large {
        margin-left: 20px
    }

    .mar20-tb-large {
        margin-top: 20px;
        margin-bottom: 20px
    }

    .mar20-rl-large {
        margin-right: 20px;
        margin-left: 20px
    }

    .mar30-large {
        margin: 30px
    }

    .mar30-t-large {
        margin-top: 30px
    }

    .mar30-r-large {
        margin-right: 30px
    }

    .mar30-b-large {
        margin-bottom: 30px
    }

    .mar30-l-large {
        margin-left: 30px
    }

    .mar30-tb-large {
        margin-top: 30px;
        margin-bottom: 30px
    }

    .mar30-rl-large {
        margin-right: 30px;
        margin-left: 30px
    }

    .mar50-large {
        margin: 50px
    }

    .mar50-t-large {
        margin-top: 50px
    }

    .mar50-r-large {
        margin-right: 50px
    }

    .mar50-b-large {
        margin-bottom: 50px
    }

    .mar50-l-large {
        margin-left: 50px
    }

    .mar50-tb-large {
        margin-top: 50px;
        margin-bottom: 50px
    }

    .mar50-rl-large {
        margin-right: 50px;
        margin-left: 50px
    }

    .mar-auto-large {
        margin: auto
    }

    .mar-auto-t-large {
        margin-top: auto
    }

    .mar-auto-r-large {
        margin-right: auto
    }

    .mar-auto-b-large {
        margin-bottom: auto
    }

    .mar-auto-l-large {
        margin-left: auto
    }

    .mar-auto-tb-large {
        margin-top: auto;
        margin-bottom: auto
    }

    .mar-auto-rl-large {
        margin-right: auto;
        margin-left: auto
    }
}

@media (min-width: 768px) and (min-width:768px) {
    .w-auto-tablet {
        width:auto
    }

    .w100-max-tablet {
        max-width: 100%
    }

    .w33-tablet {
        width: 33.33%
    }

    .w50-tablet {
        width: 50%
    }

    .w100-tablet {
        width: 100%
    }
}

@media (min-width: 768px) and (min-width:1210px) {
    .w-auto-large {
        width:auto
    }

    .w100-max-large {
        max-width: 100%
    }

    .w33-large {
        width: 33.33%
    }

    .w50-large {
        width: 50%
    }

    .w100-large {
        width: 100%
    }
}

@media screen and (min-width: 768px) and (min-width:768px) {
    .hidden_768 {
        display:none!important
    }

    .visible_768 {
        display: block!important
    }
}

@media screen and (min-width: 768px) and (min-width:1210px) {
    .hidden_1210 {
        display:none!important
    }

    .visible_1210 {
        display: block!important
    }
}

@media (min-width: 768px) {
    header a:hover {
        color:#c1bbeb
    }

    .block_description {
        line-height: 28px;
        max-width: 660px;
        margin-left: auto;
        margin-right: auto
    }

    .main_calculator .calculator h3 {
        font-size: 22px;
        line-height: 28px;
        letter-spacing: -1px
    }

    .main_calculator .violet_decor {
        left: 0;
        right: 0
    }

    .why_choose_us .icon {
        width: 48px;
        height: 48px
    }

    .how_it_works .how_it_works_steps {
        line-height: 23px
    }

    .how_it_works .how_it_works_steps .h3 {
        font-size: 18px;
        line-height: 26px
    }

    .testimonials_block .trustpilot {
        border-radius: 60px 60px 2px 60px
    }

    .testimonials_block .trustpilot .content_button {
        width: 225px
    }

    .sample .h3 {
        font-size: 22px
    }

    .samples_slider {
        position: relative;
        width: 320px
    }

    .samples_slider * {
        outline: 0
    }

    .samples_slider .hub-slider-controls,.samples_slider .hub-slider-dots {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 48px);
        z-index: 10
    }

    .samples_slider .hub-slider-controls {
        display: flex;
        justify-content: center
    }

    .samples_slider .hub-slider-controls .hub-slider-arrow {
        margin: 0 15px;
        height: 36px;
        width: 50px;
        border-radius: 25px;
        transition: .3s border-color;
        background: url(./images/samples_slider_arrows.svg) top 12px left 20px no-repeat;
        border: 1px solid #e9e7ff
    }

    .samples_slider .hub-slider-controls .hub-slider-arrow_prev {
        transform: rotate(-180deg)
    }

    .samples_slider [data-key]:not([data-key="0"]) p {
        height: 21px
    }

    .safetiness_block .illustration {
        background: url(./images/safetiness_img.svg) center no-repeat;
        background-size: cover
    }

    .read_more_text .h1 {
        font-size: 36px
    }

    .read_more_text .width:before {
        width: 65px;
        height: 65px
    }

    .read_more_text .banner_quote {
        margin: 45px auto 40px
    }

    .read_more_text .banner_quote:after {
        width: 139px;
        height: 77px;
        right: 7px
    }

    .read_more_text .banner_quote:before {
        display: block;
        content: '';
        position: absolute;
        background: url(./images/quotes_violet_banner_image.png);
        background-size: 200px auto;
        top: -25px;
        bottom: 0;
        width: 200px;
        max-height: 322px
    }

    .read_more_text .banner_quote p {
        font-size: 22px
    }

    .read_more_text .banner_quote p:before {
        width: 40px;
        height: 38px;
        top: -59px
    }

    .read_more_text .accordion .accordion_label:before {
        margin: 9px 15px 0 10px
    }

    .read_more_text .accordion .text_holder_block {
        padding-left: 31px
    }

    .accordion .arrow {
        right: 10px;
        width: 29px;
        height: 29px;
        top: calc(50% - 14px)
    }

    .action_block .dark_violet_bg {
        border-radius: 20px 20px 0 0
    }

    .action_block p.t16px {
        font-size: 18px
    }

    .inline_customer_review.large {
        margin-top: 50px;
        margin-bottom: 50px
    }

    .inline_customer_review.small {
        margin-top: 30px;
        margin-bottom: 30px
    }

    .inline_customer_review.middle {
        margin-top: 30px;
        margin-bottom: 30px
    }

    .inline_customer_review .short_description p {
        font-size: 14px
    }

    .inline_customer_review .short_description p:first-child {
        margin-right: 15px
    }

    .inline_customer_review .short_description p b,.inline_customer_review .short_description p strong {
        font-size: 15px
    }

    .inline_customer_review .short_description+.inline_customer_review_footer {
        border-top: none
    }

    .inline_customer_review .inline_customer_review_footer p {
        margin-top: 0;
        margin-bottom: 0
    }

    .inline_customer_review .inline_customer_review_footer p:not(:last-child) {
        margin-right: 60px
    }

    .inline_customer_review .inline_customer_review_footer .content_button {
        width: 180px
    }

    .page_title {
        padding-top: 80px
    }

    .page_title .h1 {
        font-weight: 700
    }

    .prices_steps_item .h3 {
        font-size: 18px
    }

    .prices_tables_wrapper .h3 {
        font-size: 28px
    }

    .price_table_item .checkbox_container {
        min-height: 48px
    }

    .price_table_item .checkbox {
        order: 10
    }

    .extras_tables_wrapper .h3 {
        font-size: 28px
    }

    .extras_table .t20px {
        font-size: 18px
    }

    .extras_table .name {
        font-weight: 500
    }

    .pagination_list {
        font-size: 16px
    }

    .writers {
        background: linear-gradient(135deg,#e0f2fe 0,#e9f6ff 100%)
    }

    .writers .page_title h1 {
        font-size: 48px;
        line-height: 56px
    }

    .writer_list_item .buttons_group .violet_button {
        width: 180px
    }

    .writer_list_item .content_button {
        height: 40px;
        line-height: 40px
    }

    .writer_subjects_list .chip {
        background: #f5f5ff;
        border: 1px solid #e5e4f9
    }

    .simple_rating_count .rate_count_icon {
        width: 15px;
        height: 15px
    }

    .authorization_page .main_content {
        color: #fff
    }

    .authorization_page .main_content .h3 {
        color: #fff;
        font-size: 28px
    }

    .authorization_page .main_content .violet_button {
        background: #45d39a
    }

    .authorization_page .main_content .violet_button:not(:disabled):not(.disabled):hover {
        background: #28da92
    }

    .authorization_page .main_content a {
        color: #fff
    }

    .authorization_page .main_content p.text-grey {
        color: #fff
    }

    .authorization_page .main_content p.text-grey a {
        color: #ffc003
    }

    .authorization_page .main_content .checkbox:after {
        background: #fff url(./images/check_icon_violet.svg) center no-repeat
    }

    .writer_view .writer_info_wrapper {
        position: relative
    }

    .writer_view h3.t-center {
        text-align: left
    }

    .writer_view_item {
        position: relative
    }

    .writer_view_item .writer_avatar {
        position: absolute;
        top: 0;
        left: 0
    }

    .writer_view_item .content_button {
        position: absolute
    }

    .writer_view_item .t22px {
        font-size: 20px
    }

    .writer_view_item .writer_subjects_list {
        position: relative
    }

    .writer_view_item .writer_subjects_list:before {
        display: block;
        content: '';
        position: absolute;
        left: 0;
        right: 10px;
        top: 0;
        border-top: 1px solid #d9dce6
    }

    .writers_reviews .t22px {
        font-size: 24px
    }

    .testimonials .page_title p {
        line-height: 28px
    }

    .testimonials .page_title .trustpilot .image_wrapper {
        overflow: hidden
    }

    .reviews_wrapper .h3.t-center {
        text-align: left
    }

    .discount_banner .content_button {
        line-height: 40px;
        height: 40px;
        font-size: 13px
    }

    .width>div:nth-child(2) .discount_item {
        transform: translateY(-30px)
    }

    .discounts_wrapper [role=option] {
        outline: 0
    }

    .about_item .icon {
        width: 48px;
        height: 48px
    }

    .about_item .t16px {
        line-height: 23px
    }

    .faq_items_wrapper h3 {
        font-size: 28px
    }

    .contact_us .violet_wrapper {
        position: relative
    }

    .contact_item.livechat .content_button {
        width: 225px
    }

    .pages_menu {
        padding-left: 0;
        padding-right: 0
    }

    .cookie_tip svg {
        width: 32px;
        height: auto
    }

    footer {
        border-top: 1px solid #dedde9
    }

    footer .footer_links {
        line-height: 20px
    }

    footer .footer_links li,footer .services_menu li {
        width: 25%;
        padding-right: 5px
    }

    footer .services_menu li {
        margin-bottom: 10px
    }

    footer .payments {
        order: 5
    }

    footer .payments:before {
        width: 285px;
        height: 22px;
        background: url(./images/footer_icons.svg) bottom;
        background-size: 100% auto
    }

    footer .contacts_group a {
        line-height: 22px
    }

    footer .contacts_group a .icon {
        width: 17px
    }

    footer .contacts_group a svg {
        color: #aca4e0
    }

    footer .contacts_group a.mail {
        margin-bottom: 18px
    }

    footer .fb,footer .tw {
        width: 17px;
        height: 17px;
        background: url(./images/footer_icons.svg)
    }

    footer .tw {
        background-position: -63px 0;
        margin-left: 15px
    }

    footer .fb {
        background-position: -32px 0
    }

    .error404 .t28px {
        font-size: 36px;
        line-height: 44px
    }
}

@media (min-width: 768px) and (max-width:1023px) {
    footer .contacts_group {
        order:5;
        margin-top: 45px;
        height: 62px
    }

    footer .contacts_group .soc {
        width: auto;
        margin-left: auto
    }
}

@media (min-width: 768px) and (max-width:1209px) {
    header .logo {
        margin-left:20px
    }

    .violet_decor:before {
        right: calc(50% + 3px)
    }

    .violet_decor:after {
        left: calc(50% + 25px)
    }

    .main_calculator {
        background: 0 0
    }

    .main_calculator .slogan {
        padding: 110px 30px 0
    }

    .main_calculator .slogan .h1 {
        font-size: 48px;
        line-height: 56px
    }

    .main_calculator .slogan .content_button {
        width: 180px
    }

    .main_calculator .slogan .buttons_wrapper {
        z-index: 3
    }

    .main_calculator .violet_decor {
        bottom: 48px
    }

    .main_calculator .violet_decor:before {
        top: 173px
    }

    .main_calculator .violet_decor:after {
        top: 238px
    }

    .main_calculator .trustpilot {
        margin-top: -86px;
        height: 526px;
        width: 496px;
        background: url(./images/trustpilot_trace_t.svg) no-repeat
    }

    .main_calculator .trustpilot .trustpilot_review_wrapper {
        top: 269px;
        right: -78px
    }

    .main_calculator .trustpilot .trustpilot_review_wrapper .trustpilot_avatar {
        width: 65px;
        height: 65px;
        left: -27px;
        top: 18px
    }

    .main_calculator .trustpilot .trustpilot_rating_wrapper {
        left: -74px;
        top: 145px
    }

    .main_calculator .trustpilot .trustpilot_rating_wrapper .trustpilot_avatar {
        width: 80px;
        height: 80px;
        left: 183px;
        top: 38px
    }

    .main_calculator .trustpilot .status {
        left: 17px;
        top: 11px
    }

    .main_calculator .calculator {
        padding-left: 38px;
        padding-right: 38px
    }

    .main_calculator .calculator .checkbox_container~.checkbox_container {
        margin-left: 15px
    }

    .how_it_works .how_it_works_steps {
        width: 687px;
        height: 962px;
        background: url(./images/how_it_works_steps_bg_tab.png) no-repeat;
        background-size: cover
    }

    .how_it_works .how_it_works_steps .item {
        min-height: 105px
    }

    .how_it_works .how_it_works_steps .item:nth-child(odd) {
        margin-left: 77px
    }

    .how_it_works .how_it_works_steps .item:nth-child(even) {
        margin-right: 50px
    }

    .how_it_works .how_it_works_steps .item+.item {
        margin-top: 60px
    }

    .testimonials_block .h3 {
        margin-bottom: 90px
    }

    .testimonials_block .trustpilot {
        padding: 50px 45px;
        font-size: 22px
    }

    .testimonials_block .trustpilot:after {
        width: 301px;
        height: 366px;
        background: url(./images/testimonials_block_trustpilot_img_tab.png);
        right: 30px
    }

    .testimonials_block .trustpilot .trustpilot_logo {
        width: 210px;
        height: 51px
    }

    .testimonials_block .trustpilot p {
        font-size: 16px
    }

    .testimonials_block .trustpilot .rate_bar {
        width: 150px;
        height: 29px
    }

    .testimonials_block .testimonials_slider {
        margin-left: -20px;
        margin-right: -20px
    }

    .testimonials_block .testimonials_slider .testimonial_slide {
        width: 69%
    }

    .testimonials_block .testimonials_slider .name {
        font-size: 28px;
        line-height: 38px
    }

    .testimonials_block .testimonials_slider .avatar {
        margin-left: -55px
    }

    .testimonials_block .testimonials_slider .slick-slide .testimonial_slide {
        transform: translateX(calc(38%))
    }

    .testimonials_block .testimonials_slider .slick-center .testimonial_slide {
        transform: translateX(0)
    }

    .testimonials_block .testimonials_slider .slick-center+.slick-slide .testimonial_slide {
        transform: translateX(calc(-38%))
    }

    .testimonials_block .testimonials_slider .slick-dots {
        margin-top: 10px
    }

    .samples_block.violet_decor:before {
        bottom: 0;
        top: 60px
    }

    .samples_block.violet_decor:after {
        bottom: 0;
        top: 125px
    }

    .safetiness_block {
        background: #fff
    }

    .safetiness_block .illustration {
        padding-bottom: 82.5%;
        width: 350px
    }

    .safetiness_block .safetiness_services {
        margin-top: 35px
    }

    .safetiness_block .description p {
        min-height: 160px;
        max-width: 500px
    }

    .read_more_text .banner_quote {
        padding: 95px 35px 35px 270px
    }

    .read_more_text .banner_quote:before {
        left: 35px
    }

    .action_block .logo {
        width: 85px
    }

    .prices .violet_wrapper {
        position: relative
    }

    .prices .violet_wrapper .violet_gradient_bg {
        bottom: -562px
    }

    .prices .violet_wrapper .violet_gradient_bg:before {
        top: 109px
    }

    .prices .violet_wrapper .violet_gradient_bg:after {
        top: 174px
    }

    .samples_wrapper .width {
        max-width: 710px
    }

    .samples_wrapper .sample {
        margin-bottom: 38px
    }

    .prices_calculator .f_group .spin_edit_wrapper {
        width: 180px
    }

    .writer_list_item+.writer_list_item {
        margin-top: 15px
    }

    .writer_list_item .writer_id_row {
        width: 205px
    }

    .writer_list_item .toggle_button {
        width: 50px
    }

    .writer_view_item .writer_info_wrapper {
        padding-left: 95px
    }

    .writer_view_item .writer_avatar {
        width: 80px;
        height: 80px
    }

    .writer_view_item .content_button {
        width: 180px;
        right: 20px;
        top: 40px
    }

    .page_title .h1 {
        font-size: 48px;
        line-height: 56px
    }

    .testimonials .page_title {
        padding-bottom: 75px
    }

    .testimonials .page_title .h1 {
        font-size: 48px;
        line-height: 56px
    }

    .testimonials .page_title .w605px-max {
        max-width: 51.52%
    }

    .testimonials .page_title .trustpilot {
        right: 36px;
        top: 10px
    }

    .testimonials .page_title .trustpilot:after {
        right: -25px;
        top: 50px;
        width: 110px
    }

    .testimonials .page_title .trustpilot .trustpilot_logo {
        left: 0;
        top: 10px
    }

    .testimonials .page_title .trustpilot .trustpilot_rating {
        left: -58px;
        bottom: 22px
    }

    .testimonials .page_title .trustpilot .image_wrapper {
        width: 300px;
        height: 300px
    }

    .testimonials .page_title .trustpilot .image_wrapper img {
        width: 235px;
        left: 29px;
        top: 15px
    }

    .testimonials .page_title .trustpilot .rate_bar {
        width: 90px;
        height: 18px
    }

    .discount_banner .width:before {
        width: 147px;
        left: 30px;
        top: -37px
    }

    .discount_banner .violet_decor>.flex {
        min-height: 75px
    }

    .discount_item {
        width: 230px;
        background-position: right -30px bottom -20px
    }

    .discounts_wrapper .width {
        max-width: 768px
    }

    .about_us .page_title {
        padding-top: 148px
    }

    .about_us .page_title .w605px-max {
        max-width: 55%
    }

    .about_us .page_title .h1 {
        font-size: 48px;
        line-height: 56px
    }

    .about_us .page_title img {
        margin-top: 28px
    }

    .about_us .page_title p {
        line-height: 28px
    }

    .about_us .discount_chip {
        position: absolute;
        left: 50%;
        top: -90px;
        transform: translateX(-50%)
    }

    .about_item .t16px {
        font-size: 15px;
        line-height: 23px
    }

    .contact_us .violet_wrapper .violet_decor {
        bottom: -278px
    }

    .contact_us .violet_wrapper .violet_decor:before {
        top: 109px
    }

    .contact_us .violet_wrapper .violet_decor:after {
        top: 174px
    }

    .archive .violet_decor:before,.static_page .violet_decor:before {
        top: 88px
    }

    .archive .violet_decor:after,.static_page .violet_decor:after {
        top: 150px
    }

    .error404 .main_content {
        padding-top: 186px;
        padding-bottom: 160px
    }

    .error404 .violet_decor:before {
        top: 109px
    }

    .error404 .violet_decor:after {
        top: 174px
    }

    .inline_customer_review.large {
        padding-left: 30px;
        padding-right: 30px
    }

    .inline_customer_review.middle {
        padding-left: 35px;
        padding-right: 35px
    }

    .inline_customer_review.small {
        padding-left: 15px;
        padding-right: 15px
    }
}

@media (min-width: 768px) and (min-width:1024px) {
    footer .services_menu {
        width:calc(100% - 430px)
    }

    footer .contacts_group {
        width: 430px
    }

    footer .soc {
        margin-top: 27px
    }
}

@media (min-width: 768px) and (min-width:1024px) and (max-width:1209px) {
    footer .services_menu li {
        width:33.33%
    }
}

@media (min-width: 768px) and (min-width:1024px) {
    .cookie_tip {
        bottom:20px;
        left: 20px
    }
}

@media (min-width: 768px) and (min-width:1210px) {
    .header_nav_wrapper .menu-item-has-children,.user_account {
        position:relative;
        display: flex
    }

    .header_nav_wrapper .menu-item-has-children>a:first-child:after,.header_nav_wrapper .menu-item-has-children>i,.header_nav_wrapper .menu-item-has-children>span:first-child:after,.user_account>a:first-child:after,.user_account>i,.user_account>span:first-child:after {
        display: inline-block;
        content: '';
        width: 8px;
        height: 8px;
        background: url(./images/arrow_white.svg) center no-repeat;
        order: 10;
        transition: .3s all;
        margin: 0 0 0 5px;
        vertical-align: middle;
        align-self: center
    }

    .header_nav_wrapper .menu-item-has-children>a:first-child,.header_nav_wrapper .menu-item-has-children>span,.user_account>a:first-child,.user_account>span {
        display: inline-flex
    }

    .header_nav_wrapper .menu-item-has-children ul,.user_account ul {
        border-radius: 8px;
        background: #fff;
        border: 1px solid #d9dce6;
        position: absolute;
        transition: .3s all;
        transform-origin: 50% 0;
        opacity: 0;
        display: block!important;
        pointer-events: none;
        transform: translateX(-50%) scaleX(.7);
        left: 50%;
        top: calc(100% + 16px);
        width: auto;
        min-width: 250px;
        padding: 8px;
        text-transform: none;
        font-weight: 500;
        text-align: center
    }

    .header_nav_wrapper .menu-item-has-children ul a,.user_account ul a {
        padding: 7px 5px;
        display: block;
        color: inherit
    }

    .header_nav_wrapper .menu-item-has-children ul a:hover,.user_account ul a:hover {
        color: #6e5fd3;
        background-color: #f0f1f5;
        border-radius: 4px
    }

    .header_nav_wrapper .menu-item-has-children:hover:before,.user_account:hover:before {
        display: block;
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        bottom: -16px
    }

    .header_nav_wrapper .menu-item-has-children:hover a:first-child:after,.header_nav_wrapper .menu-item-has-children:hover>i,.header_nav_wrapper .menu-item-has-children:hover>span:first-child:after,.user_account:hover a:first-child:after,.user_account:hover>i,.user_account:hover>span:first-child:after {
        transform: rotate(-180deg)
    }

    .header_nav_wrapper .menu-item-has-children:hover ul,.user_account:hover ul {
        opacity: 1;
        transform: translateX(-50%) scaleX(1);
        pointer-events: all
    }

    .violet_decor:before {
        right: calc(50% + 13px)
    }

    .violet_decor:after {
        left: calc(50% + 35px)
    }

    .page_title.on_discounts h1 {
        font-size: 48px;
        line-height: 56px
    }

    .faq .page_title h1 {
        font-size: 48px;
        line-height: 56px
    }

    .header_nav_wrapper {
        display: block!important;
        overflow: hidden;
        line-height: 20px;
        font-size: 13px
    }

    .IE_detected .header_nav_wrapper {
        overflow: visible
    }

    .header_nav_wrapper:hover {
        overflow: unset
    }

    .header_nav_wrapper:hover .header_nav>ul>li>a:not(:hover),.header_nav_wrapper:hover .header_nav>ul>li>span:not(:hover) {
        color: #c1bbeb
    }

    .header_nav_wrapper:hover .header_nav>ul>li a:first-child:after,.header_nav_wrapper:hover .header_nav>ul>li>i,.header_nav_wrapper:hover .header_nav>ul>li>span:first-child:after {
        background: url(./images/menu_arrow_hover.svg) center no-repeat
    }

    .header_nav_wrapper:hover .header_nav>ul>li:hover a:first-child:after,.header_nav_wrapper:hover .header_nav>ul>li:hover>i,.header_nav_wrapper:hover .header_nav>ul>li:hover>span:first-child:after {
        background: url(./images/arrow_white.svg) center no-repeat
    }

    .header_nav_wrapper ul {
        list-style: none
    }

    .header_nav_wrapper .header_nav>ul>li>a,.header_nav_wrapper .header_nav>ul>li>span {
        color: #fff
    }

    .header_nav_wrapper .header_nav>ul>li:hover>a,.header_nav_wrapper .header_nav>ul>li:hover>span {
        color: #fff!important
    }

    .header_nav_wrapper .header_nav>ul>li>span {
        transition: .3s color;
        cursor: default
    }

    .header_nav_wrapper .header_nav>ul>li+li {
        margin-left: 20px
    }

    .user_account ul {
        top: calc(100% + 8px);
        line-height: 20px
    }

    .user_account>a {
        padding: 8px 16px;
        border: 1px solid #9488de
    }

    .user_account>a:after {
        margin-left: 10px!important
    }

    .user_account>a svg {
        margin-right: 8px
    }

    .user_account>a:hover {
        color: #fff
    }

    .user_account .logout a {
        border-top: 1px solid #d9dce6;
        margin: 0 -8px -8px;
        border-radius: 0 0 8px 8px
    }

    .user_account .logout a svg {
        color: #6e5fd3
    }

    .main_calculator {
        padding-top: 125px;
        min-height: 820px
    }

    .main_calculator .width {
        display: flex;
        justify-content: space-between;
        align-items: flex-start
    }

    .main_calculator .violet_decor {
        bottom: 0
    }

    .main_calculator .violet_decor:before {
        top: 100px
    }

    .main_calculator .violet_decor:after {
        top: 165px
    }

    .main_calculator .calculator {
        width: 375px;
        padding-left: 25px;
        padding-right: 25px;
        border-radius: 20px
    }

    .main_calculator .calculator h3 {
        font-size: 20px;
        line-height: 26px
    }

    .main_calculator .calculator h3 svg {
        width: 42px;
        height: 42px
    }

    .main_calculator .calculator .f_group.academic-level {
        overflow: unset
    }

    .IE_detected .main_calculator .calculator .f_group.academic-level {
        overflow: visible
    }

    .main_calculator .calculator .rs-tooltip {
        font-size: 16px;
        bottom: calc(100% + 7px)
    }

    .main_calculator .slogan {
        text-align: left;
        width: 600px
    }

    .main_calculator .trustpilot {
        position: absolute;
        left: calc(50% - 317px);
        top: 316px;
        z-index: 1;
        height: 448px;
        width: 493px;
        background: url(./images/trustpilot_trace.svg)
    }

    .main_calculator .trustpilot .trustpilot_review {
        border-radius: 40px 2px 40px 40px
    }

    .main_calculator .trustpilot .rate_bar {
        transform: scale(.92);
        transform-origin: 29% 50%
    }

    .main_calculator .trustpilot .trustpilot_review_wrapper {
        top: 299px;
        left: -78px
    }

    .main_calculator .trustpilot .trustpilot_review_wrapper .trustpilot_avatar {
        width: 60px;
        height: 60px;
        right: 10px;
        top: -20px
    }

    .main_calculator .trustpilot .trustpilot_review_wrapper .t14px {
        font-size: 13px;
        padding-top: 2px
    }

    .main_calculator .trustpilot .trustpilot_rating_wrapper {
        left: 166px;
        top: -134px
    }

    .main_calculator .trustpilot .trustpilot_rating_wrapper .trustpilot_avatar {
        width: 60px;
        height: 60px;
        left: 212px;
        top: 69px
    }

    .main_calculator .trustpilot .status {
        right: 62px;
        top: 10px;
        font-size: 11px
    }

    .why_choose_us .width {
        background: #fff;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 20px 18px 0 rgba(22,13,80,.1);
        position: relative;
        z-index: 1
    }

    .why_choose_us+.violet_bg,.why_choose_us+.violet_gradient_bg {
        margin-top: -100px;
        padding-top: 180px
    }

    .how_it_works .how_it_works_steps {
        width: 977px;
        height: 1134px;
        background: url(./images/how_it_works_steps_bg.svg) no-repeat;
        background-size: cover
    }

    .how_it_works .how_it_works_steps .item {
        min-height: 105px
    }

    .how_it_works .how_it_works_steps .item+.item {
        margin-top: 130px
    }

    .testimonials_block .h3 {
        margin-bottom: 75px
    }

    .testimonials_block .width>div {
        position: relative;
        max-width: 900px
    }

    .testimonials_block .trustpilot {
        padding: 45px 265px 45px 45px;
        min-height: 500px;
        display: flex;
        align-items: flex-end;
        flex-wrap: wrap;
        font-size: 17px
    }

    .IE_detected .testimonials_block .trustpilot {
        height: 500px
    }

    .testimonials_block .trustpilot:after {
        width: 415px;
        height: 526px;
        background: url(./images/testimonials_block_trustpilot_img.png);
        background-size: cover;
        right: -140px
    }

    .testimonials_block .trustpilot .trustpilot_logo {
        width: 160px;
        height: 39px
    }

    .testimonials_block .trustpilot p {
        font-size: 14px;
        width: 272px
    }

    .testimonials_block .trustpilot .rate_bar {
        width: 110px;
        height: 21px
    }

    .testimonials_block .testimonials_slider {
        width: 660px;
        position: absolute;
        left: -70px;
        top: 25px
    }

    .testimonials_block .testimonials_slider p {
        -webkit-line-clamp: 7
    }

    .testimonials_block .testimonials_slider:after,.testimonials_block .testimonials_slider:before {
        display: block;
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        z-index: 1;
        width: 20px
    }

    .testimonials_block .testimonials_slider:before {
        left: 0;
        background: linear-gradient(to right,#fff 0,#fff 3px,rgba(255,255,255,0) calc(100% - 5px),rgba(255,255,255,0) 100%)
    }

    .testimonials_block .testimonials_slider:after {
        right: 0;
        background: linear-gradient(to left,#e5f4fe 0,#e5f4fe 3px,rgba(229,244,254,0) calc(100% - 5px),rgba(229,244,254,0) 100%)
    }

    .testimonials_block .testimonials_slider .testimonial_slide {
        padding: 25px 25px 30px;
    }

    .testimonials_block .testimonials_slider .avatar {
        width: 110px;
        height: 110px;
        margin-top: -53px
    }

    .testimonials_block .testimonials_slider p {
        -webkit-line-clamp: 6
    }

    .testimonials_block .testimonials_slider .slick-dots {
        margin-top: -10px;
        padding-right: 30px;
        position: relative;
        z-index: 1;
        justify-content: flex-end
    }

    .testimonials_block .testimonials_slider .slick-dots li:not(.slick-active) {
        background: #bac4da
    }

    .samples_block {
        padding-bottom: 230px
    }

    .samples_block.violet_decor:before {
        bottom: 0;
        top: 130px
    }

    .samples_block.violet_decor:after {
        bottom: 0;
        top: 225px
    }

    .samples_block .block_description,.samples_block .h2 {
        text-align: left
    }

    .samples_block .buttons_wrapper {
        justify-content: flex-start
    }

    .safetiness_block .illustration {
        width: 476px;
        height: 393px
    }

    .safetiness_block .flex-nowrap-tablet {
        flex-wrap: wrap
    }

    .safetiness_block .safetiness_services {
        margin-top: 60px
    }

    .safetiness_block .width {
        background: #fff;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -20px 18px 0 rgba(22,13,80,.1);
        position: relative;
        z-index: 1
    }

    .violet_gradient_bg+.safetiness_block {
        margin-top: -120px
    }

    .read_more_text .width:before {
        margin-left: 20px
    }

    .read_more_text .read_more_button {
        margin-right: -64px;
        margin-top: -73px
    }

    .read_more_text .banner_quote {
        padding: 95px 55px 35px 300px
    }

    .read_more_text .banner_quote:before {
        left: 50px
    }

    .action_block .logo {
        width: 100px
    }

    .prices .violet_gradient_bg:before {
        top: 100px;
        max-height: 721px
    }

    .prices .violet_gradient_bg:after {
        top: 165px;
        max-height: 656px
    }

    .samples_wrapper .width[style*="max-width: 718px"] {
        max-width: 1036px!important
    }

    .samples_wrapper .sample {
        margin-bottom: 35px
    }

    .writers_list {
        background: #fff;
        border: 1px solid #d9dce6
    }

    .writer_list_item {
        border-radius: 0
    }

    .writer_list_item+.writer_list_item {
        border-top: 1px solid #d9dce6
    }

    .writer_list_item .expanded_content {
        width: 310px
    }

    .writer_list_item .writer_list_count {
        width: 50px
    }

    .writer_list_item .writer_id_row {
        padding-left: 15px;
        width: 315px
    }

    .writer_list_item .writer_id_row .writer_id {
        min-width: 120px
    }

    .writer_list_item .writer_statistic .t11px {
        font-size: 12px
    }

    .writer_list_item .writer_statistic .t18px {
        font-size: 16px
    }

    .writer_list_item .writer_statistic .simple_rating_count .t18px {
        font-size: 20px
    }

    .writer_list_item .expanded_content {
        display: block!important
    }

    .writer_view_item .writer_info_wrapper {
        padding-left: 145px
    }

    .writer_view_item .writer_subjects_list {
        margin-left: 145px
    }

    .writer_view_item .writer_avatar {
        width: 120px;
        height: 120px
    }

    .writer_view_item .content_button {
        top: 50px;
        right: 25px;
        width: 225px
    }

    .writer_view_item .writer_id {
        font-size: 24px
    }

    .testimonials .page_title {
        padding-top: 110px;
        padding-bottom: 120px
    }

    .testimonials .page_title .trustpilot {
        top: -75px;
        right: 42px
    }

    .testimonials .page_title .trustpilot:after {
        right: -25px;
        top: 75px
    }

    .testimonials .page_title .trustpilot .trustpilot_logo {
        left: 10px;
        top: 30px
    }

    .testimonials .page_title .trustpilot .trustpilot_rating {
        left: -94px;
        bottom: 84px
    }

    .testimonials .page_title .trustpilot .trustpilot_rating .t10px {
        font-size: 12px
    }

    .testimonials .page_title .trustpilot .trustpilot_rating .t13px {
        font-size: 15px
    }

    .testimonials .page_title .trustpilot .image_wrapper {
        width: 425px;
        height: 425px
    }

    .testimonials .page_title .trustpilot .image_wrapper img {
        width: 337px;
        left: 42px;
        top: 20px
    }

    .testimonials .page_title .trustpilot .rate_bar {
        width: 100px;
        height: 19px
    }

    .discount_banner .width:before {
        width: 109px;
        top: -24px;
        left: 14px
    }

    .discount_item {
        width: 270px
    }

    .about_us .page_title {
        padding-top: 66px
    }

    .about_us .discount_chip {
        position: absolute;
        left: 0;
        top: 10px
    }

    .faq_items_wrapper .accordion {
        max-width: 700px
    }

    .contact_us .violet_wrapper .violet_decor {
        bottom: -266px
    }

    .contact_us .violet_wrapper .violet_decor:before {
        top: 100px
    }

    .contact_us .violet_wrapper .violet_decor:after {
        top: 165px
    }

    .archive .violet_decor:before,.static_page .violet_decor:before {
        top: 100px
    }

    .archive .violet_decor:after,.static_page .violet_decor:after {
        top: 165px
    }

    .error404 .main_content {
        padding-top: 180px;
        padding-bottom: 150px
    }

    .error404 .violet_decor:before {
        top: 100px
    }

    .error404 .violet_decor:after {
        top: 165px
    }

    .inline_customer_review {
        margin-left: 30px;
        margin-right: 30px
    }

    footer .footer_links {
        padding-left: 430px
    }

    footer .copy {
        margin-left: 235px
    }
}

@media (min-width: 768px) and (min-width:1250px) {
    header {
        padding-right:10px;
        padding-left: 10px
    }

    header .width {
        max-width: 1360px
    }
}

@media (min-width: 768px) and (min-width:1361px) {
    .header_nav_wrapper {
        margin-left:50px
    }

    .header_nav_wrapper .header_nav>ul>li+li {
        margin-left: 30px
    }
}

@media (min-width: 768px) and (min-width:1440px) {
    .header_nav_wrapper {
        margin-left:50px
    }

    .header_nav_wrapper .header_nav>ul>li+li {
        margin-left: 30px
    }

    .cookie_tip {
        left: calc(50% - 700px)
    }
}

.pagination_list {
    max-width: 505px
}


.pagination {
    margin-bottom: 45px;
    line-height: 30px;
}
.pagination .prev,
.pagination .next {
    padding: 10px 13px;
    margin: 0 15px;
    border-radius: 4px;
    border-right: 1px solid #ddd;
    color: #51ab6d;
}

.pagination__page-numbers {
    display: inline-block;
}
.pagination__page-numbers .current {
    background: #f8f9fa;
    color: #51ab6d;
}

.page-numbers {
    font-weight: 600;
    color: #666660;
    font-size: 13px;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px 16px;
    font-family: "Lato", sans-serif;
    border-right: none;
}
.page-numbers:hover {
    background-color: #f8f9fa;
}
.page-numbers:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.page-numbers:last-child {
    border-right: 1px solid #ddd;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

/* =================================================================
   SHELBY ENHANCED v2.0 — New Component Styles
   Single post sidebar, blog grid, category improvements,
   why-us grid, stats bar, FAQ accordion, popup
   ================================================================= */

/* -------------------------------------------------------
   SINGLE POST — TWO-COLUMN LAYOUT WITH SIDEBAR
------------------------------------------------------- */
.shelby-single-wrapper {
  background: #f8fafc;
}

.shelby-single-breadcrumb {
  background: #ede9fe;
  padding: .7rem 0;
  font-size: .82rem;
}
.shelby-breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  color: #6857d0;
}
.shelby-breadcrumb-nav a { color: #6857d0; text-decoration: none; font-weight: 600; }
.shelby-breadcrumb-nav a:hover { text-decoration: underline; }
.shelby-breadcrumb-nav span { color: #9ca3af; }
.shelby-bc-current { color: #374151; }

.shelby-single-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
  align-items: start;
}

@media (max-width: 1100px) {
  .shelby-single-layout { grid-template-columns: 1fr; }
  .shelby-sidebar { order: -1; }
}

/* Post meta row */
.shelby-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

/* Title */
.shelby-single-title {
  font-size: 2rem;
  font-weight: 800;
  color: #160647;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}
@media (max-width: 768px) { .shelby-single-title { font-size: 1.55rem; } }

/* Featured image */
.shelby-single-thumb {
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
}
.shelby-single-thumb img { width: 100%; height: auto; display: block; }

/* Content */
.shelby-single-content { background: #fff; border-radius: 12px; padding: 2rem; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.shelby-single-content h2 { font-size: 1.45rem; margin-top: 1.75em; margin-bottom: .6em; color: #160647; }
.shelby-single-content h3 { font-size: 1.2rem; margin-top: 1.4em; margin-bottom: .5em; color: #160647; }
.shelby-single-content p { line-height: 1.8; margin-bottom: 1.1em; color: #374151; }
.shelby-single-content ul, .shelby-single-content ol { padding-left: 1.5em; margin-bottom: 1.1em; }
.shelby-single-content li { margin-bottom: .4em; line-height: 1.7; color: #374151; }

/* In-content CTA */
.shelby-inline-cta {
  background: linear-gradient(135deg, #ede9fe, #f3f0ff);
  border: 1px solid #c4b5fd;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}
.shelby-inline-cta h4 { font-size: 1.1rem; font-weight: 700; color: #160647; margin: 0 0 .5rem; }
.shelby-inline-cta p { font-size: .9rem; color: #4b5563; margin: 0 0 1rem; }

/* Guarantees box */
.shelby-guarantees-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 4px solid #22c55e;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.shelby-guarantees-box h4 { font-size: 1rem; font-weight: 700; color: #14532d; margin: 0 0 .75rem; }
.shelby-guarantees-box ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.shelby-guarantees-box li { font-size: .87rem; color: #374151; display: flex; align-items: center; gap: .4rem; }
.shelby-check { color: #22c55e; font-weight: 700; flex-shrink: 0; }
@media(max-width:600px){ .shelby-guarantees-box ul { grid-template-columns: 1fr; } }

/* Tags */
.shelby-tags-block { margin: 1.5rem 0; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.shelby-tags-label { font-size: .8rem; font-weight: 700; color: #6b7280; }
.shelby-tag { background: #ede9fe; color: #6857d0; border-radius: 20px; padding: .25rem .7rem; font-size: .78rem; font-weight: 600; text-decoration: none; transition: background .2s; }
.shelby-tag:hover { background: #6857d0; color: #fff; }

/* Related posts */
.shelby-related { margin-top: 2rem; }
.shelby-related h3 { font-size: 1.1rem; font-weight: 700; color: #160647; margin-bottom: 1rem; }
.shelby-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.shelby-related-card { display: flex; flex-direction: column; gap: .35rem; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 1rem; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.shelby-related-card:hover { border-color: #6857d0; box-shadow: 0 4px 16px rgba(104,87,208,.1); }
.shelby-related-title { font-size: .88rem; font-weight: 600; color: #160647; line-height: 1.45; }
.shelby-related-link { font-size: .78rem; font-weight: 700; color: #6857d0; }

/* -------------------------------------------------------
   SIDEBAR WIDGETS
------------------------------------------------------- */
.shelby-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

.shelby-widget {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
}

.shelby-widget h3 {
  font-size: .95rem;
  font-weight: 700;
  color: #160647;
  padding: 1rem 1.2rem .6rem;
  margin: 0;
  border-bottom: 1px solid #f3f4f6;
}

/* Price Calculator Widget */
.shelby-widget-calc .shelby-widget-head {
  background: linear-gradient(135deg, #6857d0, #4c3ba8);
  color: #fff;
  text-align: center;
  padding: 1.1rem 1.2rem;
}
.shelby-widget-head h3 { font-size: 1rem; color: #fff; padding: 0; margin: 0 0 .2rem; border: none; }
.shelby-widget-head p { font-size: .8rem; margin: 0; opacity: .88; }

.shelby-widget-body { padding: 1.1rem 1.2rem; }
.shelby-widget-body label { display: block; font-size: .78rem; font-weight: 700; color: #374151; margin-bottom: .3rem; margin-top: .75rem; }
.shelby-widget-body label:first-of-type { margin-top: 0; }

.shelby-select {
  width: 100%;
  border: 1.5px solid #e5e7eb;
  border-radius: 7px;
  padding: .5rem .75rem;
  font-size: .85rem;
  color: #160647;
  background: #fff;
  transition: border-color .2s;
  box-sizing: border-box;
}
.shelby-select:focus { border-color: #6857d0; outline: none; }

.shelby-price-display {
  background: #ede9fe;
  border-radius: 8px;
  text-align: center;
  padding: .55rem;
  margin: .75rem 0;
  font-size: .9rem;
  color: #374151;
}
.shelby-price-display strong { color: #6857d0; font-size: 1.15rem; }

.shelby-order-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #ffbf2d, #f59e0b);
  color: #160647;
  font-weight: 800;
  font-size: .9rem;
  text-align: center;
  padding: .75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 14px rgba(255,191,45,.35);
}
.shelby-order-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255,191,45,.45); color: #160647; }

.shelby-widget-note { text-align: center; font-size: .72rem; color: #9ca3af; margin: .5rem 0 0; }

/* Promo widget */
.shelby-widget-promo {
  background: linear-gradient(135deg, #6857d0, #4c3ba8);
  color: #fff;
  text-align: center;
  padding: 1.25rem;
}
.shelby-promo-label { font-size: .7rem; font-weight: 700; letter-spacing: .06em; color: #c4b5fd; margin: 0 0 .2rem; }
.shelby-promo-big { font-size: 2.5rem; font-weight: 900; margin: 0 0 .1rem; }
.shelby-promo-sub { font-size: .82rem; color: #e9d5ff; margin: 0 0 .4rem; }
.shelby-promo-code { font-size: .82rem; margin: 0 0 .8rem; }
.shelby-promo-code strong { background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35); padding: .1rem .5rem; border-radius: 5px; font-family: monospace; font-size: .9rem; }
.shelby-promo-btn { display: block; background: #ffbf2d; color: #160647; font-weight: 800; font-size: .85rem; padding: .65rem 1.2rem; border-radius: 8px; text-decoration: none; transition: background .2s; }
.shelby-promo-btn:hover { background: #f59e0b; color: #160647; }

/* Trust widget */
.shelby-widget-trust .shelby-trust-list { list-style: none; padding: .5rem 1.2rem 0; margin: 0; }
.shelby-trust-list li { font-size: .85rem; color: #374151; padding: .35rem 0; border-bottom: 1px solid #f3f4f6; }
.shelby-trust-list li:last-child { border: none; }

.shelby-chat-btn {
  display: block;
  margin: .75rem 1.2rem 1.2rem;
  background: #6857d0;
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  text-align: center;
  padding: .65rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s;
}
.shelby-chat-btn:hover { background: #4c3ba8; color: #fff; }

/* Services list */
.shelby-services-list { list-style: none; padding: .5rem 1.2rem 1rem; margin: 0; }
.shelby-services-list li { border-bottom: 1px solid #f3f4f6; }
.shelby-services-list li:last-child { border: none; }
.shelby-services-list a { display: block; font-size: .87rem; color: #374151; text-decoration: none; padding: .5rem 0; font-weight: 500; transition: color .15s; }
.shelby-services-list a:hover { color: #6857d0; }
.shelby-services-list a::before { content: "→ "; color: #6857d0; font-weight: 700; }

/* -------------------------------------------------------
   BLOG GRID
------------------------------------------------------- */
.shelby-blog-section { background: #f8fafc; }

.shelby-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.shelby-blog-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.shelby-blog-card:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(0,0,0,.12); }

.shelby-blog-thumb-link { display: block; }
.shelby-blog-thumb {
  height: 190px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.shelby-blog-cat {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: #6857d0;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 20px;
}

.shelby-blog-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.shelby-blog-date { font-size: .75rem; color: #9ca3af; margin: 0 0 .4rem; }
.shelby-blog-title { font-size: 1rem; font-weight: 700; color: #160647; margin: 0 0 .6rem; line-height: 1.4; }
.shelby-blog-title a { text-decoration: none; color: inherit; }
.shelby-blog-title a:hover { color: #6857d0; }
.shelby-blog-excerpt { font-size: .87rem; color: #4b5563; line-height: 1.6; flex: 1; margin: 0 0 1rem; }
.shelby-blog-read { font-size: .85rem; font-weight: 700; color: #6857d0; text-decoration: none; margin-top: auto; }
.shelby-blog-read:hover { text-decoration: underline; }

/* -------------------------------------------------------
   CATEGORY PAGE
------------------------------------------------------- */
.shelby-cat-cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

.shelby-cat-card {
  position: relative;
}
.shelby-cat-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: #6857d0;
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: opacity .2s;
}
.shelby-cat-card:hover::before { opacity: 1; }

/* Category FAQ */
.shelby-cat-faq { background: #f8fafc; }

.shelby-faq-accordion { display: flex; flex-direction: column; gap: .75rem; }

.shelby-faq-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.shelby-faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: .95rem;
  font-weight: 700;
  color: #160647;
  transition: background .2s;
  gap: 1rem;
}
.shelby-faq-btn:hover, .shelby-faq-btn[aria-expanded="true"] { background: #f5f3ff; }

.shelby-faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: #6857d0;
  flex-shrink: 0;
  transition: transform .2s;
  line-height: 1;
}
.shelby-faq-btn[aria-expanded="true"] .shelby-faq-icon { transform: rotate(45deg); }

.shelby-faq-panel {
  padding: 0 1.4rem 1.1rem;
  border-top: 1px solid #f3f4f6;
}
.shelby-faq-panel p { font-size: .92rem; line-height: 1.7; color: #374151; margin: .75rem 0 0; }
.shelby-faq-panel a { color: #6857d0; font-weight: 600; }

/* -------------------------------------------------------
   WHY US — UPGRADED GRID
------------------------------------------------------- */
.shelby-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.shelby-why-card {
  background: #fff;
  border: 1px solid #ede9fe;
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.shelby-why-card:hover {
  border-color: #6857d0;
  box-shadow: 0 10px 28px rgba(104,87,208,.12);
  transform: translateY(-4px);
}
.shelby-why-icon { font-size: 2.2rem; display: block; margin-bottom: .75rem; }
.shelby-why-card h3 { font-size: 1rem; font-weight: 700; color: #160647; margin: 0 0 .5rem; }
.shelby-why-card p { font-size: .88rem; color: #4b5563; line-height: 1.65; margin: 0; }

/* -------------------------------------------------------
   STATS SECTION
------------------------------------------------------- */
.shelby-stats-section {
  background: linear-gradient(135deg, #160647, #6857d0);
}

.shelby-stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.shelby-stat-item {
  text-align: center;
  padding: 1.25rem 2.5rem;
  border-right: 1px solid rgba(255,255,255,.15);
  flex: 1;
  min-width: 140px;
}
.shelby-stat-item:last-child { border-right: none; }
.shelby-stat-item strong { display: block; font-size: 2rem; font-weight: 900; color: #ffbf2d; }
.shelby-stat-item span { font-size: .82rem; color: rgba(255,255,255,.8); display: block; margin-top: .2rem; }

@media (max-width: 600px) {
  .shelby-stats-grid { gap: 0; }
  .shelby-stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding: 1rem; }
  .shelby-stat-item:last-child { border-bottom: none; }
}

/* -------------------------------------------------------
   FOOTER IMPROVEMENTS
------------------------------------------------------- */
footer .bottom { min-height: 50px; }

/* -------------------------------------------------------
   SCROLL UTILITY — ensure page scrolls naturally
------------------------------------------------------- */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

.text_block_simple,
.read_more_text,
.action_block,
.why_choose_us,
.how_it_works,
.testimonials_block,
.samples_block,
.safetiness_block,
.shelby-single-wrapper,
.posts_wrapper,
.shelby-blog-section,
.shelby-cat-faq,
.shelby-stats-section {
  overflow: visible;
}

/* -------------------------------------------------------
   SHELBY POPUP ANIMATION
------------------------------------------------------- */
@keyframes shelbyPopIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =================================================================
   SHELBY UPGRADED v3.0 — Inspired by paperwritings.com & wowessays.com
   Trust bar, stats counter, writers section, service cards,
   guarantee section, featured-in logos, enhanced footer,
   exit-intent popup, AI/SEO schema enhancements
   ================================================================= */

/* -------------------------------------------------------
   TOP ANNOUNCEMENT TRUST BAR
------------------------------------------------------- */
/* -------------------------------------------------------
   TOP ANNOUNCEMENT / PROMOTIONAL BAR
   - position:static so it scrolls naturally
   - header (fixed) sits directly on top: trust bar
     appears ABOVE header on page load then scrolls away,
     header stays pinned. page_holder padding = bar+header.
------------------------------------------------------- */
.shelby-trust-bar {
  background: var(--shelby-primary-dark, #160647);
  padding: 0;                    /* height controlled by inner line-height */
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.92);
  position: static;              /* NOT fixed/sticky — scrolls with page */
  z-index: auto;
  height: var(--shelby-bar-h, 36px);
  overflow: hidden;              /* single-line guarantee */
  line-height: var(--shelby-bar-h, 36px);
}
.shelby-trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 100%;
  flex-wrap: nowrap;             /* ONE line always */
  overflow: hidden;
}
.shelby-trust-bar-item {
  display: flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}
.shelby-trust-bar-item .stb-icon { font-size: .85rem; }
.shelby-trust-bar strong { color: var(--shelby-gold, #ffbf2d); }
.shelby-trust-bar a { color: var(--shelby-gold, #ffbf2d); text-decoration: underline; }

/* Header is position:fixed top:0 (set above); trust bar is static and scrolls away naturally */

/* On mobile: scroll the bar horizontally, hide dividers */
@media(max-width:767px){
  .shelby-trust-bar-inner {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    scrollbar-width: none;
    gap: 1.1rem;
  }
  .shelby-trust-bar-inner::-webkit-scrollbar { display: none; }
  .shelby-trust-bar-item:nth-child(n+5) { display: none; }
}

/* -------------------------------------------------------
   LIVE STATS COUNTER SECTION
------------------------------------------------------- */
.shelby-live-stats {
  background: #fff;
  border-bottom: 1px solid #ede9fe;
  padding: 1.1rem 0;
}
.shelby-live-stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: .5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.shelby-live-stat {
  text-align: center;
  padding: .4rem .8rem;
}
.shelby-live-stat .sls-num {
  font-size: 1.55rem;
  font-weight: 900;
  color: #6857d0;
  display: block;
  line-height: 1;
}
.shelby-live-stat .sls-label {
  font-size: .72rem;
  color: #6b7280;
  margin-top: .15rem;
  display: block;
}
@media(max-width:540px){
  .shelby-live-stat { min-width: 45%; }
}

/* -------------------------------------------------------
   FEATURED IN / AS SEEN IN
------------------------------------------------------- */
.shelby-featured-in {
  background: #f8fafc;
  padding: 1.75rem 0;
  border-top: 1px solid #e5e7eb;
}
.shelby-featured-in-label {
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 1rem;
}
.shelby-featured-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.shelby-featured-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #9ca3af;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  opacity: .65;
  transition: opacity .2s;
}
.shelby-featured-logo:hover { opacity: 1; }
.shelby-featured-logo .fl-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* -------------------------------------------------------
   SERVICES GRID SECTION
------------------------------------------------------- */
.shelby-services-section {
  background: #f8fafc;
  padding: 3.5rem 0;
}
.shelby-section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2.5rem;
}
.shelby-section-label {
  display: inline-block;
  background: #ede9fe;
  color: #6857d0;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 20px;
  margin-bottom: .75rem;
}
.shelby-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #160647;
  margin: 0 0 .75rem;
  line-height: 1.25;
}
.shelby-section-sub {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}
.shelby-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.shelby-service-card {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.6rem 1.4rem;
  text-decoration: none;
  display: block;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.shelby-service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6857d0, #a78bfa);
  opacity: 0;
  transition: opacity .2s;
}
.shelby-service-card:hover {
  border-color: #c4b5fd;
  box-shadow: 0 12px 32px rgba(104,87,208,.12);
  transform: translateY(-4px);
}
.shelby-service-card:hover::after { opacity: 1; }
.shelby-sc-icon { font-size: 2rem; margin-bottom: .75rem; display: block; }
.shelby-sc-title {
  font-size: .97rem;
  font-weight: 700;
  color: #160647;
  margin: 0 0 .4rem;
}
.shelby-sc-desc {
  font-size: .82rem;
  color: #6b7280;
  line-height: 1.55;
  margin: 0 0 .75rem;
}
.shelby-sc-price {
  font-size: .78rem;
  font-weight: 700;
  color: #6857d0;
}
.shelby-sc-arrow { margin-left: .3rem; }
@media(max-width:640px){
  .shelby-services-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:380px){
  .shelby-services-grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------
   WRITERS / EXPERTS SECTION
------------------------------------------------------- */
.shelby-writers-section {
  padding: 3.5rem 0;
  background: #fff;
}
.shelby-writers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.shelby-writer-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.4rem 1.2rem 1.2rem;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.shelby-writer-card:hover {
  box-shadow: 0 10px 28px rgba(104,87,208,.1);
  transform: translateY(-4px);
}
.shelby-writer-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6857d0, #a78bfa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto .75rem;
  color: #fff;
  font-weight: 800;
}
.shelby-writer-name {
  font-size: .95rem;
  font-weight: 700;
  color: #160647;
  margin: 0 0 .2rem;
}
.shelby-writer-field {
  font-size: .77rem;
  color: #6b7280;
  margin: 0 0 .6rem;
}
.shelby-writer-stats {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: .72rem;
  color: #9ca3af;
  margin-bottom: .7rem;
}
.shelby-writer-stat strong { color: #6857d0; display: block; font-size: .9rem; font-weight: 900; }
.shelby-writer-badge {
  display: inline-block;
  background: #ede9fe;
  color: #6857d0;
  font-size: .68rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 20px;
}
.shelby-writers-cta {
  text-align: center;
  margin-top: 2rem;
}

/* -------------------------------------------------------
   GUARANTEE SECTION (like paperwritings.com)
------------------------------------------------------- */
.shelby-guarantee-section {
  background: linear-gradient(135deg, #160647 0%, #2d1b69 50%, #6857d0 100%);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.shelby-guarantee-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.shelby-guarantee-section::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
}
.shelby-guarantee-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}
.shelby-guarantee-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.shelby-guarantee-header h2 {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 .5rem;
}
.shelby-guarantee-header p {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  margin: 0;
}
.shelby-guarantee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.shelby-guarantee-item {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  backdrop-filter: blur(4px);
  transition: background .2s;
}
.shelby-guarantee-item:hover { background: rgba(255,255,255,.14); }
.shelby-gi-icon { font-size: 2.2rem; margin-bottom: .75rem; display: block; }
.shelby-gi-title {
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .4rem;
}
.shelby-gi-text {
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  line-height: 1.55;
  margin: 0;
}
.shelby-guarantee-cta {
  text-align: center;
  margin-top: 2.5rem;
}
.shelby-btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, #ffbf2d, #f59e0b);
  color: #160647 !important;
  font-weight: 800;
  font-size: .97rem;
  padding: .85rem 2.2rem;
  border-radius: 30px;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(255,191,45,.35);
  transition: transform .15s, box-shadow .15s;
}
.shelby-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(255,191,45,.5); }

/* -------------------------------------------------------
   PROCESS STEPS (enhanced version)
------------------------------------------------------- */
.shelby-process-section {
  background: #f8fafc;
  padding: 3.5rem 0;
}
.shelby-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
}
.shelby-process-grid::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: calc(12.5% + 1.25rem);
  right: calc(12.5% + 1.25rem);
  height: 2px;
  background: linear-gradient(90deg, #c4b5fd, #6857d0, #c4b5fd);
}
.shelby-process-step {
  text-align: center;
  padding: 0 1rem;
  position: relative;
}
.shelby-ps-num {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #6857d0, #4c3ba8);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(104,87,208,.3);
}
.shelby-ps-title {
  font-size: .92rem;
  font-weight: 700;
  color: #160647;
  margin: 0 0 .4rem;
}
.shelby-ps-text {
  font-size: .8rem;
  color: #6b7280;
  line-height: 1.55;
  margin: 0;
}
@media(max-width:768px){
  .shelby-process-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .shelby-process-grid::before { display: none; }
}
@media(max-width:480px){
  .shelby-process-grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------
   SUBJECT AREAS / DISCIPLINES
------------------------------------------------------- */
.shelby-subjects-section {
  background: #fff;
  padding: 3rem 0;
}
.shelby-subjects-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.shelby-subject-tag {
  display: inline-block;
  background: #f3f0ff;
  color: #6857d0;
  border: 1px solid #ede9fe;
  border-radius: 20px;
  padding: .4rem 1rem;
  font-size: .83rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.shelby-subject-tag:hover {
  background: #6857d0;
  color: #fff;
  border-color: #6857d0;
}

/* -------------------------------------------------------
   FAQ SCHEMA SECTION (for SEO)
------------------------------------------------------- */
.shelby-faq-section {
  background: #fff;
  padding: 3.5rem 0;
}
.shelby-faq-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media(max-width:768px){
  .shelby-faq-cols { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------
   ENHANCED FOOTER
------------------------------------------------------- */
.shelby-footer-top {
  background: #160647;
  padding: 3rem 0 2rem;
}
.shelby-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.shelby-footer-brand { }
.shelby-footer-tagline {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  margin: .75rem 0 1.25rem;
  line-height: 1.6;
}
.shelby-footer-col h4 {
  font-size: .78rem;
  font-weight: 800;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 0 0 .9rem;
}
.shelby-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.shelby-footer-links li { margin-bottom: .45rem; }
.shelby-footer-links a {
  font-size: .87rem;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .15s;
}
.shelby-footer-links a:hover { color: #ffbf2d; }
.shelby-footer-trust-icons {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}
.shelby-fti {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  padding: .4rem .7rem;
  font-size: .7rem;
  color: rgba(255,255,255,.75);
  display: flex;
  align-items: center;
  gap: .3rem;
}
.shelby-footer-bottom {
  background: #0d0330;
  padding: 1rem 0;
}
.shelby-footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
}
.shelby-footer-bottom-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.shelby-footer-bottom-links a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  font-size: .75rem;
  transition: color .15s;
}
.shelby-footer-bottom-links a:hover { color: #fff; }
@media(max-width:900px){
  .shelby-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:560px){
  .shelby-footer-grid { grid-template-columns: 1fr; }
  .shelby-footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* -------------------------------------------------------
   EXIT INTENT / DISCOUNT POPUP
------------------------------------------------------- */
.shelby-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.shelby-popup-overlay.active { display: flex; }
.shelby-popup {
  background: #fff;
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
  animation: shelbyPopIn .3s ease;
  position: relative;
}
.shelby-popup-head {
  background: linear-gradient(135deg, #6857d0, #4c3ba8);
  padding: 2rem 2rem 1.5rem;
  text-align: center;
  color: #fff;
}
.shelby-popup-badge {
  display: inline-block;
  background: #ffbf2d;
  color: #160647;
  font-size: .75rem;
  font-weight: 800;
  padding: .2rem .8rem;
  border-radius: 20px;
  margin-bottom: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.shelby-popup-head h3 {
  font-size: 1.6rem;
  font-weight: 900;
  margin: 0 0 .35rem;
}
.shelby-popup-head p { font-size: .9rem; opacity: .85; margin: 0; }
.shelby-popup-body { padding: 1.5rem 2rem 2rem; text-align: center; }
.shelby-popup-code-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  background: #f3f0ff;
  border: 2px dashed #c4b5fd;
  border-radius: 12px;
  padding: .9rem 1.2rem;
  margin: 1rem 0;
}
.shelby-popup-code {
  font-size: 1.4rem;
  font-weight: 900;
  color: #6857d0;
  font-family: monospace;
  letter-spacing: .1em;
}
.shelby-popup-copy {
  background: #6857d0;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: .4rem .9rem;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.shelby-popup-copy:hover { background: #4c3ba8; }
.shelby-popup-body small { font-size: .75rem; color: #9ca3af; }
.shelby-popup-close {
  position: absolute;
  top: .75rem;
  right: .9rem;
  background: rgba(255,255,255,.2);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background .15s;
}
.shelby-popup-close:hover { background: rgba(255,255,255,.35); }

/* -------------------------------------------------------
   FLOATING CTA BOTTOM BAR (mobile)
------------------------------------------------------- */
.shelby-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0,0,0,.12);
  padding: .7rem 1rem;
  z-index: 9000;
  align-items: center;
  gap: .75rem;
}
.shelby-mobile-cta-text {
  font-size: .82rem;
  color: #374151;
  font-weight: 600;
  flex: 1;
}
.shelby-mobile-cta-btn {
  background: linear-gradient(135deg, #6857d0, #4c3ba8);
  color: #fff !important;
  font-weight: 800;
  font-size: .85rem;
  padding: .6rem 1.2rem;
  border-radius: 25px;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(104,87,208,.35);
}
@media(max-width:768px){
  .shelby-mobile-cta { display: flex; }
  body { padding-bottom: 60px; }
}

/* -------------------------------------------------------
   PRICING TABLE
------------------------------------------------------- */
.shelby-pricing-section {
  background: #f8fafc;
  padding: 3.5rem 0;
}
.shelby-pricing-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  font-size: .9rem;
}
.shelby-pricing-table thead {
  background: linear-gradient(135deg, #6857d0, #4c3ba8);
  color: #fff;
}
.shelby-pricing-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 700;
  font-size: .85rem;
}
.shelby-pricing-table td {
  padding: .85rem 1.25rem;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
}
.shelby-pricing-table tr:last-child td { border-bottom: none; }
.shelby-pricing-table tr:nth-child(even) { background: #fafafa; }
.shelby-pricing-price { color: #6857d0; font-weight: 700; }
.shelby-pricing-table caption {
  font-size: .78rem;
  color: #9ca3af;
  padding: .5rem 1rem;
  caption-side: bottom;
  text-align: center;
}
@media(max-width:640px){
  .shelby-pricing-table { font-size: .8rem; }
  .shelby-pricing-table th, .shelby-pricing-table td { padding: .6rem .75rem; }
}

/* -------------------------------------------------------
   SCROLL TO TOP
------------------------------------------------------- */
.shelby-scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #6857d0;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(104,87,208,.35);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s;
  z-index: 8000;
  text-decoration: none;
  border: none;
}
.shelby-scroll-top.visible { opacity: 1; transform: translateY(0); }
.shelby-scroll-top:hover { background: #4c3ba8; }
@media(max-width:768px){
  .shelby-scroll-top { bottom: 4.5rem; right: .9rem; width: 36px; height: 36px; }
}

/* -------------------------------------------------------
   WRITERS TRUSTPILOT WIDGET UPDATE
------------------------------------------------------- */
.shelby-tp-strip {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: .9rem 0;
}
.shelby-tp-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.25rem;
  font-size: .87rem;
  color: #374151;
}
.shelby-tp-stars { color: #00b67a; font-size: 1.2rem; letter-spacing: -.05em; }

/* -------------------------------------------------------
/* HEADER ENHANCEMENT — transition already set on main header rule above */
.page_holder header {
  transition: padding .25s, box-shadow .25s;
}
/* .scrolled header shadow — defined in main header block above */

/* -------------------------------------------------------
   CONTENT WIDTH UTIL
------------------------------------------------------- */
.shelby-width {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* -------------------------------------------------------
   REVIEW STARS SHARED UTILITY
------------------------------------------------------- */
.shelby-stars {
  display: inline-flex;
  gap: .1rem;
  color: #fbbf24;
  font-size: .95rem;
}

/* -------------------------------------------------------
   SCHEMA / STRUCTURED DATA HELPERS (visual trust signals)
------------------------------------------------------- */
.shelby-review-schema-widget {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.shelby-rsw-score {
  font-size: 2.5rem;
  font-weight: 900;
  color: #160647;
  line-height: 1;
}
.shelby-rsw-info strong { display: block; font-size: .9rem; color: #374151; margin-top: .15rem; }
.shelby-rsw-info small { font-size: .75rem; color: #9ca3af; }

/* make sure no overflow issues */
.shelby-services-section,
.shelby-writers-section,
.shelby-guarantee-section,
.shelby-process-section,
.shelby-subjects-section,
.shelby-faq-section,
.shelby-pricing-section,
.shelby-live-stats,
.shelby-featured-in {
  overflow: visible;
}
/* .shelby-trust-bar overflow is intentionally hidden (single-line) — do not override */

/* =================================================================
   SHELBY UPGRADED v3.1 — Targeted Fixes
   1. Scrollable content section
   2. cta-calc.php desktop layout fix
   3. Mobile privacy banner / cookie banner fix
   ================================================================= */

/* -------------------------------------------------------
   1. SCROLLABLE CONTENT SECTION (index.php read_more_text)
   Mirrors competitor sites: fixed-height box with inner scroll,
   fade mask at bottom, expand button
------------------------------------------------------- */
.shelby-content-scroll-wrapper {
  position: relative;
  max-height: 520px;
  overflow: hidden;
  transition: max-height .45s ease;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid #ede9fe;
  box-shadow: 0 4px 24px rgba(104,87,208,.07);
}

.shelby-content-scroll-wrapper.shelby-expanded {
  max-height: 9999px;
  overflow: visible;
}

/* Inner padding so text doesn't touch the edges */
.shelby-content-scroll-wrapper .expanded_content {
  padding: 2rem 2.25rem 1.5rem !important;
  margin: 0 !important;
}

/* The scrollable inner area when collapsed — desktop shows scroll bar */
.shelby-content-scroll-wrapper:not(.shelby-expanded) {
  overflow-y: auto;
  scroll-behavior: smooth;
}

/* Custom scrollbar styling */
.shelby-content-scroll-wrapper::-webkit-scrollbar {
  width: 6px;
}
.shelby-content-scroll-wrapper::-webkit-scrollbar-track {
  background: #f3f0ff;
  border-radius: 0 16px 16px 0;
}
.shelby-content-scroll-wrapper::-webkit-scrollbar-thumb {
  background: #c4b5fd;
  border-radius: 6px;
}
.shelby-content-scroll-wrapper::-webkit-scrollbar-thumb:hover {
  background: #6857d0;
}

/* Fade mask at bottom when not expanded */
.shelby-content-scroll-outer {
  position: relative;
}
.shelby-content-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to bottom, rgba(245,245,255,0) 0%, #f5f5ff 100%);
  pointer-events: none;
  transition: opacity .3s;
  border-radius: 0 0 16px 16px;
}
.shelby-content-fade.hidden { opacity: 0; }

/* Read More / Read Less toggle button */
.shelby-content-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: #ede9fe;
  border: 1.5px solid #c4b5fd;
  border-radius: 30px;
  color: #6857d0;
  font-size: .88rem;
  font-weight: 700;
  padding: .6rem 1.8rem;
  margin: 1.1rem auto 0;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  width: fit-content;
}
.shelby-content-toggle-btn:hover {
  background: #6857d0;
  color: #fff;
  border-color: #6857d0;
}
.shelby-content-toggle-btn .stb-arrow {
  transition: transform .3s;
  font-style: normal;
  font-size: 1rem;
  display: inline-block;
}
.shelby-content-toggle-btn.expanded .stb-arrow {
  transform: rotate(180deg);
}

/* Scroll-hint label */
.shelby-scroll-hint {
  text-align: center;
  font-size: .72rem;
  color: #a78bfa;
  margin-top: .35rem;
  display: block;
}

@media(max-width: 768px) {
  .shelby-content-scroll-wrapper {
    max-height: 380px;
  }
  .shelby-content-scroll-wrapper .expanded_content {
    padding: 1.25rem 1.1rem 1rem !important;
  }
}

/* -------------------------------------------------------
   2. CTA-CALC DESKTOP FIX
   The calculator inside dark section was clipping on desktop.
   Fix: constrain width, ensure all fields visible, fix overflow.
------------------------------------------------------- */
.action_block .calculator {
  max-width: 680px;
  margin: 0 auto;
  padding-bottom: 2rem;
}

.action_block .uvocalc--wrapper {
  width: 100%;
  box-sizing: border-box;
}

.action_block .uvocalc {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem 2rem 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  width: 100%;
  box-sizing: border-box;
  overflow: visible !important;
}

.action_block .uvocalc--title {
  font-size: 1rem;
  font-weight: 700;
  color: #160647;
  margin: 0 0 1.25rem;
  text-align: center;
  line-height: 1.4;
}

/* Ensure form fields don't overflow */
.action_block .uvocalc--container form {
  width: 100%;
  box-sizing: border-box;
}

.action_block .uvocalc--type_of_paper,
.action_block .uvocalc--pages,
.action_block .uvocalc--academic_level,
.action_block .uvocalc--deadline,
.action_block .uvocalc--total_price_container,
.action_block .uvocalc--submit__container {
  width: 100%;
  box-sizing: border-box;
  overflow: visible !important;
}

/* Academic level control - most commonly hidden on desktop */
.action_block .uvocalc--academic_level_control {
  display: flex !important;
  flex-wrap: wrap;
  gap: .5rem;
  overflow: visible !important;
  width: 100%;
  box-sizing: border-box;
}

/* Tariff/academic level content area */
.action_block .uvocalc--academic_level_content {
  overflow: visible !important;
  width: 100%;
}

/* Deadline row */
.action_block .uvocalc--deadline {
  font-size: .88rem;
  color: #374151;
  padding: .75rem 0;
  line-height: 1.5;
}

/* Total price display */
.action_block .uvocalc--total_price_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 0 1rem;
  border-top: 1px solid #f3f4f6;
  margin-top: .5rem;
}

.action_block .uvocalc--total_price_title {
  font-size: .9rem;
  font-weight: 600;
  color: #374151;
}

.action_block .uvocalc--total_price {
  font-size: 1.6rem !important;
  font-weight: 900;
  color: #6857d0!important;
}

/* Submit button full width */
.action_block .uvocalc--submit__container button {
  width: 100%;
  padding: .85rem 1rem;
  font-size: 1rem;
  border-radius: 10px;
}

/* Select dropdowns full width */
.action_block .uvocalc--select select,
.action_block select {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media(max-width: 768px) {
  .action_block .uvocalc {
    padding: 1.25rem 1.1rem 1.5rem;
    border-radius: 12px;
  }
  .action_block .uvocalc--total_price {
    font-size: 1.3rem !important;
  }
}

/* -------------------------------------------------------
   3. PRIVACY POLICY MOBILE BANNER / COOKIE CONSENT FIX
   Cookie/privacy banners commonly overflow on mobile —
   force them to fit within viewport width.
------------------------------------------------------- */

/* Generic cookie / privacy consent banners */
#cookie-notice,
#cookie-law-info-bar,
.cookie-notice-container,
.cookie-banner,
.privacy-banner,
.gdpr-banner,
[id*="cookie"],
[class*="cookie-bar"],
[class*="consent-bar"],
[class*="privacy-bar"] {
  max-width: 100vw !important;
  width: 100% !important;
  box-sizing: border-box !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  position: fixed !important;
}

@media(max-width: 768px) {
  #cookie-notice,
  #cookie-law-info-bar,
  .cookie-notice-container,
  .cookie-banner,
  .privacy-banner,
  .gdpr-banner,
  [id*="cookie"],
  [class*="cookie-bar"],
  [class*="consent-bar"],
  [class*="privacy-bar"] {
    font-size: .82rem !important;
    padding: .9rem 1rem 1rem !important;
    flex-direction: column !important;
    gap: .6rem !important;
    text-align: center !important;
  }

  /* Ensure buttons in banners don't overflow */
  #cookie-notice a,
  #cookie-notice button,
  .cookie-notice-container a,
  .cookie-notice-container button,
  [id*="cookie"] a,
  [id*="cookie"] button,
  [class*="cookie-bar"] a,
  [class*="cookie-bar"] button {
    display: inline-block !important;
    white-space: normal !important;
    max-width: 100% !important;
    word-break: break-word !important;
    font-size: .82rem !important;
    padding: .5rem 1rem !important;
  }

  /* Fix privacy policy page itself if it uses a banner at top */
  .privacy-policy .page-header,
  body.privacy-policy .site-header-wrap,
  .page-template-privacy-policy .site-header {
    overflow: visible !important;
  }
}

/* Privacy Policy page top banner/hero fix */
.privacy_policy_banner,
.page-banner,
.page-hero {
  box-sizing: border-box;
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  overflow: hidden;
}

@media(max-width: 768px) {
  .privacy_policy_banner,
  .page-banner,
  .page-hero {
    padding: 1.5rem 1rem !important;
    text-align: center;
  }
  .privacy_policy_banner h1,
  .page-banner h1,
  .page-hero h1 {
    font-size: 1.5rem !important;
    word-break: break-word;
  }
}

/* -------------------------------------------------------
   SCROLLABLE CONTENT — JS toggle script placeholder styles
------------------------------------------------------- */
.read_more_text .read_more_button {
  /* hide original read more button since we use our own */
  display: none !important;
}


/* ═══════════════════════════════════════════════════════════════════
   SHELBY ENHANCED v4.0
   New two-column layout, enhanced single/archive/category/tag,
   full mobile responsive, iOS fixes, safe-area support
   ═══════════════════════════════════════════════════════════════════ */

/* ── GLOBAL RESET ── */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body { overflow-x: hidden; max-width: 100vw; }
img  { max-width: 100%; height: auto; }

/* ── POST HERO (single / category / tag / archive) ── */
.shelby-post-hero {
  background: linear-gradient(135deg, #0f0536 0%, #2d1b72 55%, #4537af 100%);
  padding: 2.5rem 0 2.75rem;
  position: relative;
  overflow: hidden;
}
.shelby-post-hero-inner { position: relative; z-index: 2; }
.shelby-hero-title {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.22;
  margin: .85rem 0 1rem;
  word-break: break-word;
  overflow-wrap: break-word;
}
.shelby-hero-meta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }
.shelby-hero-meta-pill {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: #e2d9ff; font-size: .78rem; padding: .28rem .75rem; border-radius: 20px;
}
.shelby-cat-badge {
  background: #ffbf2d; color: #160647; font-size: .72rem; font-weight: 800;
  padding: .25rem .75rem; border-radius: 20px; text-decoration: none;
}

@media (max-width: 768px) {
  .shelby-post-hero { padding: 1.75rem 0 2rem; }
  .shelby-hero-title { font-size: 1.55rem; }
}
@media (max-width: 480px) {
  .shelby-hero-title { font-size: 1.3rem; }
  .shelby-post-hero { padding: 1.4rem 0 1.7rem; }
}
@media (max-width: 360px) {
  .shelby-hero-title { font-size: 1.15rem; }
}

/* ── TWO-COLUMN LAYOUT GRID ── */
.shelby-layout-wrap { background: #f8fafc; }
.shelby-layout-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.25rem;
  align-items: start;
  padding-top: 2.25rem;
  padding-bottom: 3rem;
}
.shelby-main { min-width: 0; }

@media (max-width: 1100px) {
  .shelby-layout-grid { grid-template-columns: 1fr 270px; gap: 1.75rem; }
}
@media (max-width: 920px) {
  .shelby-layout-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .shelby-sidebar-v2 { order: -1; }
}

/* ── SIDEBAR V2 ── */
.shelby-sidebar-v2 { display: flex; flex-direction: column; gap: 1.1rem; }
.shelby-sw {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
}
.shelby-sw-order {
  background: linear-gradient(135deg, #160647, #2d1b72);
  color: #fff;
  padding: 1.4rem 1.3rem 1.2rem;
}
.shelby-sw-badge {
  display: inline-block; background: #ffbf2d; color: #160647;
  font-size: .69rem; font-weight: 800; padding: .22rem .75rem;
  border-radius: 20px; margin-bottom: .65rem; text-transform: uppercase; letter-spacing: .05em;
}
.shelby-sw-order-title { font-size: 1.05rem; font-weight: 900; color: #fff; margin: 0 0 .25rem; }
.shelby-sw-order-sub { font-size: .78rem; color: rgba(255,255,255,.75); margin: 0 0 .85rem; }
.shelby-sw-trust-row { display: flex; gap: .75rem; flex-wrap: wrap; font-size: .72rem; color: rgba(255,255,255,.8); margin-bottom: .9rem; }
.shelby-btn-order {
  display: block; text-align: center; background: linear-gradient(135deg,#ffbf2d,#f59e0b);
  color: #160647 !important; font-weight: 800; font-size: .88rem; padding: .75rem 1rem;
  border-radius: 10px; text-decoration: none !important; margin-bottom: .55rem;
  transition: transform .15s, box-shadow .15s; box-shadow: 0 4px 14px rgba(255,191,45,.35);
}
.shelby-btn-order:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255,191,45,.5); }
.shelby-btn-prices {
  display: block; text-align: center; background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85) !important; font-weight: 700; font-size: .82rem;
  padding: .6rem 1rem; border-radius: 10px; text-decoration: none !important;
  border: 1px solid rgba(255,255,255,.2); margin-bottom: .7rem;
}
.shelby-sw-coupon-row {
  background: rgba(255,255,255,.1); border-radius: 8px; padding: .5rem .75rem;
  font-size: .75rem; color: rgba(255,255,255,.8); text-align: center; margin-top: .55rem;
}
.shelby-sw-geo-badges { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .75rem; }
.shelby-sw-geo-badges span {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px; padding: .25rem .55rem; font-size: .68rem; color: rgba(255,255,255,.75);
}
.shelby-w100 { width: 100%; }
.shelby-mt10 { margin-top: .6rem; }
.shelby-mt8  { margin-top: .5rem; }

/* Promo widget V2 */
.shelby-sw-promo-v2 {
  background: linear-gradient(135deg, #6857d0, #4c3ba8);
  color: #fff; text-align: center; padding: 1.2rem 1.25rem;
}
.shelby-swp-label { font-size: .69rem; font-weight: 800; letter-spacing: .06em; color: #c4b5fd; margin: 0 0 .2rem; }
.shelby-swp-pct   { font-size: 2.4rem; font-weight: 900; margin: 0 0 .1rem; }
.shelby-swp-sub   { font-size: .8rem; color: #e9d5ff; margin: 0 0 .35rem; }
.shelby-swp-code  { font-size: .82rem; margin: 0 0 .7rem; }
.shelby-swp-code strong { background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.3); padding: .1rem .5rem; border-radius: 5px; font-family: monospace; }
.shelby-btn-gold {
  display: block; text-align: center;
  background: linear-gradient(135deg,#ffbf2d,#f59e0b);
  color: #160647 !important; font-weight: 800; font-size: .88rem;
  padding: .72rem 1rem; border-radius: 10px; text-decoration: none !important;
  transition: transform .15s;
}
.shelby-btn-gold:hover { transform: translateY(-2px); }

/* Calc widget V2 */
.shelby-sw-calc-v2 { padding: 1.2rem 1.25rem 1.3rem; }
.shelby-sw-calc-head { margin-bottom: .9rem; }
.shelby-sw-calc-head h3 { font-size: .95rem; font-weight: 700; color: #160647; margin: 0 0 .15rem; }
.shelby-sw-calc-head p  { font-size: .75rem; color: #9ca3af; margin: 0; }
.shelby-sw-label { display: block; font-size: .74rem; font-weight: 700; color: #374151; margin: .7rem 0 .25rem; }
.shelby-sw-select {
  width: 100%; border: 1.5px solid #e5e7eb; border-radius: 7px;
  padding: .5rem .75rem; font-size: 16px; color: #160647; background: #fff;
  box-sizing: border-box; transition: border-color .2s;
}
.shelby-sw-select:focus { border-color: #6857d0; outline: none; }
@media (min-width: 769px) { .shelby-sw-select { font-size: .84rem; } }
.shelby-sw-price-display {
  background: #ede9fe; border-radius: 8px; text-align: center;
  padding: .55rem; margin: .75rem 0; font-size: .9rem; color: #374151;
}
.shelby-sw-price-display strong { color: #6857d0; font-size: 1.1rem; }
.shelby-sw-note { text-align: center; font-size: .7rem; color: #9ca3af; margin: .45rem 0 0; }

/* TOC widget */
.shelby-sw-toc { padding: 1.1rem 1.2rem 1.2rem; }
.shelby-sw-title { font-size: .93rem; font-weight: 700; color: #160647; margin: 0 0 .75rem; }
.shelby-toc-list { padding-left: 1rem; margin: 0; }
.shelby-toc-item { margin-bottom: .35rem; font-size: .8rem; }
.shelby-toc-item a { color: #374151; text-decoration: none; line-height: 1.4; }
.shelby-toc-item a:hover, .shelby-toc-active { color: #6857d0 !important; font-weight: 600; }
.shelby-toc-h3 { padding-left: .85rem; font-size: .75rem; }

/* Trust widget V2 */
.shelby-sw-trust-v2 { padding: 1.1rem 1.2rem 1.2rem; }
.shelby-trust-list-v2 { list-style: none; padding: 0; margin: 0 0 .85rem; }
.shelby-trust-list-v2 li { font-size: .84rem; color: #374151; padding: .32rem 0; border-bottom: 1px solid #f3f4f6; }
.shelby-trust-list-v2 li:last-child { border: none; }
.shelby-chat-btn-v2 {
  display: block; background: #6857d0; color: #fff !important; font-weight: 700; font-size: .84rem;
  text-align: center; padding: .62rem; border-radius: 8px; text-decoration: none !important;
  transition: background .2s;
}
.shelby-chat-btn-v2:hover { background: #4c3ba8; }

/* Services list V2 */
.shelby-services-list-v2 { list-style: none; padding: .5rem 1.2rem 1rem; margin: 0; }
.shelby-services-list-v2 li { border-bottom: 1px solid #f3f4f6; }
.shelby-services-list-v2 li:last-child { border: none; }
.shelby-services-list-v2 a { display: block; font-size: .86rem; color: #374151; text-decoration: none; padding: .48rem 0; transition: color .15s; }
.shelby-services-list-v2 a::before { content: "→ "; color: #6857d0; font-weight: 700; }
.shelby-services-list-v2 a:hover { color: #6857d0; }

/* Category list */
.shelby-cat-list { list-style: none; padding: .5rem 1.2rem 1rem; margin: 0; }
.shelby-cat-item { border-bottom: 1px solid #f3f4f6; }
.shelby-cat-item:last-child { border: none; }
.shelby-cat-link { display: flex; justify-content: space-between; align-items: center; font-size: .86rem; color: #374151; text-decoration: none; padding: .48rem 0; transition: color .15s; }
.shelby-cat-link:hover { color: #6857d0; }
.shelby-cat-count { background: #ede9fe; color: #6857d0; font-size: .7rem; font-weight: 700; padding: .15rem .5rem; border-radius: 20px; }

/* Tag cloud small */
.shelby-tag-cloud-sm { display: flex; flex-wrap: wrap; gap: .4rem; padding: .5rem 1.2rem 1rem; }

/* Recent posts */
.shelby-recent-list { list-style: none; padding: .5rem 1.2rem 1rem; margin: 0; }
.shelby-recent-item { border-bottom: 1px solid #f3f4f6; padding: .55rem 0; }
.shelby-recent-item:last-child { border: none; }
.shelby-recent-link { display: flex; gap: .65rem; align-items: center; text-decoration: none; }
.shelby-recent-thumb {
  width: 44px; height: 44px; border-radius: 8px; flex-shrink: 0;
  background-size: cover; background-position: center;
}
.shelby-recent-no-img { background: #f3f0ff; display:flex; align-items:center; justify-content:center; font-size:1.1rem; }
.shelby-recent-text { font-size: .8rem; color: #374151; line-height: 1.4; font-weight: 500; }
.shelby-recent-link:hover .shelby-recent-text { color: #6857d0; }

/* ── ARTICLE AREA ── */
.shelby-featured-img { margin-bottom: 1.5rem; border-radius: 12px; overflow: hidden; }
.shelby-featured-img img, .shelby-thumb { width: 100%; height: auto; display: block; }
.shelby-article { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.shelby-post-content {
  padding: 1.75rem 2rem 2rem;
  word-break: break-word; overflow-wrap: break-word; overflow-x: hidden;
}
.shelby-post-content h2 { font-size: 1.45rem; margin-top: 1.75em; margin-bottom: .6em; color: #160647; }
.shelby-post-content h3 { font-size: 1.2rem; margin-top: 1.4em; margin-bottom: .5em; color: #160647; }
.shelby-post-content p  { line-height: 1.8; margin-bottom: 1.1em; color: #374151; }
.shelby-post-content ul, .shelby-post-content ol { padding-left: 1.5em; margin-bottom: 1.1em; }
.shelby-post-content li { margin-bottom: .4em; line-height: 1.7; color: #374151; }
.shelby-post-content a { color: #6857d0; text-decoration: underline; text-underline-offset: 2px; }
.shelby-post-content table { width: 100%; max-width: 100%; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.shelby-post-content pre, .shelby-post-content code { white-space: pre-wrap; word-break: break-all; overflow-x: auto; max-width: 100%; }
.shelby-post-content img, .shelby-post-content iframe, .shelby-post-content video, .shelby-post-content embed { max-width: 100% !important; height: auto !important; }
@media (max-width: 640px) { .shelby-post-content { padding: 1.25rem 1.1rem 1.4rem; } }
@media (max-width: 360px) { .shelby-post-content { padding: 1rem .85rem 1.2rem; } }

/* Inline CTA V2 */
.shelby-inline-cta { border-radius: 12px; padding: 1.5rem 1.75rem; margin: 2rem 0; }
.shelby-cta-mid  { background: linear-gradient(135deg,#ede9fe,#f3f0ff); border: 1px solid #c4b5fd; }
.shelby-cta-late { background: linear-gradient(135deg,#160647,#2d1b72); border: none; }
.shelby-cta-late .shelby-icta-label, .shelby-cta-late .shelby-icta-heading, .shelby-cta-late .shelby-icta-text { color: rgba(255,255,255,.9); }
.shelby-cta-late .shelby-icta-heading { color: #fff; }
.shelby-icta-label   { font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #6857d0; margin-bottom: .45rem; }
.shelby-icta-heading { font-size: 1.05rem; font-weight: 800; color: #160647; margin: 0 0 .4rem; }
.shelby-icta-text    { font-size: .87rem; line-height: 1.65; color: #4b5563; margin: 0 0 1rem; }
.shelby-icta-actions { display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; }
.shelby-icta-btn-primary {
  background: linear-gradient(135deg,#6857d0,#4c3ba8); color: #fff !important;
  font-weight: 800; font-size: .88rem; padding: .72rem 1.4rem; border-radius: 8px;
  text-decoration: none !important; transition: transform .15s;
}
.shelby-icta-btn-primary:hover { transform: translateY(-2px); }
.shelby-icta-btn-gold {
  background: linear-gradient(135deg,#ffbf2d,#f59e0b); color: #160647 !important;
  font-weight: 800; font-size: .88rem; padding: .72rem 1.4rem; border-radius: 8px;
  text-decoration: none !important; transition: transform .15s;
}
.shelby-icta-btn-gold:hover { transform: translateY(-2px); }
.shelby-icta-btn-ghost {
  color: rgba(255,255,255,.8) !important; font-size: .84rem; font-weight: 600;
  text-decoration: underline !important; text-underline-offset: 2px;
}
.shelby-icta-code { font-size: .78rem; color: rgba(255,255,255,.75); }
@media (max-width: 480px) {
  .shelby-inline-cta { padding: 1.2rem 1.1rem; }
  .shelby-icta-actions { flex-direction: column; align-items: stretch; }
  .shelby-icta-btn-primary, .shelby-icta-btn-gold { text-align: center; }
}

/* Guarantees strip */
.shelby-guarantees-strip {
  display: flex; flex-wrap: wrap; gap: .5rem;
  background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px;
  padding: 1rem 1.25rem; margin: 1.5rem 0;
}
.shelby-gs-item { font-size: .83rem; color: #374151; display: flex; align-items: center; gap: .3rem; }
.shelby-gs-check { color: #22c55e; font-weight: 700; }
@media (max-width: 480px) { .shelby-gs-item { flex: 0 0 calc(50% - .25rem); } }
@media (max-width: 360px) { .shelby-gs-item { flex: 0 0 100%; } }

/* Share row */
.shelby-share-row {
  display: flex; align-items: center; flex-wrap: wrap; gap: .5rem;
  padding: 1rem 0; margin: 1.25rem 0; border-top: 1px solid #f3f4f6;
}
.shelby-share-label { font-size: .78rem; font-weight: 700; color: #9ca3af; }
.shelby-share-btn {
  display: inline-block; font-size: .75rem; font-weight: 700; padding: .35rem .85rem;
  border-radius: 20px; text-decoration: none !important; transition: opacity .15s;
}
.shelby-share-btn:hover { opacity: .8; }
.shelby-share-x  { background: #000; color: #fff !important; }
.shelby-share-fb { background: #1877f2; color: #fff !important; }
.shelby-share-li { background: #0a66c2; color: #fff !important; }
.shelby-share-wa { background: #25d366; color: #fff !important; }

/* Author box */
.shelby-author-box {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 1.25rem; margin: 1.5rem 0;
}
.shelby-author-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg,#6857d0,#a78bfa);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.shelby-author-name { font-size: .9rem; font-weight: 700; color: #160647; margin-bottom: .25rem; }
.shelby-author-bio  { font-size: .82rem; color: #4b5563; line-height: 1.6; }
@media (max-width: 480px) {
  .shelby-author-box { flex-direction: column; gap: .75rem; }
}

/* Post navigation */
.shelby-post-nav { display: flex; gap: 1rem; justify-content: space-between; margin: 1.5rem 0; }
.shelby-nav-prev, .shelby-nav-next { flex: 1; }
.shelby-nav-next { text-align: right; }
.shelby-nav-label { font-size: .72rem; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .05em; }
.shelby-post-nav a { font-size: .88rem; font-weight: 600; color: #6857d0; text-decoration: none; }
.shelby-post-nav a:hover { text-decoration: underline; }

/* FAQ section (post) */
.shelby-faq-section-post { margin: 2rem 0; }
.shelby-faq-heading { font-size: 1.2rem; font-weight: 800; color: #160647; margin: 0 0 1.25rem; }
.shelby-faq-cta-link { font-size: .83rem; font-weight: 700; color: #6857d0; text-decoration: none; display: inline-block; margin-top: .5rem; }
.shelby-faq-cta-link:hover { text-decoration: underline; }

/* Related section V2 */
.shelby-related-section { margin-top: 2rem; }
.shelby-related-heading { font-size: 1.1rem; font-weight: 800; color: #160647; margin: 0 0 1.25rem; }
.shelby-related-grid-v2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.shelby-related-card-v2 {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s;
}
.shelby-related-card-v2:hover { box-shadow: 0 8px 24px rgba(104,87,208,.1); transform: translateY(-3px); }
.shelby-related-thumb { height: 110px; background-size: cover; background-position: center; }
.shelby-related-no-thumb { height: 110px; background: #f3f0ff; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.shelby-related-body { padding: .85rem; flex: 1; display: flex; flex-direction: column; }
.shelby-related-date { font-size: .7rem; color: #9ca3af; margin-bottom: .3rem; display: block; }
.shelby-related-title-v2 { font-size: .85rem; font-weight: 700; color: #160647; margin: 0 0 .4rem; line-height: 1.4; }
.shelby-related-title-v2 a { text-decoration: none; color: inherit; }
.shelby-related-title-v2 a:hover { color: #6857d0; }
.shelby-related-excerpt { font-size: .78rem; color: #6b7280; line-height: 1.5; flex: 1; margin: 0 0 .5rem; }
.shelby-related-read { font-size: .75rem; font-weight: 700; color: #6857d0; margin-top: auto; }
@media (max-width: 640px) { .shelby-related-grid-v2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .shelby-related-grid-v2 { grid-template-columns: 1fr; } }

/* Comments wrap */
.shelby-comments-wrap { margin-top: 2rem; background: #fff; border-radius: 12px; padding: 1.5rem; box-shadow: 0 4px 20px rgba(0,0,0,.06); }

/* ── ARCHIVE HERO ── */
.shelby-archive-hero {
  background: linear-gradient(135deg, #0f0536 0%, #2d1b72 55%, #4537af 100%);
  padding: 2.75rem 0 3rem; position: relative; overflow: hidden;
}
.shelby-archive-hero-inner { position: relative; z-index: 2; }
.shelby-archive-title {
  font-size: 2.1rem; font-weight: 900; color: #fff; margin: .75rem 0 .75rem;
  line-height: 1.2; word-break: break-word;
}
.shelby-archive-desc { font-size: .97rem; color: rgba(255,255,255,.82); line-height: 1.7; margin: 0 0 1rem; max-width: 700px; }
.shelby-archive-meta-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 1.1rem; font-size: .8rem; color: rgba(255,255,255,.8); }
.shelby-archive-hero-cta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.shelby-archive-browse-btn {
  color: rgba(255,255,255,.8); font-size: .88rem; font-weight: 600;
  text-decoration: underline; text-underline-offset: 2px; background: none; border: none; cursor: pointer;
}
@media (max-width: 768px) {
  .shelby-archive-title { font-size: 1.6rem; }
  .shelby-archive-hero { padding: 1.75rem 0 2.25rem; }
}
@media (max-width: 480px) { .shelby-archive-title { font-size: 1.3rem; } }

/* Archive wrap */
.shelby-archive-wrap { background: #f8fafc; }

/* ── BLOG GRID V2 ── */
.shelby-blog-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.shelby-blog-card-v2 {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.07); display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.shelby-blog-card-v2:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(0,0,0,.12); }
.shelby-blog-thumb-v2 {
  height: 185px; background-size: cover; background-position: center; position: relative;
}
.shelby-blog-no-thumb { height: 185px; background: #f3f0ff; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.shelby-blog-cat-badge {
  position: absolute; top: .7rem; left: .7rem;
  background: #6857d0; color: #fff; font-size: .69rem; font-weight: 700;
  padding: .22rem .65rem; border-radius: 20px;
}
.shelby-blog-card-body { padding: 1.2rem; flex: 1; display: flex; flex-direction: column; }
.shelby-blog-card-meta { font-size: .73rem; color: #9ca3af; margin: 0 0 .4rem; display: flex; gap: .75rem; flex-wrap: wrap; }
.shelby-blog-card-title { font-size: .97rem; font-weight: 700; color: #160647; margin: 0 0 .55rem; line-height: 1.4; }
.shelby-blog-card-title a { text-decoration: none; color: inherit; }
.shelby-blog-card-title a:hover { color: #6857d0; }
.shelby-blog-card-excerpt { font-size: .84rem; color: #4b5563; line-height: 1.6; flex: 1; margin: 0 0 1rem; }
.shelby-blog-card-footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; }
.shelby-blog-read-more { font-size: .83rem; font-weight: 700; color: #6857d0; text-decoration: none; }
.shelby-blog-read-more:hover { text-decoration: underline; }
.shelby-blog-get-help {
  font-size: .75rem; font-weight: 700; background: #ede9fe; color: #6857d0;
  padding: .28rem .75rem; border-radius: 20px; text-decoration: none; white-space: nowrap; transition: background .15s;
}
.shelby-blog-get-help:hover { background: #6857d0; color: #fff; }

/* No posts */
.shelby-no-posts { text-align: center; padding: 3rem 1rem; background: #fff; border-radius: 14px; }
.shelby-no-posts-icon { font-size: 3rem; margin-bottom: 1rem; }
.shelby-no-posts h2 { font-size: 1.3rem; color: #160647; margin: 0 0 .5rem; }
.shelby-no-posts p { color: #6b7280; margin: 0 0 1.25rem; }

/* Pagination */
.shelby-pagination-wrap { margin-bottom: 2rem; }

/* Topic cloud */
.shelby-topic-cloud-section { background: #fff; border-radius: 14px; padding: 1.5rem; margin-top: 1.5rem; box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.shelby-topic-cloud-title { font-size: 1rem; font-weight: 700; color: #160647; margin: 0 0 1rem; }
.shelby-topic-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.shelby-topic-tag {
  background: #f3f0ff; color: #6857d0; border: 1px solid #ede9fe; border-radius: 20px;
  padding: .35rem .9rem; font-size: .8rem; font-weight: 600; text-decoration: none; transition: background .15s, color .15s;
}
.shelby-topic-tag:hover { background: #6857d0; color: #fff; border-color: #6857d0; }
.shelby-topic-tag small { font-size: .72rem; opacity: .7; }

/* Archive CTA section */
.shelby-archive-cta-section {
  background: linear-gradient(135deg,#160647,#2d1b69,#6857d0); padding: 2.75rem 0;
}
.shelby-archive-cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.shelby-archive-cta-text h2 { font-size: 1.6rem; font-weight: 800; color: #fff; margin: 0 0 .4rem; }
.shelby-archive-cta-text p  { font-size: .95rem; color: rgba(255,255,255,.8); margin: 0; }
.shelby-archive-cta-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; flex-shrink: 0; }
.shelby-archive-cta-prices  { color: rgba(255,255,255,.8); font-size: .9rem; font-weight: 600; text-decoration: underline; }
.shelby-archive-cta-prices:hover { color: #fff; }
@media (max-width: 768px) {
  .shelby-archive-cta-inner { flex-direction: column; text-align: center; }
  .shelby-archive-cta-text h2 { font-size: 1.3rem; }
  .shelby-archive-cta-actions { flex-direction: column; width: 100%; }
  .shelby-archive-cta-prices, .content_button.violet_button { width: 100%; text-align: center; display: block; }
}

/* ── MOBILE: final viewport guard ── */
@media (max-width: 768px) {
  input, select, textarea { font-size: 16px !important; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .shelby-mobile-cta { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .shelby-scroll-top { bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 769px) {
  input, select, textarea { font-size: inherit; }
}

/* Single layout responsive */
@media (max-width: 640px) {
  .shelby-blog-grid-v2 { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .shelby-blog-card-footer { flex-direction: column; align-items: flex-start; gap: .4rem; }
}
@media (max-width: 440px) {
  .shelby-blog-grid-v2 { grid-template-columns: 1fr; }
}

/* Header safety on very small screens */
@media (max-width: 360px) {
  header .width { padding-left: 10px; padding-right: 10px; }
  .order_button { min-width: 80px; padding-left: 10px !important; padding-right: 10px !important; font-size: 12px !important; }
  .shelby-post-hero, .shelby-archive-hero { padding-left: 0; padding-right: 0; }
}

/* Trust bar mobile: handled in main trust bar CSS block */

/* Guarantee section responsive */
@media (max-width: 480px) {
  .shelby-guarantee-header h2 { font-size: 1.5rem; }
  .shelby-guarantee-grid { grid-template-columns: 1fr; gap: .85rem; }
}

/* Section padding on tiny screens */
@media (max-width: 360px) {
  .shelby-services-section, .shelby-guarantee-section, .shelby-subjects-section,
  .shelby-faq-section, .shelby-pricing-section, .shelby-writers-section { padding-top: 2rem; padding-bottom: 2rem; }
}

/* bc-current truncation */
.shelby-bc-current {
  max-width: 220px; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; display: inline-block; vertical-align: middle;
}
@media (max-width: 480px) { .shelby-bc-current { max-width: 150px; } }

/* Safe content images */
.shelby-post-content img { border-radius: 8px; }

/* Sidebar disable sticky JS on mobile */
@media (max-width: 920px) {
  .shelby-sidebar-sticky { position: static !important; top: auto !important; width: auto !important; }
  .shelby-sidebar-v2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
  .shelby-sidebar-v2 > * { grid-column: span 1; }
}
@media (max-width: 480px) {
  .shelby-sidebar-v2 { grid-template-columns: 1fr; }
}

/* Calculator mobile full-width */
@media (max-width: 767px) {
  .home-calculator { border-radius: 16px !important; margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; max-width: 100% !important; }
  .main_calculator .width { padding-left: 12px; padding-right: 12px; }
  .main_calculator .slogan .h1, .main_calculator .slogan h1 { font-size: 1.55rem !important; line-height: 1.25; }
}



/* =============================================================
   SHELBY v5 — SERVICES & COUNTRY CPT STYLES
   Blends with Shelby's violet/purple design system
   Order/dashboard/calculator links: /order /dashboard /pricing
   ============================================================= */

/* ── SHARED SERVICE HERO ──────────────────────────────────────── */
.shelby-service-hero {
  background: linear-gradient(135deg, #4b3abf 0%, #6857d0 55%, #3d2ea8 100%);
  color: #fff;
  padding: 3.5rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
}
.shelby-service-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,.07) 0%, transparent 70%);
  pointer-events: none;
}

/* Country hero gradient variants */
.shelby-hero-us { background: linear-gradient(135deg, #0d1f3c 0%, #1a3560 55%, #6857d0 100%); }
.shelby-hero-uk { background: linear-gradient(135deg, #0d1547 0%, #1a2a7c 55%, #6857d0 100%); }
.shelby-hero-ca { background: linear-gradient(135deg, #6b0000 0%, #4b3abf 55%, #6857d0 100%); }
.shelby-hero-cn { background: linear-gradient(135deg, #7a0000 0%, #4b3abf 55%, #6857d0 100%); }
.shelby-hero-ae { background: linear-gradient(135deg, #006400 0%, #4b3abf 55%, #6857d0 100%); }
.shelby-hero-kw { background: linear-gradient(135deg, #006400 0%, #0d1f3c 55%, #6857d0 100%); }
.shelby-hero-au { background: linear-gradient(135deg, #003366 0%, #4b3abf 55%, #6857d0 100%); }

.shelby-service-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.shelby-service-breadcrumb {
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  margin-bottom: .75rem;
}
.shelby-service-breadcrumb a { color: #ffbf2d; font-weight: 600; text-decoration: none; }
.shelby-service-breadcrumb a:hover { color: #fff; }

.shelby-service-hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 1rem;
  color: #fff;
  max-width: 760px;
}
.shelby-hero-accent { color: #ffbf2d; }
.shelby-service-hero-sub {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 0 1.5rem;
}
.shelby-service-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}
.shelby-service-hero-cat {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .75rem;
  border-radius: 999px;
  text-decoration: none;
  margin-bottom: .6rem;
  border: 1px solid rgba(255,255,255,.25);
}
.shelby-service-rating {
  color: rgba(255,255,255,.8);
  font-size: .82rem;
}
.shelby-cta-order {
  box-shadow: 0 4px 14px rgba(255,191,45,.4) !important;
}

/* Country flag row */
.shelby-country-flag-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .6rem;
}
.shelby-country-flag { font-size: 1.8rem; }
.shelby-country-label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.75);
}

/* ── TRUST STRIP ────────────────────────────────────────────── */
.shelby-service-trust-strip {
  background: #f5f3ff;
  border-bottom: 1px solid #e0d9ff;
  padding: .85rem 1.5rem;
}
.shelby-trust-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: .82rem;
  color: #4b3abf;
  font-weight: 600;
}
.shelby-trust-strip-inner strong { color: #3d2ea8; }

/* ── SERVICES ARCHIVE WRAP ────────────────────────────────── */
.shelby-services-archive { background: #f8f7ff; }
.shelby-services-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

/* INTRO BOX */
.shelby-archive-intro-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-left: 5px solid #6857d0;
  border-radius: 12px;
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
}
.shelby-archive-intro-box h2 { font-size: 1.2rem; font-weight: 800; color: #160647; margin: 0 0 .75rem; }
.shelby-archive-intro-box p  { color: #475569; line-height: 1.8; margin: 0 0 .75rem; }
.shelby-archive-intro-box p:last-child { margin-bottom: 0; }

/* FILTER TAGS */
.shelby-service-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: 2rem;
}
.shelby-filter-tag {
  display: inline-block;
  padding: .4rem 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: all .2s;
}
.shelby-filter-tag:hover,
.shelby-filter-tag.active {
  background: #6857d0;
  border-color: #6857d0;
  color: #fff;
}

/* SERVICES GRID */
.shelby-services-section { margin-bottom: 3rem; }
.shelby-section-heading {
  font-size: 1.4rem;
  font-weight: 800;
  color: #160647;
  margin-bottom: 1.5rem;
}

.shelby-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

/* SERVICE CARD */
.shelby-service-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 2px 8px rgba(104,87,208,.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.shelby-service-card:hover {
  box-shadow: 0 8px 28px rgba(104,87,208,.15);
  border-color: #c4baf5;
  transform: translateY(-3px);
}
.shelby-service-card-icon {
  font-size: 1.8rem;
  margin-bottom: .75rem;
}
.shelby-service-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #160647;
  margin: 0 0 .6rem;
}
.shelby-service-card-title a {
  text-decoration: none;
  color: inherit;
}
.shelby-service-card-title a:hover { color: #6857d0; }
.shelby-service-card-excerpt {
  color: #64748b;
  font-size: .875rem;
  line-height: 1.7;
  flex: 1;
  margin: 0 0 1rem;
}
.shelby-service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1rem;
}
.shelby-service-tag {
  background: #f3f0ff;
  color: #6857d0;
  padding: .2rem .65rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #e0d9ff;
  transition: all .15s;
}
.shelby-service-tag:hover { background: #6857d0; color: #fff; }
.shelby-service-card-footer {
  display: flex;
  gap: .65rem;
  margin-top: auto;
}
.shelby-service-card-btn-view {
  flex: 1;
  background: #6857d0;
  color: #fff;
  padding: .6rem 0;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  font-size: .875rem;
  transition: background .2s;
}
.shelby-service-card-btn-view:hover { background: #5649b8; color: #fff; }
.shelby-service-card-btn-order {
  padding: .6rem .9rem;
  border: 2px solid #6857d0;
  border-radius: 8px;
  color: #6857d0;
  font-weight: 700;
  text-decoration: none;
  font-size: .875rem;
  white-space: nowrap;
  transition: all .2s;
}
.shelby-service-card-btn-order:hover { background: #6857d0; color: #fff; }

/* ── PRICING TABLE ─────────────────────────────────────────── */
.shelby-service-pricing-section { margin-bottom: 3rem; }
.shelby-pricing-table-wrap {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.shelby-pricing-table {}
.shelby-pt-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  background: #160647;
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  text-align: center;
}
.shelby-pt-cell {
  padding: .85rem .75rem;
}
.shelby-pt-level { text-align: left; padding-left: 1.25rem; }
.shelby-pt-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  border-top: 1px solid #f1f5f9;
  font-size: .875rem;
  text-align: center;
  align-items: center;
  background: #fff;
}
.shelby-pt-row:nth-child(even) { background: #f9f7ff; }
.shelby-pt-popular { background: #f3f0ff !important; }
.shelby-pt-row .shelby-pt-level { font-weight: 700; color: #160647; text-align: left; }
.shelby-pt-row .shelby-pt-cell { color: #64748b; }
.shelby-pt-row strong { color: #160647; }
.shelby-pt-row small { display: block; font-size: .7rem; color: #94a3b8; }
.shelby-pt-badge {
  background: #6857d0;
  color: #fff;
  font-size: .65rem;
  padding: .12rem .45rem;
  border-radius: 999px;
  margin-left: .4rem;
  font-weight: 700;
  vertical-align: middle;
}
.shelby-pricing-cta-bar {
  background: #6857d0;
  padding: 1rem 1.25rem;
  text-align: center;
}
.shelby-pricing-note {
  color: rgba(255,255,255,.8);
  font-size: .78rem;
  margin: .5rem 0 0;
}

/* ── HOW IT WORKS ─────────────────────────────────────────── */
.shelby-how-section { margin-bottom: 2.5rem; }
.shelby-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.shelby-step {
  display: flex;
  gap: 1rem;
  background: #fff;
  border-radius: 12px;
  padding: 1.4rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(104,87,208,.06);
  transition: all .2s;
}
.shelby-step:hover {
  border-color: #c4baf5;
  box-shadow: 0 8px 24px rgba(104,87,208,.12);
  transform: translateY(-3px);
}
.shelby-step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6857d0, #4b3abf);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800;
  flex-shrink: 0;
}
.shelby-step-body h3 { font-size: .95rem; font-weight: 700; color: #160647; margin: 0 0 .4rem; }
.shelby-step-body p  { font-size: .875rem; color: #64748b; margin: 0; line-height: 1.6; }

/* ── FAQ ──────────────────────────────────────────────────── */
.shelby-service-faq-section { margin-bottom: 2.5rem; }
.shelby-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
  background: #fff;
  transition: border-color .2s;
}
.shelby-faq-item:focus-within { border-color: #6857d0; }
.shelby-faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background .2s;
}
.shelby-faq-btn:hover { background: #f3f0ff; }
.shelby-faq-btn h3 { font-size: .95rem; font-weight: 700; color: #160647; margin: 0; }
.shelby-faq-icon {
  font-size: 1.4rem;
  color: #6857d0;
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform .2s;
  font-weight: 300;
}
.shelby-faq-btn[aria-expanded="true"] .shelby-faq-icon { transform: rotate(45deg); }
.shelby-faq-btn[aria-expanded="true"] { background: #f3f0ff; }
.shelby-faq-panel {
  padding: 0 1.4rem 1.1rem;
  border-top: 1px solid #f1f5f9;
}
.shelby-faq-panel p { font-size: .92rem; color: #475569; line-height: 1.7; margin: .9rem 0 0; }

/* ── RELATED SERVICES ──────────────────────────────────────── */
.shelby-related-services-section { margin-bottom: 2rem; }
.shelby-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 1rem;
}
.shelby-related-card {
  display: flex;
  align-items: center;
  gap: .65rem;
  background: #f9f7ff;
  border: 1px solid #e0d9ff;
  border-radius: 10px;
  padding: .9rem 1rem;
  text-decoration: none;
  color: #160647;
  font-weight: 600;
  font-size: .875rem;
  transition: all .2s;
}
.shelby-related-card:hover { background: #6857d0; color: #fff; border-color: #6857d0; }
.shelby-related-icon { font-size: 1.3rem; flex-shrink: 0; }

/* ── CTA BANNER ────────────────────────────────────────────── */
.shelby-cta-banner {
  background: linear-gradient(135deg, #160647, #6857d0);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  color: #fff;
}
.shelby-cta-banner h2 { font-size: 1.6rem; font-weight: 800; color: #fff; margin: 0 0 .6rem; }
.shelby-cta-banner p  { color: rgba(255,255,255,.85); margin: 0 0 1.25rem; max-width: 540px; margin-left:auto;margin-right:auto; }

/* ── SINGLE SERVICE LAYOUT ───────────────────────────────── */
.shelby-service-single-wrap { background: #f8f7ff; }
.shelby-single-service-layout {
  display: grid;
  grid-template-columns: 1fr 22rem;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}
.shelby-service-article { min-width: 0; }
.shelby-service-content h2 { font-size: 1.4rem; font-weight: 800; color: #160647; margin: 2rem 0 .9rem; }
.shelby-service-content h3 { font-size: 1.15rem; font-weight: 700; color: #160647; margin: 1.5rem 0 .6rem; }
.shelby-service-content p  { color: #475569; line-height: 1.8; margin-bottom: 1rem; }
.shelby-service-content ul { padding-left: 1.5rem; color: #475569; line-height: 1.8; }
.shelby-service-content li { margin-bottom: .4rem; }

/* Taxonomy badge row */
.shelby-service-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.shelby-badge-cat {
  background: #160647;
  color: #fff;
  padding: .2rem .7rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  text-decoration: none;
}
.shelby-badge-tag {
  background: #f1f5f9;
  color: #475569;
  padding: .2rem .65rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  text-decoration: none;
}

/* SIDEBAR */
.shelby-service-sidebar { align-self: flex-start; }
.shelby-sidebar-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.4rem;
  margin-bottom: 1.25rem;
}
.shelby-sidebar-box h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #160647;
  margin: 0 0 .9rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid #f3f0ff;
}
.shelby-sidebar-order { background: #f3f0ff; border-color: #c4baf5; }
.shelby-sidebar-order h3 { color: #4b3abf; border-color: #e0d9ff; }
.shelby-sidebar-order p  { font-size: .875rem; color: #5649b8; margin: 0 0 .75rem; }
.shelby-sidebar-discount { text-align: center; }
.shelby-sidebar-calc p  { font-size: .875rem; color: #64748b; margin: 0 0 .75rem; }
.shelby-sidebar-note { font-size: .73rem; color: #64748b; text-align: center; margin: .5rem 0 0; }

.shelby-guarantee-item {
  display: flex;
  gap: .65rem;
  margin-bottom: .8rem;
  align-items: flex-start;
}
.shelby-guarantee-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: .1rem; }
.shelby-guarantee-item strong { font-size: .875rem; color: #160647; display: block; }
.shelby-guarantee-item small  { font-size: .78rem; color: #64748b; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .shelby-single-service-layout { grid-template-columns: 1fr; }
  .shelby-service-sidebar { order: -1; }
}
@media (max-width: 768px) {
  .shelby-service-hero-title { font-size: 1.65rem; }
  .shelby-services-grid { grid-template-columns: 1fr; }
  .shelby-pt-header, .shelby-pt-row { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
  .shelby-steps-grid { grid-template-columns: 1fr; }
  .shelby-cta-banner { padding: 1.75rem 1.25rem; }
  .shelby-cta-banner h2 { font-size: 1.3rem; }
}


/* =================================================================
   SHELBY v6 — NEW PAGE TEMPLATES + UNIVERSITY BANNER + WIDGET FIXES
   Covers: page-how-to-order, page-writers, page-reviews,
           page-samples, page-contact, all legal pages,
           university graduates marquee, widget CSS consistency
   ================================================================= */


/* ── GLOBAL PAGE LAYOUT HELPERS ─────────────────────────────── */
.shelby-width      { max-width:1200px; margin:0 auto; padding:0 1.5rem; }
.shelby-section-title   { font-size:clamp(1.5rem,3vw,2.1rem); font-weight:900; color:#160647; line-height:1.2; }
.shelby-section-subtitle{ font-size:1.1rem; font-weight:700; color:#160647; }

/* Breadcrumb */
nav.shelby-bc { font-size:.82rem; color:rgba(255,255,255,.7); margin-bottom:.5rem; }
nav.shelby-bc a { color:rgba(255,255,255,.8); text-decoration:none; }
nav.shelby-bc a:hover { text-decoration:underline; }
nav.shelby-bc span[aria-hidden] { margin:0 .35rem; }
.shelby-bc-current { color:#fff; }

/* Hero badges */
.shelby-hero-badge {
  display:inline-flex; align-items:center; gap:.35rem;
  background:rgba(255,255,255,.15); border:1px solid rgba(255,255,255,.25);
  color:#fff; font-size:.78rem; font-weight:600;
  padding:.3rem .75rem; border-radius:999px;
  backdrop-filter:blur(4px);
}


/* ── HOW TO ORDER PAGE ──────────────────────────────────────── */
.shelby-hto-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:1.5rem;
}
.shelby-hto-card {
  background:#fff; border:1px solid #ede9fe;
  border-radius:16px; padding:1.75rem 1.5rem;
  position:relative; transition:box-shadow .2s, transform .2s;
}
.shelby-hto-card:hover { box-shadow:0 12px 30px rgba(104,87,208,.12); transform:translateY(-3px); }
.shelby-hto-num {
  position:absolute; top:-1px; left:-1px;
  background:#6857d0; color:#fff;
  width:36px; height:36px; border-radius:16px 0 12px 0;
  display:flex; align-items:center; justify-content:center;
  font-size:.85rem; font-weight:900;
}
.shelby-hto-icon { font-size:2rem; margin:1.5rem 0 .75rem; }
.shelby-hto-card h3 { font-size:1.05rem; font-weight:800; color:#160647; margin:0 0 .6rem; }
.shelby-hto-card p  { font-size:.88rem; color:#4b5563; line-height:1.65; margin:0 0 .8rem; }
.shelby-hto-checklist { list-style:none; padding:0; margin:0; }
.shelby-hto-checklist li { font-size:.84rem; color:#374151; padding:.25rem 0; display:flex; align-items:center; gap:.5rem; }
.shelby-hto-checklist li::before { content:'✓'; color:#6857d0; font-weight:700; flex-shrink:0; }

/* Tips grid (reused on HTO and other pages) */
.shelby-hto-tips-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:1.25rem;
}
.shelby-hto-tip {
  background:#fff; border-radius:12px; padding:1.4rem 1.25rem;
  border:1px solid #e9e5ff;
}
.shelby-hto-tip-icon { font-size:1.8rem; display:block; margin-bottom:.6rem; }
.shelby-hto-tip h4 { font-size:.97rem; font-weight:800; color:#160647; margin:0 0 .4rem; }
.shelby-hto-tip p  { font-size:.84rem; color:#4b5563; line-height:1.6; margin:0; }

/* HTO subjects grid */
.shelby-subjects-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:1.1rem;
}
.shelby-subject-card {
  background:#fff; border-radius:12px; padding:1.2rem 1.1rem;
  border:1px solid #e2e8f0; display:flex; flex-direction:column;
}
.shelby-subject-icon { font-size:1.6rem; margin-bottom:.5rem; }
.shelby-subject-card h4 { font-size:.93rem; font-weight:800; color:#160647; margin:0 0 .3rem; }
.shelby-subject-card p  { font-size:.82rem; color:#6b7280; line-height:1.55; margin:0; }

/* Calc section on HTO */
.shelby-hto-calc-wrap { background:#f5f3ff; }


/* ── WRITERS PAGE ────────────────────────────────────────────── */
.shelby-writers-vetting-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:1.4rem;
}
.shelby-vetting-step {
  background:#fff; border-radius:14px; padding:1.5rem 1.4rem;
  border:1px solid #ede9fe; position:relative;
}
.shelby-vetting-num {
  font-size:2.5rem; font-weight:900; color:#ede9fe;
  line-height:1; margin-bottom:.5rem;
}
.shelby-vetting-step h3 { font-size:1rem; font-weight:800; color:#160647; margin:0 0 .5rem; }
.shelby-vetting-step p  { font-size:.86rem; color:#4b5563; line-height:1.65; margin:0; }

/* Writer cards */
.shelby-writers-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
  gap:1.25rem;
}
.shelby-writer-card {
  background:#fff; border-radius:14px; padding:1.4rem;
  border:1px solid #e2e8f0; display:flex; gap:1rem;
  transition:box-shadow .2s; align-items:flex-start;
}
.shelby-writer-card:hover { box-shadow:0 8px 24px rgba(104,87,208,.1); }
.shelby-writer-avatar {
  width:52px; height:52px; border-radius:50%; flex-shrink:0;
  background:linear-gradient(135deg,#6857d0,#160647);
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-size:1.4rem; font-weight:900;
}
.shelby-writer-info { flex:1; min-width:0; }
.shelby-writer-name { font-size:1rem; font-weight:800; color:#160647; margin:0 0 .15rem; }
.shelby-writer-degree { font-size:.78rem; color:#6b7280; margin:0 0 .5rem; }
.shelby-writer-meta {
  display:flex; flex-wrap:wrap; gap:.4rem; margin-bottom:.6rem;
}
.shelby-writer-meta span { font-size:.76rem; color:#374151; white-space:nowrap; }
.shelby-writer-tags { display:flex; flex-wrap:wrap; gap:.3rem; margin-bottom:.5rem; }
.shelby-writer-tag {
  font-size:.71rem; background:#f3f0ff; color:#6857d0;
  padding:.15rem .5rem; border-radius:999px; font-weight:600;
}
.shelby-writer-region { font-size:.76rem; color:#9ca3af; margin:0; }

/* Subject tabs */
.shelby-tab-nav {
  display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:1.5rem;
}
.shelby-tab-btn {
  background:#f3f0ff; color:#4b5563; border:none; cursor:pointer;
  padding:.45rem 1rem; border-radius:999px; font-size:.83rem;
  font-weight:600; font-family:var(--shelby-font,inherit);
  transition:background .15s, color .15s;
}
.shelby-tab-btn.active,
.shelby-tab-btn:hover { background:#6857d0; color:#fff; }
.shelby-tab-panel { display:none; }
.shelby-tab-panel.active { display:block; }

.shelby-subj-grid {
  display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:1rem;
}
.shelby-subj-pill {
  background:#f8f7ff; color:#4b3abf; border:1px solid #ddd6fe;
  padding:.3rem .8rem; border-radius:999px; font-size:.8rem; font-weight:600;
}
.shelby-subj-note { font-size:.82rem; color:#6b7280; margin:0; }

/* Qualification table */
.shelby-qual-table-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; }
.shelby-qual-table {
  width:100%; border-collapse:collapse;
  font-size:.87rem; background:#fff;
  border-radius:12px; overflow:hidden;
  box-shadow:0 2px 12px rgba(0,0,0,.06);
}
.shelby-qual-table th {
  background:#160647; color:#fff; font-weight:700;
  padding:.85rem 1rem; text-align:left;
}
.shelby-qual-table td { padding:.75rem 1rem; border-bottom:1px solid #f3f4f6; }
.shelby-qual-table tr:last-child td { border-bottom:none; }
.shelby-qual-table tr:hover td { background:#fafaf8; }

.shelby-qual-badge {
  display:inline-block; padding:.2rem .65rem; border-radius:999px;
  font-size:.75rem; font-weight:700;
}
.shelby-qual-top { background:#dbeafe; color:#1e40af; }
.shelby-qual-adv { background:#ede9fe; color:#4b3abf; }
.shelby-qual-std { background:#f0fdf4; color:#166534; }


/* ── REVIEWS PAGE ───────────────────────────────────────────── */
.shelby-reviews-agg-grid {
  display:grid;
  grid-template-columns:auto 1fr 1fr;
  gap:2rem; align-items:start;
}
.shelby-agg-score-box { text-align:center; padding:1.5rem; }
.shelby-agg-number { font-size:4rem; font-weight:900; color:#160647; line-height:1; }
.shelby-tp-stars { color:#00b67a; font-size:1.5rem; margin:.25rem 0; }
.shelby-agg-label { font-size:.82rem; color:#6b7280; }
.shelby-agg-platform { font-size:.82rem; font-weight:700; color:#00b67a; margin-top:.25rem; }

.shelby-rating-bar-row { display:flex; align-items:center; gap:.75rem; margin-bottom:.5rem; }
.shelby-rbl { font-size:.82rem; color:#374151; min-width:50px; }
.shelby-rbar-track { flex:1; height:8px; background:#f3f4f6; border-radius:999px; overflow:hidden; }
.shelby-rbar-fill  { height:100%; background:#ffbf2d; border-radius:999px; transition:width .6s; }
.shelby-rbv { font-size:.8rem; color:#6b7280; min-width:34px; text-align:right; }

.shelby-cat-rating { display:flex; align-items:center; gap:.6rem; margin-bottom:.55rem; }
.shelby-cat-rating span { font-size:.8rem; color:#374151; min-width:120px; }
.shelby-cat-stars { flex:1; height:6px; background:#f3f4f6; border-radius:999px; overflow:hidden; }
.shelby-cat-bar { height:100%; background:#6857d0; border-radius:999px; }
.shelby-cat-rating strong { font-size:.82rem; font-weight:700; color:#160647; min-width:28px; text-align:right; }

/* Filter buttons */
.shelby-reviews-filter { display:flex; flex-wrap:wrap; gap:.5rem; justify-content:center; }
.shelby-filter-btn {
  background:#f3f4f6; color:#374151; border:none; cursor:pointer;
  padding:.4rem .9rem; border-radius:999px; font-size:.82rem;
  font-family:var(--shelby-font,inherit); font-weight:600;
  transition:background .15s, color .15s;
}
.shelby-filter-btn.active, .shelby-filter-btn:hover { background:#6857d0; color:#fff; }

/* Reviews masonry-style grid */
.shelby-reviews-masonry {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:1.25rem; align-items:start;
}
.shelby-review-card {
  background:#fff; border-radius:14px; padding:1.4rem;
  border:1px solid #e2e8f0;
  transition:box-shadow .2s;
}
.shelby-review-card:hover { box-shadow:0 8px 24px rgba(104,87,208,.1); }
.shelby-review-header { display:flex; align-items:center; gap:.75rem; margin-bottom:.8rem; }
.shelby-review-avatar {
  width:42px; height:42px; border-radius:50%; flex-shrink:0;
  background:linear-gradient(135deg,#6857d0,#4c3ba8);
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-size:1.1rem; font-weight:800;
}
.shelby-review-name { font-size:.9rem; font-weight:700; color:#160647; }
.shelby-review-disc { font-size:.76rem; color:#6b7280; }
.shelby-review-stars { margin-left:auto; color:#ffbf2d; font-size:1rem; white-space:nowrap; flex-shrink:0; }
.shelby-review-body { font-size:.86rem; color:#374151; line-height:1.65; margin:0 0 .75rem; }
.shelby-review-foot { display:flex; justify-content:space-between; font-size:.74rem; color:#9ca3af; }

/* Platforms */
.shelby-platforms-row {
  display:flex; flex-wrap:wrap; gap:1.5rem; justify-content:center;
}
.shelby-platform-box {
  background:#fff; border:1px solid #e2e8f0; border-radius:14px;
  padding:1.5rem 2rem; text-align:center; min-width:180px;
}
.shelby-platform-logo { font-size:1.1rem; font-weight:900; color:#160647; margin-bottom:.4rem; }
.shelby-platform-link { display:block; font-size:.82rem; color:#6857d0; text-decoration:none; margin-top:.5rem; font-weight:600; }
.shelby-platform-link:hover { text-decoration:underline; }


/* ── SAMPLES PAGE ───────────────────────────────────────────── */
.shelby-samples-intro-grid {
  display:grid; grid-template-columns:1fr auto; gap:2rem; align-items:start;
}
.shelby-samples-stats-mini { display:flex; flex-wrap:wrap; gap:1rem; align-items:center; }
.shelby-ssm {
  text-align:center; padding:.8rem 1.2rem;
  background:#f3f0ff; border-radius:10px; min-width:90px;
}
.shelby-ssm strong { display:block; font-size:1.4rem; font-weight:900; color:#6857d0; }
.shelby-ssm span   { font-size:.75rem; color:#6b7280; display:block; margin-top:.1rem; }

/* Filter bar */
.shelby-samples-filter-bar { position:sticky; top:var(--shelby-header-h,60px); z-index:50; }
.shelby-samples-filters {
  display:flex; flex-wrap:wrap; gap:.75rem; align-items:flex-end;
}
.shelby-filter-group { display:flex; flex-direction:column; gap:.25rem; }
.shelby-filter-group label { font-size:.75rem; font-weight:700; color:#374151; }
.shelby-filter-select, .shelby-filter-input {
  border:1px solid #d1d5db; border-radius:8px;
  padding:.4rem .75rem; font-size:.85rem;
  font-family:var(--shelby-font,inherit);
  background:#fff; outline:none;
  transition:border-color .15s;
}
.shelby-filter-select:focus, .shelby-filter-input:focus { border-color:#6857d0; }
.shelby-filter-reset {
  background:none; border:1px solid #d1d5db; border-radius:8px;
  padding:.4rem .85rem; font-size:.82rem; cursor:pointer;
  font-family:var(--shelby-font,inherit); color:#6b7280;
  transition:border-color .15s, color .15s; align-self:flex-end;
}
.shelby-filter-reset:hover { border-color:#6857d0; color:#6857d0; }

.shelby-samples-count { font-size:.85rem; color:#6b7280; font-weight:600; }
.shelby-samples-noresult { text-align:center; padding:3rem; color:#6b7280; width:100%; grid-column:1/-1; }
.shelby-samples-noresult a { color:#6857d0; }

/* Sample cards */
.shelby-samples-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:1.25rem;
}
.shelby-sample-card {
  background:#fff; border-radius:14px; padding:1.4rem;
  border:1px solid #e2e8f0; display:flex; flex-direction:column;
  transition:box-shadow .2s, border-color .2s;
}
.shelby-sample-card:hover { box-shadow:0 8px 24px rgba(104,87,208,.1); border-color:#c4b5fd; }
.shelby-sc-header { display:flex; gap:.4rem; flex-wrap:wrap; margin-bottom:.75rem; }
.shelby-sc-type {
  background:#ede9fe; color:#4b3abf; font-size:.72rem;
  font-weight:700; padding:.2rem .6rem; border-radius:999px;
}
.shelby-sc-level {
  background:#f0fdf4; color:#166534; font-size:.72rem;
  font-weight:700; padding:.2rem .6rem; border-radius:999px;
}
.shelby-sc-title { font-size:.93rem; font-weight:700; color:#160647; margin:0 0 .75rem; flex:1; line-height:1.4; }
.shelby-sc-meta { display:flex; flex-wrap:wrap; gap:.5rem; font-size:.77rem; color:#6b7280; margin-bottom:.9rem; }
.shelby-sc-footer { display:flex; gap:.6rem; margin-top:auto; flex-wrap:wrap; }
.shelby-sc-btn-primary {
  background:#6857d0; color:#fff; text-decoration:none;
  padding:.5rem .9rem; border-radius:8px; font-size:.82rem; font-weight:700;
  transition:background .15s;
}
.shelby-sc-btn-primary:hover { background:#4c3ba8; color:#fff; }
.shelby-sc-btn-secondary {
  background:#f3f4f6; color:#374151; text-decoration:none;
  padding:.5rem .9rem; border-radius:8px; font-size:.82rem; font-weight:600;
  transition:background .15s;
}
.shelby-sc-btn-secondary:hover { background:#e5e7eb; }

/* Samples category cards */
.shelby-samples-cats {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:1rem;
}
.shelby-samples-cat-card {
  background:#fff; border-radius:12px; padding:1.25rem;
  border:1px solid #e2e8f0; text-decoration:none; display:block;
  transition:box-shadow .2s, border-color .2s;
}
.shelby-samples-cat-card:hover { box-shadow:0 6px 20px rgba(104,87,208,.1); border-color:#a5b4fc; }
.shelby-scc-icon { font-size:1.6rem; display:block; margin-bottom:.5rem; }
.shelby-samples-cat-card h4 { font-size:.9rem; font-weight:800; color:#160647; margin:0 0 .25rem; }
.shelby-samples-cat-card p  { font-size:.78rem; color:#6b7280; margin:0; }


/* ── CONTACT PAGE ───────────────────────────────────────────── */
.shelby-contact-grid {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:1.5rem;
}
.shelby-contact-card {
  background:#fff; border-radius:16px; padding:2rem 1.75rem;
  border:1px solid #e2e8f0; transition:box-shadow .2s;
}
.shelby-contact-card:hover { box-shadow:0 10px 28px rgba(104,87,208,.1); }
.shelby-contact-primary { border-color:#c4b5fd; background:#faf8ff; }
.shelby-contact-icon { font-size:2.5rem; margin-bottom:.75rem; }
.shelby-contact-card h3 { font-size:1.1rem; font-weight:800; color:#160647; margin:0 0 .35rem; }
.shelby-contact-badge {
  display:inline-block; background:#dcfce7; color:#166534;
  font-size:.75rem; font-weight:700; padding:.2rem .65rem;
  border-radius:999px; margin-bottom:.6rem;
}
.shelby-contact-card p { font-size:.87rem; color:#4b5563; line-height:1.65; margin:0 0 .75rem; }
.shelby-contact-note { font-size:.78rem; color:#9ca3af !important; font-style:italic; margin-top:.5rem !important; }


/* ── LEGAL PAGES (Privacy, Terms, etc.) ─────────────────────── */
.shelby-legal-wrap { display:grid; grid-template-columns:220px 1fr; gap:3rem; align-items:start; }

.shelby-legal-toc {
  position:sticky; top:calc(var(--shelby-offset,96px) + 1.5rem);
  background:#f8f7ff; border:1px solid #ede9fe;
  border-radius:12px; padding:1.25rem 1.4rem;
}
.shelby-legal-toc h4 { font-size:.85rem; font-weight:800; color:#160647; margin:0 0 .75rem; text-transform:uppercase; letter-spacing:.05em; }
.shelby-legal-toc ol { padding-left:1.1rem; margin:0; }
.shelby-legal-toc li { margin-bottom:.35rem; }
.shelby-legal-toc a  { font-size:.82rem; color:#6857d0; text-decoration:none; }
.shelby-legal-toc a:hover { text-decoration:underline; }

.shelby-legal-body h2 { font-size:1.2rem; font-weight:800; color:#160647; margin:2rem 0 .6rem; padding-top:.5rem; border-top:2px solid #f3f0ff; }
.shelby-legal-body h2:first-child { margin-top:0; border-top:none; }
.shelby-legal-body h3 { font-size:1rem; font-weight:700; color:#160647; margin:1.25rem 0 .4rem; }
.shelby-legal-body p  { font-size:.9rem; color:#374151; line-height:1.75; margin:0 0 .9rem; }
.shelby-legal-body ul, .shelby-legal-body ol { font-size:.9rem; color:#374151; line-height:1.7; padding-left:1.4rem; margin:0 0 .9rem; }
.shelby-legal-body li { margin-bottom:.35rem; }
.shelby-legal-body a  { color:#6857d0; }
.shelby-legal-intro { font-size:1rem; color:#4b5563; line-height:1.75; border-left:4px solid #6857d0; padding-left:1rem; margin-bottom:1.5rem; }

/* Refund / Guarantee cards */
.shelby-guarantee-header { margin-bottom:2rem; }
.shelby-guarantee-shield { font-size:3.5rem; display:block; margin-bottom:.75rem; }
.shelby-guarantee-header h2 { font-size:clamp(1.4rem,3vw,2rem); font-weight:900; color:#160647; margin:0 0 .6rem; }
.shelby-guarantee-header p  { font-size:.97rem; color:#4b5563; max-width:680px; margin:0 auto; }
.shelby-guarantee-grid {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:1.25rem;
  margin-top:2rem;
}
.shelby-guarantee-card {
  background:#fff; border-radius:14px; padding:1.5rem 1.4rem;
  border:1px solid #e2e8f0; transition:box-shadow .2s;
}
.shelby-guarantee-card:hover { box-shadow:0 8px 22px rgba(104,87,208,.1); }
.shelby-guarantee-card .shelby-guarantee-icon { font-size:2rem; display:block; margin-bottom:.6rem; }
.shelby-guarantee-card h3 { font-size:.97rem; font-weight:800; color:#160647; margin:0 0 .4rem; }
.shelby-guarantee-card p  { font-size:.86rem; color:#4b5563; line-height:1.65; margin:0; }


/* ── FAQ COMPONENT (global) ─────────────────────────────────── */
.shelby-faq-list { max-width:780px; margin:0 auto; }
.shelby-faq-item { border-bottom:1px solid #e5e7eb; }
.shelby-faq-btn {
  width:100%; text-align:left; background:none; border:none;
  padding:1rem .25rem; font-size:.95rem; font-weight:700;
  color:#160647; cursor:pointer; display:flex; justify-content:space-between;
  align-items:center; gap:1rem;
  font-family:var(--shelby-font,inherit);
  transition:color .15s;
}
.shelby-faq-btn:hover { color:#6857d0; }
.shelby-faq-btn[aria-expanded="true"] { color:#6857d0; }
.shelby-faq-arrow { font-size:1.3rem; font-weight:400; flex-shrink:0; transition:transform .2s; }
.shelby-faq-btn[aria-expanded="true"] .shelby-faq-arrow { transform:rotate(45deg); }
.shelby-faq-panel { padding:.25rem .25rem 1rem; }
.shelby-faq-panel p { font-size:.88rem; color:#4b5563; line-height:1.7; margin:0; }


/* ── UNIVERSITY GRADUATES MARQUEE BANNER ────────────────────── */
.shelby-unis-banner {
  background:#fff;
  border-top:1px solid #f3f0ff;
  border-bottom:1px solid #f3f0ff;
  padding:.9rem 0;
  overflow:hidden;
  position:relative;
}
.shelby-unis-banner::before,
.shelby-unis-banner::after {
  content:''; position:absolute; top:0; bottom:0; width:80px; z-index:2;
  pointer-events:none;
}
.shelby-unis-banner::before { left:0;  background:linear-gradient(to right, #fff, transparent); }
.shelby-unis-banner::after  { right:0; background:linear-gradient(to left,  #fff, transparent); }

.shelby-unis-track {
  display:flex; gap:0;
  width:max-content;
  animation:shelbyMarquee 40s linear infinite;
}
.shelby-unis-track:hover { animation-play-state:paused; }
@keyframes shelbyMarquee {
  0%   { transform:translateX(0); }
  100% { transform:translateX(-50%); }
}
.shelby-uni-item {
  display:flex; align-items:center; gap:.6rem;
  padding:0 1.4rem; white-space:nowrap;
  font-size:.8rem; color:#4b5563; font-weight:600;
  border-right:1px solid #e9e5ff;
}
.shelby-uni-item:last-child { border-right:none; }
.shelby-uni-flag { font-size:1.1rem; }
.shelby-unis-label {
  text-align:center; font-size:.72rem; color:#9ca3af;
  padding:.3rem 0 0; letter-spacing:.04em; font-weight:600;
  text-transform:uppercase;
}

/* Graduates stats strip (above the marquee) */
.shelby-graduates-strip {
  background:linear-gradient(135deg,#160647,#4c3ba8);
  color:#fff; text-align:center;
  padding:.6rem 1rem; font-size:.82rem;
}
.shelby-graduates-strip strong { color:#ffbf2d; }


/* ── WIDGET CSS CONSISTENCY FIXES ────────────────────────────── */
/* Ensure HKGroteskPro is used throughout all widgets */
.how_it_works,
.why_choose_us,
.samples_block,
.testimonials_block,
.action_block,
.safetiness_block,
.shelby-live-stats,
.shelby-stats-section {
  font-family:var(--shelby-font,'HKGroteskPro',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif);
}

/* How It Works widget — paragraph sizing fix */
.how_it_works .item p {
  font-size:.92rem;
  line-height:1.7;
  color:rgba(255,255,255,.8);
}
.how_it_works .item h3 { font-size:1.05rem; font-weight:700; }

/* Why-Us widget — consistent with .shelby-why-card */
.why_choose_us .shelby-why-card { font-family:inherit; }
.why_choose_us .shelby-why-card h3 { font-size:1rem; }
.why_choose_us .shelby-why-card p  { font-size:.88rem; }

/* Testimonials widget — fix rating font alignment */
.testimonials_block .rating_count { font-size:1.1rem; font-weight:800; }
.testimonials_block .testimonial_slide p { font-size:.9rem; line-height:1.7; }
.testimonials_block .name { font-size:.95rem; }

/* Samples widget — consistent card styling */
.samples_block .sample h3 { font-size:.95rem; }
.samples_block .sample p  { font-size:.86rem; }
.samples_block .sample_feature { font-size:.78rem; font-weight:600; }

/* CTA widgets — text size consistency */
.action_block h3 { font-size:clamp(1.3rem,3vw,1.8rem); line-height:1.3; }
.action_block p  { font-size:.93rem; line-height:1.7; }

/* Calculator widget CTA — fix button width on mobile */
.uvocalc--submit__container .content_button { width:100%; max-width:100%; box-sizing:border-box; }


/* ── SVG xlink:href → href COMPATIBILITY ────────────────────── */
/* Modern browsers handle both; this note is for the PHP fix */
/* Note: Replace xlink:href with href in header.php SVG <use> elements */


/* ── PADDING UTILITIES ──────────────────────────────────────── */
.pad60-tb  { padding-top:3.75rem; padding-bottom:3.75rem; }
.pad50-tb  { padding-top:3.125rem; padding-bottom:3.125rem; }
.pad40-tb  { padding-top:2.5rem; padding-bottom:2.5rem; }
.pad30-tb  { padding-top:1.875rem; padding-bottom:1.875rem; }
.mar30-b   { margin-bottom:1.875rem; }
.mar40-t   { margin-top:2.5rem; }
.mar30-t   { margin-top:1.875rem; }
.mar20-b   { margin-bottom:1.25rem; }
.mar20-t   { margin-top:1.25rem; }
.mar10-b   { margin-bottom:.625rem; }
.mar10-t   { margin-top:.625rem; }
.mar10-r-tablet { margin-right:.625rem; }


/* ── RESPONSIVE: ALL NEW PAGES ──────────────────────────────── */
@media(max-width:1024px){
  .shelby-legal-wrap  { grid-template-columns:1fr; }
  .shelby-legal-toc   { position:static; }
  .shelby-reviews-agg-grid { grid-template-columns:1fr 1fr; }
}
@media(max-width:768px){
  .shelby-hto-grid            { grid-template-columns:1fr; }
  .shelby-hto-tips-grid       { grid-template-columns:1fr 1fr; }
  .shelby-writers-vetting-grid{ grid-template-columns:1fr; }
  .shelby-writers-grid        { grid-template-columns:1fr; }
  .shelby-reviews-agg-grid    { grid-template-columns:1fr; }
  .shelby-samples-intro-grid  { grid-template-columns:1fr; }
  .shelby-contact-grid        { grid-template-columns:1fr; }
  .shelby-qual-table th,
  .shelby-qual-table td       { padding:.6rem .75rem; font-size:.8rem; }
}
@media(max-width:580px){
  .shelby-hto-tips-grid       { grid-template-columns:1fr; }
  .shelby-subjects-grid       { grid-template-columns:1fr; }
  .shelby-samples-cats        { grid-template-columns:1fr 1fr; }
  .shelby-guarantee-grid      { grid-template-columns:1fr; }
  .shelby-platforms-row       { flex-direction:column; align-items:center; }
  .shelby-samples-filters     { flex-direction:column; }
  .shelby-filter-group        { width:100%; }
  .shelby-filter-select,
  .shelby-filter-input        { width:100%; }
  .shelby-filter-reset        { width:100%; }
}
