/* Native client feedback components. Typography and colours use the site's
   existing WordPress roles and palette; all content remains editable blocks. */
:is(.endomines-overview,.endomines-annual-report) { width:100%; }
:is(.endomines-overview,.endomines-annual-report) > * { margin-block:0; }
.endomines-overview-hero,.endomines-annual-hero { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); align-items:center; gap:6%; padding:70px max(7%,calc((100% - 1240px)/2)) 80px; overflow:hidden; }
:is(.endomines-overview-hero-copy,.endomines-annual-hero-copy) > h1 { margin:28px 0 30px; }
:is(.endomines-overview-hero-copy,.endomines-annual-hero-copy) > p { max-width:650px; }
.endomines-overview-photo,.endomines-annual-photo { margin:0; width:100%; }
.endomines-overview-photo img,.endomines-annual-photo img { width:100%; aspect-ratio:1; object-fit:cover; border-radius:50% 50% 0 50%; }
.endomines-overview-body { max-width:1120px; margin:auto; padding:70px 7% 110px; }
.endomines-overview-body > :is(h2,h3) { margin-top:50px; }
.endomines-overview-body .endomines-link-cards { margin-block:48px; }
.endomines-overview-body .endomines-link-cards .wp-block-columns { align-items:stretch; }
:is(.page-id-715,.page-id-789,.page-id-735,.page-id-4208,.page-id-725,.page-id-799,.page-id-729,.page-id-803) .endomines-overview-body .endomines-link-cards .wp-block-column { background:transparent; padding:0; }

.endomines-overview-body .endomines-link-cards :is(h2,h3) { color:var(--wp--preset--color--forest); }
.endomines-annual-section { padding:70px 7%; }
.endomines-annual-inner { max-width:850px; margin-inline:auto; }
.endomines-annual-inner > :is(p,blockquote,.wp-block-group) { margin-block:24px; }
.endomines-annual-inner > h2 { margin-top:0; }
.endomines-annual-numbers { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; max-width:1120px; margin:38px auto 0; }
.endomines-annual-number { padding:30px; color:var(--wp--preset--color--forest); border-radius:18px 18px 0 0; }
.endomines-annual-number > p { margin:0; }
.endomines-annual-number > p:first-child { font-size:clamp(40px,4.5vw,68px); margin-bottom:14px; }
.endomines-annual-section.has-forest-background-color > h2 { color:var(--wp--preset--color--paper); max-width:1120px; margin:auto; }
.endomines-org-chart { display:grid; gap:12px; margin-block:48px; }
.endomines-org-chart p { margin:0; }
.endomines-org-main { text-align:center; padding:20px; color:var(--wp--preset--color--paper); border-radius:12px 12px 0 0; }
.endomines-org-support { text-align:center; padding:14px; }
.endomines-org-committees,.endomines-org-functions { display:grid; gap:12px; }
.endomines-org-committees { grid-template-columns:repeat(3,minmax(0,1fr)); }
.endomines-org-functions { grid-template-columns:repeat(5,minmax(0,1fr)); }
.endomines-org-cell { padding:16px 12px; text-align:center; display:flex; align-items:center; justify-content:center; }
.endomines-org-cell p { font-size:16px; line-height:1.4; }
.endomines-org-assurance { padding:16px; text-align:center; width:50%; justify-self:center; }
.endomines-feedback-materials { margin-top:64px; }
.endomines-feedback-materials-inner > p { margin-block:24px; }
[data-inderes-widget="newsfeed-subscription-form"] input[type="email"] + button { display:block; margin-top:20px; }
@media(max-width:900px) {
 .endomines-org-functions { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .endomines-annual-numbers { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:781px) {
 .endomines-overview-hero,.endomines-annual-hero { grid-template-columns:minmax(0,1fr); gap:36px; padding-block:40px; }
 .endomines-overview-photo,.endomines-annual-photo { max-width:420px; margin-inline:auto; }
 .endomines-overview-body,.endomines-annual-section { padding-block:48px; }
 .endomines-org-committees { grid-template-columns:minmax(0,1fr); }
 .endomines-org-assurance { width:100%; }
}
@media(max-width:480px) { .endomines-annual-numbers { grid-template-columns:minmax(0,1fr); } }

/* Governance paragraph rhythm in both languages. */
:is(.page-id-715,.page-id-789) .endomines-overview-body > p + p { margin-top:24px; }

/* Sijoittajat: align the share chart with the financial graphs and events with the footer. */
:is(.page-id-694,.page-id-775) .endomines-investors-chart.endomines-investors-native-12 {
    padding-inline: max(7%, calc((100% - 1094px) / 2)) !important;
}
:is(.page-id-694,.page-id-775) .endomines-investors-chart > .wp-block-heading,
:is(.page-id-694,.page-id-775) .endomines-investors-chart > .endomines-investors-chart-slot {
    width: 100%;
    max-width: 1094px;
}
:is(.page-id-694,.page-id-775) .endomines-investors-calendar.endomines-investors-native-30 {
    padding-inline: max(5vw, calc((100% - 1124px) / 2)) !important;
}
