/* Approved mobile-only detail layout, preserving the native H1 and desktop markup. */
@layer igc-mobile-detail-v1 {
@media(max-width:767px) {
#header .header-pc {background:#fbfaf7!important;}
#header :is(.logo img,.logo svg,.search-btn img,.search-btn svg,.head_menu .icon img,.head_menu .icon svg) {filter:brightness(0) saturate(100%) invert(40%)!important;}
#main[data-igc-mobile-detail="v1"] > .page-content {
 padding-top:calc((var(--header-height,50px) + 19px)/2 + 32px)!important;
}
#main[data-igc-mobile-detail="v1"] .page-ban {
 position:relative!important;overflow:visible!important;
}
#main[data-igc-mobile-detail="v1"] .page-ban::before,
#main[data-igc-mobile-detail="v1"] .page-ban::after {display:none!important;}
#main[data-igc-mobile-detail="v1"] .page-ban > .img {
 position:relative!important;width:calc(100% - 40px)!important;max-width:none!important;
 height:auto!important;min-height:0!important;max-height:none!important;
 margin:0 20px!important;padding:0!important;aspect-ratio:var(--igc-md-mb-ratio)!important;
}
#main[data-igc-mobile-detail="v1"] .page-ban > .img img {
 width:100%!important;height:100%!important;display:block!important;
 object-fit:contain!important;object-position:center!important;transform:none!important;
}
#main[data-igc-mobile-detail="v1"] .page-ban > .container {
 position:static!important;inset:auto!important;transform:none!important;
 width:calc(100% - 40px)!important;max-width:none!important;
 margin:32px 20px 0!important;padding:0!important;
}
#main[data-igc-mobile-detail="v1"] .page-ban .slogan {
 position:static!important;inset:auto!important;transform:none!important;
 width:100%!important;margin:0!important;padding:0!important;
}
#main[data-igc-mobile-detail="v1"] .page-ban h1 {
 position:static!important;inset:auto!important;transform:none!important;
 width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
 font-family:CrimsonText_SB,Georgia,serif!important;
 font-size:clamp(30px,7.8vw,40px)!important;line-height:1.18!important;font-weight:500!important;
 color:#666!important;text-align:left!important;overflow-wrap:anywhere!important;
}
}
}

