html{
    margin-top: 0px !important;
}
h1,
header.entry-header h1,
p{
    color:#685E57;
}
header h1{
    color: #fff;
}
#hem-hero .t-block-hero__text-mobile{
    position: relative;
    z-index: 1;
}
.startsida-notis,
.ingress-c,
.skogsglantan-outer-c{
    width: calc(100% - 70px);
    max-width: 1220px;
}
.skogsglantan-outer-c.single-post-skogsglantan{
    width: calc(100% - 48px);
    max-width: 1152px;
    padding-bottom: 60px;
}
.skogsglantan-outer-c.single-post-skogsglantan.single-post-skogsglantan-more-list{
    padding-top: 60px;
}
.terri-content{
    max-width: 1220px;
    width:calc(100% - 70px);
    margin-left: auto;
    margin-right: auto;
}
.page-template-page_om_oss .terri-content{
    padding: 0px;
}
.om-oss-img-gallery-c,
.om-oss-img-gallery-c figure{
    margin: 0px !important;
}
.startsida-notis.first-notis{
    margin-bottom:230px;
}
@media screen and (min-width: 962px){
    .page-id-15175 .startsida-notis.first-notis{
        margin-bottom:60px;
    }
}
.startsida-notis.second-notis{
    margin-bottom:80px;
}
.startsida-notis.second-notis img{
    float: right;
}
.ingress-c,
.skogsglantan-outer-c{
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 100px;
    padding-top: 100px;
}
.skogsglantan-outer-c{
    padding-top: 0px;
}
.ingress-content-c{
    display: flex;
    gap:35px;
}
.ingress-title-c{
    width: 100%;
    max-width: 171px;
}
.ingress-title-c h2{
    color: #938880;
    text-transform: uppercase;
    font-size: 1.25rem;
    line-height: 1.5rem;
}
.ingress-text-c{
    width: calc(100% - 171px);
    color: #685E57;
}
.ingress-text-c p{
    font-size: 2.1875rem;
    line-height: 2.625rem;
    font-family: 'inter-tight-variable', sans-serif;
    font-variation-settings: "slnt" 0, "wght" 700 !important;
}

body.page-id-15850 .ingress-title-c{
    max-width: 210px;
}
body.page-id-15850 .ingress-text-c{
    width: calc(100% - 210px);
}

#startsida-alla-maskiner{
    padding-top: 120px;
    padding-bottom: 160px;
}
#startsida-alla-maskiner .entry-title{
    font-size: 4.375rem;
    line-height: 4.5625rem;
    margin-bottom:3.125rem;
}

#startsida-alla-maskiner .entry-title span.highlight,
.startsida-notis h4 .highlight,
h1 span.highlight{
    color: #ED1C29;
}
.startsida-notis h4,
#startsida-alla-maskiner .entry-title,
#startsida-alla-maskiner h4,
#startsida-alla-maskiner h5{
    color:#685E57;
    text-transform: none !important;
}

.startsida-alla-maskiner-holder h4{
    font-size: 1.875rem;
    line-height: 1.875rem;
    margin-top: 0px;
}
.startsida-alla-maskiner-holder h5{
    font-size: 1rem;
    line-height: 1.875rem;
    font-variation-settings: "slnt" 0, "wght" 500 !important;
}
.startsida-alla-maskiner-holder *{
    color:#685E57;
}
#startsida-alla-maskiner .startsida-alla-maskiner-holder .maskin-item img{
    margin-bottom:0px;
    object-fit: contain;
    height:auto;
}
.startsida-alla-maskiner-holder .maskin-item .inside{
    display: flex;
    flex-direction: column;
}
.maskin-item .inside .maskin-img-c{
    display: flex;
    aspect-ratio: 16 / 9;
}
.startsida-notis{
    margin-top: 0px !important;
}
.cw-maskin-tag{
    background-color:#685E57;
    padding:4px 15px;
    border-radius: 2px;
    font-size: 1.25rem;
    color: #fff;
    display: inline-block;
    margin-bottom: 4px;
    font-family: 'inter-tight-variable', sans-serif !important;
    font-variation-settings: "slnt" 0, "wght" 700 !important;
}
.machine-top-content .cw-maskin-tag{
    margin-bottom:11px;
}
.cw-maskin-info-container-tag{
    position: relative;
}
.startsida-alla-maskiner-holder h4{
    margin-top: 8px;
}
.maskin-info-c{
    margin-top:auto;
}
.startsida-notis h4{
    font-size: 3.75rem;
    line-height: 4.0625rem;
    margin-bottom: 50px !important;
}
.startsida-notis:nth-child(3) h4{
    margin-bottom: 30px !important;
}
.startsida-notis h1{
    margin-bottom: 50px !important;
}
.startsida-notis td > p{    
    font-size: 1rem;
    line-height:1.25rem;
}
.terri-button-red-arrow,
body .entry-content p .terri-button-red-arrow{
    text-decoration: none;
    color:#fff;
    background: none;
    background-color: #ED1C29;
    text-transform: uppercase;
    padding:14px 32px 14px 30px !important;
    border-radius: 4px;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    min-width: 220px;
    box-sizing: border-box;
    overflow: hidden;
    font-variation-settings: "slnt" 0, "wght" 700;
    column-gap: 13px;
}

