/* Green Interio Career Manager - frontend (listing + detail) */

.gic-front {
    --g: #1f7a3e;
    --gd: #0e3b27;
    --gs: #eaf4ee;
    --o: #f06a1f;
    --gold: #c9962f;
    --ink: #14221a;
    --muted: #66766c;
    --line: #e2e9e4;
    --bg: #f5f8f6;
    --r: 18px;

    width: 100%;
    color: var(--ink);
    font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.gic-front *,
.gic-front *::before,
.gic-front *::after {
    box-sizing: border-box;
}

.gic-front h1,
.gic-front h2,
.gic-front h3,
.gic-front h4 {
    margin: 0;
    color: var(--ink);
    font-family: inherit;
    line-height: 1.2;
}

.gic-front p {
    margin: 0;
}

.gic-front a {
    text-decoration: none;
}

.gic-wrap {
    width: min(1220px, 100% - 40px);
    margin: 0 auto;
}

.gic-icon {
    display: inline-block;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================================
   LISTING
========================================================= */

.gic-listing {
    padding: 30px 0 60px;
}

.gic-list-head {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.gic-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 14px;
    border-radius: 30px;
    background: var(--gs);
    color: var(--g);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.gic-list-head h2 {
    font-size: clamp(30px, 4.4vw, 46px);
    font-weight: 800;
    letter-spacing: -.02em;
}

.gic-list-head h2 span {
    color: var(--g);
}

.gic-list-head p {
    margin-top: 14px;
    color: var(--muted);
    font-size: 17px;
}

.gic-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(14, 59, 39, .05);
}

.gic-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gic-filter {
    padding: 10px 18px;
    border: 0;
    border-radius: 30px;
    background: var(--bg);
    color: #3b4d42;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.gic-filter:hover {
    background: var(--gs);
    color: var(--gd);
}

.gic-filter.is-active {
    background: var(--gd);
    color: #fff;
}

.gic-filter-search {
    position: relative;
    flex: 1 1 240px;
    max-width: 340px;
}

.gic-filter-search input {
    width: 100%;
    height: 46px;
    padding: 0 16px 0 44px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    font-size: 14px;
}

.gic-filter-search input:focus {
    border-color: var(--g);
    background: #fff;
    outline: 0;
    box-shadow: 0 0 0 4px rgba(31, 122, 62, .12);
}

.gic-filter-search .gic-icon {
    position: absolute;
    top: 13px;
    left: 15px;
    color: var(--muted);
}

.gic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 26px;
}

.gic-card-job {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: #fff;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.gic-card-job:hover {
    transform: translateY(-6px);
    border-color: #b8d5c3;
    box-shadow: 0 24px 50px rgba(14, 59, 39, .14);
}

.gic-card-job[hidden] {
    display: none;
}

.gic-card-media {
    position: relative;
    display: block;
    padding: 24px 24px 0;
    overflow: hidden;
    background: linear-gradient(165deg, var(--gs), #fff 75%);
}

.gic-card-media::before {
    content: "";
    position: absolute;
    top: 14px;
    right: -34px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffb27d, var(--o));
    opacity: .9;
}

.gic-arch {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1.12;
    overflow: hidden;
    border-radius: 999px 999px 0 0;
    background: var(--gd);
    box-shadow: 0 -6px 0 rgba(255, 255, 255, .7);
}

.gic-arch img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12%;
    transition: transform .6s ease;
}

.gic-card-job:hover .gic-arch img {
    transform: scale(1.05);
}

.gic-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 24px;
    text-align: center;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    background:
        radial-gradient(circle at 85% 12%, rgba(240, 106, 31, .5), transparent 45%),
        linear-gradient(140deg, var(--gd), var(--g));
}

.gic-badge {
    position: absolute;
    z-index: 2;
    top: 34px;
    left: 34px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .94);
    color: var(--gd);
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
    backdrop-filter: blur(6px);
}

.gic-badge .gic-icon {
    width: 14px;
    height: 14px;
    color: var(--o);
}

.gic-badge-count {
    left: auto;
    right: 34px;
    background: var(--o);
    color: #fff;
}

.gic-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 14px;
    padding: 22px 24px 26px;
    border-top: 4px solid var(--o);
}

