/* ==========================================================================
   Footer alignment fix — unitedpress.uk
   Scope: ONLY the Elementor footer template (footer#colophon, template 509).
   CSS only. No text or links are changed.
   Desktop (1025px+): 4 equal columns, 32px gaps, boxes side by side in one row.
   Tablet (768–1024px): 2 columns.  Mobile (≤767px): 1 column, 16px side margins.
   The doubled #colophon in each selector is deliberate: it gives these rules
   enough weight to override the older footer snippets without editing them.
   ========================================================================== */

/* ---------- 1. Shared rail: both footer sections use one centred 1200px width ---------- */
body footer#colophon#colophon{overflow-x:clip!important;max-width:100%!important}
body footer#colophon#colophon .elementor-element-1ea4c17,
body footer#colophon#colophon .elementor-element-8c81faa{
  padding-left:24px!important;padding-right:24px!important;
}
body footer#colophon#colophon .elementor-element-1ea4c17{padding-top:56px!important;padding-bottom:44px!important}
body footer#colophon#colophon .elementor-element-8c81faa{padding-top:0!important;padding-bottom:0!important}
body footer#colophon#colophon .elementor-element-1ea4c17 > .e-con-inner,
body footer#colophon#colophon .elementor-element-8c81faa > .e-con-inner{
  width:100%!important;max-width:1200px!important;margin:0 auto!important;padding:0!important;box-sizing:border-box!important;
}
body footer#colophon#colophon .elementor-element-8c81faa > .e-con-inner{padding-top:26px!important;padding-bottom:26px!important}
body footer#colophon#colophon .elementor-element-8c81faa > .e-con-inner > .e-con{
  width:auto!important;max-width:none!important;margin:0!important;padding:0!important;
}

/* ---------- 2. Columns: one grid, all headings on the same top line ---------- */
body footer#colophon#colophon .elementor-element-1ea4c17 > .e-con-inner{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-template-rows:auto auto 1fr auto!important;       /* heading | links | links (flexible) | boxes */
  column-gap:32px!important;row-gap:0!important;
  justify-content:stretch!important;align-items:stretch!important;
}
body footer#colophon#colophon .elementor-element-1ea4c17 > .e-con-inner > .e-con{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:subgrid!important;                  /* columns share the same row lines */
  grid-row:span 4!important;
  width:auto!important;max-width:none!important;min-width:0!important;
  margin:0!important;padding:0!important;gap:0!important;
  align-self:stretch!important;align-content:start!important;
}
/* Company column (three link groups, no box) simply flows top to bottom */
body footer#colophon#colophon .elementor-element-1ea4c17 > .e-con-inner > .elementor-element-b4818ec{
  display:flex!important;flex-direction:column!important;justify-content:flex-start!important;
}
/* Row map inside the shared grid */
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-element-f3045ee,
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-element-16bddf3{grid-row:2 / span 2!important}  /* Industry + PR Services links */
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-element-9d7c416{grid-row:2!important}             /* "Published on" chips */
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-element-prs0003{grid-row:3!important}             /* press-release links */
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-element-a645e42,
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-element-d7318fa,
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-element-3ed0f49{grid-row:4!important}             /* the three gold boxes */

/* Every widget: no stray margins; nothing pushed down with auto margins */
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-widget{
  margin:0!important;padding:0!important;width:100%!important;max-width:none!important;min-width:0!important;
}
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-widget > .elementor-widget-container{margin:0!important;padding:0!important}

/* ---------- 3. Headings: same size, weight and spacing everywhere ---------- */
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-widget-heading{margin:0!important}
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-widget-heading:not(:first-child){margin-top:28px!important}
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-heading-title{
  font-size:12.5px!important;font-weight:800!important;letter-spacing:.1em!important;line-height:1.4!important;
  text-transform:uppercase!important;white-space:normal!important;
  margin:0 0 16px!important;padding:0 0 12px!important;position:relative!important;text-align:left!important;
}