body.page-id-93 .entry-content p .terri-button-red-arrow{
    min-width: 0px;
}

.terri-button-red-arrow::before,
.terri-button-red-arrow::after {
    content: '';
    display: block;
    flex: 0 0 auto;
    width: 15px;
    height: 15px;

    background-image: url('../assets/img/terri-arrow-white.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;

    transition:
        width 0.35s cubic-bezier(.22, 1, .36, 1),
        margin 0.35s cubic-bezier(.22, 1, .36, 1),
        opacity 0.25s cubic-bezier(.22, 1, .36, 1),
        transform 0.35s cubic-bezier(.22, 1, .36, 1);
}

.terri-button-red-arrow::before {
    width: 0;
    opacity: 0;
    transform: translateX(-15px);
}

.terri-button-red-arrow::after {
    width: 15px;
    margin-left: auto;
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.terri-button-red-arrow:hover::before {
    width: 15px;
    opacity: 1;
    transform: translateX(0);
}

.terri-button-red-arrow:hover::after {
    width: 0;
    margin-left: auto;
    opacity: 0;
    transform: translateX(15px);
}

.cw-text-links-c h2,
.startsida-notis h1,
.page-template-page_maskiner_landning h1,
.page-template-page_kontakt h1,
.page-template-page_om_terri_historia h1,
.page-id-41 h1,
.page-id-9656 h1,
.page-id-10387 h1,
.page-id-14137 h1,
.page-id-15554 h1,
.page-id-15552 h1,
.page-id-93 h1,
.page-id-9681 h1,
.page-id-10380 h1,
.page-id-14246 h1,
.page-id-15648 h1,
.page-id-15646 h1,

.page-id-11233 h1,
.page-id-15762 h1,
.page-id-15777 h1,
.page-id-15757 h1,
.page-id-15772 h1,
.page-id-15767 h1,

.page-id-95 h1,
.page-id-15760 h1,
.page-id-15775 h1,
.page-id-15755 h1,
.page-id-15770 h1,
.page-id-15765 h1
{
    font-size: 4.25rem;
    line-height: 4.5625rem;
    color:#685E57 !important;
}
.page-template-page_maskiner_landning h1,
.page-template-page_kontakt h1,
.page-template-page_om_terri_historia h1,
.page-id-41 h1,
.page-id-9656 h1,
.page-id-10387 h1,
.page-id-14137 h1,
.page-id-15554 h1,
.page-id-15552 h1,
.page-id-93 h1,
.page-id-9681 h1,
.page-id-10380 h1,
.page-id-14246 h1,
.page-id-15648 h1,
.page-id-15646 h1,

.page-id-11233 h1,
.page-id-15762 h1,
.page-id-15777 h1,
.page-id-15757 h1,
.page-id-15772 h1,
.page-id-15767 h1,

.page-id-95 h1,
.page-id-15760 h1,
.page-id-15775 h1,
.page-id-15755 h1,
.page-id-15770 h1,
.page-id-15765 h1
{
    text-transform: none;
}

.cw-text-links-c .text-c p{
    max-width: 550px;
    color: #685E57;
}
.cw-text-links-c .text-c{
    margin-bottom:50px;
}
#startsida-alla-maskiner{
    display: flex;
    flex-direction: column;
}
#startsida-alla-maskiner .terri-button-red-arrow{
    margin-left:auto;
    margin-right:auto;
}
.startsida-alla-maskiner-holder{
    margin-bottom:0px;
}
.cw-text-links-c,
.three-posts-c{
    width:calc(100% - 70px);
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
}
.three-posts-c,
.cw-text-links-c .links-c,
.skogsglantan-post-list-c{
    display: flex;
    gap:16px;
}
.three-posts-c .post-item,
.cw-text-links-c .links-item{
    width:33.333%
}
.skogsglantan-post-list-c .skogsglantan-post-item{
    width: calc((100% - 32px) / 3);
}
.three-posts-c .post-item a,
.cw-text-links-c .links-item a,
.skogsglantan-post-list-c .skogsglantan-post-item a{
    display: flex;
    flex-direction: column;
    height:100%;
    text-decoration: none;
}
.post-info-c,
.links-info-c{
    padding: 20px 50px 24px 16px;
    background-color: #f4ebe2;
    flex:1;
    position: relative;
    border-radius: 0px 0px 4px 4px;
}
.post-info-c::after,
.links-info-c::after{
    content:'';
    position: absolute;
    right:20px;
    bottom:23px;
    width:15px;
    height:15px;
    background-image: url('../assets/img/terri-arrow-red.svg');
    background-repeat: no-repeat;
    background-position: center center;
}
.post-image-c,
.links-image-c {
    width: 100%;
    aspect-ratio: 396 / 250;
    overflow: hidden;
    border-radius: 4px 4px 0px 0px;
}
.post-image-c img,
.links-image-c img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.post-categories-c{
    position: absolute;
    font-size: 1.25rem;
    line-height: 1.5rem;
    color:#fff;
    font-variation-settings: "slnt" 0, "wght" 700 !important;
    background-color:#685E57 !important;
    border-radius: 2px;
    padding: 4px 15px;
    top:-24px;
    font-family: 'inter-tight-variable', sans-serif;
}
.post-title-c,
.link-title-c{
    max-width: 300px;
}
.post-title-c h5,
.post-title-c h2,
.link-title-c h5{
    font-size: 1.25rem !important;
    line-height: 1.5rem !important;
    color:#685E57; 
}

