﻿
/*.kategorimeny { backdrop-filter }*/

.footer-wrapper { background: #495e58; padding: 60px 80px; position: relative; }
.footer-inner { display: flex; gap: 220px; justify-content: center; }

.footer-col.logo { flex: 0 0 90px; }
.footer-col:nth-child(2) { flex: 0 0 220px; }
.footer-col:nth-child(3) { flex: 0 0 260px; display: none; }
.footer-col.quick-links { flex: 0 0 260px; }

.footer-col.logo img { width: 80px; }
.footer-col h4 { margin-bottom: 14px; letter-spacing: 1px; font-size: 15px; color: white; font-size: 2.4rem; font-family: 'Lydian BT'; }
.footer-col a { display: block; color: white; margin-bottom: 15px; text-decoration: none; font-size: 19px; font-family: 'GT-America-Standard-Regular','sans-serif'; }
    .footer-col a:hover {text-decoration:underline; }
    .quick-links a { display: block; color: #3C3C3B; margin-bottom: 8px; text-decoration: none; font-weight: normal; font-size: 19px; padding-left: 40px; padding-top: 20px; padding-bottom: 20px; width: 200px; background-color: #C6CEC3; font-family: 'Lydian BT'!important; padding-left: 40px; padding-top: 20px; padding-bottom: 20px; }
        .quick-links a:hover{text-decoration:none;}

        .footer-col form { display: flex; flex-direction: column; gap: 10px; max-width: 240px; }
.footer-col input[type="email"] { padding: 10px; border: 1px solid #000; width: 100%; }
.footer-col label { display: flex; gap: 8px; font-size: 12px; color: white; line-height: 1.3; }
.footer-col button { padding: 10px; background: #DFE4DD; border: 1px solid black; cursor: pointer; width: fit-content; margin-top: 6px; }

.quick-links { display: flex; flex-direction: column; gap: 14px; }
.quick-box { display: flex; justify-content: space-between; align-items: center; background: #e6ebe4; padding: 16px 20px; border-radius: 14px; text-decoration: none; color: #222; font-weight: bold; width: 100%; /* ✅ stopper overbredde */ }
    .quick-box img { width: 18px; float: right; margin-right: 25px; margin-top: 5px; }

/* Hvit linje som følger bredden til flex-innholdet */
.footer-bottom-line { height: 1px; background: rgba(223, 228, 221, 0.2); width: 100%; margin-top: 40px; /* avstand fra kolonnene */ }


.footer2-wrapper { background: #495e58; padding: 0 80px; position: relative; }
.footer2-inner { display: flex; gap: 140px; justify-content: center; align-items: center; height: 100px; }

.footer2-col.seo { flex: 0 0 150px; }
.footer2-col:nth-child(2) { flex: 0 0 550px; }
.footer2-col:nth-child(3) { flex: 0 0 90px; }

.footer2-col a { color: white; text-decoration: none; font-size: 12px; font-family: 'GT-America-Standard-Regular','sans-serif'; padding-left: 15px; }
.footer2-col a:hover {text-decoration:underline; }
    .footer2-inner > .footer2-col:last-child { flex: 0 0 260px; /* samme bredde som kolonne 3 i footer */ display: flex; flex-direction: column; justify-content: center; /* sentrer vertikalt i høyden */ align-items: center; /* sentrer horisontalt */ text-align: center; }

    .footer2-inner > .footer2-col:last-child img { width: 20px; /* kan justeres */ height: auto; margin-bottom: 8px; /* litt luft over teksten */ }

    .footer2-inner > .footer2-col:last-child p { color: white; margin: 0; font-size: 16px; }


/* --- MOBIL / TABLET --- */
@media (max-width: 1024px) {
    /* Footer 1 */
    .footer-inner { flex-direction: column; gap: 40px; /* mindre avstand mellom kolonner */ align-items: center; }

    .footer-col.logo { flex: 0 0 auto; /* auto-bredde på mobil */ }

    .footer-col:nth-child(2),
    .footer-col:nth-child(3),
    .footer-col.quick-links { flex: 0 0 auto; width: 100%; /* fyller tilgjengelig bredde */ text-align: center; }

    .quick-links a { margin: 0 auto; width: 80%; /* smalere knapp på mobil */ }

    .footer-bottom-line { margin-top: 20px; width: 80%; margin-left: auto; margin-right: auto; }

    /* Footer 2 */
    .footer2-inner { flex-direction: column; gap: 20px; height: auto; align-items: center; }

    .footer2-col.seo { justify-content: center; flex: 0 0 90px; }
    .footer2-col:nth-child(2) { flex: 0 0 120px; }
    .footer2-inner > .footer2-col:nth-child(2) { flex-direction: column; gap: 10px; align-items: center; text-align: center; display: block; }
    .footer2-inner > .footer2-col:last-child { flex-direction: column; justify-content: center; align-items: center; flex: 0 0 100px }
}

/* --- SMÅ MOBILSKJERMER --- */
@media (max-width: 480px) {
    .footer-wrapper,
    .footer2-wrapper { padding: 40px 20px; }

    .footer-col h4 { font-size: 1.8rem; }

    .footer-col a,
    .quick-links a { font-size: 16px; }

    .quick-links a { width: 90%; padding: 12px 20px; }

    .footer2-col.seo a { font-size: 11px; padding-left: 5px; padding-right: 5px; }
    .footer2-col:nth-child(2) a { font-size: 13px; padding-left: 5px; padding-right: 5px; display: block; }

    .footer2-inner { gap: 15px; }
}
