/* GoLegal Connects: responsive navy, gold and ivory theme */
.glc-page{--glc-navy:#071d3c;--glc-navy2:#0d2c52;--glc-gold:#d7a63b;--glc-gold2:#f5d27a;--glc-ivory:#fffaf0;--glc-ink:#17253b;--glc-muted:#667085;color:var(--glc-ink);font-family:inherit;line-height:1.55;max-width:1200px;margin:0 auto;overflow:hidden}
.glc-page *{box-sizing:border-box}
.glc-hero{margin:0 0 24px;border-radius:0 0 18px 18px;overflow:hidden;background:var(--glc-navy)}
.glc-poster{display:block;width:100%;height:auto;object-fit:cover}
.glc-hero-art{padding:clamp(30px,6vw,76px) 24px;text-align:center;color:#fff;background:radial-gradient(circle at 85% 15%,#28466a 0,transparent 30%),linear-gradient(135deg,#07172f,#102f56 72%,#07172f);border-bottom:6px solid var(--glc-gold)}
.glc-brand-mark{font-size:clamp(42px,6vw,72px);color:var(--glc-gold2)}
.glc-brand-title{font-weight:800;font-size:clamp(30px,5vw,58px);line-height:1.1;color:#fff}
.glc-tagline{font-size:clamp(16px,2.5vw,24px);color:var(--glc-gold2);font-weight:700;margin:8px 0 24px}
.glc-hero-art h1{font-size:clamp(24px,4vw,42px);color:#fff;margin:16px auto 10px;max-width:800px}
.glc-hero-art p{color:#f7e8c3;margin:0}
.glc-intro{padding:20px clamp(16px,4vw,42px) 30px;text-align:center}
.glc-intro h2,.glc-form-heading h2{color:var(--glc-navy);font-size:clamp(25px,3vw,36px);margin:0 0 10px}
.glc-intro>p{max-width:760px;margin:0 auto 24px;color:#4b5565}
.glc-benefits{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.glc-benefits>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:18px 10px;border:1px solid #ead8a8;border-radius:14px;background:linear-gradient(180deg,#fff,#fffaf0);font-size:14px}
.glc-benefits span{display:grid;place-items:center;width:58px;height:58px;border:2px solid var(--glc-gold);border-radius:50%;font-size:30px;color:var(--glc-navy)}
.glc-benefits strong{color:var(--glc-navy);line-height:1.3}
.glc-form-wrap{margin:16px clamp(12px,3vw,32px) 30px;padding:clamp(20px,4vw,42px);border:1px solid #e6d6ad;border-radius:20px;background:#fffdf8;box-shadow:0 12px 34px rgba(7,29,60,.08)}
.glc-form-heading{text-align:center;margin-bottom:28px}
.glc-eyebrow{display:inline-block;background:var(--glc-navy);color:var(--glc-gold2);font-size:12px;letter-spacing:1.5px;font-weight:800;padding:6px 12px;border-radius:99px;margin-bottom:12px}
.glc-form-heading p{margin:0;color:var(--glc-muted)}
.glc-form{display:grid;gap:22px}
.glc-field{display:flex;flex-direction:column;gap:8px;min-width:0}
.glc-field label,.glc-choice-group legend{font-weight:750;color:var(--glc-navy)}
.glc-field em,.glc-choice-group em{color:#b42318;font-style:normal}
.glc-field input:not([type=file]),.glc-field textarea{width:100%;border:1px solid #cfd5df;border-radius:10px;background:#fff;padding:13px 14px;font:inherit;color:var(--glc-ink);min-height:48px}
.glc-field textarea{resize:vertical}
.glc-field input:focus,.glc-field textarea:focus{outline:3px solid rgba(215,166,59,.25);border-color:var(--glc-gold)}
.glc-field input[type=file]{font:inherit;max-width:100%}
.glc-field small,.glc-hint{color:var(--glc-muted);font-size:13px;margin:0}
.glc-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.glc-choice-group{border:0;padding:0;margin:0;min-width:0}
.glc-choice-group legend{padding:0 0 6px}
.glc-hint{margin:0 0 12px}
.glc-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.glc-choice{position:relative;display:block;cursor:pointer;min-width:0}
.glc-choice input{position:absolute;opacity:0;width:1px;height:1px}
.glc-choice span{display:flex;align-items:center;min-height:52px;padding:12px 14px;border:1px solid #d5dbe5;border-radius:11px;background:#fff;font-size:14px;font-weight:650;line-height:1.35;transition:background .15s,border-color .15s,box-shadow .15s}
.glc-choice span:before{content:"";width:17px;height:17px;flex:0 0 17px;border:1.5px solid #8a95a7;border-radius:5px;margin-right:10px;background:#fff}
.glc-choice input[type=radio]+span:before{border-radius:50%}
.glc-choice input:checked+span{background:#fff6df;border-color:var(--glc-gold);box-shadow:inset 0 0 0 1px var(--glc-gold);color:var(--glc-navy)}
.glc-choice input:checked+span:before{background:var(--glc-navy);border-color:var(--glc-navy);box-shadow:inset 0 0 0 4px #fff}
.glc-choice input:focus-visible+span{outline:3px solid rgba(215,166,59,.5);outline-offset:2px}
.glc-consent{display:flex;gap:11px;align-items:flex-start;font-size:13px;color:#475467}
.glc-consent input{margin-top:4px;flex:0 0 auto;accent-color:var(--glc-navy)}
.glc-privacy{margin:-14px 0 0;font-size:12px;color:var(--glc-muted)}
.glc-submit{display:flex;justify-content:center;align-items:center;gap:14px;width:100%;border:0;border-radius:12px;background:linear-gradient(105deg,#071d3c,#153b68);color:#fff;padding:16px 22px;font:inherit;font-weight:800;font-size:17px;cursor:pointer;box-shadow:0 7px 18px rgba(7,29,60,.18)}
.glc-submit span{color:var(--glc-gold2);font-size:24px}
.glc-submit:hover{background:linear-gradient(105deg,#102d50,#071d3c)}
.glc-alert{padding:14px 16px;border-radius:10px;margin:0 0 18px}
.glc-success{background:#ecfdf3;color:#05603a;border:1px solid #abefc6}
.glc-error{background:#fef3f2;color:#912018;border:1px solid #fecdca}
.glc-footer{background:var(--glc-navy);border-top:5px solid var(--glc-gold);padding:26px 18px;text-align:center;color:#fff;display:flex;flex-direction:column;align-items:center;gap:8px}
.glc-footer strong{font-size:20px;color:var(--glc-gold2)}
.glc-footer a{color:#fff;text-decoration:underline;overflow-wrap:anywhere}
.glc-footer p{max-width:780px;color:#d9e2ef;font-size:12px;margin:8px auto 0}
.glc-admin .form-table th{width:220px}
@media(max-width:800px){.glc-benefits{grid-template-columns:repeat(3,minmax(0,1fr))}.glc-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.glc-hero{border-radius:0 0 12px 12px;margin-bottom:14px}.glc-benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.glc-benefits>div{padding:13px 7px;font-size:12px}.glc-benefits span{width:48px;height:48px;font-size:25px}.glc-two-col{grid-template-columns:1fr;gap:18px}.glc-choice-grid,.glc-choice-grid-3{grid-template-columns:1fr}.glc-choice span{min-height:48px}.glc-form-wrap{margin:12px 8px 22px;padding:20px 14px;border-radius:14px}.glc-form{gap:19px}.glc-intro{padding:18px 12px 22px}.glc-submit{font-size:16px}}

/* Full-bleed GoLegal page: theme wrapper gutters are removed only when this shortcode exists. */
body:has(.glc-page) .site-content, body:has(.glc-page) main, body:has(.glc-page) .content-area,
body:has(.glc-page) .site-main, body:has(.glc-page) article, body:has(.glc-page) .entry-content,
body:has(.glc-page) .inside-article { margin:0!important; padding:0!important; max-width:none!important; width:100%!important; }
body:has(.glc-page) .entry-title, body:has(.glc-page) .page-title { display:none!important; }
body:has(.glc-page) .glc-page { max-width:none!important; width:100%!important; margin:0!important; }
body:has(.glc-page) .glc-hero { margin-top:0!important; border-radius:0!important; }
.glc-booking-wrap { margin:16px clamp(12px,3vw,32px) 30px; padding:clamp(20px,4vw,42px); border:1px solid #e6d6ad; border-radius:20px; background:#fffdf8; box-shadow:0 12px 34px rgba(7,29,60,.08); }
.glc-price-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:0 0 26px; }
.glc-price-summary>div { display:flex; flex-direction:column; gap:6px; padding:16px; border:1px solid #e5d7b7; border-radius:12px; background:#fff; }
.glc-price-summary span { font-size:13px; color:#667085; }
.glc-price-summary strong { font-size:20px; color:#071d3c; }
.glc-price-summary .glc-total { background:#071d3c; border-color:#071d3c; }
.glc-price-summary .glc-total span,.glc-price-summary .glc-total strong { color:#f5d27a; }
.glc-field select { width:100%; border:1px solid #cfd5df; border-radius:10px; background:#fff; padding:13px 14px; font:inherit; min-height:48px; }
.glc-dashboard { padding:24px; max-width:1100px; margin:auto; }
.glc-dashboard-card { padding:18px; margin:14px 0; border:1px solid #e5d7b7; border-radius:12px; background:#fffdf8; }
.glc-dashboard-card h3 { color:#071d3c; margin-top:0; }
@media(max-width:650px){.glc-price-summary{grid-template-columns:1fr}.glc-booking-wrap{margin:12px 8px 22px;padding:20px 14px;border-radius:14px}}


/* v1.1.1: remove theme gutters and hide the theme's gold footer on this page only.
   The GoCityConnect site header remains visible. */
body:has(.glc-page) {
  overflow-x: hidden;
}
body:has(.glc-page) .site,
body:has(.glc-page) .site.grid-container,
body:has(.glc-page) .site-content,
body:has(.glc-page) .content-area,
body:has(.glc-page) .site-main,
body:has(.glc-page) .inside-article,
body:has(.glc-page) article,
body:has(.glc-page) .entry-content,
body:has(.glc-page) .wp-site-blocks,
body:has(.glc-page) main {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body:has(.glc-page) .site-content,
body:has(.glc-page) .content-area,
body:has(.glc-page) .site-main,
body:has(.glc-page) .inside-article,
body:has(.glc-page) .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
body:has(.glc-page) .entry-header,
body:has(.glc-page) .entry-title,
body:has(.glc-page) .page-header,
body:has(.glc-page) .page-title {
  display: none !important;
}
body:has(.glc-page) .site-footer,
body:has(.glc-page) .footer-widgets,
body:has(.glc-page) .site-info {
  display: none !important;
}
body:has(.glc-page) .glc-page {
  display: block;
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
body:has(.glc-page) .glc-hero {
  margin: 0 !important;
  border-radius: 0 !important;
}
body:has(.glc-page) .glc-hero-art {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
body:has(.glc-page) .glc-footer {
  margin: 0 !important;
  border-radius: 0 !important;
}


/* v1.1.2 — stronger full-bleed overrides for common themes.
   Scoped to pages containing the GoLegal shortcode; retain WordPress admin bar. */
html body:has(.glc-page),
html body:has(.glc-page) #page,
html body:has(.glc-page) .site,
html body:has(.glc-page) .site.grid-container,
html body:has(.glc-page) .site-content,
html body:has(.glc-page) #content,
html body:has(.glc-page) #primary,
html body:has(.glc-page) #main,
html body:has(.glc-page) main,
html body:has(.glc-page) .content-area,
html body:has(.glc-page) .site-main,
html body:has(.glc-page) .inside-article,
html body:has(.glc-page) article,
html body:has(.glc-page) .entry-content,
html body:has(.glc-page) .wp-site-blocks {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
html body:has(.glc-page) #content,
html body:has(.glc-page) .site-content,
html body:has(.glc-page) #primary,
html body:has(.glc-page) #main,
html body:has(.glc-page) .content-area,
html body:has(.glc-page) .site-main,
html body:has(.glc-page) .inside-article,
html body:has(.glc-page) article,
html body:has(.glc-page) .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body:has(.glc-page) .site-header,
html body:has(.glc-page) #masthead,
html body:has(.glc-page) header.site-header,
html body:has(.glc-page) .wp-block-template-part.header,
html body:has(.glc-page) .entry-header,
html body:has(.glc-page) .page-header,
html body:has(.glc-page) .entry-title,
html body:has(.glc-page) .page-title {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
html body:has(.glc-page) .site-footer,
html body:has(.glc-page) #colophon,
html body:has(.glc-page) .footer-widgets,
html body:has(.glc-page) .site-info {
  display: none !important;
}
html body:has(.glc-page) .glc-page,
html body:has(.glc-page) .glc-hero,
html body:has(.glc-page) .glc-poster {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border-radius: 0 !important;
}
html body:has(.glc-page) .glc-hero-art {
  min-height: 360px;
  border-radius: 0 !important;
}

/* v1.1.3: customer-facing pricing shows total only; breakdown remains in admin settings/records. */
.glc-price-summary-total-only { grid-template-columns:minmax(0, 1fr) !important; max-width:460px; margin-left:auto; margin-right:auto; }
.glc-price-summary-total-only .glc-total { text-align:center; align-items:center; padding:18px 22px; }
.glc-price-summary-total-only .glc-total strong { font-size:28px; }

/* v1.1.4: consultation booking is integrated into the single legal enquiry form. */
.glc-session-fields{border:1px solid #e5d7b7;border-radius:14px;padding:18px;background:#fffaf0}
.glc-session-fields legend{padding:0 8px}
.glc-session-fields .glc-price-summary{margin-top:18px;margin-bottom:10px}
.glc-session-fields .glc-choice-grid{margin-top:6px}

.glc-payment-fields{border:1px solid #e5d7b7;border-radius:14px;padding:18px;background:#fffaf0}.glc-payment-qr{display:block;width:160px;height:auto;max-width:100%;margin:12px 0;border:1px solid #e5d7b7;border-radius:10px;background:#fff;padding:8px}

/* v1.2.2: legal-services disclaimer immediately above the contact footer */
.glc-disclaimer {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 22px clamp(16px, 4vw, 48px);
  color: #23334a;
  background: #fff8e9;
  border-top: 1px solid #dfb74e;
  border-bottom: 1px solid #dfb74e;
  text-align: center;
}
.glc-disclaimer h3 {
  margin: 0 0 8px;
  color: #0b2345;
  font-size: 18px;
}
.glc-disclaimer p {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.65;
}

.glc-wallet-packages{border:1px solid #e5d7b7;border-radius:14px;padding:18px;background:#fffaf0}
.glc-wallet-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}
.glc-wallet-package{display:flex;flex-direction:column;gap:7px;padding:14px 10px;border:1px solid #d8c89e;border-radius:12px;background:#fff;cursor:pointer;text-align:center}
.glc-wallet-package input{align-self:center}
.glc-wallet-amount{font-size:20px;font-weight:800;color:#0b2345}
.glc-wallet-minutes{font-size:13px;color:#475467}
@media(max-width:650px){.glc-wallet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