.machine-top-c{
    display: flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}
.machine-top-c h1{
    font-size: 4.25rem;
    line-height: 4.5625rem;
    margin-bottom:27px;
}
.machine-top-content{
    width: calc(100% - 70px);
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto; 
    margin-bottom:-50px; 
}
.machine-top-title,
.machine-top-text{
    max-width: 600px;
}
.machine-top-image{
    width: 71vw;
    max-width: 1495px;
    margin-right: 50px;
    align-self: center;
    margin-bottom:120px;
}
.title-three-col-section {
    width: calc(100% - 70px);
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 108px;
}

.three-col-title {
    max-width: 808px;
    margin: 0 0 45px;
    font-size: 4.25rem;
    line-height: 4.5625rem;
}

.text-three-col {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.text-column p{
    font-family: 'inter-variable', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-variation-settings: "slnt" 0, "wght" 400;
    font-size: 1rem;
    line-height: 1.25rem;
}
.text-column > *:first-child {
    margin-top: 0;
}

.text-column > *:last-child {
    margin-bottom: 0;
}

.terri-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: calc(100% - 70px);
    max-width: 1220px;
    aspect-ratio: 646 / 385;
    margin-left: auto;
    margin-right: auto; 
    margin-bottom:150px;
}

.terri-image-grid__large,
.terri-image-grid__right,
.terri-image-grid__small {
    min-width: 0;
    min-height: 0;
}

.terri-image-grid__right {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
}

.terri-image-grid__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.t-block-hero::after,
.t-block-hero::before{
    display: none;
}
.tec-data-title{
    font-size: 4.375rem;
    line-height: 5.3125rem;
    color: #ED1C29;
    margin-bottom:46px;
}
.produktdata-block .entry-content{
    width: calc(100% - 70px);
    max-width: 1220px;
    padding:0px;
}
.produktdata-holder{
    gap:40px;
    width: 100%;
    max-width: 1020px;
    justify-content: space-between;
}
.page-template-page_press_media .produktdata-holder,
.page-template-page_kontakt .produktdata-holder{
    gap: 32px;
    max-width: none;
    justify-content: flex-start;
}
.produktdata-grupp{
    width:400px;
    padding:0px !important;
    margin-bottom:65px;
}
.page-template-page_press_media .produktdata-grupp,
.page-template-page_kontakt .produktdata-grupp{
    margin-bottom:0px;
}

