/* ================================
   IR35 GUIDE - OPTIMIZED STYLES
   ================================ */

/* ================================
   GLOBAL & LAYOUT
   ================================ */
html {
  scroll-behavior: smooth;
}

.ir35-article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 56px;
  max-width: 808px;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

/* ================================
   SECTIONS
   ================================ */
.ir35-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 24px;
  width: 100%;
  margin-bottom: 60px;
  margin-top: 0;
}

.ir35-section#background-ir35 {
  margin-bottom: 23px;
}

.ir35-section#ir35-meaning {
  margin-bottom: 25px;
}

.ir35-section#what-is-ir35 {
  margin-bottom: 0;
}

.ir35-section#how-ir35-works {
  margin-bottom: 0;
}

.ir35-section#who-ir35-applies {
  margin-bottom: 0;
}

.ir35-section#trading-inside-ir35 {
  margin-bottom: 0;
}

.ir35-section#who-ir35-applies .ir35-text {
  margin-bottom: 0;
}

.ir35-section#who-ir35-applies .ir35-highlight {
  margin-top: 0;
}

.ir35-section#who-ir35-applies .ir35-highlight__text {
  margin-bottom: 5px;
}

.ir35-section#who-ir35-applies .ir35-highlight__text {
  margin-bottom: 5px;
}

.ir35-section#inside-ir35 {
  margin-bottom: 0;
}

.ir35-section#implications-inside-ir35 {
  margin-bottom: 8px;
}

.ir35-section#trading-inside-ir35 .ir35-highlight {
  margin-top: 24px;
  letter-spacing: 0.01em;
}

.ir35-section#trading-inside-ir35 .ir35-highlight__text {
  margin: 0;
}

.ir35-section#cost-of-ir35 {
  margin-bottom: 32px;
}

.ir35-section#comparison-500 {
  margin-bottom: 0;
}

.ir35-section#key-drivers-disparity {
  margin-bottom: 0;
}

.ir35-section#impact-daily-rates {
  margin-bottom: 0;
}

.ir35-section#impact-tax-planning {
  margin-bottom: 0;
}

.ir35-section#cost-summary {
  margin-bottom: 0;
}

.ir35-section#impact-tax-planning .ir35-text {
  margin-bottom: 0;
}

.ir35-section#impact-pension {
  margin-bottom: 0;
}

.ir35-section#ir35-assessments {
  margin-top: 0;
  margin-bottom: 0;
}

.ir35-section#ir35-assessments .ir35-bullet-list__items {
  margin-left: 0;
}

.ir35-section#when-does-ir35-apply {
  margin-bottom: 0;
}

.ir35-section#cost-summary .ir35-text {
  margin-bottom: 0;
}

.ir35-section#what-is-limited-company {
  margin-bottom: 37px;
}

.ir35-section#outside-ir35 {
  margin-bottom: 0;
}

.ir35-section#implications-outside-ir35 {
  margin-bottom: 0;
}

.ir35-section#who-is-responsible-assessment {
  margin-bottom: 0;
}

.ir35-section#how-is-status-determined {
  margin-bottom: 0;
}

.ir35-section#trading-outside-ir35 {
  margin-bottom: 0;
}

.ir35-section#hmrc-cest-tool {
  margin-bottom: 0;
}

.ir35-section#ir35-rules {
  margin-bottom: 0;
}

.ir35-section#ir35-rules-description {
  margin-bottom: 0;
}

.ir35-section#supervision-direction-control {
  margin-bottom: 0;
}

.ir35-section#substitution {
  margin-bottom: 0;
}

.ir35-section#mutuality-of-obligation {
  margin-bottom: 0;
}

.ir35-section#working-practices {
  margin-bottom: 0;
}

.ir35-section#ir35-compliance {
  margin-bottom: 0;
}

.ir35-section#hmrc-investigations {
  margin-bottom: 0;
}

.ir35-section#investigation-process {
  margin-bottom: 0;
}

.ir35-section#consequences-ir35-wrong {
  margin-bottom: 0;
}

.ir35-section#who-is-responsible {
  margin-bottom: 0;
}

.ir35-section#maintain-compliance {
  margin-bottom: 0;
}

.ir35-section#expenses {
  margin-bottom: 0;
}

.ir35-section#trading-outside-ir35-expenses {
  margin-bottom: 0;
}

.ir35-section#expenses-5-rule {
  margin-bottom: 0;
}