/* ---------- 4. Links: even spacing, left aligned, same at every width ---------- */
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-widget-navigation-menu .hfe-nav-menu,
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-widget-navigation-menu .hfe-nav-menu__layout-vertical{width:100%!important;margin:0!important;padding:0!important}
body footer#colophon#colophon .elementor-element-1ea4c17 .hfe-nav-menu li{margin:0!important;padding:0!important;text-align:left!important}
body footer#colophon#colophon .elementor-element-1ea4c17 .hfe-nav-menu a.hfe-menu-item,
body footer#colophon#colophon .elementor-element-1ea4c17 .hfe-nav-menu a.hfe-sub-menu-item{
  display:flex!important;justify-content:flex-start!important;text-align:left!important;
  padding:6px 0!important;margin:0!important;min-height:0!important;line-height:1.45!important;
}

/* ---------- 5. The three gold boxes: same padding, border, radius and height ---------- */
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-element-a645e42,
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-element-d7318fa,
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-element-3ed0f49{
  display:flex!important;flex-direction:column!important;margin-top:28px!important;align-self:stretch!important;
}
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-element-a645e42 > .elementor-widget-container,
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-element-d7318fa > .elementor-widget-container,
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-element-3ed0f49 > .elementor-widget-container{
  display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;
}
body footer#colophon#colophon .elementor-element-1ea4c17 .up-prcard,
body footer#colophon#colophon .elementor-element-1ea4c17 .up-prtrust.up-sectors{
  flex:1 1 auto!important;
  width:100%!important;max-width:none!important;min-height:0!important;margin:0!important;
  padding:24px!important;box-sizing:border-box!important;
  border:1px solid #B08D3A!important;border-radius:10px!important;
  background:#FBF6EA!important;box-shadow:none!important;
}
body footer#colophon#colophon .elementor-element-1ea4c17 .up-prcard a.up-prbadge{max-width:none!important;margin:0 0 12px!important}
body footer#colophon#colophon .elementor-element-1ea4c17 ul.up-prchips,
body footer#colophon#colophon .elementor-element-1ea4c17 ul.up-prchips.up-secchips{max-width:none!important}

/* ---------- 5b. Say what each promise is for: a small label above the two guarantee boxes ---------- */
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-element-d7318fa .up-prcard::before,
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-element-3ed0f49 .up-prcard::before{
  display:block!important;font-size:11px!important;font-weight:600!important;letter-spacing:.15em!important;
  text-transform:uppercase!important;color:#0A0E1A!important;line-height:1.3!important;margin:0 0 10px!important;
}
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-element-d7318fa .up-prcard::before{content:"Media placement guarantee"!important}
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-element-3ed0f49 .up-prcard::before{content:"Press release guarantee"!important}

/* ---------- 5c. "Browse All PR Services" moves up to be the first link of the PR Services column;
   the old centred bar under the logo is hidden (same link, same page: /all-services/) ---------- */
body footer#colophon#colophon .up-allsvc-top{display:none!important}
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-element-16bddf3 ul.hfe-nav-menu{display:flex!important;flex-direction:column!important}
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-element-16bddf3 ul.hfe-nav-menu > li:has(> a[href*="/all-services"]){order:-1!important}
/* same font, size, weight and colour as the other footer links; only the star + "Browse" prefix is added */
body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-element-16bddf3 ul.hfe-nav-menu > li:has(> a[href*="/all-services"]) > a::before{
  content:"\2605  Browse"!important;display:inline-block!important;position:static!important;width:auto!important;height:auto!important;
  opacity:1!important;visibility:visible!important;transform:none!important;background:none!important;
  margin:0 .3em 0 0!important;padding:0!important;white-space:pre!important;font:inherit!important;color:inherit!important;
}

/* ---------- 5d. London address + Instagram / LinkedIn in the logo row
   (the text and links themselves are added by the small snippet "Footer - address and social links") ---------- */