.produktdata-grupp h5{
    font-size: 2.1875rem;
    line-height: 2.625rem;
    margin-bottom:4px;
}
.produktdata-grupp ul{
    border-bottom: 2px solid #ded5cc;
    padding-bottom:0px;
}
.produktdata-grupp ul li{
    font-size: 1rem;
    line-height: 1.25rem;
}
.produktdata-grupp h5,
.produktdata-grupp ul li{
    color:#685E57;
}
.cw-top-section{
    margin-top: 100px;
    margin-bottom: 150px;
}
.cw-top-section h1{
    font-size: 4.375rem;
    line-height: 4.5625rem;
    margin-bottom:55px;
}
.cw-top-section p{
    max-width: 600px;
}
.numbered-list-item .number-text{
    display: flex;
    gap: 22px;
}
.number-text .number-c span{
    font-size: 6.25rem;
    line-height: 1.05;
    font-family: 'inter-tight-variable', sans-serif;
    font-variation-settings: "slnt" 0, "wght" 700 !important;
    color: #ED1C29;
}
.number-text .text-c h2{
    font-family: 'inter-variable', sans-serif;
    font-variation-settings: "slnt" 0, "wght" 700 !important;
    color: #685E57;
    font-size: 1.5rem;
    margin-bottom:0px
}
.number-text .text-c{
    max-width: 520px;
}
.number-text .text-c p{
    font-size: 1rem;
    line-height: 1.25rem;
    margin-bottom:14px;
}
.number-text{
    margin-bottom:50px;
}
.numbered-list-c .numbered-list-item{
    margin-top:140px;
}
.numbered-list-c .numbered-list-item:first-child{
    margin-top:0px;
}
.numbered-list-item .img-c{
    display: flex;
    gap:40px;
}
.numbered-list-item .img-c .two-images{
    width: 50%;
}
.why-terri {
    position: relative;
}
h2.terri-vertical-text{
    position: fixed;
    bottom: 45px;
    left: 85px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;

    font-family: 'inter-tight-variable', sans-serif;
    font-variation-settings: "slnt" 0, "wght" 700;
    font-size: clamp(2.75rem, 4vw, 4.375rem);
    line-height: 1;
    text-transform: uppercase;
    color: #ed1c29;
    opacity: 1;
    transition: opacity 150ms;
}
h2.terri-vertical-text.why-terri-inactive{
    opacity: 0;
}
.cw-image-title-c{
    position: relative;
    padding-top:10px;
}
.cw-image-title h2{
    font-size: 4.25rem;
    line-height: 4.5625rem;
    color: #685E57;
    margin-bottom:32px;
}
.cw-quote-section{
    display: flex;
    justify-content: space-between;
    gap:35px;
    margin-top:140px;
    padding-top:105px;
    position: relative;
}
.cw-quote-section::before{
    content:'';
    background-image: url('../assets/img/Terri_citattecken.svg');
    background-position: center center;
    background-repeat: no-repeat;
    width:85px;
    height:70px;
    display: block;
    position: absolute;
    font-size: 18.75rem;
    top:0px;
    left:0px;
}
.cw-quote-c{
    width:100%;
    max-width: 602px;
    font-size: 2.1875rem;
    line-height: 2.625rem;
    color: #685E57;
    font-family: 'inter-tight-variable', sans-serif;
    font-variation-settings: "slnt" 0, "wght" 700;
}
.cw-quote-text{
    width: 100%;
    max-width: 396px;

}
.cw-quote-text p{
    font-size: 1.25rem;
    line-height: 1.5rem;
    font-family: 'inter-tight-variable', sans-serif;
    font-variation-settings: "slnt" 0, "wght" 400;
}
.page-template-page_artikel .text-column p,
.page-template-page_artikel .text-column h4{
    font-size: 1rem;
    line-height: 1.25rem;
    font-family: 'inter-variable', sans-serif;
}
.page-template-page_artikel .text-column h4{
    margin-bottom:0px;
}
.page-template-page_artikel .text-three-col{
    gap:20px;
}
.page-template-page_artikel .title-three-col-section{
    margin-top:230px;
}

