/*CSS form form 4*/

.underside-intro-div {
    border: 5px solid var(--color-main-alt-font-hover)
}

@media only screen and (min-width: 992px) { 
.underside-intro-div {
    font-size: 1.375rem;
    max-width: 90%;
    width: 900px;
}
}

.sponsorer_swiper{
    width: 100%;
}

.sponsor_item{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

/* Logo-størrelse (din) */
.sponsorlogo_prim{
    height: auto;
    width: auto;
    max-width: 200px;
    max-height: 100px;
    display: block;
    filter: grayscale(100%);
    mix-blend-mode: darken;
    transition: filter 0.3s ease;
}

/* Litt luft i høyden så slideren ser ryddig ut */
.sponsorer_swiper .swiper-slide{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height: 130px;
}





/*Tjenestebokser forside*/
.tjenester__item {
    border: var(--color-main-font-hover) 2px solid;
}

.prim-button {
    display: inline-block;
    background-color: #008474;
    text-decoration: none;
    line-height: 1;
    font-size: 1.43rem;
    padding: 0.7em 1em;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: transform 0.5s ease;
    margin-top: 1em;
    text-align: center;
    color: #ffffff !important;
}

.prim-button:hover {
    transform: rotate(-3deg) translateY(-2px);
    text-decoration: underline;
}

.social-links .fa-brands {
    font-size: 30px;
    padding: 15px;
}


.blog-content > * {
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}

.entry-header {
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}

.entry-meta {
    font-size: 0.95rem;
    padding-left: 30px;
    font-weight: 400;
}

.single-post__hero-media {
    margin: 0;
}

.single-annonse__hero-media {
    position: relative;
}

.single-annonse__badge {
    position: absolute;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    top: auto;
    left: auto;
    right: 24px;
    bottom: 24px;
    min-height: 40px;
    padding: 10px 20px;
    background: var(--color-hightlight-bg);
    color: var(--color-hightlight-font);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    pointer-events: none;
}

.single-annonse__eyebrow {
    margin: 0 0 12px;
    color: var(--color-main-font-hover);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.single-post__hero-caption {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    text-align: right;
}

.blog-content > figure {
    max-width: 900px;
    width: 100%;
}

.blog-content figcaption {
    font-size: 0.875rem;
    font-style: italic;
    margin-top: 0.5rem;
}

.blog-content .wp-block-embed.is-type-video .wp-block-embed__wrapper {
    aspect-ratio: 16 / 9;
    position: relative;
    width: 100%;
}

.blog-content .wp-block-embed.is-type-video iframe {
    display: block;
    height: 100%;
    inset: 0;
    position: absolute;
    width: 100%;
}

.blog-content > blockquote {
    max-width: 900px;
    width: 100%;
    position: relative;
    padding: 1.25rem 1.25rem 1.25rem 4rem;
    background-color: var(--color-main-alt);
    color: var(--color-main-alt-font);
    fill: var(--color-main-alt-font);
}

.blog-content > blockquote p {
    max-width: 768px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.blog-content > blockquote p:first-child {
    margin-top: 0;
}

.blog-content > blockquote p:last-child {
    margin-bottom: 0;
}

.blog-content blockquote::before {
    content: "\f10d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900; 
    position: absolute;
    left: 1.25rem;
    top: 1.35rem;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--color-main-alt-font);
}

@media only screen and (min-width: 1120px) { 
    .blog-content > blockquote {
        padding-left: 4.75rem;
    }

    .blog-content blockquote::before {
        left: 1.5rem;
        top: 1.5rem;
        font-size: 2rem;
    }
}

@media only screen and (min-width: 992px) {
    .single-annonse__badge {
        right: 28px;
        bottom: 28px;
        min-height: 44px;
        padding: 11px 22px;
        font-size: 0.95rem;
    }
}
@media only screen and (min-width: 1201px) {
    body:not(.front-page) .header-container {
        min-height: 160px;
        padding-top: 0;
        padding-bottom: 0;
    }

    body:not(.front-page) .header-container-inner {
        min-height: auto;
        padding-top: 24px;
        flex-direction: column;
        justify-content: flex-start;
    }

    body:not(.front-page) .header-main-row {
        min-height: 80px;
        align-items: center;
    }
}
