/*
Theme Name: IMG Impact Standalone
Theme URI: https://verti.ng/
Author: Verti Creative
Author URI: https://verti.ng/
Description: Standalone Impact microsite theme extracted from the Imaginarium Media Group website. Uses the Impact page, Impact case studies, Impact videos, and Impact editing fields.
Version: 1.0.7
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: img-corporate
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/


/* Production overrides for controls inherited from the static prototype. */
.brand-logo::before{content:""!important;display:none!important;}
.foot-legal{display:flex;flex-wrap:wrap;gap:14px 22px;}
.foot-legal a{font-size:.78rem;color:var(--mute,#8d877c);}
.foot-legal a:hover{color:var(--bone,#f6f1e8);}
@media (max-width:760px){.foot-fine{align-items:flex-start;gap:18px;}.foot-legal{width:100%;}}

/* Prevent inline-image baseline gaps and preserve intrinsic proportions. */
img{display:block;max-width:100%;}
.wp-caption img,figure img{vertical-align:middle;}

/* Fill image-only editable hero regions so the wrapper cannot show a blank band. */
.hero > img:only-child,
.hero > p:only-child > img:only-child,
.hero > figure:only-child img,
.bhero > img:only-child,
.bhero > p:only-child > img:only-child,
.bhero > figure:only-child img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  object-position:center;
}
.hero:has(> img:only-child),
.hero:has(> p:only-child > img:only-child),
.hero:has(> figure:only-child img),
.bhero:has(> img:only-child),
.bhero:has(> p:only-child > img:only-child),
.bhero:has(> figure:only-child img){
  position:relative;
  padding:0;
  overflow:hidden;
}

/* IMPACT hero identity supplied in the approved standalone copy. */
.bhero-brandline{display:flex;align-items:baseline;gap:14px;margin-bottom:clamp(18px,2.4vw,30px);font-family:"Graphik",sans-serif;}
.bhero-brandline strong{color:var(--accent);font-size:clamp(.9rem,1.2vw,1.1rem);letter-spacing:.14em;}
.bhero-brandline span{color:var(--bone-2);font-size:clamp(.95rem,1.3vw,1.15rem);font-style:italic;}
@media(max-width:600px){.bhero-brandline{align-items:flex-start;flex-direction:column;gap:4px;}}
