*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F8FBFB;
    color: #101010;
    font-size: 16px;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    margin: 0 0 5px;
    line-height: 1.2;
    color: #151d39;
}

p {
    line-height: 1.5;
    margin: 0;
}

p+p {
    margin-top: 10px;
}

ul {
    /*list-style: none;*/
    line-height: 1.5;
    padding: 0 0 0 20px;
    margin: 0 0 10px;
}

ul li {
    margin: 5px 0;
}

a {
    text-decoration: none;
    color: #151d39;
}

hr {
    margin: 15px 0;
    border: 0;
    height: 1px;
    background-color: #7fc6d6;
}

.space-10 {
    padding: 5px 0;
    margin: 0;
}

/** header **/
.header {
    padding: 10px 0;
    background-color: #F8FBFB;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid #151d39;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    max-width: 140px;
    /* The img has width/height attributes so the browser reserves space; keep the ratio when scaled */
    height: auto;
    display: block;
}

.header-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.header-menu li {
    margin-left: 24px;
}

.header-menu li a {
    font-weight: 600;
    font-size: 14px;
}

/* "Image Tools" dropdown */
.menu-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: #151d39;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.menu-dropdown-toggle::after {
    content: '';
    width: 5px;
    height: 5px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -3px;
    transition: transform .2s ease;
}

.has-dropdown.open > .menu-dropdown-toggle::after {
    transform: rotate(-135deg);
    margin-top: 3px;
}

.menu-dropdown {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.has-dropdown.open > .menu-dropdown {
    display: block;
}

.header-menu .menu-dropdown li {
    margin: 0;
}

@media screen and (min-width: 992px) {
    .menu-toggle {
        display: none;
    }

    #SideBar {
        margin-left: auto;
    }

    .has-dropdown {
        position: relative;
    }

    .has-dropdown:hover > .menu-dropdown {
        display: block;
    }

    .has-dropdown:hover > .menu-dropdown-toggle::after {
        transform: rotate(-135deg);
        margin-top: 3px;
    }

    .menu-dropdown {
        position: absolute;
        top: 100%;
        left: -16px;
        min-width: 220px;
        padding: 8px 0;
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 5px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
        z-index: 20;
    }

    .menu-dropdown li a {
        display: block;
        padding: 8px 16px;
        white-space: nowrap;
    }

    .menu-dropdown li a:hover,
    .menu-dropdown li a:focus-visible {
        background: #eef6f8;
    }
}

@media screen and (max-width: 991px) {
    .menu-toggle {
        padding: 0;
        line-height: 1;
        border: none;
        cursor: pointer;
        background: none;
    }

    .bar-rows {
        width: 30px;
        height: 3px;
        background-color: #151d39;
        display: block;
        border-radius: 10px;
    }

    .bar-rows+.bar-rows {
        margin-top: 5px;
    }

    .bar-rows:nth-of-type(2) {
        width: 25px;
    }

    #SideBar {
        background-color: #000000;
        padding: 15px 15px 30px;
        width: 18em;
        height: 100%;
        text-align: left;
        position: fixed;
        top: 0;
        left: -18em;
        transform: translate3d(0px, 0px, 0px);
        transition: .3s;
        z-index: 1000;
        transition: left 0.3s ease-in-out 0s;
        -webkit-transition: left 0.3s ease-in-out 0s;
        -moz-transition: left 0.3s ease-in-out 0s;
        -o-transition: left 0.3s ease-in-out 0s;
    }

    #SideBar.active {
        visibility: visible;
        transform: translate3d(0px, 0px, 0px);
        left: 0;
    }

    .bgBlack {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.85);
        z-index: 999;
        display: none;
        cursor: pointer;
    }

    .bgBlack.active {
        display: block;
    }

    /*** Close Menu **/
    .close-menu {
        position: absolute;
        right: 5px;
        top: 10px;
        cursor: pointer;
        padding: 5px;
        display: inline-block;
    }

    .close-menu:before,
    .close-menu:after {
        content: '';
        display: block;
        height: 2px;
        background: white;
        position: relative;
        transition: transform .2s ease;
        width: 25px;
    }

    .close-menu:before {
        top: 4px;
        transform: rotate(135deg);
    }

    .close-menu:after {
        top: 2px;
        transform: rotate(45deg);
    }

    .header-menu {
        margin: 20px 0 0;
    }

    .header-menu li {
        flex: 0 0 auto;
        width: 100%;
        margin: 5px 0;
    }

    .header-menu li a {
        color: #fff;
    }

    /* In the side menu the tools open as an indented list below "Image Tools" */
    .menu-dropdown-toggle {
        color: #fff;
        width: 100%;
        justify-content: space-between;
    }

    .menu-dropdown {
        margin: 4px 0 0 14px;
        border-left: 1px solid #333;
        padding-left: 12px;
    }

    .header-menu .menu-dropdown li {
        margin: 8px 0;
    }

    .header-menu .menu-dropdown li a {
        color: #ccc;
    }
}