body footer#colophon#colophon .elementor-element-8c81faa > .e-con-inner{
  display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:12px 24px!important;
}
body footer#colophon#colophon .up-footer-meta{margin:0!important;padding:0!important;text-align:right!important}
body footer#colophon#colophon .up-footer-meta p{
  margin:0!important;padding:0!important;font-size:14.5px!important;font-weight:500!important;line-height:1.45!important;
  color:#4A4F5C!important;white-space:normal!important;
}
body footer#colophon#colophon .up-footer-meta p + p{margin-top:6px!important}
body footer#colophon#colophon .up-footer-meta a{color:#4A4F5C!important;text-decoration:none!important;font:inherit!important}
body footer#colophon#colophon .up-footer-meta a:hover{color:#9C7D33!important}
/* Instagram / LinkedIn logos: the brand glyphs come from the Font Awesome Brands font that Elementor
   already ships on this site (no new library, nothing drawn by hand) */
@font-face{font-family:"UP Footer Brands";font-style:normal;font-weight:400;font-display:swap;
  src:url(/wp-content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-brands-400.woff2) format("woff2")}
body footer#colophon#colophon .up-footer-meta p.up-footer-social{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:16px!important;line-height:1!important}
body footer#colophon#colophon .up-footer-meta .up-footer-social a{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:22px!important;height:22px!important;position:relative!important}
body footer#colophon#colophon .up-footer-meta .up-footer-social a::before{
  font-family:"UP Footer Brands"!important;font-weight:400!important;font-style:normal!important;font-size:19px!important;line-height:1!important;
  color:inherit!important;opacity:1!important;position:static!important;width:auto!important;height:auto!important;background:none!important;
}
body footer#colophon#colophon .up-footer-meta .up-footer-social a.up-ig::before{content:"\f16d"!important}
body footer#colophon#colophon .up-footer-meta .up-footer-social a.up-li::before{content:"\f0e1"!important}
body footer#colophon#colophon .up-footer-meta .up-sr{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
body footer#colophon#colophon .up-footer-meta .up-footer-sep{display:none!important}
@media (max-width:767px){
  body footer#colophon#colophon .up-footer-meta{width:100%!important;text-align:left!important}
  body footer#colophon#colophon .up-footer-meta p.up-footer-social{justify-content:flex-start!important}
}

/* ---------- 5e. Review-removal guarantee box under the Company column (added by the same small snippet);
   it sits in the boxes row, so all four boxes share one top line and one height ---------- */
body footer#colophon#colophon .elementor-element-1ea4c17 > .e-con-inner > .e-con.elementor-element-b4818ec{grid-row:span 3!important}
body footer#colophon#colophon .elementor-element-1ea4c17 > .e-con-inner > .up-ormbox-w{
  grid-column:3!important;grid-row:4!important;display:flex!important;flex-direction:column!important;
  margin:28px 0 0!important;padding:0!important;min-width:0!important;align-self:stretch!important;
}
body footer#colophon#colophon .elementor-element-1ea4c17 .up-ormcard::before{
  content:"Review removal guarantee"!important;display:block!important;font-size:11px!important;font-weight:600!important;letter-spacing:.15em!important;
  text-transform:uppercase!important;color:#0A0E1A!important;line-height:1.3!important;margin:0 0 10px!important;
}

/* ---------- 5f. Merged Company list + clickable guarantee boxes (behaviour added by the same small snippet) ---------- */
body footer#colophon#colophon .up-hide{display:none!important}
body footer#colophon#colophon .elementor-element-1ea4c17 .up-prcard.up-toform{cursor:pointer!important;transition:border-color .2s ease,box-shadow .2s ease!important}
body footer#colophon#colophon .elementor-element-1ea4c17 .up-prcard.up-toform:hover{border-color:#9C7D33!important;box-shadow:0 8px 20px rgba(10,14,26,.08)!important}
body footer#colophon#colophon .elementor-element-1ea4c17 .up-prcard.up-toform a.up-prbadge{cursor:pointer!important}

