/* fatihkovka.ru — article layout for content pages.
 *
 * The captured Elementor shells style the header and footer; the page body of
 * "page-title" templates had no typography of its own, so text ran the full
 * 1400px width from directly under the header. This stylesheet turns those
 * pages into a readable, branded article: hero, prose column, sticky contents,
 * figures, tables, FAQ and a closing call to action.
 *
 * Brand: navy #041A42, red #ec0303, Montserrat headings, Poppins text.
 */

/* ---------- page frame ---------- */

.fk-article {
    background: #f5f7fa;
}

.fk-article .fk-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #041a42 0%, #0b2a5e 55%, #123a78 100%);
    color: #fff;
}

.fk-article .fk-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}

.fk-article .fk-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding: 56px 20px 44px;
}

.fk-article .fk-breadcrumbs {
    margin: 0 0 18px;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

.fk-article .fk-breadcrumbs a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.fk-article .fk-breadcrumbs a:hover {
    color: #fff;
    text-decoration: underline;
}

.fk-article .fk-breadcrumbs span {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.45);
}

.fk-article .fk-h1 {
    margin: 0 0 16px;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    border: 0;
}

.fk-article .fk-h1::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    margin-top: 18px;
    border-radius: 2px;
    background: #ec0303;
}

.fk-article .fk-lead {
    max-width: 74ch;
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.86);
}

.fk-article .fk-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.fk-article .fk-hero-meta li {
    margin: 0;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-family: "Poppins", sans-serif;
    font-size: 12.5px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

/* ---------- two-column body ---------- */

.fk-article .fk-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 44px 20px 72px;
}

.fk-article .fk-prose {
    min-width: 0;
    font-family: "Poppins", sans-serif;
    font-size: 16.5px;
    line-height: 1.78;
    color: #2c3440;
}

/* ---------- prose typography ---------- */

.fk-article .fk-prose > *:first-child {
    margin-top: 0;
}

.fk-article .fk-prose p {
    margin: 0 0 18px;
}

.fk-article .fk-prose h2 {
    margin: 44px 0 16px;
    padding-left: 14px;
    border-left: 4px solid #ec0303;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 700;
    line-height: 1.3;
    color: #041a42;
}

.fk-article .fk-prose h3 {
    margin: 30px 0 12px;
    font-family: "Montserrat", sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    color: #0b2a5e;
}

.fk-article .fk-prose h4 {
    margin: 24px 0 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 16.5px;
    font-weight: 600;
    color: #041a42;
}

.fk-article .fk-prose ul,
.fk-article .fk-prose ol {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.fk-article .fk-prose ol {
    counter-reset: fk-item;
}

.fk-article .fk-prose ul > li,
.fk-article .fk-prose ol > li {
    position: relative;
    margin: 0 0 10px;
    padding-left: 30px;
}

.fk-article .fk-prose ul > li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ec0303;
}

.fk-article .fk-prose ol > li::before {
    counter-increment: fk-item;
    content: counter(fk-item);
    position: absolute;
    top: 0.15em;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #041a42;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 600;
}

.fk-article .fk-prose ul ul,
.fk-article .fk-prose ol ul,
.fk-article .fk-prose ul ol,
.fk-article .fk-prose ol ol {
    margin: 10px 0 6px;
}

.fk-article .fk-prose strong {
    font-weight: 600;
    color: #101a2b;
}

.fk-article .fk-prose a {
    color: #0b4ea2;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.fk-article .fk-prose a:hover {
    color: #ec0303;
}

.fk-article .fk-prose blockquote {
    margin: 26px 0;
    padding: 18px 22px;
    border-left: 4px solid #ec0303;
    border-radius: 0 8px 8px 0;
    background: #fff;
    box-shadow: 0 1px 2px rgba(4, 26, 66, 0.06);
    color: #3a4452;
}

.fk-article .fk-prose blockquote p:last-child {
    margin-bottom: 0;
}

/* note / callout box: <p class="fk-note"> or <div class="fk-note"> */

.fk-article .fk-prose .fk-note {
    margin: 24px 0;
    padding: 18px 22px 18px 20px;
    border: 1px solid #dbe4f0;
    border-left: 4px solid #0b4ea2;
    border-radius: 8px;
    background: #fff;
    font-size: 15.8px;
    line-height: 1.7;
}

.fk-article .fk-prose .fk-note > :last-child {
    margin-bottom: 0;
}

/* ---------- figures ---------- */

.fk-article .fk-prose figure {
    margin: 28px 0;
}

.fk-article .fk-prose img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    background: #e7ecf3;
    box-shadow: 0 8px 24px rgba(4, 26, 66, 0.12);
}

.fk-article .fk-prose figcaption {
    margin-top: 10px;
    font-size: 13.5px;
    line-height: 1.55;
    color: #6b7684;
}

.fk-article .fk-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin: 28px 0;
}

.fk-article .fk-gallery figure {
    margin: 0;
}

.fk-article .fk-gallery img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* ---------- tables ---------- */

.fk-article .fk-prose .fk-table-wrap {
    margin: 26px 0;
    overflow-x: auto;
    border: 1px solid #dbe4f0;
    border-radius: 10px;
    background: #fff;
}

.fk-article .fk-prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.6;
}

.fk-article .fk-prose thead th {
    padding: 12px 16px;
    background: #041a42;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
}

.fk-article .fk-prose tbody td {
    padding: 12px 16px;
    border-top: 1px solid #e6ecf4;
    vertical-align: top;
}

.fk-article .fk-prose tbody tr:nth-child(even) td {
    background: #f8fafd;
}

/* ---------- feature cards ---------- */

.fk-article .fk-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 26px 0;
    padding: 0;
    list-style: none;
}