.hero {
    background: linear-gradient(135deg, #151d39 0%, #1e294b 100%);
    padding-top: 35px;
    padding-bottom: 35px;
    color: white;
}

.hero h1 {
    font-size: 24px;
    color: #F7D720;
    margin-bottom: 5px;
}

.hero h2,
.hero h3 {
    color: #fff;
}

.container,
.container-small {
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
}

.container {
    max-width: 800px;
}

.container-small {
    max-width: 480px;
}

.tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.tools li {
    flex: 0 0 auto;
    width: calc(50% - 5px);
    margin: 0;
}

.tools li a {
    text-decoration: none;
    color: #151d39;
    font-weight: bold;
    line-height: 1.25;
    background: white;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 100%;
}

@media(max-width: 767px) {
    .tools li {
        width: calc(50% - 5px);
    }
}

.content {
    margin-top: 30px;
    margin-bottom: 30px;
}

.check-list li {
    position: relative;
    list-style: none;
}

.check-list li::before {
    content: '\2713';
    position: absolute;
    left: -20px;
    color: green;
    font-size: 16px;
    font-weight: bold;
    top: -2px;
}

.label {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.25;
    margin-bottom: 5px;
    display: inline-block;
    color: #151d39;
}

.label small {
    font-size: 12px;
}

input,
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
}

.input,
.textarea,
.submit,
.reset {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-radius: 5px;
    box-shadow: none;
    display: block;
    box-sizing: border-box;
    outline: none;
    padding: 10px;
}

.input,
.textarea {
    width: 100%;
    font-size: 16px;
    border: 1px solid #7fc6d6;
    resize: none;
    outline: none;
    box-shadow: none;
    appearance: textfield;
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
}

.submit,
.reset {
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
}

.submit {
    background-color: #151d39;
    color: #F7D720;
}

.submit:hover {
    opacity: 0.8;
}

.buton-group {
    position: relative;
    margin: 15px auto;
}

.submit-button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.form-box .reset,
.form-box .submit {
    height: 40px;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
}

.form-box .reset {
    background-color: transparent;
    color: #151d39;
    border: 2px solid #151d39;
}

#result {
    display: none;
}

