/* v36: essay types. Loaded only on /generator-esejow/. */
body.rf-home-page .pl36-essay-types {
  --pl36-ink: #0b1935;
  --pl36-red: #e20919;
  --pl36-font: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(40px, 3.3vw, 58px) 0 clamp(48px, 3.6vw, 64px);
  border: 0;
  background: #fff !important;
  color: var(--pl36-ink);
  font-family: var(--pl36-font);
  text-align: left;
}
.pl36-essay-types,
.pl36-essay-types *,
.pl36-essay-types *::before,
.pl36-essay-types *::after {
  box-sizing: border-box;
}
body.rf-home-page .pl36-essay-types::before,
body.rf-home-page .pl36-essay-types::after {
  content: none;
}
.pl36-essay-types .pl36-types-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.64fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(26px, 2.7vw, 46px);
  width: calc(100% - 88px);
  max-width: 1648px;
  margin: 0 auto;
  padding: 0;
}
.pl36-essay-types .pl36-types-art {
  position: relative;
  align-self: center;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.pl36-essay-types .pl36-types-art::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: auto 7% 2.1%;
  height: 3.7%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgb(28 19 19 / 19%) 0%, rgb(28 19 19 / 6%) 50%, transparent 72%);
  filter: blur(7px);
  pointer-events: none;
}
.pl36-essay-types .pl36-types-art img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  transform: none;
}
.pl36-essay-types .pl36-types-copy {
  min-width: 0;
  margin: 0;
  padding: 0;
}
.pl36-essay-types .pl36-types-heading {
  display: block;
  margin: 0 0 clamp(22px, 2vw, 34px);
  padding: 0;
  text-align: left;
}
body.rf-home-page .pl36-essay-types .pl36-types-heading h2 {
  display: block;
  width: auto;
  max-width: none;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--pl36-ink) !important;
  background: none !important;
  box-shadow: none !important;
  font-family: var(--pl36-font) !important;
  font-size: clamp(42px, 4.55vw, 78px) !important;
  font-weight: 900 !important;
  line-height: 1.07 !important;
  letter-spacing: -0.045em !important;
  text-align: left !important;
  text-transform: none !important;
  text-decoration: none !important;
}
body.rf-home-page .pl36-essay-types .pl36-types-heading h2 strong {
  display: inline;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  color: var(--pl36-red) !important;
  background: none !important;
  box-shadow: none !important;
  font: inherit !important;
  text-decoration: none !important;
  -webkit-text-fill-color: currentColor;
}
body.rf-home-page .pl36-essay-types h2::before,
body.rf-home-page .pl36-essay-types h2::after,
body.rf-home-page .pl36-essay-types h2 strong::before,
body.rf-home-page .pl36-essay-types h2 strong::after,
body.rf-home-page .pl36-essay-types h3::before,
body.rf-home-page .pl36-essay-types h3::after {
  display: none !important;
  content: none !important;
}
.pl36-essay-types .pl36-types-heading p,
.pl36-essay-types .pl36-type p {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--pl36-ink);
  font-family: var(--pl36-font);
  font-size: clamp(18px, 1.64vw, 28px);
  font-weight: 500;
  line-height: 1.44;
  letter-spacing: -0.025em;
  text-align: left;
  overflow-wrap: break-word;
}
.pl36-essay-types .pl36-types-heading p {
  font-size: clamp(19px, 1.76vw, 30px);
}
.pl36-essay-types .pl36-types-list {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.pl36-essay-types .pl36-type {
  display: block;
  min-width: 0;
  margin: 0;
  padding: clamp(19px, 1.4vw, 24px) 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.pl36-essay-types .pl36-type:first-child {
  padding-top: 0;
}
.pl36-essay-types .pl36-type + .pl36-type {
  border-top: 2px solid #dedfe2;
}
.pl36-essay-types .pl36-type:last-child {
  padding-bottom: 0;
}
body.rf-home-page .pl36-essay-types h3 {
  display: block;
  width: auto;
  max-width: none;
  margin: 0 0 5px !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--pl36-ink) !important;
  background: none !important;
  box-shadow: none !important;
  font-family: var(--pl36-font) !important;
  font-size: clamp(25px, 2.28vw, 38px) !important;
  font-weight: 850 !important;
  line-height: 1.22 !important;
  letter-spacing: -0.04em !important;
  text-align: left !important;
  text-transform: none !important;
  text-decoration: none !important;
}
.pl36-essay-types .pl36-outline {
  min-width: 0;
  margin: clamp(28px, 3.4vw, 56px) 0 0;
  padding: 0;
}
body.rf-home-page .pl36-essay-types .pl36-outline h3 {
  margin-bottom: 14px !important;
}
.pl36-essay-types .pl36-structure-flow {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(5px, 0.5vw, 8px);
  row-gap: 8px;
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--pl36-ink);
  font-family: var(--pl36-font);
  font-size: clamp(16px, 1.45vw, 25px);
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: -0.04em;
}
.pl36-essay-types .pl36-structure-flow li {
  position: static;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(5px, 0.5vw, 8px);
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  list-style: none;
  text-align: left;
  white-space: nowrap;
}
.pl36-essay-types .pl36-structure-flow li::before,
.pl36-essay-types .pl36-structure-flow li::after {
  display: none !important;
  content: none !important;
}
.pl36-essay-types .pl36-flow-arrow {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  color: var(--pl36-red);
  font-family: Arial, sans-serif;
  font-size: 1.15em;
  font-weight: 700;
  line-height: 1;
}
.pl36-essay-types .pl36-structure-note {
  max-width: none;
  margin: 16px 0 0;
  padding: 0;
  color: var(--pl36-ink);
  font-family: var(--pl36-font);
  font-size: clamp(15px, 1.21vw, 20px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.025em;
  text-align: left;
  overflow-wrap: break-word;
}

/* Tablet: give the heading and structure the full content width. */
@media (min-width: 641px) and (max-width: 1100px) {
  .pl36-essay-types .pl36-types-shell {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    grid-template-areas: "heading heading" "art types" "outline outline";
    column-gap: 30px;
    row-gap: 30px;
    width: calc(100% - 56px);
    max-width: 960px;
  }
  .pl36-essay-types .pl36-types-copy { display: contents; }
  .pl36-essay-types .pl36-types-art {
    grid-area: art;
    justify-self: center;
    max-width: 300px;
  }
  .pl36-essay-types .pl36-types-heading {
    grid-area: heading;
    margin: 0;
    text-align: center;
  }
  body.rf-home-page .pl36-essay-types .pl36-types-heading h2 {
    font-size: clamp(34px, 4.4vw, 48px) !important;
    text-align: center !important;
  }
  .pl36-essay-types .pl36-types-heading h2 br { display: none; }
  .pl36-essay-types .pl36-types-heading p {
    font-size: 19px;
    text-align: center;
  }
  .pl36-essay-types .pl36-types-list { grid-area: types; }
  .pl36-essay-types .pl36-type { padding: 18px 0; }
  body.rf-home-page .pl36-essay-types h3 {
    font-size: clamp(22px, 2.6vw, 28px) !important;
  }
  .pl36-essay-types .pl36-type p { font-size: 17px; }
  .pl36-essay-types .pl36-outline {
    grid-area: outline;
    margin: 0;
  }
  .pl36-essay-types .pl36-structure-flow { font-size: clamp(16px, 2vw, 20px); }
  .pl36-essay-types .pl36-structure-flow,
  .pl36-essay-types .pl36-structure-flow li { column-gap: 4px; }
  .pl36-essay-types .pl36-structure-note { font-size: 16px; }
}

/* Mobile: keep each arrow connected to the step it follows. */
@media (max-width: 640px) {
  body.rf-home-page .pl36-essay-types { padding: 40px 0 48px; }
  .pl36-essay-types .pl36-types-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "heading" "art" "types" "outline";
    gap: 26px;
    width: calc(100% - 36px);
  }
  .pl36-essay-types .pl36-types-copy { display: contents; }
  .pl36-essay-types .pl36-types-art {
    grid-area: art;
    justify-self: center;
    width: min(250px, 72vw);
    max-width: 100%;
  }
  .pl36-essay-types .pl36-types-heading {
    grid-area: heading;
    margin: 0;
    text-align: center;
  }
  body.rf-home-page .pl36-essay-types .pl36-types-heading h2 {
    margin-bottom: 14px !important;
    font-size: clamp(32px, 8.2vw, 43px) !important;
    line-height: 1.12 !important;
    text-align: center !important;
  }
  .pl36-essay-types .pl36-types-heading p {
    font-size: 17px;
    line-height: 1.5;
    text-align: center;
  }
  .pl36-essay-types .pl36-types-list { grid-area: types; }
  .pl36-essay-types .pl36-type { padding: 19px 0; }
  body.rf-home-page .pl36-essay-types h3 {
    font-size: 24px !important;
    line-height: 1.24 !important;
    letter-spacing: -0.035em !important;
  }
  .pl36-essay-types .pl36-type p {
    font-size: 17px;
    line-height: 1.5;
    letter-spacing: -0.02em;
  }
  .pl36-essay-types .pl36-outline {
    grid-area: outline;
    margin: 6px 0 0;
  }
  .pl36-essay-types .pl36-structure-flow {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    font-size: 19px;
    line-height: 1.4;
    letter-spacing: -0.025em;
  }
  .pl36-essay-types .pl36-structure-flow li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    white-space: normal;
  }
  .pl36-essay-types .pl36-flow-arrow {
    margin: 0 0 4px 2px;
    font-size: 20px;
    transform: rotate(90deg);
  }
  .pl36-essay-types .pl36-structure-note {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: -0.015em;
  }
}
@media (max-width: 359px) {
  .pl36-essay-types .pl36-types-shell { width: calc(100% - 32px); }
  body.rf-home-page .pl36-essay-types h3 { font-size: 22px !important; }
  .pl36-essay-types .pl36-type p { font-size: 16px; }
}
