/**
 * Case Study Template 02 — shortcode [atg_case_study_02]
 * Standalone styles (base layout + template 02 overrides).
 */

.atg-calico-cs {
    width: 100%;
    box-sizing: border-box;
    color: #111;
    font-family: inherit;
}

.atg-calico-cs__shell {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
}

/* Hero */
.atg-calico-cs__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 32px;
    align-items: start;
    padding: 40px 0 48px;
}

.atg-calico-cs__eyebrow {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #007c51;
}

.atg-calico-cs__title {
    margin: 0 0 26px;
    font-size: clamp(32px, 3.2vw, 40px);
    font-weight: 800;
    line-height: 1.08;
    color: #111;
}

.atg-calico-cs__subtitle {
    margin: 0 0 22px;
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 600;
    line-height: 1.25;
    color: #333;
}

.atg-calico-cs__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    margin: 0 0 4px 0;
    padding: 6px 0;
    list-style: none;
}

.atg-calico-cs__meta-item {
    margin: 0;
    font-size: 15px;
    line-height: 1.85;
    color: #444;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.atg-calico-cs__meta-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #007c51;
}

.atg-calico-cs__meta-value {
    font-weight: 600;
    color: #111;
}

.atg-calico-cs__hero-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.atg-calico-cs__hero-secondary {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #e8eaed;
    aspect-ratio: 4 / 3;
}

.atg-calico-cs__hero-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.atg-calico-cs__hero-promo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 28px 24px 32px;
    border-radius: 12px;
    background: #007c51;
    color: #fff;
    text-align: center;
    box-sizing: border-box;
}

.atg-calico-cs__hero-promo-title {
    margin: 0;
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
}

.atg-calico-cs__hero-promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 260px;
    min-height: 48px;
    padding: 10px 18px;
    border: 2px solid #fff;
    border-radius: 4px;
    background: transparent;
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    box-sizing: border-box;
    transition: background 0.15s ease, color 0.15s ease;
}

.atg-calico-cs__hero-promo-btn:hover,
.atg-calico-cs__hero-promo-btn:focus-visible {
    background: #fff;
    color: #007c51 !important;
    text-decoration: none;
    outline: none;
}

.atg-calico-cs__hero-media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #e8eaed;
    display: flex;
    flex-direction: column;
}

/* Hero gallery — main preview + thumbnails */
.atg-calico-cs__hero-gallery-main {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #e8eaed;
}

.atg-calico-cs__hero-gallery-main-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.atg-calico-cs__hero-gallery-main-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.atg-calico-cs__hero-gallery-main-slide[hidden] {
    display: none;
}

.atg-calico-cs__hero-gallery-zoom {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    position: relative;
}

.atg-calico-cs__hero-gallery-zoom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.atg-calico-cs__hero-gallery-zoom-hint {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.atg-calico-cs__hero-gallery-zoom:hover .atg-calico-cs__hero-gallery-zoom-hint,
.atg-calico-cs__hero-gallery-zoom:focus-visible .atg-calico-cs__hero-gallery-zoom-hint {
    opacity: 1;
}

.atg-calico-cs__hero-gallery-arrows {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 4;
}

.atg-calico-cs__hero-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    box-sizing: border-box;
    flex: none;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.15s ease;
    z-index: 2;
}

.atg-calico-cs__hero-gallery-nav span {
    display: block;
    line-height: 1;
    margin-top: -2px;
}

.atg-calico-cs__hero-gallery-nav--prev {
    left: 14px;
}

.atg-calico-cs__hero-gallery-nav--next {
    right: 14px;
}

.atg-calico-cs__hero-gallery-nav:hover,
.atg-calico-cs__hero-gallery-nav:focus-visible {
    background: rgba(0, 0, 0, 0.65);
    outline: none;
}

.atg-calico-cs__hero-gallery-thumbs {
    position: relative;
    padding: 10px 12px;
    background: #f4f5f6;
    border-top: 1px solid #e2e6ea;
}

.atg-calico-cs__hero-gallery-thumbs-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 56px;
}