.result {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.result-text {
    font-size: 18px;
    font-weight: 600;
    color: #151d39;
}

.result-copybtn {
    position: relative;
    border: none;
    box-shadow: none;
    background: none;
    margin-left: 15px;
    padding: 0;
    top: 2px;
    cursor: pointer;
}

.result-copybtn::before {
    position: absolute;
    left: -4px;
    top: -4px;
    content: '';
    width: 12px;
    height: 14px;
    border-width: 2px 0 0 2px;
    border-color: #151d39;
    border-style: solid;
    display: block;
    border-radius: 2px;
    line-height: 1;
}

.result-copybtn::after {
    content: '';
    width: 12px;
    height: 16px;
    border: 2px solid #151d39;
    display: block;
    border-radius: 2px;
    position: relative;
}

.form-field {
    position: relative;
}

.base-field {
    margin-top: 1rem;
}

.round-field {
    margin-top: 10px;
}

.base-field,
.round-field {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.25;
    color: #151d39;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: end;
}

.base-span,
.round-span {
    display: inline-block;
}

.base-input,
.round-input {
    font-weight: 600;
    border: 1px solid transparent;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: inline-block;
    padding: 2.5px;
    outline: none;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    border: 1px solid #7fc6d6;
    appearance: textfield;
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
    width: 50px;
    height: 30px;
    text-align: center;
    margin-left: 10px;
}

.result-copybtn-model {
    display: none;
    border: 1px solid #7fc6d6;
    font-size: 12px;
    color: #252525;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    font-weight: 600;
    position: absolute;
    left: 50%;
    top: 100%;
}

strong {
    font-weight: 600;
}

.faq {
    margin-top: 20px;
}

.faq p {
    margin-bottom: 20px;
}

.base-content h1,
.base-content h2,
.base-content h3,
.base-content h4 {
    margin-top: 30px;
}

/** contact **/
.contact-form {
    margin-top: 20px;
}

.contact-form form {
    max-width: 600px;
}

.contact-form form .submit {
    margin-top: 20px;
    height: 40px;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    min-width: 100px;
}

.contact-form .input,
.contact-form .textarea {
    margin-bottom: 10px;
}

.success-message {
    color: green;
    font-size: 16px;
    margin-top: 15px;
}

.error-message {
    color: red;
    font-size: 16px;
    margin-top: 15px;
}

#form-message {
    margin-top: 20px;
}

/** percentage calculator **/
.percentage-difference-form {
    margin-top: 30px;
    margin-bottom: 30px;
}

.percentage-difference-form .form-box {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    border: none;
    background: none;
    padding: 0;
}

.percentage-difference-form .label {
    font-size: 18px;
}

@media(max-width: 767px) {
    .percentage-difference-form .label {
        font-size: 16px;
    }
}

.percentage-difference-form .input {
    height: 45px;
    font-size: 18px;
    border-color: #7fc6d6;
}

.percentage-difference-form .input::placeholder {
    font-size: 18px;
    color: #757575;
}

.percentage-difference-form .submit {
    font-size: 16px;
    height: 45px;
    width: 130px;
    margin: 15px auto;
}

.percentage-difference-form .base-field,
.percentage-difference-form .round-field {
    justify-content: center;
}

.percentage-difference-form .submit-button {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.percentage-difference-form .submit-button .reset {
    flex: 1;
}

.percentage-difference-form .submit-button .submit {
    flex: 2;
    margin: 0;
}

#resultContainer {
    display: none;
    margin-top: 20px;
}

.formula-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-family: monospace;
    text-align: center;
    font-size: 1.2rem;
    color: #151d39;
    border: 1px solid #e2e8f0;
}

.form-box {
    position: relative;
    margin-bottom: 15px;
    /*border: 1px solid #7fc6d6;*/
    border: 1px solid #7fc6d6;
    padding: 15px;
    border-radius: 5px;
    /*background-color: #cde4f0;*/
    background-color: #E9F0F7;
}

.form-box h2 {
    font-size: 18px;
    margin: 0 0 10px;
}

.form-row {
    display: flex;
    gap: 0 10px;
    align-items: end;
}

.percent-result {
    position: relative;
}

.result_percent {
    position: absolute;
    right: 10px;
    top: 13px;
    z-index: 10;
}

.percent-result .input {
    padding-right: 30px;
    background-color: #E9F0F7;
}

.round-input::placeholder,
.input::placeholder {
    font-size: 14px;
    color: #3a3a3a;
}

.field-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0 10px;
    align-items: end;
}

.field-col {
    flex: 1;
    width: 33.33%;
}

@media(max-width: 991px) {
    .form-row {
        flex-wrap: wrap;
        gap: 10px;
    }

    .form-col,
    .form-button-col {
        flex: 0 0 auto;
        width: 100%;
    }
}

