/**
 * Внутренние страницы
 * Luxury editorial typography
 *
 * @package Magic_Jewelry
 */


/* =========================================================
   PAGE
   ========================================================= */

.single-faq-page {
    width: 100%;
    background: #ffffff;
    font-family: inherit;
}


/* =========================================================
   ARTICLE
   ========================================================= */

.single-faq {
    width: 100%;
    padding: 92px 0 105px;
}


.single-faq-inner {
    width: min(920px, calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.single-faq-header {
    position: relative;
    margin-bottom: 52px;
    padding-bottom: 30px;
}


.single-faq-header::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            #c9a23a 0,
            #c9a23a 72px,
            rgba(92, 26, 79, 0.10) 72px,
            rgba(92, 26, 79, 0.10) 100%
        );
}


.single-faq-title {
    max-width: 850px;
    margin: 0;

    font-family: inherit;
    font-size: 46px;
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -0.045em;

    color: #171717;

    text-shadow:
        0 2px 16px rgba(92, 26, 79, 0.055);
}


/* =========================================================
   CONTENT
   ========================================================= */

.single-faq-content {
    font-family: inherit;

    font-size: 17px;
    line-height: 1.82;
    font-weight: 400;

    color: #3c3a3b;
}


.single-faq-content > *:first-child {
    margin-top: 0;
}


.single-faq-content > *:last-child {
    margin-bottom: 0;
}


.single-faq-content p {
    margin: 0 0 1.45em;
}


.single-faq-content strong,
.single-faq-content b {
    font-weight: 600;
    color: #242124;
}


/* =========================================================
   HEADINGS
   ========================================================= */

.single-faq-content h2,
.single-faq-content h3,
.single-faq-content h4 {
    font-family: inherit;
    color: #171717;
    letter-spacing: -0.03em;
}


/* H2 */

.single-faq-content h2 {
    position: relative;

    margin: 2.4em 0 0.85em;
    padding-bottom: 15px;

    font-size: 30px;
    line-height: 1.2;
    font-weight: 600;
}


.single-faq-content h2::after {
    content: "";

    display: block;

    width: 38px;
    height: 2px;

    margin-top: 13px;

    background: #c9a23a;
}


/* H3 */

.single-faq-content h3 {
    margin: 2em 0 0.7em;

    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
}


/* Небольшой золотой штрих */

.single-faq-content h3::before {
    content: "";

    display: inline-block;

    width: 20px;
    height: 1px;

    margin:
        0 12px
        5px 0;

    background: #c9a23a;

    vertical-align: middle;
}


/* H4 */

.single-faq-content h4 {
    margin: 1.8em 0 0.7em;

    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;

    color: #5c1a4f;
}


/* =========================================================
   UNORDERED LIST
   ========================================================= */

.single-faq-content ul {
    margin: 1.6em 0 1.7em;
    padding: 0;

    list-style: none;
}


.single-faq-content ul li {
    position: relative;

    margin: 0;
    padding: 10px 0 10px 31px;

    border-bottom: 1px solid rgba(92, 26, 79, 0.08);

    color: #3d3b3d;
}


.single-faq-content ul li:first-child {
    border-top: 1px solid rgba(92, 26, 79, 0.08);
}


.single-faq-content ul li::before {
    content: "";

    position: absolute;
    left: 4px;
    top: 20px;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #c9a23a;

    box-shadow:
        0 0 0 4px rgba(201, 162, 58, 0.09);
}


.single-faq-content ul li:last-child {
    margin-bottom: 0;
}


/* =========================================================
   ORDERED LIST
   ========================================================= */

.single-faq-content ol {
    margin: 1.6em 0 1.7em;
    padding: 0;

    list-style: none;

    counter-reset: premium-counter;
}


.single-faq-content ol li {
    position: relative;

    counter-increment: premium-counter;

    min-height: 48px;

    margin: 0;

    padding:
        13px 0
        13px 60px;

    border-bottom: 1px solid rgba(92, 26, 79, 0.08);

    color: #3d3b3d;
}


.single-faq-content ol li:first-child {
    border-top: 1px solid rgba(92, 26, 79, 0.08);
}


.single-faq-content ol li::before {
    content: counter(premium-counter, decimal-leading-zero);

    position: absolute;
    left: 0;
    top: 11px;

    width: 38px;

    font-size: 12px;
    line-height: 1.8;
    font-weight: 600;
    letter-spacing: 0.08em;

    color: #c9a23a;
}


/* =========================================================
   NESTED LISTS
   ========================================================= */

.single-faq-content li ul,
.single-faq-content li ol {
    margin:
        10px 0
        0;
}


.single-faq-content li li {
    border-top: 0;
}


/* =========================================================
   BLOCKQUOTE
   ========================================================= */

.single-faq-content blockquote {
    position: relative;

    margin: 2.5em 0;

    padding: 30px 38px 31px 48px;

    border: 1px solid rgba(201, 162, 58, 0.18);
    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            rgba(92, 26, 79, 0.075),
            rgba(201, 162, 58, 0.045)
        );

    color: #4a4148;

    box-shadow:
        0 18px 42px rgba(60, 30, 50, 0.065);
}


