/* =================================================================
   Rope Tech India — Professional Blog Article Styling
   Scoped to .service-details so it only affects blog article pages.
   Visual layer only — does not change any content.
   Brand: #E8500A (orange) · #3b140b (dark brown) · #f0c000 (gold)
   ================================================================= */

:root {
    --rt-orange: #E8500A;
    --rt-orange-dark: #c9430a;
    --rt-brown: #3b140b;
    --rt-gold: #f0c000;
    --rt-ink: #1f2937;
    --rt-body: #475569;
    --rt-line: #e8eaed;
    --rt-soft: #f8f9fb;
}

/* ---------- Content column rhythm ---------- */
.service-details .blog-content .text {
    font-size: 17px;
    line-height: 1.85;
    color: var(--rt-body);
}

.service-details .blog-content .text p {
    margin-bottom: 1.15rem;
    color: var(--rt-body);
    text-align: justify;
}

.service-details .blog-content .text strong {
    color: var(--rt-ink);
    font-weight: 700;
}

.service-details .blog-content .text a {
    color: var(--rt-orange);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(232, 80, 10, .35);
    transition: color .2s ease, border-color .2s ease;
}

.service-details .blog-content .text a:hover {
    color: var(--rt-orange-dark);
    border-bottom-color: var(--rt-orange-dark);
}

/* ---------- Feature image ---------- */
.service-details .pbmit-service-feature-image > img {
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .12);
    margin-bottom: 8px;
}

/* ---------- Author byline ---------- */
.service-details .blog-author-byline {
    align-items: center !important;
    gap: 12px !important;
    padding: 16px 0 18px !important;
    margin-bottom: 22px !important;
    border-bottom: 1px solid var(--rt-line);
    font-size: 14.5px !important;
    color: #6b7280 !important;
}

.service-details .blog-author-byline strong {
    color: var(--rt-brown);
}

.service-details .blog-author-byline span:nth-child(2) {
    color: var(--rt-line);
}

.service-details .blog-author-byline time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ---------- Headings ---------- */
.service-details .blog-content .text h2,
.service-details .blog-content .text h3,
.service-details .blog-content .text h4 {
    color: var(--rt-brown);
    font-weight: 700;
    letter-spacing: -.01em;
    scroll-margin-top: 120px;
}

.service-details .blog-content .text h2 {
    font-size: 30px;
    margin: 38px 0 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--rt-line);
    position: relative;
}

.service-details .blog-content .text h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 64px;
    height: 2px;
    background: var(--rt-orange);
}

.service-details .blog-content .text h3 {
    font-size: 25px !important;
    margin: 34px 0 14px !important;
    padding-left: 16px;
    position: relative;
}

.service-details .blog-content .text h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: .18em;
    bottom: .18em;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--rt-orange), var(--rt-gold));
}

.service-details .blog-content .text h4 {
    font-size: 19px !important;
    margin: 24px 0 10px !important;
    color: var(--rt-ink);
    padding-left: 30px;
    position: relative;
}

.service-details .blog-content .text h4::before {
    content: "\f054";
    font-family: "Font Awesome 7 Pro", "FontAwesome";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(232, 80, 10, .1);
    color: var(--rt-orange);
    font-size: 11px;
}

/* ---------- Body lists ---------- */
.service-details .blog-content .text > ul,
.service-details .blog-content .text > ul ul,
.service-details .blog-content .text h3 + ul,
.service-details .blog-content .text h4 + ul,
.service-details .blog-content .text p + ul {
    list-style: none;
    padding-left: 0;
    margin: 8px 0 22px;
}

.service-details .blog-content .text ul:not(.key-takeaways ul) li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 11px;
    color: var(--rt-body);
}

