
/* =========================================
   SOLID3D BLOG ARTICLE
   ========================================= */
.top-bar {
    width: 100%;
    min-height: 38px;

    background: #f58220;
    color: #fff;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 7%;
    box-sizing: border-box;

    font-family: Inter, Helvetica, sans-serif;
    font-size: 14px;
}

.top-left {
    font-weight: 600;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-right span {
    white-space: nowrap;
}

.phone .prefix {
    margin-right: 2px;
}


/* =====================================================
   MAIN NAVIGATION
===================================================== */

.top-nav {
    width: 100%;
    min-height: 78px;

    background: #111;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;
    box-sizing: border-box;

    font-family: Arial, Helvetica, sans-serif;
}


/* Логотип */

.nav-left {
    display: flex;
    align-items: center;
}

.logo {
    color: #fff;

    font-size: 27px;
    font-weight: 800;

    letter-spacing: 0.5px;
}


/* Навігація */

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-right a {
    position: relative;

    color: #fff;
    text-decoration: none;

    font-size: 15px;
    font-weight: 500;

    padding: 8px 0;

    transition: color 0.2s ease;
}


/* Помаранчева лінія під пунктом меню */

.nav-right a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: #f58220;

    transition: width 0.25s ease;
}

.nav-right a:hover {
    color: #f58220;
}

.nav-right a:hover::after {
    width: 100%;
}

.blog-article {
    --orange: #f58220;
    --orange-dark: #d9680d;
    --black: #111111;
    --dark: #1b1b1b;
    --text: #303030;
    --muted: #777;
    --light: #f6f6f6;
    --border: #e7e7e7;

    max-width: 900px;
    margin: 60px auto 100px;
    padding: 0 25px;

    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.75;
}


/* =========================================
   HEADER
   ========================================= */

.article-header {
    margin-bottom: 70px;
}

