/* Prevent intrinsic grid content from widening the original mobile layout. */
.fip-twocol > * { min-width: 0; }
.fip-bodycopy { overflow-wrap: anywhere; }

/* Offer controls: accommodate multi-line labels and keep SVG arrows aligned. */
html:root body :is(.fames-offer-cta,.fip-exhibitor-link,.fip-sponsor-link)[class][class][class][class] {
 display:flex!important; align-items:center!important; justify-content:space-between!important;
 box-sizing:border-box!important; width:100%!important; max-width:100%!important;
 height:auto!important; min-height:56px!important; padding:14px 18px!important;
 gap:16px!important; line-height:1.35!important; white-space:normal!important;
 border-radius:28px!important; text-decoration:none!important; margin-top:auto!important;
 flex-shrink:0!important; font-size:15px!important;
}
html:root body :is(.fames-offer-cta,.fip-exhibitor-link,.fip-sponsor-link)[class][class][class][class] > svg {
 position:static!important; width:20px!important; height:20px!important;
 flex:0 0 20px!important; margin:0!important; background:transparent!important;
}
html:root body .fm-photo-credits {font-size:12px;line-height:1.6;max-width:650px;}
html:root body .fm-photo-credits summary {cursor:pointer;text-decoration:underline;text-underline-offset:3px;}
html:root body .fm-photo-credits p {font-size:12px!important;line-height:1.6!important;margin:10px 0!important;}
html:root body .fm-photo-credits a {color:inherit!important;display:inline!important;}

/* Participer: reserve breathing room before offer buttons, even on narrow cards. */
html:root body .fip-exhibitor-card > .fip-exhibitor-point:last-of-type,
html:root body .fip-sponsor-card > .fip-sponsor-point:last-of-type { margin-bottom:28px!important; flex-shrink:0!important; }

