/*
Theme Name: Hello Biz Child
Template: hello-biz
Version: 1.1
Description: Raikas EKO Oy:n Hello Biz -lapsiteeman tyylit.
*/

/* =========================================================
   1. MUUTTUJAT JA PERUSASETUKSET
   ========================================================= */

:root {
  --raikas-green: #2E5B27;
  --raikas-green-light: #98A869;
  --raikas-sand: #C2B280;
  --raikas-sand-light: #E8DFC1;
  --raikas-cream: #FDFBF7;
  --raikas-white: #FFFFFF;
  --raikas-text: #2A2A2A;
  --raikas-muted: #667064;
  --raikas-border: rgba(46, 91, 39, 0.20);
  --raikas-shadow: 0 12px 32px rgba(46, 91, 39, 0.10);

  --raikas-font-body: "DM Sans", Arial, Helvetica, sans-serif;
  --raikas-font-heading: "Merriweather", Georgia, serif;

  --raikas-content-width: 1400px;
  --raikas-content-padding: 30px;
  --raikas-radius: 14px;
  --raikas-button-radius: 999px;
  --raikas-transition: 0.25s ease;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  margin: 0;
  color: var(--raikas-text);
  background-color: var(--raikas-cream);
  font-family: var(--raikas-font-body) !important;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

figure {
  margin: 0;
}

.site-main {
  width: 100%;
  max-width: var(--raikas-content-width);
  margin: 0 auto;
  padding: 60px var(--raikas-content-padding);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  top: 10px;
  left: 10px;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  color: var(--raikas-green);
  background: var(--raikas-white);
  border-radius: 6px;
}


/* =========================================================
   2. TYPOGRAFIA
   Leipäteksti: DM Sans
   Otsikot: Merriweather
   ========================================================= */

html,
body,
button,
input,
textarea,
select,
option {
  font-family: var(--raikas-font-body) !important;
}

p,
li,
dt,
dd,
label,
legend,
caption,
table,
th,
td,
.elementor-widget-text-editor,
.elementor-widget-text-editor p,
.elementor-widget-text-editor li,
.wp-block-paragraph,
.wp-block-list,
.wp-block-table,
.wpcf7 {
  font-family: var(--raikas-font-body) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.page-title,
.elementor-heading-title,
.ehp-flex-hero__heading,
.ehp-flex-footer__subheading,
.ajankohtaista-title,
.sidebar-title {
  margin-top: 0;
  color: var(--raikas-green);
  font-family: var(--raikas-font-heading) !important;
  font-weight: 500;
  line-height: 1.25;
  text-wrap: balance;
}

h1,
.entry-title,
.page-title {
  font-size: clamp(38px, 4vw, 60px);
}

h2 {
  font-size: clamp(30px, 3vw, 44px);
}

h3 {
  font-size: clamp(25px, 2.4vw, 34px);
}

h4 {
  font-size: clamp(22px, 2vw, 28px);
}

h5 {
  font-size: 21px;
}

h6 {
  font-size: 18px;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
.entry-title a,
.page-title a,
.ajankohtaista-title a,
.sidebar-title a {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1.25em;
}

ul,
ol {
  margin: 0 0 1.5em 1.5em;
  padding: 0;
}

li {
  margin-bottom: 0.35em;
}

strong,
b {
  font-weight: 500;
}

a {
  color: var(--raikas-green);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition:
    color var(--raikas-transition),
    background-color var(--raikas-transition),
    border-color var(--raikas-transition);
}

a:hover,
a:focus {
  color: var(--raikas-green-light);
}

blockquote,
.wp-block-quote {
  margin: 1.75em 0;
  padding: 20px 24px;
  border-left: 4px solid var(--raikas-sand);
  background: rgba(194, 178, 128, 0.12);
  font-style: italic;
}

blockquote p:last-child,
.wp-block-quote p:last-child {
  margin-bottom: 0;
}

hr,
.wp-block-separator {
  border: 0;
  border-top: 1px solid var(--raikas-border);
  margin: 2.5rem 0;
}

/* =========================================================
   3. PAINIKKEET
   Elementor ja Hello Biz säilyttävät omat nappityylinsä.
   WordPress-, Gutenberg- ja CF7-painikkeet jäljittelevät
   sivuston pääpainikkeen ulkoasua.
   ========================================================= */

/* ---------------------------------------------------------
   ELEMENTOR JA HELLO BIZ
   Ei muuteta taustaa, reunusta, kokoa, pyöreyttä tai hoveria.
   Ainoastaan fontti yhtenäistetään.
   --------------------------------------------------------- */

.elementor-button,
.elementor-button *,
.ehp-button,
.ehp-button *,
.ehp-button__text {
  font-family: var(--raikas-font-body) !important;
  font-weight: 600 !important;
}

/* Estää painiketekstin jakautumisen usealle riville */
.ehp-button__text {
  white-space: nowrap;
  word-break: keep-all;
}


/* ---------------------------------------------------------
   WORDPRESS, GUTENBERG JA CONTACT FORM 7
   Sama pyöreä ja pelkistetty tyyli kuin sivuston painikkeissa.
   --------------------------------------------------------- */

.wp-element-button,
.wp-block-button__link,
.wp-block-file__button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.wpcf7-submit,
.raikaseko-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 50px;
  padding: 12px 26px;

  border: 0 !important;
  border-radius: var(--raikas-button-radius);

  color: var(--raikas-white) !important;
  background-color: var(--raikas-green);

  font-family: var(--raikas-font-body) !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.3;

  text-align: center;
  text-decoration: none !important;

  cursor: pointer;
  appearance: none;
  box-shadow: none;

  transition:
    color var(--raikas-transition),
    background-color var(--raikas-transition),
    transform var(--raikas-transition),
    box-shadow var(--raikas-transition);
}

.wp-element-button:hover,
.wp-element-button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
.wp-block-file__button:hover,
.wp-block-file__button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
.wpcf7-submit:hover,
.wpcf7-submit:focus,
.raikaseko-button:hover,
.raikaseko-button:focus {
  border: 0 !important;

  color: var(--raikas-green) !important;
  background-color: var(--raikas-sand);

  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(46, 91, 39, 0.15);
}


/* ---------------------------------------------------------
   NÄPPÄIMISTÖKÄYTÖN FOCUS-KOROSTUS
   Ei muuta Elementorin normaalia reunusta.
   --------------------------------------------------------- */

.wp-element-button:focus-visible,
.wp-block-button__link:focus-visible,
.wp-block-file__button:focus-visible,
input[type="button"]:focus-visible,
input[type="submit"]:focus-visible,
input[type="reset"]:focus-visible,
.wpcf7-submit:focus-visible,
.raikaseko-button:focus-visible {
  outline: 3px solid rgba(152, 168, 105, 0.45);
  outline-offset: 3px;
}


/* ---------------------------------------------------------
   GUTENBERGIN OUTLINE-PAINIKE
   --------------------------------------------------------- */

.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button__link.is-style-outline,
.raikaseko-button--outline {
  border: 2px solid var(--raikas-green) !important;

  color: var(--raikas-green) !important;
  background-color: transparent;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus,
.wp-block-button__link.is-style-outline:hover,
.wp-block-button__link.is-style-outline:focus,
.raikaseko-button--outline:hover,
.raikaseko-button--outline:focus {
  border-color: var(--raikas-sand) !important;

  color: var(--raikas-green) !important;
  background-color: var(--raikas-sand);
}


/* ---------------------------------------------------------
   MOBIILI
   --------------------------------------------------------- */

@media (max-width: 767px) {

  .wp-element-button,
  .wp-block-button__link,
  .wp-block-file__button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  .wpcf7-submit,
  .raikaseko-button {
    min-height: 48px;
    padding: 11px 22px;
    font-size: 18px !important;
  }
}

/* =========================================================
   4. LOMAKKEET JA CONTACT FORM 7
   ========================================================= */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="search"],
input[type="password"],
select,
textarea,
.wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance):not(.wpcf7-checkbox):not(.wpcf7-radio) {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid rgba(46, 91, 39, 0.35);
  border-radius: 10px;
  color: var(--raikas-text);
  background-color: var(--raikas-white);
  font-family: var(--raikas-font-body) !important;
  font-size: 18px !important;
  line-height: 1.4;
  box-shadow: none;
  transition:
    border-color var(--raikas-transition),
    box-shadow var(--raikas-transition);
}

textarea,
.wpcf7 textarea {
  min-height: 150px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #7B8378;
  opacity: 1;
}

input:focus,
select:focus,
textarea:focus,
.wpcf7-form-control:focus {
  border-color: var(--raikas-green-light);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(152, 168, 105, 0.20);
}

label,
.wpcf7-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--raikas-text);
  font-weight: 600;
}

.wpcf7-form p {
  margin-bottom: 1.25rem;
}

.wpcf7-list-item {
  margin: 0 18px 8px 0;
}

.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"],
input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  accent-color: var(--raikas-green);
  vertical-align: -3px;
}

.wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #B42318;
  font-size: 15px;
}

.wpcf7 form .wpcf7-response-output {
  margin: 1.5rem 0 0;
  padding: 14px 16px;
  border-width: 1px;
  border-radius: 10px;
  font-family: var(--raikas-font-body) !important;
}

.wpcf7-spinner {
  margin: 0 0 0 10px;
}


/* =========================================================
   5. GUTENBERG- JA SISÄLTÖELEMENTIT
   ========================================================= */