.terri-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;

    width: calc(100% - 70px);
    max-width: 1220px;
    aspect-ratio: 646 / 385;

    margin-left: auto;
    margin-right: auto;
    margin-bottom: 150px;
}
.page-template-page_artikel
/* Stor media till vänster som standard */
.terri-image-grid__large {
    order: 1;
}

.terri-image-grid__side {
    order: 2;
}

/* Stor media till höger */
.terri-image-grid--large-right .terri-image-grid__large {
    order: 2;
}

.terri-image-grid--large-right .terri-image-grid__side {
    order: 1;
}

.terri-image-grid__large,
.terri-image-grid__side,
.terri-image-grid__small {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.terri-image-grid__side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
}

/* Gäller både img och video */
.terri-image-grid__media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.terri-image-grid__small,
.terri-image-grid__large{
    border-radius: 4px;
}
.page-template-page_artikel .terri-image-grid{
    margin-top: 175px;
}
.cw-kampanj{
    margin-top:256px;
}
.cw-kampanj h1{
    font-size: 4.25rem;
    line-height: 4.5625rem;
    margin-bottom:160px;
}
.cw-kampanj .cw-big-image{
    margin-bottom:135px;
}
.cw-kampanj .terri-image-grid{
    margin-bottom:224px;
}
.cw-kampanj .text-column p{
    font-family: 'inter-variable', sans-serif !important;
    font-variation-settings: "slnt" 0, "wght" 400 !important;
}
.kampanj-template .title-three-col-section p, 
.title-three-col-section figcaption{
    font-size: 1rem;
    line-height: 1.25rem;
}
.title-three-col-section figcaption{
    font-variation-settings: 'wght' 400, 'slnt' -10;
    text-align: left;
    color: #685E57;
}
.campaign-footer-form .nf-field-element textarea,
.campaign-footer-form .nf-field-element input{
    border-radius: 2px !important;
    background-color: #938880 !important;
    border-color: #938880 !important;
    color: #fff !important;
    padding: 10px 8px !important;
    border:none;
    font-variation-settings: 'wght' 500, 'slnt' 0;
}
.campaign-footer-form .nf-field-element textarea::placeholder,
.campaign-footer-form .nf-field-element input::placeholder{
    color: #b9b2ad;
    font-size: 0.875rem;
}
.campaign-footer-form .nf-field-label label{
    font-size: 0.625rem;
}
.campaign-footer-form .label-above .nf-field-label{
    margin-bottom:0px !important;
}
.campaign-footer-form .nf-field-container{
    margin-bottom: 6px !important;
}
.campaign-footer-form .nf-form-content input:not([type=button]){
    border:none !important;
    border-radius: 2px !important;
}
.campaign-footer-form .nf-form-content {
    padding:0px !important;
}
.campaign-footer-form .nf-cell{
    padding:0px !important;
}
.campaign-footer-form input[type="submit"],
.boka-visning-form-c input[type="submit"]{
    background-color: #ED1C29 !important;
    font-size: 0.875rem !important;
    margin-top:10px !important;
    height: 40px !important;
    font-variation-settings: "wght" 700;
    font-weight: normal;
}

body .boka-visning-form-c input[type="submit"],
body .boka-visning-form-c input[type="submit"]:hover{
    color:#fff;
    max-width: 150px;
}