/* FAMES — desktop refinement. Mobile/tablet styles remain untouched. */
@media (min-width: 992px) {
  /* A shared reading width keeps sections aligned on wide monitors. */
  html:root body :is(.fip-hero,.fip-white,.fip-dark,.fip-cream,.fip-quote,.fip-final,.fip-nav,.fip-footer) {
    padding-left:max(40px, calc((100% - 1200px) / 2))!important;
    padding-right:max(40px, calc((100% - 1200px) / 2))!important;
  }
  html:root body :is(.fip-twocol,.fip-hero-grid,.fames-hero-grid) > * { min-width:0; }
  html:root body .fip-twocol { grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(36px,5vw,72px); align-items:center; }
  html:root body :is(.fip-link,.fip-navcta,.fames-nav-link,.fames-nav-cta) { font-size:15px!important; line-height:1.5!important; }
  html:root body :is(.fames-nav,.fip-nav) { min-height:86px; height:auto; padding-top:18px; padding-bottom:18px; }
  html:root body :is(.fip-btnblue,.fip-btnghost,.fip-btnsun,.fames-btn-primary,.fames-btn-secondary,.fames-btn-primary-inverse,.fames-btn-secondary-inverse,.fames-btn-ticket,.fm-visual-link,.fames-action-link,.fames-card-link,.fames-participate-link-ink) {
    font-size:16px!important; line-height:1.5!important;
  }
  html:root body :is(.fip-cardcopy,.fip-cardcopyink,.fip-sponsor-copy,.fip-exhibitor-copy,.fames-offer-copy,.fames-card-copy,.fames-card-copy-white,.fames-card-copy-ink,.fames-action-copy,.fames-quick-card-copy,.fames-quick-card-copy-light,.fames-pillar-copy,.vfames-card-copy,.fames-exp-copy,.fames-proof-copy,.fames-partners-text,.fames-guest-text,.fames-offers-lead) {
    font-size:17px!important; line-height:1.65!important;
  }
  html:root body :is(.fip-sponsor-point,.fip-exhibitor-point,.fames-offer-points,.fm-online-benefit,.fip-shapecopy,.fip-small,.fip-smallink) {
    font-size:16px!important; line-height:1.65!important;
  }
  html:root body :is(.fip-kicker,.fip-kickerlight,.fip-label,.fames-section-label,.fames-section-label-light,.fames-eyebrow,.fames-action-kicker,.fames-offers-kicker,.fames-offer-label,.fip-sponsor-label,.fip-exhibitor-label) {
    font-size:12px!important; line-height:1.6!important;
  }
  html:root body :is(.fames-meta-label,.vfames-bubble-label,.fames-activity-meta,.fames-event-note,.fip-note,.fames-offers-note,.fames-footer,.fip-footer,.fip-consent) { font-size:14px!important; line-height:1.6!important; }
  html:root body :is(.fip-input,.fip-textarea,.fip-submit) { font-size:16px!important; }
  /* Equal columns for the three exhibitor offers; sponsorship keeps its carousel. */
  html:root body .fip-exhibitor-grid { display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:24px!important; overflow:visible!important; align-items:stretch; }
  html:root body .fip-exhibitor-card { width:auto!important; min-width:0!important; }
  html:root body :is(.fip-sponsor-grid,.fames-offer-grid) { align-items:stretch!important; scroll-padding-inline:0; }
  html:root body :is(.fip-exhibitor-card,.fip-sponsor-card,.fames-offer-card) { box-sizing:border-box; }
  html:root body :is(.fip-exhibitor-link,.fip-sponsor-link,.fames-offer-cta) { flex-shrink:0!important; }
  /* Preserve each photograph/illustration in full instead of forcing fixed crops. */
  html:root body :is(.fames-photo-copy .fames-photo-image,.fip-photo-image,.fm-story-photo,.fc-photo) {
    width:100%!important; height:auto!important; min-height:0!important; max-height:none!important;
    object-fit:contain!important; display:block!important;
  }
  html:root body :is(.fames-photo-copy .fames-photo-frame,.fip-photo-wrap,.fm-visual-art) { height:auto!important; min-height:0!important; }
  html:root body :is(.fc-photo-wrap,.fames-photo-frame,.fip-photo-wrap,.fm-visual-art):hover img { transform:none!important; }
  html:root body .fm-conakry-photo { aspect-ratio:4 / 3!important; height:auto!important; background-size:contain!important; background-repeat:no-repeat!important; }
  html:root body .fames-real-meeting-photo { width:100%!important; max-width:1000px!important; margin-left:auto!important; margin-right:auto!important; aspect-ratio:3 / 2!important; height:auto!important; background-size:contain!important; background-repeat:no-repeat!important; }
  html:root body .fip-grid:has(> :nth-child(3):last-child) { grid-template-columns:repeat(3,minmax(0,1fr))!important; }
  html:root body .fip-grid:has(> :nth-child(5):last-child) { grid-template-columns:repeat(6,minmax(0,1fr))!important; }
  html:root body .fip-grid:has(> :nth-child(5):last-child) > * { grid-column:span 2; min-width:0; }
  html:root body .fip-grid:has(> :nth-child(5):last-child) > :nth-child(n+4) { grid-column:span 3; }
  html:root body :is(.contact-option-copy,.contact-input,.contact-submit,.participant-input,.participant-button) { font-size:16px!important; line-height:1.6!important; }
  html:root body :is(.contact-label,.contact-consent,.contact-back,.fm-ticket-help,.fm-form-privacy) { font-size:14px!important; line-height:1.6!important; }
}

/* Desktop only: balanced objectives and issue-section introductions. */
@media (min-width: 992px) {
  html body .vfames-numbers > div:first-child {
    max-width: 860px !important;
  }
  html body .vfames-numbers-title {
    font-size: clamp(58px, 5.1vw, 76px) !important;
    line-height: 1.02 !important;
  }
  html body .vfames-numbers-text {
    max-width: 640px !important;
    margin: 26px auto 0 !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
    text-align: center !important;
  }
  html body .vfames-numbers .vfames-bubbles {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    justify-items: center !important;
    align-items: center !important;
    width: min(100%, 900px) !important;
    max-width: 900px !important;
    gap: 30px 44px !important;
    padding: 0 !important;
  }
  html body .vfames-numbers .vfames-bubbles .vfames-bubble {
    box-sizing: border-box !important;
    position: relative !important;
    inset: auto !important;
    width: min(100%, 240px) !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 240px !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    padding: 24px !important;
    flex: none !important;
    transform: none !important;
  }
  html body .vfames-numbers .vfames-bubble .vfames-count {
    font-size: clamp(46px, 4.2vw, 64px) !important;
    line-height: 1.05 !important;
  }
  html body .vfames-numbers .vfames-bubble .vfames-bubble-label {
    font-size: 14px !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }
  html body .vfames-frames .vfames-head {
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 1fr) !important;
    align-items: end !important;
    column-gap: clamp(40px, 5vw, 76px) !important;
  }
  html body .vfames-frames .vfames-title {
    font-size: clamp(52px, 4.5vw, 70px) !important;
    line-height: 1.02 !important;
  }
  html body .vfames-frames .vfames-intro {
    max-width: 490px !important;
    margin: 0 0 8px !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
  }
}
