/* =========================================================
   BLOG DETAIL PAGE
   NATIONAL MACHINERY WORKS
========================================================= */



.blog-detail-page {
    width: 100%;
    background: #ffffff;
    padding: 100px;
}


.blog-detail-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}


/* =========================
   BLOG HEADER
========================= */

.blog-detail-header {
    margin-bottom: 30px;
}


.blog-detail-header h1 {
    margin: 0;
    max-width: 1400px;

    color: #171722;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 33px;
    line-height: 1.40;

    font-weight: 600;

    letter-spacing: -0.4px;
}




/* =========================
   MAIN CONTENT
========================= */

.blog-content-section {
    width: 100%;
}


.blog-content-section p {

    margin: 0 0 22px;

    color: #333333;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 18 px;

    line-height: 1.75;

    font-weight: 400;
}


.blog-content-section a {

    color: #006db6;

    text-decoration: none;

    font-weight: 600;
}


.blog-content-section a:hover {
    text-decoration: underline;
}



/* =========================
   HEADINGS
========================= */

.blog-content-section h2 {

    margin: 48px 0 17px;

    color: #171722;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 28px;

    line-height: 1.25;

    font-weight: 600;
}


.blog-content-section h3 {

    color: #171722;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 17px;

    line-height: 1.35;

    font-weight: 700;
}



/* =========================
   HIGHLIGHT LIST
========================= */

.blog-highlight-list {
    display: flex;

    flex-direction: column;

    gap: 15px;

    margin: 25px 0 28px;
}


.highlight-item {

    padding: 17px 20px;

    border-left: 3px solid #0b70b7;

    background: #f7f9fb;
}


.highlight-item strong {

    display: inline;

    margin-right: 5px;

    color: #171722;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 18px;
}


.highlight-item span {

    color: #333333;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 17px;

    line-height: 1.65;
}



/* =========================
   CHECK LIST
========================= */

.check-list {

    display: flex;

    flex-direction: column;

    gap: 24px;

    margin: 30px 0;
}


.check-item {

    display: grid;

    grid-template-columns: 30px 1fr;

    gap: 12px;

    align-items: flex-start;
}


.check-item > i {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 27px;
    height: 27px;

    margin-top: 3px;

    border-radius: 50%;

    background: #0b70b7;

    color: #ffffff;

    font-size: 12px;
}


.check-item strong {

    display: block;

    margin-bottom: 7px;

    color: #171722;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 18px;

    line-height: 1.4;
}


.check-item p {

    margin-bottom: 0;
}



/* =========================
   CREDENTIAL CARDS
========================= */

.credential-list {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;

    margin: 28px 0;
}