.gic-card-body h3 {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.gic-card-intro {
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    font-size: 14.5px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.gic-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gic-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 30px;
    background: var(--bg);
    color: #3b4d42;
    font-size: 12.5px;
    font-weight: 700;
}

.gic-meta .gic-icon {
    width: 14px;
    height: 14px;
    color: var(--g);
}

.gic-card-positions {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gic-card-positions li {
    padding: 3px 10px;
    border-radius: 6px;
    background: #fff4ec;
    color: #b94d0d;
    font-size: 12px;
    font-weight: 700;
}

.gic-btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    padding: 14px 22px;
    border: 0;
    border-radius: 14px;
    background: var(--gd);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.gic-btn-main:hover {
    background: var(--o);
    color: #fff;
    box-shadow: 0 12px 26px rgba(240, 106, 31, .32);
}

.gic-btn-main .gic-icon {
    width: 18px;
    height: 18px;
    transition: transform .2s ease;
}

.gic-btn-main:hover .gic-icon {
    transform: translateX(4px);
}

.gic-none,
.gic-no-match {
    padding: 60px 20px;
    text-align: center;
    border: 2px dashed #cddad2;
    border-radius: var(--r);
    background: #fff;
}

.gic-none h3,
.gic-no-match h3 {
    margin-bottom: 8px;
    font-size: 22px;
}

.gic-none p,
.gic-no-match p {
    color: var(--muted);
}

.gic-no-match[hidden] {
    display: none;
}

/* =========================================================
   DETAIL
========================================================= */

.gic-detail {
    padding: 28px 0 70px;
    background: var(--bg);
}

.gic-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--gd);
    font-size: 14px;
    font-weight: 800;
}

.gic-back:hover {
    color: var(--o);
}

.gic-back .gic-icon {
    width: 16px;
    height: 16px;
}

.gic-detail-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 26px;
    padding: 38px 40px;
    border-radius: 24px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 0%, rgba(240, 106, 31, .42), transparent 45%),
        linear-gradient(125deg, var(--gd), #14573a 65%, var(--g));
}

.gic-detail-hero .gic-eyebrow {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.gic-detail-hero h1 {
    max-width: 780px;
    color: #fff;
    font-size: clamp(30px, 4.6vw, 48px);
    font-weight: 800;
    letter-spacing: -.02em;
}

.gic-detail-hero p {
    max-width: 700px;
    margin-top: 14px;
    color: rgba(255, 255, 255, .86);
    font-size: 17px;
}

.gic-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.gic-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .14);
    font-size: 14px;
    font-weight: 700;
}

.gic-hero-meta .gic-icon {
    width: 16px;
    height: 16px;
}

.gic-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    padding: 14px 26px;
    border-radius: 14px;
    background: var(--o);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(240, 106, 31, .4);
    transition: transform .2s ease;
}

.gic-hero-cta:hover {
    color: #fff;
    transform: translateY(-2px);
}

.gic-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 28px;
    align-items: start;
}

.gic-panel {
    margin-bottom: 22px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: #fff;
}

.gic-panel > h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 20px;
    font-weight: 800;
}

.gic-panel > h3::before {
    content: "";
    width: 5px;
    height: 22px;
    border-radius: 4px;
    background: var(--o);
}

.gic-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.gic-fact {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.gic-fact-icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gs);
    color: var(--g);
}

.gic-fact small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.gic-fact strong {
    display: block;
    font-size: 15px;
    line-height: 1.35;
}

.gic-rich p {
    margin-bottom: 14px;
    color: #38483f;
}

.gic-rich p:last-child {
    margin-bottom: 0;
}

.gic-rich ul,
.gic-rich ol {
    margin: 0 0 14px 20px;
    color: #38483f;
}

.gic-checklist {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gic-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #2d3d34;
    font-weight: 600;
}

.gic-checklist li::before {
    content: "";
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--gs) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7a3e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.gic-position-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gic-position-grid li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--bg);
    font-weight: 800;
}

.gic-position-grid .gic-icon {
    width: 18px;
    height: 18px;
    color: var(--o);
}

.gic-poster-box {
    position: relative;
    display: block;
    width: 100%;
    max-width: 440px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: none;
    cursor: zoom-in;
}

.gic-poster-box img {
    display: block;
    width: 100%;
    height: auto;
}