.ir35-section#foreign-companies {
  margin-bottom: 0;
}

.ir35-section#overseas-clients {
  margin-bottom: 0;
}

.ir35-section#impact-uk-contractors {
  margin-bottom: 0;
}

.ir35-section#wholly-overseas {
  margin-bottom: 0;
}

.ir35-section#overseas-contractors {
  margin-bottom: 0;
}

.ir35-section#limited-companies {
  margin-bottom: 0;
}

.ir35-section#use-limited-company-inside-ir35 {
  margin-bottom: 0;
}

.ir35-section#limitations {
  margin-bottom: 0;
}

.ir35-section#alternatives {
  margin-bottom: 0;
}

.ir35-section#outside-ir35-limited-companies {
  margin-bottom: 104px;
}

.ir35-section#sole-traders {
  margin-bottom: 0;
}

.ir35-section#contractors-sole-traders {
  margin-bottom: -104px;
}

.ir35-numbered-step-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* .ir35-section#investigation-process .ir35-numbered-step__content {
  flex-direction: column;
} */

/* Key takeaways is a SIBLING (comes after) the section, not inside it */
.ir35-section#what-is-limited-company+.ir35-key-takeaways .ir35-key-takeaways__inner .ir35-key-takeaways__title {
  margin: 0 !important;
}

.ir35-section#what-is-limited-company+.ir35-key-takeaways {
  padding-bottom: 0 !important;
  margin-bottom: 22px;
}

.ir35-section#limited-company-meaning {
  gap: 7px;
  margin-bottom: 13px;
}

.ir35-section#limited-company-meaning .ir35-roman-list {
  gap: 0px;
}

.ir35-section#advantages-disadvantages {
  gap: 14px;
}

.ir35-section#contractors-limited-companies {
  margin-bottom: 20px;
}

.ir35-section#limited-vs-sole-trader {
  margin-bottom: 34px;
}

.ir35-section#limited-vs-sole-trader+.ir35-key-takeaways {
  margin-bottom: 23px;
}

/* Intro section (bordered text + image) */
.ir35-intro-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-bottom: 48px;
}

/* ================================
   TYPOGRAPHY
   ================================ */

/* H2 Title (Blue) with Divider */
.ir35-title-h2-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 16px;
  width: 100%;
}

.ir35-title-h2 {
  width: 100%;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 700 !important;
  font-size: 40px !important;
  line-height: 44px;
  color: #4b5db0 !important;
  margin: 0 !important;
}

.ir35-divider {
  width: 100%;
  height: 0;
  border: none;
  border-top: 1px solid rgba(0, 34, 186, 0.2);
  margin: 0;
}

/* H3 Title (Black) */
.ir35-title-h3 {
  width: 100%;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 600 !important;
  font-size: 30px !important;
  line-height: 35px !important;
  color: #333333;
  margin: 0;
}

/* Body Text */
.ir35-text {
  width: 100%;
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 !important;
  font-size: 17px !important;
  line-height: 150%;
  color: #333333;
  margin: 0;
}

.ir35-text--bold {
  font-weight: 700;
}

.ir35-text--italic {
  color: var(--Black-Guide-Text, #333);
  font-family: "Inter";
  font-size: 17px;
  font-style: italic;
  font-weight: 400;
  line-height: 150%;
}

.ir35-text a {
  color: #4b5db0;
  text-decoration: underline;
}

/* ================================
   BORDERED BLOCKS
   ================================ */
.ir35-bordered-block {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 0 16px;
  gap: 8px;
  width: 100%;
  border-left: 2px solid #333333;
}

.ir35-bordered-block--blue {
  border-left-color: #4b5db0;
}

.ir35-bordered-block--light {
  border-left-color: #e5e9f8;
}

.ir35-bordered-block p {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 150%;
  color: #333333;
  margin: 0;
}

.ir35-bordered-block p strong {
  font-weight: 700;
}

/* ================================
   IMAGES
   ================================ */
.ir35-image-block {
  width: 100%;
  display: flex;
  justify-content: center;
  /* padding: 40px 0; */
}

.ir35-image-block img {
  max-width: 100%;
  height: auto;
}

.ir35-image-block--small img {
  max-width: 500px;
}

.ir35-image-block--medium img {
  max-width: 700px;
}

.ir35-image-block--large img {
  max-width: 900px;
}

/* ================================
   KEY TAKEAWAYS BOX
   ================================ */
.ir35-key-takeaways {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 24px 40px;
  gap: 8px;
  width: 100%;
  background:
    linear-gradient(#fbfbfe, #fbfbfe) padding-box,
    linear-gradient(-45deg,
      rgba(0, 34, 186, 0.5) 0%,
      rgba(0, 34, 186, 0.1) 25%,
      rgba(0, 34, 186, 0.1) 50%,
      rgba(0, 34, 186, 0.1) 75%,
      rgba(0, 34, 186, 0.5) 100%) border-box;
  border: 2px solid transparent;
  border-radius: 0;
}

.ir35-key-takeaways__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  gap: 16px;
  width: 100%;
}

.ir35-key-takeaways__title {
  font-family: "Inter" !important;
  font-style: normal !important;
  font-weight: 600 !important;
  font-size: 20px !important;
  line-height: 140% !important;
  /* 28px */
  color: #2f408b !important;
  margin: 0 !important;
}

.ir35-key-takeaways__list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  gap: 12px;
  width: 100%;
  margin: 0;
}

