/* Forside etter APFM-oppsett */
body.afpage{background:#fffdf9;color:#1f2430;font-family:"Public Sans",system-ui,sans-serif;margin:0}
.afpage .af-in{max-width:1180px;margin:0 auto;padding:0 32px}
.afpage .af-head{background:#fff;border-bottom:1px solid #ece6dc;position:sticky;top:0;z-index:10}
.afpage .af-head .af-in{display:flex;align-items:center;gap:36px;height:64px}
.afpage .af-logo{font-family:Georgia,serif;font-style:italic;font-size:22px;color:#4a5fc1;text-decoration:none}
.afpage .af-nav{display:flex;gap:28px;flex:1}
.afpage .af-nav a{color:#1f2430;font-weight:600;font-size:15px;text-decoration:none}
.afpage .af-nav a:hover{color:#4a5fc1}
.afpage .af-help{background:#4a5fc1;color:#fff;font-weight:700;font-size:14px;padding:10px 20px;border-radius:999px;text-decoration:none}
.afpage .af-hero{background:#fbf6ee;padding:72px 0 140px;text-align:center}
.afpage .af-hero h1{font-family:Georgia,serif;font-weight:400;font-size:52px;line-height:1.15;margin:0 0 36px;color:#1f2430}
.afpage .af-hero .bigsearch{max-width:560px;margin:0 auto;display:flex;align-items:center;background:#fff;border:1px solid #cfd3dc;border-radius:999px;padding:4px 4px 4px 18px;box-shadow:0 2px 10px rgba(0,0,0,.05);position:relative}
.afpage .af-hero .bigsearch label{position:absolute;left:-9999px}
.afpage .af-hero .bigsearch .ico svg{width:18px;height:18px;color:#666}
.afpage .af-hero .bigsearch input{flex:1;border:0;outline:0;font-size:16px;padding:12px 10px;background:transparent;min-width:0}
.afpage .af-hero .bigsearch button{background:#4a5fc1;color:#fff;border:0;border-radius:999px;font-weight:700;padding:12px 26px;font-size:15px;cursor:pointer}
.afpage .af-panel{display:flex;background:#dbe8fb;border-radius:8px;overflow:hidden;box-shadow:0 6px 24px rgba(31,36,48,.12);margin-top:-90px;position:relative}
.afpage .af-panel img{flex:0 0 30%;width:30%;height:240px;object-fit:cover;display:block}
.afpage .af-pt{flex:1;display:flex;align-items:center;justify-content:space-between;gap:32px;padding:32px 40px}
.afpage .af-pt h2{font-family:Georgia,serif;font-weight:400;font-size:32px;margin:0}
.afpage .af-btns{display:flex;flex-direction:column;gap:12px;min-width:240px}
.afpage .af-btns a{background:#4a5fc1;color:#fff;text-align:center;font-weight:700;font-size:14px;padding:12px 20px;border-radius:999px;text-decoration:none}
.afpage .af-sec{padding-top:64px}
.afpage .af-sec h2{font-family:Georgia,serif;font-weight:400;font-size:34px;margin:0 0 24px}
.afpage .af-types{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
.afpage .af-type{background:#fff;border-radius:8px;box-shadow:0 2px 12px rgba(31,36,48,.08);padding:24px 12px;display:flex;flex-direction:column;align-items:center;gap:12px;text-decoration:none;color:#1f2430}
.afpage .af-type:hover{box-shadow:0 6px 20px rgba(31,36,48,.14)}
.afpage .af-ico{width:56px;height:56px;border-radius:50%;background:#e3f1ea;color:#2e7a5b;display:grid;place-items:center}
.afpage .af-ico svg{width:28px;height:28px}
.afpage .af-type strong{font-size:15px;color:#4a5fc1}
.afpage .af-places{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.afpage .af-place{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 12px rgba(31,36,48,.08);text-decoration:none;color:#1f2430;display:flex;flex-direction:column}
.afpage .af-ph{height:150px;background:#efe7da;color:#b9a888;display:grid;place-items:center}
.afpage .af-ph svg{width:48px;height:48px}
.afpage .af-pb{padding:16px}
.afpage .af-pb h3{font-size:16px;margin:0 0 6px;color:#4a5fc1;line-height:1.3}
.afpage .af-meta{font-size:14px;color:#5a6170;margin:0 0 6px}
.afpage .af-tel{font-size:14px;font-weight:600;margin:0}
.afpage .af-src{padding-top:48px;padding-bottom:56px;font-size:14px;color:#5a6170}
.afpage .af-src a{color:#4a5fc1}
.afpage .af-foot{background:#f4efe6;border-top:1px solid #ece6dc;padding:28px 0}
.afpage .af-foot .af-in{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}
.afpage .af-foot nav{display:flex;gap:24px;flex-wrap:wrap}
.afpage .af-foot nav a{color:#1f2430;font-size:14px}
@media (max-width:900px){.afpage .af-types{grid-template-columns:repeat(3,1fr)}.afpage .af-places{grid-template-columns:repeat(2,1fr)}.afpage .af-nav{display:none}}
@media (max-width:600px){
.afpage .af-in{padding-left:12px;padding-right:12px}
.afpage .af-head .af-in{height:56px;justify-content:space-between}
.afpage .af-help{padding:8px 14px}
.afpage .af-hero{padding:36px 0 110px}
.afpage .af-hero h1{font-size:34px;margin-bottom:24px}
.afpage .af-hero .bigsearch button{padding:10px 16px}
.afpage .af-panel{flex-direction:column;margin-top:-80px}
.afpage .af-panel img{width:100%;height:200px;min-height:0}
.afpage .af-pt{flex-direction:column;padding:28px 20px;text-align:center}
.afpage .af-btns{width:100%}
.afpage .af-sec h2{font-size:28px;text-align:center}
.afpage .af-types{grid-template-columns:repeat(2,1fr);gap:12px}
.afpage .af-places{grid-template-columns:1fr}
}