.entry-content,
.raikaseko-page__content,
.wp-block-post-content {
  color: var(--raikas-text);
  font-family: var(--raikas-font-body) !important;
}

.entry-content > *:last-child,
.raikaseko-page__content > *:last-child {
  margin-bottom: 0;
}

.wp-block-image img,
.entry-content img {
  max-width: 100%;
  height: auto;
}

.wp-block-image figcaption,
.wp-element-caption {
  margin-top: 8px;
  color: var(--raikas-muted);
  font-size: 15px;
  line-height: 1.5;
}

.wp-block-cover {
  border-radius: var(--raikas-radius);
  overflow: hidden;
}

.wp-block-group.has-background,
.wp-block-media-text.has-background {
  padding: 28px;
  border-radius: var(--raikas-radius);
}

.wp-block-file {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.wp-block-file__button {
  margin: 0 !important;
}


/* =========================================================
   6. TAULUKOT
   Gutenberg, WordPress, Elementor ja CF7-yhteensopiva.
   ========================================================= */

.entry-content table,
.wp-block-table table,
.elementor-widget-text-editor table,
.raikaseko-single-content table,
table.raikaseko-table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  border-spacing: 0;
  background-color: var(--raikas-white);
}

.entry-content th,
.entry-content td,
.wp-block-table th,
.wp-block-table td,
.elementor-widget-text-editor th,
.elementor-widget-text-editor td,
.raikaseko-single-content th,
.raikaseko-single-content td,
table.raikaseko-table th,
table.raikaseko-table td {
  padding: 13px 15px;
  border: 1px solid var(--raikas-border);
  text-align: left;
  vertical-align: top;
}

.entry-content th,
.wp-block-table th,
.elementor-widget-text-editor th,
table.raikaseko-table th {
  color: var(--raikas-white);
  background-color: var(--raikas-green);
  font-weight: 500;
}

.entry-content tbody tr:nth-child(even),
.wp-block-table tbody tr:nth-child(even),
.elementor-widget-text-editor tbody tr:nth-child(even),
table.raikaseko-table tbody tr:nth-child(even) {
  background-color: rgba(194, 178, 128, 0.10);
}

.wp-block-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}


/* =========================================================
   7. HEADER JA KIELIVALINTA
   ========================================================= */

.ehp-header__site-link-container {
  margin-right: 10px;
}

.ehp-header__ctas-container {
  margin-left: 10px;
}

@media (max-width: 1300px) {
  .ehp-header__navigation .lang-item > a > span {
    display: none !important;
  }

  .ehp-header__navigation .lang-item > a > img {
    margin: 0 !important;
  }
}

@media (max-width: 1200px) {
  .ehp-header__navigation {
    margin-right: 15px !important;
    margin-left: 10px !important;
  }
}


/* =========================================================
   8. KELLUVA HEADER JA PIENENEVÄ LOGO
   ========================================================= */

.ekit-template-content-header,
.ekit-template-content-header .elementor-1395,
.raikas-sticky-header {
  width: 100%;
  overflow: visible !important;
}

.raikas-sticky-header {
  position: relative !important;
  width: 100%;
  height: 150px !important;
  min-height: 150px !important;
  background-color: var(--raikas-white) !important;
  z-index: 99999 !important;
  transition:
    height 0.3s ease,
    min-height 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.raikas-sticky-header .elementor-element-71b0ffa,
.raikas-sticky-header .elementor-element-71b0ffa > .e-con-inner {
  height: 100% !important;
  min-height: 0 !important;
  transition:
    height 0.3s ease,
    min-height 0.3s ease,
    padding 0.3s ease;
}

.raikas-sticky-header .elementor-element-d78b5a1 {
  width: 130px !important;
  max-width: 130px !important;
  height: auto !important;
  transform: none !important;
  transition:
    width 0.3s ease,
    max-width 0.3s ease;
}

.raikas-sticky-header .elementor-element-d78b5a1 img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 130px !important;
  margin: 0 !important;
  object-fit: contain;
  transform: none !important;
  transition: max-height 0.3s ease;
}

.ekit-template-content-header.is-scrolled {
  position: fixed !important;
  top: 0 !important;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 99999 !important;
}