@media(max-width: 767px) {
    .field-row {
        gap: 10px;
    }

    .field-col {
        flex: 0 0 auto;
        width: 100%;
    }
}

/** unit css **/
.tools.cssunit-tools {
    gap: 10px;
    list-style: none;
    padding: 0;
}

.tools.cssunit-tools li {
    margin: 0;
}

.tools li.active a,
.tools a:hover {
    background-color: #E9F0F7;
    border: 1px solid #7fc6d6;
}

/** converter **/
.label.space-top {
    margin-top: 12px;
}

.unit-swap {
    display: block;
    width: 30px;
    height: 20px;
    font-size: 24px;
    text-align: center;
    line-height: 20px;
    color: #151d39;
    position: relative;
    margin-left: auto;
    top: 12px;
}

.cssunit-form {
    margin-top: 30px;
    margin-bottom: 30px;
}

.cssunit-form .form-box {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    border: none;
    background: none;
    padding: 0;
}

@media(max-width: 767px) {
    .cssunit-form .label {
        font-size: 16px;
    }
}

.cssunit-form .input {
    height: 45px;
    font-size: 18px;
    border-color: #7fc6d6;
}

.cssunit-form .input::placeholder {
    font-size: 18px;
    color: #757575;
}

.cssunit-form .submit {
    font-size: 16px;
    height: 45px;
    width: 130px;
    margin: 15px auto;
}

.cssunit-form .base-field,
.cssunit-form .round-field {
    justify-content: center;
}

.cssunit-form .base-input {
    margin-right: 10px;
}

.conversion-table {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 30px;
}

.conversion-table table {
    width: 100%;
    margin-top: 15px;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.conversion-table th,
.conversion-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #7fc6d6;
}

.conversion-table th {
    background-color: #151d39;
    color: #F7D720;
    font-size: 16px;
    width: 50%;
}

.conversion-table td {
    background-color: #f9f9f9;
    font-size: 14px;
}

.conversion-table tr:nth-child(even) td {
    background-color: #ecf0f1;
}

.conversion-table tr:hover td {
    background-color: #E9F0F7;
}

/** footer **/
footer {
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    /* No side padding: the inner container's 10px matches the page content edges */
    padding: 48px 0 24px;
    color: #fff;
    background-color: #151d39;
    border-top: 3px solid #F7D720;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer p {
    margin-top: 5px;
}

/* Same width as the page content. On desktop the five columns size to their content and share
   the spare space between them; three columns on tablets, two on phones */
.footer-container {
    display: grid;
    grid-template-columns: repeat(5, auto);
    justify-content: space-between;
    gap: 32px 16px;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
}

.footer-column h3 {
    position: relative;
    margin: 0 0 16px;
    padding-bottom: 10px;
    font-size: 14px;
    letter-spacing: .01em;
    color: #F7D720;
    text-align: left;
    white-space: nowrap;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: rgba(247, 215, 32, .5);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin: 0 0 9px;
    text-align: left;
    line-height: 1.35;
}

.footer-column ul li a {
    color: #b9c1da;
    text-decoration: none;
    font-size: 13px;
    transition: color .15s ease, padding-left .15s ease;
}

.footer-column ul li a:hover,
.footer-column ul li a:focus-visible {
    color: #F7D720;
    padding-left: 3px;
}

.footer-bottom {
    max-width: 780px;
    margin: 36px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    text-align: center;
    font-size: 13px;
    color: #9aa3bf;
}

.footer-bottom a {
    color: #fff;
}

@media (max-width: 767px) {
    .footer-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-content: stretch;
    }

    .footer-bottom {
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media (max-width: 600px) {
    footer {
        padding: 36px 0 20px;
    }

    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 18px;
    }

    .footer-column ul li {
        margin-bottom: 8px;
    }
}

.faq-item {
    margin-top: 15px;
}

.faq-item h4 {
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 767px) {
    body {
        font-size: 14px;
    }
}

