:root {
    --srv1-primary: #2a62fe;
    --srv1-dark: #03063a;
    --srv1-text: #03063a;
    --srv1-muted: #616a72;
    --srv1-border: #e6e8ec;
    --srv1-bg: #ffffff;
    --srv1-radius-lg: 24px;
    --srv1-radius-md: 18px;
}

.srv1-blog-detail-wrapper {
    padding: 56px 0 80px;
    background-color: var(--srv1-bg);
    color: var(--srv1-text);
    font-family: "Firago", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.mt-35 {margin-top:45px;}
/* HERO */

.srv1-blog-detail-hero {
    margin-bottom: 32px;
    padding: 28px 24px 24px;
    border-radius: var(--srv1-radius-lg);
    background:
        radial-gradient(circle at top left, rgba(42, 98, 254, 0.26), transparent 55%),
        radial-gradient(circle at bottom right, rgba(3, 6, 58, 0.94), rgba(3, 6, 58, 0.98));
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.srv1-blog-detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 60%);
    pointer-events: none;
}

.srv1-blog-detail-hero-text {
    position: relative;
    z-index: 2;
}

.srv1-blog-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(3, 6, 58, 0.7);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #e5ebff;
    margin-bottom: 10px;
}

.srv1-blog-detail-title {
    margin: 0 0 10px;
    font-size: clamp(26px, 3vw, 32px);
    font-weight: 700;
    color: #ffffff;
}

.srv1-blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 12px;
    color: rgba(223, 231, 255, 0.9);
    margin-bottom: 12px;
}

.srv1-blog-detail-meta-dot {
    opacity: 0.7;
}

.srv1-blog-detail-intro {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(233, 239, 255, 0.95);
}

.srv1-blog-detail-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.srv1-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.18s ease-out;
    white-space: nowrap;
}

.srv1-btn-primary {
    background: #2a62fe;
    border-color: #2a62fe;
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(42, 98, 254, 0.35);
}

.srv1-btn-primary:hover {
    background: #234fd0;
    border-color: #234fd0;
    box-shadow: 0 14px 34px rgba(42, 98, 254, 0.45);
    transform: translateY(-1px);
}

.srv1-btn-ghost {
    background: rgba(3, 6, 58, 0.32);
    border-color: rgba(255, 255, 255, 0.18);
    color: #e5ebff;
}

.srv1-btn-ghost:hover {
    background: rgba(3, 6, 58, 0.6);
    border-color: rgba(255, 255, 255, 0.24);
    transform: translateY(-1px);
}

/* HERO VISUAL */

.srv1-blog-detail-hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
}

.srv1-blog-detail-svg {
    max-width: 220px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.35));
}

.srv1-blog-detail-card {
    stroke-linejoin: round;
    stroke-linecap: round;
}

.srv1-blog-detail-dot {
    fill: #2a62fe;
    filter: drop-shadow(0 0 6px rgba(42, 98, 254, 0.7));
    animation: srv1-detail-dot 4.4s ease-in-out infinite;
}

.srv1-blog-detail-dot--2 {
    animation-delay: 0.8s;
}
.srv1-blog-detail-dot--3 {
    animation-delay: 1.4s;
}

.srv1-blog-detail-node {
    fill: none;
    stroke: #2a62fe;
    stroke-width: 1.4;
    stroke-dasharray: 2 2;
    animation: srv1-detail-node 3.8s ease-in-out infinite;
}

.srv1-blog-detail-link {
    stroke-linecap: round;
    animation: srv1-detail-link 4.2s linear infinite;
}

.srv1-blog-detail-link--delay {
    animation-delay: 1.1s;
}

.srv1-blog-detail-link--slow {
    animation-duration: 6s;
}

/* BODY */

.srv1-blog-detail-body-row {
    margin-top: 10px;
}

/* ARTICLE */

.srv1-blog-article {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--srv1-border);
    box-shadow: 0 10px 32px rgba(14, 22, 74, 0.06);
    padding: 18px 18px 22px;
}

.srv1-blog-article-cover {
    margin: 0 0 18px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #edf0f6;
}

.srv1-blog-article-cover img {
    width: 100%;
    display: block;
    max-height: 340px;
    object-fit: cover;
}

.srv1-blog-article-content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--srv1-text);
}

.srv1-blog-article-content h2,
.srv1-blog-article-content h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.srv1-blog-article-content h2 {
    font-size: 22px;
}

.srv1-blog-article-content h3 {
    font-size: 18px;
}

.srv1-blog-article-content p {
    margin-bottom: 12px;
    color: var(--srv1-muted);
}