.ir35-key-takeaways__list li {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5em;
  color: #333333;
}

.ir35-key-takeaways__list li p:last-child {
  margin-bottom: 0;
}

.ir35-key-takeaways__list li strong {
  font-weight: 700;
}

.contractor-content {
  gap: 0;
}

.contractor-main .ir35-content .ir35-key-takeaways__list li {
  margin-bottom: 0;
}

.ir35-hero-icon .ir35-hero-thumbnail {
  width: 260px;
  height: 260px;
  object-fit: cover;
}

/* ================================
   STEPS/PYRAMID CONTAINER
   ================================ */
.ir35-steps {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 17px 0;
  gap: 24px;
  width: 100%;
}

.ir35-steps__title {
  width: 100%;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 140%;
  text-align: center;
  color: #2f408b;
  margin: 0;
}

.ir35-steps__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 12px;
  width: 100%;
  margin-bottom: 16px;
}

/* Individual Step */
.ir35-step {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0;
  gap: 8px;
  width: 100%;
}

/* Pyramid indentation (reversed: 1 has most, 3 has least) */
.ir35-step--1 {
  padding-left: 120px;
}

.ir35-step--2 {
  padding-left: 72px;
}

.ir35-step--3 {
  padding-left: 24px;
}

.ir35-step__number {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 0;
  gap: 8px;
  width: 40px;
  height: 56px;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 900;
  font-size: 56px;
  line-height: 100%;
  text-align: right;
  color: #e5e9f8;
  flex-shrink: 0;
}

.ir35-step__card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 16px 6px 16px !important;
  gap: 8px;
  flex-grow: 1;
  background: #f7f8fd;
  border: 2px solid #e5e9f8;
  border-radius: 8px;
}

.ir35-step__card-inner {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 8px;
  width: 100%;
  filter: drop-shadow(0px 9px 110px rgba(0, 0, 0, 0.04)) drop-shadow(0px 2.71324px 33.1618px rgba(0, 0, 0, 0.0260636)) drop-shadow(0px 1.12694px 13.7737px rgba(0, 0, 0, 0.02)) drop-shadow(0px 0.407592px 4.98168px rgba(0, 0, 0, 0.0139364));
}

.ir35-step__title {
  width: 100%;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  color: #333333;
  margin: 0;
}

.ir35-step__description {
  width: 100%;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 150%;
  color: #333333;
  margin: 0 !important;
}

/* ================================
   ROMAN NUMERALS LIST
   ================================ */
.ir35-roman-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 24px;
  width: 100%;
}

.ir35-roman-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  /* gap: 8px; */
  width: 100%;
}

.ir35-roman-item__header {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  margin-bottom: 8px;
  gap: 12px;
  width: 100%;
  position: relative;
}

.ir35-roman-item__header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 59px;
  /* 44px numeral + 15px gap */
  right: 0;
  height: 1px;
  background: linear-gradient(to right,
      rgba(75, 93, 176, 1),
      rgba(75, 93, 176, 0));
}

.ir35-roman-item__numeral {
  flex-shrink: 0;
  width: 46px;
  height: auto;
  border-radius: 0 !important;
  display: flex;
  justify-content: flex-end;
}

.ir35-roman-item__numeral img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  border-radius: 0 !important;
}

.ir35-roman-item__title {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 130%;
  color: #4b5db0;
  margin: 0;
}

