/* Ainiseo inner-page visual layer for trx.ainiseo.com */
body.trx-inner {
    background: #f3f6f8;
    color: #2c3e4d;
}

body.trx-inner main#mainContent {
    width: 100%;
    max-width: 1120px;
    margin: 28px auto 42px;
    padding: 0 20px;
    box-sizing: border-box;
}

body.trx-inner main#mainContent.trx-single {
    max-width: 980px;
}

body.trx-inner .faq {
    background: transparent;
}

body.trx-inner .faqDiv {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e4ebef;
    border-radius: 18px;
    padding: 32px 38px 36px;
    box-shadow: 0 12px 34px rgba(24, 54, 76, .065);
}

body.trx-inner main#mainContent.trx-single .faqDiv {
    padding: 38px 50px 42px;
}

body.trx-inner main#mainContent.trx-single .faqDiv > h3 {
    display: inline-flex;
    align-items: center;
    width: auto;
    margin: 0 0 15px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #edf8f3;
    color: #0d7a5f;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
}

body.trx-inner .faqTitle {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

body.trx-inner .faqTitle img {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-top: 5px;
    opacity: .62;
}

body.trx-inner .faqTitle h1 {
    margin: 0;
    color: #152c3b;
    font-size: 32px;
    line-height: 1.42;
    font-weight: 700;
    letter-spacing: .005em;
}

body.trx-inner .trx-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 14px 0 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf1f4;
    color: #74889a;
    font-size: 13px;
    line-height: 1.6;
}

body.trx-inner .trx-article-meta span {
    display: inline-flex;
    align-items: center;
}

body.trx-inner .trx-article-meta span + span::before {
    content: "";
    width: 3px;
    height: 3px;
    margin-right: 18px;
    border-radius: 50%;
    background: #b6c5d1;
}

body.trx-inner main#mainContent.trx-single .faqItem p {
    margin: 0 0 18px;
    color: #33495a;
    font-size: 16.5px;
    line-height: 1.95;
    text-align: justify;
    text-justify: inter-ideograph;
    word-break: break-word;
}

body.trx-inner main#mainContent.trx-single .faqItem > p {
    font-size: 17px;
}

body.trx-inner main#mainContent.trx-single .faqItem h2 {
    margin: 38px 0 15px;
    padding-left: 13px;
    border-left: 4px solid #0f8a6a;
    color: #172f40;
    font-size: 23px;
    line-height: 1.5;
    font-weight: 700;
}

body.trx-inner main#mainContent.trx-single .faqItem h3 {
    margin: 27px 0 11px;
    color: #1e3a4d;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 700;
}

body.trx-inner main#mainContent.trx-single .faqItem h2,
body.trx-inner main#mainContent.trx-single .faqItem h3 {
    scroll-margin-top: 92px;
}

body.trx-inner main#mainContent.trx-single .faqItem strong {
    color: #18394c;
    font-weight: 700;
}

body.trx-inner main#mainContent.trx-single .faqItem a {
    color: #0d8064;
    text-decoration: none;
    border-bottom: 1px solid rgba(13, 128, 100, .28);
    transition: color .18s ease, border-color .18s ease;
}

body.trx-inner main#mainContent.trx-single .faqItem a:hover {
    color: #09634d;
    border-bottom-color: #09634d;
}

body.trx-inner main#mainContent.trx-single .faqItem ul,
body.trx-inner main#mainContent.trx-single .faqItem ol {
    margin: 0 0 20px;
    padding-left: 24px;
    color: #33495a;
}

body.trx-inner main#mainContent.trx-single .faqItem li {
    margin: 8px 0;
    line-height: 1.85;
}

body.trx-inner main#mainContent.trx-single .faqItem table {
    width: 100%;
    margin: 24px 0;
    border: 1px solid #e1e9ee;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    font-size: 14.5px;
}

body.trx-inner main#mainContent.trx-single .faqItem th,
body.trx-inner main#mainContent.trx-single .faqItem td {
    padding: 11px 13px;
    border-top: 1px solid #e8eef2;
    border-left: 1px solid #e8eef2;
    vertical-align: top;
    text-align: left;
    line-height: 1.7;
}

body.trx-inner main#mainContent.trx-single .faqItem th:first-child,
body.trx-inner main#mainContent.trx-single .faqItem td:first-child {
    border-left: 0;
}

body.trx-inner main#mainContent.trx-single .faqItem thead th {
    border-top: 0;
    background: #f2f8f5;
    color: #1d4437;
    font-weight: 700;
}

body.trx-inner main#mainContent.trx-single .faqItem tbody tr:nth-child(even) {
    background: #fbfcfd;
}

body.trx-inner main#mainContent.trx-single .faqItem tbody tr:hover {
    background: #f5faf8;
}

body.trx-inner main#mainContent.trx-single .faqItem img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

body.trx-inner main#mainContent.trx-single .faqItem div[style*="border-left"] {
    margin-top: 32px !important;
    padding: 20px 22px !important;
    border-left: 4px solid #0f8a6a !important;
    border-radius: 12px !important;
    background: #f6faf8 !important;
}

