/* ==========================================================================
   S.R. Advantech - Clean B2B Editorial Styling for SEO Landing Pages
   Enhanced with Smooth Micro-Interactions & Refined List Typography
   ========================================================================== */

.seo-page-section {
    padding: 55px 0 75px 0;
    background-color: #ffffff;
}

.seo-article {
    font-size: 16px;
    line-height: 1.85;
    color: #3a3a3a;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.seo-article p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.85;
    color: #3e3e3e;
}

.seo-article strong {
    color: #1a1a1a;
    font-weight: 700;
}

/* Smooth Interactive Links */
.seo-article a {
    color: #228cc6;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    display: inline-block;
    transition: color 0.25s ease;
}

.seo-article a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1.5px;
    bottom: 0px;
    left: 0;
    background-color: #228cc6;
    transform: scaleX(1);
    transform-origin: bottom left;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.seo-article a:hover {
    color: #126391;
    text-decoration: none;
}

.seo-article a:hover::after {
    background-color: #fbc200;
    height: 2px;
}

/* Page H1 */
.seo-article h1.article-title {
    font-size: 34px;
    font-weight: 700;
    color: #1a2e3b;
    margin-top: 0;
    margin-bottom: 24px;
    line-height: 1.3;
    padding-bottom: 16px;
    border-bottom: 2px solid #eef2f5;
    position: relative;
}

.seo-article h1.article-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 70px;
    height: 3px;
    background: #228cc6;
    border-radius: 2px;
}

/* Headings with Smooth Hover Accent */
.seo-article h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a3246;
    margin-top: 42px;
    margin-bottom: 18px;
    padding-left: 14px;
    border-left: 4px solid #228cc6;
    line-height: 1.35;
    transition: border-left-color 0.3s ease, padding-left 0.3s ease, color 0.3s ease;
}

.seo-article h2:hover {
    border-left-color: #fbc200;
    padding-left: 18px;
    color: #0f2435;
}

.seo-article h3 {
    font-size: 19px;
    font-weight: 700;
    color: #243c50;
    margin-top: 28px;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.seo-article h3:hover {
    color: #228cc6;
    transform: translateX(3px);
}

/* Document Featured Image with Smooth Hover Card Effect */
.seo-doc-image {
    text-align: center;
    margin: 30px auto 40px auto;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e6ecf1;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease;
}

.seo-doc-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(34, 140, 198, 0.12);
    border-color: #c9dfed;
}

.seo-doc-image img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    border-radius: 4px;
    transition: transform 0.4s ease;
}

.seo-doc-image:hover img {
    transform: scale(1.015);
}

/* Premium B2B Unordered Lists */
.seo-article ul {
    list-style: none;
    margin: 20px 0 28px 0;
    padding-left: 0;
}