.ir35-roman-item__content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 0 0 58px;
  gap: 10px;
  width: 100%;
}

.ir35-roman-item__description {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 150%;
  text-align: justify;
  color: #333333;
  margin: 0;
  flex-grow: 1;
}

/* ================================
   HIGHLIGHT BOX
   ================================ */
.ir35-highlight {
  margin-top: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: row;
  align-items: center !important;
  padding: 0 !important;
  gap: 25px;
  width: 100%;
}

.ir35-highlight__icon {
  flex-shrink: 0;
  width: auto;
  height: auto;
  border-radius: 0 !important;
}

.ir35-highlight__icon img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  border-radius: 0 !important;
}

.ir35-highlight__text {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700 !important;
  font-size: 17px;
  line-height: 150%;
  color: #4b5db0 !important;
  margin: 0;
  flex-grow: 1;
  margin-bottom: 0 !important;
}

.ir35-highlight__text a {
  color: #4b5db0;
  text-decoration: underline;
}

.ir35-asessment-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: disc;
  margin: -12px 0 0 24px;
}

.ir35-asessment-list li {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 150%;
  color: #333333;
}

.ir35-numbered-inner-list {
  margin: 0 0 0 24px;
  list-style: disc;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 860px) {
  .ir35-article {
    padding: 0 20px;
    gap: 40px;
  }

  .ir35-title-h2 {
    font-size: 32px;
    line-height: 38px;
  }

  .ir35-title-h3 {
    font-size: 24px;
    line-height: 30px;
  }

  .ir35-step--1,
  .ir35-step--2,
  .ir35-step--3 {
    padding-left: 0;
  }

  .ir35-step__number {
    font-size: 40px;
    width: 30px;
    height: 40px;
  }

  .ir35-key-takeaways {
    padding: 20px 24px;
  }

  .ir35-highlight {
    gap: 16px;
  }

  .ir35-bordered-block {
    padding-left: 12px;
  }

  .ir35-image-block {
    padding: 24px 0;
  }

  .ir35-image-block--small img,
  .ir35-image-block--medium img,
  .ir35-image-block--large img {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .ir35-roman-item__content {
    padding-left: 0;
  }

  .ir35-roman-item__header {
    flex-wrap: wrap;
  }
}

/* ================================
   BULLET LIST (for IR35 Assessments)
   ================================ */
.ir35-bullet-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 12px;
  width: 100%;
}

.ir35-bullet-list__title {
  width: 100%;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 17px;
  line-height: 140%;
  color: #333333;
  margin: 0;
}

.ir35-bullet-list__items {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 24px;
  width: 100%;
  list-style: none;
  margin: 0 0 0 24px;
}

.ir35-bullet-list__items li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ir35-bullet-list__items .ir35-text {
  padding-left: 13px;
  margin-top: -4px;
}

.ir35-bullet-list__items .ir35-text-blue {
  margin: 0;
  color: var(--Blue-Secondary, #4b5db0);
  font-family: Inter;
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  /* 25.5px */
}

/* ================================
   LABEL + PARAGRAPH (for IR35 Rules)
   ================================ */
.ir35-label-paragraph {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 8px;
  width: 100%;
}

.ir35-label-paragraph__label {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0;
  gap: 8px;
  height: 26px;
}

.ir35-label-paragraph__bracket {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 150%;
  color: #333333;
}

.ir35-label-paragraph__text {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 17px;
  line-height: 150%;
  color: #4b5db0;
}

.ir35-label-paragraph__content {
  width: 100%;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 150%;
  color: #333333;
  margin: 0;
}

/* ================================
   NUMBERED STEPS (for IR35 Compliance)
   ================================ */
.ir35-numbered-steps {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  width: 100%;
  gap: 0;
}

.ir35-numbered-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 4px;
  gap: 4px;
  width: 100%;
}

.ir35-numbered-step__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  gap: 12px;
  width: 100%;
}

.ir35-numbered-step__number {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  background: #4b5db0;
  border-radius: 100px;
  flex-shrink: 0;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  color: #f7f8fd;
}

.ir35-numbered-step__title {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  color: #4b5db0;
  margin: 0;
}

/* Row: connector line (1px, fills height) + text, gap 28px
   padding-left: 16px aligns the connector with the centre of the 32px badge */
.ir35-numbered-step__content {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 0 0 0 16px;
  gap: 28px;
  width: 100%;
  position: relative;
}