.ekit-template-content-header.is-scrolled .raikas-sticky-header {
  height: 75px !important;
  min-height: 75px !important;
  background-color: rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 8px 24px rgba(46, 91, 39, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ekit-template-content-header.is-scrolled
.raikas-sticky-header
.elementor-element-d78b5a1 {
  width: 65px !important;
  max-width: 65px !important;
}

.ekit-template-content-header.is-scrolled
.raikas-sticky-header
.elementor-element-d78b5a1 img {
  max-height: 65px !important;
}

.ekit-template-content-header.is-scrolled
.raikas-sticky-header
.elementor-element-71b0ffa,
.ekit-template-content-header.is-scrolled
.raikas-sticky-header
.elementor-element-71b0ffa > .e-con-inner {
  height: 75px !important;
  min-height: 75px !important;
}

.ekit-template-content-header.is-scrolled
.raikas-sticky-header
.elementor-element-71b0ffa
> .e-con-inner {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

body.raikas-header-scrolled {
  padding-top: var(--raikas-header-height, 0px);
}

body.admin-bar .ekit-template-content-header.is-scrolled {
  top: 32px !important;
}

@media (max-width: 782px) {
  body.admin-bar .ekit-template-content-header.is-scrolled {
    top: 46px !important;
  }
}

/* =========================================================
   9. MAX MEGA MENU
   Sama tyyli FI-, EN- ja SV-valikoille.
   ========================================================= */

/* ---------------------------------------------------------
   DESKTOP / PÄÄVALIKON LINKIT
   --------------------------------------------------------- */

.oma-megamenu
.mega-menu-wrap
> ul.mega-menu
> li.mega-menu-item
> a.mega-menu-link {
  color: var(--raikas-green) !important;
  background: transparent !important;
  font-family: var(--raikas-font-heading) !important;
  font-size: 18px !important;
  font-weight: 500 !important;
}

.oma-megamenu
.mega-menu-wrap
> ul.mega-menu
> li.mega-menu-item
> a.mega-menu-link:hover,
.oma-megamenu
.mega-menu-wrap
> ul.mega-menu
> li.mega-menu-item
> a.mega-menu-link:focus {
  color: var(--raikas-green-light) !important;
}


/* ---------------------------------------------------------
   AKTIIVINEN JA AVATTU VALIKKOKOHTA
   --------------------------------------------------------- */

.oma-megamenu
.mega-menu-wrap
> ul.mega-menu
> li.mega-current-menu-item
> a.mega-menu-link,
.oma-megamenu
.mega-menu-wrap
> ul.mega-menu
> li.mega-current-menu-ancestor
> a.mega-menu-link,
.oma-megamenu
.mega-menu-wrap
> ul.mega-menu
> li.mega-current-menu-parent
> a.mega-menu-link,
.oma-megamenu
.mega-menu-wrap
> ul.mega-menu
> li.mega-toggle-on
> a.mega-menu-link {
  color: var(--raikas-sand) !important;
}


/* ---------------------------------------------------------
   ALAVALIKON NUOLI
   --------------------------------------------------------- */

.oma-megamenu
.mega-menu-wrap
ul.mega-menu
.mega-indicator,
.oma-megamenu
.mega-menu-wrap
ul.mega-menu
.mega-indicator::after {
  color: inherit !important;
}


/* =========================================================
   TABLET JA MOBIILI
   ========================================================= */

@media (max-width: 1024px) {

  .oma-megamenu
  .mega-menu-wrap
  > ul.mega-menu {
    padding-top: 110px !important;
  }


  /* Logo avautuvan mobiilivalikon yläosaan */
  .oma-megamenu
  .mega-menu-wrap
  > ul.mega-menu::before {
    content: "";
    display: block !important;
    position: absolute !important;
    top: 14px !important;
    left: 16px !important;

    width: 190px !important;
    height: 80px !important;

    background-image: url("https://raikaseko.fi/2026/wp-content/uploads/2025/08/Raikas-Eko-logo.jpg") !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
    background-size: contain !important;

    z-index: 2 !important;
    pointer-events: none !important;
  }


  /* Kaikki mobiilivalikon linkit */
  .oma-megamenu
  .mega-menu-wrap
  ul.mega-menu
  li.mega-menu-item
  > a.mega-menu-link {
    color: var(--raikas-green) !important;
    background: transparent !important;
    font-family: var(--raikas-font-heading) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
  }

  .oma-megamenu
  .mega-menu-wrap
  ul.mega-menu
  li.mega-menu-item
  > a.mega-menu-link:hover,
  .oma-megamenu
  .mega-menu-wrap
  ul.mega-menu
  li.mega-menu-item
  > a.mega-menu-link:focus {
    color: var(--raikas-green-light) !important;
  }


  /* Aktiivinen tai avattu valikkokohta */
  .oma-megamenu
  .mega-menu-wrap
  ul.mega-menu
  li.mega-current-menu-item
  > a.mega-menu-link,
  .oma-megamenu
  .mega-menu-wrap
  ul.mega-menu
  li.mega-current-menu-ancestor
  > a.mega-menu-link,
  .oma-megamenu
  .mega-menu-wrap
  ul.mega-menu
  li.mega-current-menu-parent
  > a.mega-menu-link,
  .oma-megamenu
  .mega-menu-wrap
  ul.mega-menu
  li.mega-toggle-on
  > a.mega-menu-link {
    color: var(--raikas-sand) !important;
  }


  /* Sulkemispainike */
  .oma-megamenu
  .mega-menu-wrap
  button.mega-close {
    top: 20px !important;
    right: 20px !important;
    bottom: auto !important;
    left: auto !important;
  }


  /* Päävalikkokohtien erotusviivat */
  .oma-megamenu
  .mega-menu-wrap
  > ul.mega-menu
  > li.mega-menu-item {
    border-bottom: 1px solid rgba(194, 178, 128, 0.75) !important;
  }

  .oma-megamenu
  .mega-menu-wrap
  > ul.mega-menu
  > li.mega-menu-item:last-child {
    border-bottom: 0 !important;
  }
}

/* =========================================================
   10. ELEMENTOR-SIVUT JA ETUSIVU
   ========================================================= */

body.home > [data-elementor-type="wp-page"],
body.page:not(.home):not(.page-template-page-ajankohtaista)
> [data-elementor-type="wp-page"] {
  width: 100%;
  padding-top: 0 !important;
  box-sizing: border-box;
}

.ehp-flex-hero__ctas-container {
  margin-top: 10px;
  margin-bottom: 10px;
}

.elementor-101
.elementor-element.elementor-element-799dfc21
.ehp-flex-hero__heading {
  font-family: var(--raikas-font-heading) !important;
  font-size: clamp(34px, 2.5vw, 52px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 4px;
  text-transform: none;
}


/* =========================================================
   11. GRID-LISTAUKSET JA LOGOKUVAT
   ========================================================= */

.wpr-grid-image-wrap img {
  display: block;
  width: 100%;
  height: 400px;
  padding: 5px;
  background-color: var(--raikas-cream);
  object-fit: contain;
}


/* =========================================================
   12. AJANKOHTAISTA-SIVU
   ========================================================= */

body.page-template-page-ajankohtaista {

  background-color: var(--raikas-cream);

}

body.page-template-page-ajankohtaista

main.site-main.ajankohtaista-layout {

  position: relative;

  z-index: 0;

  background: transparent;

}

/* Main-elementin levyinen, mutta koko selainikkunaan ulottuva tausta */

body.page-template-page-ajankohtaista

main.site-main.ajankohtaista-layout::before {

  content: "";

  position: absolute;

  top: 0;

  bottom: 0;

  left: 50%;

  z-index: -1;

  width: 100vw;

background:
  linear-gradient(
    130deg,
    #71B107 0%,
    #2E5B27 100%
  );

  transform: translateX(-50%);

  pointer-events: none;

}

body.page-template-page-ajankohtaista
main.site-main.ajankohtaista-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 50px;
  align-items: start;
  width: 100%;
  max-width: var(--raikas-content-width);
  margin: 0 auto;
  padding-top: 50px !important;
  color: var(--raikas-white);
  background: transparent;
}

.ajankohtaista-main {
  min-width: 0;
}

.ajankohtaista-page-header {
  margin: 0 0 40px;
}

.ajankohtaista-page-title {

  margin: 0;

  color: var(--raikas-white) !important;

  font-family: var(--raikas-font-heading) !important;

  font-size: clamp(36px, 4vw, 50px);

  font-weight: 500;

  line-height: 1.2;

  letter-spacing: 1px;

}

@media (max-width: 767px) {

  .ajankohtaista-page-title {

    font-size: clamp(30px, 8vw, 36px);

    letter-spacing: 0;

  }

}

.ajankohtaista-post {
  margin-bottom: 48px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.30);
}

.ajankohtaista-post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.ajankohtaista-thumbnail {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: min(500px, 44vw);
  min-height: 320px;
  margin-bottom: 24px;
  padding: 12px;
  overflow: hidden;
  border-radius: var(--raikas-radius);
  background-color: var(--raikas-cream);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

.ajankohtaista-thumbnail a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.ajankohtaista-thumbnail img,
.ajankohtaista-thumbnail img.ajankohtaista-image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center;
}

.ajankohtaista-title {
  margin: 0 0 10px;
  color: var(--raikas-white) !important;
  font-size: clamp(28px, 2.5vw, 38px);
  line-height: 1.3;
  letter-spacing: 1px;
}

.ajankohtaista-title a {
  color: var(--raikas-white) !important;
}

.ajankohtaista-title a:hover,
.ajankohtaista-title a:focus,
.ajankohtaista-excerpt a:hover,
.ajankohtaista-excerpt a:focus,
.ajankohtaista-readmore a:hover,
.ajankohtaista-readmore a:focus {
  color: var(--raikas-sand-light) !important;
}

.ajankohtaista-date {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.80) !important;
}

.ajankohtaista-excerpt,
.ajankohtaista-excerpt p,
.ajankohtaista-empty,
.ajankohtaista-empty p {
  color: var(--raikas-white) !important;
}

.ajankohtaista-excerpt {
  margin-bottom: 16px;
}

.ajankohtaista-excerpt a,
.ajankohtaista-readmore a {
  color: var(--raikas-white) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ajankohtaista-sidebar {
  position: sticky;
  top: 110px;
  width: 100%;
  min-width: 0;
}

.ajankohtaista-menu,
.raikaseko-single-menu {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: var(--raikas-radius);
  background-color: rgba(46, 91, 39, 0.72);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ajankohtaista-menu__title,
.raikaseko-single-menu__title {
  margin: 0;
  padding: 20px 22px;
  color: var(--raikas-white) !important;
  background-color: rgba(46, 91, 39, 0.88);
  font-family: var(--raikas-font-heading) !important;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
}

.ajankohtaista-menu__list,
.raikaseko-single-menu__list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.ajankohtaista-menu__item,
.raikaseko-single-menu__item {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  list-style: none !important;
}

.ajankohtaista-menu__item:last-child,
.raikaseko-single-menu__item:last-child {
  border-bottom: 0;
}

.ajankohtaista-menu__link,
.raikaseko-single-menu__link {
  position: relative;
  display: block;
  width: 100%;
  padding: 15px 20px 15px 38px;
  color: var(--raikas-white) !important;
  background-color: transparent;
  text-decoration: none !important;
  transition:
    background-color var(--raikas-transition),
    padding-left var(--raikas-transition);
}

.ajankohtaista-menu__link::before,
.raikaseko-single-menu__link::before {
  content: "›";
  position: absolute;
  top: 16px;
  left: 20px;
  color: var(--raikas-sand-light);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  line-height: 1;
  transition: transform var(--raikas-transition);
}

.ajankohtaista-menu__link:hover,
.ajankohtaista-menu__link:focus,
.raikaseko-single-menu__link:hover,
.raikaseko-single-menu__link:focus {
  padding-left: 42px;
  color: var(--raikas-white) !important;
  background-color: rgba(255, 255, 255, 0.14);
}

.ajankohtaista-menu__link:hover::before,
.ajankohtaista-menu__link:focus::before,
.raikaseko-single-menu__link:hover::before,
.raikaseko-single-menu__link:focus::before {
  transform: translateX(4px);
}

.ajankohtaista-menu__post-title,
.raikaseko-single-menu__post-title {
  display: block;
  color: var(--raikas-white) !important;
  font-family: var(--raikas-font-heading) !important;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.ajankohtaista-menu__date,
.raikaseko-single-menu__date {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 14px;
}

.ajankohtaista-menu__empty,
.raikaseko-single-menu__empty {
  margin: 0;
  padding: 20px;
  color: var(--raikas-white) !important;
}

.ajankohtaista-pagination {
  margin-top: 45px;
}

.ajankohtaista-pagination .page-numbers {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ajankohtaista-pagination .page-numbers li {
  display: inline-block;
  margin: 0 5px 5px 0;
  list-style: none;
}

.ajankohtaista-pagination a.page-numbers,
.ajankohtaista-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: var(--raikas-white) !important;
  background-color: rgba(255, 255, 255, 0.06);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.ajankohtaista-pagination a.page-numbers:hover,
.ajankohtaista-pagination a.page-numbers:focus,
.ajankohtaista-pagination span.page-numbers.current {
  color: var(--raikas-green) !important;
  background-color: var(--raikas-white);
  border-color: var(--raikas-white);
}

/* =========================================================
   13. YKSITTÄINEN ARTIKKELI
   Sama rakenne ja tausta kuin Ajankohtaista-sivulla.
   Gradientti rajataan main-elementtiin, jotta footer säilyttää
   oman Elementorissa määritellyn taustansa.
   ========================================================= */

body.single-post {
  background-color: var(--raikas-cream);
}

body.single-post
main.site-main.raikaseko-single-layout {
  position: relative;
  z-index: 0;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 50px;
  align-items: start;

  width: 100%;
  max-width: var(--raikas-content-width);
  margin: 0 auto;
  padding: 50px var(--raikas-content-padding) 70px;

  color: var(--raikas-white);
  background: transparent;
}

/* Gradientti ulottuu selainikkunan reunasta reunaan,
   mutta päättyy ennen footeria. */
body.single-post
main.site-main.raikaseko-single-layout::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;

  width: 100vw;

background:
  linear-gradient(
    130deg,
    #71B107 0%,
    #2E5B27 100%
  );

  transform: translateX(-50%);
  pointer-events: none;
}

.raikaseko-single-main {
  min-width: 0;
}


/* =========================================================
   YKSITTÄINEN ARTIKKELI / OTSIKKO JA PÄIVÄMÄÄRÄ
   ========================================================= */

.raikaseko-single-header {
  margin: 0 0 30px;
}

.raikaseko-single-title {
  margin: 0 0 14px;

  color: var(--raikas-white) !important;

  font-family: var(--raikas-font-heading) !important;
  font-size: clamp(36px, 4vw, 50px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 1px;
  text-align: left;
}

.raikaseko-single-date {
  display: block;

  color: rgba(255, 255, 255, 0.78) !important;

  font-family: var(--raikas-font-body) !important;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

/* =========================================================
   YKSITTÄINEN ARTIKKELI / SISÄLLÖN VÄRIT
   Muuttaa vain värit. Ei muuta fonttikokoja, rivivälejä,
   marginaaleja, kuvia tai muita mittoja.
   ========================================================= */

.raikaseko-single-content,
.raikaseko-single-content p,
.raikaseko-single-content ul,
.raikaseko-single-content ol,
.raikaseko-single-content li,
.raikaseko-single-content dt,
.raikaseko-single-content dd,
.raikaseko-single-content strong,
.raikaseko-single-content b {
  color: var(--raikas-white) !important;
}

.raikaseko-single-content h1,
.raikaseko-single-content h2,
.raikaseko-single-content h3,
.raikaseko-single-content h4,
.raikaseko-single-content h5,
.raikaseko-single-content h6 {
  color: var(--raikas-white) !important;
}

.raikaseko-single-content a {
  color: var(--raikas-white) !important;
}

.raikaseko-single-content a:hover,
.raikaseko-single-content a:focus {
  color: var(--raikas-sand-light) !important;
}

.raikaseko-single-content figcaption {
  color: rgba(255, 255, 255, 0.78) !important;
}

/* =========================================================
   YKSITTÄINEN ARTIKKELI / TABLET
   ========================================================= */

@media (max-width: 1200px) {

  body.single-post
  main.site-main.raikaseko-single-layout {
    padding: 50px var(--raikas-content-padding) 60px;
  }
}

@media (max-width: 900px) {

  body.single-post
  main.site-main.raikaseko-single-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 45px;
  }

  .raikaseko-single-sidebar {
    position: static;
  }
}


/* =========================================================
   YKSITTÄINEN ARTIKKELI / MOBIILI
   ========================================================= */

@media (max-width: 767px) {

  body.single-post
  main.site-main.raikaseko-single-layout {
    padding: 40px var(--raikas-content-padding) 50px;
  }

  .raikaseko-single-title {
    font-size: clamp(30px, 9vw, 38px);
    letter-spacing: 0;
  }
}

/* =========================================================
   14. 404-SIVU
   ========================================================= */

body.error404 {
  background-color: var(--raikas-cream);
}

body.error404 main.site-main.raikaseko-404 {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.raikaseko-404__section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 650px;
  padding: 100px var(--raikas-content-padding);
  overflow: hidden;
  background: linear-gradient(135deg, #FDFBF7 0%, #F7F4EA 100%);
}

.raikaseko-404__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.raikaseko-404__decoration {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.raikaseko-404__circle {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.raikaseko-404__circle--one {
  top: -170px;
  right: -130px;
  width: 430px;
  height: 430px;
  background-color: rgba(152, 168, 105, 0.13);
}

.raikaseko-404__circle--two {
  bottom: -210px;
  left: -140px;
  width: 500px;
  height: 500px;
  border: 55px solid rgba(194, 178, 128, 0.13);
}

.raikaseko-404__number {
  margin: 0 0 12px;
  color: rgba(46, 91, 39, 0.12);
  font-family: var(--raikas-font-heading) !important;
  font-size: clamp(110px, 18vw, 220px) !important;
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -8px;
}

.raikaseko-404__title {
  margin: 0 0 22px;
  color: var(--raikas-green);
  font-size: clamp(34px, 5vw, 58px);
}

.raikaseko-404__description {
  max-width: 680px;
  margin: 0 auto 34px;
  color: var(--raikas-text);
  font-size: 20px;
  line-height: 1.65;
}

.raikaseko-404__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 0 0 48px;
}

.raikaseko-404__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 25px;
  border: 2px solid var(--raikas-green);
  border-radius: var(--raikas-button-radius);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
}

.raikaseko-404__button--primary {
  color: var(--raikas-white) !important;
  background-color: var(--raikas-green);
}

.raikaseko-404__button--secondary {
  color: var(--raikas-green) !important;
  background-color: transparent;
}

.raikaseko-404__button:hover,
.raikaseko-404__button:focus {
  color: var(--raikas-green) !important;
  background-color: var(--raikas-sand);
  border-color: var(--raikas-sand);
}

.raikaseko-404__search {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--raikas-border);
  border-radius: 18px;
  background-color: rgba(255, 255, 255, 0.78);
  box-shadow: var(--raikas-shadow);
}

.raikaseko-404__search-title {
  margin: 0 0 18px;
  color: var(--raikas-green);
  font-size: 24px;
}

.raikaseko-404__search-form {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.raikaseko-404__search-field {
  border-right: 0;
  border-radius: 28px 0 0 28px;
}

.raikaseko-404__search-submit {
  flex: 0 0 auto;
  border-radius: 0 28px 28px 0;
}


/* =========================================================
   15. FOOTER
   ========================================================= */

.elementor-element-ba54a8e,
.elementor-element-f9105a2,
.elementor-element-e09f0e1,
.elementor-element-d0afb64,
.elementor-element-ba54a8e p,
.elementor-element-f9105a2 p,
.elementor-element-e09f0e1 p,
.elementor-element-d0afb64 p,
.elementor-element-ba54a8e li,
.elementor-element-f9105a2 li,
.elementor-element-e09f0e1 li,
.elementor-element-d0afb64 li,
.raikaseko-yhteystiedot {
  color: rgba(255, 255, 255, 0.88) !important;
  font-family: var(--raikas-font-body) !important;
  font-size: 18px !important;
  line-height: 1.5 !important;
}

.elementor-element-0e854ef .elementor-heading-title,
.elementor-element-6706463 .elementor-heading-title,
.elementor-element-62b0095 .elementor-heading-title {
  margin: 0 0 18px;
  color: var(--raikas-white) !important;
  font-family: var(--raikas-font-heading) !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
}

.raikaseko-yhteystiedot .raikaseko-company-name,
.raikaseko-yhteystiedot .raikaseko-person strong,
.raikaseko-yhteystiedot .raikaseko-address strong {
  display: block;
  margin: 0 0 3px;
  color: var(--raikas-white) !important;
  font-family: var(--raikas-font-heading) !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

.raikaseko-yhteystiedot .raikaseko-business-id,
.raikaseko-yhteystiedot .raikaseko-person {
  margin-bottom: 24px;
}

.raikaseko-yhteystiedot .raikaseko-address {
  margin: 0;
}

.raikaseko-yhteystiedot .raikaseko-name-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.raikaseko-yhteystiedot .raikaseko-name {
  display: inline-block;
  min-width: 0;
  color: rgba(255, 255, 255, 0.88) !important;
}

.raikaseko-yhteystiedot .raikaseko-languages {
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68) !important;
  line-height: 1;
  white-space: nowrap;
}

.raikaseko-yhteystiedot .raikaseko-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 20px !important;
  line-height: 1 !important;
}

.raikaseko-yhteystiedot .raikaseko-email,
.raikaseko-yhteystiedot .raikaseko-phone {
  display: block;
}

.elementor-element-ba54a8e a,
.elementor-element-f9105a2 a,
.elementor-element-e09f0e1 a,
.elementor-element-d0afb64 a,
.raikaseko-yhteystiedot a {
  color: var(--raikas-white) !important;
  font-family: var(--raikas-font-body) !important;
  font-size: 18px !important;
  text-decoration: none;
}

.elementor-element-ba54a8e a:hover,
.elementor-element-ba54a8e a:focus,
.elementor-element-f9105a2 a:hover,
.elementor-element-f9105a2 a:focus,
.elementor-element-e09f0e1 a:hover,
.elementor-element-e09f0e1 a:focus,
.elementor-element-d0afb64 a:hover,
.elementor-element-d0afb64 a:focus,
.raikaseko-yhteystiedot a:hover,
.raikaseko-yhteystiedot a:focus {
  color: var(--raikas-sand) !important;
}

.elementor-element-30541fc .elementor-social-icon {
  color: var(--raikas-white) !important;
  background-color: rgba(255, 255, 255, 0.12) !important;
}

.elementor-element-30541fc .elementor-social-icon svg {
  fill: currentColor !important;
}

.elementor-element-30541fc .elementor-social-icon:hover,
.elementor-element-30541fc .elementor-social-icon:focus {
  color: var(--raikas-green) !important;
  background-color: var(--raikas-sand) !important;
}

.elementor-element-cac7df1 .menu,
.elementor-element-cac7df1 .menu ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.elementor-element-cac7df1 .menu li,
.elementor-element-cac7df1 .menu .page_item {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none !important;
}

.elementor-element-cac7df1 .menu li:last-child,
.elementor-element-cac7df1 .menu .page_item:last-child {
  border-bottom: 0;
}

.elementor-element-cac7df1 .menu a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 8px 4px !important;
  color: var(--raikas-white) !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition:
    color var(--raikas-transition),
    padding-left var(--raikas-transition);
}

.elementor-element-cac7df1 .menu a::before {
  content: "›";
  margin-right: 9px;
  color: var(--raikas-sand);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  line-height: 1;
  transition: transform var(--raikas-transition);
}

.elementor-element-cac7df1 .menu a:hover,
.elementor-element-cac7df1 .menu a:focus,
.elementor-element-cac7df1 .menu .current_page_item > a {
  padding-left: 9px !important;
  color: var(--raikas-sand) !important;
}

.elementor-element-cac7df1 .menu a:hover::before,
.elementor-element-cac7df1 .menu a:focus::before,
.elementor-element-cac7df1 .menu .current_page_item > a::before {
  transform: translateX(3px);
}

.elementor-element-cac7df1 .menu .children,
.elementor-element-cac7df1 .menu .sub-menu {
  padding-left: 18px !important;
}

.elementor-element-cac7df1 .menu .children a,
.elementor-element-cac7df1 .menu .sub-menu a {
  min-height: 38px;
  font-size: 18px !important;
}


/* =========================================================
   16. RESPONSIVE / TABLET
   ========================================================= */

@media (max-width: 1200px) {
  :root {
    --raikas-content-padding: 26px;
  }

  .site-main {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  body.page-template-page-ajankohtaista
  main.site-main.ajankohtaista-layout,
  body.single-post
  main.site-main.raikaseko-single-layout {
    padding-top: 50px !important;
    padding-bottom: 60px !important;
  }
}

@media (max-width: 900px) {
  body.page-template-page-ajankohtaista
  main.site-main.ajankohtaista-layout,
  body.single-post
  main.site-main.raikaseko-single-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 45px;
  }

  .ajankohtaista-sidebar,
  .raikaseko-single-sidebar {
    position: static;
  }

  .ajankohtaista-thumbnail {
    height: 460px;
  }
}


/* =========================================================
   17. RESPONSIVE / MOBIILI
   ========================================================= */

@media (max-width: 767px) {
  :root {
    --raikas-content-padding: 20px;
  }

  body {
    font-size: 18px;
  }

  .site-main {
    padding: 40px var(--raikas-content-padding);
  }

  h1,
  .entry-title,
  .page-title {
    font-size: clamp(30px, 9vw, 38px);
  }

  h2 {
    font-size: clamp(26px, 7vw, 32px);
  }

  h3 {
    font-size: clamp(22px, 6vw, 27px);
  }

  h4 {
    font-size: 21px;
  }

  h5 {
    font-size: 19px;
  }

  h6 {
    font-size: 17px;
  }



  input[type="text"],
  input[type="email"],
  input[type="url"],
  input[type="tel"],
  input[type="number"],
  input[type="date"],
  input[type="time"],
  input[type="search"],
  input[type="password"],
  select,
  textarea,
  .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance):not(.wpcf7-checkbox):not(.wpcf7-radio) {
    min-height: 48px;
    font-size: 18px !important;
  }

  .elementor-101
  .elementor-element.elementor-element-799dfc21
  .ehp-flex-hero__heading {
    font-size: clamp(30px, 9vw, 38px);
    letter-spacing: 2px;
  }

  .wpr-grid-image-wrap img {
    height: 300px;
  }

  body.page-template-page-ajankohtaista
  main.site-main.ajankohtaista-layout,
  body.single-post
  main.site-main.raikaseko-single-layout {
    padding: 40px var(--raikas-content-padding) 50px !important;
  }

  .ajankohtaista-page-header {
    margin-bottom: 30px;
  }

  .ajankohtaista-page-title,
  .raikaseko-single-title {
    font-size: clamp(30px, 9vw, 38px);
    letter-spacing: 0;
  }

  .ajankohtaista-title {
    font-size: clamp(24px, 7vw, 30px);
    letter-spacing: 0;
  }

  .ajankohtaista-thumbnail {
    height: 300px;
    min-height: 0;
    padding: 8px;
  }

  .ajankohtaista-menu__title,
  .raikaseko-single-menu__title {
    padding: 17px 18px;
    font-size: 20px;
  }

  .ajankohtaista-menu__link,
  .raikaseko-single-menu__link {
    padding: 14px 18px 14px 34px;
  }

  .ajankohtaista-menu__link::before,
  .raikaseko-single-menu__link::before {
    top: 15px;
    left: 17px;
  }

  .raikaseko-single-thumbnail {
    min-height: 240px;
    margin-bottom: 28px;
    padding: 8px;
    border-radius: 13px;
  }

  .raikaseko-single-image {
    max-height: 330px;
  }

  .raikaseko-single-content {
    font-size: 18px;
    line-height: 1.65;
  }

  .raikaseko-single-content h2 {
    font-size: 27px;
  }

  .raikaseko-single-content h3 {
    font-size: 23px;
  }

  .raikaseko-single-content h4 {
    font-size: 20px;
  }

  .raikaseko-single-return-button {
    width: 100%;
    font-size: 18px;
  }

  .raikaseko-404__section {
    min-height: 0;
    padding: 65px var(--raikas-content-padding);
  }

  .raikaseko-404__number {
    margin-bottom: 18px;
    font-size: clamp(88px, 32vw, 135px) !important;
    letter-spacing: -5px;
  }

  .raikaseko-404__title {
    margin-bottom: 18px;
    font-size: 32px;
  }

  .raikaseko-404__description {
    margin-bottom: 28px;
    font-size: 18px;
    line-height: 1.55;
  }

  .raikaseko-404__actions {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 38px;
  }

  .raikaseko-404__button {
    width: 100%;
    min-height: 48px;
    font-size: 18px;
  }

  .raikaseko-404__search {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .raikaseko-404__search-title {
    font-size: 22px;
  }

  .raikaseko-404__search-form {
    flex-direction: column;
    gap: 10px;
  }

  .raikaseko-404__search-field,
  .raikaseko-404__search-submit {
    width: 100%;
    border: 2px solid rgba(46, 91, 39, 0.30);
    border-radius: 999px;
  }

  .elementor-element-0e854ef .elementor-heading-title,
  .elementor-element-6706463 .elementor-heading-title,
  .elementor-element-62b0095 .elementor-heading-title {
    font-size: 20px !important;
  }

  .elementor-element-ba54a8e,
  .elementor-element-f9105a2,
  .elementor-element-e09f0e1,
  .elementor-element-d0afb64,
  .elementor-element-ba54a8e p,
  .elementor-element-f9105a2 p,
  .elementor-element-e09f0e1 p,
  .elementor-element-d0afb64 p,
  .raikaseko-yhteystiedot,
  .raikaseko-yhteystiedot a,
  .elementor-element-cac7df1 .menu a {
    font-size: 18px !important;
  }

  .raikaseko-yhteystiedot .raikaseko-flag {
    font-size: 20px !important;
  }

  .entry-content table,
  .wp-block-table table,
  .elementor-widget-text-editor table,
  .raikaseko-single-content table {
    font-size: 15px;
  }

  .entry-content th,
  .entry-content td,
  .wp-block-table th,
  .wp-block-table td,
  .elementor-widget-text-editor th,
  .elementor-widget-text-editor td,
  .raikaseko-single-content th,
  .raikaseko-single-content td {
    padding: 10px;
  }
}
/* =========================================================
   RAIKAS EKO / ETUSIVUN AJANKOHTAISET ARTIKKELIKORTIT
   Lyhytkoodi: [raikas_ajankohtaista_kortit]
   ========================================================= */

.raikas-ajankohtaista-kortit {
  width: 100%;
}

.raikas-ajankohtaista-kortit__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  width: 100%;
}


/* =========================================================
   ARTIKKELIKORTTI
   ========================================================= */

.raikas-ajankohtaista-kortti {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;

  border-radius: var(--raikas-radius);
  background-color: var(--raikas-white);
  box-shadow: var(--raikas-shadow);

  transition:
    transform var(--raikas-transition),
    box-shadow var(--raikas-transition);
}

.raikas-ajankohtaista-kortti:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(46, 91, 39, 0.16);
}


/* =========================================================
   ARTIKKELIKORTTI / KUVA
   ========================================================= */

.raikas-ajankohtaista-kortti__image-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.raikas-ajankohtaista-kortti__image-wrap {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background-color: var(--raikas-cream);
}

.raikas-ajankohtaista-kortti__image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover;
  object-position: center;

  transition: transform 0.4s ease;
}

.raikas-ajankohtaista-kortti:hover
.raikas-ajankohtaista-kortti__image {
  transform: scale(1.04);
}

.raikas-ajankohtaista-kortti__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;

  color: var(--raikas-green);
background:
  linear-gradient(
    130deg,
    #71B107 0%,
    #2E5B27 100%
  );

  font-family: var(--raikas-font-heading) !important;
  font-size: 24px;
  font-weight: 500;
}


