/*
 * SEOFreelance Hub V2
 * Page rhythm, layout, and premium hub section system.
 */

.sf-v2 {
  --sf-blue: #0d56d9;
  --sf-blue-dark: #07327f;
  --sf-ink: #102033;
  --sf-muted: #5b6b82;
  --sf-soft: #f5f8ff;
  --sf-line: #dfe8f7;
  --sf-accent: #f0ad4e;
  --sf-dark: #07182f;
  --sf-dark-2: #0c2445;
  --sf-white: #ffffff;
  color: var(--sf-ink);
  font-family: Poppins, Arial, sans-serif;
  overflow: hidden;
}

.sf-v2 *,
.sf-v2 *::before,
.sf-v2 *::after {
  box-sizing: border-box;
}

.sf-v2 a {
  color: var(--sf-blue);
  text-decoration: none;
}

.sf-v2 a:hover,
.sf-v2 a:focus {
  color: var(--sf-blue-dark);
  text-decoration: underline;
}

.sf-v2 .sf-section {
  margin: 0 auto;
  padding: 86px 24px;
}

.sf-v2 .sf-section-inner {
  margin: 0 auto;
  max-width: 1180px;
  width: 100%;
}

/* Shared breadcrumb treatment for modern page templates. */
.sf-v2 .sf-site-breadcrumb,
.sf-v2 .sf-industry-breadcrumb {
  align-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #50627a;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 500;
  gap: 10px;
  line-height: 1.5;
  margin: 0 0 22px;
  min-height: 0;
  padding: 0;
  width: auto;
}

.sf-v2 .sf-site-breadcrumb a,
.sf-v2 .sf-industry-breadcrumb a {
  color: #0b5ee8;
  font-weight: 500;
  text-decoration: none;
}

.sf-v2 .sf-site-breadcrumb a:hover,
.sf-v2 .sf-site-breadcrumb a:focus,
.sf-v2 .sf-industry-breadcrumb a:hover,
.sf-v2 .sf-industry-breadcrumb a:focus {
  color: #0648b8;
  text-decoration: none;
}

.sf-v2 .sf-section-narrow {
  margin: 0 auto;
  max-width: 880px;
}

.sf-v2 .sf-section-compact {
  padding-bottom: 34px;
  padding-top: 34px;
}

.sf-v2 .sf-section-soft {
  background: var(--sf-soft);
}

.sf-v2 .sf-section-white {
  background: var(--sf-white);
}

.sf-v2 .sf-section-dark {
  background:
    linear-gradient(135deg, rgba(13, 86, 217, 0.28), rgba(240, 173, 78, 0.08)),
    var(--sf-dark);
  color: #f8fbff;
}

.sf-v2 .sf-section-dark a {
  color: #ffffff;
}

.sf-v2 .sf-section-dark .sf-section-kicker,
.sf-v2 .sf-section-dark .sf-section-lede {
  color: #cbd8f2;
}

.sf-v2 .sf-hero {
  background:
    radial-gradient(circle at 12% 8%, rgba(13, 86, 217, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
  padding-bottom: 96px;
  padding-top: 94px;
}

.sf-v2 .sf-hero-grid {
  display: block;
}

.sf-v2 .sf-hero-grid > .wp-block-group__inner-container {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 1.07fr) minmax(360px, 0.93fr);
}

.sf-v2 .sf-eyebrow,
.sf-v2 .sf-section-kicker {
  color: var(--sf-blue);
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.sf-v2 h1,
.sf-v2 h2,
.sf-v2 h3,
.sf-v2 h4 {
  color: var(--sf-ink);
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
}

.sf-v2 .sf-section-dark h2,
.sf-v2 .sf-section-dark h3,
.sf-v2 .sf-section-dark h4 {
  color: #ffffff;
}

.sf-v2 h1 {
  font-size: clamp(40px, 4.2vw, 58px);
  line-height: 1.04;
  margin-bottom: 24px;
  max-width: 820px;
}

.sf-v2 h2 {
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.1;
}

.sf-v2 h3 {
  font-size: 22px;
  line-height: 1.25;
}

.sf-v2 p {
  color: var(--sf-muted);
  font-size: 16px;
  line-height: 1.78;
  margin-bottom: 0;
}

.sf-v2 .sf-hero-lede {
  color: #3c4d66;
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 740px;
}

.sf-v2 .sf-section-head {
  margin-bottom: 34px;
  max-width: 780px;
}

.sf-v2 .sf-section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sf-v2 .sf-section-lede {
  font-size: 18px;
  line-height: 1.72;
  margin-top: 16px;
}

.sf-v2 .sf-grid {
  display: block;
}

.sf-v2 .sf-grid > .wp-block-group__inner-container {
  display: grid;
  gap: 24px;
}

.sf-v2 .sf-grid-2 > .wp-block-group__inner-container {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sf-v2 .sf-grid-3 > .wp-block-group__inner-container {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sf-v2 .sf-grid-4 > .wp-block-group__inner-container {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sf-v2 .sf-grid-5 > .wp-block-group__inner-container {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.sf-v2 .sf-two-col {
  display: block;
}

.sf-v2 .sf-two-col > .wp-block-group__inner-container {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.sf-v2 .sf-editorial {
  display: block;
}

.sf-v2 .sf-editorial > .wp-block-group__inner-container {
  display: grid;
  gap: 38px;
  grid-template-columns: minmax(0, 0.68fr) minmax(280px, 0.32fr);
}

.sf-v2 .sf-editorial-copy > * + * {
  margin-top: 22px;
}

.sf-v2 .sf-divider {
  border-top: 1px solid var(--sf-line);
}

@media (max-width: 1024px) {
  .sf-v2 .sf-hero-grid > .wp-block-group__inner-container,
  .sf-v2 .sf-two-col > .wp-block-group__inner-container,
  .sf-v2 .sf-editorial > .wp-block-group__inner-container {
    grid-template-columns: 1fr;
  }

  .sf-v2 .sf-grid-4 > .wp-block-group__inner-container,
  .sf-v2 .sf-grid-5 > .wp-block-group__inner-container,
  .sf-v2 .sf-grid-3 > .wp-block-group__inner-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .sf-v2 .sf-section {
    padding: 62px 18px;
  }

  .sf-v2 .sf-section-compact {
    padding-bottom: 28px;
    padding-top: 28px;
  }

  .sf-v2 .sf-hero {
    padding-bottom: 72px;
    padding-top: 70px;
  }

  .sf-v2 h1 {
    font-size: 39px;
  }

  .sf-v2 h2 {
    font-size: 32px;
  }

  .sf-v2 .sf-hero-lede,
  .sf-v2 .sf-section-lede {
    font-size: 17px;
  }

  .sf-v2 .sf-grid-4 > .wp-block-group__inner-container,
  .sf-v2 .sf-grid-5 > .wp-block-group__inner-container,
  .sf-v2 .sf-grid-3 > .wp-block-group__inner-container,
  .sf-v2 .sf-grid-2 > .wp-block-group__inner-container {
    grid-template-columns: 1fr;
  }
}