.gic-poster-box span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 8px 14px;
    border-radius: 30px;
    background: rgba(14, 59, 39, .9);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.gic-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.gic-contact a {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 250px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--bg);
    color: var(--ink);
    font-weight: 800;
    word-break: break-word;
    transition: border-color .2s ease, transform .2s ease;
}

.gic-contact a:hover {
    border-color: var(--g);
    transform: translateY(-2px);
}

.gic-contact .gic-fact-icon {
    background: var(--gd);
    color: #fff;
}

.gic-contact small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

/* ---------- Application form ---------- */

.gic-side {
    position: sticky;
    top: 24px;
}

.gic-apply {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(14, 59, 39, .12);
}

.gic-apply-top {
    padding: 28px 30px 24px;
    background: linear-gradient(125deg, var(--gd), var(--g));
    color: #fff;
}

.gic-apply-top h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
}

.gic-apply-top p {
    margin-top: 8px;
    color: rgba(255, 255, 255, .84);
    font-size: 14.5px;
}

.gic-form {
    padding: 26px 30px 30px;
}

.gic-form-group {
    margin: 0 0 22px;
    padding: 0;
    border: 0;
}

.gic-form-group > legend {
    display: block;
    width: 100%;
    margin-bottom: 14px;
    padding: 0 0 10px;
    border-bottom: 1px solid var(--line);
    color: var(--g);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.gic-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
}

.gic-field {
    margin-bottom: 14px;
}

.gic-field label {
    display: block;
    margin-bottom: 6px;
    color: #33443a;
    font-size: 13px;
    font-weight: 700;
}

.gic-field label .gic-req {
    color: var(--o);
}

.gic-field input[type="text"],
.gic-field input[type="email"],
.gic-field input[type="tel"],
.gic-field input[type="number"],
.gic-field select,
.gic-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid #d5dfd9;
    border-radius: 12px;
    background: #fbfcfb;
    color: var(--ink);
    font: inherit;
    font-size: 15px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.gic-field textarea {
    min-height: 96px;
    resize: vertical;
}

.gic-field input:focus,
.gic-field select:focus,
.gic-field textarea:focus {
    border-color: var(--g);
    background: #fff;
    outline: 0;
    box-shadow: 0 0 0 4px rgba(31, 122, 62, .13);
}

.gic-field small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

.gic-field label.gic-file {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 2px dashed #bcd0c4;
    border-radius: 14px;
    background: #f8fbf9;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.gic-field label.gic-file:hover {
    border-color: var(--g);
    background: var(--gs);
}

.gic-file .gic-fact-icon {
    width: 46px;
    height: 46px;
}

.gic-file strong {
    display: block;
    font-size: 14px;
    word-break: break-all;
}

.gic-file em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.gic-file input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.gic-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
    color: #4a5b51;
    font-size: 13px;
    cursor: pointer;
}

.gic-consent input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--g);
}

.gic-trap {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.gic-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    border: 0;
    border-radius: 14px;
    background: var(--o);
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(240, 106, 31, .32);
    transition: transform .2s ease, background .2s ease;
}

.gic-submit:hover {
    background: #dc5b12;
    transform: translateY(-2px);
}

.gic-submit:disabled {
    opacity: .7;
    cursor: wait;
    transform: none;
}

.gic-response {
    display: none;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
}

.gic-response.success,
.gic-response.error {
    display: block;
}

.gic-response.success {
    background: #e4f4e9;
    color: #17703a;
}

.gic-response.error {
    background: #fdecea;
    color: #a8321f;
}

.gic-note-small {
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.gic-message-box {
    padding: 40px 20px;
    text-align: center;
    border-radius: var(--r);
    background: #fff;
    border: 1px solid var(--line);
}

/* ---------- Lightbox ---------- */

.gic-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(8, 22, 15, .88);
    cursor: zoom-out;
}

.gic-lightbox.is-open {
    display: flex;
}

.gic-lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.gic-lightbox button {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--gd);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

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

@media (max-width: 1060px) {
    .gic-layout {
        grid-template-columns: 1fr;
    }

    .gic-side {
        position: static;
    }
}