.single-faq-content blockquote::before {
    content: "“";

    position: absolute;
    left: 18px;
    top: 12px;

    font-family: Georgia, serif;
    font-size: 48px;
    line-height: 1;

    color: rgba(201, 162, 58, 0.48);
}


.single-faq-content blockquote p {
    margin-bottom: 0;
}


/* =========================================================
   LINKS
   ========================================================= */

.single-faq-content a {
    color: #5c1a4f;

    text-decoration-line: underline;
    text-decoration-color: rgba(201, 162, 58, 0.65);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;

    transition:
        color 0.25s ease,
        text-decoration-color 0.25s ease;
}


.single-faq-content a:hover {
    color: #c9a23a;
    text-decoration-color: #c9a23a;
}


/* =========================================================
   IMAGES
   ========================================================= */

.single-faq-content img {
    display: block;

    max-width: 100%;
    height: auto;

    margin: 38px auto;

    border-radius: 16px;

    box-shadow:
        0 20px 50px rgba(45, 20, 38, 0.10);
}


.single-faq-content figure {
    margin: 38px 0;
}


.single-faq-content figcaption {
    margin-top: 10px;

    font-size: 12px;
    line-height: 1.5;

    text-align: center;

    color: #858085;
}


/* =========================================================
   TABLE
   ========================================================= */

.single-faq-content table {
    width: 100%;
    margin: 2.5em 0;

    border-collapse: collapse;

    border-top: 1px solid rgba(92, 26, 79, 0.12);
}


.single-faq-content th,
.single-faq-content td {
    padding: 14px 12px;

    border-bottom: 1px solid rgba(92, 26, 79, 0.09);

    text-align: left;
}


.single-faq-content th {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;

    color: #5c1a4f;
}


/* =========================================================
   HORIZONTAL RULE
   ========================================================= */

.single-faq-content hr {
    width: 100%;
    height: 1px;

    margin: 48px 0;

    border: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(201, 162, 58, 0.45),
            transparent
        );
}


/* =========================================================
   CODE
   ========================================================= */

.single-faq-content code {
    padding: 3px 6px;

    border-radius: 5px;

    background: rgba(92, 26, 79, 0.06);

    font-family: inherit;
    font-size: 0.88em;

    color: #5c1a4f;
}


.single-faq-content pre {
    margin: 2em 0;
    padding: 22px;

    overflow-x: auto;

    border-radius: 14px;

    background: #251d23;

    color: #f4edf1;

    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .single-faq {
        padding: 70px 0 82px;
    }

    .single-faq-inner {
        width: min(100% - 36px, 760px);
    }

    .single-faq-title {
        font-size: 38px;
    }

    .single-faq-content {
        font-size: 16px;
        line-height: 1.75;
    }

    .single-faq-content h2 {
        font-size: 27px;
    }

    .single-faq-content h3 {
        font-size: 21px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .single-faq {
        padding: 52px 0 64px;
    }

    .single-faq-inner {
        width: calc(100% - 24px);
    }

    .single-faq-header {
        margin-bottom: 38px;
        padding-bottom: 22px;
    }

    .single-faq-header::after {
        background:
            linear-gradient(
                90deg,
                #c9a23a 0,
                #c9a23a 55px,
                rgba(92, 26, 79, 0.10) 55px,
                rgba(92, 26, 79, 0.10) 100%
            );
    }

    .single-faq-title {
        font-size: 30px;
        line-height: 1.16;
        letter-spacing: -0.035em;
    }

    .single-faq-content {
        font-size: 14px;
        line-height: 1.72;
    }

    .single-faq-content h2 {
        margin-top: 2em;
        font-size: 23px;
    }

    .single-faq-content h3 {
        font-size: 19px;
    }

    .single-faq-content h3::before {
        width: 15px;
        margin-right: 9px;
    }

    .single-faq-content ul li {
        padding:
            9px 0
            9px 27px;
    }

    .single-faq-content ul li::before {
        left: 3px;
        top: 18px;
        width: 5px;
        height: 5px;
    }

    .single-faq-content ol li {
        min-height: 43px;
        padding:
            11px 0
            11px 49px;
    }

    .single-faq-content ol li::before {
        top: 10px;
        width: 32px;
        font-size: 11px;
    }

    .single-faq-content blockquote {
        margin: 2em 0;
        padding:
            24px 20px
            25px 36px;

        border-radius: 12px;
    }

    .single-faq-content blockquote::before {
        left: 13px;
        top: 10px;
        font-size: 40px;
    }

    .single-faq-content img {
        margin: 28px auto;
        border-radius: 12px;
    }

    .single-faq-content th,
    .single-faq-content td {
        padding: 10px 8px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .single-faq-content *,
    .single-faq-content *::before,
    .single-faq-content *::after {
        transition: none !important;
    }
}