/* Native Gutenberg wrappers and editor presentation for the V3 design. */
:root,.editor-styles-wrapper{--ink:var(--wp--preset--color--ink,#30383b);--brand:var(--wp--preset--color--brand,#005f72);--paper:var(--wp--preset--color--white,#fff);--cream:var(--wp--preset--color--cream,#f4f3ef);--muted:var(--wp--preset--color--muted,#5c6569);--soft:var(--wp--preset--color--soft,#edf2f3);--accent:var(--wp--preset--color--accent,#00919e);--heading:var(--wp--preset--font-family--heading);--body:var(--wp--preset--font-family--body)}
.wp-site-blocks{padding:0}.wp-site-blocks>*,.wp-block-post-content>*{margin-block-start:0;margin-block-end:0}.wp-block-group,.wp-block-image,.wp-block-buttons{min-width:0}.wp-block-post-content>.article-body{margin-block:65px 90px}.wp-block-image img{vertical-align:middle}.wp-block-image figcaption{margin-bottom:0}.wp-block-group>.wp-block-image.container{margin-inline:auto}.wp-block-group>p.rm-linkline{margin:0}.wp-block-group>p.rm-address{font-style:normal}.wp-block-group:not(.hero-copy)>p:first-child{margin-block-start:0}.wp-block-post-content>.wp-block-group.container,.wp-block-post-content>.wp-block-image.container{margin-inline:auto}
.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:20px;border:1px solid var(--brand);padding:15px 23px;min-height:54px;line-height:1.6;text-decoration:none;transition:background .2s,transform .2s}
.wp-block-button__link:hover{color:#fff;background:var(--deep);transform:translateY(-2px)}
.button-outline .wp-block-button__link{background:transparent;color:var(--brand)}.button-outline .wp-block-button__link:hover{background:var(--brand);color:#fff}.button-light .wp-block-button__link{background:#fff;color:var(--brand);border-color:#fff}.button-light .wp-block-button__link:hover{background:var(--accent-soft);color:var(--brand)}
.hero-copy .wp-block-button__link{font-size:12px;padding:14px 18px}.hero-copy .actions{margin-top:0}.hero-visual>.wp-block-image{position:absolute;inset:0;margin:0}.hero-visual .wp-block-image img{width:100%;height:100%;object-fit:cover}.hero-visual .heritage-seal{margin:0}.hero-caption{margin:0;max-width:none}.heritage-seal .seal-small{font-size:10px;line-height:1.8;letter-spacing:.13em;text-transform:uppercase;margin:0}.heritage-seal .seal-year{font:400 35px/1.25 var(--heading);margin:0}.hero-footnote p{margin:0}
.trust-strip p{margin:0}.heritage-preview>.wp-block-image img{width:100%;height:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}.split-copy>.wp-block-buttons{margin-top:28px}.page-intro .wp-block-buttons{margin-top:28px}.person>.wp-block-image{height:100%;margin:0}.person>.wp-block-image img{height:100%;width:100%;object-fit:cover}.person>.wp-block-group{padding:30px 23px}.person .rm-linkline{margin:0}.intro-photo img,.landscape-photo img{width:100%;height:100%;object-fit:cover;object-position:32% center;border-radius:8px}.intro-photo,.landscape-photo{overflow:hidden}.split>.wp-block-image{margin:0}.footer-brand>.wp-block-image{flex:none}.footer-brand>.wp-block-image img{width:100%}.footer-main .rm-address{font-size:13px;line-height:1.9;margin-bottom:14px}.footer-bottom p{margin:0;font-size:10px}.topline p{margin:0;font-size:11px}.breadcrumb{display:block}.breadcrumb span{margin-inline:10px}.breadcrumb a{display:inline-block}.section-nav .rm-linkline{margin:0}
.rm-header-wrap{position:sticky;top:-36px;z-index:30;background:#fff}.admin-bar .rm-header-wrap{top:-4px}.site-header{position:static}.header-inner{position:relative}.wp-block-site-logo{flex-shrink:0}.wp-block-site-logo img{width:243px;max-width:100%;height:auto}.rm-nav{font-size:14px;font-weight:600}.rm-nav .wp-block-navigation__container{gap:29px}.rm-nav .wp-block-navigation-item__content{position:relative;display:flex;align-items:center;min-height:50px;color:var(--ink);text-decoration:none;white-space:nowrap}.rm-nav .wp-block-navigation-item__content:after{content:'';position:absolute;bottom:6px;left:0;right:100%;height:2px;background:var(--accent);transition:right .2s}.rm-nav .wp-block-navigation-item__content:hover:after,.rm-nav .current-menu-item>.wp-block-navigation-item__content:after,.rm-nav .current-menu-ancestor>.wp-block-navigation-item__content:after{right:0}.rm-nav .wp-block-navigation-item:last-child>.wp-block-navigation-item__content{padding-inline:20px;border:1px solid var(--brand);border-radius:6px;color:var(--brand)}.rm-nav .wp-block-navigation-item:last-child>.wp-block-navigation-item__content:after{left:20px}.rm-nav .wp-block-navigation-item:last-child.current-menu-item>.wp-block-navigation-item__content:after{right:20px}
.wp-block-navigation__responsive-container-open,.wp-block-navigation__responsive-container-close{min-width:48px;min-height:48px;align-items:center;justify-content:center}.wp-block-navigation__responsive-container-open:before{content:'Valikko';font-size:13px;margin-right:8px}.wp-block-navigation__responsive-container-close:before{content:'Sulje';font-size:13px;margin-right:8px}.rm-nav .wp-block-navigation__responsive-container.is-menu-open{padding:24px;background:var(--paper);color:var(--ink)}.rm-nav .is-menu-open .wp-block-navigation__responsive-container-content{padding-top:80px;align-items:stretch}.rm-nav .is-menu-open .wp-block-navigation__container{align-items:stretch;gap:8px;width:100%}.rm-nav .is-menu-open .wp-block-navigation-item{width:100%;align-items:stretch}.rm-nav .is-menu-open .wp-block-navigation-item__content{min-height:56px;font-size:20px;padding:8px 0;border-bottom:1px solid var(--line)}
.wp-block-post-template{list-style:none;padding:0}.wp-block-post-template>li{margin:0}.wp-block-post-template>li:nth-child(even) .farm-feature{grid-template-columns:1fr 1.35fr}.wp-block-post-template>li:nth-child(even) .farm-photo{order:2}.farm-feature .wp-block-post-excerpt p{margin:0}.farm-feature .wp-block-read-more{display:inline-flex;margin-top:24px}.farm-feature .wp-block-post-featured-image{margin:0}.farm-feature .wp-block-post-featured-image img{aspect-ratio:1.4;object-fit:cover}.farm-feature .wp-block-post-excerpt{margin-top:24px}.wp-block-query-pagination{margin-top:32px}.article-hero .wp-block-post-featured-image img{max-height:650px;object-fit:cover}.timeline .year{margin:0}.timeline .timeline-item{margin:0}
.rm-gallery.wp-block-gallery.has-nested-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-inline:auto;padding-bottom:30px}.rm-gallery.wp-block-gallery.has-nested-images figure.wp-block-image{width:100%;margin:0;display:block;border-radius:8px;overflow:hidden}.rm-gallery.wp-block-gallery.has-nested-images figure.wide{grid-column:span 2}.rm-gallery.wp-block-gallery.has-nested-images figure.wp-block-image img{width:100%;height:320px;object-fit:cover;object-position:center}.rm-gallery.wp-block-gallery.has-nested-images figure.wp-block-image figcaption{position:static;box-sizing:border-box;max-height:none;background:var(--ink);color:#fff;padding:12px 16px;text-align:left;font-size:13px;margin:0}.rm-gallery a{display:block}.rm-gallery a:focus-visible{outline-offset:-5px;outline-color:#fff}
.icon-disc:before,.rm-inline-icon:before{content:'';display:inline-block;flex:none;width:24px;height:24px;background:currentColor;mask:var(--rm-icon) center/contain no-repeat}.rm-inline-icon{display:flex;align-items:center;gap:14px}.address-block>.wp-block-group>p{margin:0}.address-block:before{content:'⌖';font-size:28px;color:var(--brand)}
.editor-styles-wrapper .rm-header-wrap,.editor-styles-wrapper .timeline-heading{position:static}.editor-styles-wrapper .wp-block-post-content{width:100%}.editor-styles-wrapper .block-editor-block-list__layout>section.container{margin-inline:auto}.editor-styles-wrapper .hero-visual .wp-block-image{height:100%}.editor-styles-wrapper .icon-disc{min-height:50px}.editor-styles-wrapper .has-child-selected{overflow:visible}
@media(min-width:941px){.rm-nav .wp-block-navigation__responsive-container-open:not(.always-shown){display:none}.rm-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){display:block}}
@media(max-width:940px){.rm-nav .wp-block-navigation__responsive-container-open:not(.always-shown){display:flex}.rm-nav .wp-block-navigation__responsive-container:not(.is-menu-open){display:none}.header-inner{flex-wrap:nowrap}.heritage-preview>.wp-block-image{display:none}.topline p{font-size:10px}.person>.wp-block-group{padding:25px 20px}}
@media(max-width:680px){.rm-header-wrap{top:-33px}.admin-bar .rm-header-wrap{top:13px}.topline p:first-child{font-size:9px;letter-spacing:0}.topline .prototype-label{display:none}.wp-block-site-logo img{width:192px}.hero-visual>.wp-block-image{height:315px}.hero-copy .wp-block-button__link{font-size:12px;padding:13px 17px}.heritage-preview>.wp-block-image{display:block}.heritage-preview>.wp-block-image img{aspect-ratio:1.75}.footer-bottom p:nth-child(2){order:3;width:100%}.wp-block-post-template>li:nth-child(even) .farm-photo{order:0}.rm-gallery.wp-block-gallery.has-nested-images{grid-template-columns:1fr;gap:20px}.rm-gallery.wp-block-gallery.has-nested-images figure.wide{grid-column:auto}.rm-gallery.wp-block-gallery.has-nested-images figure.wp-block-image img{height:280px}.wp-block-post-content>.article-body{margin-block:40px 55px}.contact-band .wp-block-button__link{font-size:12px}.wp-block-navigation__responsive-container-open:before{font-size:12px;margin-right:6px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.rm-icon-arrow{--rm-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2012h15m-6-6%206%206-6%206%22%2F%3E%3C%2Fsvg%3E")}
.rm-icon-phone{--rm-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%203H4a1%201%200%200%200-1%201c0%209.4%207.6%2017%2017%2017a1%201%200%200%200%201-1v-4l-5-2-2%202a14%2014%200%200%201-6-6l2-2-2-5Z%22%2F%3E%3C%2Fsvg%3E")}
.rm-icon-mail{--rm-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22m3%206%209%207%209-7%22%2F%3E%3C%2Fsvg%3E")}
.rm-icon-pin{--rm-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M19%2010c0%205-7%2011-7%2011S5%2015%205%2010a7%207%200%200%201%2014%200Z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222%22%2F%3E%3C%2Fsvg%3E")}
.rm-icon-leaf{--rm-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%203C8%202%202%209%206%2016s17%201%2014-13Z%22%2F%3E%3Cpath%20d%3D%22M4%2021%2016%209%22%2F%3E%3C%2Fsvg%3E")}
.rm-icon-tank{--rm-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%206c0-4%2012-4%2012%200v12c0%204-12%204-12%200V6Z%22%2F%3E%3Cpath%20d%3D%22M6%206c0%204%2012%204%2012%200M8%2021v2m8-2v2%22%2F%3E%3C%2Fsvg%3E")}
.rm-icon-chat{--rm-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%2011a9%209%200%200%201-9%209%2010%2010%200%200%201-4-1l-5%202%201-5a9%209%200%201%201%2017-5Z%22%2F%3E%3Cpath%20d%3D%22M8%209h8m-8%204h5%22%2F%3E%3C%2Fsvg%3E")}
.rm-icon-barn{--rm-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m2%2010%2010-8%2010%208M4%209v12h16V9M9%2021v-8h6v8m-6-8%206%208m0-8-6%208%22%2F%3E%3C%2Fsvg%3E")}
.rm-icon-close{--rm-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m6%206%2012%2012M6%2018%2018%206%22%2F%3E%3C%2Fsvg%3E")}
.rm-icon-zoom{--rm-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%209V3h6m6%200h6v6M3%2015v6h6m12-6v6h-6%22%2F%3E%3C%2Fsvg%3E")}

/* Preserve visual spacing that belongs to individual block patterns. */
.hero-copy>.hero-footnote{margin-top:42px}.heritage-preview p.heritage-year{font:400 72px/1.1 var(--heading);color:var(--brand);letter-spacing:-.06em}.wp-block-button__link{border-radius:6px}.footer-brand>.wp-block-image{mix-blend-mode:multiply}.person>.wp-block-group .rm-linkline{margin-block:0}.person .contact-link:before{content:'';display:block;flex:none;width:17px;height:17px;background:currentColor;mask:var(--rm-icon) center/contain no-repeat}.person .contact-link[href^="tel:"]{--rm-icon:var(--rm-phone)}.person .contact-link[href^="mailto:"]{--rm-icon:var(--rm-mail)}
@media(max-width:940px){.hero-copy>.hero-footnote{margin-top:26px}}
@media(max-width:680px){.person>.wp-block-image{height:300px}.person>.wp-block-image img{min-height:0;object-position:center 25%}.heritage-preview p.heritage-year{font-size:73px}.compact-cta>.wp-block-buttons{margin-top:25px}}
:root,.editor-styles-wrapper{--rm-phone:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%203H4a1%201%200%200%200-1%201c0%209.4%207.6%2017%2017%2017a1%201%200%200%200%201-1v-4l-5-2-2%202a14%2014%200%200%201-6-6l2-2-2-5Z%22%2F%3E%3C%2Fsvg%3E")}
:root,.editor-styles-wrapper{--rm-mail:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22m3%206%209%207%209-7%22%2F%3E%3C%2Fsvg%3E")}
.header-inner>.wp-block-site-logo+.wp-block-site-title{display:none}.rm-gallery-fallback{padding-block:25px}
.wp-lightbox-overlay .wp-lightbox-navigation-button,.wp-lightbox-overlay .wp-lightbox-close-button{min-width:48px;min-height:48px;border-radius:6px}
@media print{.rm-header-wrap{position:static}.rm-nav,.wp-lightbox-overlay{display:none!important}}
/* Editor-only rules counter editor selection wrappers without changing saved markup. */
.editor-styles-wrapper .is-root-container>.home-hero,.editor-styles-wrapper .is-root-container>.trust-strip,.editor-styles-wrapper .is-root-container>.story-band,.editor-styles-wrapper .is-root-container>.contact-band,.editor-styles-wrapper .is-root-container>.service-tint,.editor-styles-wrapper .is-root-container>.location-section,.editor-styles-wrapper .is-root-container>.farm-article{max-width:none;width:100%;margin-inline:0}
.editor-styles-wrapper .is-root-container>.container{max-width:1240px;width:calc(100% - 64px);margin-inline:auto}.editor-styles-wrapper .is-root-container>.intro-centered{max-width:940px}
.editor-styles-wrapper .hero-visual{min-height:550px}.editor-styles-wrapper .hero-visual>.wp-block-image{position:absolute;inset:0;max-width:100%;width:100%;height:100%;margin:0}.editor-styles-wrapper .hero-visual .components-resizable-box__container{width:100%!important;height:100%!important}.editor-styles-wrapper .hero-visual .heritage-seal{position:absolute;left:auto;top:28px;right:28px;max-width:120px}.editor-styles-wrapper .hero-visual .hero-caption{position:absolute;left:30px;bottom:30px;margin:0;max-width:calc(100% - 60px)}
@media(max-width:680px){.editor-styles-wrapper .hero-visual{min-height:315px}.editor-styles-wrapper .is-root-container>.container{width:calc(100% - 40px)}}
.editor-styles-wrapper .hero-visual>.wp-block-image img{height:100%!important;max-height:none;width:100%!important;max-width:none;object-fit:cover;inset:0}

/* Farm stories use native horizontal scrolling, with no autoplay or duplicate slides. */
.rm-home-stories .rm-story-roll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 28px) / 2);
  gap: 28px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 5px;
  scrollbar-width: thin;
  scrollbar-color: var(--brand) var(--line);
  margin: 0;
  padding: 6px 5px 20px;
  list-style: none;
}
.rm-home-stories .rm-story-roll > li {
  min-width: 0;
  scroll-snap-align: start;
}
.rm-story-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.rm-home-stories .rm-story-photo { margin: 0; }
.rm-home-stories .rm-story-photo img {
  width: 100%;
  aspect-ratio: 1.7;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
}
.rm-story-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
}
.rm-story-copy .wp-block-post-title { font-size: 30px; }
.rm-story-copy .wp-block-post-title a { text-decoration: none; }
.rm-story-copy .wp-block-post-title a:hover { text-decoration: underline; }
.rm-story-copy .wp-block-post-excerpt {
  margin-block: 18px 24px;
  color: var(--muted);
  font-size: 16px;
}
.rm-story-copy .wp-block-post-excerpt p { margin: 0; }
.rm-story-copy .wp-block-read-more { margin-top: auto; }
.rm-story-card a:focus-visible { outline-offset: -3px; }
.rm-home-stories .rm-story-all { margin-top: 24px; }
.heritage-preview .rm-history-action { margin-top: 24px; }
@media (max-width: 680px) {
  .home-hero > .hero-visual { order: -1; }
  .rm-home-stories .rm-story-roll {
    grid-auto-columns: 88%;
    gap: 18px;
  }
  .rm-story-copy { padding: 23px; }
  .rm-story-copy .wp-block-post-title { font-size: 26px; }
  .rm-story-copy .wp-block-post-excerpt { font-size: 15px; }
}
