.elementor-kit-6{--e-global-color-primary:#0F1E3F;--e-global-color-secondary:#A8813B;--e-global-color-text:#3D4F70;--e-global-color-accent:#8A6A2E;--e-global-color-egbg:#FFFFFF;--e-global-color-egbgalt:#FBF7EE;--e-global-color-egbgbase:#FFFDFA;--e-global-color-egsgold:#F4E7C8;--e-global-color-egsmuted:#F4F2ED;--e-global-color-eggoldlt:#D8B368;--e-global-color-egondark:#FFFFFF;--e-global-color-egondarkm:#E3E8F2;--e-global-color-egbtntext:#FFFDF6;--e-global-color-egmuted:#8A98B2;--e-global-color-egborder:rgba(10, 29, 61, 0.07);--e-global-color-egbordergold:rgba(168, 129, 59, 0.16);--e-global-color-egoverlay:rgba(255, 255, 255, 0.06);--e-global-color-egoverlayb:rgba(255, 255, 255, 0.28);--e-global-typography-primary-font-family:"Montserrat";--e-global-typography-primary-font-size:44px;--e-global-typography-primary-font-weight:800;--e-global-typography-primary-line-height:1.12em;--e-global-typography-primary-letter-spacing:-1.5px;--e-global-typography-secondary-font-family:"Montserrat";--e-global-typography-secondary-font-size:21px;--e-global-typography-secondary-font-weight:700;--e-global-typography-secondary-line-height:1.28em;--e-global-typography-secondary-letter-spacing:-0.5px;--e-global-typography-text-font-family:"Montserrat";--e-global-typography-text-font-size:16px;--e-global-typography-text-font-weight:400;--e-global-typography-text-line-height:1.68em;--e-global-typography-text-letter-spacing:0px;--e-global-typography-accent-font-family:"Montserrat";--e-global-typography-accent-font-size:15px;--e-global-typography-accent-font-weight:700;--e-global-typography-accent-line-height:1.4em;--e-global-typography-accent-letter-spacing:0px;--e-global-typography-eghero-font-family:"Montserrat";--e-global-typography-eghero-font-size:62px;--e-global-typography-eghero-font-weight:800;--e-global-typography-eghero-line-height:1.04em;--e-global-typography-eghero-letter-spacing:-2.2px;--e-global-typography-egeyebrow-font-family:"Montserrat";--e-global-typography-egeyebrow-font-size:12.5px;--e-global-typography-egeyebrow-font-weight:700;--e-global-typography-egeyebrow-text-transform:uppercase;--e-global-typography-egeyebrow-line-height:1.4em;--e-global-typography-egeyebrow-letter-spacing:1.6px;--e-global-typography-eglead-font-family:"Montserrat";--e-global-typography-eglead-font-size:17.5px;--e-global-typography-eglead-font-weight:400;--e-global-typography-eglead-line-height:1.66em;--e-global-typography-eglead-letter-spacing:0px;--e-global-typography-egstatlg-font-family:"Montserrat";--e-global-typography-egstatlg-font-size:48px;--e-global-typography-egstatlg-font-weight:800;--e-global-typography-egstatlg-line-height:1.05em;--e-global-typography-egstatlg-letter-spacing:-2px;--e-global-typography-egstatsm-font-family:"Montserrat";--e-global-typography-egstatsm-font-size:34px;--e-global-typography-egstatsm-font-weight:800;--e-global-typography-egstatsm-line-height:1.1em;--e-global-typography-egstatsm-letter-spacing:-1.2px;--e-global-typography-egmeta-font-family:"Montserrat";--e-global-typography-egmeta-font-size:13px;--e-global-typography-egmeta-font-weight:600;--e-global-typography-egmeta-line-height:1.5em;--e-global-typography-egmeta-letter-spacing:0px;--e-global-typography-egnav-font-family:"Montserrat";--e-global-typography-egnav-font-size:14.5px;--e-global-typography-egnav-font-weight:600;--e-global-typography-egnav-line-height:1.4em;--e-global-typography-egnav-letter-spacing:0px;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-kit-6 a{color:var( --e-global-color-accent );}.elementor-kit-6 a:hover{color:var( --e-global-color-secondary );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-kit-6{--e-global-typography-primary-font-size:36px;--e-global-typography-secondary-font-size:21px;--e-global-typography-text-font-size:16px;--e-global-typography-accent-font-size:15px;--e-global-typography-eghero-font-size:48px;--e-global-typography-egeyebrow-font-size:12.5px;--e-global-typography-eglead-font-size:17px;--e-global-typography-egstatlg-font-size:42px;--e-global-typography-egstatsm-font-size:30px;--e-global-typography-egmeta-font-size:13px;--e-global-typography-egnav-font-size:14.5px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-6{--e-global-typography-primary-font-size:28px;--e-global-typography-secondary-font-size:20px;--e-global-typography-text-font-size:15px;--e-global-typography-accent-font-size:15px;--e-global-typography-eghero-font-size:34px;--e-global-typography-egeyebrow-font-size:12px;--e-global-typography-eglead-font-size:16px;--e-global-typography-egstatlg-font-size:36px;--e-global-typography-egstatsm-font-size:28px;--e-global-typography-egmeta-font-size:13px;--e-global-typography-egnav-font-size:14.5px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* ===== Emailguru: kultainen gradientti =====
   Elementorin globaalit varit eivat tue gradienttia eivatka animaatiota,
   joten kultasavy on maaritelty tassa KERRAN muuttujina.
   Vaihda kultavari vain naista kahdesta muuttujasta. */
:root {
  --eg-gold: linear-gradient(110deg,#b79f4d 0%,#d0bc75 30%,#f0df9a 40%,#fff6d8 45%,#e8c56c 50%,#d0bc75 55%,#c89a3c 65%,#d0bc75 80%,#b79f4d 100%);
  --eg-gold-deep: linear-gradient(110deg,#a3852f 0%,#b79f4d 30%,#c9a95c 40%,#d8bd72 45%,#c9a95c 50%,#b79f4d 55%,#9e7c2c 65%,#b79f4d 80%,#a3852f 100%);
  --eg-gold-shadow: 0 14px 30px rgba(168,129,59,.32);
}
@keyframes eg-shimmer { 0% { background-position:200% center; } 100% { background-position:-150% center; } }
@keyframes eg-float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-12px); } }