/** breadcrumbs **/
.breadcrumbs {
    margin-bottom: 10px;
    font-size: 14px;
}

.breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumbs ul li {
    margin: 0;
    display: flex;
    align-items: center;
}

.breadcrumbs ul li a {
    color: #F7D720;
    text-decoration: none;
    transition: opacity 0.2s;
}

.breadcrumbs ul li a:hover {
    opacity: 0.8;
    text-decoration: none;
}

.breadcrumbs ul li::after {
    content: '/';
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    font-weight: 300;
}

.breadcrumbs ul li:last-child::after {
    display: none;
}

.breadcrumbs ul li[aria-current="page"] {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

/** ===== BLOG STYLES ===== **/
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 30px 0;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 10px 30px rgba(21, 29, 57, 0.1);
    transform: translateY(-6px);
    border-color: #cbd5e1;
}

.blog-card-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #151d39;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.04);
}

.blog-card-body {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-tag {
    display: inline-block;
    background: #F7D720;
    color: #151d39;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.blog-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #151d39;
    margin: 0 0 10px;
    line-height: 1.3;
    transition: color 0.2s;
}

.blog-card:hover .blog-card-title {
    color: #0e6fa8;
}

.blog-card-desc {
    font-size: 14.5px;
    color: #4b5563;
    line-height: 1.6;
    flex: 1;
    margin: 0 0 16px;
}

.blog-card-meta {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-card-link {
    display: inline-block;
    background: #f8fafc;
    color: #151d39;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 8px;
    border: 1.5px solid #151d39;
    text-decoration: none;
    align-self: flex-start;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-link:hover {
    background: #151d39;
    color: #F7D720;
}

/** Blog Post Page **/
.blog-post-header {
    padding: 40px 0 30px;
}

.blog-post-tag {
    display: inline-block;
    background: #F7D720;
    color: #151d39;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.blog-post-meta {
    font-size: 14px;
    color: #666;
    margin: 10px 0 0;
}

.blog-post-meta span {
    margin-right: 16px;
}

.blog-post-body {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e0eaf0;
    padding: 32px 36px;
    margin: 20px 0 30px;
    line-height: 1.8;
    font-size: 16px;
}

.blog-post-body h2 {
    font-size: 22px;
    margin: 28px 0 12px;
}

.blog-post-body h3 {
    font-size: 18px;
    margin: 22px 0 10px;
}

.blog-post-body p {
    margin-bottom: 16px;
    color: #333;
}

.blog-post-body ul,
.blog-post-body ol {
    margin: 0 0 16px 22px;
}

.blog-post-body ul li,
.blog-post-body ol li {
    margin: 6px 0;
    color: #333;
}

.blog-post-body code {
    background: #f0f4f8;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
    color: #e63946;
}

.blog-post-body pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 12px;
    overflow-x: auto;
    font-size: 14px;
    margin: 20px 0;
    border-left: 4px solid #F7D720;
}

.blog-post-body pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Tables scroll sideways on small screens instead of widening the page */
.blog-post-body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
}

.blog-post-body th,
.blog-post-body td {
    border: 1px solid #dde3ea;
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
}

.blog-post-body th {
    background: #151d39;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

.blog-post-body tbody tr:nth-child(even) {
    background: #f6f8fb;
}

.blog-related-tool {
    background: #151d39;
    color: #fff;
    border-radius: 10px;
    padding: 22px 28px;
    margin: 30px 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.blog-related-tool p {
    color: #cdd6f4;
    font-size: 15px;
    margin: 4px 0 0;
}

.blog-related-tool h4 {
    color: #F7D720;
    font-size: 17px;
    margin: 0;
}

.blog-related-tool-btn {
    background: #F7D720;
    color: #151d39;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 7px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}

.blog-related-tool-btn:hover {
    background: #ffe066;
}

@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-post-body {
        padding: 20px 16px;
    }

    .blog-related-tool {
        flex-direction: column;
    }
}