/* Vertical connector line */
.ir35-numbered-step__content::before {
  content: "";
  flex-shrink: 0;
  width: 1px;
  background: #e5e6e7;
  align-self: stretch;
}

/* Arrowhead at the bottom of the connector line */
.ir35-numbered-step__content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 16px;
  /* same as padding-left — centers on the 1px line */
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #e5e6e7;
}

.ir35-numbered-step__text {
  flex-grow: 1;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 150%;
  color: #333333;
  margin: 0;
  padding-bottom: 16px;
}

.ir35-numbered-step__text a {
  text-decoration: underline;
  color: #0022ba;
}

.ir35-key-takeaways__list-marginal-trap {
  margin: 0 0 0 24px;
  list-style: decimal;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* No connector line or arrow on the last step */
.ir35-numbered-step:last-child .ir35-numbered-step__content::before,
.ir35-numbered-step:last-child .ir35-numbered-step__content::after {
  display: none;
}

/* Last step has no connector line, so align text like mobile */
.ir35-numbered-step:last-child .ir35-numbered-step__content {
  padding-left: 44px;
}

@media (max-width: 768px) {
  .ir35-numbered-step__content {
    padding-left: 44px;
  }
}

/* ================================
   ADVANTAGES/DISADVANTAGES (for Umbrella Company)
   ================================ */
.advantages-text-green {
  color: green;
}

.advantages-text-red {
  color: red;
}

.ir35-advantages-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 24px;
  width: 100%;
}

.ir35-advantage-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  gap: 12px;
  width: 100%;
  background: #eefcf0;
  border-radius: 8px;
  box-sizing: border-box;
}

.ir35-advantage-item--disadvantage {
  background: #fff5f5;
}

.ir35-advantage-item__header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0;
  gap: 12px;
  width: 100%;
}

.ir35-advantage-item__title {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  color: #333333;
  margin: 0 auto 0 0;
}

.ir35-advantage-item__badge {
  text-align: end;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 28px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.ir35-advantage-item__badge--advantage {
  color: #009951;
}

.ir35-advantage-item__badge--disadvantage {
  color: #ee6e68;
}

.ir35-advantage-item__text {
  width: 100%;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 150%;
  color: #333333;
  margin: 0;
}

@media (max-width: 768px) {
  .ir35-advantage-item__header {
    flex-direction: column;
    gap: 8px;
  }

  .ir35-advantage-item__badge {
    align-self: flex-start;
  }
}

/* ================================
   EMPHASIZED LABEL (for Payslip terminology)
   ================================ */
.ir35-emphasized-label {
  /* margin-top: 25px; */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 16px;
  width: 100%;
}

.ir35-emphasized-label__header {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 0 4px;
  gap: 8px;
  width: 100%;
  border-bottom: 1px solid transparent;
}

.ir35-emphasized-label__title {
  width: 100%;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  color: #4b5db0;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(to right, #4b5db0, rgba(75, 93, 176, 0)) 1;
  border-image-slice: 1;
  margin: 0;
}

.ir35-emphasized-label__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 12px;
  width: 100%;
}

.ir35-emphasized-label__content .ir35-text {
  margin: 0;
}

.content-wrapper-ir35 .ir35-bordered-block {
  margin-bottom: 104px;
}

.content-wrapper-ir35 .ir35-intro-section {
  margin-bottom: 104px;
}

.content-wrapper-ir35 .what-is-ir35 {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-bottom: 104px;
}

.content-wrapper-ir35 .ir35-steps {
  padding: 32px 0;
}

.content-wrapper-ir35 .ir35-roman-item__content,
.limited-companies .ir35-roman-item__content {
  flex-direction: column;
}

.limited-companies .ir35-numbered-step__content {
  flex-direction: column;
  padding-left: 44px;
}

.limited-companies .ir35-numbered-step__content::before,
.limited-companies .ir35-numbered-step__content::after {
  display: none;
}

/* ============================================================
   HOW TO REGISTER FOR SELF-ASSESSMENT — isolated component
   Figma node 4783-98681
   ============================================================ */

.sa-register-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.sa-register-list__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 16px;
  border-radius: 16px;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
}

.sa-register-list__title {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.5em;
  color: #4b5db0;
  margin: 0;
}

.sa-register-list__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 0 0 28px;
  width: 100%;
  box-sizing: border-box;
}

.sa-register-list__body p {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5em;
  color: #333333;
  margin: 0;
}