.eg-gold-text,
.eg-gold-text .elementor-heading-title,
.eg-gold-text .elementor-widget-container > p,
.eg-gold-text a {
  background: var(--eg-gold);
  background-size: 350% 100%;
  background-position: 200% center;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  animation: eg-shimmer 6s linear infinite;
}

.eg-gold-text-deep,
.eg-gold-text-deep .elementor-heading-title {
  background: var(--eg-gold-deep);
  background-size: 350% 100%;
  background-position: 200% center;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  animation: eg-shimmer 6s linear infinite;
}

.eg-gold-btn .elementor-button {
  background-image: var(--eg-gold);
  background-size: 200% 100%;
  animation: eg-shimmer 5s linear infinite;
  box-shadow: var(--eg-gold-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.eg-gold-btn .elementor-button:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(168,129,59,.42); }

.eg-lift { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.eg-lift:hover { transform: translateY(-4px); }

.eg-float { animation: eg-float 8s ease-in-out infinite; }

.eg-hyphens, .eg-hyphens .elementor-heading-title { overflow-wrap: break-word; }
/* Tavutus vain mobiilissa, jotta pitkat yhdyssanat eivat valu ruudun ulkopuolelle */
@media (max-width: 767px) {
  .eg-hyphens, .eg-hyphens .elementor-heading-title { -webkit-hyphens: manual; hyphens: manual; }
}

.eg-balance .elementor-heading-title { text-wrap: balance; }

@media (prefers-reduced-motion: reduce) {
  .eg-gold-text, .eg-gold-text .elementor-heading-title, .eg-gold-text-deep,
  .eg-gold-text-deep .elementor-heading-title, .eg-gold-btn .elementor-button, .eg-float {
    animation: none !important;
  }
}
/* Header: oletuksena oma tumma tausta normaalissa virtauksessa.
   Lapinakyva overlay vain sivuilla joilla on tumma hero-osio (#top). */
.elementor-location-header { position: relative; width: 100%; z-index: 99; background-color: var(--e-global-color-primary); }
body:has(#top) .elementor-location-header { position: absolute; top: 0; left: 0; background-color: transparent; }
/* Kirjautuneena WP:n adminpalkki vie ylatilan: absoluuttinen header pitaa siirtaa sen alle */
body.admin-bar:has(#top) .elementor-location-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar:has(#top) .elementor-location-header { top: 46px; }
}
.elementor-location-header .elementor-nav-menu--main .elementor-item { padding-left: 0; padding-right: 0; }
/* Mobiilivalikko: hampurilainen keskitetysti, pudotusvalikko headerin alle koko leveydelta */
.elementor-location-header .elementor-widget-nav-menu { position: static; align-items: center; }
.elementor-location-header .elementor-menu-toggle { align-self: center; }
.elementor-location-header .elementor-nav-menu--dropdown {
  position: absolute; top: 100%; left: 0; width: 100%;
  margin-top: 0 !important;
  background-color: var(--e-global-color-egbg) !important;
  border-top: 2px solid var(--e-global-color-secondary);
  box-shadow: 0 22px 44px rgba(10,29,61,.30);
  z-index: 100;
}
/* Absoluuttinen sijoittelu rikkoo Elementorin JS-korkeuslaskennan (--menu-height: 0), joten avattu tila pakotetaan tassa */
.elementor-location-header .elementor-menu-toggle.elementor-active + .elementor-nav-menu--dropdown {
  max-height: calc(100vh - 72px) !important;
  transform: scaleY(1) !important;
  overflow-y: auto;
}
.elementor-location-header .elementor-nav-menu--dropdown .elementor-item {
  justify-content: flex-start;
  padding-left: 28px; padding-right: 28px;
  padding-top: 14px; padding-bottom: 14px;
}
.elementor-location-header .elementor-nav-menu--dropdown .elementor-item { color: var(--e-global-color-primary) !important; }
.elementor-location-header .elementor-nav-menu--dropdown li:not(:last-child) { border-bottom: 1px solid var(--e-global-color-egborder); }
.elementor-location-header .elementor-nav-menu--dropdown .elementor-item:hover,
.elementor-location-header .elementor-nav-menu--dropdown .elementor-item:focus,
.elementor-location-header .elementor-nav-menu--dropdown .elementor-item.elementor-item-active {
  color: var(--e-global-color-accent) !important;
  background-color: var(--e-global-color-egbgalt) !important;
}
/* Ankkurilinkkien offset kiinteaa headeria varten */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
/* Yksittainen kultainen sana otsikon sisalla */
.eg-shine {
  background: var(--eg-gold);
  background-size: 350% 100%;
  background-position: 200% center;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: eg-shimmer 6s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .eg-shine { animation: none !important; } }

/* UKK-harmonikan kortit */
.eg-faq .elementor-accordion .elementor-accordion-item { border-radius: 20px; overflow: hidden; margin-bottom: 14px; }
.eg-faq .elementor-accordion .elementor-accordion-item:last-child { margin-bottom: 0; }
.eg-faq .elementor-accordion .elementor-tab-content { border-top: 0 !important; }
.eg-faq .elementor-accordion .elementor-tab-title.elementor-active { padding-bottom: 0 !important; }
.eg-faq .elementor-accordion .elementor-tab-content p:last-child { margin-bottom: 0; }
.eg-faq .elementor-accordion .elementor-tab-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 0 !important; }
.eg-faq .elementor-accordion .elementor-tab-title .elementor-accordion-title { order: 1; }
.eg-faq .elementor-accordion .elementor-tab-title .elementor-accordion-icon { order: 2; float: none; display: flex; align-items: center; justify-content: center; flex: 0 0 28px; width: 28px; height: 28px; margin: 0; padding: 0; border-radius: 50%; background: var(--e-global-color-primary); line-height: 1; text-align: center; }
.eg-faq .elementor-tab-title:not(.elementor-active) .elementor-accordion-icon-closed, .eg-faq .elementor-tab-title.elementor-active .elementor-accordion-icon-opened { display: flex !important; align-items: center; justify-content: center; width: 100%; height: 100%; line-height: 1; }
.eg-faq .elementor-tab-title.elementor-active .elementor-accordion-icon-closed, .eg-faq .elementor-tab-title:not(.elementor-active) .elementor-accordion-icon-opened { display: none !important; }
.eg-faq .elementor-accordion .elementor-tab-title .elementor-accordion-icon > span > svg { display: block; width: 11px !important; height: 11px !important; min-width: 11px; margin: 0; fill: var(--e-global-color-egbtntext); }
.eg-faq .elementor-accordion .elementor-accordion-icon i { font-size: 11px; line-height: 1; color: var(--e-global-color-egbtntext); }

/* Hero-napit mobiilissa: leveimman napin levyiset, ei koko ruudun levyiset */
@media (max-width: 767px) {
  .eg-btnrow { width: -moz-fit-content; width: fit-content; max-width: 100%; }
}

/* Sisaltolinkit: kultainen, ei animaatiota */
.elementor-kit-6 a:not(.elementor-button):not(.elementor-item):not(.elementor-icon) { text-decoration-color: rgba(168,129,59,.45); text-underline-offset: 2px; transition: color .15s ease; }

/* Tummalla pohjalla vaaleampi kulta, jotta kontrasti riittaa */
.elementor-location-footer .elementor-widget-text-editor a { color: var(--e-global-color-eggoldlt); }
.elementor-location-footer .elementor-widget-text-editor a:hover { color: var(--e-global-color-egsgold); }

/* ===== Artikkelipohja (Blogiartikkeli-template) ===== */
.eg-featured img { border-radius: 24px; display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; }
.eg-archive .elementor-posts .elementor-post__thumbnail img,
.eg-related .elementor-posts .elementor-post__thumbnail img { object-position: center 12% !important; }
.eg-archive .elementor-posts .elementor-post__avatar, .eg-related .elementor-posts .elementor-post__avatar { display: none !important; }
.eg-featured:not(:has(img)), .eg-featured:has(img[src*='/elementor/assets/images/placeholder']) { display: none; }

.eg-article p, .eg-article li { font-size: 17.5px; line-height: 1.78; color: var(--e-global-color-text); }
.eg-article p { margin: 0 0 22px; }
.eg-article > .elementor-widget-container > *:first-child { margin-top: 0; }
.eg-article h2 { font-size: 30px; line-height: 1.25; letter-spacing: -.01em; color: var(--e-global-color-primary); margin: 54px 0 18px; }
.eg-article h3 { font-size: 21px; line-height: 1.35; color: var(--e-global-color-primary); margin: 34px 0 12px; }
.eg-article strong { color: var(--e-global-color-primary); font-weight: 700; }
.eg-article a { text-decoration: underline; text-underline-offset: 2px; }
.eg-article .eg-lead { font-size: 20px; line-height: 1.62; color: var(--e-global-color-primary); margin-bottom: 30px; }

.eg-article ul { margin: 0 0 26px; padding-left: 0; list-style: none; }
.eg-article ul li { position: relative; padding-left: 28px; margin-bottom: 11px; }
.eg-article ul li::before { content: ''; position: absolute; left: 6px; top: .74em; width: 7px; height: 7px; border-radius: 50%; background: var(--e-global-color-secondary); }
.eg-article ol { margin: 0 0 26px; padding-left: 22px; }
.eg-article ol li { margin-bottom: 11px; padding-left: 6px; }

.eg-article .eg-quote { margin: 32px 0 34px; padding: 26px 30px; background: var(--e-global-color-egbgalt); border: 0; border-left: 3px solid var(--e-global-color-secondary); border-radius: 0 18px 18px 0; }
.eg-article .eg-quote p { font-size: 19px; line-height: 1.6; color: var(--e-global-color-primary); margin: 0; font-style: normal; }
.eg-article .eg-quote cite { display: block; margin-top: 14px; font-size: 13.5px; font-style: normal; color: var(--e-global-color-egmuted); }

.eg-article .eg-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 34px 0 40px; }
.eg-article .eg-stat { background: var(--e-global-color-egbgalt); border: 1px solid var(--e-global-color-egbordergold); border-radius: 20px; padding: 26px 20px; text-align: center; }
.eg-article .eg-stat-num { font-size: 30px; line-height: 1.12; font-weight: 700; margin: 0 0 8px; background: var(--eg-gold-deep); background-size: 350% 100%; background-position: 200% center; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: eg-shimmer 6s linear infinite; }
.eg-article .eg-stat-label { font-size: 13.5px; line-height: 1.45; color: var(--e-global-color-egmuted); margin: 0; }
@media (prefers-reduced-motion: reduce) { .eg-article .eg-stat-num { animation: none !important; } }

.eg-article .eg-cta { margin: 52px 0 0; padding: 42px 38px; border-radius: 26px; background: var(--e-global-color-primary); text-align: center; }
.eg-article .eg-cta h2 { color: var(--e-global-color-egondark); margin: 0 0 14px; font-size: 26px; }
.eg-article .eg-cta p { color: var(--e-global-color-egondarkm); margin: 0 0 26px; }
.eg-article .eg-cta .wp-block-buttons { display: flex; justify-content: center; }
.eg-article .eg-cta p.eg-cta-btn { margin: 0; line-height: 1; }
.eg-article .eg-cta .wp-block-button__link,
.eg-article .eg-cta .eg-cta-btn > a { display: inline-block; background-image: var(--eg-gold); background-size: 200% 100%; animation: eg-shimmer 5s linear infinite; box-shadow: var(--eg-gold-shadow); color: var(--e-global-color-egbtntext); border-radius: 999px; padding: 17px 30px; font-size: 15px; font-weight: 600; line-height: 1.3; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.eg-article .eg-cta .wp-block-button__link:hover,
.eg-article .eg-cta .eg-cta-btn > a:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(168,129,59,.42); color: var(--e-global-color-egbtntext); text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .eg-article .eg-cta .wp-block-button__link, .eg-article .eg-cta .eg-cta-btn > a { animation: none !important; } }

@media (max-width: 767px) {
  .eg-article p, .eg-article li { font-size: 16.5px; }
  .eg-article .eg-lead { font-size: 18px; }
  .eg-article h2 { font-size: 25px; margin: 42px 0 14px; }
  .eg-article h3 { font-size: 19px; }
  .eg-article .eg-stats { grid-template-columns: 1fr; }
  .eg-article .eg-quote { padding: 22px 22px; }
  .eg-article .eg-quote p { font-size: 17.5px; }
  .eg-article .eg-cta { padding: 32px 22px; }
  .eg-article .eg-cta h2 { font-size: 22px; }
}

/* Muut kokemukset -nostot */
.eg-related .elementor-posts .elementor-post__card { border-radius: 22px; border: 1px solid var(--e-global-color-egborder); box-shadow: 0 18px 40px rgba(10,29,61,.06); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.eg-related .elementor-posts .elementor-post__card:hover { transform: translateY(-4px); box-shadow: 0 24px 52px rgba(10,29,61,.10); }
.eg-related .elementor-posts .elementor-post__card .elementor-post__text { padding: 26px 24px 4px; }
.eg-related .elementor-posts .elementor-post__card .elementor-post__title,
.eg-related .elementor-posts .elementor-post__card .elementor-post__title a { font-size: 19px; line-height: 1.35; }
.eg-related .elementor-posts .elementor-post__card .elementor-post__excerpt p { font-size: 15px; line-height: 1.6; color: var(--e-global-color-text); }
.eg-related .elementor-posts .elementor-post__card .elementor-post__read-more { font-weight: 600; text-decoration: none; }
.eg-related:not(:has(article)) { display: none; }

/* ===== Arkistopohja (kokemuksia / artikkelit) ===== */
.eg-archive .elementor-posts-container { --grid-column-gap: 30px; --grid-row-gap: 30px; }
.eg-archive .elementor-posts .elementor-post__card { border-radius: 24px; border: 1px solid var(--e-global-color-egborder); box-shadow: 0 18px 40px rgba(10,29,61,.06); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.eg-archive .elementor-posts .elementor-post__card:hover { transform: translateY(-4px); box-shadow: 0 26px 56px rgba(10,29,61,.11); border-color: var(--e-global-color-egbordergold); }
.eg-archive .elementor-posts .elementor-post__card .elementor-post__text { padding: 30px 30px 8px; }
.eg-archive .elementor-posts .elementor-post__card .elementor-post__title,
.eg-archive .elementor-posts .elementor-post__card .elementor-post__title a { font-size: 21px; line-height: 1.32; letter-spacing: -.01em; }
.eg-archive .elementor-posts .elementor-post__card .elementor-post__title { margin: 0 0 12px; }
.eg-archive .elementor-posts .elementor-post__card .elementor-post__title a { color: var(--e-global-color-primary); text-decoration: none; }
.eg-archive .elementor-posts .elementor-post__card .elementor-post__title a:hover { color: var(--e-global-color-accent); }
.eg-archive .elementor-posts .elementor-post__card .elementor-post__excerpt p { font-size: 15.5px; line-height: 1.62; color: var(--e-global-color-text); margin: 0; }
.eg-archive .elementor-posts .elementor-post__card .elementor-post__read-more { font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--e-global-color-accent); }
.eg-archive .elementor-posts .elementor-post__card .elementor-post__read-more:hover { color: var(--e-global-color-secondary); }
.eg-archive .elementor-posts .elementor-post__card .elementor-post__meta-data { display: none; }

.eg-archive .elementor-pagination { margin-top: 48px; text-align: center; }
.eg-archive .elementor-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 14px; margin: 0 4px; border-radius: 999px; border: 1px solid var(--e-global-color-egborder); color: var(--e-global-color-primary); text-decoration: none; font-size: 14.5px; line-height: 1; transition: border-color .15s ease, color .15s ease, background-color .15s ease; }
.eg-archive .elementor-pagination .page-numbers:hover { border-color: var(--e-global-color-secondary); color: var(--e-global-color-accent); }
.eg-archive .elementor-pagination .page-numbers.current { background-color: var(--e-global-color-primary); border-color: var(--e-global-color-primary); color: var(--e-global-color-egbtntext); }

.eg-archive .elementor-posts-nothing-found { padding: 48px 24px; text-align: center; font-size: 17px; color: var(--e-global-color-egmuted); background-color: var(--e-global-color-egbgalt); border-radius: 24px; }

@media (max-width: 767px) {
  .eg-archive .elementor-posts .elementor-post__card .elementor-post__text { padding: 24px 22px 4px; }
  .eg-archive .elementor-posts .elementor-post__card .elementor-post__title,
  .eg-archive .elementor-posts .elementor-post__card .elementor-post__title a { font-size: 17.5px; }
}

/* ===== Mobiiliapuluokat ===== */
/* Pakotettu rivinvaihto vain mobiilissa (esim. heron kultainen sana omalle riville) */
.eg-br-m { display: none; }
/* Kultaista sanaa ei koskaan tavuteta */
.eg-shine, .eg-gold-text, .eg-gold-text-deep { -webkit-hyphens: manual !important; hyphens: manual !important; }
/* Napin tai otsikon sana, joka jatetaan pois mobiilissa */
@media (max-width: 767px) {
  .eg-br-m { display: inline; }
  .eg-nomob { display: none; }
}

/* ===== Napit mobiilissa yhdelle riville ===== */
@media (max-width: 767px) {
  .elementor-widget-button .elementor-button { white-space: nowrap; max-width: 100%; }
  .elementor-widget-button .elementor-button { padding-left: 24px !important; padding-right: 24px !important; }
}

/* Ei automaattista tavutusta otsikoissa — rumat katkot pois, &shy; toimii yha */
@media (max-width: 767px) {
  h1, h2, h3, .elementor-heading-title { -webkit-hyphens: manual; hyphens: manual; overflow-wrap: break-word; text-wrap: balance; }
}

/* Artikkelin otsikkokoko: pitkat otsikot eivat saa tayttaa koko ruutua */
.elementor-widget-theme-post-title .elementor-heading-title { font-size: 46px; line-height: 1.14; }
@media (max-width: 1024px) {
  .elementor-widget-theme-post-title .elementor-heading-title { font-size: 34px; line-height: 1.16; }
}
@media (max-width: 767px) {
  .elementor-widget-theme-post-title .elementor-heading-title { font-size: 26px; line-height: 1.2; }
}

/* ===== Kokemuskortit (Posts-widget, sama ilme kuin etusivun kasin tehdyt kortit) ===== */
.eg-cards .elementor-posts .elementor-post__card { background-color: var(--e-global-color-egbg); border: 1px solid var(--e-global-color-egborder); border-radius: 22px; overflow: hidden; box-shadow: none; transition: transform .2s ease, box-shadow .2s ease; }
.eg-cards .elementor-posts .elementor-post__card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -34px rgba(10,29,61,.34); }
.eg-cards .elementor-posts .elementor-post__thumbnail { padding-bottom: 0 !important; height: 220px !important; }
.eg-cards .elementor-posts .elementor-post__thumbnail img { width: 100%; height: 100%; object-fit: cover; object-position: center 12% !important; }
.eg-cards .elementor-posts .elementor-post__badge { position: static !important; top: auto; right: auto; bottom: auto; left: auto; align-self: flex-start; background-color: transparent !important; margin: 0 !important; padding: 26px 26px 0 !important; border-radius: 0 !important; font-family: "Montserrat", sans-serif; font-size: 11.5px !important; font-weight: 700; letter-spacing: 1.2px; line-height: 1.3; text-transform: uppercase; color: var(--e-global-color-secondary) !important; }
.eg-cards .elementor-posts .elementor-post__text { padding: 10px 26px 30px !important; margin: 0; }
.eg-cards .elementor-posts .elementor-post__title,
.eg-cards .elementor-posts .elementor-post__title a { font-size: 21px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; color: var(--e-global-color-primary); text-decoration: none; }
.eg-cards .elementor-posts .elementor-post__title { margin: 0 0 14px; }
.eg-cards .elementor-posts .elementor-post__title a:hover { color: var(--e-global-color-accent); }
.eg-cards .elementor-posts .elementor-post__excerpt { display: none; }
.eg-cards .elementor-posts .elementor-post__read-more { display: inline-block; margin: 0; font-family: "Montserrat", sans-serif; font-size: 14px; font-weight: 700; color: var(--e-global-color-secondary); text-decoration: none; }
.eg-cards .elementor-posts .elementor-post__read-more:hover { color: var(--e-global-color-accent); }
.eg-cards .elementor-posts .elementor-post__meta-data,
.eg-cards .elementor-posts .elementor-post__avatar { display: none !important; }
@media (max-width: 767px) {
  .eg-cards .elementor-posts .elementor-post__thumbnail { height: 200px !important; }
  .eg-cards .elementor-posts .elementor-post__badge { padding: 22px 22px 0 !important; }
  .eg-cards .elementor-posts .elementor-post__text { padding: 8px 22px 26px !important; }
  .eg-cards .elementor-posts .elementor-post__title,
  .eg-cards .elementor-posts .elementor-post__title a { font-size: 17.5px; }
  .eg-cards .elementor-posts .elementor-post__text { padding-left: 20px !important; padding-right: 20px !important; }
  .eg-cards .elementor-posts .elementor-post__badge { padding-left: 20px !important; padding-right: 20px !important; }
}


