/* ============================================================
   VulnManager page — new layout (vulnmanager.html)
   ============================================================ */

/* ---- Hero ---- */
.vm-hero {
    background: transparent;
    padding: 20px 0 0;
}
.vm-hero-inner {
    display: -webkit-flex;
    display: flex;
    align-items: center;
    gap: 56px;
}
.vm-hero-header {
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}
.vm-hero-logo-col img {
    display: block;
    width: auto;
    max-width: 350px;
    height: auto;
}
.vm-hero-text-col { flex: 1; }
.vm-hero-breadcrumb {
    font-size: 13px;
    font-weight: 700;
    color: #3c3c3a;
    margin-bottom: 14px;
}
.vm-hero-breadcrumb a { text-decoration: none; }
.vm-hero-breadcrumb a:hover { color: #fff; text-decoration: none; }
.vm-hero-breadcrumb .glyphicon { font-size: 10px; margin: 0 5px; vertical-align: middle; }
.vm-hero-text-col h1 {
    color: #1a1a2e;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
}
.vm-hero-text-col p {
    font-size: 16px;
    color: #3c3c3a;
    line-height: 1.78;
    margin-bottom: 32px;
}

/* ---- Shared button base ---- */
.vm-hero-btn,
.vm-cta-btn {
    display: inline-block;
    background: #f8485e;
    color: #fff;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s;
}
.vm-hero-btn { padding: 13px 36px; font-size: 15px; }
.vm-cta-btn  { padding: 11px 30px; font-size: 14px; align-self: flex-start; }
.vm-hero-btn:hover,
.vm-cta-btn:hover { background: #d93a4e; color: #fff; text-decoration: none; }

/* ---- Body wrapper ---- */
.vm-body { background: #fff; }

/* ---- Snapshot section ---- */
.vm-snapshot-container { padding-top: 60px; }
.vm-snapshot-grid {
    display: -webkit-flex;
    display: flex;
    gap: 20px;
    margin: 32px 0 56px;
}
.vm-snapshot-card {
    flex: 1;
    border: 1px solid #e8e8e6;
    border-top: 3px solid #f8485e;
    border-radius: 4px;
    padding: 28px 22px;
    background: #fff;
}
.vm-snapshot-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #f8485e;
    line-height: 1;
    margin-bottom: 10px;
}

/* ---- Shared section headings ---- */
.vm-caps-heading {
    font-size: 3.65rem;
    font-weight: 800;
    color: #1a1a2e;
    text-align: center;
    margin-top: 0;
    margin-bottom: 8px;
}
.vm-caps-sub { font-size: 15px; color: #666; text-align: center; margin-bottom: 40px; }

/* ---- Shared card body text ---- */
.vm-snapshot-card p,
.vm-cap-card p,
.vm-why-card p { font-size: 14px; color: #3c3c3a; line-height: 1.65; margin: 0; }

/* ---- Shared card h3 ---- */
.vm-cap-card h3,
.vm-why-card h3 { font-size: 15px; font-weight: 700; color: #1a1a2e; }
.vm-cap-card h3 { margin: 0 0 10px; }
.vm-why-card h3 { margin-bottom: 12px; }

/* ---- Feature rows ---- */
.vm-feature { padding: 60px 0; border-top: 1px solid #f0f0ee; }
.vm-feature.vm-grey { background: #f8f8f6; border-top: none; border-bottom: none; }
.vm-feature-inner {
    display: -webkit-flex;
    display: flex;
    align-items: center;
    gap: 56px;
}
.vm-feature-media { flex: 1; text-align: center; }
.vm-feature-media img { max-width: 100%; border-radius: 6px; }
.vm-feature-content { flex: 1; }
.vm-feature-content h2 {
    font-size: 3.65rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-top: 0;
    margin-bottom: 18px;
    line-height: 1.25;
}
.vm-feature-content p { font-size: 15px; color: #3c3c3a; line-height: 1.78; margin: 0; }

/* ---- Capabilities grid ---- */
.vm-caps { padding: 64px 0; background: #f8f8f6; }
.vm-cap-grid {
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.vm-cap-card {
    -webkit-flex: 1 1 calc(33.333% - 20px);
            flex: 1 1 calc(33.333% - 20px);
    min-width: 240px;
    background: #fff;
    border: 1px solid #e8e8e6;
    border-radius: 6px;
    padding: 28px 24px;
}
.vm-cap-icon {
    width: 44px;
    height: 44px;
    background: #fff0f2;
    border-radius: 50%;
    line-height: 44px;
    text-align: center;
    margin-bottom: 16px;
}
.vm-cap-icon i { color: #f8485e; font-size: 17px; }

/* ---- Why section ---- */
.vm-why { padding: 64px 0; }
.vm-why-grid {
    display: -webkit-flex;
    display: flex;
    gap: 24px;
}
.vm-why-card {
    flex: 1;
    border: 1px solid #e8e8e6;
    border-radius: 6px;
    padding: 32px 28px;
    text-align: center;
    background: #fff;
}
.vm-why-card img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 20px; }

/* ---- CTA split bar ---- */
.vm-cta {
    background: #1a1a2e;
    border-radius: 6px;
    display: -webkit-flex;
    display: flex;
    align-items: stretch;
    margin-bottom: 64px;
    overflow: hidden;
}
.vm-cta-left {
    background: #f8485e;
    padding: 36px 44px;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 230px;
}
.vm-cta-title { color: #fff; font-size: 1.35rem; font-weight: 800; margin: 0; line-height: 1.3; }
.vm-cta-sep { width: 1px; background: rgba(255,255,255,0.12); flex-shrink: 0; }
.vm-cta-right {
    padding: 36px 44px;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(rgba(26,26,46,0.78), rgba(26,26,46,0.78)),
                url('/images/backgrounds/bg_image_02.jpg') center/cover no-repeat;
}
.vm-cta-right p { color: rgba(255,255,255,0.82); font-size: 15px; line-height: 1.65; margin-bottom: 20px; }

/* ---- Automation HTML diagram ---- */
.vm-auto-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.vm-auto-row { display: flex; justify-content: center; }
.vm-auto-vbar { width: 2px; height: 24px; background: #aaa; }
.vm-auto-vbar--red { background: #f8485e; }
.vm-auto-vmlogo { height: 44px; width: auto; }
.vm-auto-box {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    line-height: 1.3;
}
.vm-auto-source { background: #e2e5ea; color: #2d2d3a; min-width: 220px; }
.vm-auto-rules  { background: #f8485e; color: #fff; min-width: 140px; }
.vm-auto-action { background: #2d2d3a; color: #fff; font-size: 12px; padding: 10px 12px; }
.vm-auto-result { background: #4a7fc1; color: #fff; min-width: 140px; }

.vm-auto-branches {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    position: relative;
    width: 100%;
}
.vm-auto-branches::before {
    content: '';
    position: absolute;
    top: 0; left: 5%; right: 5%;
    height: 2px;
    background: #f8485e;
}
.vm-auto-branches::after {
    content: '';
    position: absolute;
    bottom: 0; left: 5%; right: 5%;
    height: 2px;
    background: #aaa;
}
.vm-auto-branch-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 24px;
    position: relative;
}
.vm-auto-action {
    flex: 1;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vm-auto-branch-item::before {
    content: '';
    position: absolute;
    top: 0;
    width: 2px; height: 24px;
    background: #f8485e;
}
.vm-auto-branch-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 2px; height: 24px;
    background: #aaa;
}

/* ---- Integration HTML diagram ---- */
.vm-int-diagram {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.vm-int-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 14px 0 14px 18px;
    border-bottom: 1px solid #ebebeb;
    position: relative;
}
.vm-int-left { flex: 0 0 120px; }
.vm-int-right { flex: 1; text-align: left; }
.vm-int-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 3px;
    background: #f8485e;
    border-radius: 2px;
}
.vm-int-item:first-child { padding-top: 0; }
.vm-int-item:first-child::before { top: 0; }
.vm-int-item:last-child { border-bottom: none; padding-bottom: 0; }
.vm-int-item:last-child::before { bottom: 0; }
.vm-int-tag {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    color: #f8485e;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 3px;
}
.vm-int-tag--more { color: #1a1a2e; }
.vm-int-brand {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.1;
    margin-bottom: 3px;
}
.vm-int-brand--more { font-size: 1.4rem; color: #3c3c3a; }
.vm-int-title {
    font-size: 12px;
    font-weight: 700;
    color: #f8485e;
    margin-bottom: 2px;
    line-height: 1.3;
}
.vm-int-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* ---- Contact anchor offset ---- */
#contact { scroll-margin-top: 40px; }

/* ---- Responsive ---- */

/* Tablet */
@media (max-width: 991px) {
    .vm-hero-header { display: flex; width: 100%; }
    .vm-hero-logo-col { width: 100%; }
    .vm-hero-logo-col img { width: 100%; max-width: 100%; }
    .vm-hero-text-col h1 { white-space: normal; }
    .vm-hero-text-col p { max-width: 100%; }
    .vm-hero-btn { align-self: center; }
    .vm-snapshot-grid,
    .vm-why-grid { flex-direction: column; }
    .vm-feature-inner { flex-direction: column; gap: 32px; }
    .vm-cap-card { -webkit-flex: 1 1 calc(50% - 20px); flex: 1 1 calc(50% - 20px); }
    .vm-cta { flex-direction: column; }
    .vm-cta-left { min-width: unset; }
    .vm-cta-sep { display: none; }
}

/* Mobile */
@media (max-width: 576px) {
    .vm-auto-branches { grid-template-columns: repeat(2, 1fr); padding: 12px 0; gap: 10px; }
    .vm-auto-branches::before,
    .vm-auto-branches::after { display: none; }
    .vm-auto-branch-item { padding: 0; }
    .vm-auto-branch-item::before,
    .vm-auto-branch-item::after { display: none; }
    .vm-auto-action { min-width: 120px; }

    .vm-hero { padding: 10px 0 40px; }
    .vm-hero-text-col h1 { font-size: 1.8rem; }
    .vm-cap-card { -webkit-flex: 1 1 100%; flex: 1 1 100%; }
    .vm-snapshot-grid { gap: 12px; }
    .vm-cta-left, .vm-cta-right { padding: 28px 24px; }
}