/* nesteelo.com: styles only this page needs. The shared design (tokens, buttons, hero, cards, footer) comes
   from stays/base.css, which is copied from the Nesteelo Properties site. */

.portal-header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.portal-bar { display: flex; align-items: center; gap: 16px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.portal-brand { display: inline-flex; align-items: center; min-height: 44px; }
.portal-brand img { width: auto; height: 44px; }
@media (max-width: 380px) { .portal-brand img { height: 38px; } }
@media (min-width: 900px) { .portal-brand img { height: 52px; } }
.portal-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-left: auto; }
.portal-nav a { color: var(--slate); font-weight: 600; text-decoration: none; padding: 10px 0; }
.portal-nav a:hover { text-decoration: underline; }
.portal-lang { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.portal-lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 40px; padding: 0 10px; background: var(--white); color: var(--slate); font-weight: 600; font-size: .875rem; text-decoration: none; }
.portal-lang a[aria-current="true"] { background: var(--slate); color: var(--white); }
@media (max-width: 640px) { .portal-nav { order: 3; width: 100%; margin-left: 0; } .portal-lang { margin-left: auto; } }

.portal-hero { padding: 96px 0 104px; }
.hero-simple > * { max-width: 760px; }
.prose > :first-child { margin-top: 0; }

.portal-split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .portal-split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; } }
.portal-purpose { padding: 28px; background: var(--slate-050); }
.portal-purpose h2 { font-size: 1.375rem; }
.band { background: var(--sand-050); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.portal-companies { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.portal-company { display: flex; flex-direction: column; }
.portal-media { position: relative; aspect-ratio: 16 / 9; background: var(--sand); overflow: hidden; }
.portal-media img, .portal-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.portal-media-empty { display: grid; place-items: center; height: 100%; padding: 16px; text-align: center; color: var(--muted); font-size: .9375rem; background: repeating-linear-gradient(135deg, #E6DED3 0 18px, #EDE6DD 18px 36px); }
.portal-media .portal-company-logo { position: absolute; left: 16px; bottom: 16px; width: auto; height: 56px; object-fit: contain; background: rgba(255, 255, 255, .92); padding: 6px 10px; border-radius: var(--radius-sm); }
.portal-company .card-title { font-size: 1.375rem; }
.portal-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 12px; }
.portal-social .social-link { color: var(--slate); border-color: var(--line); }

.portal-footer { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); padding-top: 48px; padding-bottom: 24px; }
.portal-footer h2 { font-size: 1rem; color: var(--white); }
.portal-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.portal-footer-logo { display: block; width: 220px; height: auto; margin-bottom: 12px; }
/* Cookie policy page */
.portal-policy { max-width: 860px; }
.portal-policy h1 { margin-bottom: 4px; }