.atg-calico-cs__hero-gallery-thumbs-track {
    flex: 1;
    min-width: 0;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4px 0;
    scrollbar-width: thin;
}

.atg-calico-cs__hero-gallery-nav--thumb {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    flex-shrink: 0;
    --atg-cs-nav-size: 32px;
    font-size: 20px;
}

.atg-calico-cs__hero-gallery-thumb {
    flex: 0 0 auto;
    width: 72px;
    height: 52px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: #e8eaed;
    transition: border-color 0.15s ease, opacity 0.15s ease;
}

.atg-calico-cs__hero-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.atg-calico-cs__hero-gallery-thumb.is-active,
.atg-calico-cs__hero-gallery-thumb:hover,
.atg-calico-cs__hero-gallery-thumb:focus-visible {
    border-color: #007c51;
    outline: none;
}

.atg-calico-cs__hero-gallery-thumb:not(.is-active) {
    opacity: 0.72;
}

.atg-calico-cs__hero-gallery--single .atg-calico-cs__hero-gallery-main {
    border-radius: 12px;
}

.atg-calico-cs__hero-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 18px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 3;
}

/* Lightbox */
.atg-calico-cs__hero-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
}

.atg-calico-cs__hero-lightbox[hidden] {
    display: none !important;
}

.atg-calico-cs__hero-lightbox-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.88);
    cursor: pointer;
}

.atg-calico-cs__hero-lightbox-stage {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 72px;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 1;
}

.atg-calico-cs__hero-lightbox-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    pointer-events: auto;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.atg-calico-cs__hero-lightbox-close,
.atg-calico-cs__hero-lightbox-nav {
    position: fixed;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    box-sizing: border-box;
    flex: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    cursor: pointer;
    z-index: 2;
    transition: background 0.15s ease;
}

.atg-calico-cs__hero-lightbox-close {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
    font-size: 28px;
    line-height: 1;
}

.atg-calico-cs__hero-lightbox-close span {
    display: block;
    line-height: 1;
    margin-top: -1px;
}

.atg-calico-cs__hero-lightbox-nav {
    top: 50%;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    font-size: 28px;
    line-height: 1;
    transform: translateY(-50%);
}

.atg-calico-cs__hero-lightbox-nav span {
    display: block;
    line-height: 1;
    margin-top: -2px;
}

.atg-calico-cs__hero-lightbox-nav--prev {
    left: 20px;
}

.atg-calico-cs__hero-lightbox-nav--next {
    right: 20px;
}

.atg-calico-cs__hero-lightbox-close:hover,
.atg-calico-cs__hero-lightbox-close:focus-visible,
.atg-calico-cs__hero-lightbox-nav:hover,
.atg-calico-cs__hero-lightbox-nav:focus-visible {
    background: rgba(0, 0, 0, 0.72);
    outline: none;
}

html.atg-calico-cs--lightbox-open {
    overflow: hidden;
}

/* Prevent theme / Bootstrap from stretching gallery controls */
.atg-calico-cs__hero-gallery .atg-calico-cs__hero-gallery-nav,
.atg-calico-cs__hero-lightbox .atg-calico-cs__hero-lightbox-close,
.atg-calico-cs__hero-lightbox .atg-calico-cs__hero-lightbox-nav {
    appearance: none;
    -webkit-appearance: none;
    aspect-ratio: 1 / 1;
    width: var(--atg-cs-nav-size, 44px);
    height: var(--atg-cs-nav-size, 44px);
    min-width: var(--atg-cs-nav-size, 44px);
    min-height: var(--atg-cs-nav-size, 44px);
    max-width: var(--atg-cs-nav-size, 44px);
    max-height: var(--atg-cs-nav-size, 44px);
}

.atg-calico-cs__hero-gallery-nav--thumb {
    --atg-cs-nav-size: 32px;
}

.atg-calico-cs__hero-lightbox .atg-calico-cs__hero-lightbox-close {
    --atg-cs-nav-size: 44px;
}

.atg-calico-cs__hero-lightbox .atg-calico-cs__hero-lightbox-nav {
    --atg-cs-nav-size: 48px;
}

