/* ==========================================================================
   TOP DIGITAL MARKETING COMPANIES IN BANGALORE  -  listicle page only

   Loaded after typography.css and gated to this one page, the same way
   contact.css is. It only adds new blocks; it never re-declares the
   heading scale or the section backgrounds the earlier sheets own.
   ========================================================================== */

/* --- Disclosure ---------------------------------------------------------- */

.ssp .lst-disclosure {
  margin: 34px auto 0;
  max-width: 860px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 0 16px 16px 0;
  background: #fff;
  text-align: left;
}
.ssp .lst-disclosure h3 {
  font-size: 12.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 12px;
}
.ssp .lst-disclosure p { font-size: 14.5px; line-height: 1.75; color: var(--muted); margin: 0 0 12px; }
.ssp .lst-disclosure p:last-child { margin-bottom: 0; }
.ssp .lst-disclosure a { color: var(--orange); font-weight: 600; }

.ssp .lst-updated {
  display: inline-block;
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted);
}

/* --- Featured card (SEO Sadhu) ------------------------------------------- */

.ssp .lst-featured {
  position: relative;
  max-width: 1000px;
  margin: 8px auto 0;
  padding: 38px 36px 34px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 88% -12%, rgba(249,115,22,.30) 0%, rgba(249,115,22,0) 62%),
    var(--navy);
  box-shadow: 0 22px 50px rgba(15,23,42,.20);
}

.ssp .lst-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.ssp .lst-publisher {
  display: block;
  margin-top: 14px;
  font-size: 12.5px;
  color: #94a3b8;
}

