/* UK-Õiguslehed: beebiujumise sisuraami ja tüpograafia reeglid */

.uk-legal-page-title {
  width: min(calc(100% - (var(--uk-legal-side) * 2) - 1.02vw), var(--uk-legal-max-width));
  margin: 40px auto 0;
}

.uk-legal-page-title h1 {
  margin: 0 !important;
  color: var(--uk-legal-heading) !important;
  font-family: var(--uk-font-heading);
  font-size: 45px;
  font-weight: 800;
  line-height: 47.25px;
}

body.page-id-264 .entry-content > .wp-block-greenshift-blocks-container:first-child,
body.page-id-3 .entry-content > .uk-legal-page-title + .wp-block-greenshift-blocks-container,
body.page-id-8118 .entry-content > .uk-legal-page-title + .wp-block-greenshift-blocks-container {
  width: min(calc(100% - (var(--uk-legal-side) * 2) - 1.02vw), var(--uk-legal-max-width));
  margin: 40px auto 22.5px !important;
}

body.page-id-8118 .cmplz-document {
  width: 100%;
  max-width: 100%;
}

body.page-id-264 .entry-content :is(h1, h2),
body.page-id-3 .entry-content :is(h1, h2),
body.page-id-8118 .entry-content :is(h1, h2) {
  color: var(--uk-legal-heading);
  font-family: var(--uk-font-heading);
  font-size: 20px;
  font-weight: 800;
  line-height: 23px;
  overflow-wrap: anywhere;
}

body.page-id-264 .entry-content h3,
body.page-id-3 .entry-content h3,
body.page-id-8118 .entry-content h3 {
  color: var(--uk-legal-heading);
  font-family: var(--uk-font-heading);
  font-size: 17px;
  font-weight: 800;
  line-height: 20px;
  overflow-wrap: anywhere;
}

body.page-id-264 .entry-content :is(p, li, td, th),
body.page-id-3 .entry-content :is(p, li, td, th),
body.page-id-8118 .entry-content :is(p, li, td, th) {
  color: var(--uk-legal-text);
  font-family: var(--uk-font-main);
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
}

body.page-id-264 .entry-content a,
body.page-id-3 .entry-content a,
body.page-id-8118 .entry-content a {
  color: var(--uk-legal-link);
}

body.page-id-264 .entry-content table,
body.page-id-3 .entry-content table,
body.page-id-8118 .entry-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 600px) {
  .uk-legal-page-title {
    width: calc(100% - 32px);
    margin-top: 24px;
  }

  .uk-legal-page-title h1 {
    font-size: 25px;
    line-height: 30px;
  }

  body.page-id-264 .entry-content > .wp-block-greenshift-blocks-container:first-child,
  body.page-id-3 .entry-content > .uk-legal-page-title + .wp-block-greenshift-blocks-container,
  body.page-id-8118 .entry-content > .uk-legal-page-title + .wp-block-greenshift-blocks-container {
    width: calc(100% - 32px);
    margin-top: 24px !important;
    margin-bottom: 40px !important;
  }

  body.page-id-264 .entry-content :is(h1, h2),
  body.page-id-3 .entry-content :is(h1, h2),
  body.page-id-8118 .entry-content :is(h1, h2) {
    font-size: 17px;
    line-height: 20px;
  }

  body.page-id-264 .entry-content h3,
  body.page-id-3 .entry-content h3,
  body.page-id-8118 .entry-content h3 {
    font-size: 16px;
    line-height: 19px;
  }

  body.page-id-264 .entry-content :is(p, li, td, th),
  body.page-id-3 .entry-content :is(p, li, td, th),
  body.page-id-8118 .entry-content :is(p, li, td, th) {
    font-size: 13px;
    line-height: 20px;
  }
}
/* Kodukorra olemasolev H1 järgib sisulehe hero-tüpograafiat. */
body.page-id-264 .entry-content h1 {
  color: var(--uk-legal-heading);
  font-family: var(--uk-font-heading);
  font-size: 45px;
  font-weight: 800;
  line-height: 47.25px;
}

@media (max-width: 600px) {
  body.page-id-264 .entry-content h1 {
    font-size: 25px;
    line-height: 30px;
  }
}

