/* UAE Startup Story Feature Your Startup page
   (/feature-your-startup/) - clean editorial landing.
   Same family as the Submit Press Release page and the
   Startup Stories archives: a cream hero, the site's ink
   and red accent, short headings, thin rules, no shadows,
   no gradients, no rounded cards. Scoped to .uss-fs-page,
   so other pages are untouched. Uses the design-system
   tokens and the same reduced type scale as the press
   release page. */

.uss-fs-page {
  width: 100%;
  background: var(--uss-paper);
  color: var(--uss-ink);
  /* Titles and body text a touch smaller than the site default,
     scoped to this page only. */
  --uss-display: clamp(2rem, 4vw, 3rem);
  --uss-h2: clamp(1.25rem, 2.5vw, 1.75rem);
  font-size: 0.875rem;
}

/* Full width: this page template renders inside GeneratePress's
   1200px grid-container, so the page reads narrower than the
   header and the grey body background shows at the sides.
   Break the grid-container out to the full viewport width;
   the inner .uss-container still holds the content to the
   1250px site width, aligned with the header. Same pattern as
   the News, category archive, and press release pages. */
body.page-template-template-feature-startup .site.grid-container {
  max-width: 100%;
}

body.page-template-template-feature-startup .site-content {
  display: block;
  padding: 0;
}

/* Shared section heading: short H2 with a thin rule. */
.uss-fs-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 0 0 1.5rem;
}

.uss-fs-head h2 {
  font-size: var(--uss-h2);
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
}

.uss-fs-head-rule {
  flex: 1;
  border-top: 1px solid var(--uss-line);
  transform: translateY(-0.35rem);
}

/* ------------------------------------------------------------------
   Hero: warm cream, big serif title, intro, trust line.
   ------------------------------------------------------------------ */

.uss-fs-hero {
  background: var(--uss-paper-soft);
  border-bottom: 1px solid var(--uss-line);
  padding: 3.5rem 0 3rem;
}

.uss-fs-hero h1 {
  font-size: var(--uss-display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 1rem;
  max-width: 56rem;
}

.uss-fs-intro {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--uss-muted);
  max-width: 45rem;
  margin: 0 0 1rem;
}

/* ------------------------------------------------------------------
   Collaborations: the same logo wall as the homepage
   ("Trusted by 100+ companies across the UAE"), reused here
   so the page carries the same proof. Centred heading, a
   5-column logo grid, tiles lift on hover.
   ------------------------------------------------------------------ */

.uss-fs-logos {
  background: var(--uss-paper-soft);
  border-bottom: 1px solid var(--uss-line);
  padding: 3.5rem 0;
}

.uss-fs-logos-head {
  text-align: center;
  max-width: none;
  margin: 0 auto 2.5rem;
}

.uss-fs-logos-head h2 {
  font-size: clamp(1.625rem, 2.75vw, 2.25rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.uss-fs-logos-head h2 span {
  color: var(--uss-accent);
}

.uss-fs-logos-sub {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--uss-muted);
  max-width: 30rem;
  margin: 0 auto;
  text-align: center;
}

/* The design-system rule .uss-custom p (0,1,1) beats a plain
   .uss-fs-logos-sub class (0,1,0) on margin, so margin: 0 auto
   never applied and the intro sat at the left edge while the
   heading above it was centred. This longer selector (0,2,0)
   outranks it, the same fix the homepage uses for its own
   .uss-logos-sub. */
.uss-fs-logos-head .uss-fs-logos-sub {
  max-width: 30rem;
  margin: 0 auto;
  text-align: center;
}

.uss-fs-logos-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.uss-fs-logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 5rem;
  padding: 0.75rem;
  background: var(--uss-paper);
  border: 1px solid var(--uss-line);
  border-top: 2px solid var(--uss-line);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.uss-fs-logo-tile img {
  max-width: 9rem;
  max-height: 3rem;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.85;
  filter: saturate(0.9);
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}

.uss-fs-logo-tile:hover {
  border-color: var(--uss-ink);
  border-top-color: var(--uss-accent);
  transform: translateY(-2px);
}

.uss-fs-logo-tile:hover img {
  opacity: 1;
  filter: saturate(1);
  transform: scale(1.04);
}

/* ------------------------------------------------------------------
   How it works: 3 numbered steps, one row.
   ------------------------------------------------------------------ */

.uss-fs-steps {
  padding: 3rem 0;
  border-bottom: 1px solid var(--uss-line);
}

.uss-fs-steps-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.uss-fs-step-num {
  display: inline-block;
  font-family: var(--uss-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--uss-accent);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.uss-fs-steps-grid h3 {
  font-size: 1rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

.uss-fs-steps-grid p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--uss-muted);
  margin: 0;
}

/* ------------------------------------------------------------------
   Why UAE Startup Story: 3 reasons, one row, each with a
   line icon in the accent colour, a short heading, and a
   two-line description. No shadows, no gradients.
   ------------------------------------------------------------------ */

.uss-fs-why {
  padding: 3rem 0;
  border-bottom: 1px solid var(--uss-line);
}

.uss-fs-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.uss-fs-why-card {
  border: 1px solid var(--uss-line);
  background: var(--uss-paper);
  padding: 2rem;
}

.uss-fs-why-icon {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--uss-accent);
  margin-bottom: 1rem;
}