.seo-article ul li {
    position: relative;
    padding: 10px 14px 10px 36px;
    margin-bottom: 8px;
    font-size: 15.5px;
    line-height: 1.7;
    color: #3a4149;
    background: #fbfcfd;
    border: 1px solid #edf2f6;
    border-radius: 6px;
    transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Custom Pip / Icon Marker */
.seo-article ul li::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 18px;
    width: 8px;
    height: 8px;
    background: #228cc6;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(34, 140, 198, 0.18);
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

/* Hover effect on List Item */
.seo-article ul li:hover {
    transform: translateX(6px);
    background-color: #ffffff;
    border-color: #cfe1ed;
    box-shadow: 0 4px 12px rgba(34, 140, 198, 0.08);
}

.seo-article ul li:hover::before {
    background-color: #fbc200;
    box-shadow: 0 0 0 4px rgba(251, 194, 0, 0.28);
    transform: scale(1.2);
}

/* Clean Technical Specifications Table */
.seo-table-wrap {
    margin: 30px 0 38px 0;
    border: 1px solid #dde5eb;
    border-radius: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.seo-table-wrap:hover {
    border-color: #b8d4e7;
    box-shadow: 0 6px 20px rgba(34, 140, 198, 0.08);
}

.seo-table-wrap table {
    margin-bottom: 0;
    width: 100%;
    border-collapse: collapse;
}

.seo-table-wrap thead th {
    background-color: #228cc6;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 14px 18px;
    border: none;
    text-transform: uppercase;
}

.seo-table-wrap tbody tr {
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.seo-table-wrap tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.seo-table-wrap tbody tr:hover {
    background-color: #edf5fa;
}

.seo-table-wrap tbody td {
    padding: 13px 18px;
    font-size: 15px;
    color: #333333;
    border-top: 1px solid #e8eff4;
    vertical-align: middle;
}

.seo-table-wrap tbody td:first-child {
    font-weight: 600;
    color: #1a3246;
    background-color: rgba(34, 140, 198, 0.02);
    width: 35%;
}

/* Note Callout with Smooth Hover */
.seo-note-box {
    background: #f4f8fb;
    border: 1px solid #ddeaf2;
    border-left: 4px solid #228cc6;
    padding: 16px 22px;
    border-radius: 4px;
    margin: 24px 0;
    font-size: 15px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.seo-note-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(34, 140, 198, 0.08);
}

.seo-note-box p {
    margin-bottom: 0;
}

/* Recommendation Box at Bottom */
.seo-recommend-block {
    background: #fffdf5;
    border: 1px solid #f6e6b4;
    border-left: 4px solid #fbc200;
    padding: 18px 22px;
    border-radius: 4px;
    margin-top: 35px;
    font-size: 15.5px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.seo-recommend-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(251, 194, 0, 0.15);
}

.seo-recommend-block p {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .seo-page-section {
        padding: 35px 0 50px 0;
    }
    .seo-article h1.article-title {
        font-size: 26px;
    }
    .seo-article h2 {
        font-size: 21px;
    }
    .seo-article h3 {
        font-size: 17px;
    }
    .seo-article ul li {
        padding: 8px 12px 8px 30px;
        font-size: 14.5px;
    }
    .seo-article ul li::before {
        left: 10px;
        top: 16px;
    }
}


/* ==========================================================================
   Sitemap Specific Styling
   ========================================================================== */

.sitemap-section {
    padding: 55px 0 80px 0;
    background-color: #fcfdfe;
}

.sitemap-intro {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 45px auto;
}

.sitemap-intro h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a3246;
    margin-bottom: 12px;
}

.sitemap-intro p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
}

.sitemap-category-card {
    background: #ffffff;
    border: 1px solid #e5edf3;
    border-radius: 8px;
    padding: 26px 28px;
    margin-bottom: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.sitemap-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(34, 140, 198, 0.09);
    border-color: #c5deee;
}

.sitemap-category-card .card-header-title {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #eef3f7;
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.sitemap-category-card .card-header-title .cat-icon {
    width: 42px;
    height: 42px;
    background: #eef6fb;
    color: #228cc6;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 14px;
    flex-shrink: 0;
}

.sitemap-category-card .card-header-title h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1a3246;
}

.sitemap-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.sitemap-list li {
    margin-bottom: 10px;
}

.sitemap-list li:last-child {
    margin-bottom: 0;
}

.sitemap-list a {
    display: flex;
    align-items: center;
    padding: 9px 14px;
    background: #fbfcfd;
    border: 1px solid #edf2f6;
    border-radius: 6px;
    color: #333333;
    text-decoration: none !important;
    font-size: 14.5px;
    font-weight: 500;
    transition: all 0.22s ease;
}

.sitemap-list a i {
    color: #228cc6;
    margin-right: 10px;
    font-size: 13px;
    transition: transform 0.22s ease, color 0.22s ease;
}

.sitemap-list a:hover {
    background: #ffffff;
    border-color: #228cc6;
    color: #228cc6;
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(34, 140, 198, 0.08);
}

.sitemap-list a:hover i {
    color: #fbc200;
    transform: translateX(2px);
}