/* =========================================================
   ARTIKKELIKORTTI / SISÄLTÖ
   ========================================================= */

.raikas-ajankohtaista-kortti__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 26px;
}

.raikas-ajankohtaista-kortti__date {
  display: block;
  margin: 0 0 10px;

  color: var(--raikas-muted);

  font-family: var(--raikas-font-body) !important;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.raikas-ajankohtaista-kortti__title {
  margin: 0 0 15px;

  color: var(--raikas-green);

  font-family: var(--raikas-font-heading) !important;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
}

.raikas-ajankohtaista-kortti__title a {
  color: inherit !important;
  font: inherit;
  text-decoration: none !important;
}

.raikas-ajankohtaista-kortti__title a:hover,
.raikas-ajankohtaista-kortti__title a:focus {
  color: var(--raikas-green-light) !important;
}

.raikas-ajankohtaista-kortti__excerpt {
  margin: 0 0 22px;

  color: var(--raikas-text);

  font-family: var(--raikas-font-body) !important;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

.raikas-ajankohtaista-kortti__excerpt p {
  margin: 0;
  color: inherit;
  font: inherit;
}


/* =========================================================
   ARTIKKELIKORTTI / LUE LISÄÄ -LINKKI
   ========================================================= */

.raikas-ajankohtaista-kortti__footer {
  margin-top: auto;
  padding-top: 4px;
}

.raikas-ajankohtaista-kortti__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  color: var(--raikas-green) !important;

  font-family: var(--raikas-font-body) !important;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;

  text-decoration: none !important;

  transition:
    color var(--raikas-transition),
    gap var(--raikas-transition);
}

.raikas-ajankohtaista-kortti__link:hover,
.raikas-ajankohtaista-kortti__link:focus {
  gap: 13px;
  color: var(--raikas-green-light) !important;
}


/* =========================================================
   ARTIKKELIKORTIT / TABLET
   ========================================================= */

@media (max-width: 1024px) {

  .raikas-ajankohtaista-kortit__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .raikas-ajankohtaista-kortti__image-wrap {
    height: 250px;
  }
}


/* =========================================================
   ARTIKKELIKORTIT / MOBIILI
   ========================================================= */

@media (max-width: 767px) {

  .raikas-ajankohtaista-kortit__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .raikas-ajankohtaista-kortti__image-wrap {
    height: 230px;
  }

  .raikas-ajankohtaista-kortti__content {
    padding: 22px 20px;
  }

  .raikas-ajankohtaista-kortti__title {
    font-size: 23px;
  }

  .raikas-ajankohtaista-kortti__excerpt,
  .raikas-ajankohtaista-kortti__link {
    font-size: 18px;
  }
}
/* =========================================================
   TAVALLISEN SIVUN HERO JA SIVUOTSIKKO
   Tiedosto: page.php
   ========================================================= */

/*
 * Poistetaan mahdolliset teeman tai pääsisältöalueen
 * leveysrajoitukset hero-kuvan ympäriltä.
 */
.raikaseko-page-main,
.raikaseko-page,
.raikaseko-page-hero {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

/*
 * Koko selainikkunan levyinen hero.
 */
.raikaseko-page-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(400px, 45vw, 620px);
	overflow: hidden;
	background-color: var(--raikas-green, #2E5B27);
	isolation: isolate;
}

/*
 * Hero-kuvan ympäröivä alue.
 */
.raikaseko-page-hero__image {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
}

/*
 * Artikkelikuva täyttää hero-alueen.
 */
.raikaseko-page-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	object-position: center;
}

/*
 * Tummennus parantaa otsikon luettavuutta.
 * Tummennus on voimakkaampi kuvan alaosassa.
 */
.raikaseko-page-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background:
		linear-gradient(
			180deg,
			rgba(20, 38, 17, 0.08) 0%,
			rgba(20, 38, 17, 0.25) 45%,
			rgba(20, 38, 17, 0.82) 100%
		);
	pointer-events: none;
}