/* ---------- 6. Narrow desktop (1025–1199px): slightly tighter so nothing wraps oddly ---------- */
@media (min-width:1025px) and (max-width:1199px){
  body footer#colophon#colophon .elementor-element-1ea4c17 > .e-con-inner{column-gap:24px!important}
  body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-heading-title{font-size:11px!important;letter-spacing:.08em!important}
  body footer#colophon#colophon .elementor-element-1ea4c17 .up-prcard,
  body footer#colophon#colophon .elementor-element-1ea4c17 .up-prtrust.up-sectors{padding:20px!important}
}

/* ---------- 7. Tablet (768–1024px): two columns, two rows of the same grid ---------- */
@media (min-width:768px) and (max-width:1024px){
  body footer#colophon#colophon .elementor-element-1ea4c17{padding-top:48px!important;padding-bottom:36px!important}
  body footer#colophon#colophon .elementor-element-1ea4c17 > .e-con-inner{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:auto auto 1fr auto auto auto 1fr auto!important;
    column-gap:32px!important;
  }
  body footer#colophon#colophon .elementor-element-1ea4c17 > .e-con-inner > .elementor-element-b4818ec,
  body footer#colophon#colophon .elementor-element-1ea4c17 > .e-con-inner > .elementor-element-upc4col{margin-top:44px!important}
  /* second row: Company (rows 5-7) + review box (row 8) on the left, Press Release column (rows 5-8) on the right */
  body footer#colophon#colophon .elementor-element-1ea4c17 > .e-con-inner > .e-con.elementor-element-b4818ec{grid-row:5 / span 3!important;grid-column:1!important}
  body footer#colophon#colophon .elementor-element-1ea4c17 > .e-con-inner > .e-con.elementor-element-upc4col{grid-row:5 / span 4!important;grid-column:2!important}
  body footer#colophon#colophon .elementor-element-1ea4c17 > .e-con-inner > .up-ormbox-w{grid-column:1!important;grid-row:8!important}
}

/* ---------- 8. Mobile (≤767px): one column, full-width boxes, 16px side margins ---------- */
@media (max-width:767px){
  body footer#colophon#colophon .elementor-element-1ea4c17,
  body footer#colophon#colophon .elementor-element-8c81faa{padding-left:16px!important;padding-right:16px!important}
  body footer#colophon#colophon .elementor-element-1ea4c17{padding-top:40px!important;padding-bottom:32px!important}
  body footer#colophon#colophon .elementor-element-8c81faa > .e-con-inner{padding-top:20px!important;padding-bottom:20px!important}
  body footer#colophon#colophon .elementor-element-1ea4c17 > .e-con-inner{display:flex!important;flex-direction:column!important;gap:0!important}
  body footer#colophon#colophon .elementor-element-1ea4c17 > .e-con-inner > .e-con{
    display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;
  }
  body footer#colophon#colophon .elementor-element-1ea4c17 > .e-con-inner > .e-con + .e-con{margin-top:36px!important}
  /* order on phones: Industry, PR Services, Company, review box, Press Release */
  body footer#colophon#colophon .elementor-element-1ea4c17 > .e-con-inner > .up-ormbox-w{order:1!important;margin:20px 0 0!important;display:flex!important;flex-direction:column!important}
  body footer#colophon#colophon .elementor-element-1ea4c17 > .e-con-inner > .e-con.elementor-element-upc4col{order:2!important;margin-top:36px!important}
  body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-element-a645e42,
  body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-element-d7318fa,
  body footer#colophon#colophon .elementor-element-1ea4c17 .elementor-element-3ed0f49{margin-top:20px!important}
  body footer#colophon#colophon .elementor-element-1ea4c17 .up-prcard,
  body footer#colophon#colophon .elementor-element-1ea4c17 .up-prtrust.up-sectors{padding:20px!important}
}