.ssp .lst-featured h3 { font-size: 30px; line-height: 1.2; margin: 10px 0 0; color: #fff; }
.ssp .lst-featured .lst-tagline { font-size: 15.5px; line-height: 1.7; color: #CBD5E1; margin: 12px 0 0; max-width: 680px; }

.ssp .lst-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.ssp .lst-featured-grid h4 {
  font-size: 11.5px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 12px;
}
.ssp .lst-featured-grid p,
.ssp .lst-featured-grid li { font-size: 14px; line-height: 1.7; color: #CBD5E1; margin: 0; }
.ssp .lst-featured-grid ul { list-style: none; margin: 0; padding: 0; }
.ssp .lst-featured-grid li { padding: 5px 0 5px 18px; position: relative; }
.ssp .lst-featured-grid li:before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.ssp .lst-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ssp .lst-chips a {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
  font-size: 12.5px;
  font-weight: 600;
  color: #E2E8F0;
  transition: .2s ease;
}
.ssp .lst-chips a:hover { border-color: var(--orange); color: #fff; background: rgba(249,115,22,.18); }

.ssp .lst-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.ssp .lst-proof div strong { display: block; font-size: 26px; font-weight: 700; color: #fff; line-height: 1.1; }
.ssp .lst-proof div span { font-size: 12.5px; color: #94a3b8; }

.ssp .lst-featured-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* --- Comparison table ----------------------------------------------------
   The bridge sets display:contents on Elementor's widget wrappers, so
   .cmp-wrap becomes a direct flex child of .e-con. Its default
   min-width:auto would resolve to the table's intrinsic width, which
   silently defeats overflow-x and scrolls the whole PAGE sideways.
   min-width:0 and table-layout:fixed are both load-bearing.
   ------------------------------------------------------------------------ */

.ssp .cmp-wrap {
  width: 100%;
  min-width: 0;
  max-width: var(--max);
  margin: 40px auto 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ssp .cmp-table {
  width: 100%;
  min-width: 760px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.ssp .cmp-table th,
.ssp .cmp-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}
.ssp .cmp-table thead th {
  background: var(--soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--navy);
}
.ssp .cmp-table tbody tr:last-child th,
.ssp .cmp-table tbody tr:last-child td { border-bottom: 0; }
.ssp .cmp-table tbody th { font-weight: 700; color: var(--navy); }
.ssp .cmp-table tbody th a { color: var(--navy); border-bottom: 1px solid var(--orange); }
.ssp .cmp-table tbody th a:hover { color: var(--orange); }
.ssp .cmp-table td { color: var(--muted); }

.ssp .cmp-table col.c-agency { width: 20%; }
.ssp .cmp-table col.c-local  { width: 22%; }
.ssp .cmp-table col.c-best   { width: 28%; }
.ssp .cmp-table col.c-svc    { width: 30%; }

.ssp .cmp-na { color: #9aa7b8; font-style: italic; }

/* --- Agency profiles ------------------------------------------------------
   Single column at every width. Order is the point of a listicle, and a
   two-up grid makes the numbering ambiguous when it reflows.
   ------------------------------------------------------------------------ */

.ssp .agency-list { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }

.ssp .agency {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 22px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  text-align: left;
  transition: .22s ease;
}
.ssp .agency:hover { border-color: #fed7aa; box-shadow: var(--shadow); transform: translateY(-2px); }

.ssp .agency-rank {
  width: 62px; height: 62px;
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
}

.ssp .agency-body { min-width: 0; }
.ssp .agency h3 { font-size: 21px; margin: 4px 0 0; }
.ssp .agency h3 a { color: var(--navy); }
.ssp .agency h3 a:hover { color: var(--orange); }

.ssp .agency-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 10px 0 0; }
.ssp .agency-meta div { font-size: 13px; color: var(--muted); }
.ssp .agency-meta b { color: var(--navy); font-weight: 700; }

.ssp .agency p { font-size: 14.5px; line-height: 1.75; color: var(--muted); margin: 14px 0 0; }
.ssp .agency .tags { margin-top: 14px; }
.ssp .agency-clients { font-size: 13px; color: var(--muted); margin-top: 12px; }
.ssp .agency-clients b { color: var(--navy); }

.ssp .agency-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--orange);
}
.ssp .agency-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* --- Buyer checklist ------------------------------------------------------
   Deliberately NOT .faq: ss-schema.php parses .faq blocks into FAQPage
   markup, and question-shaped checklist items would be swept in as
   FAQs that are not FAQs.
   ------------------------------------------------------------------------ */

.ssp .checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
  text-align: left;
}
.ssp .checklist-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.ssp .checklist-item span.n {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: #FFF1E4;
  color: var(--orange);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
}
.ssp .checklist-item h3 { font-size: 15.5px; margin: 5px 0 0; }
.ssp .checklist-item p { font-size: 13.5px; line-height: 1.7; color: var(--muted); margin: 8px 0 0; }

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 1040px) {
  .ssp .lst-featured-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .ssp .checklist { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .ssp .lst-featured { padding: 28px 22px; border-radius: 18px; }
  .ssp .lst-featured h3 { font-size: 24px; }
  .ssp .lst-proof { gap: 20px; }
  .ssp .agency { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .ssp .agency-rank { width: 44px; height: 44px; font-size: 17px; border-radius: 12px; }
}

/* Below 600px the table becomes cards. Four columns need roughly 600px of
   width; at 375px a reader sees one and a half of them and most never
   scroll, so stacking beats scrolling here.

   display:block strips the implicit table roles in WebKit, which is why
   the markup carries explicit role attributes, and why thead is moved
   off screen rather than removed: display:none would drop it out of the
   accessibility tree entirely. */

@media (max-width: 599px) {
  .ssp .cmp-wrap { overflow-x: visible; }

  .ssp .cmp-table,
  .ssp .cmp-table tbody,
  .ssp .cmp-table tr,
  .ssp .cmp-table th,
  .ssp .cmp-table td {
    display: block;
    width: auto;
    min-width: 0;
  }

  .ssp .cmp-table {
    border: 0;
    background: transparent;
    min-width: 0;
  }

  .ssp .cmp-table thead {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .ssp .cmp-table tbody tr {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    margin-bottom: 14px;
    padding: 6px 4px;
  }

  .ssp .cmp-table tbody th,
  .ssp .cmp-table tbody td { border-bottom: 0; padding: 10px 16px; }

  .ssp .cmp-table tbody th { font-size: 17px; padding-bottom: 4px; }

  .ssp .cmp-table tbody td:before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .9px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 3px;
  }
}
/* --------------------------------------------------------------------------
   METHOD CARDS

   These were originally .urgency-card, which is designed to sit on the navy
   .section.urgency band: its body text is a pale grey intended for a dark
   background. On this light section that rendered as light grey on light
   grey. Purpose-built light-background cards instead.
   -------------------------------------------------------------------------- */

.ssp .lst-criteria {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
  text-align: left;
  align-items: stretch;
}

.ssp .crit-card {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.ssp .crit-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: #FFF1E4;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
}
.ssp .crit-icon svg { width: 20px; height: 20px; stroke: var(--orange); fill: none; stroke-width: 1.9; }

.ssp .crit-card h3 { font-size: 15.5px; line-height: 1.35; color: var(--navy); margin: 0 0 9px; }
.ssp .crit-card p  { font-size: 13.5px; line-height: 1.7; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   The featured card sits inside a .center container, so it inherits centred
   text. The two columns read badly that way: bullets detach from their text
   and the eye has no left edge to follow. Left align the whole card.
   -------------------------------------------------------------------------- */

.ssp .lst-featured { text-align: left; }
.ssp .lst-featured .lst-tagline { margin-left: 0; margin-right: 0; }
.ssp .lst-address {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: #94a3b8;
}

@media (max-width: 1040px) {
  .ssp .lst-criteria { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .ssp .lst-criteria { grid-template-columns: 1fr; }
}
/* --------------------------------------------------------------------------
   HERO ART
   -------------------------------------------------------------------------- */

.ssp .lst-hero-art { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ssp .lst-hero-art img { width: 100%; max-width: 430px; height: auto; display: block; }
.ssp .lst-hero-cap {
  margin-top: 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
  align-self: flex-end;
  color: var(--navy);
}
.ssp .lst-hero-cap em { display: block; font-style: normal; color: var(--orange); }

/* --------------------------------------------------------------------------
   FEATURED CARD  -  compacted

   The stacked version ran to 868px against a 900px viewport, so the card
   never fitted one screen. Split into a left identity/proof column and a
   right detail column, which roughly halves the height without dropping
   any content.
   -------------------------------------------------------------------------- */

.ssp .lst-featured { padding: 30px 32px; }
.ssp .lst-featured h3 { font-size: 26px; }
.ssp .lst-featured .lst-tagline { font-size: 14.5px; line-height: 1.65; margin-top: 10px; }

.ssp .lst-cols {
  display: grid;
  grid-template-columns: 352px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.ssp .lst-main {
  border-right: 1px solid rgba(255,255,255,.12);
  padding-right: 32px;
}

/* Proof points become a 2x2 block in the left column rather than a wide row. */
.ssp .lst-main .lst-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin-top: 20px;
  padding-top: 18px;
}
.ssp .lst-main .lst-proof div strong { font-size: 22px; }
.ssp .lst-featured-actions { margin-top: 20px; }
.ssp .lst-featured-actions .btn { padding: 11px 20px; font-size: 13.5px; }

/* The first detail block sits flush with the top of its column. */
.ssp .lst-side > .lst-featured-grid:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.ssp .lst-side > .lst-featured-grid { margin-top: 22px; padding-top: 20px; gap: 24px; }
.ssp .lst-side .lst-featured-grid li { padding: 4px 0 4px 17px; font-size: 13.5px; }
.ssp .lst-side .lst-featured-grid li:before { top: 12px; }
.ssp .lst-chips a { padding: 5px 12px; font-size: 12px; }

@media (max-width: 1040px) {
  .ssp .lst-cols { grid-template-columns: 1fr; gap: 24px; }
  .ssp .lst-main { border-right: 0; padding-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 22px; }
}

@media (max-width: 900px) {
  .ssp .lst-hero-art { margin-top: 26px; }
  .ssp .lst-hero-cap { align-self: center; text-align: center; }
}

@media (max-width: 620px) {
  .ssp .lst-side > .lst-featured-grid { grid-template-columns: 1fr; }
  .ssp .lst-main .lst-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* --------------------------------------------------------------------------
   Buttons move into the right column, under the industry chips, where there
   was dead space. The right column is wide enough to sit them side by side.
   -------------------------------------------------------------------------- */

.ssp .lst-side .lst-featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
}

/* The identity column ends at the proof block now. */
.ssp .lst-main .lst-featured-actions { display: none; }

/* --------------------------------------------------------------------------
   Agency website shown as plain, selectable text rather than a link, so the
   page does not hand visitors a way off the site. user-select:all means one
   click selects the whole address for copying.
   -------------------------------------------------------------------------- */

.ssp .agency-url {
  display: inline-block;
  margin-top: 16px;
  padding: 7px 13px;
  border-radius: 9px;
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  -webkit-user-select: all;
  user-select: all;
}

/* Agency names are no longer links anywhere, so the link affordances go. */
.ssp .agency h3 { color: var(--navy); }
.ssp .cmp-table tbody th { color: var(--navy); }
/* The badge is gone, so the name is now the first thing in the column. */
.ssp .lst-main > h3:first-child { margin-top: 0; }

/* An agency without a local office is labelled as such, so a full list of
   ten never implies ten local offices. */
.ssp .agency-presence {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #fed7aa;
  background: #FFF7ED;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3px;
  color: #c2410c;
  vertical-align: middle;
}
.ssp .cmp-table .agency-presence { margin-left: 0; margin-top: 5px; display: block; width: fit-content; }

/* --------------------------------------------------------------------------
   AGENCY LOGOS
   Fixed-size tiles, so logos of every shape sit at one visual weight and the
   layout never shifts while they load. White-text logos get a navy tile.
   -------------------------------------------------------------------------- */
.ssp .agency-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.ssp .agency-logo,
.ssp .cmp-logo {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  box-sizing: border-box; background: #fff; border: 1px solid var(--line); overflow: hidden;
}
.ssp .agency-logo { width: 156px; height: 62px; padding: 9px 14px; border-radius: 12px; }
.ssp .cmp-logo { width: 104px; height: 40px; padding: 6px 9px; border-radius: 9px; margin-bottom: 9px; }
.ssp .agency-logo img,
.ssp .cmp-logo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.ssp .agency-logo.is-dark,
.ssp .cmp-logo.is-dark { background: var(--navy); border-color: var(--navy); }
.ssp .agency-logo.is-mono,
.ssp .cmp-logo.is-mono { background: var(--soft); color: var(--navy); font-family: Poppins, sans-serif; font-weight: 700; letter-spacing: 1px; }
.ssp .agency-logo.is-mono { font-size: 20px; }
.ssp .cmp-logo.is-mono { font-size: 14px; }
.ssp .cmp-name { display: block; }
@media (max-width: 760px) {
  .ssp .agency-head { flex-direction: column-reverse; align-items: flex-start; gap: 12px; }
  .ssp .agency-logo { width: 140px; height: 56px; }
}
/* --------------------------------------------------------------------------
   ADD YOUR AGENCY
   Warm band: it sits between the comparison table (soft grey) and the list
   (cream), so it must not share either background.
   -------------------------------------------------------------------------- */
.ssp .section.lst-submit { background: #FFF7ED; }
.ssp .lst-submit-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px 0 24px; }
.ssp .lst-submit-points span { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid #fed7aa; font-size: 13px; font-weight: 600; color: var(--navy); }
.ssp .lst-submit-points span:before { content: "\2713"; color: var(--orange); margin-right: 7px; font-weight: 800; }
.ssp .lst-submit-note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.ssp .lst-submit-note a { color: var(--orange); font-weight: 600; }

/* The dialog lives outside .ssp (printed in the footer), so it is scoped by id. */
#ss-agency-dialog { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 30px 80px rgba(15,23,42,.35); color: #0F172A; font-family: inherit; }
#ss-agency-dialog::backdrop { background: rgba(15,23,42,.55); }
#ss-agency-form { position: relative; padding: 30px 32px 26px; }
#ss-agency-form h2 { font-family: Poppins, sans-serif; font-size: 24px; line-height: 1.25; margin: 0 40px 8px 0; color: #0F172A; }
#ss-agency-form .ss-agd-intro { margin: 0 0 18px; font-size: 14px; line-height: 1.6; color: #5b6b80; }
#ss-agency-form fieldset { border: 1px solid #e3e7ee; border-radius: 14px; padding: 16px 18px 6px; margin: 0 0 16px; }
#ss-agency-form legend { padding: 0 8px; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #F97316; }
#ss-agency-form label { display: block; margin: 0 0 12px; font-size: 13px; font-weight: 600; color: #0F172A; }
#ss-agency-form .ss-agd-lbl { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
#ss-agency-form input:not([type=checkbox]):not([type=file]), #ss-agency-form select, #ss-agency-form textarea {
  display: block; width: 100%; box-sizing: border-box; margin-top: 5px; padding: 10px 12px; border: 1px solid #cfd6e0; border-radius: 10px; font: 400 14px/1.4 inherit; color: #0F172A; background: #fff; }
#ss-agency-form input:focus, #ss-agency-form select:focus, #ss-agency-form textarea:focus { outline: 2px solid #F97316; outline-offset: 1px; border-color: #F97316; }
#ss-agency-form input[type=file] { display: block; margin-top: 7px; font-size: 13px; }
#ss-agency-form .ss-agd-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
#ss-agency-form .ss-agd-hint { font-weight: 400; color: #7a8799; font-size: 12px; }
#ss-agency-form p.ss-agd-hint { margin: -6px 0 12px; }
#ss-agency-form .ss-agd-chks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 12px; margin-bottom: 12px; }
#ss-agency-form .ss-agd-chk { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; margin: 0 0 6px; }
#ss-agency-form .ss-agd-chk input { margin-top: 3px; accent-color: #F97316; }
#ss-agency-form .ss-agd-count { display: block; text-align: right; font-size: 12px; font-weight: 400; color: #7a8799; margin-top: 3px; }
#ss-agency-form .ss-agd-consent { margin: 4px 0 18px; font-size: 13px; }
#ss-agency-form .ss-agd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#ss-agency-form .ss-agd-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
#ss-agency-form .ss-agd-status { margin: 0; font-size: 13px; color: #c2410c; }
#ss-agency-form .ss-agd-x { position: absolute; top: 16px; right: 18px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #F7F8FA; font-size: 22px; line-height: 1; cursor: pointer; color: #0F172A; }
#ss-agency-form .ss-agd-done { padding: 30px 0 10px; text-align: center; }
#ss-agency-form .ss-agd-done p { color: #5b6b80; margin: 10px 0 22px; }
#ss-agency-form .btn.primary { border: 0; cursor: pointer; }
#ss-agency-form .btn.primary:disabled { opacity: .6; cursor: wait; }
@media (max-width: 640px) {
  #ss-agency-dialog { width: 100vw; max-width: 100vw; height: 100%; max-height: 100%; border-radius: 0; margin: 0; }
  #ss-agency-form { padding: 22px 18px; }
  #ss-agency-form .ss-agd-row { grid-template-columns: 1fr; }
  #ss-agency-form .ss-agd-chks { grid-template-columns: 1fr 1fr; }
}

/* Add-your-agency banner card: illustration left, heading and button right. */
.ssp .lst-submit-card {
  display: grid; grid-template-columns: 230px minmax(0, 1fr); align-items: center; gap: 48px;
  max-width: 940px; margin: 0 auto; padding: 30px 52px 30px 36px;
  background: #fff; border: 1px solid #fde3c8; border-radius: 26px;
  box-shadow: 0 22px 50px rgba(249,115,22,.12); text-align: left; position: relative; overflow: hidden;
}
.ssp .lst-submit-card:after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,.10) 0%, rgba(249,115,22,0) 70%); pointer-events: none;
}
.ssp .lst-submit-art { position: relative; display: flex; align-items: center; justify-content: center; }
.ssp .lst-submit-art:before {
  content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #FFE4CC 0%, #FFF3E6 55%, rgba(255,243,230,0) 72%);
}
.ssp .lst-submit-art img { position: relative; display: block; width: 100%; max-width: 230px; height: auto; }
.ssp .lst-submit-copy { position: relative; z-index: 1; }
.ssp .lst-submit-copy h2 { font-size: 36px; line-height: 1.2; margin: 0 0 24px; max-width: 520px; }
.ssp .lst-submit-copy .btn { display: inline-flex; align-items: center; gap: 8px; }
.ssp .section.lst-submit { padding-top: 64px; padding-bottom: 64px; }
@media (max-width: 760px) {
  .ssp .lst-submit-card { grid-template-columns: 1fr; gap: 14px; padding: 26px 22px 30px; text-align: center; }
  .ssp .lst-submit-art img { max-width: 160px; }
  .ssp .lst-submit-copy h2 { font-size: 26px; margin: 0 auto 20px; }
}
/* Dialog centring: the theme resets margins globally, which breaks the native
   margin:auto centring of <dialog>, so pin it explicitly. */
#ss-agency-dialog[open] { position: fixed; inset: 0; margin: auto; height: fit-content; }
@media (max-width: 640px) { #ss-agency-dialog[open] { height: 100%; margin: 0; } }

/* Banner copy centred within its column, on every city page. */
.ssp .lst-submit-card { text-align: center; }
.ssp .lst-submit-copy { display: flex; flex-direction: column; align-items: center; }
.ssp .lst-submit-copy h2 { margin-left: auto; margin-right: auto; }
