/* ============================================================
Volarence Case Studies — Stylesheet
Colors: Navy #0a1f44  |  Sky Blue #1b6ca8  |  Gold #e6a817
============================================================ */

/* ------ RESET / BASE ------ */
.vcs-archive-wrap *, .vcs-single-wrap * { box-sizing: border-box; }

/* ------ CONTAINER ------ */
.vcs-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
}
.ast-container {
    max-width: 100%;
    padding:0px;
}
.vcs-archive-wrap, .vcs-single-wrap {
    width: 100%;
}
.vcs-hero, .vcs-single-hero {
    background: linear-gradient(135deg, #0a1f44 0%, #1b6ca8 100%);
    padding:180px 30px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.vcs-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.vcs-hero__inner { position: relative; z-index: 1; }
.vcs-hero__sub {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #e6a817;
    margin: 0 0 12px;
    font-weight: 600;
}
.vcs-hero__title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px;
    line-height: 1.15;
}
.vcs-hero__desc {
    font-size: 17px;
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.vcs-filter-bar {
    margin: 40px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.vcs-filter-label {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    font-weight: 700;
    margin-bottom: 8px;
}
.vcs-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.vcs-pill {
    padding: 7px 18px;
    border-radius: 50px;
    border: 2px solid #dde3ed;
    background: #fff;
    color: #444;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}
.vcs-pill:hover {
    border-color: #1b6ca8;
    color: #1b6ca8;
}
.vcs-pill.active {
    background: #1b6ca8;
    border-color: #1b6ca8;
    color: #fff;
    font-weight: 700;
}

.vcs-count {
    font-size: 13px;
    color: #888;
    margin: 0 0 28px;
    border-bottom: 1px solid #eee;
    padding-bottom: 16px;
}

.vcs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}
@media (max-width: 900px)  { .vcs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .vcs-grid { grid-template-columns: 1fr; gap: 20px; } }

.vcs-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: #888;
    font-size: 16px;
}

.vcs-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(10,31,68,.07);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}
.vcs-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(10,31,68,.14);
}
.vcs-card__link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.vcs-card__image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1f44, #1b6ca8);
}
.vcs-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.vcs-card:hover .vcs-card__image img { transform: scale(1.05); }
.vcs-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vcs-card__placeholder svg { width: 64px; height: 48px; }
.vcs-card__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e6a817;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.vcs-card__body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.vcs-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #0a1f44;
    margin: 0 0 10px;
    line-height: 1.4;
}
.vcs-card__meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #777;
    margin: 0 0 10px;
}
.vcs-card__excerpt {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 14px;
    flex: 1;
}
.vcs-card__industries {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}
.vcs-badge {
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 4px;
    background: #eef3f9;
    color: #1b6ca8;
    font-weight: 600;
    border: 1px solid #c8d9ed;
}
.vcs-card__cta {
    font-size: 13px;
    font-weight: 700;
    color: #1b6ca8;
    margin-top: auto;
    transition: color .2s;
}
.vcs-card:hover .vcs-card__cta { color: #e6a817; }

.vcs-spinner {
    text-align: center;
    padding: 40px 0;
}
.vcs-spinner__ring {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #eee;
    border-top-color: #1b6ca8;
    border-radius: 50%;
    animation: vcs-spin .7s linear infinite;
}
@keyframes vcs-spin { to { transform: rotate(360deg); } }
.vcs-single-hero__inner { max-width: 820px;margin: 0px auto; }
.vcs-back-link {
    display: inline-block;
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color .2s;
}
.vcs-back-link:hover { color: #e6a817; }
.vcs-single-tag {
    display: inline-block;
    background: #e6a817;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.vcs-single-hero__title {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.2;
}
.vcs-single-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}
.vcs-single-featured { padding: 32px 0 0; }
.vcs-single-featured__img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}
.vcs-stats-bar {
    display: flex;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    margin: 36px 0;
    background: linear-gradient(90deg, #0a1f44, #1b6ca8);
}
.vcs-stat {
    flex: 1;
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.vcs-stat:last-child { border-right: none; }
.vcs-stat__num {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #e6a817;
    line-height: 1;
}
.vcs-stat__label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-top: 6px;
    letter-spacing: .5px;
    text-transform: uppercase;
}
@media (max-width: 600px) { 
    .vcs-stats-bar { flex-direction: column; } 
    .vcs-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); } 
}

.vcs-single-body { padding-top:40px;padding-bottom: 60px; }
.vcs-single-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}
@media (max-width: 860px) { .vcs-single-layout { grid-template-columns: 1fr; } }

.vcs-section {
    display: flex;
    gap: 18px;
    margin-bottom: 32px;
    padding: 28px;
    background: #f7f9fc;
    border-radius: 10px;
    border-left: 4px solid #1b6ca8;
}
.vcs-section--result { border-left-color: #27ae60; background: #f0faf4; }
.vcs-section__icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}
.vcs-section__heading {
    font-size: 18px;
    font-weight: 700;
    color: #0a1f44;
    margin: 0 0 10px;
}
.vcs-section__text {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    margin: 0;
}
.vcs-single-content {
    font-size: 15px;
    color: #444;
    line-height: 1.8;
}
.vcs-single-content h2, .vcs-single-content h3 { color: #0a1f44; }
.vcs-sidebar-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(10,31,68,.09);
    overflow: hidden;
    margin-bottom: 20px;
}
.vcs-sidebar-card__title {
    background: #0a1f44;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 14px 20px;
    margin: 0;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.vcs-sidebar-row {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 8px;
    align-items: start;
}
.vcs-sidebar-row:last-child { border-bottom: none; }
.vcs-sidebar-row__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #999;
    font-weight: 700;
    padding-top: 2px;
}
.vcs-sidebar-row__val { font-size: 13px; color: #333; font-weight: 600; }

/* CTA card */
.vcs-sidebar-cta {
    background: linear-gradient(135deg, #0a1f44, #1b6ca8);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    color: #fff;
}
.vcs-sidebar-cta h3 { margin: 0 0 8px; font-size: 16px; }
.vcs-sidebar-cta p  { margin: 0 0 18px; font-size: 13px; color: rgba(255,255,255,0.75); }
.vcs-btn-primary {
    display: inline-block;
    background: #e6a817;
    color: #fff;
    text-decoration: none;
    padding: 11px 24px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    transition: background .2s;
}
.vcs-btn-primary:hover { background: #cf9210; color: #fff; }

.vcs-related {
    background: #f5f7fb;
    padding:40px 0px 0px; 
}
.vcs-related__heading {
    font-size: 24px;
    font-weight: 800;
    color: #0a1f44;
    margin: 0 0 28px;
}
.vcs-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .vcs-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .vcs-grid--3 { grid-template-columns: 1fr; } }
@media (max-width: 1366px){
    .vcs-container{
        padding: 0px 30px;
    }
    .vcs-single-body { padding-top:20px;padding-bottom: 20px; }
}
@media (max-width: 767px){
    .vcs-container{
        padding: 0px 20px;
    }

}