.header .container, .navbar .container, #header .container, .navbar-header {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Dette tvinger alle logo-områder, lenker og bilder til full bredde og 350px dybde på PC */
.navbar-brand, .header-logo, .logo, .navbar-brand a, .navbar-header a, .logo-img,
.navbar-brand img, .header-logo img, .logo img, #logo img, .brand img {
    width: 100% !important;
    max-width: 100% !important;
    height: 350px !important; 
    min-height: 350px !important;
    object-fit: cover !important; 
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Tvinger alle valg i egendefinerte lister til å stable seg loddrett under hverandre */
.custom-field-options label, 
.checkbox-inline, 
.radio-inline, 
div[id*="custom_field"] label {
    display: block !important;
    float: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-bottom: 8px !important;
    text-align: left !important;
}

/* Tvinger all tekst, priser og titler til å bli store og krystallklare for eldre brukere */
body, p, td, li, span, input, select, textarea {
    font-size: 19px !important;
    line-height: 1.6 !important;
}

.listing-title, h1, h2, h3 {
    font-size: 26px !important;
    font-weight: bold !important;
}

.price, .listing-price {
    font-size: 24px !important;
    font-weight: bold !important;
    color: #27ae60 !important;
}

/* Tving store bilbilder og åpne open for full rulling */
.g-list .grid-loop { width: 100% !important; max-width: 1200px !important; margin: 0 auto 20px auto !important; }
.g-list .grid-loop img { width: 100% !important; height: auto !important; max-height: 700px !important; object-fit: cover !important; }
.g-list .carousel, .g-list .slider { display: none !important; }
.g-list { display: block !important; height: auto !important; overflow: visible !important; }

#main-content {
    color: #ffffff;
}

/* 📱 SPESIFIKK MOBIL-FIKS: Overstyrer 350px-låsen så hele toppbildet nedskaleres perfekt */
@media screen and (max-width: 768px) {
    .navbar-brand, .header-logo, .logo, .navbar-brand a, .navbar-header a, .logo-img,
    .navbar-brand img, .header-logo img, .logo img, #logo img, .brand img {
        height: auto !important;
        min-height: 120px !important;
        object-fit: contain !important;
    }
}
