/* ================================================
   TEAM GLAM — Editorial Careers & Join Team Feature
   ================================================ */

.tg-cf-wrap {
    width: 100%;
    background-color: #ffffff;
    padding: 100px 40px;
    box-sizing: border-box;
}

.tg-cf-container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ── Banner Image ── */
.tg-cf-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 64px;
    background-color: #f0f0f0;
}

.tg-cf-img-wrap.is-greyscale .tg-cf-img {
    filter: grayscale(100%);
}

.tg-cf-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: filter 0.3s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.tg-cf-img-wrap:hover .tg-cf-img {
    transform: scale(1.03);
}

/* ── Editorial Title ── */
.tg-cf-heading {
    font-family: 'beaufort-pro', serif;
    font-size: clamp(42px, 5.5vw, 76px);
    font-weight: 400;
    color: #111111;
    margin: 0 0 56px;
    line-height: 1.08;
    letter-spacing: -0.01em;
    text-align: center;
    max-width: 800px;
    width: 100%;
}

/* ── 2-Column Paragraph Grid ── */
.tg-cf-body-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    width: 100%;
    text-align: left;
    align-items: start;
    max-width: 1040px;
}

body .tg-cf-col-1,
body .tg-cf-col-2,
.tg-cf-col-1,
.tg-cf-col-2 {
    font-family: 'brandon-grotesque', sans-serif;
    font-size: var(--tg-body-font-size, 18px) !important;
    line-height: 1.65;
    color: #333333;
    margin: 0;
}

.tg-cf-col-1 p,
.tg-cf-col-2 p {
    margin: 0 0 16px;
}

.tg-cf-col-1 p:last-child,
.tg-cf-col-2 p:last-child {
    margin-bottom: 0;
}

.tg-cf-col-2 a {
    color: #C9A96E;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.22s ease;
}

.tg-cf-col-2 a:hover {
    opacity: 0.75;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .tg-cf-wrap {
        padding: 60px 30px;
    }
    .tg-cf-img-wrap {
        margin-bottom: 48px;
    }
    .tg-cf-heading {
        margin-bottom: 40px;
    }
    .tg-cf-body-grid {
        gap: 36px;
    }
}

@media (max-width: 767px) {
    .tg-cf-wrap {
        padding: 40px 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .tg-cf-img-wrap {
        margin-bottom: 32px !important;
        aspect-ratio: 4 / 3 !important;
    }
    .tg-cf-heading {
        font-size: clamp(32px, 8.5vw, 48px) !important;
        margin-bottom: 32px !important;
    }
    .tg-cf-body-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}