.campaign-footer-form nf-cells{
    display: flex !important;
    gap: 16px !important;
}
.campaign-footer-form .nf-form-content textarea.ninja-forms-field{
    height:100px !important;
}
.kampanj-template footer h5{
    font-size: 1rem !important;
    line-height: 1.25rem !important; 
    margin:0px !important;
}
.kampanj-template .footer-form-c p{
    margin-bottom: 5px !important;
}
.kampanj-template .footer-divider{
    margin-top:135px !important;
    margin-bottom: 155px !important;
}
.kampanj-template .footer-outer-c{
    padding-top: 200px;
}
@media screen and (min-width: 48em) {
    .t-block-hero__text {
        justify-content: flex-start;
        height: 100vh;
        padding-bottom: 153px;
        width: calc( 100% - 70px );
        max-width: 1220px;
        margin: auto;
        display: flex;
        align-items: flex-end;
        color: #fff;
    }
    h1.t-block-hero__the-title{
        font-size: 6.25rem;
        line-height: 6.875rem;
    }
    .t-block-hero__text-wrap
    {
        max-width: 920px;
        padding: 0px;
    }
}
@media (max-width: 1720px) {
    h2.terri-vertical-text{
        left: calc((100vw - 1220px) / 4);
        transform: rotate(180deg) translateX(50%);
    }
}
@media (max-width: 1400px) {
    h2.terri-vertical-text{
        position: relative;
        bottom: initial;
        left: initial;
        writing-mode: horizontal-tb;
        transform: rotate(0deg);
        white-space: nowrap;
        font-size: 2.5rem;
        margin-bottom:20px;
    }
}
@media (max-width: 961px) {
    #hem-hero {
        position: relative;
        height: 100dvh;
        max-height: 100dvh;
    }
    #hem-hero .t-block-hero__text-mobile{
        width: calc(100% - 70px);
        margin-top: 150px;
        margin-left: auto;    
        margin-right: auto;
    }
    #hem-hero .t-block-hero__text-mobile h1{
        max-width: 275px;
        color:#fff; 
        font-size: 1.875rem;
        line-height: 2.125rem;
    }
    .ingress-text-c p,
    .produktdata-grupp h5,
    .cw-quote-c{
        font-size: 1.5rem;
        line-height: 1.75rem;
    }
    .cw-text-links-c h2,
    .three-col-title,
    .machine-top-title-c h1,
    .cw-image-title h2,
    .startsida-notis h1,
    .cw-image-title h1,
   
    .page-template-page_maskiner_landning h1,
    .page-template-page_kontakt h1,
    .page-template-page_om_terri_historia h1,
    .page-id-41 h1,
    .page-id-9656 h1,
    .page-id-10387 h1,
    .page-id-14137 h1,
    .page-id-15554 h1,
    .page-id-15552 h1,
    .page-id-93 h1,
    .page-id-9681 h1,
    .page-id-10380 h1,
    .page-id-14246 h1,
    .page-id-15648 h1,
    .page-id-15646 h1,
    .page-id-11233 h1,
    .page-id-15762 h1,
    .page-id-15777 h1,
    .page-id-15757 h1,
    .page-id-15772 h1,
    .page-id-15767 h1,
    .page-id-95 h1,
    .page-id-15760 h1,
    .page-id-15775 h1,
    .page-id-15755 h1,
    .page-id-15770 h1,
    .page-id-15765 h1{
        font-size: 3.125rem;
        line-height: 3.25rem
    }
    .startsida-notis h4,
    #startsida-alla-maskiner .entry-title,
    .tec-data-title,
    .cw-top-section h1{
        font-size: 2.8125rem;
        line-height: 3rem;
    }
    .startsida-alla-maskiner-holder .maskin-item{
        width:33.333%;
    }
    #startsida-alla-maskiner .startsida-alla-maskiner-holder .maskin-item img{
        height:auto !important;
    }
    .produktdata-grupp{
        width:300px;
        margin-bottom:0px;
    }
    .produktdata-grupp ul li{
        float:left;
        width:50%;
    }
    .produktdata-holder{
        gap:60px;
        justify-content: normal;
    }
    .produktdata-grupp ul li{
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
    .startsida-notis.first-notis{
        margin-bottom:108px;
    }
    .startsida-notis.first-notis{
        margin-bottom:50px;
    }
    .text-column p {
        font-size: 1.125rem !important;
        line-height: 1.3125rem !important;
    }
    .kampanj-template .text-column p,
    .kampanj-template .text-column figcaption{
        font-size: 0.875rem !important;
        line-height: 1rem !important;
    }
    .page-template-page_artikel .text-column p, .page-template-page_artikel .text-column h4 {
        font-size: 1rem !important;
        line-height: 1.25rem !important;
    }
    .machine-top-content{
        margin-bottom:0px; 
    }
    .machine-top-content .cw-maskin-tag{
        margin-left:0px;
        font-size: 0.875rem;
        line-height: 1.0625rem;
    }
    .machine-top-image{
        width:calc(100% - 70px);
        margin-left: auto;
        margin-right: auto;
        margin-bottom:60px
    }
    .cw-maskin-info-container-tag{
        top:0px;
    }
    .numbered-list-item .img-c{
        flex-direction: column;
    }
    .numbered-list-item .img-c .single-img{
        width:100%;
    }

    .page-template-page_artikel .ingress-c{
        padding-top: 0px;
    }
}
@media (max-width: 767px) {
    .ingress-content-c{
        flex-direction: column;
        gap:0px;
    }
    .ingress-title-c{
        width: 100%;
        max-width: 100%;
    }
    .ingress-title-c h2{
        color: #938880;
        text-transform: uppercase;
        font-size: 0.875rem;
        line-height: 1.0625rem;
        margin-bottom:20px;
    }
    .cw-quote-text p{
        font-size: 0.875rem;
        line-height: 1.0625rem;
    }
    .ingress-text-c,
    body.page-id-15850 .ingress-text-c{
        width: 100%;
    }
    .ingress-text-c p,
    .cw-quote-c{
        font-size: 1.25rem;
        line-height: 1.5rem;
    }
    .ingress-text-c .terri-button-red-arrow{
        margin-top:15px;
    }
    .cw-text-links-c h2,
    .three-col-title,
    .machine-top-title-c h1,
    .cw-image-title h2,
    .startsida-notis h1,
    .cw-image-title h1,
    
    .page-template-page_maskiner_landning h1,
    .page-template-page_kontakt h1,
    .page-template-page_om_terri_historia h1,
    .page-id-41 h1,
    .page-id-9656 h1,
    .page-id-10387 h1,
    .page-id-14137 h1,
    .page-id-15554 h1,
    .page-id-15552 h1,
    .page-id-93 h1,
    .page-id-9681 h1,
    .page-id-10380 h1,
    .page-id-14246 h1,
    .page-id-15648 h1,
    .page-id-15646 h1,
    .page-id-11233 h1,
    .page-id-15762 h1,
    .page-id-15777 h1,
    .page-id-15757 h1,
    .page-id-15772 h1,
    .page-id-15767 h1,
    .page-id-95 h1,
    .page-id-15760 h1,
    .page-id-15775 h1,
    .page-id-15755 h1,
    .page-id-15770 h1,
    .page-id-15765 h1{
        font-size: 2rem;
        line-height: 2.1875rem;
    }
    .cw-text-links-c .text-c p{
        font-size: 0.875rem;
        line-height: 1rem;
    }
    .links-c,
    .three-posts-c,
    .skogsglantan-post-list-c{
        flex-direction: column;
    }
    .cw-text-links-c .links-item,
    .three-posts-c .post-item,
    .skogsglantan-post-list-c .skogsglantan-post-item{
        width:100%;
    }
    .post-title-c h5, 
    .post-title-c h2,
    .link-title-c h5{
        font-size: 1.125rem !important;
        line-height: 1.3125rem !important;
    }
    .cw-text-links-c .text-c{
        margin-bottom: 35px;
    }
    #startsida-alla-maskiner .entry-title,
    .tec-data-title,
    .cw-top-section h1 {
        font-size: 2rem;
        line-height: 2.25rem;
        margin-bottom: 3.125rem;
    }
    .startsida-alla-maskiner-holder{
        flex-direction: column;
    }
    .startsida-alla-maskiner-holder .maskin-item{
        width: 100%;
    }
    #startsida-alla-maskiner .startsida-alla-maskiner-holder .maskin-item img{
        height:auto
    }
    .cw-maskin-tag{
        display: block;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;  
        font-size: 0.75rem;  
    }
    .cw-maskin-info-container-tag,
    .maskin-item .inside{
        text-align: center;
    }
    .startsida-alla-maskiner-holder .terri-button-red-arrow{
        margin-top: 15px;
    }
    .startsida-notis table tr td.left,
    .startsida-notis table tr td.right{
        width: 100%;
    }
    .startsida-notis table tr td{
        padding:0px !important;  
    }
    .startsida-alla-maskiner-holder h4{
        font-size: 1.25rem;
        line-height: 1.4375rem;
    }
    .startsida-alla-maskiner-holder h5{
        font-size: 0.875rem;
        line-height: 1rem;
    }
    .startsida-notis tr{
        display: flex;
        flex-direction: column;
    }
    .startsida-notis h4{
        font-size: 2rem;
        line-height: 2.1875rem;
        margin-bottom:20px !important;
    }
    .startsida-notis h1{
        margin-bottom:20px !important;
    }
    .startsida-notis td > p,
    .kampanj-template .text-three-col p{
        font-size: 0.875rem !important;
        line-height: 1rem !important;
    }
    .startsida-notis .t-button{
        text-align: left;
        margin-bottom:35px;
    }
    .terri-button-red-arrow{
        font-size: 0.875rem;
        line-height: 1.0625rem;
    }
    .post-categories-c{
        font-size: 0.875rem;
        line-height: 1.0625rem;
        top: -19px;
    }
    .three-posts-c{
        margin-top:80px;
        gap:30px;
    }
    .skogsglantan-post-list-c{
        gap:30px;
    }
    .title-three-col-section {
        padding: 40px 0px;
        margin-bottom:50px;
    }

    .text-three-col {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .terri-image-grid {
        grid-template-columns: 1fr;
        width: calc(100% - 40px);
        aspect-ratio: auto;
        margin-bottom: 50px;
    }

    /* Stor media visas först på mobil oavsett desktopval */
    .terri-image-grid__large,
    .terri-image-grid--large-right .terri-image-grid__large {
        order: 1;
        aspect-ratio: 4 / 5;
    }

    .terri-image-grid__side,
    .terri-image-grid--large-right .terri-image-grid__side {
        order: 2;
        grid-template-rows: none;
    }

    .terri-image-grid__small {
        aspect-ratio: 16 / 9;
    }
    .startsida-notis.second-notis img{
        float: left;
    }
    .machine-top-image{
        margin-bottom:0px
    }
    .cw-top-section{
        margin-bottom:70px;
    }
    .cw-top-section p{
        font-size: 0.875rem;
        line-height: 1rem;
    }
    .number-text .number-c span {
        font-size: 3.125rem;
    }
    .number-text .text-c h2,
    .img-c .two-images h3{
        font-size: 1rem;
        line-height: 1.0625rem;
    }
    .number-text .text-c p,
    .img-c .two-images p{
        font-size: 0.875rem;
        line-height: 1rem;
    }
    .numbered-list-item .number-text{
        gap: 14px;
    }
    .numbered-list-c .numbered-list-item{
        margin-top:70px
    }
    .number-text{
        margin-bottom:30px;
    }
    h2.terri-vertical-text{
        font-size: 1.5rem;
    }
    .cw-quote-section {
        margin-top: 70px;
    }
    .page-template-page_artikel .terri-image-grid{
        margin-top: 100px;
    }
    .page-template-page_artikel .title-three-col-section{
        margin-top:0px;
    }
    .page-template-page_artikel .ingress-c{
        margin-top: 40px;
        margin-bottom: 0px;
        padding-bottom: 70px;
    }
    .page-template-page_artikel .title-three-col-section{
        padding-left: 0px;
        padding-right: 0px;
    }
    .kampanj-template .text-column figure{
        width:100% !important;
        max-width: 600px !important;
    }
    .cw-kampanj{
       margin-top: 160px; 
    }
    .cw-kampanj h1{
        margin-bottom: 60px;
    }
    .cw-kampanj .cw-big-image{
        margin-bottom:60px;
    }
    .cw-kampanj .terri-image-grid{
        margin-bottom:80px;
    }
    .kampanj-template .footer-outer-c {
        margin-top:100px;
        padding-top: 100px;
    }

    .skogsglantan-outer-c.single-post-skogsglantan.single-post-skogsglantan-more-list {
        padding-top: 0px;
    }

	body .boka-visning-form-c input[type="submit"]{
		max-width: 100%;
	}

    #startsida-alla-maskiner{
        padding-top: 100px;
        padding-bottom: 80px;
    }
}
@media (max-width: 500px) {
    .cw-quote-section{
        flex-direction: column;
    }
}