/*
 * Otsikon sisällön leveys ja sijoittelu.
 */
.raikaseko-page-hero__content {
	position: relative;
	z-index: 3;
	width: min(100%, 1440px);
	margin: 0 auto;
	padding:
		clamp(48px, 7vw, 100px)
		clamp(24px, 6vw, 90px)
		clamp(45px, 6vw, 85px);
}

/*
 * Hero-otsikko.
 */
.raikaseko-page-hero__title {
	max-width: 1050px;
	margin: 0;
	padding: 0;
	color: var(--raikas-white, #FFFFFF);
	font-family: inherit;
	font-size: clamp(42px, 5vw, 76px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.025em;
	text-wrap: balance;
	text-shadow:
		0 2px 6px rgba(0, 0, 0, 0.22),
		0 10px 30px rgba(0, 0, 0, 0.20);
}

/*
 * Sivun otsikko silloin, kun artikkelikuvaa ei ole asetettu.
 */
.raikaseko-page-header {
	width: 100%;
	margin: 0;
	padding: 0;
	background:
		linear-gradient(
			135deg,
			var(--raikas-green, #2E5B27) 0%,
			#3f7137 100%
		);
}

.raikaseko-page-header__content {
	width: min(100%, 1440px);
	margin: 0 auto;
	padding:
		clamp(55px, 7vw, 95px)
		clamp(24px, 6vw, 90px);
}

.raikaseko-page-header__title {
	max-width: 1050px;
	margin: 0;
	padding: 0;
	color: var(--raikas-white, #FFFFFF);
	font-family: inherit;
	font-size: clamp(42px, 5vw, 70px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

/*
 * Varsinainen Elementor- tai WordPress-sisältö.
 */
.raikaseko-page__content {
	width: 100%;
	margin: 0;
	padding: 0;
}

/*
 * Estetään ensimmäisen sisältöelementin tarpeeton ylämarginaali,
 * mikäli sisältö alkaa heti hero-alueen jälkeen.
 */
.raikaseko-page__content > :first-child {
	margin-top: 0;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

	.raikaseko-page-hero {
		min-height: 460px;
	}

	.raikaseko-page-hero__content {
		padding:
			60px
			32px
			52px;
	}

	.raikaseko-page-hero__title {
		font-size: clamp(38px, 6vw, 58px);
	}

	.raikaseko-page-header__content {
		padding:
			60px
			32px;
	}

	.raikaseko-page-header__title {
		font-size: clamp(38px, 6vw, 58px);
	}

}

/* =========================================================
   PUHELIN
   ========================================================= */

@media (max-width: 767px) {

	.raikaseko-page-hero {
		min-height: 380px;
	}

	.raikaseko-page-hero__img {
		object-position: center center;
	}

	.raikaseko-page-hero__overlay {
		background:
			linear-gradient(
				180deg,
				rgba(20, 38, 17, 0.10) 0%,
				rgba(20, 38, 17, 0.35) 42%,
				rgba(20, 38, 17, 0.88) 100%
			);
	}

	.raikaseko-page-hero__content {
		padding:
			45px
			20px
			38px;
	}

	.raikaseko-page-hero__title {
		font-size: clamp(34px, 10vw, 48px);
		line-height: 1.1;
		letter-spacing: -0.02em;
	}

	.raikaseko-page-header__content {
		padding:
			48px
			20px;
	}

	.raikaseko-page-header__title {
		font-size: clamp(34px, 10vw, 48px);
		line-height: 1.1;
	}

}
/* =========================================================
   YKSITTÄISEN ARTIKKELIN HERO
   Tiedosto: single.php
   ========================================================= */

/*
 * Koko selainikkunan levyinen artikkelin hero.
 */
.raikaseko-single-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	width: 100%;
	max-width: none;
	min-height: clamp(400px, 45vw, 620px);
	margin: 0;
	padding: 0;
	overflow: hidden;
	background-color: var(--raikas-green, #2E5B27);
	isolation: isolate;
}

/*
 * Artikkelikuvan alue.
 */
.raikaseko-single-hero__image {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
}

/*
 * Artikkelikuva täyttää koko hero-alueen.
 */
.raikaseko-single-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	object-fit: cover;
	object-position: center;
}

/*
 * Kuvan tummennus.
 */
.raikaseko-single-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background:
		linear-gradient(
			180deg,
			rgba(20, 38, 17, 0.08) 0%,
			rgba(20, 38, 17, 0.28) 42%,
			rgba(20, 38, 17, 0.86) 100%
		);
	pointer-events: none;
}

/*
 * Hero-alueen otsikko ja päivämäärä.
 */
.raikaseko-single-hero__content {
	position: relative;
	z-index: 3;
	width: min(100%, 1440px);
	margin: 0 auto;
	padding:
		clamp(48px, 7vw, 100px)
		clamp(24px, 6vw, 90px)
		clamp(45px, 6vw, 85px);
}

/*
 * Artikkelin pääotsikko.
 */
.raikaseko-single-hero__title {
	max-width: 1100px;
	margin: 0;
	padding: 0;
	color: var(--raikas-white, #FFFFFF);
	font-family: inherit;
	font-size: clamp(42px, 5vw, 76px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.025em;
	text-wrap: balance;
	text-shadow:
		0 2px 6px rgba(0, 0, 0, 0.22),
		0 10px 30px rgba(0, 0, 0, 0.20);
}

/*
 * Artikkelin päivämäärä kuvan päällä.
 */
.raikaseko-single-hero__date {
	display: block;
	margin-top: 18px;
	color: var(--raikas-white, #FFFFFF);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.02em;
	opacity: 0.92;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

/* =========================================================
   ARTIKKELI ILMAN ARTIKKELIKUVAA
   ========================================================= */

.raikaseko-single-page-header {
	width: 100%;
	margin: 0;
	padding: 0;
	background:
		linear-gradient(
			135deg,
			var(--raikas-green, #2E5B27) 0%,
			#3F7137 100%
		);
}

.raikaseko-single-page-header__content {
	width: min(100%, 1440px);
	margin: 0 auto;
	padding:
		clamp(55px, 7vw, 95px)
		clamp(24px, 6vw, 90px);
}

.raikaseko-single-page-header__title {
	max-width: 1100px;
	margin: 0;
	padding: 0;
	color: var(--raikas-white, #FFFFFF);
	font-family: inherit;
	font-size: clamp(42px, 5vw, 70px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.raikaseko-single-page-header__date {
	display: block;
	margin-top: 18px;
	color: var(--raikas-white, #FFFFFF);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	opacity: 0.9;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

	.raikaseko-single-hero {
		min-height: 460px;
	}

	.raikaseko-single-hero__content {
		padding:
			60px
			32px
			52px;
	}

	.raikaseko-single-hero__title {
		font-size: clamp(38px, 6vw, 58px);
	}

	.raikaseko-single-page-header__content {
		padding:
			60px
			32px;
	}

	.raikaseko-single-page-header__title {
		font-size: clamp(38px, 6vw, 58px);
	}

}

/* =========================================================
   PUHELIN
   ========================================================= */

@media (max-width: 767px) {

	.raikaseko-single-hero {
		min-height: 380px;
	}

	.raikaseko-single-hero__img {
		object-position: center center;
	}

	.raikaseko-single-hero__overlay {
		background:
			linear-gradient(
				180deg,
				rgba(20, 38, 17, 0.10) 0%,
				rgba(20, 38, 17, 0.38) 42%,
				rgba(20, 38, 17, 0.90) 100%
			);
	}

	.raikaseko-single-hero__content {
		padding:
			45px
			20px
			38px;
	}

	.raikaseko-single-hero__title {
		font-size: clamp(34px, 10vw, 48px);
		line-height: 1.1;
		letter-spacing: -0.02em;
	}

	.raikaseko-single-hero__date {
		margin-top: 14px;
		font-size: 18px;
	}

	.raikaseko-single-page-header__content {
		padding:
			48px
			20px;
	}

	.raikaseko-single-page-header__title {
		font-size: clamp(34px, 10vw, 48px);
		line-height: 1.1;
	}

	.raikaseko-single-page-header__date {
		margin-top: 14px;
		font-size: 18px;
	}

}
/* =========================================================
   SIVUJEN JA ARTIKKELEIDEN HERO-OTSIKOT
   Desktop 50 px, tablet 36 px, puhelin 28 px
   ========================================================= */

.raikaseko-single-hero__title,
.raikaseko-single-page-header__title,
.raikaseko-page-hero__title,
.raikaseko-page-header__title {
	max-width: 1100px;
	margin: 0;
	padding: 0;
	color: var(--raikas-white, #FFFFFF);
	font-family: inherit;
	font-size: 50px;
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.raikaseko-single-hero__title,
.raikaseko-page-hero__title {
	text-shadow:
		0 2px 6px rgba(0, 0, 0, 0.22),
		0 10px 30px rgba(0, 0, 0, 0.20);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

	.raikaseko-single-hero__title,
	.raikaseko-single-page-header__title,
	.raikaseko-page-hero__title,
	.raikaseko-page-header__title {
		font-size: 36px;
		line-height: 1.14;
	}

}

/* =========================================================
   PUHELIN
   ========================================================= */

@media (max-width: 767px) {

	.raikaseko-single-hero__title,
	.raikaseko-single-page-header__title,
	.raikaseko-page-hero__title,
	.raikaseko-page-header__title {
		font-size: 28px;
		line-height: 1.18;
		letter-spacing: -0.015em;
	}

}
/* =========================================================
   YKSITTÄINEN ARTIKKELI / PALUULINKIT
   ========================================================= */

/* Yläosan Takaisin Ajankohtaista-sivulle -linkki */
.raikaseko-single-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;

  color: var(--raikas-white) !important;

  font-family: var(--raikas-font-body) !important;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;

  text-decoration: none !important;
}

.raikaseko-single-back:hover,
.raikaseko-single-back:focus {
  color: var(--raikas-sand-light) !important;
}

/* Artikkelin lopun Katso kaikki ajankohtaiset -painike */
.raikaseko-single-footer {
  margin-top: 38px;
}

.raikaseko-single-return-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 50px;
  padding: 12px 26px;

  border: 2px solid var(--raikas-white);
  border-radius: var(--raikas-button-radius);

  color: var(--raikas-green) !important;
  background-color: var(--raikas-white);

  font-family: var(--raikas-font-body) !important;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;

  text-align: center;
  text-decoration: none !important;

  transition:
    color var(--raikas-transition),
    background-color var(--raikas-transition),
    border-color var(--raikas-transition),
    transform var(--raikas-transition);
}

.raikaseko-single-return-button:hover,
.raikaseko-single-return-button:focus {
  border-color: var(--raikas-sand-light);
  color: var(--raikas-green) !important;
  background-color: var(--raikas-sand-light);
  transform: translateY(-2px);
}
/* =========================================================
   AJANKOHTAISTA-SIVUPANEELI / KAIKKI AJANKOHTAISET -LINKKI
   ========================================================= */

.ajankohtaista-menu__footer,
.raikaseko-single-menu__footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.ajankohtaista-menu__all,
.raikaseko-single-menu__all {
  display: inline-flex;
  align-items: center;

  color: var(--raikas-white) !important;

  font-family: var(--raikas-font-body) !important;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;

  text-decoration: none !important;
}

.ajankohtaista-menu__all:hover,
.ajankohtaista-menu__all:focus,
.raikaseko-single-menu__all:hover,
.raikaseko-single-menu__all:focus {
  color: var(--raikas-sand-light) !important;
}
/* =========================================================
   ILMOITTAUTUMISSIVU
   Alareunan sisämarginaali
   Sivu-ID: 2601
   ========================================================= */

body.page-id-2601 .raikaseko-page__content {
  padding-bottom: 80px;
}
/* =========================================================
   VISIO JA MISSIO
   FI-kontti: 4593ff5
   SV-kontti: 4e4ae6f
   EN-kontti: dfc5fd4
   ========================================================= */

.elementor-element-4593ff5,
.elementor-element-4e4ae6f,
.elementor-element-dfc5fd4 {
  --visio-missio-green: #2e5b27;
  --visio-missio-green-dark: #24491f;
  --visio-missio-green-light: #98a869;
  --visio-missio-sand: #c2b280;
  --visio-missio-white: #ffffff;

  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 50px 30px;
}

/* =========================================================
   WIDGETTIEN RAKENNE
   ========================================================= */

.elementor-element-4593ff5 > .elementor-widget-flex-hero,
.elementor-element-4e4ae6f > .elementor-widget-flex-hero,
.elementor-element-dfc5fd4 > .elementor-widget-flex-hero {
  display: flex;
  width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
}

.elementor-element-4593ff5
  > .elementor-widget-flex-hero
  > .elementor-widget-container,
.elementor-element-4e4ae6f
  > .elementor-widget-flex-hero
  > .elementor-widget-container,
.elementor-element-dfc5fd4
  > .elementor-widget-flex-hero
  > .elementor-widget-container {
  display: flex;
  width: 100%;
  height: 100%;
}

/* =========================================================
   KORTTI
   ========================================================= */

.elementor-element-4593ff5 .ehp-flex-hero,
.elementor-element-4e4ae6f .ehp-flex-hero,
.elementor-element-dfc5fd4 .ehp-flex-hero {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 380px;
  height: 100% !important;
  overflow: hidden;
  border-radius: 24px !important;
  isolation: isolate;
  box-shadow: 0 18px 45px rgba(46, 91, 39, 0.16);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Visio / Vision -kortti */
.elementor-element-4593ff5
  > .elementor-element-6b7a3df
  .ehp-flex-hero,
.elementor-element-4e4ae6f
  > .elementor-element-6b7a3df
  .ehp-flex-hero,
.elementor-element-dfc5fd4
  > .elementor-element-7af3f76
  .ehp-flex-hero {
  background:
    linear-gradient(
      145deg,
      rgba(46, 91, 39, 0.98) 0%,
      rgba(36, 73, 31, 0.98) 100%
    );
}

/* Missio / Mission -kortti */
.elementor-element-4593ff5
  > .elementor-element-11eb83c
  .ehp-flex-hero,
.elementor-element-4e4ae6f
  > .elementor-element-11eb83c
  .ehp-flex-hero,
.elementor-element-dfc5fd4
  > .elementor-element-304b690
  .ehp-flex-hero {
  background:
    linear-gradient(
      145deg,
      rgba(116, 143, 66, 0.98) 0%,
      rgba(46, 91, 39, 0.98) 100%
    );
}

/* =========================================================
   KORISTEKUVIO
   ========================================================= */

.elementor-element-4593ff5 .ehp-flex-hero::before,
.elementor-element-4e4ae6f .ehp-flex-hero::before,
.elementor-element-dfc5fd4 .ehp-flex-hero::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  z-index: -1;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(255, 255, 255, 0.035),
    0 0 0 76px rgba(255, 255, 255, 0.025);
}

/* =========================================================
   SUURI TAUSTAKIRJAIN
   ========================================================= */

.elementor-element-4593ff5 .ehp-flex-hero::after,
.elementor-element-4e4ae6f .ehp-flex-hero::after,
.elementor-element-dfc5fd4 .ehp-flex-hero::after {
  position: absolute;
  right: 28px;
  bottom: -35px;
  z-index: -1;
  color: rgba(255, 255, 255, 0.065);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(180px, 18vw, 260px);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

/* Visio / Vision */
.elementor-element-4593ff5
  > .elementor-element-6b7a3df
  .ehp-flex-hero::after,
.elementor-element-4e4ae6f
  > .elementor-element-6b7a3df
  .ehp-flex-hero::after,
.elementor-element-dfc5fd4
  > .elementor-element-7af3f76
  .ehp-flex-hero::after {
  content: "V";
}

/* Missio / Mission */
.elementor-element-4593ff5
  > .elementor-element-11eb83c
  .ehp-flex-hero::after,
.elementor-element-4e4ae6f
  > .elementor-element-11eb83c
  .ehp-flex-hero::after,
.elementor-element-dfc5fd4
  > .elementor-element-304b690
  .ehp-flex-hero::after {
  content: "M";
}

/* Pluginin overlay pois */
.elementor-element-4593ff5 .ehp-flex-hero__overlay,
.elementor-element-4e4ae6f .ehp-flex-hero__overlay,
.elementor-element-dfc5fd4 .ehp-flex-hero__overlay {
  display: none;
}

/* Tyhjä kuvakääre pois */
.elementor-element-4593ff5 .ehp-flex-hero__image-wrapper,
.elementor-element-4e4ae6f .ehp-flex-hero__image-wrapper,
.elementor-element-dfc5fd4 .ehp-flex-hero__image-wrapper {
  display: none;
}

/* =========================================================
   SISÄLTÖ
   ========================================================= */

.elementor-element-4593ff5 .ehp-flex-hero__content-container,
.elementor-element-4e4ae6f .ehp-flex-hero__content-container,
.elementor-element-dfc5fd4 .ehp-flex-hero__content-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows:
    18px
    62px
    auto;
  align-content: start;
  width: 100%;
  max-width: none;
  min-height: auto;
  margin: 0;
  padding: 34px 0 36px;
  text-align: center;
}

/* =========================================================
   OTSIKKO
   ========================================================= */

.elementor-element-4593ff5 .ehp-flex-hero__heading,
.elementor-element-4e4ae6f .ehp-flex-hero__heading,
.elementor-element-dfc5fd4 .ehp-flex-hero__heading {
  align-self: center;
  margin: 0;
  color: var(--visio-missio-white) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* =========================================================
   TEKSTI
   ========================================================= */

.elementor-element-4593ff5 .ehp-flex-hero__subheading,
.elementor-element-4e4ae6f .ehp-flex-hero__subheading,
.elementor-element-dfc5fd4 .ehp-flex-hero__subheading {
  align-self: start;
  width: 100%;
  max-width: 540px;
  margin: 8px auto 0;
  padding: 14px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.96) !important;
  font-family: var(--raikas-font-body) !important;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: center;
}

/* Tyhjä painikealue pois */
.elementor-element-4593ff5 .ehp-flex-hero__ctas-container:empty,
.elementor-element-4e4ae6f .ehp-flex-hero__ctas-container:empty,
.elementor-element-dfc5fd4 .ehp-flex-hero__ctas-container:empty {
  display: none;
}

/* =========================================================
   HOVER
   ========================================================= */

@media (hover: hover) and (pointer: fine) {
  .elementor-element-4593ff5 .ehp-flex-hero:hover,
  .elementor-element-4e4ae6f .ehp-flex-hero:hover,
  .elementor-element-dfc5fd4 .ehp-flex-hero:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 58px rgba(46, 91, 39, 0.22);
  }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {
  .elementor-element-4593ff5,
  .elementor-element-4e4ae6f,
  .elementor-element-dfc5fd4 {
    gap: 20px;
    padding: 45px 24px;
  }

  .elementor-element-4593ff5 .ehp-flex-hero,
  .elementor-element-4e4ae6f .ehp-flex-hero,
  .elementor-element-dfc5fd4 .ehp-flex-hero {
    min-height: 400px;
  }

  .elementor-element-4593ff5 .ehp-flex-hero__content-container,
  .elementor-element-4e4ae6f .ehp-flex-hero__content-container,
  .elementor-element-dfc5fd4 .ehp-flex-hero__content-container {
    grid-template-rows:
      18px
      58px
      auto;
    padding: 30px 0 32px;
  }

  .elementor-element-4593ff5 .ehp-flex-hero__subheading,
  .elementor-element-4e4ae6f .ehp-flex-hero__subheading,
  .elementor-element-dfc5fd4 .ehp-flex-hero__subheading {
    margin-top: 6px;
    padding-top: 12px;
    font-size: 18px;
  }
}

/* =========================================================
   MOBIILI
   ========================================================= */

@media (max-width: 767px) {
  .elementor-element-4593ff5,
  .elementor-element-4e4ae6f,
  .elementor-element-dfc5fd4 {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 36px 18px;
  }

  .elementor-element-4593ff5 .ehp-flex-hero,
  .elementor-element-4e4ae6f .ehp-flex-hero,
  .elementor-element-dfc5fd4 .ehp-flex-hero {
    min-height: 300px;
    border-radius: 18px !important;
  }

  .elementor-element-4593ff5 .ehp-flex-hero__content-container,
  .elementor-element-4e4ae6f .ehp-flex-hero__content-container,
  .elementor-element-dfc5fd4 .ehp-flex-hero__content-container {
    grid-template-rows:
      16px
      54px
      auto;
    padding: 26px 0 28px;
  }

  .elementor-element-4593ff5
    .ehp-flex-hero__content-container::before,
  .elementor-element-4e4ae6f
    .ehp-flex-hero__content-container::before,
  .elementor-element-dfc5fd4
    .ehp-flex-hero__content-container::before {
    width: 48px;
    height: 3px;
  }

  .elementor-element-4593ff5 .ehp-flex-hero__heading,
  .elementor-element-4e4ae6f .ehp-flex-hero__heading,
  .elementor-element-dfc5fd4 .ehp-flex-hero__heading {
    font-size: 38px;
  }

  .elementor-element-4593ff5 .ehp-flex-hero__subheading,
  .elementor-element-4e4ae6f .ehp-flex-hero__subheading,
  .elementor-element-dfc5fd4 .ehp-flex-hero__subheading {
    max-width: none;
    margin-top: 5px;
    padding: 11px 18px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
  }

  .elementor-element-4593ff5 .ehp-flex-hero::after,
  .elementor-element-4e4ae6f .ehp-flex-hero::after,
  .elementor-element-dfc5fd4 .ehp-flex-hero::after {
    right: 16px;
    bottom: -20px;
    font-size: 170px;
  }
}
/* =========================================================
   TIETOSUOJASELOSTE / VIRALLINEN TEKSTISISÄLTÖ
   ========================================================= */

.raikaseko-tietosuojateksti {
  max-width: 920px;
  margin: 0 auto;
  color: var(--raikas-text, #2a2a2a);
  font-size: 18px;
  line-height: 1.65;
}

/* Pääosioiden otsikot */
.raikaseko-tietosuojateksti h2 {
  margin: 38px 0 16px;
  color: var(--raikas-green, #2e5b27);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

/* Alaotsikot */
.raikaseko-tietosuojateksti h3 {
  margin: 28px 0 10px;
  color: var(--raikas-green, #2e5b27);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

/* Ensimmäinen otsikko ilman ylimääräistä yläväliä */
.raikaseko-tietosuojateksti > h2:first-child {
  margin-top: 0;
}

/* Kappaleet */
.raikaseko-tietosuojateksti p {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.65;
}

/* Listat */
.raikaseko-tietosuojateksti ul,
.raikaseko-tietosuojateksti ol {
  margin: 0 0 22px;
  padding-left: 26px;
}

.raikaseko-tietosuojateksti li {
  margin-bottom: 8px;
}

.raikaseko-tietosuojateksti li p {
  margin: 0;
}

/* Osioiden erotin */
.raikaseko-tietosuojateksti hr {
  width: 100%;
  height: 1px;
  margin: 34px 0;
  border: 0;
  background: rgba(46, 91, 39, 0.2);
}

/* Linkit */
.raikaseko-tietosuojateksti a {
  overflow-wrap: anywhere;
}

/* =========================================================
   MOBIILI
   ========================================================= */

@media (max-width: 767px) {
  .raikaseko-tietosuojateksti {
    font-size: 17px;
  }

  .raikaseko-tietosuojateksti h2 {
    margin: 32px 0 14px;
    font-size: 24px;
  }

  .raikaseko-tietosuojateksti h3 {
    margin: 24px 0 8px;
    font-size: 20px;
  }

  .raikaseko-tietosuojateksti p {
    font-size: 17px;
    line-height: 1.6;
  }

  .raikaseko-tietosuojateksti hr {
    margin: 28px 0;
  }
}
/* =========================================================
   TIETOSUOJASELOSTE / VALKOINEN TEKSTI
   ========================================================= */

.raikaseko-tietosuojateksti {
  color: #ffffff;
}

.raikaseko-tietosuojateksti h2,
.raikaseko-tietosuojateksti h3,
.raikaseko-tietosuojateksti p,
.raikaseko-tietosuojateksti li,
.raikaseko-tietosuojateksti strong,
.raikaseko-tietosuojateksti b {
  color: #ffffff;
}

.raikaseko-tietosuojateksti a {
  color: #ffffff;
  text-decoration: underline;
}

.raikaseko-tietosuojateksti a:hover,
.raikaseko-tietosuojateksti a:focus {
  color: var(--raikas-sand-light, #e8dfc1);
}

.raikaseko-tietosuojateksti hr {
  background: rgba(255, 255, 255, 0.25);
}