.article-category {
    display: inline-block;

    margin-bottom: 22px;
    padding: 7px 13px;

    background: var(--orange);
    color: white;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.article-header h1 {
    margin: 0 0 25px;

    color: var(--black);

    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.article-lead {
    max-width: 780px;

    margin: 0 0 25px;

    color: #666;

    font-size: 21px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    gap: 12px;

    color: #999;

    font-size: 14px;
}


/* =========================================
   GENERAL TEXT
   ========================================= */

.article-section {
    margin-bottom: 75px;
}

.article-section p {
    margin: 0 0 25px;

    font-size: 17px;
}

.article-section h2 {
    margin: 0 0 30px;

    color: var(--black);

    font-size: 32px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.article-section h3 {
    margin: 0 0 18px;

    color: var(--black);

    font-size: 24px;
    line-height: 1.3;
}

.article-section h4 {
    margin: 30px 0 15px;

    color: var(--black);

    font-size: 18px;
}


/* =========================================
   HORIZONTAL ACCENT
   ========================================= */

.article-section h2::after {
    content: "";

    display: block;

    width: 45px;
    height: 4px;

    margin-top: 15px;

    background: var(--orange);
}


/* =========================================
   HIGHLIGHT
   ========================================= */

.highlight-box {
    margin: 30px 0;
    padding: 22px 25px;

    border-left: 4px solid var(--orange);

    background: #f7f7f7;

    font-size: 16px;
}

.highlight-box.orange {
    background: #fff5ec;
}


/* =========================================
   EXAMPLE
   ========================================= */

.example-box {
    margin: 30px 0;
    padding: 22px 25px;

    background: #fafafa;

    border: 1px solid var(--border);
    border-radius: 8px;
}

.example-label {
    display: block;

    margin-bottom: 8px;

    color: var(--orange);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.example-box p {
    margin: 0;
}


/* =========================================
   MISTAKE CARDS
   ========================================= */

.mistake-card {
    display: grid;
    grid-template-columns: 80px 1fr;

    margin: 35px 0;
    padding: 35px;

    background: white;

    border: 1px solid var(--border);
    border-radius: 12px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);

    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.mistake-card:hover {
    transform: translateY(-3px);

    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.mistake-number {
    color: var(--orange);

    font-size: 35px;
    font-weight: 800;
    line-height: 1;
}

.mistake-content {
    min-width: 0;
}


/* =========================================
   LISTS
   ========================================= */

.article-section ul {
    margin: 20px 0 25px;
    padding-left: 25px;
}

.article-section li {
    margin-bottom: 12px;

    font-size: 16px;
}

.article-section li::marker {
    color: var(--orange);
}


/* =========================================
   SPEC TABLE
   ========================================= */

.spec-table {
    margin: 30px 0;

    border: 1px solid var(--border);
    border-radius: 8px;

    overflow: hidden;
}

.spec-row {
    display: grid;
    grid-template-columns: 1fr 1fr;

    padding: 15px 20px;

    border-bottom: 1px solid var(--border);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-head {
    background: var(--dark);

    color: white;

    font-size: 13px;
    font-weight: 700;
}

.spec-row strong {
    color: var(--orange);
}


/* =========================================
   TOLERANCES
   ========================================= */

.tolerance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

    margin: 30px 0;
}

.tolerance-card {
    padding: 20px;

    background: var(--light);

    border-radius: 8px;

    text-align: center;
}

.tolerance-card strong {
    display: block;

    margin-bottom: 7px;

    color: var(--black);

    font-size: 18px;
}

.tolerance-card span {
    color: var(--orange);

    font-weight: 700;
}


/* =========================================
   SOLUTIONS
   ========================================= */

.solution-list {
    list-style: none;

    margin-left: 0 !important;
    padding-left: 0 !important;
}

.solution-list li {
    position: relative;

    margin-bottom: 15px;
    padding-left: 28px;
}

.solution-list li::before {
    content: "✓";

    position: absolute;
    left: 0;
    top: 0;

    color: var(--orange);

    font-weight: 800;
}


/* =========================================
   WARNING
   ========================================= */

.warning-box {
    display: flex;
    gap: 18px;

    margin: 30px 0;
    padding: 25px;

    background: #fff6ed;

    border: 1px solid #f5d8bd;
    border-radius: 10px;
}

.warning-icon {
    flex: 0 0 35px;

    width: 35px;
    height: 35px;

    border-radius: 50%;

    background: var(--orange);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 800;
}

.warning-box p {
    margin: 8px 0 0;
}


/* =========================================
   MATERIAL CARDS
   ========================================= */

.material-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 15px;

    margin: 35px 0;
}

.material-card {
    padding: 25px;

    background: #fafafa;

    border: 1px solid var(--border);
    border-radius: 9px;
}

.material-card h3 {
    margin-bottom: 10px;

    color: var(--orange);

    font-size: 20px;
}

.material-card p {
    margin: 0;

    font-size: 15px;
}


/* =========================================
   FILE TYPES
   ========================================= */

.file-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

    margin: 30px 0;
}

.file-card {
    padding: 22px;

    background: var(--dark);

    border-radius: 8px;

    color: white;
}

.file-card strong {
    display: block;

    margin-bottom: 8px;

    color: var(--orange);

    font-size: 21px;
}

.file-card span {
    color: #ccc;

    font-size: 14px;
}


/* =========================================
   CHECKLIST
   ========================================= */

.checklist-section {
    padding: 45px;

    background: var(--dark);

    border-radius: 12px;

    color: white;
}

.checklist-section h2 {
    color: white;
}

.checklist {
    display: grid;
    gap: 12px;
}

.checklist label {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    padding: 14px 16px;

    background: rgba(255,255,255,0.05);

    border-radius: 6px;

    font-size: 15px;
}

.checklist label span {
    flex: 0 0 auto;

    color: var(--orange);

    font-weight: 800;
}


/* =========================================
   FAQ
   ========================================= */

.faq-section details {
    margin-bottom: 12px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: white;

    overflow: hidden;
}

.faq-section summary {
    position: relative;

    padding: 20px 55px 20px 22px;

    cursor: pointer;

    color: var(--black);

    font-size: 17px;
    font-weight: 700;

    list-style: none;
}

.faq-section summary::-webkit-details-marker {
    display: none;
}

.faq-section summary::after {
    content: "+";

    position: absolute;
    right: 22px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--orange);

    font-size: 25px;
    font-weight: 400;
}

.faq-section details[open] summary::after {
    content: "−";
}

.faq-section details p {
    margin: 0;

    padding: 0 22px 22px;

    color: #666;

    font-size: 16px;
}


/* =========================================
   CONCLUSION
   ========================================= */

.article-conclusion {
    margin-top: 80px;
    padding: 50px;

    background: var(--black);

    border-radius: 12px;

    color: white;
}

.article-conclusion h2 {
    margin: 15px 0 25px;

    color: white;

    font-size: 32px;
    line-height: 1.25;
}

.article-conclusion p {
    color: #ccc;

    font-size: 17px;
}

.conclusion-label {
    color: var(--orange);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.final-message {
    display: block;

    margin-top: 30px;
    padding-top: 25px;

    border-top: 1px solid #333;

    color: white;

    font-size: 18px;
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 700px) {

    .blog-article {
        margin-top: 35px;
        padding: 0 18px;
    }

    .article-header {
        margin-bottom: 45px;
    }

    .article-header h1 {
        font-size: 34px;
        letter-spacing: -0.8px;
    }

    .article-lead {
        font-size: 18px;
    }

    .article-section {
        margin-bottom: 55px;
    }

    .article-section h2 {
        font-size: 27px;
    }

    .article-section p {
        font-size: 16px;
        line-height: 1.7;
    }

    .mistake-card {
        grid-template-columns: 1fr;

        padding: 25px;

        gap: 18px;
    }

    .mistake-number {
        font-size: 28px;
    }

    .tolerance-grid,
    .material-grid,
    .file-types {
        grid-template-columns: 1fr;
    }

    .checklist-section {
        padding: 28px 20px;
    }

    .article-conclusion {
        padding: 30px 25px;
    }

    .article-conclusion h2 {
        font-size: 27px;
    }

    .spec-row {
        padding: 13px 15px;
    }

}
.footer {
    width: 100%;

    margin-top: 70px;

    background: #111;
    color: #fff;

    font-family: Arial, Helvetica, sans-serif;
}


/* Основна частина */

.footer-inner {
    max-width: 1200px;

    margin: 0 auto;

    padding: 50px 7%;

    box-sizing: border-box;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 60px;
}


/* Ліва частина */

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-center p {
    margin: 0 0 20px;

    color: #aaa;

    font-size: 14px;
    line-height: 1.6;
}


/* Telegram / Viber */

.telegram-btn,
.viber-btn {
    display: inline-flex;
    align-items: center;

    width: fit-content;

    margin-bottom: 10px;

    padding: 9px 16px;

    border: 1px solid #444;
    border-radius: 4px;

    color: #fff;
    text-decoration: none;

    font-size: 14px;

    transition: all 0.2s ease;
}

.telegram-btn:hover,
.viber-btn:hover {
    background: #f58220;
    border-color: #f58220;
    color: #fff;
}


/* Права частина */

.footer-right {
    border-left: 1px solid #333;

    padding-left: 50px;
}

.footer-right h3 {
    margin: 0 0 20px;

    color: #f58220;

    font-size: 18px;
}

.footer-right p {
    margin: 0 0 13px;

    color: #aaa;

    font-size: 14px;
}


/* =====================================================
   FOOTER BOTTOM / НИЖНЄ МЕНЮ
===================================================== */

.footer::after {
    content: "";
    display: block;

    height: 1px;

    background: #292929;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 800px) {

    .top-bar {
        padding: 8px 15px;

        flex-direction: column;

        gap: 6px;

        text-align: center;
    }

    .top-right {
        flex-wrap: wrap;

        justify-content: center;

        gap: 6px 15px;
    }


    /* NAV */

    .top-nav {
        padding: 20px 15px;

        flex-direction: column;

        gap: 18px;
    }

    .nav-right {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;

        gap: 12px 22px;
    }


    /* FOOTER */

    .footer-inner {
        grid-template-columns: 1fr;

        padding: 40px 20px;

        gap: 35px;
    }

    .footer-right {
        border-left: none;

        border-top: 1px solid #333;

        padding-left: 0;
        padding-top: 30px;
    }
}


@media (max-width: 480px) {

    .logo {
        font-size: 24px;
    }

    .nav-right {
        gap: 10px 18px;
    }

    .nav-right a {
        font-size: 14px;
    }

    .top-right {
        font-size: 13px;
    }
}