/* Mobile detail refinement. Existing identity/copy/assets retained. */
@layer igc-mobile-detail-v1 {
@media(max-width:767px) {
#main[data-igc-mobile-detail="v1"] .igc-refined-mobile-content dt {color:#666!important;}
#main[data-igc-mobile-detail="v1"] .page-ban h1 {
 font-size:26px!important;line-height:1.2!important;font-weight:500!important;
}
#main[data-igc-mobile-detail="v1"] > :is(.firm-d-page1,.projects-d-page1) {display:none!important;}
}
}
.igc-refined-mobile-content{display:none;}
@media(max-width:767px) {
#main > .igc-refined-mobile-content {
 display:block;margin:28px 20px 0;padding:0;min-width:0;
 font-family:Poppins_R,Arial,sans-serif;font-size:16px;font-weight:400;line-height:1.6;color:#333;
}
.igc-refined-mobile-content :is(dl,dt,dd,p,figure,h2){margin:0;padding:0;}
.igc-refined-mobile-content .refined-heading {
 font-family:CrimsonText_SB,Georgia,serif;font-size:22px;font-weight:500;line-height:1.25;color:#666;
}
.igc-refined-mobile-content .refined-copy {margin-top:14px;font-size:16px;line-height:1.6;}
.igc-refined-mobile-content .refined-copy p {font-family:Poppins_R,Arial,sans-serif;font-size:16px;font-weight:400;line-height:1.6;}
.igc-refined-mobile-content .refined-copy p+p {margin-top:16px;}
.igc-refined-mobile-content .refined-facts {display:grid;row-gap:10px;line-height:1.5;}
.igc-refined-mobile-content .refined-facts > div {display:grid;grid-template-columns:84px minmax(0,1fr);column-gap:12px;align-items:baseline;}
.igc-refined-mobile-content .refined-facts dt {font-size:16px;font-weight:400;color:#666;overflow-wrap:anywhere;}
.igc-refined-mobile-content .refined-facts dd {font-size:16px;color:#333;min-width:0;overflow-wrap:anywhere;}
.igc-refined-mobile-content .refined-facts dd p {font-size:16px;line-height:1.5;margin:0;}
.igc-refined-mobile-content .refined-overview {margin-top:26px;padding-top:24px;border-top:1px solid rgba(102,102,102,.45);}
.igc-refined-mobile-content .refined-contacts {display:grid;row-gap:16px;margin-top:26px;padding-top:24px;border-top:1px solid rgba(102,102,102,.45);}
.igc-refined-mobile-content .refined-contacts dt {font-size:16px;font-weight:400;color:#666;}
.igc-refined-mobile-content .refined-contacts dd {margin-top:4px;min-width:0;overflow-wrap:anywhere;}
.igc-refined-mobile-content .refined-contacts a {display:inline-flex;align-items:center;min-height:44px;color:#333;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;}
.igc-refined-mobile-content .refined-contacts .igc-practice-email-list-v1 {display:flex;flex-direction:column;align-items:flex-start;gap:0;}
.igc-refined-mobile-content .refined-socials {display:flex;gap:8px;}
.igc-refined-mobile-content .refined-socials a {width:44px;height:44px;display:inline-flex;align-items:center;justify-content:flex-start;}
.igc-refined-mobile-content .refined-socials img {display:block;width:20px!important;height:20px!important;object-fit:contain;}
.igc-refined-mobile-content .refined-project-facts {margin-top:24px;padding-top:20px;border-top:1px solid rgba(102,102,102,.45);}
.igc-refined-mobile-content .refined-project-facts > div {grid-template-columns:112px minmax(0,1fr);}
.igc-refined-mobile-content .refined-project-image {margin-top:28px;}
.igc-refined-mobile-content .refined-project-image img {display:block;width:100%!important;height:auto!important;}
.igc-refined-mobile-content a:focus-visible {outline:2px solid #666;outline-offset:3px;}
}

/* Requested variant: same spacing system and typography, title below image. */
@layer igc-mobile-detail-v1 {
@media(max-width:767px) {
#main[data-igc-mobile-detail="v1"] .page-ban > .img::after {display:none!important;}
#main[data-igc-mobile-detail="v1"] .page-ban > .container {
 position:static!important;inset:auto!important;transform:none!important;
 width:calc(100% - 40px)!important;max-width:none!important;
 margin:28px 20px 0!important;padding:0!important;z-index:auto!important;
}
#main[data-igc-mobile-detail="v1"] .page-ban h1 {
 color:#333!important;font-size:26px!important;line-height:1.2!important;font-weight:500!important;
}
}
}

/* IGC website VI: mobile detail preview only. No desktop declarations. */
@layer igc-mobile-detail-v1 {
@media(max-width:767px) {
#main[data-igc-mobile-detail="v1"] .page-ban h1,
#main[data-igc-mobile-detail="v1"] .igc-refined-mobile-content .refined-heading {
 color:#666666!important;
}
#main[data-igc-mobile-detail="v1"] .igc-refined-mobile-content :is(dt,dd,.refined-copy,.refined-copy p) {
 color:#333333!important;
}
#main[data-igc-mobile-detail="v1"] .igc-refined-mobile-content :is(.refined-overview,.refined-contacts,.refined-project-facts) {
 border-top-color:#666666!important;
}
}
}

@layer igc-mobile-detail-v1 {
@media(max-width:767px) {
#main[data-igc-mobile-detail="v1"] .page-ban > .img > picture {
 display:block!important;width:100%!important;height:100%!important;
}
#main[data-igc-mobile-detail="v1"] .page-ban > .img > picture > img {
 width:100%!important;height:100%!important;aspect-ratio:auto!important;
 object-fit:contain!important;transform:none!important;opacity:1!important;
}
#main[data-igc-mobile-detail="v1"] .page-ban h1.scroll-animate {
 opacity:1!important;visibility:visible!important;clip-path:none!important;transform:none!important;
}
#main[data-igc-mobile-detail="v1"] .page-ban.igc-detail-banner-empty > .img {display:none!important;}
#main[data-igc-mobile-detail="v1"] .page-ban.igc-detail-banner-empty > .container {margin-top:0!important;}
}
}
@media(max-width:767px) {
#main[data-igc-mobile-detail="v1"] > .igc-refined-mobile-content {padding-bottom:0;background:#fbfaf7;}
.igc-refined-mobile-content .refined-document {margin-top:24px;padding-top:20px;border-top:1px solid #666;}
.igc-refined-mobile-content .refined-document a {display:inline-flex;align-items:center;min-height:44px;color:#333;text-decoration:underline;overflow-wrap:anywhere;}
}

/* Native animation may wrap the headline in spans; retain the mobile VI color. */
@layer igc-mobile-detail-v1 {
@media(max-width:767px) {
#main[data-igc-mobile-detail="v1"] .page-ban h1 span {color:inherit!important;}
}
}