/* Õiguslehtede pealkirjad järgivad beebiujumise sisupealkirjade mõõte. */
body.page-id-3 .entry-content .uk-legal-page-title h1,
body.page-id-8118 .entry-content .uk-legal-page-title h1 {
  color: var(--uk-legal-heading) !important;
  font-family: var(--uk-font-heading) !important;
  font-size: 45px !important;
  font-weight: 800 !important;
  line-height: 47.25px !important;
}

body.page-id-8118 .entry-content .cmplz-document h2 {
  color: var(--uk-legal-heading) !important;
  font-family: var(--uk-font-heading) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 23px !important;
}

@media (max-width: 600px) {
  body.page-id-3 .entry-content .uk-legal-page-title h1,
  body.page-id-8118 .entry-content .uk-legal-page-title h1 {
    font-size: 25px !important;
    line-height: 30px !important;
  }
}

/* UK-Õiguslehtede joondus tegevuskohtade ja erisündmuse malliga. */
body.page-id-3 .entry-content > .uk-legal-page-title + .wp-block-greenshift-blocks-container,
body.page-id-8118 .entry-content > .uk-legal-page-title + .wp-block-greenshift-blocks-container {
  margin-top: 20px !important;
}

body.page-id-264 .entry-content .gspb_heading-id-gsbp-906f814 {
  color: var(--uk-color-primary) !important;
  font-family: var(--uk-font-heading) !important;
  font-size: 45px !important;
  font-weight: 800 !important;
  line-height: 47.25px !important;
  margin-bottom: 20px !important;
}

body.page-id-264 .entry-content .gspb_text-id-gsbp-0bb49a7 {
  color: var(--uk-color-text) !important;
  font-family: var(--uk-font-main) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 24px !important;
}

body.page-id-264 .entry-content .gs-accordion-item__title {
  color: var(--uk-color-primary) !important;
  font-family: var(--uk-font-heading) !important;
  font-size: 16.5px !important;
  font-weight: 700 !important;
  line-height: 20.625px !important;
}

body.page-id-8118 .entry-content .cmplz-document h3 {
  color: var(--uk-legal-heading) !important;
  font-family: var(--uk-font-heading) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 20px !important;
}

@media (max-width: 600px) {
  body.page-id-3 .entry-content > .uk-legal-page-title + .wp-block-greenshift-blocks-container,
  body.page-id-8118 .entry-content > .uk-legal-page-title + .wp-block-greenshift-blocks-container {
    margin-top: 20px !important;
  }

  body.page-id-264 .entry-content .gspb_heading-id-gsbp-906f814 {
    font-size: 25px !important;
    line-height: 30px !important;
  }

  body.page-id-264 .entry-content .gspb_text-id-gsbp-0bb49a7 {
    font-size: 13px !important;
    line-height: 20px !important;
  }

  body.page-id-264 .entry-content .gs-accordion-item__title {
    font-size: 16.5px !important;
    line-height: 20.625px !important;
  }
}

/* Kodukorra akordionipealkirjade lingid kasutavad sama tumedasinist tooni. */
body.page-id-264 .entry-content .gs-accordion-item__title :is(a, a:visited, span) {
  color: var(--uk-color-primary) !important;
}

/* GreenShifti nähtav akordionipealkiri on H6-elemendis. */
body.page-id-264 .entry-content .gs-accordion-item__heading {
  color: var(--uk-color-primary) !important;
  font-family: var(--uk-font-heading) !important;
  font-weight: 700 !important;
}

/* Kodukorra pealkiri ja sissejuhatus on dokumendisisuga vasakjoondatud. */
body.page-id-264 .entry-content .gspb_heading-id-gsbp-906f814,
body.page-id-264 .entry-content .gspb_text-id-gsbp-0bb49a7 {
  text-align: left !important;
}

/* GreenShifti ID-reegel kirjutab pealkirja joondust üle. */
body.page-id-264 .entry-content #gspb_heading-id-gsbp-906f814 {
  text-align: left !important;
}

/* Kodukorra H1 algab menüüriba järel samalt kõrguselt kui õiguslehtede H1. */
body.page-id-264 .entry-content > .wp-block-greenshift-blocks-container:first-child {
  margin-top: 0 !important;
}

/* Kodukorra akordionipealkirjade suurus järgib privaatsuspoliitika H2 mõõtu. */
body.page-id-264 .entry-content .gs-accordion-item__heading {
  font-size: 20px !important;
  line-height: 23px !important;
}