body.trx-inner main#mainContent.trx-single .faqItem div[style*="border-left"] p {
    color: #4f6475;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
}

body.trx-inner .pages {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid #edf1f4;
}

body.trx-inner .pages a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #e1e9ee;
    border-radius: 9px;
    background: #fff;
    color: #456;
    font-size: 14px;
    text-decoration: none;
}

body.trx-inner .pages a:hover {
    border-color: #0f8a6a;
    color: #0f8a6a;
}

body.trx-inner .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 30px 0 2px;
    padding: 0;
    list-style: none;
}

body.trx-inner .pagination li {
    list-style: none;
}

body.trx-inner .pagination a,
body.trx-inner .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 11px;
    border: 1px solid #e1e9ee;
    border-radius: 9px;
    background: #fff;
    color: #516679;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
}

body.trx-inner .pagination .now-page {
    background: #0f8a6a;
    border-color: #0f8a6a;
    color: #fff;
}

body.trx-inner .pagination a:hover {
    border-color: #0f8a6a;
    color: #0f8a6a;
}

body.trx-inner main#mainContent.trx-catalog .faqDiv > h1.faq-cat-title {
    margin: 0 0 10px;
    color: #172f40;
    font-size: 30px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: .01em;
}

body.trx-inner main#mainContent.trx-catalog .faqDiv > h1.faq-cat-title::after {
    content: "";
    display: block;
    width: 46px;
    height: 3px;
    margin-top: 12px;
    border-radius: 2px;
    background: #0f8a6a;
}

body.trx-inner main#mainContent.trx-catalog .faqDiv > a {
    display: block;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid #edf1f4;
}

body.trx-inner main#mainContent.trx-catalog .faqDiv > a:last-of-type {
    border-bottom: 0;
}

body.trx-inner main#mainContent.trx-catalog .faqItem {
    padding: 22px 0;
    transition: transform .18s ease;
}

body.trx-inner main#mainContent.trx-catalog .faqDiv > a:hover .faqItem {
    transform: translateX(2px);
}

body.trx-inner main#mainContent.trx-catalog .faqTitle h4 {
    margin: 0;
    color: #233e51;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 700;
    transition: color .18s ease;
}

body.trx-inner main#mainContent.trx-catalog .faqDiv > a:hover .faqTitle h4 {
    color: #0f8a6a;
}

body.trx-inner main#mainContent.trx-catalog .faqItem p {
    margin: 8px 0 0;
    color: #617487;
    font-size: 14.5px;
    line-height: 1.82;
}

@media (max-width: 820px) {
    body.trx-inner main#mainContent {
        margin: 16px auto 28px;
        padding: 0 12px;
    }

    body.trx-inner .faqDiv {
        padding: 24px 20px 26px !important;
        border-radius: 14px;
    }

    body.trx-inner main#mainContent.trx-single .faqDiv {
        padding: 26px 20px 28px !important;
    }

    body.trx-inner .faqTitle h1 {
        font-size: 25px;
        line-height: 1.5;
    }

    body.trx-inner .faqTitle img {
        width: 20px;
        height: 20px;
        margin-top: 4px;
    }

    body.trx-inner .trx-article-meta {
        gap: 5px 12px;
        margin: 12px 0 22px;
        font-size: 12px;
    }

    body.trx-inner .trx-article-meta span + span::before {
        margin-right: 12px;
    }

    body.trx-inner main#mainContent.trx-single .faqItem p {
        font-size: 16px;
        line-height: 1.87;
        text-align: left;
    }

    body.trx-inner main#mainContent.trx-single .faqItem > p {
        font-size: 16.5px;
    }

    body.trx-inner main#mainContent.trx-single .faqItem h2 {
        margin: 30px 0 12px;
        font-size: 20px;
    }

    body.trx-inner main#mainContent.trx-single .faqItem h3 {
        margin: 23px 0 9px;
        font-size: 17px;
    }

    body.trx-inner main#mainContent.trx-single .faqItem table {
        display: block;
        overflow-x: auto;
        font-size: 13px;
        white-space: nowrap;
    }

    body.trx-inner main#mainContent.trx-single .faqItem th,
    body.trx-inner main#mainContent.trx-single .faqItem td {
        padding: 9px 10px;
    }

    body.trx-inner main#mainContent.trx-catalog .faqDiv > h1.faq-cat-title {
        font-size: 24px;
    }

    body.trx-inner main#mainContent.trx-catalog .faqItem {
        padding: 18px 0;
    }

    body.trx-inner main#mainContent.trx-catalog .faqTitle h4 {
        font-size: 17px;
    }

    body.trx-inner main#mainContent.trx-catalog .faqItem p {
        font-size: 14px;
        line-height: 1.75;
    }

    body.trx-inner .pagination a,
    body.trx-inner .pagination span {
        min-width: 34px;
        height: 34px;
        padding: 0 9px;
        font-size: 13px;
    }
}
