/* Digitale postkort på nettsiden (27.11.2026): kortbunken, kortet med hilsenen i håndskrift og sendingen */
@font-face { font-family: "LL Hand"; src: url(/app/fonts/hand.woff) format("woff"); font-display: swap; }
.pw-teller { margin: 0 0 18px; padding: 12px 16px; background: var(--moss, #EEF4EF); border: 1px solid var(--line, #DCE5DF); border-radius: 12px; font-size: 16px; }
.pw-teller a { color: var(--laga-m, #256F31); font-weight: 700; }
.pw-gruppe { margin: 26px 0 0; }
.pw-gruppe h2 { margin: 0 0 12px; }
.pw-rutenett { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.pw-velg { display: flex; flex-direction: column; gap: 6px; padding: 0; border: 0; background: none; text-align: left; font: inherit; color: var(--ink, #1D2B26); cursor: pointer; }
.pw-velg .pw-mini { display: block; aspect-ratio: 1056 / 491; overflow: hidden; background: #FBF7EE; border: 1px solid #E2D8C3; border-radius: 3px; box-shadow: 0 6px 16px rgb(29 43 38 / .14); transition: transform .15s; }
.pw-velg:hover .pw-mini, .pw-velg:focus-visible .pw-mini { transform: translateY(-2px) rotate(-.6deg); }
.pw-velg img { display: block; width: 113.64%; max-width: none; height: auto; margin: -6.53% 0 0 -6.82%; mix-blend-mode: multiply; }
.pw-velg span:last-child { font-weight: 700; font-size: 15px; }
html.pw-apen { overflow: hidden; }
.pw-lag { position: fixed; inset: 0; z-index: 60; background: rgb(29 43 38 / .55); overflow-y: auto; padding: 16px 10px 40px; }
.pw-innhold { max-width: 760px; margin: 0 auto; background: var(--paper, #F7F5EF); border-radius: 18px; padding: 14px 14px 20px; box-shadow: 0 20px 50px rgb(0 0 0 / .3); }
.pw-topp { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.pw-topp b { font-size: 18px; }
.pw-lukk { font: inherit; font-weight: 700; border: 1px solid var(--ink, #1D2B26); background: transparent; border-radius: 999px; padding: 6px 14px; min-height: 40px; cursor: pointer; }
.pw-kort { position: relative; container-type: inline-size; aspect-ratio: 1056 / 491; overflow: hidden; background: #FBF7EE; border: 1px solid #E2D8C3; border-radius: 3px; transform: rotate(-1deg); box-shadow: 0 12px 28px rgb(29 43 38 / .22); margin: 6px 4px 18px; }
.pw-kort .pw-bilde { display: block; width: 113.64%; max-width: none; height: auto; margin: -6.53% 0 0 -6.82%; mix-blend-mode: multiply; }
.pw-kort .pw-fm { position: absolute; left: 82.6%; top: 1.2%; width: 15.4%; transform: rotate(4deg); filter: drop-shadow(0 1px 2px rgb(0 0 0 / .18)); }
.pw-skrift { position: absolute; left: 58%; top: 41.5%; width: 40%; max-height: 44%; overflow: hidden; font: 5.2cqw/5.87cqw "LL Hand", cursive; color: #1D2B26; overflow-wrap: anywhere; transform: rotate(-1deg); pointer-events: none; }
.pw-skrift.m { font-size: 4.3cqw; line-height: 5.1cqw; } .pw-skrift.l { font-size: 3.6cqw; line-height: 4.4cqw; }
.pw-skrift.xl { font-size: 3.05cqw; line-height: 3.7cqw; } .pw-skrift.xxl { font-size: 2.4cqw; line-height: 2.9cqw; }
.pw-til { position: absolute; left: 58%; top: 31%; width: 24%; font: 3.9cqw/1 "LL Hand", cursive; color: #2F63AE; transform: rotate(-1deg); white-space: nowrap; overflow: hidden; }
.pw-fra { position: absolute; left: 58%; top: 86%; width: 38%; text-align: right; font: 3.9cqw/1 "LL Hand", cursive; color: #2F63AE; transform: rotate(-1deg); }
.pw-skjema { display: flex; flex-direction: column; gap: 10px; }
.pw-felt { display: flex; flex-direction: column; gap: 4px; font-weight: 700; font-size: 14px; }
.pw-felt textarea, .pw-felt input { font: inherit; font-weight: 400; font-size: 17px; padding: 10px 12px; border: 1px solid #C9D3CD; border-radius: 10px; background: #fff; }
.pw-to { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pw-mik { font: inherit; font-weight: 800; font-size: 17px; min-height: 52px; border: 0; border-radius: 999px; background: #2F8F3E; color: #fff; cursor: pointer; box-shadow: 0 0 10px rgb(123 227 106 / .6); }
.pw-mik.tar-opp { background: #E2662F; box-shadow: 0 0 10px rgb(255 138 76 / .7); }
.pw-lyd { margin: 0; font-weight: 700; color: #256F31; }
.pw-over { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #55655E); margin-top: 4px; }
.pw-send { display: flex; flex-wrap: wrap; gap: 8px; }
.pw-send .st-knapp { min-height: 46px; }
.pw-status { margin: 0; font-weight: 700; color: #256F31; }
.pw-liten { margin: 0; font-size: 14px; color: var(--muted, #55655E); }
.pw-vegg { background: #FFF6E4; border: 2px solid #F3C96B; border-radius: 14px; padding: 16px; }
.pw-vegg b { font-size: 20px; } .pw-vegg p { margin: 8px 0 12px; font-size: 16px; }
.pw-kn { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: #256F31; font-weight: 700; text-decoration: underline; cursor: pointer; }
.pw-sporsmal h3 { margin: 22px 0 6px; font-size: 19px; }
@media (max-width: 560px) { .pw-to { grid-template-columns: 1fr; } .pw-rutenett { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .pw-velg span:last-child { font-size: 13.5px; } }
@media (prefers-reduced-motion: reduce) { .pw-velg .pw-mini { transition: none; } }