.service-details .blog-content .text ul:not(.key-takeaways ul) li::before {
    content: "\f00c";
    font-family: "Font Awesome 7 Pro", "FontAwesome";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 12px;
    color: var(--rt-orange);
    background: rgba(232, 80, 10, .1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ---------- Key Takeaways card ---------- */
.service-details .key-takeaways {
    background: linear-gradient(135deg, #fff7ef 0%, #fdf3e3 100%);
    border: 1px solid #f3dcc2;
    border-left: 5px solid var(--rt-orange);
    padding: 30px 32px;
    margin: 30px 0 36px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(232, 80, 10, .07);
}

.service-details .key-takeaways h3 {
    font-size: 22px !important;
    margin: 0 0 18px !important;
    padding: 0 0 0 34px !important;
    color: var(--rt-brown);
    position: relative;
}

.service-details .key-takeaways h3::before {
    content: "\f0eb";
    font-family: "Font Awesome 7 Pro", "FontAwesome";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--rt-orange);
}

.service-details .key-takeaways ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-details .key-takeaways li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    color: var(--rt-ink);
    line-height: 1.65;
}

.service-details .key-takeaways li:last-child {
    margin-bottom: 0;
}

.service-details .key-takeaways li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--rt-orange);
    font-size: 19px;
}

/* ---------- FAQ accordion ---------- */
.service-details .faq-section {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-details .faq-section .accordion-item {
    border: 1px solid var(--rt-line);
    border-radius: 12px !important;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .04);
    transition: box-shadow .25s ease, border-color .25s ease;
}

.service-details .faq-section .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: rgba(232, 80, 10, .4);
    box-shadow: 0 10px 26px rgba(232, 80, 10, .1);
}

.service-details .faq-section .accordion-header {
    margin: 0;
}

.service-details .faq-section .accordion-button {
    font-size: 17px;
    font-weight: 600;
    color: var(--rt-brown);
    background: #fff;
    padding: 18px 56px 18px 22px;
    box-shadow: none !important;
    position: relative;
}

.service-details .faq-section .accordion-button:not(.collapsed) {
    color: var(--rt-orange);
    background: #fff8f3;
}

.service-details .faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.service-details .faq-section .accordion-button::after {
    content: "\2b";
    font-family: "Font Awesome 7 Pro", "FontAwesome";
    font-weight: 900;
    background: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(232, 80, 10, .1);
    color: var(--rt-orange);
    font-size: 13px;
    transition: transform .25s ease, background-color .25s ease;
}

.service-details .faq-section .accordion-button:not(.collapsed)::after {
    content: "\f068";
    background-color: var(--rt-orange);
    color: #fff;
    transform: translateY(-50%);
}

.service-details .faq-section .accordion-body {
    padding: 4px 22px 20px;
    font-size: 15.5px;
    line-height: 1.8;
    color: var(--rt-body);
}

/* ---------- Hashtags ---------- */
.service-details .blog-hastag {
    margin-top: 44px;
    padding-top: 26px;
    border-top: 1px solid var(--rt-line);
}

.service-details .tag-title span {
    background: var(--rt-soft);
    border: 1px solid var(--rt-line);
    border-radius: 50px;
    color: #475569;
    font-size: 13.5px;
    font-weight: 500;
    padding: 7px 16px;
    margin: 4px 6px 4px 0;
    display: inline-block;
    transition: all .22s ease;
}

.service-details .tag-title span:hover {
    background: var(--rt-orange);
    border-color: var(--rt-orange);
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- TOC sidebar polish ---------- */
.service-details .toc-wrapper {
    border-radius: 14px !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
    overflow: hidden;
}

.service-details .toc-title {
    background: var(--rt-brown) !important;
    border-radius: 0 !important;
    font-size: 19px !important;
    letter-spacing: .2px;
}

.service-details .toc-item.active {
    background: var(--rt-orange) !important;
    border-left-color: var(--rt-brown) !important;
}

.service-details .toc-item:hover::before,
.service-details .toc-item.active::before {
    color: var(--rt-orange);
}

.service-details .toc-item.active::before {
    color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .service-details .blog-content .text {
        font-size: 16px;
    }

    .service-details .blog-content .text h2 {
        font-size: 25px;
    }

    .service-details .blog-content .text h3 {
        font-size: 21px !important;
    }

    .service-details .key-takeaways {
        padding: 24px 20px;
    }

    .service-details .faq-section .accordion-button {
        font-size: 15.5px;
        padding: 16px 50px 16px 18px;
    }
}