.srv1-blog-article-content ul {
    padding-left: 20px;
    margin-bottom: 14px;
}

.srv1-blog-article-content li {
    margin-bottom: 6px;
}

/* BOTTOM CTA */

.srv1-blog-article-bottom-cta {
    margin-top: 24px;
    padding: 16px 16px 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(42, 98, 254, 0.08), rgba(3, 6, 58, 0.02));
    border: 1px dashed rgba(42, 98, 254, 0.4);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.srv1-blog-article-bottom-cta-text h3 {
    margin: 0 0 4px;
    font-size: 18px;
    color: var(--srv1-dark);
}

.srv1-blog-article-bottom-cta-text p {
    margin: 0;
    font-size: 13px;
    color: var(--srv1-muted);
}

.srv1-blog-article-bottom-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* SIDEBAR */

.srv1-blog-sidebar {
    position: relative;
}

.srv1-blog-sidebar-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--srv1-border);
    padding: 16px 16px 14px;
    margin-bottom: 16px;
    box-shadow: 0 10px 32px rgba(14, 22, 74, 0.04);
}

.srv1-blog-sidebar-card h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
}

.srv1-blog-sidebar-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.srv1-blog-sidebar-card li + li {
    margin-top: 6px;
}

.srv1-blog-sidebar-card a {
    font-size: 13px;
    color: var(--srv1-muted);
    text-decoration: none;
}

.srv1-blog-sidebar-card a:hover {
    color: var(--srv1-primary);
}

/* NOT FOUND */

.srv1-blog-not-found {
    text-align: center;
    padding: 40px 20px 60px;
}

.srv1-blog-not-found h1 {
    font-size: 24px;
    margin-bottom: 8px;
}

.srv1-blog-not-found p {
    font-size: 14px;
    color: var(--srv1-muted);
    margin-bottom: 16px;
}

/* ANIMATIONS */

@keyframes srv1-detail-dot {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

@keyframes srv1-detail-node {
    0%, 100% {
        stroke-opacity: 0.7;
        transform: scale(1);
    }
    50% {
        stroke-opacity: 1;
        transform: scale(1.06);
    }
}

@keyframes srv1-detail-link {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -40;
    }
}

/* RESPONSIVE */

@media (max-width: 991.98px) {
    .srv1-blog-detail-hero {
        padding: 20px 18px 18px;
    }

    .srv1-blog-article {
        margin-bottom: 20px;
    }
}

@media (max-width: 575.98px) {
    .srv1-blog-detail-wrapper {
        padding-top: 40px;
        padding-bottom: 56px;
    }

    .srv1-blog-article-cover img {
        max-height: 260px;
    }

    .srv1-blog-article-bottom-cta {
        align-items: flex-start;
    }
}

/* --- Sidebar tuning just for blog detail --- */
.srv1-blog-sidebar-card--services .srv1-blog-sidebar-sub {
    font-size: 0.85rem;
    color: #8a93a5;
    margin-bottom: 0.75rem;
}

.srv1-blog-sidebar-card--services .dd-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.srv1-blog-sidebar-card--services .dd-grid > div {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.srv1-blog-sidebar-card--services .dd-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.9rem;
    background: #05093f;
    border: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
    transition: all .18s ease-out;
}

.srv1-blog-sidebar-card--services .dd-item:hover {
    border-color: #2a62fe;
    box-shadow: 0 6px 18px rgba(3,6,58,0.48);
    transform: translateY(-1px);
}

.srv1-blog-sidebar-card--services .dd-icon img {
    width: 28px;
    height: 28px;
}

.srv1-blog-sidebar-card--services .dd-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.srv1-blog-sidebar-card--services .dd-desc {
    font-size: 0.8rem;
    color: #aab1c5;
}

/* Related posts */
.srv1-related-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.srv1-related-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.9rem;
    background: #05093f;
    border: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
    transition: all .18s ease-out;
}

.srv1-related-item:hover {
    border-color: #2a62fe;
    box-shadow: 0 6px 18px rgba(3,6,58,0.48);
    transform: translateY(-1px);
}

.srv1-related-thumb {
    flex: 0 0 60px;
    max-width: 60px;
    border-radius: 0.6rem;
    overflow: hidden;
}

.srv1-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.srv1-related-body {
    flex: 1;
    min-width: 0;
}

.srv1-related-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.srv1-related-excerpt {
    font-size: 0.8rem;
    color: #aab1c5;
    margin-bottom: 0.25rem;
}

.srv1-related-date {
    font-size: 0.75rem;
    color: #7a8194;
}