@media (max-width: 640px) {
    .gic-wrap {
        width: min(1220px, 100% - 28px);
    }

    .gic-detail-hero {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .gic-panel {
        padding: 22px 18px;
    }

    .gic-form,
    .gic-apply-top {
        padding-left: 20px;
        padding-right: 20px;
    }

    .gic-row {
        grid-template-columns: 1fr;
    }

    .gic-controls {
        padding: 10px;
    }

    .gic-filter-search {
        max-width: none;
        flex-basis: 100%;
    }

    .gic-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Detail hero with photo ---------- */

.gic-detail-hero.has-photo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 34px;
    align-items: end;
    padding-bottom: 0;
}

.gic-hero-text {
    padding-bottom: 38px;
}

.gic-hero-photo {
    align-self: end;
    aspect-ratio: 1 / 1.1;
    overflow: hidden;
    border-radius: 999px 999px 0 0;
    border: 6px solid rgba(255, 255, 255, .16);
    border-bottom: 0;
    background: rgba(255, 255, 255, .08);
}

.gic-hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12%;
}

.gic-tagline {
    margin-top: 12px;
    color: #ffc9a6;
    font-family: "Dancing Script", "Brush Script MT", cursive;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    line-height: 1.2;
}

/* ---------- Indian phone field ---------- */

.gic-phone {
    display: flex;
    align-items: stretch;
}

.gic-phone > span {
    display: flex;
    align-items: center;
    padding: 0 14px;
    border: 1px solid #d5dfd9;
    border-right: 0;
    border-radius: 12px 0 0 12px;
    background: var(--gs);
    color: var(--gd);
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
}

.gic-field .gic-phone input[type="tel"] {
    border-radius: 0 12px 12px 0;
    min-width: 0;
}

@media (max-width: 860px) {
    .gic-detail-hero.has-photo {
        grid-template-columns: 1fr;
        padding-bottom: 0;
    }

    .gic-hero-photo {
        width: min(300px, 80%);
        margin: 0 auto;
    }
}

/* =========================================================
   DETAIL PAGE: FULL WIDTH HERO + BALANCED LAYOUT
   (keep this block at the very end of the file)
========================================================= */

/* Full width breakout (removes theme container side white space) */
html,
body {
    overflow-x: clip;
}

.gic-front.gic-detail {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 0 70px;
}

/* Theme wrapper padding (may need adjusting per theme) */
.entry-content:has(.gic-detail),
.page-content:has(.gic-detail),
.site-main:has(.gic-detail),
.elementor-widget-container:has(.gic-detail) {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none !important;
}

/* ---------- HERO (full width) ---------- */
.gic-detail-hero,
.gic-detail-hero.has-photo {
    display: block;
    margin: 0;
    padding: 0;
    border-radius: 0;
}

.gic-hero-inner {
    width: min(1500px, 100% - 80px);
    margin: 0 auto;
    padding: 56px 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 50px;
    align-items: end;
}

.gic-detail-hero.has-photo .gic-hero-inner {
    grid-template-columns: minmax(0, 1fr) 400px;
}

.gic-hero-text {
    padding-bottom: 56px;
}

.gic-detail-hero .gic-back {
    color: #fff;
    margin-bottom: 22px;
}

.gic-detail-hero .gic-back:hover {
    color: #ffc9a6;
}

/* ---------- CONTENT AREA ---------- */
.gic-detail > .gic-wrap {
    width: min(1500px, 100% - 80px);
    padding-top: 40px;
}

/* Left narrower, right (form) wider so the form gets shorter */
.gic-layout {
    grid-template-columns: minmax(0, 1fr) minmax(520px, 620px);
    gap: 36px;
    align-items: start;
}

.gic-side {
    position: static;
}

/* Left column sticky: no empty space on the left while the form scrolls */
.gic-main {
    position: sticky;
    top: 24px;
    align-self: start;
}

/* Slightly more compact form */
.gic-form {
    padding: 24px 30px 28px;
}

.gic-form-group {
    margin-bottom: 18px;
}

.gic-field {
    margin-bottom: 12px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1060px) {
    .gic-layout {
        grid-template-columns: 1fr;
    }

    .gic-main {
        position: static;
    }
}

@media (max-width: 860px) {
    .gic-detail-hero.has-photo .gic-hero-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gic-hero-photo {
        width: min(300px, 80%);
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .gic-hero-inner,
    .gic-detail > .gic-wrap {
        width: calc(100% - 28px);
    }

    .gic-hero-inner {
        padding-top: 36px;
    }

    .gic-hero-text {
        padding-bottom: 36px;
    }
}
