/* EasyVuokraus v2 content pages, footer and mobile navigation. */
.ev-mobile-nav { display: none; position: relative; }
.ev-mobile-nav summary { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; cursor: pointer; list-style: none; }
.ev-mobile-nav summary::-webkit-details-marker { display: none; }
.ev-mobile-nav summary svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.ev-mobile-nav__panel { position: absolute; top: 50px; right: 0; display: grid; width: min(300px, calc(100vw - 32px)); padding: 10px; border: 1px solid var(--ev-border); border-radius: 16px; background: #fff; box-shadow: var(--ev-shadow); }
.ev-mobile-nav__panel a { padding: 12px 13px; border-radius: 10px; font-weight: 780; }
.ev-mobile-nav__panel a:hover { background: #f4f6f7; }
.ev-site-footer { margin-top: 72px; padding: 56px 0 24px; border-top: 1px solid var(--ev-border); background: #10171e; color: #fff; }
.ev-site-footer__grid { display: grid; grid-template-columns: 1.4fr .7fr .9fr; gap: 56px; }
.ev-site-footer__brand strong { font-size: 1.35rem; }
.ev-site-footer__brand p { max-width: 460px; margin: 14px 0 0; color: rgba(255,255,255,.66); line-height: 1.65; }
.ev-site-footer__nav { display: grid; align-content: start; gap: 10px; }
.ev-site-footer__nav strong { margin-bottom: 6px; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.ev-site-footer__nav a { color: rgba(255,255,255,.88); font-weight: 720; }
.ev-site-footer__nav a:hover { color: #fff; }
.ev-site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: .8rem; }
.ev-content-page { min-height: 60vh; }
.ev-content-hero { padding: 72px 0 46px; background: linear-gradient(180deg,#fff 0%,#f5f6f7 100%); border-bottom: 1px solid var(--ev-border); }
.ev-content-hero__inner { max-width: 1080px; }
.ev-content-back { display: inline-flex; margin-bottom: 28px; color: var(--ev-muted); font-weight: 760; }
.ev-content-hero h1 { max-width: 980px; margin: 0; font-size: clamp(3rem,6vw,6.2rem); line-height: .94; letter-spacing: -.055em; }
.ev-content-hero__lead { max-width: 820px; margin: 24px 0 0; color: var(--ev-muted); font-size: clamp(1.05rem,1.6vw,1.25rem); line-height: 1.7; }
.ev-content-body { padding: 54px 0 24px; }
.ev-content-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 34px; align-items: start; }
.ev-content-card { padding: clamp(24px,4vw,52px); border: 1px solid var(--ev-border); border-radius: 24px; background: #fff; box-shadow: var(--ev-shadow-soft); }
.ev-content-aside { position: sticky; top: 104px; }
.ev-content-aside__card { padding: 24px; border: 1px solid var(--ev-border); border-radius: 20px; background: #fff; box-shadow: var(--ev-shadow-soft); }
.ev-content-aside__card h2 { margin: 0 0 12px; font-size: 1.6rem; letter-spacing: -.035em; }
.ev-content-aside__card p:not(.ev-kicker) { margin: 0 0 18px; color: var(--ev-muted); line-height: 1.6; }
.ev-content-aside__card .ev-secondary-button { margin-top: 9px; width: 100%; }
.ev-prose { color: #26313a; font-size: 1rem; line-height: 1.75; }
.ev-prose > :first-child { margin-top: 0; }
.ev-prose > :last-child { margin-bottom: 0; }
.ev-prose h2, .ev-prose h3 { color: var(--ev-text); letter-spacing: -.03em; line-height: 1.15; }
.ev-prose h2 { margin: 2.2em 0 .7em; font-size: clamp(1.8rem,3vw,2.7rem); }
.ev-prose h3 { margin: 1.8em 0 .6em; font-size: 1.35rem; }
.ev-prose p { margin: 0 0 1.25em; }
.ev-prose ul, .ev-prose ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.ev-prose a { color: var(--ev-accent); text-decoration: underline; text-underline-offset: 3px; }
.ev-prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.ev-prose th, .ev-prose td { padding: 10px 12px; border: 1px solid var(--ev-border); text-align: left; }
.ev-prose img { border-radius: 14px; }
.ev-contact-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 18px; }
.ev-contact-card { padding: clamp(24px,3vw,38px); border: 1px solid var(--ev-border); border-radius: 22px; background: #fff; box-shadow: var(--ev-shadow-soft); }
.ev-contact-card--primary { background: var(--ev-dark); color: #fff; }
.ev-contact-card--primary .ev-kicker { color: #ff6b76; }
.ev-contact-card h2 { margin: 0 0 16px; font-size: clamp(1.7rem,3vw,2.6rem); line-height: 1.05; letter-spacing: -.04em; }
.ev-contact-card p:not(.ev-kicker) { margin: 0 0 22px; color: var(--ev-muted); line-height: 1.65; }
.ev-contact-card--primary p:not(.ev-kicker) { color: rgba(255,255,255,.7); }
.ev-contact-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.ev-contact-card--primary .ev-secondary-button { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; }
.ev-about-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 34px; align-items: start; }
@media (max-width: 1000px) {
  .ev-contact-grid { grid-template-columns: 1fr 1fr; }
  .ev-contact-card--primary { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .ev-content-layout, .ev-about-layout { grid-template-columns: 1fr; }
  .ev-content-aside { position: static; }
  .ev-site-footer__grid { grid-template-columns: 1fr 1fr; }
  .ev-site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .ev-mobile-nav { display: block; }
  .ev-content-hero { padding-top: 48px; }
}
@media (max-width: 620px) {
  .ev-contact-grid { grid-template-columns: 1fr; }
  .ev-contact-card--primary { grid-column: auto; }
  .ev-contact-actions { align-items: stretch; flex-direction: column; }
  .ev-contact-actions a { width: 100%; }
}
@media (max-width: 560px) {
  .ev-site-footer { margin-top: 48px; padding-top: 42px; }
  .ev-site-footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .ev-site-footer__brand { grid-column: auto; }
  .ev-site-footer__bottom { align-items: flex-start; flex-direction: column; }
  .ev-content-hero h1 { font-size: clamp(2.7rem,15vw,4.4rem); }
  .ev-content-body { padding-top: 28px; }
  .ev-content-card { padding: 22px 18px; border-radius: 18px; }
}