.uss-fs-why-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.uss-fs-why-card h3 {
  font-size: 1rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

.uss-fs-why-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--uss-muted);
  margin: 0;
}

/* ------------------------------------------------------------------
   Form: white card with a thin border, holding the Elementor
   Pro form (rendered from library template 3221). The form's
   behaviour is Elementor's; only its appearance is restyled
   here so it matches the site.
   ------------------------------------------------------------------ */

.uss-fs-form-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--uss-line);
}

.uss-fs-form-card {
  border: 1px solid var(--uss-line);
  background: var(--uss-paper);
  padding: 2.5rem;
}

.uss-fs-form-intro {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--uss-muted);
  max-width: 45rem;
  margin: 0 0 1.5rem;
}

/* Elementor form: labels, fields, and button, matched to the
   site. The widget's own settings already set a 1px #DCDCDC
   field border and Inter 14px labels; these rules keep them
   in the design system and cover the button and messages. */
.uss-fs-form-card .elementor-form .elementor-field-group {
  margin-bottom: 1.25rem;
}

.uss-fs-form-card .elementor-form .elementor-field-group label {
  font-family: var(--uss-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--uss-ink);
  margin-bottom: 0.375rem;
}

.uss-fs-form-card .elementor-form .elementor-field {
  font-family: var(--uss-font-body);
  font-size: 0.9375rem;
  color: var(--uss-ink);
  border: 1px solid #dcdcdc;
  border-radius: 0;
  padding: 0.75rem 0.875rem;
  background: var(--uss-paper);
}

.uss-fs-form-card .elementor-form .elementor-field:focus {
  border-color: var(--uss-ink);
  outline: none;
}

.uss-fs-form-card .elementor-form textarea.elementor-field {
  min-height: 7rem;
  line-height: 1.6;
}

.uss-fs-form-card .elementor-form .elementor-field-type-upload .elementor-field {
  padding: 0.625rem 0.875rem;
}

/* Elementor's generated button rule (from the widget's
   button_background_color global) is more specific than a
   plain .uss-fs-form-card rule, so the button keeps Elementor's
   colour unless this selector outranks it. The long ancestor
   chain below beats it without !important. */
body.page-template-template-feature-startup .uss-fs-page .uss-fs-form-card .elementor-form .elementor-button {
  font-family: var(--uss-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--uss-paper);
  background: var(--uss-ink);
  border: 1px solid var(--uss-ink);
  border-radius: 0;
  padding: 0.875rem 2rem;
  cursor: pointer;
}

body.page-template-template-feature-startup .uss-fs-page .uss-fs-form-card .elementor-form .elementor-button:hover {
  background: var(--uss-ink-soft);
  color: var(--uss-paper);
}

.uss-fs-form-card .elementor-form .elementor-message {
  font-size: 0.875rem;
  line-height: 1.6;
}

.uss-fs-form-note {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--uss-muted);
  margin: 1.5rem 0 0.5rem;
}

.uss-fs-form-contact {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--uss-muted);
  margin: 0;
}

.uss-fs-form-contact a {
  color: var(--uss-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------------
   FAQs: native <details> accordion, thin rules, no JS.
   ------------------------------------------------------------------ */

.uss-fs-faq {
  padding: 3rem 0;
}

.uss-fs-faq-list details {
  border-bottom: 1px solid var(--uss-line);
}

.uss-fs-faq-list details:first-child {
  border-top: 1px solid var(--uss-line);
}

.uss-fs-faq-list summary {
  font-family: var(--uss-font-heading);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--uss-ink);
  padding: 1.125rem 2rem 1.125rem 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.uss-fs-faq-list summary::-webkit-details-marker {
  display: none;
}

.uss-fs-faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1.125rem;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  color: var(--uss-accent);
}

.uss-fs-faq-list details[open ] summary::after {
  content: "\2013";
}

.uss-fs-faq-list summary:hover {
  color: var(--uss-accent);
}

.uss-fs-faq-list details p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--uss-muted);
  max-width: 50rem;
  margin: 0;
  padding: 0 2rem 1.25rem 0;
}

/* ------------------------------------------------------------------
   Responsive: stack the steps, the why cards, and the logo
   grid; tighten the form card padding.
   ------------------------------------------------------------------ */

@media (max-width: 64rem) {
  .uss-fs-steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .uss-fs-why-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .uss-fs-logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 48rem) {
  .uss-fs-form-card {
    padding: 1.5rem;
  }

  .uss-fs-why-card {
    padding: 1.5rem;
  }

  .uss-fs-head h2 {
    white-space: normal;
  }

  .uss-fs-logos {
    padding: 2.5rem 0;
  }

  .uss-fs-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .uss-fs-logo-tile {
    height: 4rem;
    padding: 0.5rem;
  }

  .uss-fs-logo-tile img {
    max-height: 2.5rem;
  }
}
