/* =========================================
   Single Infographic Page
   Figma: "Distributed Teams: An Easy Way To Work"
   ========================================= */

.ig-single-body {
    background-color: #08121C;
    min-height: 100vh;
}

/* =========================================
   Top Bar — Breadcrumb + Title + Download
   ========================================= */
.ig-single__topbar {
    background-color: #08121C;
    background-image: url(../image/news-press/web.png);
    background-size: auto;
    background-position: center top;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 130px 0 45px;
    /* 130px for header offset */
    position: relative;
}

.ig-single__topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.ig-single__left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ← Back to all infographics */
.ig-single__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.70);
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

.ig-single__back:hover {
    color: #01CBCF;
}

.ig-single__back svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.ig-single__back:hover svg {
    transform: translateX(-3px);
}

/* Meta row: category + date */
.ig-single__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 4px;
}

/* Category badge — gradient text + left border */
.ig-single__category {
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: linear-gradient(95deg, #01CBCF -3.18%, #0082EB 98.57%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-left: 2px solid #01CBCF;
    padding-left: 8px;
    line-height: 1;
}

/* Published date */
.ig-single__pub-date {
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
}

/* Page Title */
.ig-single__title {
    color: #ffffff;
    font-family: "Google Sans", "Roboto", sans-serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 125%;
    letter-spacing: -0.01em;
    margin: 0;
    max-width: 850px;
}

/* Download Button — Pill outlined translucent style (matching screenshot) */
.ig-single__dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border-radius: 999px;
    background: rgba(14, 60, 110, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-family: "Google Sans", "Roboto", sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.ig-single__dl-btn:hover {
    background: rgba(0, 130, 235, 0.35);
    border-color: #01CBCF;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(1, 203, 207, 0.25);
    transform: translateY(-1px);
}

.ig-single__dl-btn svg {
    flex-shrink: 0;
}

/* =========================================
   Infographic Image Section
   ========================================= */
.ig-single__image-section {
    background-color: #08121C;
    padding: 60px 0 100px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* Image wrapper — centered, max width for readability */
.ig-single__image-wrap {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.06);
}

.ig-single__img {
    width: 100%;
    height: auto;
    display: block;
}

/* No-image placeholder */
.ig-single__img-placeholder {
    background: linear-gradient(135deg, #0a1a2e 0%, #0d2540 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.ig-single__img-placeholder p {
    color: rgba(255, 255, 255, 0.40);
    font-family: "Roboto", sans-serif;
    font-size: 16px;
}

/* =========================================
   Responsive
   ========================================= */

/* ≤ 1024px */
@media (max-width: 1024px) {
    .ig-single__topbar {
        background-image: url(../image/news-press/tab.png);
        padding: 120px 0 36px;
        background-size: cover;
    }

    .ig-single__topbar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .ig-single__title {
        font-size: 26px;
    }

    .ig-single__image-wrap {
        max-width: 90%;
    }
}

/* ≤ 767px */
@media (max-width: 767px) {
    .ig-single__topbar {
        background-image: url(../image/news-press/mob.png);
        padding: 100px 0 28px;
    }

    .ig-single__title {
        font-size: 22px;
    }

    .ig-single__dl-btn {
        width: 100%;
        justify-content: center;
    }

    .ig-single__image-section {
        padding: 40px 0 60px;
    }

    .ig-single__image-wrap {
        max-width: 100%;
        border-radius: 8px;
    }
}