/*
 * Theme Name: Aqutor theme
 * account styles
 * Version: 1.0.2
 * quote article
*/

.quote_wrapper__page {
    padding: 0 130px;
}

.quote_wrapper__page .entry-header {
    padding: 25px 0 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column wrap;
    box-sizing: inherit;
    border-bottom: 1px solid #cbdae8;
    text-align: center;
    animation: heading 0.8s 1 linear;
}

.quote_wrapper__page h1.entry-title {
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 125%;
    letter-spacing: -.04em;
    background: linear-gradient(109.24deg, #24d2aa 0%, #448aff 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.quote_content__wrapper {
    width: 75%;
    display: grid;
    margin: 0;
    padding: 0;
}

.quote_content {
    display: flex;
    margin-top: 36px;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 70px;
    animation: content 0.7s 1 ease-in;
}

.quote-card {
    display: block;
    margin: 30px 0;
    padding: 16px 32px;
    border-radius: 8px;
    background-image: url('../img/paper.webp');
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-box-shadow: 0px 4px 8px 0px rgba(41, 41, 41, 0.2);
    -moz-box-shadow: 0px 4px 8px 0px rgba(41, 41, 41, 0.2);
    box-shadow: 0px 4px 8px 0px rgba(41, 41, 41, 0.2);
}

/*
.quote-card {
    display: block;
    margin: 30px 0;
    padding: 32px;
    background: #FFFFFF;
    border-radius: 8px;
    background: repeating-linear-gradient(45deg, #fff0 0 1px, aliceblue 0 3px, #fff0 0 4px), repeating-linear-gradient(-45deg, #fff 0 1px, aliceblue 0 3px, #fff0 0 4px);
    -webkit-box-shadow: 0px 4px 8px 0px rgba(41, 41, 41, 0.2);
    -moz-box-shadow: 0px 4px 8px 0px rgba(41, 41, 41, 0.2);
    box-shadow: 0px 4px 8px 0px rgba(41, 41, 41, 0.2);
}
*/

.quote-card .entry-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.quote-block {
    width: 100%;
}

.expert-image {
    display: block;
}

.expert-image figure {
    width: 128px;
    border-radius: 50%;
    box-shadow: 0px 0px 12px 4px rgb(41 41 41 / 40%);
    overflow: hidden;
}

h2.quote-title {
    display: flex;
    margin: 0;
    justify-content: center;
    font-size: initial;
    text-align: initial;
    font-weight: initial;
    line-height: initial;
}

h2.quote-title a {
    padding: 4px 10px;
    margin-bottom: 0;
    font-size: 24px;
    color: #23292e;
    font-family: 'Montserrat-Medium';
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: 3px;
    background-image: linear-gradient(to top, #263238 0, #263238), linear-gradient(to top, rgba(0, 0, 0, .1) 0, rgba(0, 0, 0, .1) 0) !important;
    background-position: left bottom, left bottom;
    background-repeat: no-repeat, no-repeat;
    background-size: 0 1px, 100% 1px;
    transition: none 300ms ease-in-out;
    transition-property: background-size, color;
    z-index: 1;
}

h2.quote-title a:hover {
    background-size: 100% 1px, 100% 1px;
}

blockquote.quote-content {
    position: relative;
    padding: 10px 10px 0;
    margin: 0;
    color: #23292e;
    border-radius: 6px;
}

blockquote.quote-content p:first-letter {
    font-size: 28px;
    font-weight: bold;
}

cite.author-name a {
    display: block;
    text-align: right;
    font-size: 28px;
    font-weight: 600;
    font-style: normal;
}

/*
blockquote.quote-content {
    position: relative;
    padding: 32px 40px;
    margin: 0;
    color: #23292e;
    background: conic-gradient(from 180deg at 100% calc(100% - 5px), #cbdae8 0 25%, #fff0 0 100%), conic-gradient(from 180deg at 5px 50%, #cbdae8 0 25%, #fff0 0 100%), conic-gradient(from 0deg at calc(100% - 5px) 50%, #cbdae8 0 25%, #fff0 0 100%), conic-gradient(from 0deg at 0rem 5px, #cbdae8 0 25%, #fff0 0 100%);
    
    background: conic-gradient(from 180deg at 100% calc(100% - 5px), #23292e 0 25%, #fff0 0 100%), conic-gradient(from 180deg at 5px 50%, #23292e 0 25%, #fff0 0 100%), conic-gradient(from 0deg at calc(100% - 5px) 50%, #23292e 0 25%, #fff0 0 100%), conic-gradient(from 0deg at 0rem 5px, #23292e 0 25%, #fff0 0 100%);
    
    border-radius: 6px;
}
*/



/* виджет */
.sidebar__heading {
    display: block;
    margin: 30px 0 20px;
    font-size: 24px;
    font-weight: 600;
}

.expert-card {
    margin-bottom: 12px;
    padding-bottom: 12px;
    align-items: center;
    border-bottom: 1px solid #cbdae8;
}

.expert-card-block {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    transition: all .5s;
}

img.expert-photo {
    max-width: 56px;
    border-radius: 50%;
}

.expert-name a {
    padding: 0 0 3px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Roboto-Light';
    background-image: linear-gradient(to top, #448AFF 0, #448AFF), linear-gradient(to top, rgba(0, 0, 0, .1) 0, rgba(0, 0, 0, .1) 0) !important;
    background-position: left bottom, left bottom;
    background-repeat: no-repeat, no-repeat;
    background-size: 0 1px, 100% 1px;
    transition: none 300ms ease-in-out;
    transition-property: background-size, color;
}

.expert-card:hover {
    border-bottom: 1px solid #b3c9dd;
}

.expert-card:hover .expert-card-block {
    transform: translateX(-20px);
    transition: all 1s;
}

.expert-name a:hover {
    background-size: 100% 1px, 100% 1px;
}

/*
 * single quote
*/
.single-quote #main {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px 30px;
}

.single-quote nav.navigation.post-navigation {
    padding: 0;
}

.single-quote .quote-post {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.quote-post .post-title-wrapper, .archive.tax-expert .post-title-wrapper {
    width: 100%;
    display: block;
    margin-top: 30px;
    padding: 30px 0 0;
    border-top: 1px solid #E2F1F8;
    animation: title 0.8s 1 linear;
}

.post-share {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.post-share .material-symbols-outlined {
    font-size: 16px;
    color: #90A4AE;
}

@keyframes title {
    from {
        opacity: 0.1;
        transform: translateY(-100px);
        animation-timing-function: ease-in;
    }
    /* 25% {top:-75px;animation-timing-function: ease-in;} */
    50% {
        opacity: 0.5;
        transform: translateY(-50px);
        animation-timing-function: ease-out;
    }
    /* 75% {top:-25px;animation-timing-function: ease-in;} */
    to {
        opacity: 1;
        transform: translateY(0);
        animation-timing-function: ease-out;
    }
}

.quote-post .entry-content {
    display: flex;
    margin: 48px 0;
    padding: 26px 32px;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    border-radius: 8px;
    background-image: url(../img/paper.webp);
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-box-shadow: 0px 4px 8px 0px rgba(41, 41, 41, 0.2);
    -moz-box-shadow: 0px 4px 8px 0px rgba(41, 41, 41, 0.2);
    box-shadow: 0px 4px 8px 0px rgba(41, 41, 41, 0.2);
}

/*
 * archive tax expert
*/
body.archive.tax-expert #main {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px 30px;
}

body.archive.tax-expert .blog-listing {
    padding: 0!important;
}

.blog-listing.expert__listing>.entry-header {
    padding: 0!important;
    margin: 0;
    border-bottom: none!important;
}

.tax-expert .entry-title {
    display: inline-block;
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 125%;
    letter-spacing: -.04em;
    background: linear-gradient(109.24deg, #24d2aa 0%, #448aff 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tax-expert .archive-description p {
    font-size: 24px;
}

section.expert-quotes {
    display: flex;
    flex-direction: column;
}

.expert-quotes>h2 {
    display: inline-block;
    margin: 30px auto;
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 125%;
    letter-spacing: 1px;
    background: linear-gradient(109.24deg, #24d2aa 0%, #448aff 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

section.expert-info {
    display: flex;
    margin-bottom: 20px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

h2.expert-title {
    font-size: 64px;
    letter-spacing: 2px;
    line-height: 100%;
}

.biography-content p {
    margin-bottom: 12px;
}

.biography-content ul {
    padding: 0 0 0 20px;
}

.biography-content ul li {
    margin-bottom: 6px;
}

.biography-content h3, .biography-content h4 {
    margin-bottom: 12px;
}
.quote_content .nav-links {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

@media(max-width: 1200px) {
    cite.author-name a {
        font-size: 24px;
    }
    article.quote-card .entry-content p {
        font-size: 18px;
    }
    blockquote.quote-content p:first-letter {
        font-size: 24px;
    }
    .quote_content {
        gap: 30px;
    }
}
@media(max-width: 1070px) {
    .quote_content {
        flex-direction: column-reverse;
        overflow: hidden;
    }
    .quote_content__wrapper {
        width: 100%;
    }
    .quote_content .large-3.right-sidebar-wrapper {
        width: 100%;
        max-width: 100%;
    }
    .experts-grid {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    .expert-card {
        width: calc(100% / 3 - 7px);
        border: none;
    }
    .expert-card:hover {
        border: none;
    }
    .expert-card:hover .expert-card-block {
        transform: translateX(0);
        transition: all 1s;
    }
    .quote_wrapper__page {
        padding: 0px 60px;
        overflow: hidden;
    }
    .sidebar__heading {
        display: block;
        margin: 10px 0 30px;
        text-align: center;
    }
    h2.expert-title {
        font-size: 40px;
    }
}
@media(max-width: 769px) {
    .quote_content .expert-image figure {
        width: 70px;
    }
    blockquote.quote-content {
        padding: 0;
    }
    cite.author-name a {
        font-size: 22px;
    }
    article.quote-card .entry-content p {
        font-size: 16px;
        line-height: 1.1;
    }
    .quote_wrapper__page h1.entry-title {
        font-size: 35px;
        line-height: 98%;
    }
    .quote_wrapper__page {
        padding: 0px 15px;
    }
}
@media(max-width: 550px) {
    .quote-card .entry-content {
        flex-direction: column;
    }
    .quote-card .expert-image {
        margin-top: -50px;
    }
    .expert-image figure {
        width: 90px;
    }
    .quote-block {
        text-align: center;
    }
    h2.quote-title a {
        letter-spacing: 1px;
    }
    .quote-card .entry-content, .quote-post .entry-content  {
        flex-direction: column;
        gap: 10px;
    }
    .quote-card {
        margin: 62px 0;
    }
    cite.author-name a {
        font-size: 20px;
    }
    blockquote.quote-content p:first-letter {
        font-size: 22px;
    }
    .expert-card {
        width: calc(100% / 2 - 5px);
    }
    .expert-card-block {
        gap: 7px;
    }
    .quote_content .widget-wrapper {
        padding: 0;
    }
    .tax-expert .entry-title {
        font-size: 32px;
        line-height: 105%;
        margin-bottom: 20px;
    }
    .archive.tax-expert .post-title-wrapper {
        margin-top: 0;
    }
    section.expert-info {
        gap: 15px;
        justify-content: center;
    }
    h2.expert-title {
        font-size: 32px;
        text-align: center;
    }

    .expert-quotes>h2 {
        font-size: 32px;
        line-height: 112%;
        margin-bottom: 0;
    }
    .quote-post .post-title-wrapper {
        margin-top: 0;
    }
}