.credential-card {

    padding: 23px;

    border: 1px solid #e8e8e8;

    background: #ffffff;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}


.credential-card h3 {

    display: flex;

    align-items: center;

    gap: 9px;

    margin: 0 0 12px;

    color: #171722;

    font-size: 19px;
}


.credential-card h3 i {

    color: #0b70b7;

    font-size: 17px;
}


.credential-card p {

    margin: 0;

    font-size: 16px;

    line-height: 1.65;
}


.blog-note {

    padding: 18px 20px;

    border-left: 3px solid #0b70b7;

    background: #f7f9fb;
}



/* =========================
   MANUAL VS AUTO
========================= */

.comparison-box {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;

    margin: 30px 0;
}


.comparison-column {

    padding: 28px;

    border: 1px solid #e5e5e5;

    background: #fafafa;
}


.comparison-column h3 {

    display: flex;

    align-items: center;

    gap: 10px;

    margin: 0 0 14px;

    color: #171722;

    font-size: 18px;
}


.comparison-column h3 i {

    color: #0b70b7;

    font-size: 18px;
}


.comparison-column p {

    margin: 0;

    font-size: 17px;
}



/* =========================
   MACHINE SPEC TABLE
========================= */

.blog-table-wrapper {

    width: 100%;

    overflow-x: auto;

    margin: 30px 0 38px;

    border: 1px solid #dddddd;
}


.machine-spec-table {

    width: 100%;

    min-width: 750px;

    border-collapse: collapse;

    background: #ffffff;
}


.machine-spec-table th {

    padding: 16px 14px;

    border: 1px solid #d9d9d9;

    background: #f2f4f6;

    color: #171722;

    text-align: left;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 17px;

    font-weight: 700;
}


.machine-spec-table td {

    padding: 15px 14px;

    border: 1px solid #dddddd;

    color: #333333;

    vertical-align: top;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 17px;

    line-height: 1.5;
}


.machine-spec-table tbody tr:nth-child(even) {
    background: #fafafa;
}


.machine-spec-table td:first-child {

    width: 20%;

    color: #171722;

    font-weight: 700;
}



/* =========================
   FAQ
========================= */

.blog-faq-section {

    margin-top: 55px;
}


.blog-faq-item {

    padding: 22px 0;

    border-bottom: 1px solid #e3e3e3;
}


.blog-faq-item:first-of-type {
    border-top: 1px solid #e3e3e3;
}


.blog-faq-item h3 {

    margin: 0 0 10px;

    color: #171722;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 19px;

    line-height: 1.4;
}


.blog-faq-item p {

    margin: 0;

    color: #444444;

    font-size: 17px;

    line-height: 1.7;
}



/* =========================
   FINAL THOUGHTS
========================= */

.final-thoughts {

    margin-top: 55px;
}


.final-thoughts h2 {
    margin-top: 0;
}



/* =========================
   LEAVE REPLY
========================= */

.leave-reply-section {

    margin-top: 70px;

    padding-top: 45px;

    border-top: 1px solid #e3e3e3;
}


.leave-reply-section h2 {

    margin: 0 0 10px;

    color: #171722;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 28px;
}


.reply-note {

    margin: 0 0 28px;

    color: #777777;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 15px;
}


.comment-form-row {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

    margin-bottom: 20px;
}


.comment-field {

    width: 100%;
}


.comment-field label {

    display: block;

    margin-bottom: 8px;

    color: #333333;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 15px;
}


.comment-field label span {
    color: #d52a2a;
}


.comment-field input,
.comment-field textarea {

    width: 100%;

    padding: 13px 14px;

    border: 1px solid #d8d8d8;

    outline: none;

    background: #ffffff;

    color: #333333;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;

    box-sizing: border-box;

    transition: border-color 0.2s ease;
}


.comment-field input {

    height: 45px;
}


.comment-field textarea {

    resize: vertical;

    min-height: 160px;
}


.comment-field input:focus,
.comment-field textarea:focus {

    border-color: #0b70b7;
}


.comment-textarea {

    margin-bottom: 18px;
}


.comment-checkbox {

    margin-bottom: 22px;
}


.comment-checkbox label {

    display: flex;

    align-items: flex-start;

    gap: 8px;

    color: #666666;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 15px;

    line-height: 1.5;
}


.comment-checkbox input {

    margin-top: 3px;
}


.post-comment-btn {

    padding: 13px 25px;

    border: none;

    background: #0b70b7;

    color: #ffffff;

    cursor: pointer;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;

    font-weight: 600;

    transition: background 0.25s ease;
}


.post-comment-btn:hover {

    background: #075b95;
}



/* =========================================================
   RESPONSIVE
========================================================= */


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .blog-detail-page {

        padding: 55px 25px 80px;
    }


    .blog-detail-header h1 {

        font-size: 36px;
    }


    .blog-content-section p {

        font-size: 17px;

        line-height: 1.7;
    }


    .credential-list {

        grid-template-columns: 1fr;
    }


    .comparison-box {

        grid-template-columns: 1fr;
    }

}



/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .blog-detail-page {

        padding: 40px 18px 60px;
    }


    .blog-detail-container {

        max-width: 100%;
    }


    .blog-detail-header {

        margin-bottom: 28px;
    }


    .blog-detail-header h1 {

        font-size: 28px;

        line-height: 1.25;
    }


    .blog-meta {

        gap: 10px 14px;

        font-size: 11px;

        line-height: 1.4;
    }


    .blog-content-section h2 {

        margin-top: 38px;

        font-size: 25px;

        line-height: 1.3;
    }


    .blog-content-section p {

        margin-bottom: 18px;

        font-size: 17px;

        line-height: 1.7;
    }


    .highlight-item {

        padding: 15px;
    }


    .highlight-item strong,
    .highlight-item span {

        font-size: 16px;
    }


    .check-list {

        gap: 20px;
    }


    .check-item {

        grid-template-columns: 26px 1fr;

        gap: 9px;
    }


    .check-item > i {

        width: 24px;

        height: 24px;

        font-size: 11px;
    }


    .check-item strong {

        font-size: 17px;
    }


    .credential-card {

        padding: 18px;
    }


    .credential-card h3 {

        font-size: 17px;
    }


    .credential-card p {

        font-size: 14px;
    }


    .comparison-column {

        padding: 20px;
    }


    .comparison-column h3 {

        font-size: 19px;
    }


    .comparison-column p {

        font-size: 17px;
    }


    .blog-table-wrapper {

        margin-top: 20px;
    }


    .machine-spec-table th,
    .machine-spec-table td {

        padding: 12px 10px;

        font-size: 14px;
    }


    .blog-faq-item {

        padding: 19px 0;
    }


    .blog-faq-item h3 {

        font-size: 17px;
    }


    .blog-faq-item p {

        font-size: 17px;

        line-height: 1.65;
    }


    .leave-reply-section {

        margin-top: 50px;

        padding-top: 35px;
    }


    .leave-reply-section h2 {

        font-size: 25px;
    }


    .comment-form-row {

        grid-template-columns: 1fr;

        gap: 16px;
    }


    .comment-field input {

        height: 44px;
    }


    .post-comment-btn {

        width: 100%;
    }

}



/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 400px) {

    .blog-detail-page {

        padding-left: 14px;

        padding-right: 14px;
    }


    .blog-detail-header h1 {

        font-size: 25px;
    }


    .blog-content-section h2 {

        font-size: 22px;
    }


    .blog-content-section p {

        font-size: 14px;
    }

}