.fk-article .fk-cards > li {
    margin: 0;
    padding: 18px 20px;
    border: 1px solid #dbe4f0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(4, 26, 66, 0.05);
}

.fk-article .fk-cards > li::before {
    display: none;
}

.fk-article .fk-cards .fk-card-title {
    display: block;
    margin-bottom: 6px;
    font-family: "Montserrat", sans-serif;
    font-size: 15.5px;
    font-weight: 600;
    color: #041a42;
}

/* ---------- contents (aside) ---------- */

.fk-article .fk-aside {
    align-self: start;
    position: sticky;
    top: 24px;
}

.fk-article .fk-toc {
    padding: 20px 22px;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(4, 26, 66, 0.06);
}

.fk-article .fk-toc-title {
    margin: 0 0 12px;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7684;
}

.fk-article .fk-toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: toc;
}

.fk-article .fk-toc li {
    margin: 0 0 9px;
    font-size: 14.5px;
    line-height: 1.45;
}

.fk-article .fk-toc a {
    color: #22304a;
    text-decoration: none;
}

.fk-article .fk-toc a:hover {
    color: #ec0303;
}

.fk-article .fk-aside-cta {
    margin-top: 18px;
    padding: 20px 22px;
    border-radius: 12px;
    background: linear-gradient(135deg, #041a42, #123a78);
    color: #fff;
}

.fk-article .fk-aside-cta p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.fk-article .fk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 20px;
    border-radius: 6px;
    background-image: linear-gradient(180deg, #ec0303 0%, #b00000 100%);
    box-shadow: 0 6px 16px rgba(176, 0, 0, 0.3);
    color: #fff !important;
    font-family: "Montserrat", sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.fk-article .fk-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(176, 0, 0, 0.36);
    color: #fff !important;
}

.fk-article .fk-btn:focus-visible {
    outline: 2px solid #041a42;
    outline-offset: 3px;
}

/* ---------- FAQ ---------- */

.fk-article .fk-faq {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px 64px;
}

.fk-article .fk-section-title {
    margin: 0 0 20px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(21px, 2.4vw, 28px);
    font-weight: 700;
    color: #041a42;
}

.fk-article .fk-faq details {
    margin: 0 0 12px;
    border: 1px solid #dbe4f0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(4, 26, 66, 0.05);
}

.fk-article .fk-faq summary {
    position: relative;
    padding: 17px 52px 17px 20px;
    cursor: pointer;
    list-style: none;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    color: #041a42;
}

.fk-article .fk-faq summary::-webkit-details-marker {
    display: none;
}

.fk-article .fk-faq summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    color: #ec0303;
}

.fk-article .fk-faq details[open] summary::after {
    content: "–";
}

.fk-article .fk-faq details[open] summary {
    border-bottom: 1px solid #e6ecf4;
}

.fk-article .fk-faq .fk-answer {
    padding: 16px 20px 18px;
    font-family: "Poppins", sans-serif;
    font-size: 15.5px;
    line-height: 1.75;
    color: #2c3440;
}

.fk-article .fk-faq .fk-answer > :last-child {
    margin-bottom: 0;
}

/* ---------- closing CTA ---------- */

.fk-article .fk-cta {
    max-width: 1180px;
    margin: 0 auto 64px;
    padding: 0 20px;
}

.fk-article .fk-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 32px 36px;
    border-radius: 14px;
    background: linear-gradient(135deg, #041a42 0%, #0b2a5e 60%, #123a78 100%);
    box-shadow: 0 14px 34px rgba(4, 26, 66, 0.2);
    color: #fff;
}

.fk-article .fk-cta-inner h2 {
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 700;
    color: #fff;
}

.fk-article .fk-cta-inner p {
    margin: 0;
    max-width: 62ch;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
}

.fk-article .fk-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fk-article .fk-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    color: #fff !important;
    font-family: "Montserrat", sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

.fk-article .fk-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff !important;
}

/* ---------- related links ---------- */

.fk-article .fk-related {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px 56px;
}

.fk-article .fk-related ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fk-article .fk-related li {
    margin: 0;
}

.fk-article .fk-related a {
    display: block;
    padding: 16px 18px;
    border: 1px solid #dbe4f0;
    border-radius: 10px;
    background: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #0b2a5e;
    text-decoration: none;
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.fk-article .fk-related a:hover {
    transform: translateY(-1px);
    border-color: #ec0303;
    box-shadow: 0 6px 16px rgba(4, 26, 66, 0.1);
    color: #ec0303;
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
    .fk-article .fk-body {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding-top: 32px;
    }

    .fk-article .fk-aside {
        position: static;
        order: -1;
    }

    .fk-article .fk-toc {
        padding: 16px 18px;
    }
}

@media (max-width: 700px) {
    .fk-article .fk-hero-inner {
        padding: 40px 16px 32px;
    }

    .fk-article .fk-body {
        padding: 28px 16px 48px;
    }

    .fk-article .fk-prose {
        font-size: 16px;
    }

    .fk-article .fk-prose h2 {
        margin-top: 34px;
    }

    .fk-article .fk-faq,
    .fk-article .fk-cta,
    .fk-article .fk-related {
        padding-left: 16px;
        padding-right: 16px;
    }

    .fk-article .fk-cta-inner {
        padding: 24px 20px;
    }

    .fk-article .fk-cta-actions .fk-btn,
    .fk-article .fk-cta-actions .fk-btn-ghost {
        width: 100%;
    }
}

@media print {
    .fk-article .fk-aside,
    .fk-article .fk-cta,
    .fk-article .fk-faq,
    .fk-article .fk-hero::after {
        display: none;
    }
}