/* Section blocks */
.atg-calico-cs__section {
    padding: 36px 0;
    border-top: 1px solid #e2e6ea;
}

.atg-calico-cs__section-title {
    margin: 0 0 20px;
    padding-left: 14px;
    border-left: 4px solid #007c51;
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 800;
    line-height: 1.2;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.atg-calico-cs__section-lead {
    margin: 0 0 24px;
    font-size: 17px;
    line-height: 1.65;
    color: #444;
    max-width: 920px;
}

/* Challenges */
.atg-calico-cs__challenges {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.atg-calico-cs__challenges-main {
    min-width: 0;
    width: 100%;
}

.atg-calico-cs__challenges-text {
    margin: 0 0 0;
    font-size: 17px;
    line-height: 1.5;
    color: #444;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.atg-calico-cs__highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

.atg-calico-cs__highlight-card {
    padding: 20px 22px;
    border-radius: 10px;
    background: #f0f7f4;
    border: 1px solid #d4e8de;
}

.atg-calico-cs__highlight-label {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #007c51;
}

.atg-calico-cs__highlight-value {
    margin: 0;
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 800;
    line-height: 1.2;
    color: #111;
}

.atg-calico-cs__highlight-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #444;
}

.atg-calico-cs__bullet-list {
    margin: 0;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

.atg-calico-cs__bullet-list li {
    margin-bottom: 8px;
}

.atg-calico-cs__bullet-list li:last-child {
    margin-bottom: 0;
}

/* Solution */
.atg-calico-cs__solution-intro {
    margin: 0 0 22px 0;
    font-size: 17px;
    line-height: 1.5;
    color: #444;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.atg-calico-cs__solution-media {
    margin: 0 0 28px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #e8eaed;
}

.atg-calico-cs__solution-media picture,
.atg-calico-cs__solution-media img {
    display: block;
    width: 100%;
    height: 100%;
}

.atg-calico-cs__solution-media img {
    object-fit: cover;
    object-position: center;
}

.atg-calico-cs__solution-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
	 margin: 0 0 8px 0;
}

.atg-calico-cs__solution-block {
    padding: 24px 22px;
    border-radius: 10px;
    background: #fafbfc;
    border: 1px solid #e8ecef;
}

.atg-calico-cs__solution-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0 10px 0 0;
    border-radius: 50%;
    background: #007c51;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    vertical-align: middle;
}

.atg-calico-cs__solution-heading {
    margin: 0 0 14px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    color: #111;
}

.atg-calico-cs__solution_sec-heading {
    margin: 14px 0 14px 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    color: #111;
}

/* Solution — product showcase (name, description, image) */
.atg-calico-cs__solution-products {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 28px;
    width: 100%;
}

.atg-calico-cs__solution-product {
    width: 100%;
    min-width: 0;
}

.atg-calico-cs__solution-product-name {
    display: inline;
    margin: 0 0 10px;
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 600;
    line-height: 1.35;
    color: #007bff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

a.atg-calico-cs__solution-product-name:hover,
a.atg-calico-cs__solution-product-name:focus-visible {
    color: #0056b3;
    text-decoration: underline;
    outline: none;
}

.atg-calico-cs__solution-product-name--text {
    display: block;
    color: #007bff;
    cursor: default;
}

.atg-calico-cs__solution-product-desc {
    margin: 0 0 16px;
    max-width: 960px;
    font-size: 16px;
    line-height: 1.6;
    color: #111;
}

.atg-calico-cs__solution-product-media {
    margin: 0;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #eceef1;
    padding: 0;
}

.atg-calico-cs__solution-product-media picture,
.atg-calico-cs__solution-product-media img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.atg-calico-cs__solution-product-media img {
    object-fit: contain;
    object-position: center;
}

/* Results */
.atg-calico-cs__results-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.atg-calico-cs__result-card {
    padding: 24px 16px;
    border-radius: 10px;
    text-align: center;
    background: #fafbfc;
	  border: 1px solid #e8ecef;
}

.atg-calico-cs__result-card--accent {
    background: #0d3d2a;
}

.atg-calico-cs__result-value {
    margin: 0 0 6px;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.1;
}

.atg-calico-cs__result-label {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
    opacity: 0.95;
}

.atg-calico-cs__result-end-text {
    margin: 14px 0 0;
    font-size: 18px;
    line-height: 1.5;
    color: #444;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Results video — full width single row */
.atg-calico-cs__video {
    margin: 28px 0 0;
    width: 100%;
    min-width: 0;
}

.atg-calico-cs__video-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
}

.atg-calico-cs__video-inner iframe,
.atg-calico-cs__video-inner video,
.atg-calico-cs__video-native {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: contain;
    background: #000;
}

.atg-calico-cs__video-inner iframe {
    max-width: 100%;
    width: 100% !important;
    height: 100% !important;
}

.atg-calico-cs__video-caption {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.4;
    color: #666;
    text-align: center;
}

/* CTA */
.atg-calico-cs__cta {
    margin: 8px 0;
    padding: 40px 32px;
    border-radius: 12px;
    background: linear-gradient(135deg, #007c51 0%, #0a5c3d 100%);
    text-align: center;
    color: #fff;
}

.atg-calico-cs__cta-title {
    margin: 0 0 22px;
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 700;
    line-height: 1.25;
}

.atg-calico-cs__cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.atg-calico-cs__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 48px;
    padding: 0 28px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.atg-calico-cs__cta-btn--primary {
    background: #fff;
    color: #007c51 !important;
    border: 2px solid #fff;
}

.atg-calico-cs__cta-btn--primary:hover {
    background: #f0f7f4;
    color: #006544 !important;
}

.atg-calico-cs__cta-btn--outline {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.atg-calico-cs__cta-btn--outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
}

/* Desktop max-width — match home-sections */
@media (min-width: 1920px) {
    .atg-calico-cs__shell {
        max-width: 1240px;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 1280px) {
    .atg-calico-cs__shell {
        padding-left: 24px;
        padding-right: 24px;
    }

    .atg-calico-cs__hero {
        gap: 24px;
        padding: 32px 0 40px;
    }

    .atg-calico-cs__solution-grid {
        gap: 18px;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .atg-calico-cs__hero {
        grid-template-columns: 1fr;
    }

    .atg-calico-cs__results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile / APP (≤991px — project convention) */
@media (max-width: 991px) {
    .atg-calico-cs__shell {
        padding-left: 16px;
        padding-right: 16px;
    }

    .atg-calico-cs__hero {
        padding: 24px 0 28px;
        gap: 20px;
    }

    .atg-calico-cs__meta {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .atg-calico-cs__hero-side {
        margin-top: 18px;
        gap: 12px;
    }

    .atg-calico-cs__hero-secondary {
        border-radius: 8px;
    }

    .atg-calico-cs__hero-promo {
        padding: 24px 18px 28px;
        border-radius: 8px;
    }

    .atg-calico-cs__hero-media {
        border-radius: 8px;
    }

    .atg-calico-cs__hero-gallery-main {
        aspect-ratio: 4 / 3;
    }

    .atg-calico-cs__hero-gallery-thumb {
        width: 64px;
        height: 46px;
    }

    .atg-calico-cs__hero-gallery .atg-calico-cs__hero-gallery-nav {
        --atg-cs-nav-size: 36px;
        font-size: 22px;
    }

    .atg-calico-cs__hero-gallery-nav--prev {
        left: 8px;
    }

    .atg-calico-cs__hero-gallery-nav--next {
        right: 8px;
    }

    .atg-calico-cs__hero-lightbox-stage {
        padding: 48px 16px;
    }

    .atg-calico-cs__hero-lightbox .atg-calico-cs__hero-lightbox-close {
        --atg-cs-nav-size: 40px;
        top: 12px;
        right: 12px;
        font-size: 24px;
    }

    .atg-calico-cs__hero-lightbox .atg-calico-cs__hero-lightbox-nav {
        --atg-cs-nav-size: 40px;
        font-size: 24px;
    }

    .atg-calico-cs__hero-lightbox-nav--prev {
        left: 8px;
    }

    .atg-calico-cs__hero-lightbox-nav--next {
        right: 8px;
    }

    .atg-calico-cs__section {
        padding: 28px 0;
    }

    .atg-calico-cs__section-title {
        margin-bottom: 14px;
        padding-left: 12px;
        font-size: 20px;
    }

    .atg-calico-cs__challenges-text {
        font-size: 14px;
    }
	
	 .atg-calico-cs__result-end-text {
        font-size: 16px;
    }

    .atg-calico-cs__highlights {
        gap: 12px;
    }

    .atg-calico-cs__section-lead,
    .atg-calico-cs__solution-intro {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .atg-calico-cs__solution-media {
        margin-bottom: 22px;
        border-radius: 8px;
        aspect-ratio: 4 / 3;
    }

	 .atg-calico-cs__solution-products {
        gap: 24px;
        margin-top: 22px;
    }

    .atg-calico-cs__solution-product-name {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .atg-calico-cs__solution-product-desc {
        font-size: 15px;
        line-height: 1.55;
        margin-bottom: 14px;
    }

    .atg-calico-cs__solution-product-media {
        border-radius: 8px;
    }
	
    .atg-calico-cs__solution-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .atg-calico-cs__solution-block {
        padding: 18px 16px;
    }

    .atg-calico-cs__solution-heading {
        font-size: 17px;
    }
	
	.atg-calico-cs__solution_sec-heading {
        font-size: 19px;
    }


    .atg-calico-cs__results-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .atg-calico-cs__result-card {
        padding: 18px 12px;
    }

    .atg-calico-cs__video {
        margin-top: 22px;
    }

    .atg-calico-cs__video-inner {
        border-radius: 8px;
    }

    .atg-calico-cs__video-caption {
        font-size: 13px;
        margin-top: 8px;
    }

    .atg-calico-cs__cta {
        padding: 28px 18px;
        border-radius: 8px;
    }

    .atg-calico-cs__cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .atg-calico-cs__cta-btn {
        width: 100%;
        min-width: 0;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .atg-calico-cs__results-grid {
        grid-template-columns: 1fr;
    }

    .atg-calico-cs__highlights {
        grid-template-columns: 1fr;
    }

    .atg-calico-cs__challenges-text {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
	
	 .atg-calico-cs__result-end-text {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .atg-calico-cs__highlight-value {
        font-size: 24px;
    }
}

/* ==========================================================================
   Template 02 — [atg_case_study_02] overrides & additions
   ========================================================================== */

/* Hero — shorter gallery on desktop */
@media (min-width: 992px) {
    .atg-calico-cs--template02 .atg-calico-cs__hero-gallery-main {
        aspect-ratio: 16 / 11;
    }

    .atg-calico-cs--template02 .atg-calico-cs__hero {
        align-items: stretch;
    }

    .atg-calico-cs--template02 .atg-calico-cs__hero-media {
        align-self: start;
    }
}

/* Meta: Location + Solution only */
.atg-calico-cs--template02 .atg-calico-cs__meta--template02 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 991px) {
    .atg-calico-cs--template02 .atg-calico-cs__meta--template02 {
        grid-template-columns: 1fr;
    }
}

/* Project Profile — full width between meta and hero-side */
.atg-calico-cs__project-profile {
    grid-column: 1 / -1;
    width: 100%;
    margin: 16px 0 0;
    padding: 0;
}

.atg-calico-cs__project-profile-label {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #007c51;
}

.atg-calico-cs__project-profile-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 600;
    color: #333;
}

/* Stacked media (solution areas + results images) */
.atg-calico-cs__media-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 28px 0 0;
    width: 100%;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    aspect-ratio: auto;
}

.atg-calico-cs__solution-media-stack--1 {
    margin-top: 28px;
}

.atg-calico-cs__solution-media-stack--2 {
    margin-top: 20px;
}

.atg-calico-cs--template02 .atg-calico-cs__solution-products + .atg-calico-cs__solution-media-stack--1 {
    margin-top: 28px;
}

.atg-calico-cs__media-stack-item {
    position: relative;
    margin: 0;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #e8eaed;
}

.atg-calico-cs__media-stack-item picture,
.atg-calico-cs__media-stack-item img {
    display: block;
    width: 100%;
    height: 100%;
}

.atg-calico-cs__media-stack-item img {
    object-fit: cover;
    object-position: center;
}

/* Overlay caption on picture (results section) */
.atg-calico-cs__media-stack-item--captioned .atg-calico-cs__media-stack-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 20px 24px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.78) 100%);
    color: #fff;
    font-size: clamp(15px, 1.6vw, 18px);
    font-weight: 600;
    line-height: 1.45;
    box-sizing: border-box;
}

.atg-calico-cs__results-media-stack {
    margin-top: 28px;
}

/* Results highlights — below results grid */
.atg-calico-cs__highlights--results {
    margin-top: 24px;
}

.atg-calico-cs__highlights--results.atg-calico-cs__highlights {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media (max-width: 991px) {
    .atg-calico-cs__media-stack-item {
        border-radius: 8px;
    }

    .atg-calico-cs__media-stack {
        gap: 14px;
        margin-top: 22px;
    }

    .atg-calico-cs__solution-media-stack--1 {
        margin-top: 22px;
    }

    .atg-calico-cs__solution-media-stack--2 {
        margin-top: 14px;
    }
	
	 .atg-calico-cs--template02 .atg-calico-cs__solution-products + .atg-calico-cs__solution-media-stack--1 {
        margin-top: 22px;
    }

    .atg-calico-cs__media-stack-item--captioned .atg-calico-cs__media-stack-caption {
        padding: 14px 16px;
        font-size: 14px;
    }

    .atg-calico-cs__highlights--results {
        margin-top: 18px;
    }

    .atg-calico-cs__project-profile {
        margin-top: 12px;
    }

    .atg-calico-cs__project-profile-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .atg-calico-cs__highlights--results.atg-calico-cs__highlights {
        grid-template-columns: 1fr;
    }
}

/* Application page template — breadcrumb bar below header (align with all.css .container + .breadcrumbs) */
.application-page-breadcrumb {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 20px 0 10px;
    box-sizing: border-box;
}

.application-page-breadcrumb .container {
    text-align: left;
}

.application-page-breadcrumb__nav.breadcrumbs {
    margin: 0 0 12px;
    padding: 0;
    width: 100%;
    font-size: 14px;
    line-height: 1.5;
    font-family: inherit;
    font-weight: 400;
    color: #888;
    text-align: left;
}

.application-page-breadcrumb__nav span {
    color: #888;
}

.application-page-breadcrumb__nav a,
.application-page-breadcrumb__nav a:visited {
    color: #000 !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: color 0.15s ease;
}

.application-page-breadcrumb__nav a:hover,
.application-page-breadcrumb__nav a:focus-visible {
    color: #209345 !important;
    text-decoration: underline !important;
    outline: none;
}

.application-page-breadcrumb__nav .breadcrumb_last,
.application-page-breadcrumb__nav span.breadcrumb_last,
.application-page-breadcrumb__nav [aria-current="page"] {
    color: #888 !important;
    font-weight: 400;
    text-decoration: none;
}

.application-page-breadcrumb__nav .breadcrumb-separator,
.application-page-breadcrumb__nav span.breadcrumb-separator {
    display: inline-block;
    margin: 0 6px;
    color: #888 !important;
    font-weight: 400;
}

@media screen and (max-width: 992px) {
    .application-page-breadcrumb__nav.breadcrumbs {
        padding: 0 0.5rem;
    }
}

@media screen and (max-width: 768px) {
    .application-page-breadcrumb {
        padding: 16px 0 8px;
    }

    .application-page-breadcrumb__nav.breadcrumbs,
    .application-page-breadcrumb__nav a,
    .application-page-breadcrumb__nav .breadcrumb_last,
    .application-page-breadcrumb__nav .breadcrumb-separator {
        font-size: 13px;
    }

    .application-page-breadcrumb__nav .breadcrumb-separator,
    .application-page-breadcrumb__nav span.breadcrumb-separator {
        margin: 0 4px;
    }
}

/* Archive template (archive-no-banner.php) — no header banner background */
body.archive .archive-no-banner-breadcrumb {
    margin-top: 0;
}

.archive-no-banner__header.entry-header {
    position: relative;
    min-height: 0;
    padding: 8px 0 24px;
    margin: 0;
    text-align: center;
    background: transparent;
    background-image: none !important;
}

.archive-no-banner__header .entry-title {
    font-family: "Myriad Pro Bold", sans-serif;
    font-size: clamp(30px, 5vw, 75px);
    font-weight: bolder;
    text-transform: uppercase;
    color: #10110e;
    text-shadow: none;
    margin: 0;
}

.archive-no-banner.content-area.posts {
    padding-top: 0;
	 background: #fff;
}

.archive-no-banner .sectionT {
    margin-top: 48px;
}

body.archive:has(.archive-no-banner) .footer_first {
    display: none;
}

/* Fixed archive grid — 4 columns, 12 items per page (3 rows) */
.archive-no-banner__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    width: 100%;
	  margin-bottom:55px;
}

.archive-no-banner__item.project-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    margin: 0;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.archive-no-banner__item-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.archive-no-banner__item-link:hover .archive-no-banner__item-title,
.archive-no-banner__item-link:focus-visible .archive-no-banner__item-title {
    color: #10804b;
}

.archive-no-banner__item-media {
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f0f0f0;
}

.archive-no-banner__item-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive-no-banner__item-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 176px;
    background: linear-gradient(135deg, #ececec 0%, #f8f8f8 100%);
}

.archive-no-banner__item-title {
    margin: 0;
    padding: 18px 18px 0 20px;
    font-family: "Myriad Pro Regular", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
	 text-align:left;
    color: #10110e;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 72px;
}

.archive-no-banner__item-excerpt {
    margin: 0;
    padding: 12px 18px 18px 20px;
    font-family: "Myriad Pro Regular", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #595757;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    flex: 1;
}

.archive-no-banner__empty {
    margin: 0;
    padding: 24px 0;
    text-align: center;
    color: #595757;
}

.archive-no-banner .navigation.pagination,
.archive-no-banner nav.navigation.pagination {
    margin-top: 42px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.archive-no-banner .navigation.pagination .bar {
    min-width: 230px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    background: #f7f7f8;
    color: #595757;
    margin-bottom: 14px;
}

.archive-no-banner .navigation.pagination .nav-links,
.archive-no-banner .page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.archive-no-banner .page-numbers li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.archive-no-banner .page-numbers a,
.archive-no-banner .page-numbers span,
.archive-no-banner .navigation.pagination a,
.archive-no-banner .navigation.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    color: #595757;
    border: 1px solid #ddd;
    background: #fff;
    box-sizing: border-box;
}

.archive-no-banner .page-numbers a:hover,
.archive-no-banner .navigation.pagination a:hover {
    color: #10804b;
    border-color: #10804b;
}

.archive-no-banner .page-numbers .current,
.archive-no-banner .navigation.pagination span.current {
    color: #fff;
    background: #10804b;
    border-color: #10804b;
}

@media screen and (max-width: 992px) {
    .application-page-breadcrumb__nav.breadcrumbs {
        padding: 0 0.5rem;
    }

    .archive-no-banner__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
        row-gap: 28px;
    }

    .archive-no-banner__item-title {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    .archive-no-banner__header.entry-header {
        padding: 4px 0 16px;
    }

    .archive-no-banner .sectionT {
        margin-top: 32px;

    }

    .archive-no-banner__grid {
        grid-template-columns: 1fr;
		   row-gap: 24px;
    }

    .archive-no-banner__item-title {
        font-size: 14px;
        min-height: auto;
		  text-align: center;
		  margin-bottom:10px
    }
}