/* Asiakaslogot: kapeampi ruudukko = pienemmat logot ja tiiviimmat valit */
.elementor-element.eg-logos { max-width: 920px; margin-left: auto; margin-right: auto; }
@media (max-width: 1024px) { .elementor-element.eg-logos { max-width: 660px; } }
@media (max-width: 767px) { .elementor-element.eg-logos { max-width: 420px; } }


/* eg-natiivisivun-otsikko: natiivien (ei-Elementor) sivujen H1 mobiilissa */
.page-header .entry-title { line-height: 1.18; }
@media (max-width: 767px) {
  .page-header .entry-title { font-size: 28px; }
}
@media (max-width: 420px) {
  .page-header .entry-title { font-size: 26px; }
}


/* eg-korttiotsikot: nostokorttien otsikot rivittyvat normaalisti (ei balance-tasapainotusta,
   joka teki artikkelinostoista kapeampia kuin arkistosivulla) */
.elementor-post__title, .elementor-post__title a { text-wrap: wrap !important; text-wrap-style: auto !important; -webkit-hyphens: none !important; hyphens: none !important; }
@media (max-width: 767px) {
  .elementor-post__title, .elementor-post__title a { text-wrap: wrap !important; text-wrap-style: auto !important; -webkit-hyphens: none !important; hyphens: none !important; }
}/* End custom CSS */